* Makefile.in: Add dummy install-pdf target.
[official-gcc.git] / Makefile.in
blob96fb4563a09d4f80a0127217760d1214ca962784
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation
8 # This file is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 # -------------------------------
24 # Standard Autoconf-set variables
25 # -------------------------------
26 VPATH=@srcdir@
28 build_alias=@build_noncanonical@
29 build_vendor=@build_vendor@
30 build_os=@build_os@
31 build=@build@
32 host_alias=@host_noncanonical@
33 host_vendor=@host_vendor@
34 host_os=@host_os@
35 host=@host@
36 target_alias=@target_noncanonical@
37 target_vendor=@target_vendor@
38 target_os=@target_os@
39 target=@target@
41 program_transform_name = @program_transform_name@
43 prefix = @prefix@
44 exec_prefix = @exec_prefix@
46 srcdir = @srcdir@
48 bindir = @bindir@
49 sbindir = @sbindir@
50 libexecdir = @libexecdir@
51 datadir = @datadir@
52 sysconfdir = @sysconfdir@
53 sharedstatedir = @sharedstatedir@
54 localstatedir = @localstatedir@
55 libdir = @libdir@
56 includedir = @includedir@
57 oldincludedir = @oldincludedir@
58 infodir = @infodir@
59 datarootdir = @datarootdir@
60 docdir = @docdir@
61 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 GNATBIND = @GNATBIND@
300 GNATMAKE = @GNATMAKE@
302 CFLAGS = @CFLAGS@
303 LDFLAGS = @LDFLAGS@
304 LIBCFLAGS = $(CFLAGS)
305 CXXFLAGS = @CXXFLAGS@
306 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
307 PICFLAG =
309 # Only build the C compiler for stage1, because that is the only one that
310 # we can guarantee will build with the native compiler, and also it is the
311 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
312 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
313 # overrideable (for a bootstrap build stage1 also builds gcc.info).
315 STAGE1_CFLAGS=@stage1_cflags@
316 STAGE1_CHECKING=@stage1_checking@
317 STAGE1_LANGUAGES=@stage1_languages@
319 # -----------------------------------------------
320 # Programs producing files for the TARGET machine
321 # -----------------------------------------------
323 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
325 AR_FOR_TARGET=@AR_FOR_TARGET@
326 AS_FOR_TARGET=@AS_FOR_TARGET@
327 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
329 # If GCC_FOR_TARGET is not overriden on the command line, then this
330 # variable is passed down to the gcc Makefile, where it is used to
331 # build libgcc2.a. We define it here so that it can itself be
332 # overridden on the command line.
333 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
334 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
335 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
336 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
337 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
338 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
339 LD_FOR_TARGET=@LD_FOR_TARGET@
341 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
342 NM_FOR_TARGET=@NM_FOR_TARGET@
343 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
344 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
345 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
346 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
348 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
349 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
350 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
352 # During gcc bootstrap, if we use some random cc for stage1 then
353 # CFLAGS will be just -g. We want to ensure that TARGET libraries
354 # (which we know are built with gcc) are built with optimizations so
355 # prepend -O2 when setting CFLAGS_FOR_TARGET.
356 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
357 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
358 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
359 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
360 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
361 LDFLAGS_FOR_TARGET =
362 PICFLAG_FOR_TARGET =
364 # ------------------------------------
365 # Miscellaneous targets and flag lists
366 # ------------------------------------
368 # The first rule in the file had better be this one. Don't put any above it.
369 # This lives here to allow makefile fragments to contain dependencies.
370 all:
372 #### host and target specific makefile fragments come in here.
373 @target_makefile_frag@
374 @alphaieee_frag@
375 @ospace_frag@
376 @host_makefile_frag@
379 # This is the list of directories that may be needed in RPATH_ENVVAR
380 # so that prorgams built for the target machine work.
381 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
383 @if target-libstdc++-v3
384 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
385 @endif target-libstdc++-v3
387 @if target-libmudflap
388 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
389 @endif target-libmudflap
391 @if target-libssp
392 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
393 @endif target-libssp
395 @if target-libgomp
396 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
397 @endif target-libgomp
401 # This is the list of directories that may be needed in RPATH_ENVVAR
402 # so that programs built for the host machine work.
403 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)$(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)
405 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
406 @if gcc
407 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
408 @endif gcc
411 @if bfd
412 HOST_LIB_PATH_bfd = \
413 $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
414 @endif bfd
416 @if opcodes
417 HOST_LIB_PATH_opcodes = \
418 $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
419 @endif opcodes
421 @if gmp
422 HOST_LIB_PATH_gmp = \
423 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
424 @endif gmp
426 @if mpfr
427 HOST_LIB_PATH_mpfr = \
428 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
429 @endif mpfr
432 # Flags to pass down to all sub-makes.
433 BASE_FLAGS_TO_PASS = \
434 "DESTDIR=$(DESTDIR)" \
435 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
436 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
437 "bindir=$(bindir)" \
438 "datadir=$(datadir)" \
439 "exec_prefix=$(exec_prefix)" \
440 "includedir=$(includedir)" \
441 "datarootdir=$(datarootdir)" \
442 "docdir=$(docdir)" \
443 "infodir=$(infodir)" \
444 "htmldir=$(htmldir)" \
445 "libdir=$(libdir)" \
446 "libexecdir=$(libexecdir)" \
447 "lispdir=$(lispdir)" \
448 "localstatedir=$(localstatedir)" \
449 "mandir=$(mandir)" \
450 "oldincludedir=$(oldincludedir)" \
451 "prefix=$(prefix)" \
452 "sbindir=$(sbindir)" \
453 "sharedstatedir=$(sharedstatedir)" \
454 "sysconfdir=$(sysconfdir)" \
455 "tooldir=$(tooldir)" \
456 "build_tooldir=$(build_tooldir)" \
457 "target_alias=$(target_alias)" \
458 "BISON=$(BISON)" \
459 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
460 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
461 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
462 "EXPECT=$(EXPECT)" \
463 "FLEX=$(FLEX)" \
464 "INSTALL=$(INSTALL)" \
465 "INSTALL_DATA=$(INSTALL_DATA)" \
466 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
467 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
468 "LEX=$(LEX)" \
469 "M4=$(M4)" \
470 "MAKE=$(MAKE)" \
471 "RUNTEST=$(RUNTEST)" \
472 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
473 "SHELL=$(SHELL)" \
474 "YACC=$(YACC)" \
475 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
476 "AR_FLAGS=$(AR_FLAGS)" \
477 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
478 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
479 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
480 "CFLAGS=$(CFLAGS)" \
481 "CXXFLAGS=$(CXXFLAGS)" \
482 "LDFLAGS=$(LDFLAGS)" \
483 "LIBCFLAGS=$(LIBCFLAGS)" \
484 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
485 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
486 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
487 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
488 "GNATBIND=$(GNATBIND)" \
489 "GNATMAKE=$(GNATMAKE)" \
490 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
491 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
492 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
493 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
494 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
495 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
496 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
497 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
498 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
499 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
500 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
501 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
502 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
503 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
504 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
505 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
506 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
507 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
508 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
509 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
510 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
511 "LEAN=$(LEAN)" \
512 "CONFIG_SHELL=$(SHELL)" \
513 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
515 # We leave this in just in case, but it is not needed anymore.
516 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
518 # Flags to pass down to most sub-makes, in which we're building with
519 # the host environment.
520 EXTRA_HOST_FLAGS = \
521 'AR=$(AR)' \
522 'AS=$(AS)' \
523 'CC=$(CC)' \
524 'CXX=$(CXX)' \
525 'DLLTOOL=$(DLLTOOL)' \
526 'LD=$(LD)' \
527 'LIPO=$(LIPO)' \
528 'NM=$(NM)' \
529 'OBJDUMP=$(OBJDUMP)' \
530 'RANLIB=$(RANLIB)' \
531 'STRIP=$(STRIP)' \
532 'WINDRES=$(WINDRES)'
534 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
536 # Flags that are concerned with the location of the X11 include files
537 # and library files
539 # NOTE: until the top-level is getting the values via autoconf, it only
540 # causes problems to have this top-level Makefile overriding the autoconf-set
541 # values in child directories. Only variables that don't conflict with
542 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
544 X11_FLAGS_TO_PASS = \
545 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
546 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
548 # Flags to pass to stage2 and later makes.
550 POSTSTAGE1_FLAGS_TO_PASS = \
551 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
552 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind" \
553 CFLAGS="$(BOOT_CFLAGS)" \
554 LIBCFLAGS="$(BOOT_CFLAGS)" \
555 LDFLAGS="$(BOOT_LDFLAGS)" \
556 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
558 # Flags to pass down to makes which are built with the target environment.
559 # The double $ decreases the length of the command line; those variables
560 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
561 # COMPILER_ prefixed variables are not passed down so we expand them here.
562 EXTRA_TARGET_FLAGS = \
563 'AR=$$(AR_FOR_TARGET)' \
564 'AS=$(COMPILER_AS_FOR_TARGET)' \
565 'CC=$$(CC_FOR_TARGET)' \
566 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
567 'CXX=$$(CXX_FOR_TARGET)' \
568 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
569 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
570 'LD=$(COMPILER_LD_FOR_TARGET)' \
571 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
572 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
573 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
574 'NM=$(COMPILER_NM_FOR_TARGET)' \
575 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
576 'RANLIB=$$(RANLIB_FOR_TARGET)' \
577 'WINDRES=$$(WINDRES_FOR_TARGET)'
579 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
581 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
582 # unfortunately needs the native compiler and the target ar and
583 # ranlib.
584 # If any variables are added here, they must be added to do-*, below.
585 # The BUILD_* variables are a special case, which are used for the gcc
586 # cross-building scheme.
587 EXTRA_GCC_FLAGS = \
588 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
589 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
590 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
591 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
592 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
593 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
595 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
597 .PHONY: configure-host
598 configure-host: \
599 maybe-configure-ash \
600 maybe-configure-autoconf \
601 maybe-configure-automake \
602 maybe-configure-bash \
603 maybe-configure-bfd \
604 maybe-configure-opcodes \
605 maybe-configure-binutils \
606 maybe-configure-bison \
607 maybe-configure-byacc \
608 maybe-configure-bzip2 \
609 maybe-configure-dejagnu \
610 maybe-configure-diff \
611 maybe-configure-dosutils \
612 maybe-configure-etc \
613 maybe-configure-fastjar \
614 maybe-configure-fileutils \
615 maybe-configure-findutils \
616 maybe-configure-find \
617 maybe-configure-fixincludes \
618 maybe-configure-flex \
619 maybe-configure-gas \
620 maybe-configure-gcc \
621 maybe-configure-gawk \
622 maybe-configure-gettext \
623 maybe-configure-gmp \
624 maybe-configure-mpfr \
625 maybe-configure-gnuserv \
626 maybe-configure-gprof \
627 maybe-configure-gzip \
628 maybe-configure-hello \
629 maybe-configure-indent \
630 maybe-configure-intl \
631 maybe-configure-tcl \
632 maybe-configure-itcl \
633 maybe-configure-ld \
634 maybe-configure-libcpp \
635 maybe-configure-libdecnumber \
636 maybe-configure-libgui \
637 maybe-configure-libiberty \
638 maybe-configure-libtool \
639 maybe-configure-m4 \
640 maybe-configure-make \
641 maybe-configure-mmalloc \
642 maybe-configure-patch \
643 maybe-configure-perl \
644 maybe-configure-prms \
645 maybe-configure-rcs \
646 maybe-configure-readline \
647 maybe-configure-release \
648 maybe-configure-recode \
649 maybe-configure-sed \
650 maybe-configure-send-pr \
651 maybe-configure-shellutils \
652 maybe-configure-sid \
653 maybe-configure-sim \
654 maybe-configure-tar \
655 maybe-configure-texinfo \
656 maybe-configure-textutils \
657 maybe-configure-time \
658 maybe-configure-uudecode \
659 maybe-configure-wdiff \
660 maybe-configure-zip \
661 maybe-configure-zlib \
662 maybe-configure-gdb \
663 maybe-configure-expect \
664 maybe-configure-guile \
665 maybe-configure-tk \
666 maybe-configure-libtermcap \
667 maybe-configure-utils \
668 maybe-configure-gnattools
669 .PHONY: configure-target
670 configure-target: \
671 maybe-configure-target-libstdc++-v3 \
672 maybe-configure-target-libmudflap \
673 maybe-configure-target-libssp \
674 maybe-configure-target-newlib \
675 maybe-configure-target-libgcc \
676 maybe-configure-target-libgfortran \
677 maybe-configure-target-libobjc \
678 maybe-configure-target-libtermcap \
679 maybe-configure-target-winsup \
680 maybe-configure-target-libgloss \
681 maybe-configure-target-libiberty \
682 maybe-configure-target-gperf \
683 maybe-configure-target-examples \
684 maybe-configure-target-libffi \
685 maybe-configure-target-libjava \
686 maybe-configure-target-zlib \
687 maybe-configure-target-boehm-gc \
688 maybe-configure-target-qthreads \
689 maybe-configure-target-rda \
690 maybe-configure-target-libada \
691 maybe-configure-target-libgomp
693 # The target built for a native non-bootstrap build.
694 .PHONY: all
695 all:
696 @if gcc-bootstrap
697 [ -f stage_final ] || echo stage3 > stage_final
698 @r=`${PWD_COMMAND}`; export r; \
699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
700 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
701 @endif gcc-bootstrap
702 @: $(MAKE); $(unstage)
703 @r=`${PWD_COMMAND}`; export r; \
704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
705 if [ -f stage_last ]; then \
706 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
707 else \
708 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
711 .PHONY: all-build
713 all-build: maybe-all-build-libiberty
714 all-build: maybe-all-build-bison
715 all-build: maybe-all-build-byacc
716 all-build: maybe-all-build-flex
717 all-build: maybe-all-build-m4
718 all-build: maybe-all-build-texinfo
719 all-build: maybe-all-build-fixincludes
721 .PHONY: all-host
723 all-host: maybe-all-ash
724 all-host: maybe-all-autoconf
725 all-host: maybe-all-automake
726 all-host: maybe-all-bash
727 @if bfd-no-bootstrap
728 all-host: maybe-all-bfd
729 @endif bfd-no-bootstrap
730 @if opcodes-no-bootstrap
731 all-host: maybe-all-opcodes
732 @endif opcodes-no-bootstrap
733 @if binutils-no-bootstrap
734 all-host: maybe-all-binutils
735 @endif binutils-no-bootstrap
736 all-host: maybe-all-bison
737 all-host: maybe-all-byacc
738 all-host: maybe-all-bzip2
739 all-host: maybe-all-dejagnu
740 all-host: maybe-all-diff
741 all-host: maybe-all-dosutils
742 all-host: maybe-all-etc
743 all-host: maybe-all-fastjar
744 all-host: maybe-all-fileutils
745 all-host: maybe-all-findutils
746 all-host: maybe-all-find
747 all-host: maybe-all-fixincludes
748 all-host: maybe-all-flex
749 @if gas-no-bootstrap
750 all-host: maybe-all-gas
751 @endif gas-no-bootstrap
752 @if gcc-no-bootstrap
753 all-host: maybe-all-gcc
754 @endif gcc-no-bootstrap
755 all-host: maybe-all-gawk
756 all-host: maybe-all-gettext
757 @if gmp-no-bootstrap
758 all-host: maybe-all-gmp
759 @endif gmp-no-bootstrap
760 @if mpfr-no-bootstrap
761 all-host: maybe-all-mpfr
762 @endif mpfr-no-bootstrap
763 all-host: maybe-all-gnuserv
764 all-host: maybe-all-gprof
765 all-host: maybe-all-gzip
766 all-host: maybe-all-hello
767 all-host: maybe-all-indent
768 @if intl-no-bootstrap
769 all-host: maybe-all-intl
770 @endif intl-no-bootstrap
771 all-host: maybe-all-tcl
772 all-host: maybe-all-itcl
773 @if ld-no-bootstrap
774 all-host: maybe-all-ld
775 @endif ld-no-bootstrap
776 @if libcpp-no-bootstrap
777 all-host: maybe-all-libcpp
778 @endif libcpp-no-bootstrap
779 @if libdecnumber-no-bootstrap
780 all-host: maybe-all-libdecnumber
781 @endif libdecnumber-no-bootstrap
782 all-host: maybe-all-libgui
783 @if libiberty-no-bootstrap
784 all-host: maybe-all-libiberty
785 @endif libiberty-no-bootstrap
786 all-host: maybe-all-libtool
787 all-host: maybe-all-m4
788 all-host: maybe-all-make
789 all-host: maybe-all-mmalloc
790 all-host: maybe-all-patch
791 all-host: maybe-all-perl
792 all-host: maybe-all-prms
793 all-host: maybe-all-rcs
794 all-host: maybe-all-readline
795 all-host: maybe-all-release
796 all-host: maybe-all-recode
797 all-host: maybe-all-sed
798 all-host: maybe-all-send-pr
799 all-host: maybe-all-shellutils
800 all-host: maybe-all-sid
801 all-host: maybe-all-sim
802 all-host: maybe-all-tar
803 all-host: maybe-all-texinfo
804 all-host: maybe-all-textutils
805 all-host: maybe-all-time
806 all-host: maybe-all-uudecode
807 all-host: maybe-all-wdiff
808 all-host: maybe-all-zip
809 @if zlib-no-bootstrap
810 all-host: maybe-all-zlib
811 @endif zlib-no-bootstrap
812 all-host: maybe-all-gdb
813 all-host: maybe-all-expect
814 all-host: maybe-all-guile
815 all-host: maybe-all-tk
816 all-host: maybe-all-libtermcap
817 all-host: maybe-all-utils
818 all-host: maybe-all-gnattools
820 .PHONY: all-target
822 all-target: maybe-all-target-libstdc++-v3
823 all-target: maybe-all-target-libmudflap
824 all-target: maybe-all-target-libssp
825 all-target: maybe-all-target-newlib
826 @if target-libgcc-no-bootstrap
827 all-target: maybe-all-target-libgcc
828 @endif target-libgcc-no-bootstrap
829 all-target: maybe-all-target-libgfortran
830 all-target: maybe-all-target-libobjc
831 all-target: maybe-all-target-libtermcap
832 all-target: maybe-all-target-winsup
833 all-target: maybe-all-target-libgloss
834 all-target: maybe-all-target-libiberty
835 all-target: maybe-all-target-gperf
836 all-target: maybe-all-target-examples
837 all-target: maybe-all-target-libffi
838 all-target: maybe-all-target-libjava
839 all-target: maybe-all-target-zlib
840 all-target: maybe-all-target-boehm-gc
841 all-target: maybe-all-target-qthreads
842 all-target: maybe-all-target-rda
843 all-target: maybe-all-target-libada
844 all-target: maybe-all-target-libgomp
846 # Do a target for all the subdirectories. A ``make do-X'' will do a
847 # ``make X'' in all subdirectories (because, in general, there is a
848 # dependency (below) of X upon do-X, a ``make X'' will also do this,
849 # but it may do additional work as well).
851 .PHONY: do-info
852 do-info:
853 @: $(MAKE); $(unstage)
854 @r=`${PWD_COMMAND}`; export r; \
855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
856 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
857 info-target
860 .PHONY: info-host
862 info-host: maybe-info-ash
863 info-host: maybe-info-autoconf
864 info-host: maybe-info-automake
865 info-host: maybe-info-bash
866 info-host: maybe-info-bfd
867 info-host: maybe-info-opcodes
868 info-host: maybe-info-binutils
869 info-host: maybe-info-bison
870 info-host: maybe-info-byacc
871 info-host: maybe-info-bzip2
872 info-host: maybe-info-dejagnu
873 info-host: maybe-info-diff
874 info-host: maybe-info-dosutils
875 info-host: maybe-info-etc
876 info-host: maybe-info-fastjar
877 info-host: maybe-info-fileutils
878 info-host: maybe-info-findutils
879 info-host: maybe-info-find
880 info-host: maybe-info-fixincludes
881 info-host: maybe-info-flex
882 info-host: maybe-info-gas
883 info-host: maybe-info-gcc
884 info-host: maybe-info-gawk
885 info-host: maybe-info-gettext
886 info-host: maybe-info-gmp
887 info-host: maybe-info-mpfr
888 info-host: maybe-info-gnuserv
889 info-host: maybe-info-gprof
890 info-host: maybe-info-gzip
891 info-host: maybe-info-hello
892 info-host: maybe-info-indent
893 info-host: maybe-info-intl
894 info-host: maybe-info-tcl
895 info-host: maybe-info-itcl
896 info-host: maybe-info-ld
897 info-host: maybe-info-libcpp
898 info-host: maybe-info-libdecnumber
899 info-host: maybe-info-libgui
900 info-host: maybe-info-libiberty
901 info-host: maybe-info-libtool
902 info-host: maybe-info-m4
903 info-host: maybe-info-make
904 info-host: maybe-info-mmalloc
905 info-host: maybe-info-patch
906 info-host: maybe-info-perl
907 info-host: maybe-info-prms
908 info-host: maybe-info-rcs
909 info-host: maybe-info-readline
910 info-host: maybe-info-release
911 info-host: maybe-info-recode
912 info-host: maybe-info-sed
913 info-host: maybe-info-send-pr
914 info-host: maybe-info-shellutils
915 info-host: maybe-info-sid
916 info-host: maybe-info-sim
917 info-host: maybe-info-tar
918 info-host: maybe-info-texinfo
919 info-host: maybe-info-textutils
920 info-host: maybe-info-time
921 info-host: maybe-info-uudecode
922 info-host: maybe-info-wdiff
923 info-host: maybe-info-zip
924 info-host: maybe-info-zlib
925 info-host: maybe-info-gdb
926 info-host: maybe-info-expect
927 info-host: maybe-info-guile
928 info-host: maybe-info-tk
929 info-host: maybe-info-libtermcap
930 info-host: maybe-info-utils
931 info-host: maybe-info-gnattools
933 .PHONY: info-target
935 info-target: maybe-info-target-libstdc++-v3
936 info-target: maybe-info-target-libmudflap
937 info-target: maybe-info-target-libssp
938 info-target: maybe-info-target-newlib
939 info-target: maybe-info-target-libgcc
940 info-target: maybe-info-target-libgfortran
941 info-target: maybe-info-target-libobjc
942 info-target: maybe-info-target-libtermcap
943 info-target: maybe-info-target-winsup
944 info-target: maybe-info-target-libgloss
945 info-target: maybe-info-target-libiberty
946 info-target: maybe-info-target-gperf
947 info-target: maybe-info-target-examples
948 info-target: maybe-info-target-libffi
949 info-target: maybe-info-target-libjava
950 info-target: maybe-info-target-zlib
951 info-target: maybe-info-target-boehm-gc
952 info-target: maybe-info-target-qthreads
953 info-target: maybe-info-target-rda
954 info-target: maybe-info-target-libada
955 info-target: maybe-info-target-libgomp
957 .PHONY: do-dvi
958 do-dvi:
959 @: $(MAKE); $(unstage)
960 @r=`${PWD_COMMAND}`; export r; \
961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
962 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
963 dvi-target
966 .PHONY: dvi-host
968 dvi-host: maybe-dvi-ash
969 dvi-host: maybe-dvi-autoconf
970 dvi-host: maybe-dvi-automake
971 dvi-host: maybe-dvi-bash
972 dvi-host: maybe-dvi-bfd
973 dvi-host: maybe-dvi-opcodes
974 dvi-host: maybe-dvi-binutils
975 dvi-host: maybe-dvi-bison
976 dvi-host: maybe-dvi-byacc
977 dvi-host: maybe-dvi-bzip2
978 dvi-host: maybe-dvi-dejagnu
979 dvi-host: maybe-dvi-diff
980 dvi-host: maybe-dvi-dosutils
981 dvi-host: maybe-dvi-etc
982 dvi-host: maybe-dvi-fastjar
983 dvi-host: maybe-dvi-fileutils
984 dvi-host: maybe-dvi-findutils
985 dvi-host: maybe-dvi-find
986 dvi-host: maybe-dvi-fixincludes
987 dvi-host: maybe-dvi-flex
988 dvi-host: maybe-dvi-gas
989 dvi-host: maybe-dvi-gcc
990 dvi-host: maybe-dvi-gawk
991 dvi-host: maybe-dvi-gettext
992 dvi-host: maybe-dvi-gmp
993 dvi-host: maybe-dvi-mpfr
994 dvi-host: maybe-dvi-gnuserv
995 dvi-host: maybe-dvi-gprof
996 dvi-host: maybe-dvi-gzip
997 dvi-host: maybe-dvi-hello
998 dvi-host: maybe-dvi-indent
999 dvi-host: maybe-dvi-intl
1000 dvi-host: maybe-dvi-tcl
1001 dvi-host: maybe-dvi-itcl
1002 dvi-host: maybe-dvi-ld
1003 dvi-host: maybe-dvi-libcpp
1004 dvi-host: maybe-dvi-libdecnumber
1005 dvi-host: maybe-dvi-libgui
1006 dvi-host: maybe-dvi-libiberty
1007 dvi-host: maybe-dvi-libtool
1008 dvi-host: maybe-dvi-m4
1009 dvi-host: maybe-dvi-make
1010 dvi-host: maybe-dvi-mmalloc
1011 dvi-host: maybe-dvi-patch
1012 dvi-host: maybe-dvi-perl
1013 dvi-host: maybe-dvi-prms
1014 dvi-host: maybe-dvi-rcs
1015 dvi-host: maybe-dvi-readline
1016 dvi-host: maybe-dvi-release
1017 dvi-host: maybe-dvi-recode
1018 dvi-host: maybe-dvi-sed
1019 dvi-host: maybe-dvi-send-pr
1020 dvi-host: maybe-dvi-shellutils
1021 dvi-host: maybe-dvi-sid
1022 dvi-host: maybe-dvi-sim
1023 dvi-host: maybe-dvi-tar
1024 dvi-host: maybe-dvi-texinfo
1025 dvi-host: maybe-dvi-textutils
1026 dvi-host: maybe-dvi-time
1027 dvi-host: maybe-dvi-uudecode
1028 dvi-host: maybe-dvi-wdiff
1029 dvi-host: maybe-dvi-zip
1030 dvi-host: maybe-dvi-zlib
1031 dvi-host: maybe-dvi-gdb
1032 dvi-host: maybe-dvi-expect
1033 dvi-host: maybe-dvi-guile
1034 dvi-host: maybe-dvi-tk
1035 dvi-host: maybe-dvi-libtermcap
1036 dvi-host: maybe-dvi-utils
1037 dvi-host: maybe-dvi-gnattools
1039 .PHONY: dvi-target
1041 dvi-target: maybe-dvi-target-libstdc++-v3
1042 dvi-target: maybe-dvi-target-libmudflap
1043 dvi-target: maybe-dvi-target-libssp
1044 dvi-target: maybe-dvi-target-newlib
1045 dvi-target: maybe-dvi-target-libgcc
1046 dvi-target: maybe-dvi-target-libgfortran
1047 dvi-target: maybe-dvi-target-libobjc
1048 dvi-target: maybe-dvi-target-libtermcap
1049 dvi-target: maybe-dvi-target-winsup
1050 dvi-target: maybe-dvi-target-libgloss
1051 dvi-target: maybe-dvi-target-libiberty
1052 dvi-target: maybe-dvi-target-gperf
1053 dvi-target: maybe-dvi-target-examples
1054 dvi-target: maybe-dvi-target-libffi
1055 dvi-target: maybe-dvi-target-libjava
1056 dvi-target: maybe-dvi-target-zlib
1057 dvi-target: maybe-dvi-target-boehm-gc
1058 dvi-target: maybe-dvi-target-qthreads
1059 dvi-target: maybe-dvi-target-rda
1060 dvi-target: maybe-dvi-target-libada
1061 dvi-target: maybe-dvi-target-libgomp
1063 .PHONY: do-pdf
1064 do-pdf:
1065 @: $(MAKE); $(unstage)
1066 @r=`${PWD_COMMAND}`; export r; \
1067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1068 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1069 pdf-target
1072 .PHONY: pdf-host
1074 pdf-host: maybe-pdf-ash
1075 pdf-host: maybe-pdf-autoconf
1076 pdf-host: maybe-pdf-automake
1077 pdf-host: maybe-pdf-bash
1078 pdf-host: maybe-pdf-bfd
1079 pdf-host: maybe-pdf-opcodes
1080 pdf-host: maybe-pdf-binutils
1081 pdf-host: maybe-pdf-bison
1082 pdf-host: maybe-pdf-byacc
1083 pdf-host: maybe-pdf-bzip2
1084 pdf-host: maybe-pdf-dejagnu
1085 pdf-host: maybe-pdf-diff
1086 pdf-host: maybe-pdf-dosutils
1087 pdf-host: maybe-pdf-etc
1088 pdf-host: maybe-pdf-fastjar
1089 pdf-host: maybe-pdf-fileutils
1090 pdf-host: maybe-pdf-findutils
1091 pdf-host: maybe-pdf-find
1092 pdf-host: maybe-pdf-fixincludes
1093 pdf-host: maybe-pdf-flex
1094 pdf-host: maybe-pdf-gas
1095 pdf-host: maybe-pdf-gcc
1096 pdf-host: maybe-pdf-gawk
1097 pdf-host: maybe-pdf-gettext
1098 pdf-host: maybe-pdf-gmp
1099 pdf-host: maybe-pdf-mpfr
1100 pdf-host: maybe-pdf-gnuserv
1101 pdf-host: maybe-pdf-gprof
1102 pdf-host: maybe-pdf-gzip
1103 pdf-host: maybe-pdf-hello
1104 pdf-host: maybe-pdf-indent
1105 pdf-host: maybe-pdf-intl
1106 pdf-host: maybe-pdf-tcl
1107 pdf-host: maybe-pdf-itcl
1108 pdf-host: maybe-pdf-ld
1109 pdf-host: maybe-pdf-libcpp
1110 pdf-host: maybe-pdf-libdecnumber
1111 pdf-host: maybe-pdf-libgui
1112 pdf-host: maybe-pdf-libiberty
1113 pdf-host: maybe-pdf-libtool
1114 pdf-host: maybe-pdf-m4
1115 pdf-host: maybe-pdf-make
1116 pdf-host: maybe-pdf-mmalloc
1117 pdf-host: maybe-pdf-patch
1118 pdf-host: maybe-pdf-perl
1119 pdf-host: maybe-pdf-prms
1120 pdf-host: maybe-pdf-rcs
1121 pdf-host: maybe-pdf-readline
1122 pdf-host: maybe-pdf-release
1123 pdf-host: maybe-pdf-recode
1124 pdf-host: maybe-pdf-sed
1125 pdf-host: maybe-pdf-send-pr
1126 pdf-host: maybe-pdf-shellutils
1127 pdf-host: maybe-pdf-sid
1128 pdf-host: maybe-pdf-sim
1129 pdf-host: maybe-pdf-tar
1130 pdf-host: maybe-pdf-texinfo
1131 pdf-host: maybe-pdf-textutils
1132 pdf-host: maybe-pdf-time
1133 pdf-host: maybe-pdf-uudecode
1134 pdf-host: maybe-pdf-wdiff
1135 pdf-host: maybe-pdf-zip
1136 pdf-host: maybe-pdf-zlib
1137 pdf-host: maybe-pdf-gdb
1138 pdf-host: maybe-pdf-expect
1139 pdf-host: maybe-pdf-guile
1140 pdf-host: maybe-pdf-tk
1141 pdf-host: maybe-pdf-libtermcap
1142 pdf-host: maybe-pdf-utils
1143 pdf-host: maybe-pdf-gnattools
1145 .PHONY: pdf-target
1147 pdf-target: maybe-pdf-target-libstdc++-v3
1148 pdf-target: maybe-pdf-target-libmudflap
1149 pdf-target: maybe-pdf-target-libssp
1150 pdf-target: maybe-pdf-target-newlib
1151 pdf-target: maybe-pdf-target-libgcc
1152 pdf-target: maybe-pdf-target-libgfortran
1153 pdf-target: maybe-pdf-target-libobjc
1154 pdf-target: maybe-pdf-target-libtermcap
1155 pdf-target: maybe-pdf-target-winsup
1156 pdf-target: maybe-pdf-target-libgloss
1157 pdf-target: maybe-pdf-target-libiberty
1158 pdf-target: maybe-pdf-target-gperf
1159 pdf-target: maybe-pdf-target-examples
1160 pdf-target: maybe-pdf-target-libffi
1161 pdf-target: maybe-pdf-target-libjava
1162 pdf-target: maybe-pdf-target-zlib
1163 pdf-target: maybe-pdf-target-boehm-gc
1164 pdf-target: maybe-pdf-target-qthreads
1165 pdf-target: maybe-pdf-target-rda
1166 pdf-target: maybe-pdf-target-libada
1167 pdf-target: maybe-pdf-target-libgomp
1169 .PHONY: do-html
1170 do-html:
1171 @: $(MAKE); $(unstage)
1172 @r=`${PWD_COMMAND}`; export r; \
1173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1174 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1175 html-target
1178 .PHONY: html-host
1180 html-host: maybe-html-ash
1181 html-host: maybe-html-autoconf
1182 html-host: maybe-html-automake
1183 html-host: maybe-html-bash
1184 html-host: maybe-html-bfd
1185 html-host: maybe-html-opcodes
1186 html-host: maybe-html-binutils
1187 html-host: maybe-html-bison
1188 html-host: maybe-html-byacc
1189 html-host: maybe-html-bzip2
1190 html-host: maybe-html-dejagnu
1191 html-host: maybe-html-diff
1192 html-host: maybe-html-dosutils
1193 html-host: maybe-html-etc
1194 html-host: maybe-html-fastjar
1195 html-host: maybe-html-fileutils
1196 html-host: maybe-html-findutils
1197 html-host: maybe-html-find
1198 html-host: maybe-html-fixincludes
1199 html-host: maybe-html-flex
1200 html-host: maybe-html-gas
1201 html-host: maybe-html-gcc
1202 html-host: maybe-html-gawk
1203 html-host: maybe-html-gettext
1204 html-host: maybe-html-gmp
1205 html-host: maybe-html-mpfr
1206 html-host: maybe-html-gnuserv
1207 html-host: maybe-html-gprof
1208 html-host: maybe-html-gzip
1209 html-host: maybe-html-hello
1210 html-host: maybe-html-indent
1211 html-host: maybe-html-intl
1212 html-host: maybe-html-tcl
1213 html-host: maybe-html-itcl
1214 html-host: maybe-html-ld
1215 html-host: maybe-html-libcpp
1216 html-host: maybe-html-libdecnumber
1217 html-host: maybe-html-libgui
1218 html-host: maybe-html-libiberty
1219 html-host: maybe-html-libtool
1220 html-host: maybe-html-m4
1221 html-host: maybe-html-make
1222 html-host: maybe-html-mmalloc
1223 html-host: maybe-html-patch
1224 html-host: maybe-html-perl
1225 html-host: maybe-html-prms
1226 html-host: maybe-html-rcs
1227 html-host: maybe-html-readline
1228 html-host: maybe-html-release
1229 html-host: maybe-html-recode
1230 html-host: maybe-html-sed
1231 html-host: maybe-html-send-pr
1232 html-host: maybe-html-shellutils
1233 html-host: maybe-html-sid
1234 html-host: maybe-html-sim
1235 html-host: maybe-html-tar
1236 html-host: maybe-html-texinfo
1237 html-host: maybe-html-textutils
1238 html-host: maybe-html-time
1239 html-host: maybe-html-uudecode
1240 html-host: maybe-html-wdiff
1241 html-host: maybe-html-zip
1242 html-host: maybe-html-zlib
1243 html-host: maybe-html-gdb
1244 html-host: maybe-html-expect
1245 html-host: maybe-html-guile
1246 html-host: maybe-html-tk
1247 html-host: maybe-html-libtermcap
1248 html-host: maybe-html-utils
1249 html-host: maybe-html-gnattools
1251 .PHONY: html-target
1253 html-target: maybe-html-target-libstdc++-v3
1254 html-target: maybe-html-target-libmudflap
1255 html-target: maybe-html-target-libssp
1256 html-target: maybe-html-target-newlib
1257 html-target: maybe-html-target-libgcc
1258 html-target: maybe-html-target-libgfortran
1259 html-target: maybe-html-target-libobjc
1260 html-target: maybe-html-target-libtermcap
1261 html-target: maybe-html-target-winsup
1262 html-target: maybe-html-target-libgloss
1263 html-target: maybe-html-target-libiberty
1264 html-target: maybe-html-target-gperf
1265 html-target: maybe-html-target-examples
1266 html-target: maybe-html-target-libffi
1267 html-target: maybe-html-target-libjava
1268 html-target: maybe-html-target-zlib
1269 html-target: maybe-html-target-boehm-gc
1270 html-target: maybe-html-target-qthreads
1271 html-target: maybe-html-target-rda
1272 html-target: maybe-html-target-libada
1273 html-target: maybe-html-target-libgomp
1275 .PHONY: do-TAGS
1276 do-TAGS:
1277 @: $(MAKE); $(unstage)
1278 @r=`${PWD_COMMAND}`; export r; \
1279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1280 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1281 TAGS-target
1284 .PHONY: TAGS-host
1286 TAGS-host: maybe-TAGS-ash
1287 TAGS-host: maybe-TAGS-autoconf
1288 TAGS-host: maybe-TAGS-automake
1289 TAGS-host: maybe-TAGS-bash
1290 TAGS-host: maybe-TAGS-bfd
1291 TAGS-host: maybe-TAGS-opcodes
1292 TAGS-host: maybe-TAGS-binutils
1293 TAGS-host: maybe-TAGS-bison
1294 TAGS-host: maybe-TAGS-byacc
1295 TAGS-host: maybe-TAGS-bzip2
1296 TAGS-host: maybe-TAGS-dejagnu
1297 TAGS-host: maybe-TAGS-diff
1298 TAGS-host: maybe-TAGS-dosutils
1299 TAGS-host: maybe-TAGS-etc
1300 TAGS-host: maybe-TAGS-fastjar
1301 TAGS-host: maybe-TAGS-fileutils
1302 TAGS-host: maybe-TAGS-findutils
1303 TAGS-host: maybe-TAGS-find
1304 TAGS-host: maybe-TAGS-fixincludes
1305 TAGS-host: maybe-TAGS-flex
1306 TAGS-host: maybe-TAGS-gas
1307 TAGS-host: maybe-TAGS-gcc
1308 TAGS-host: maybe-TAGS-gawk
1309 TAGS-host: maybe-TAGS-gettext
1310 TAGS-host: maybe-TAGS-gmp
1311 TAGS-host: maybe-TAGS-mpfr
1312 TAGS-host: maybe-TAGS-gnuserv
1313 TAGS-host: maybe-TAGS-gprof
1314 TAGS-host: maybe-TAGS-gzip
1315 TAGS-host: maybe-TAGS-hello
1316 TAGS-host: maybe-TAGS-indent
1317 TAGS-host: maybe-TAGS-intl
1318 TAGS-host: maybe-TAGS-tcl
1319 TAGS-host: maybe-TAGS-itcl
1320 TAGS-host: maybe-TAGS-ld
1321 TAGS-host: maybe-TAGS-libcpp
1322 TAGS-host: maybe-TAGS-libdecnumber
1323 TAGS-host: maybe-TAGS-libgui
1324 TAGS-host: maybe-TAGS-libiberty
1325 TAGS-host: maybe-TAGS-libtool
1326 TAGS-host: maybe-TAGS-m4
1327 TAGS-host: maybe-TAGS-make
1328 TAGS-host: maybe-TAGS-mmalloc
1329 TAGS-host: maybe-TAGS-patch
1330 TAGS-host: maybe-TAGS-perl
1331 TAGS-host: maybe-TAGS-prms
1332 TAGS-host: maybe-TAGS-rcs
1333 TAGS-host: maybe-TAGS-readline
1334 TAGS-host: maybe-TAGS-release
1335 TAGS-host: maybe-TAGS-recode
1336 TAGS-host: maybe-TAGS-sed
1337 TAGS-host: maybe-TAGS-send-pr
1338 TAGS-host: maybe-TAGS-shellutils
1339 TAGS-host: maybe-TAGS-sid
1340 TAGS-host: maybe-TAGS-sim
1341 TAGS-host: maybe-TAGS-tar
1342 TAGS-host: maybe-TAGS-texinfo
1343 TAGS-host: maybe-TAGS-textutils
1344 TAGS-host: maybe-TAGS-time
1345 TAGS-host: maybe-TAGS-uudecode
1346 TAGS-host: maybe-TAGS-wdiff
1347 TAGS-host: maybe-TAGS-zip
1348 TAGS-host: maybe-TAGS-zlib
1349 TAGS-host: maybe-TAGS-gdb
1350 TAGS-host: maybe-TAGS-expect
1351 TAGS-host: maybe-TAGS-guile
1352 TAGS-host: maybe-TAGS-tk
1353 TAGS-host: maybe-TAGS-libtermcap
1354 TAGS-host: maybe-TAGS-utils
1355 TAGS-host: maybe-TAGS-gnattools
1357 .PHONY: TAGS-target
1359 TAGS-target: maybe-TAGS-target-libstdc++-v3
1360 TAGS-target: maybe-TAGS-target-libmudflap
1361 TAGS-target: maybe-TAGS-target-libssp
1362 TAGS-target: maybe-TAGS-target-newlib
1363 TAGS-target: maybe-TAGS-target-libgcc
1364 TAGS-target: maybe-TAGS-target-libgfortran
1365 TAGS-target: maybe-TAGS-target-libobjc
1366 TAGS-target: maybe-TAGS-target-libtermcap
1367 TAGS-target: maybe-TAGS-target-winsup
1368 TAGS-target: maybe-TAGS-target-libgloss
1369 TAGS-target: maybe-TAGS-target-libiberty
1370 TAGS-target: maybe-TAGS-target-gperf
1371 TAGS-target: maybe-TAGS-target-examples
1372 TAGS-target: maybe-TAGS-target-libffi
1373 TAGS-target: maybe-TAGS-target-libjava
1374 TAGS-target: maybe-TAGS-target-zlib
1375 TAGS-target: maybe-TAGS-target-boehm-gc
1376 TAGS-target: maybe-TAGS-target-qthreads
1377 TAGS-target: maybe-TAGS-target-rda
1378 TAGS-target: maybe-TAGS-target-libada
1379 TAGS-target: maybe-TAGS-target-libgomp
1381 .PHONY: do-install-info
1382 do-install-info:
1383 @: $(MAKE); $(unstage)
1384 @r=`${PWD_COMMAND}`; export r; \
1385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1386 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1387 install-info-target
1390 .PHONY: install-info-host
1392 install-info-host: maybe-install-info-ash
1393 install-info-host: maybe-install-info-autoconf
1394 install-info-host: maybe-install-info-automake
1395 install-info-host: maybe-install-info-bash
1396 install-info-host: maybe-install-info-bfd
1397 install-info-host: maybe-install-info-opcodes
1398 install-info-host: maybe-install-info-binutils
1399 install-info-host: maybe-install-info-bison
1400 install-info-host: maybe-install-info-byacc
1401 install-info-host: maybe-install-info-bzip2
1402 install-info-host: maybe-install-info-dejagnu
1403 install-info-host: maybe-install-info-diff
1404 install-info-host: maybe-install-info-dosutils
1405 install-info-host: maybe-install-info-etc
1406 install-info-host: maybe-install-info-fastjar
1407 install-info-host: maybe-install-info-fileutils
1408 install-info-host: maybe-install-info-findutils
1409 install-info-host: maybe-install-info-find
1410 install-info-host: maybe-install-info-fixincludes
1411 install-info-host: maybe-install-info-flex
1412 install-info-host: maybe-install-info-gas
1413 install-info-host: maybe-install-info-gcc
1414 install-info-host: maybe-install-info-gawk
1415 install-info-host: maybe-install-info-gettext
1416 install-info-host: maybe-install-info-gmp
1417 install-info-host: maybe-install-info-mpfr
1418 install-info-host: maybe-install-info-gnuserv
1419 install-info-host: maybe-install-info-gprof
1420 install-info-host: maybe-install-info-gzip
1421 install-info-host: maybe-install-info-hello
1422 install-info-host: maybe-install-info-indent
1423 install-info-host: maybe-install-info-intl
1424 install-info-host: maybe-install-info-tcl
1425 install-info-host: maybe-install-info-itcl
1426 install-info-host: maybe-install-info-ld
1427 install-info-host: maybe-install-info-libcpp
1428 install-info-host: maybe-install-info-libdecnumber
1429 install-info-host: maybe-install-info-libgui
1430 install-info-host: maybe-install-info-libiberty
1431 install-info-host: maybe-install-info-libtool
1432 install-info-host: maybe-install-info-m4
1433 install-info-host: maybe-install-info-make
1434 install-info-host: maybe-install-info-mmalloc
1435 install-info-host: maybe-install-info-patch
1436 install-info-host: maybe-install-info-perl
1437 install-info-host: maybe-install-info-prms
1438 install-info-host: maybe-install-info-rcs
1439 install-info-host: maybe-install-info-readline
1440 install-info-host: maybe-install-info-release
1441 install-info-host: maybe-install-info-recode
1442 install-info-host: maybe-install-info-sed
1443 install-info-host: maybe-install-info-send-pr
1444 install-info-host: maybe-install-info-shellutils
1445 install-info-host: maybe-install-info-sid
1446 install-info-host: maybe-install-info-sim
1447 install-info-host: maybe-install-info-tar
1448 install-info-host: maybe-install-info-texinfo
1449 install-info-host: maybe-install-info-textutils
1450 install-info-host: maybe-install-info-time
1451 install-info-host: maybe-install-info-uudecode
1452 install-info-host: maybe-install-info-wdiff
1453 install-info-host: maybe-install-info-zip
1454 install-info-host: maybe-install-info-zlib
1455 install-info-host: maybe-install-info-gdb
1456 install-info-host: maybe-install-info-expect
1457 install-info-host: maybe-install-info-guile
1458 install-info-host: maybe-install-info-tk
1459 install-info-host: maybe-install-info-libtermcap
1460 install-info-host: maybe-install-info-utils
1461 install-info-host: maybe-install-info-gnattools
1463 .PHONY: install-info-target
1465 install-info-target: maybe-install-info-target-libstdc++-v3
1466 install-info-target: maybe-install-info-target-libmudflap
1467 install-info-target: maybe-install-info-target-libssp
1468 install-info-target: maybe-install-info-target-newlib
1469 install-info-target: maybe-install-info-target-libgcc
1470 install-info-target: maybe-install-info-target-libgfortran
1471 install-info-target: maybe-install-info-target-libobjc
1472 install-info-target: maybe-install-info-target-libtermcap
1473 install-info-target: maybe-install-info-target-winsup
1474 install-info-target: maybe-install-info-target-libgloss
1475 install-info-target: maybe-install-info-target-libiberty
1476 install-info-target: maybe-install-info-target-gperf
1477 install-info-target: maybe-install-info-target-examples
1478 install-info-target: maybe-install-info-target-libffi
1479 install-info-target: maybe-install-info-target-libjava
1480 install-info-target: maybe-install-info-target-zlib
1481 install-info-target: maybe-install-info-target-boehm-gc
1482 install-info-target: maybe-install-info-target-qthreads
1483 install-info-target: maybe-install-info-target-rda
1484 install-info-target: maybe-install-info-target-libada
1485 install-info-target: maybe-install-info-target-libgomp
1487 .PHONY: do-install-html
1488 do-install-html:
1489 @: $(MAKE); $(unstage)
1490 @r=`${PWD_COMMAND}`; export r; \
1491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1492 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1493 install-html-target
1496 .PHONY: install-html-host
1498 install-html-host: maybe-install-html-ash
1499 install-html-host: maybe-install-html-autoconf
1500 install-html-host: maybe-install-html-automake
1501 install-html-host: maybe-install-html-bash
1502 install-html-host: maybe-install-html-bfd
1503 install-html-host: maybe-install-html-opcodes
1504 install-html-host: maybe-install-html-binutils
1505 install-html-host: maybe-install-html-bison
1506 install-html-host: maybe-install-html-byacc
1507 install-html-host: maybe-install-html-bzip2
1508 install-html-host: maybe-install-html-dejagnu
1509 install-html-host: maybe-install-html-diff
1510 install-html-host: maybe-install-html-dosutils
1511 install-html-host: maybe-install-html-etc
1512 install-html-host: maybe-install-html-fastjar
1513 install-html-host: maybe-install-html-fileutils
1514 install-html-host: maybe-install-html-findutils
1515 install-html-host: maybe-install-html-find
1516 install-html-host: maybe-install-html-fixincludes
1517 install-html-host: maybe-install-html-flex
1518 install-html-host: maybe-install-html-gas
1519 install-html-host: maybe-install-html-gcc
1520 install-html-host: maybe-install-html-gawk
1521 install-html-host: maybe-install-html-gettext
1522 install-html-host: maybe-install-html-gmp
1523 install-html-host: maybe-install-html-mpfr
1524 install-html-host: maybe-install-html-gnuserv
1525 install-html-host: maybe-install-html-gprof
1526 install-html-host: maybe-install-html-gzip
1527 install-html-host: maybe-install-html-hello
1528 install-html-host: maybe-install-html-indent
1529 install-html-host: maybe-install-html-intl
1530 install-html-host: maybe-install-html-tcl
1531 install-html-host: maybe-install-html-itcl
1532 install-html-host: maybe-install-html-ld
1533 install-html-host: maybe-install-html-libcpp
1534 install-html-host: maybe-install-html-libdecnumber
1535 install-html-host: maybe-install-html-libgui
1536 install-html-host: maybe-install-html-libiberty
1537 install-html-host: maybe-install-html-libtool
1538 install-html-host: maybe-install-html-m4
1539 install-html-host: maybe-install-html-make
1540 install-html-host: maybe-install-html-mmalloc
1541 install-html-host: maybe-install-html-patch
1542 install-html-host: maybe-install-html-perl
1543 install-html-host: maybe-install-html-prms
1544 install-html-host: maybe-install-html-rcs
1545 install-html-host: maybe-install-html-readline
1546 install-html-host: maybe-install-html-release
1547 install-html-host: maybe-install-html-recode
1548 install-html-host: maybe-install-html-sed
1549 install-html-host: maybe-install-html-send-pr
1550 install-html-host: maybe-install-html-shellutils
1551 install-html-host: maybe-install-html-sid
1552 install-html-host: maybe-install-html-sim
1553 install-html-host: maybe-install-html-tar
1554 install-html-host: maybe-install-html-texinfo
1555 install-html-host: maybe-install-html-textutils
1556 install-html-host: maybe-install-html-time
1557 install-html-host: maybe-install-html-uudecode
1558 install-html-host: maybe-install-html-wdiff
1559 install-html-host: maybe-install-html-zip
1560 install-html-host: maybe-install-html-zlib
1561 install-html-host: maybe-install-html-gdb
1562 install-html-host: maybe-install-html-expect
1563 install-html-host: maybe-install-html-guile
1564 install-html-host: maybe-install-html-tk
1565 install-html-host: maybe-install-html-libtermcap
1566 install-html-host: maybe-install-html-utils
1567 install-html-host: maybe-install-html-gnattools
1569 .PHONY: install-html-target
1571 install-html-target: maybe-install-html-target-libstdc++-v3
1572 install-html-target: maybe-install-html-target-libmudflap
1573 install-html-target: maybe-install-html-target-libssp
1574 install-html-target: maybe-install-html-target-newlib
1575 install-html-target: maybe-install-html-target-libgcc
1576 install-html-target: maybe-install-html-target-libgfortran
1577 install-html-target: maybe-install-html-target-libobjc
1578 install-html-target: maybe-install-html-target-libtermcap
1579 install-html-target: maybe-install-html-target-winsup
1580 install-html-target: maybe-install-html-target-libgloss
1581 install-html-target: maybe-install-html-target-libiberty
1582 install-html-target: maybe-install-html-target-gperf
1583 install-html-target: maybe-install-html-target-examples
1584 install-html-target: maybe-install-html-target-libffi
1585 install-html-target: maybe-install-html-target-libjava
1586 install-html-target: maybe-install-html-target-zlib
1587 install-html-target: maybe-install-html-target-boehm-gc
1588 install-html-target: maybe-install-html-target-qthreads
1589 install-html-target: maybe-install-html-target-rda
1590 install-html-target: maybe-install-html-target-libada
1591 install-html-target: maybe-install-html-target-libgomp
1593 .PHONY: do-installcheck
1594 do-installcheck:
1595 @: $(MAKE); $(unstage)
1596 @r=`${PWD_COMMAND}`; export r; \
1597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1598 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1599 installcheck-target
1602 .PHONY: installcheck-host
1604 installcheck-host: maybe-installcheck-ash
1605 installcheck-host: maybe-installcheck-autoconf
1606 installcheck-host: maybe-installcheck-automake
1607 installcheck-host: maybe-installcheck-bash
1608 installcheck-host: maybe-installcheck-bfd
1609 installcheck-host: maybe-installcheck-opcodes
1610 installcheck-host: maybe-installcheck-binutils
1611 installcheck-host: maybe-installcheck-bison
1612 installcheck-host: maybe-installcheck-byacc
1613 installcheck-host: maybe-installcheck-bzip2
1614 installcheck-host: maybe-installcheck-dejagnu
1615 installcheck-host: maybe-installcheck-diff
1616 installcheck-host: maybe-installcheck-dosutils
1617 installcheck-host: maybe-installcheck-etc
1618 installcheck-host: maybe-installcheck-fastjar
1619 installcheck-host: maybe-installcheck-fileutils
1620 installcheck-host: maybe-installcheck-findutils
1621 installcheck-host: maybe-installcheck-find
1622 installcheck-host: maybe-installcheck-fixincludes
1623 installcheck-host: maybe-installcheck-flex
1624 installcheck-host: maybe-installcheck-gas
1625 installcheck-host: maybe-installcheck-gcc
1626 installcheck-host: maybe-installcheck-gawk
1627 installcheck-host: maybe-installcheck-gettext
1628 installcheck-host: maybe-installcheck-gmp
1629 installcheck-host: maybe-installcheck-mpfr
1630 installcheck-host: maybe-installcheck-gnuserv
1631 installcheck-host: maybe-installcheck-gprof
1632 installcheck-host: maybe-installcheck-gzip
1633 installcheck-host: maybe-installcheck-hello
1634 installcheck-host: maybe-installcheck-indent
1635 installcheck-host: maybe-installcheck-intl
1636 installcheck-host: maybe-installcheck-tcl
1637 installcheck-host: maybe-installcheck-itcl
1638 installcheck-host: maybe-installcheck-ld
1639 installcheck-host: maybe-installcheck-libcpp
1640 installcheck-host: maybe-installcheck-libdecnumber
1641 installcheck-host: maybe-installcheck-libgui
1642 installcheck-host: maybe-installcheck-libiberty
1643 installcheck-host: maybe-installcheck-libtool
1644 installcheck-host: maybe-installcheck-m4
1645 installcheck-host: maybe-installcheck-make
1646 installcheck-host: maybe-installcheck-mmalloc
1647 installcheck-host: maybe-installcheck-patch
1648 installcheck-host: maybe-installcheck-perl
1649 installcheck-host: maybe-installcheck-prms
1650 installcheck-host: maybe-installcheck-rcs
1651 installcheck-host: maybe-installcheck-readline
1652 installcheck-host: maybe-installcheck-release
1653 installcheck-host: maybe-installcheck-recode
1654 installcheck-host: maybe-installcheck-sed
1655 installcheck-host: maybe-installcheck-send-pr
1656 installcheck-host: maybe-installcheck-shellutils
1657 installcheck-host: maybe-installcheck-sid
1658 installcheck-host: maybe-installcheck-sim
1659 installcheck-host: maybe-installcheck-tar
1660 installcheck-host: maybe-installcheck-texinfo
1661 installcheck-host: maybe-installcheck-textutils
1662 installcheck-host: maybe-installcheck-time
1663 installcheck-host: maybe-installcheck-uudecode
1664 installcheck-host: maybe-installcheck-wdiff
1665 installcheck-host: maybe-installcheck-zip
1666 installcheck-host: maybe-installcheck-zlib
1667 installcheck-host: maybe-installcheck-gdb
1668 installcheck-host: maybe-installcheck-expect
1669 installcheck-host: maybe-installcheck-guile
1670 installcheck-host: maybe-installcheck-tk
1671 installcheck-host: maybe-installcheck-libtermcap
1672 installcheck-host: maybe-installcheck-utils
1673 installcheck-host: maybe-installcheck-gnattools
1675 .PHONY: installcheck-target
1677 installcheck-target: maybe-installcheck-target-libstdc++-v3
1678 installcheck-target: maybe-installcheck-target-libmudflap
1679 installcheck-target: maybe-installcheck-target-libssp
1680 installcheck-target: maybe-installcheck-target-newlib
1681 installcheck-target: maybe-installcheck-target-libgcc
1682 installcheck-target: maybe-installcheck-target-libgfortran
1683 installcheck-target: maybe-installcheck-target-libobjc
1684 installcheck-target: maybe-installcheck-target-libtermcap
1685 installcheck-target: maybe-installcheck-target-winsup
1686 installcheck-target: maybe-installcheck-target-libgloss
1687 installcheck-target: maybe-installcheck-target-libiberty
1688 installcheck-target: maybe-installcheck-target-gperf
1689 installcheck-target: maybe-installcheck-target-examples
1690 installcheck-target: maybe-installcheck-target-libffi
1691 installcheck-target: maybe-installcheck-target-libjava
1692 installcheck-target: maybe-installcheck-target-zlib
1693 installcheck-target: maybe-installcheck-target-boehm-gc
1694 installcheck-target: maybe-installcheck-target-qthreads
1695 installcheck-target: maybe-installcheck-target-rda
1696 installcheck-target: maybe-installcheck-target-libada
1697 installcheck-target: maybe-installcheck-target-libgomp
1699 .PHONY: do-mostlyclean
1700 do-mostlyclean:
1701 @: $(MAKE); $(unstage)
1702 @r=`${PWD_COMMAND}`; export r; \
1703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1704 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1705 mostlyclean-target
1708 .PHONY: mostlyclean-host
1710 mostlyclean-host: maybe-mostlyclean-ash
1711 mostlyclean-host: maybe-mostlyclean-autoconf
1712 mostlyclean-host: maybe-mostlyclean-automake
1713 mostlyclean-host: maybe-mostlyclean-bash
1714 mostlyclean-host: maybe-mostlyclean-bfd
1715 mostlyclean-host: maybe-mostlyclean-opcodes
1716 mostlyclean-host: maybe-mostlyclean-binutils
1717 mostlyclean-host: maybe-mostlyclean-bison
1718 mostlyclean-host: maybe-mostlyclean-byacc
1719 mostlyclean-host: maybe-mostlyclean-bzip2
1720 mostlyclean-host: maybe-mostlyclean-dejagnu
1721 mostlyclean-host: maybe-mostlyclean-diff
1722 mostlyclean-host: maybe-mostlyclean-dosutils
1723 mostlyclean-host: maybe-mostlyclean-etc
1724 mostlyclean-host: maybe-mostlyclean-fastjar
1725 mostlyclean-host: maybe-mostlyclean-fileutils
1726 mostlyclean-host: maybe-mostlyclean-findutils
1727 mostlyclean-host: maybe-mostlyclean-find
1728 mostlyclean-host: maybe-mostlyclean-fixincludes
1729 mostlyclean-host: maybe-mostlyclean-flex
1730 mostlyclean-host: maybe-mostlyclean-gas
1731 mostlyclean-host: maybe-mostlyclean-gcc
1732 mostlyclean-host: maybe-mostlyclean-gawk
1733 mostlyclean-host: maybe-mostlyclean-gettext
1734 mostlyclean-host: maybe-mostlyclean-gmp
1735 mostlyclean-host: maybe-mostlyclean-mpfr
1736 mostlyclean-host: maybe-mostlyclean-gnuserv
1737 mostlyclean-host: maybe-mostlyclean-gprof
1738 mostlyclean-host: maybe-mostlyclean-gzip
1739 mostlyclean-host: maybe-mostlyclean-hello
1740 mostlyclean-host: maybe-mostlyclean-indent
1741 mostlyclean-host: maybe-mostlyclean-intl
1742 mostlyclean-host: maybe-mostlyclean-tcl
1743 mostlyclean-host: maybe-mostlyclean-itcl
1744 mostlyclean-host: maybe-mostlyclean-ld
1745 mostlyclean-host: maybe-mostlyclean-libcpp
1746 mostlyclean-host: maybe-mostlyclean-libdecnumber
1747 mostlyclean-host: maybe-mostlyclean-libgui
1748 mostlyclean-host: maybe-mostlyclean-libiberty
1749 mostlyclean-host: maybe-mostlyclean-libtool
1750 mostlyclean-host: maybe-mostlyclean-m4
1751 mostlyclean-host: maybe-mostlyclean-make
1752 mostlyclean-host: maybe-mostlyclean-mmalloc
1753 mostlyclean-host: maybe-mostlyclean-patch
1754 mostlyclean-host: maybe-mostlyclean-perl
1755 mostlyclean-host: maybe-mostlyclean-prms
1756 mostlyclean-host: maybe-mostlyclean-rcs
1757 mostlyclean-host: maybe-mostlyclean-readline
1758 mostlyclean-host: maybe-mostlyclean-release
1759 mostlyclean-host: maybe-mostlyclean-recode
1760 mostlyclean-host: maybe-mostlyclean-sed
1761 mostlyclean-host: maybe-mostlyclean-send-pr
1762 mostlyclean-host: maybe-mostlyclean-shellutils
1763 mostlyclean-host: maybe-mostlyclean-sid
1764 mostlyclean-host: maybe-mostlyclean-sim
1765 mostlyclean-host: maybe-mostlyclean-tar
1766 mostlyclean-host: maybe-mostlyclean-texinfo
1767 mostlyclean-host: maybe-mostlyclean-textutils
1768 mostlyclean-host: maybe-mostlyclean-time
1769 mostlyclean-host: maybe-mostlyclean-uudecode
1770 mostlyclean-host: maybe-mostlyclean-wdiff
1771 mostlyclean-host: maybe-mostlyclean-zip
1772 mostlyclean-host: maybe-mostlyclean-zlib
1773 mostlyclean-host: maybe-mostlyclean-gdb
1774 mostlyclean-host: maybe-mostlyclean-expect
1775 mostlyclean-host: maybe-mostlyclean-guile
1776 mostlyclean-host: maybe-mostlyclean-tk
1777 mostlyclean-host: maybe-mostlyclean-libtermcap
1778 mostlyclean-host: maybe-mostlyclean-utils
1779 mostlyclean-host: maybe-mostlyclean-gnattools
1781 .PHONY: mostlyclean-target
1783 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1784 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1785 mostlyclean-target: maybe-mostlyclean-target-libssp
1786 mostlyclean-target: maybe-mostlyclean-target-newlib
1787 mostlyclean-target: maybe-mostlyclean-target-libgcc
1788 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1789 mostlyclean-target: maybe-mostlyclean-target-libobjc
1790 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1791 mostlyclean-target: maybe-mostlyclean-target-winsup
1792 mostlyclean-target: maybe-mostlyclean-target-libgloss
1793 mostlyclean-target: maybe-mostlyclean-target-libiberty
1794 mostlyclean-target: maybe-mostlyclean-target-gperf
1795 mostlyclean-target: maybe-mostlyclean-target-examples
1796 mostlyclean-target: maybe-mostlyclean-target-libffi
1797 mostlyclean-target: maybe-mostlyclean-target-libjava
1798 mostlyclean-target: maybe-mostlyclean-target-zlib
1799 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1800 mostlyclean-target: maybe-mostlyclean-target-qthreads
1801 mostlyclean-target: maybe-mostlyclean-target-rda
1802 mostlyclean-target: maybe-mostlyclean-target-libada
1803 mostlyclean-target: maybe-mostlyclean-target-libgomp
1805 .PHONY: do-clean
1806 do-clean:
1807 @: $(MAKE); $(unstage)
1808 @r=`${PWD_COMMAND}`; export r; \
1809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1810 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1811 clean-target
1814 .PHONY: clean-host
1816 clean-host: maybe-clean-ash
1817 clean-host: maybe-clean-autoconf
1818 clean-host: maybe-clean-automake
1819 clean-host: maybe-clean-bash
1820 clean-host: maybe-clean-bfd
1821 clean-host: maybe-clean-opcodes
1822 clean-host: maybe-clean-binutils
1823 clean-host: maybe-clean-bison
1824 clean-host: maybe-clean-byacc
1825 clean-host: maybe-clean-bzip2
1826 clean-host: maybe-clean-dejagnu
1827 clean-host: maybe-clean-diff
1828 clean-host: maybe-clean-dosutils
1829 clean-host: maybe-clean-etc
1830 clean-host: maybe-clean-fastjar
1831 clean-host: maybe-clean-fileutils
1832 clean-host: maybe-clean-findutils
1833 clean-host: maybe-clean-find
1834 clean-host: maybe-clean-fixincludes
1835 clean-host: maybe-clean-flex
1836 clean-host: maybe-clean-gas
1837 clean-host: maybe-clean-gcc
1838 clean-host: maybe-clean-gawk
1839 clean-host: maybe-clean-gettext
1840 clean-host: maybe-clean-gmp
1841 clean-host: maybe-clean-mpfr
1842 clean-host: maybe-clean-gnuserv
1843 clean-host: maybe-clean-gprof
1844 clean-host: maybe-clean-gzip
1845 clean-host: maybe-clean-hello
1846 clean-host: maybe-clean-indent
1847 clean-host: maybe-clean-intl
1848 clean-host: maybe-clean-tcl
1849 clean-host: maybe-clean-itcl
1850 clean-host: maybe-clean-ld
1851 clean-host: maybe-clean-libcpp
1852 clean-host: maybe-clean-libdecnumber
1853 clean-host: maybe-clean-libgui
1854 clean-host: maybe-clean-libiberty
1855 clean-host: maybe-clean-libtool
1856 clean-host: maybe-clean-m4
1857 clean-host: maybe-clean-make
1858 clean-host: maybe-clean-mmalloc
1859 clean-host: maybe-clean-patch
1860 clean-host: maybe-clean-perl
1861 clean-host: maybe-clean-prms
1862 clean-host: maybe-clean-rcs
1863 clean-host: maybe-clean-readline
1864 clean-host: maybe-clean-release
1865 clean-host: maybe-clean-recode
1866 clean-host: maybe-clean-sed
1867 clean-host: maybe-clean-send-pr
1868 clean-host: maybe-clean-shellutils
1869 clean-host: maybe-clean-sid
1870 clean-host: maybe-clean-sim
1871 clean-host: maybe-clean-tar
1872 clean-host: maybe-clean-texinfo
1873 clean-host: maybe-clean-textutils
1874 clean-host: maybe-clean-time
1875 clean-host: maybe-clean-uudecode
1876 clean-host: maybe-clean-wdiff
1877 clean-host: maybe-clean-zip
1878 clean-host: maybe-clean-zlib
1879 clean-host: maybe-clean-gdb
1880 clean-host: maybe-clean-expect
1881 clean-host: maybe-clean-guile
1882 clean-host: maybe-clean-tk
1883 clean-host: maybe-clean-libtermcap
1884 clean-host: maybe-clean-utils
1885 clean-host: maybe-clean-gnattools
1887 .PHONY: clean-target
1889 clean-target: maybe-clean-target-libstdc++-v3
1890 clean-target: maybe-clean-target-libmudflap
1891 clean-target: maybe-clean-target-libssp
1892 clean-target: maybe-clean-target-newlib
1893 clean-target: maybe-clean-target-libgcc
1894 clean-target: maybe-clean-target-libgfortran
1895 clean-target: maybe-clean-target-libobjc
1896 clean-target: maybe-clean-target-libtermcap
1897 clean-target: maybe-clean-target-winsup
1898 clean-target: maybe-clean-target-libgloss
1899 clean-target: maybe-clean-target-libiberty
1900 clean-target: maybe-clean-target-gperf
1901 clean-target: maybe-clean-target-examples
1902 clean-target: maybe-clean-target-libffi
1903 clean-target: maybe-clean-target-libjava
1904 clean-target: maybe-clean-target-zlib
1905 clean-target: maybe-clean-target-boehm-gc
1906 clean-target: maybe-clean-target-qthreads
1907 clean-target: maybe-clean-target-rda
1908 clean-target: maybe-clean-target-libada
1909 clean-target: maybe-clean-target-libgomp
1911 .PHONY: do-distclean
1912 do-distclean:
1913 @: $(MAKE); $(unstage)
1914 @r=`${PWD_COMMAND}`; export r; \
1915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1916 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1917 distclean-target
1920 .PHONY: distclean-host
1922 distclean-host: maybe-distclean-ash
1923 distclean-host: maybe-distclean-autoconf
1924 distclean-host: maybe-distclean-automake
1925 distclean-host: maybe-distclean-bash
1926 distclean-host: maybe-distclean-bfd
1927 distclean-host: maybe-distclean-opcodes
1928 distclean-host: maybe-distclean-binutils
1929 distclean-host: maybe-distclean-bison
1930 distclean-host: maybe-distclean-byacc
1931 distclean-host: maybe-distclean-bzip2
1932 distclean-host: maybe-distclean-dejagnu
1933 distclean-host: maybe-distclean-diff
1934 distclean-host: maybe-distclean-dosutils
1935 distclean-host: maybe-distclean-etc
1936 distclean-host: maybe-distclean-fastjar
1937 distclean-host: maybe-distclean-fileutils
1938 distclean-host: maybe-distclean-findutils
1939 distclean-host: maybe-distclean-find
1940 distclean-host: maybe-distclean-fixincludes
1941 distclean-host: maybe-distclean-flex
1942 distclean-host: maybe-distclean-gas
1943 distclean-host: maybe-distclean-gcc
1944 distclean-host: maybe-distclean-gawk
1945 distclean-host: maybe-distclean-gettext
1946 distclean-host: maybe-distclean-gmp
1947 distclean-host: maybe-distclean-mpfr
1948 distclean-host: maybe-distclean-gnuserv
1949 distclean-host: maybe-distclean-gprof
1950 distclean-host: maybe-distclean-gzip
1951 distclean-host: maybe-distclean-hello
1952 distclean-host: maybe-distclean-indent
1953 distclean-host: maybe-distclean-intl
1954 distclean-host: maybe-distclean-tcl
1955 distclean-host: maybe-distclean-itcl
1956 distclean-host: maybe-distclean-ld
1957 distclean-host: maybe-distclean-libcpp
1958 distclean-host: maybe-distclean-libdecnumber
1959 distclean-host: maybe-distclean-libgui
1960 distclean-host: maybe-distclean-libiberty
1961 distclean-host: maybe-distclean-libtool
1962 distclean-host: maybe-distclean-m4
1963 distclean-host: maybe-distclean-make
1964 distclean-host: maybe-distclean-mmalloc
1965 distclean-host: maybe-distclean-patch
1966 distclean-host: maybe-distclean-perl
1967 distclean-host: maybe-distclean-prms
1968 distclean-host: maybe-distclean-rcs
1969 distclean-host: maybe-distclean-readline
1970 distclean-host: maybe-distclean-release
1971 distclean-host: maybe-distclean-recode
1972 distclean-host: maybe-distclean-sed
1973 distclean-host: maybe-distclean-send-pr
1974 distclean-host: maybe-distclean-shellutils
1975 distclean-host: maybe-distclean-sid
1976 distclean-host: maybe-distclean-sim
1977 distclean-host: maybe-distclean-tar
1978 distclean-host: maybe-distclean-texinfo
1979 distclean-host: maybe-distclean-textutils
1980 distclean-host: maybe-distclean-time
1981 distclean-host: maybe-distclean-uudecode
1982 distclean-host: maybe-distclean-wdiff
1983 distclean-host: maybe-distclean-zip
1984 distclean-host: maybe-distclean-zlib
1985 distclean-host: maybe-distclean-gdb
1986 distclean-host: maybe-distclean-expect
1987 distclean-host: maybe-distclean-guile
1988 distclean-host: maybe-distclean-tk
1989 distclean-host: maybe-distclean-libtermcap
1990 distclean-host: maybe-distclean-utils
1991 distclean-host: maybe-distclean-gnattools
1993 .PHONY: distclean-target
1995 distclean-target: maybe-distclean-target-libstdc++-v3
1996 distclean-target: maybe-distclean-target-libmudflap
1997 distclean-target: maybe-distclean-target-libssp
1998 distclean-target: maybe-distclean-target-newlib
1999 distclean-target: maybe-distclean-target-libgcc
2000 distclean-target: maybe-distclean-target-libgfortran
2001 distclean-target: maybe-distclean-target-libobjc
2002 distclean-target: maybe-distclean-target-libtermcap
2003 distclean-target: maybe-distclean-target-winsup
2004 distclean-target: maybe-distclean-target-libgloss
2005 distclean-target: maybe-distclean-target-libiberty
2006 distclean-target: maybe-distclean-target-gperf
2007 distclean-target: maybe-distclean-target-examples
2008 distclean-target: maybe-distclean-target-libffi
2009 distclean-target: maybe-distclean-target-libjava
2010 distclean-target: maybe-distclean-target-zlib
2011 distclean-target: maybe-distclean-target-boehm-gc
2012 distclean-target: maybe-distclean-target-qthreads
2013 distclean-target: maybe-distclean-target-rda
2014 distclean-target: maybe-distclean-target-libada
2015 distclean-target: maybe-distclean-target-libgomp
2017 .PHONY: do-maintainer-clean
2018 do-maintainer-clean:
2019 @: $(MAKE); $(unstage)
2020 @r=`${PWD_COMMAND}`; export r; \
2021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2022 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2023 maintainer-clean-target
2026 .PHONY: maintainer-clean-host
2028 maintainer-clean-host: maybe-maintainer-clean-ash
2029 maintainer-clean-host: maybe-maintainer-clean-autoconf
2030 maintainer-clean-host: maybe-maintainer-clean-automake
2031 maintainer-clean-host: maybe-maintainer-clean-bash
2032 maintainer-clean-host: maybe-maintainer-clean-bfd
2033 maintainer-clean-host: maybe-maintainer-clean-opcodes
2034 maintainer-clean-host: maybe-maintainer-clean-binutils
2035 maintainer-clean-host: maybe-maintainer-clean-bison
2036 maintainer-clean-host: maybe-maintainer-clean-byacc
2037 maintainer-clean-host: maybe-maintainer-clean-bzip2
2038 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2039 maintainer-clean-host: maybe-maintainer-clean-diff
2040 maintainer-clean-host: maybe-maintainer-clean-dosutils
2041 maintainer-clean-host: maybe-maintainer-clean-etc
2042 maintainer-clean-host: maybe-maintainer-clean-fastjar
2043 maintainer-clean-host: maybe-maintainer-clean-fileutils
2044 maintainer-clean-host: maybe-maintainer-clean-findutils
2045 maintainer-clean-host: maybe-maintainer-clean-find
2046 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2047 maintainer-clean-host: maybe-maintainer-clean-flex
2048 maintainer-clean-host: maybe-maintainer-clean-gas
2049 maintainer-clean-host: maybe-maintainer-clean-gcc
2050 maintainer-clean-host: maybe-maintainer-clean-gawk
2051 maintainer-clean-host: maybe-maintainer-clean-gettext
2052 maintainer-clean-host: maybe-maintainer-clean-gmp
2053 maintainer-clean-host: maybe-maintainer-clean-mpfr
2054 maintainer-clean-host: maybe-maintainer-clean-gnuserv
2055 maintainer-clean-host: maybe-maintainer-clean-gprof
2056 maintainer-clean-host: maybe-maintainer-clean-gzip
2057 maintainer-clean-host: maybe-maintainer-clean-hello
2058 maintainer-clean-host: maybe-maintainer-clean-indent
2059 maintainer-clean-host: maybe-maintainer-clean-intl
2060 maintainer-clean-host: maybe-maintainer-clean-tcl
2061 maintainer-clean-host: maybe-maintainer-clean-itcl
2062 maintainer-clean-host: maybe-maintainer-clean-ld
2063 maintainer-clean-host: maybe-maintainer-clean-libcpp
2064 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2065 maintainer-clean-host: maybe-maintainer-clean-libgui
2066 maintainer-clean-host: maybe-maintainer-clean-libiberty
2067 maintainer-clean-host: maybe-maintainer-clean-libtool
2068 maintainer-clean-host: maybe-maintainer-clean-m4
2069 maintainer-clean-host: maybe-maintainer-clean-make
2070 maintainer-clean-host: maybe-maintainer-clean-mmalloc
2071 maintainer-clean-host: maybe-maintainer-clean-patch
2072 maintainer-clean-host: maybe-maintainer-clean-perl
2073 maintainer-clean-host: maybe-maintainer-clean-prms
2074 maintainer-clean-host: maybe-maintainer-clean-rcs
2075 maintainer-clean-host: maybe-maintainer-clean-readline
2076 maintainer-clean-host: maybe-maintainer-clean-release
2077 maintainer-clean-host: maybe-maintainer-clean-recode
2078 maintainer-clean-host: maybe-maintainer-clean-sed
2079 maintainer-clean-host: maybe-maintainer-clean-send-pr
2080 maintainer-clean-host: maybe-maintainer-clean-shellutils
2081 maintainer-clean-host: maybe-maintainer-clean-sid
2082 maintainer-clean-host: maybe-maintainer-clean-sim
2083 maintainer-clean-host: maybe-maintainer-clean-tar
2084 maintainer-clean-host: maybe-maintainer-clean-texinfo
2085 maintainer-clean-host: maybe-maintainer-clean-textutils
2086 maintainer-clean-host: maybe-maintainer-clean-time
2087 maintainer-clean-host: maybe-maintainer-clean-uudecode
2088 maintainer-clean-host: maybe-maintainer-clean-wdiff
2089 maintainer-clean-host: maybe-maintainer-clean-zip
2090 maintainer-clean-host: maybe-maintainer-clean-zlib
2091 maintainer-clean-host: maybe-maintainer-clean-gdb
2092 maintainer-clean-host: maybe-maintainer-clean-expect
2093 maintainer-clean-host: maybe-maintainer-clean-guile
2094 maintainer-clean-host: maybe-maintainer-clean-tk
2095 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2096 maintainer-clean-host: maybe-maintainer-clean-utils
2097 maintainer-clean-host: maybe-maintainer-clean-gnattools
2099 .PHONY: maintainer-clean-target
2101 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2102 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2103 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2104 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2105 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2106 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2107 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2108 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2109 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2110 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2111 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
2112 maintainer-clean-target: maybe-maintainer-clean-target-gperf
2113 maintainer-clean-target: maybe-maintainer-clean-target-examples
2114 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2115 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2116 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2117 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2118 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
2119 maintainer-clean-target: maybe-maintainer-clean-target-rda
2120 maintainer-clean-target: maybe-maintainer-clean-target-libada
2121 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2124 # Here are the targets which correspond to the do-X targets.
2126 .PHONY: info installcheck dvi pdf html install-info install-html
2127 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2128 .PHONY: local-clean local-distclean local-maintainer-clean
2129 info: do-info
2130 installcheck: do-installcheck
2131 dvi: do-dvi
2132 pdf: do-pdf
2133 html: do-html
2135 # Make sure makeinfo is built before we do a `make info', if we're
2136 # in fact building texinfo.
2137 do-info: maybe-all-texinfo
2139 install-info: do-install-info dir.info
2140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2141 if [ -f dir.info ] ; then \
2142 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2143 else true ; fi
2145 install-html: do-install-html
2147 local-clean:
2148 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2150 local-distclean:
2151 -rm -f Makefile config.status config.cache mh-frag mt-frag
2152 -rm -f maybedep.tmp serdep.tmp
2153 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2154 rm -rf $(TARGET_SUBDIR); \
2155 else true; fi
2156 -rm -rf $(BUILD_SUBDIR)
2157 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2158 rm -rf $(HOST_SUBDIR); \
2159 else true; fi
2160 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2161 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2162 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2163 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2164 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2166 local-maintainer-clean:
2167 @echo "This command is intended for maintainers to use;"
2168 @echo "it deletes files that may require special tools to rebuild."
2170 clean: do-clean local-clean
2171 mostlyclean: do-mostlyclean local-clean
2172 distclean: do-distclean local-clean local-distclean
2173 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2174 maintainer-clean: local-distclean
2175 realclean: maintainer-clean
2177 # Check target.
2179 .PHONY: check do-check
2180 check: do-check
2182 # Only include modules actually being configured and built.
2183 .PHONY: check-host
2184 check-host: \
2185 maybe-check-ash \
2186 maybe-check-autoconf \
2187 maybe-check-automake \
2188 maybe-check-bash \
2189 maybe-check-bfd \
2190 maybe-check-opcodes \
2191 maybe-check-binutils \
2192 maybe-check-bison \
2193 maybe-check-byacc \
2194 maybe-check-bzip2 \
2195 maybe-check-dejagnu \
2196 maybe-check-diff \
2197 maybe-check-dosutils \
2198 maybe-check-etc \
2199 maybe-check-fastjar \
2200 maybe-check-fileutils \
2201 maybe-check-findutils \
2202 maybe-check-find \
2203 maybe-check-fixincludes \
2204 maybe-check-flex \
2205 maybe-check-gas \
2206 maybe-check-gcc \
2207 maybe-check-gawk \
2208 maybe-check-gettext \
2209 maybe-check-gmp \
2210 maybe-check-mpfr \
2211 maybe-check-gnuserv \
2212 maybe-check-gprof \
2213 maybe-check-gzip \
2214 maybe-check-hello \
2215 maybe-check-indent \
2216 maybe-check-intl \
2217 maybe-check-tcl \
2218 maybe-check-itcl \
2219 maybe-check-ld \
2220 maybe-check-libcpp \
2221 maybe-check-libdecnumber \
2222 maybe-check-libgui \
2223 maybe-check-libiberty \
2224 maybe-check-libtool \
2225 maybe-check-m4 \
2226 maybe-check-make \
2227 maybe-check-mmalloc \
2228 maybe-check-patch \
2229 maybe-check-perl \
2230 maybe-check-prms \
2231 maybe-check-rcs \
2232 maybe-check-readline \
2233 maybe-check-release \
2234 maybe-check-recode \
2235 maybe-check-sed \
2236 maybe-check-send-pr \
2237 maybe-check-shellutils \
2238 maybe-check-sid \
2239 maybe-check-sim \
2240 maybe-check-tar \
2241 maybe-check-texinfo \
2242 maybe-check-textutils \
2243 maybe-check-time \
2244 maybe-check-uudecode \
2245 maybe-check-wdiff \
2246 maybe-check-zip \
2247 maybe-check-zlib \
2248 maybe-check-gdb \
2249 maybe-check-expect \
2250 maybe-check-guile \
2251 maybe-check-tk \
2252 maybe-check-libtermcap \
2253 maybe-check-utils \
2254 maybe-check-gnattools
2256 .PHONY: check-target
2257 check-target: \
2258 maybe-check-target-libstdc++-v3 \
2259 maybe-check-target-libmudflap \
2260 maybe-check-target-libssp \
2261 maybe-check-target-newlib \
2262 maybe-check-target-libgcc \
2263 maybe-check-target-libgfortran \
2264 maybe-check-target-libobjc \
2265 maybe-check-target-libtermcap \
2266 maybe-check-target-winsup \
2267 maybe-check-target-libgloss \
2268 maybe-check-target-libiberty \
2269 maybe-check-target-gperf \
2270 maybe-check-target-examples \
2271 maybe-check-target-libffi \
2272 maybe-check-target-libjava \
2273 maybe-check-target-zlib \
2274 maybe-check-target-boehm-gc \
2275 maybe-check-target-qthreads \
2276 maybe-check-target-rda \
2277 maybe-check-target-libada \
2278 maybe-check-target-libgomp
2280 do-check:
2281 @: $(MAKE); $(unstage)
2282 @r=`${PWD_COMMAND}`; export r; \
2283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2284 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2286 # Automated reporting of test results.
2288 warning.log: build.log
2289 $(srcdir)/contrib/warn_summary build.log > $@
2291 mail-report.log:
2292 if test x'$(BOOT_CFLAGS)' != x''; then \
2293 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2294 fi; \
2295 $(srcdir)/contrib/test_summary -t >$@
2296 chmod +x $@
2297 echo If you really want to send e-mail, run ./$@ now
2299 mail-report-with-warnings.log: warning.log
2300 if test x'$(BOOT_CFLAGS)' != x''; then \
2301 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2302 fi; \
2303 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2304 chmod +x $@
2305 echo If you really want to send e-mail, run ./$@ now
2307 # Installation targets.
2309 .PHONY: install uninstall
2310 install:
2311 @: $(MAKE); $(unstage)
2312 @r=`${PWD_COMMAND}`; export r; \
2313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2314 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2316 .PHONY: install-host-nogcc
2317 install-host-nogcc: \
2318 maybe-install-ash \
2319 maybe-install-autoconf \
2320 maybe-install-automake \
2321 maybe-install-bash \
2322 maybe-install-bfd \
2323 maybe-install-opcodes \
2324 maybe-install-binutils \
2325 maybe-install-bison \
2326 maybe-install-byacc \
2327 maybe-install-bzip2 \
2328 maybe-install-dejagnu \
2329 maybe-install-diff \
2330 maybe-install-dosutils \
2331 maybe-install-etc \
2332 maybe-install-fastjar \
2333 maybe-install-fileutils \
2334 maybe-install-findutils \
2335 maybe-install-find \
2336 maybe-install-fixincludes \
2337 maybe-install-flex \
2338 maybe-install-gas \
2339 maybe-install-gawk \
2340 maybe-install-gettext \
2341 maybe-install-gmp \
2342 maybe-install-mpfr \
2343 maybe-install-gnuserv \
2344 maybe-install-gprof \
2345 maybe-install-gzip \
2346 maybe-install-hello \
2347 maybe-install-indent \
2348 maybe-install-intl \
2349 maybe-install-tcl \
2350 maybe-install-itcl \
2351 maybe-install-ld \
2352 maybe-install-libcpp \
2353 maybe-install-libdecnumber \
2354 maybe-install-libgui \
2355 maybe-install-libiberty \
2356 maybe-install-libtool \
2357 maybe-install-m4 \
2358 maybe-install-make \
2359 maybe-install-mmalloc \
2360 maybe-install-patch \
2361 maybe-install-perl \
2362 maybe-install-prms \
2363 maybe-install-rcs \
2364 maybe-install-readline \
2365 maybe-install-release \
2366 maybe-install-recode \
2367 maybe-install-sed \
2368 maybe-install-send-pr \
2369 maybe-install-shellutils \
2370 maybe-install-sid \
2371 maybe-install-sim \
2372 maybe-install-tar \
2373 maybe-install-texinfo \
2374 maybe-install-textutils \
2375 maybe-install-time \
2376 maybe-install-uudecode \
2377 maybe-install-wdiff \
2378 maybe-install-zip \
2379 maybe-install-zlib \
2380 maybe-install-gdb \
2381 maybe-install-expect \
2382 maybe-install-guile \
2383 maybe-install-tk \
2384 maybe-install-libtermcap \
2385 maybe-install-utils \
2386 maybe-install-gnattools
2388 .PHONY: install-host
2389 install-host: \
2390 maybe-install-ash \
2391 maybe-install-autoconf \
2392 maybe-install-automake \
2393 maybe-install-bash \
2394 maybe-install-bfd \
2395 maybe-install-opcodes \
2396 maybe-install-binutils \
2397 maybe-install-bison \
2398 maybe-install-byacc \
2399 maybe-install-bzip2 \
2400 maybe-install-dejagnu \
2401 maybe-install-diff \
2402 maybe-install-dosutils \
2403 maybe-install-etc \
2404 maybe-install-fastjar \
2405 maybe-install-fileutils \
2406 maybe-install-findutils \
2407 maybe-install-find \
2408 maybe-install-fixincludes \
2409 maybe-install-flex \
2410 maybe-install-gas \
2411 maybe-install-gcc \
2412 maybe-install-gawk \
2413 maybe-install-gettext \
2414 maybe-install-gmp \
2415 maybe-install-mpfr \
2416 maybe-install-gnuserv \
2417 maybe-install-gprof \
2418 maybe-install-gzip \
2419 maybe-install-hello \
2420 maybe-install-indent \
2421 maybe-install-intl \
2422 maybe-install-tcl \
2423 maybe-install-itcl \
2424 maybe-install-ld \
2425 maybe-install-libcpp \
2426 maybe-install-libdecnumber \
2427 maybe-install-libgui \
2428 maybe-install-libiberty \
2429 maybe-install-libtool \
2430 maybe-install-m4 \
2431 maybe-install-make \
2432 maybe-install-mmalloc \
2433 maybe-install-patch \
2434 maybe-install-perl \
2435 maybe-install-prms \
2436 maybe-install-rcs \
2437 maybe-install-readline \
2438 maybe-install-release \
2439 maybe-install-recode \
2440 maybe-install-sed \
2441 maybe-install-send-pr \
2442 maybe-install-shellutils \
2443 maybe-install-sid \
2444 maybe-install-sim \
2445 maybe-install-tar \
2446 maybe-install-texinfo \
2447 maybe-install-textutils \
2448 maybe-install-time \
2449 maybe-install-uudecode \
2450 maybe-install-wdiff \
2451 maybe-install-zip \
2452 maybe-install-zlib \
2453 maybe-install-gdb \
2454 maybe-install-expect \
2455 maybe-install-guile \
2456 maybe-install-tk \
2457 maybe-install-libtermcap \
2458 maybe-install-utils \
2459 maybe-install-gnattools
2461 .PHONY: install-target
2462 install-target: \
2463 maybe-install-target-libstdc++-v3 \
2464 maybe-install-target-libmudflap \
2465 maybe-install-target-libssp \
2466 maybe-install-target-newlib \
2467 maybe-install-target-libgcc \
2468 maybe-install-target-libgfortran \
2469 maybe-install-target-libobjc \
2470 maybe-install-target-libtermcap \
2471 maybe-install-target-winsup \
2472 maybe-install-target-libgloss \
2473 maybe-install-target-libiberty \
2474 maybe-install-target-gperf \
2475 maybe-install-target-examples \
2476 maybe-install-target-libffi \
2477 maybe-install-target-libjava \
2478 maybe-install-target-zlib \
2479 maybe-install-target-boehm-gc \
2480 maybe-install-target-qthreads \
2481 maybe-install-target-rda \
2482 maybe-install-target-libada \
2483 maybe-install-target-libgomp
2485 uninstall:
2486 @echo "the uninstall target is not supported in this tree"
2488 .PHONY: install.all
2489 install.all: install-no-fixedincludes
2490 @if [ -f ./gcc/Makefile ] ; then \
2491 r=`${PWD_COMMAND}` ; export r ; \
2492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2493 $(HOST_EXPORTS) \
2494 (cd ./gcc && \
2495 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2496 else \
2497 true ; \
2500 # install-no-fixedincludes is used because Cygnus can not distribute
2501 # the fixed header files.
2502 .PHONY: install-no-fixedincludes
2503 install-no-fixedincludes: installdirs install-host-nogcc \
2504 install-target gcc-no-fixedincludes
2506 ### other supporting targets
2508 MAKEDIRS= \
2509 $(DESTDIR)$(prefix) \
2510 $(DESTDIR)$(exec_prefix)
2511 .PHONY: installdirs
2512 installdirs: mkinstalldirs
2513 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2515 dir.info: do-install-info
2516 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2517 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2518 mv -f dir.info.new dir.info ; \
2519 else true ; \
2522 dist:
2523 @echo "Building a full distribution of this tree isn't done"
2524 @echo "via 'make dist'. Check out the etc/ subdirectory"
2526 etags tags: TAGS
2528 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2529 # ability to use several tags files at once, so there is probably no need
2530 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2531 # (if we felt like it) have this Makefile write a piece of elisp which
2532 # the user could load to tell emacs19 where all the TAGS files we just
2533 # built are.
2534 TAGS: do-TAGS
2536 # ------------------------------------
2537 # Macros for configure and all targets
2538 # ------------------------------------
2544 # --------------------------------------
2545 # Modules which run on the build machine
2546 # --------------------------------------
2549 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2550 maybe-configure-build-libiberty:
2551 @if gcc-bootstrap
2552 configure-build-libiberty: stage_current
2553 @endif gcc-bootstrap
2554 @if build-libiberty
2555 maybe-configure-build-libiberty: configure-build-libiberty
2556 configure-build-libiberty:
2557 @: $(MAKE); $(unstage)
2558 @r=`${PWD_COMMAND}`; export r; \
2559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2560 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2561 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2562 $(BUILD_EXPORTS) \
2563 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2564 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2565 case $(srcdir) in \
2566 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2567 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2568 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2569 esac; \
2570 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2571 libsrcdir="$$s/libiberty"; \
2572 rm -f no-such-file || : ; \
2573 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2574 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2575 --target=${target_alias} $${srcdiroption} \
2576 || exit 1
2577 @endif build-libiberty
2583 .PHONY: all-build-libiberty maybe-all-build-libiberty
2584 maybe-all-build-libiberty:
2585 @if gcc-bootstrap
2586 all-build-libiberty: stage_current
2587 @endif gcc-bootstrap
2588 @if build-libiberty
2589 TARGET-build-libiberty=all
2590 maybe-all-build-libiberty: all-build-libiberty
2591 all-build-libiberty: configure-build-libiberty
2592 @: $(MAKE); $(unstage)
2593 @r=`${PWD_COMMAND}`; export r; \
2594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2595 $(BUILD_EXPORTS) \
2596 (cd $(BUILD_SUBDIR)/libiberty && \
2597 $(MAKE) $(TARGET-build-libiberty))
2598 @endif build-libiberty
2604 .PHONY: configure-build-bison maybe-configure-build-bison
2605 maybe-configure-build-bison:
2606 @if gcc-bootstrap
2607 configure-build-bison: stage_current
2608 @endif gcc-bootstrap
2609 @if build-bison
2610 maybe-configure-build-bison: configure-build-bison
2611 configure-build-bison:
2612 @: $(MAKE); $(unstage)
2613 @r=`${PWD_COMMAND}`; export r; \
2614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2615 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2616 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2617 $(BUILD_EXPORTS) \
2618 echo Configuring in $(BUILD_SUBDIR)/bison; \
2619 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2620 case $(srcdir) in \
2621 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2622 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2623 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2624 esac; \
2625 srcdiroption="--srcdir=$${topdir}/bison"; \
2626 libsrcdir="$$s/bison"; \
2627 rm -f no-such-file || : ; \
2628 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2629 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2630 --target=${target_alias} $${srcdiroption} \
2631 || exit 1
2632 @endif build-bison
2638 .PHONY: all-build-bison maybe-all-build-bison
2639 maybe-all-build-bison:
2640 @if gcc-bootstrap
2641 all-build-bison: stage_current
2642 @endif gcc-bootstrap
2643 @if build-bison
2644 TARGET-build-bison=all
2645 maybe-all-build-bison: all-build-bison
2646 all-build-bison: configure-build-bison
2647 @: $(MAKE); $(unstage)
2648 @r=`${PWD_COMMAND}`; export r; \
2649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2650 $(BUILD_EXPORTS) \
2651 (cd $(BUILD_SUBDIR)/bison && \
2652 $(MAKE) $(TARGET-build-bison))
2653 @endif build-bison
2659 .PHONY: configure-build-byacc maybe-configure-build-byacc
2660 maybe-configure-build-byacc:
2661 @if gcc-bootstrap
2662 configure-build-byacc: stage_current
2663 @endif gcc-bootstrap
2664 @if build-byacc
2665 maybe-configure-build-byacc: configure-build-byacc
2666 configure-build-byacc:
2667 @: $(MAKE); $(unstage)
2668 @r=`${PWD_COMMAND}`; export r; \
2669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2670 test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2671 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2672 $(BUILD_EXPORTS) \
2673 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2674 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2675 case $(srcdir) in \
2676 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2677 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2678 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2679 esac; \
2680 srcdiroption="--srcdir=$${topdir}/byacc"; \
2681 libsrcdir="$$s/byacc"; \
2682 rm -f no-such-file || : ; \
2683 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2684 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2685 --target=${target_alias} $${srcdiroption} \
2686 || exit 1
2687 @endif build-byacc
2693 .PHONY: all-build-byacc maybe-all-build-byacc
2694 maybe-all-build-byacc:
2695 @if gcc-bootstrap
2696 all-build-byacc: stage_current
2697 @endif gcc-bootstrap
2698 @if build-byacc
2699 TARGET-build-byacc=all
2700 maybe-all-build-byacc: all-build-byacc
2701 all-build-byacc: configure-build-byacc
2702 @: $(MAKE); $(unstage)
2703 @r=`${PWD_COMMAND}`; export r; \
2704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2705 $(BUILD_EXPORTS) \
2706 (cd $(BUILD_SUBDIR)/byacc && \
2707 $(MAKE) $(TARGET-build-byacc))
2708 @endif build-byacc
2714 .PHONY: configure-build-flex maybe-configure-build-flex
2715 maybe-configure-build-flex:
2716 @if gcc-bootstrap
2717 configure-build-flex: stage_current
2718 @endif gcc-bootstrap
2719 @if build-flex
2720 maybe-configure-build-flex: configure-build-flex
2721 configure-build-flex:
2722 @: $(MAKE); $(unstage)
2723 @r=`${PWD_COMMAND}`; export r; \
2724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2725 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2726 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2727 $(BUILD_EXPORTS) \
2728 echo Configuring in $(BUILD_SUBDIR)/flex; \
2729 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2730 case $(srcdir) in \
2731 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2732 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2733 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2734 esac; \
2735 srcdiroption="--srcdir=$${topdir}/flex"; \
2736 libsrcdir="$$s/flex"; \
2737 rm -f no-such-file || : ; \
2738 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2739 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2740 --target=${target_alias} $${srcdiroption} \
2741 || exit 1
2742 @endif build-flex
2748 .PHONY: all-build-flex maybe-all-build-flex
2749 maybe-all-build-flex:
2750 @if gcc-bootstrap
2751 all-build-flex: stage_current
2752 @endif gcc-bootstrap
2753 @if build-flex
2754 TARGET-build-flex=all
2755 maybe-all-build-flex: all-build-flex
2756 all-build-flex: configure-build-flex
2757 @: $(MAKE); $(unstage)
2758 @r=`${PWD_COMMAND}`; export r; \
2759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2760 $(BUILD_EXPORTS) \
2761 (cd $(BUILD_SUBDIR)/flex && \
2762 $(MAKE) $(TARGET-build-flex))
2763 @endif build-flex
2769 .PHONY: configure-build-m4 maybe-configure-build-m4
2770 maybe-configure-build-m4:
2771 @if gcc-bootstrap
2772 configure-build-m4: stage_current
2773 @endif gcc-bootstrap
2774 @if build-m4
2775 maybe-configure-build-m4: configure-build-m4
2776 configure-build-m4:
2777 @: $(MAKE); $(unstage)
2778 @r=`${PWD_COMMAND}`; export r; \
2779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2780 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2781 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2782 $(BUILD_EXPORTS) \
2783 echo Configuring in $(BUILD_SUBDIR)/m4; \
2784 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2785 case $(srcdir) in \
2786 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2787 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2788 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2789 esac; \
2790 srcdiroption="--srcdir=$${topdir}/m4"; \
2791 libsrcdir="$$s/m4"; \
2792 rm -f no-such-file || : ; \
2793 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2794 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2795 --target=${target_alias} $${srcdiroption} \
2796 || exit 1
2797 @endif build-m4
2803 .PHONY: all-build-m4 maybe-all-build-m4
2804 maybe-all-build-m4:
2805 @if gcc-bootstrap
2806 all-build-m4: stage_current
2807 @endif gcc-bootstrap
2808 @if build-m4
2809 TARGET-build-m4=all
2810 maybe-all-build-m4: all-build-m4
2811 all-build-m4: configure-build-m4
2812 @: $(MAKE); $(unstage)
2813 @r=`${PWD_COMMAND}`; export r; \
2814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2815 $(BUILD_EXPORTS) \
2816 (cd $(BUILD_SUBDIR)/m4 && \
2817 $(MAKE) $(TARGET-build-m4))
2818 @endif build-m4
2824 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2825 maybe-configure-build-texinfo:
2826 @if gcc-bootstrap
2827 configure-build-texinfo: stage_current
2828 @endif gcc-bootstrap
2829 @if build-texinfo
2830 maybe-configure-build-texinfo: configure-build-texinfo
2831 configure-build-texinfo:
2832 @: $(MAKE); $(unstage)
2833 @r=`${PWD_COMMAND}`; export r; \
2834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2835 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2836 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2837 $(BUILD_EXPORTS) \
2838 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2839 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2840 case $(srcdir) in \
2841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2842 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2844 esac; \
2845 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2846 libsrcdir="$$s/texinfo"; \
2847 rm -f no-such-file || : ; \
2848 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2849 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2850 --target=${target_alias} $${srcdiroption} \
2851 || exit 1
2852 @endif build-texinfo
2858 .PHONY: all-build-texinfo maybe-all-build-texinfo
2859 maybe-all-build-texinfo:
2860 @if gcc-bootstrap
2861 all-build-texinfo: stage_current
2862 @endif gcc-bootstrap
2863 @if build-texinfo
2864 TARGET-build-texinfo=all
2865 maybe-all-build-texinfo: all-build-texinfo
2866 all-build-texinfo: configure-build-texinfo
2867 @: $(MAKE); $(unstage)
2868 @r=`${PWD_COMMAND}`; export r; \
2869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2870 $(BUILD_EXPORTS) \
2871 (cd $(BUILD_SUBDIR)/texinfo && \
2872 $(MAKE) $(TARGET-build-texinfo))
2873 @endif build-texinfo
2879 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2880 maybe-configure-build-fixincludes:
2881 @if gcc-bootstrap
2882 configure-build-fixincludes: stage_current
2883 @endif gcc-bootstrap
2884 @if build-fixincludes
2885 maybe-configure-build-fixincludes: configure-build-fixincludes
2886 configure-build-fixincludes:
2887 @: $(MAKE); $(unstage)
2888 @r=`${PWD_COMMAND}`; export r; \
2889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2890 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2891 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2892 $(BUILD_EXPORTS) \
2893 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2894 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2895 case $(srcdir) in \
2896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2897 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2899 esac; \
2900 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2901 libsrcdir="$$s/fixincludes"; \
2902 rm -f no-such-file || : ; \
2903 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2904 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2905 --target=${target_alias} $${srcdiroption} \
2906 || exit 1
2907 @endif build-fixincludes
2913 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2914 maybe-all-build-fixincludes:
2915 @if gcc-bootstrap
2916 all-build-fixincludes: stage_current
2917 @endif gcc-bootstrap
2918 @if build-fixincludes
2919 TARGET-build-fixincludes=all
2920 maybe-all-build-fixincludes: all-build-fixincludes
2921 all-build-fixincludes: configure-build-fixincludes
2922 @: $(MAKE); $(unstage)
2923 @r=`${PWD_COMMAND}`; export r; \
2924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2925 $(BUILD_EXPORTS) \
2926 (cd $(BUILD_SUBDIR)/fixincludes && \
2927 $(MAKE) $(TARGET-build-fixincludes))
2928 @endif build-fixincludes
2934 # --------------------------------------
2935 # Modules which run on the host machine
2936 # --------------------------------------
2939 .PHONY: configure-ash maybe-configure-ash
2940 maybe-configure-ash:
2941 @if gcc-bootstrap
2942 configure-ash: stage_current
2943 @endif gcc-bootstrap
2944 @if ash
2945 maybe-configure-ash: configure-ash
2946 configure-ash:
2947 @: $(MAKE); $(unstage)
2948 @r=`${PWD_COMMAND}`; export r; \
2949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2950 test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2951 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2952 $(HOST_EXPORTS) \
2953 echo Configuring in $(HOST_SUBDIR)/ash; \
2954 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2955 case $(srcdir) in \
2956 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2957 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2958 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2959 esac; \
2960 srcdiroption="--srcdir=$${topdir}/ash"; \
2961 libsrcdir="$$s/ash"; \
2962 $(SHELL) $${libsrcdir}/configure \
2963 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2964 --target=${target_alias} $${srcdiroption} \
2965 || exit 1
2966 @endif ash
2972 .PHONY: all-ash maybe-all-ash
2973 maybe-all-ash:
2974 @if gcc-bootstrap
2975 all-ash: stage_current
2976 @endif gcc-bootstrap
2977 @if ash
2978 TARGET-ash=all
2979 maybe-all-ash: all-ash
2980 all-ash: configure-ash
2981 @: $(MAKE); $(unstage)
2982 @r=`${PWD_COMMAND}`; export r; \
2983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2984 $(HOST_EXPORTS) \
2985 (cd $(HOST_SUBDIR)/ash && \
2986 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2987 @endif ash
2992 .PHONY: check-ash maybe-check-ash
2993 maybe-check-ash:
2994 @if ash
2995 maybe-check-ash: check-ash
2997 check-ash:
2998 @: $(MAKE); $(unstage)
2999 @r=`${PWD_COMMAND}`; export r; \
3000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3001 $(HOST_EXPORTS) \
3002 (cd $(HOST_SUBDIR)/ash && \
3003 $(MAKE) $(FLAGS_TO_PASS) check)
3005 @endif ash
3007 .PHONY: install-ash maybe-install-ash
3008 maybe-install-ash:
3009 @if ash
3010 maybe-install-ash: install-ash
3012 install-ash: installdirs
3013 @: $(MAKE); $(unstage)
3014 @r=`${PWD_COMMAND}`; export r; \
3015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3016 $(HOST_EXPORTS) \
3017 (cd $(HOST_SUBDIR)/ash && \
3018 $(MAKE) $(FLAGS_TO_PASS) install)
3020 @endif ash
3022 # Other targets (info, dvi, pdf, etc.)
3024 .PHONY: maybe-info-ash info-ash
3025 maybe-info-ash:
3026 @if ash
3027 maybe-info-ash: info-ash
3029 info-ash: \
3030 configure-ash
3031 @: $(MAKE); $(unstage)
3032 @[ -f ./ash/Makefile ] || exit 0; \
3033 r=`${PWD_COMMAND}`; export r; \
3034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3035 $(HOST_EXPORTS) \
3036 for flag in $(EXTRA_HOST_FLAGS) ; do \
3037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3038 done; \
3039 echo "Doing info in ash" ; \
3040 (cd $(HOST_SUBDIR)/ash && \
3041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3043 "RANLIB=$${RANLIB}" \
3044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3045 info) \
3046 || exit 1
3048 @endif ash
3050 .PHONY: maybe-dvi-ash dvi-ash
3051 maybe-dvi-ash:
3052 @if ash
3053 maybe-dvi-ash: dvi-ash
3055 dvi-ash: \
3056 configure-ash
3057 @: $(MAKE); $(unstage)
3058 @[ -f ./ash/Makefile ] || exit 0; \
3059 r=`${PWD_COMMAND}`; export r; \
3060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3061 $(HOST_EXPORTS) \
3062 for flag in $(EXTRA_HOST_FLAGS) ; do \
3063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3064 done; \
3065 echo "Doing dvi in ash" ; \
3066 (cd $(HOST_SUBDIR)/ash && \
3067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3069 "RANLIB=$${RANLIB}" \
3070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3071 dvi) \
3072 || exit 1
3074 @endif ash
3076 .PHONY: maybe-pdf-ash pdf-ash
3077 maybe-pdf-ash:
3078 @if ash
3079 maybe-pdf-ash: pdf-ash
3081 pdf-ash: \
3082 configure-ash
3083 @: $(MAKE); $(unstage)
3084 @[ -f ./ash/Makefile ] || exit 0; \
3085 r=`${PWD_COMMAND}`; export r; \
3086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3087 $(HOST_EXPORTS) \
3088 for flag in $(EXTRA_HOST_FLAGS) ; do \
3089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3090 done; \
3091 echo "Doing pdf in ash" ; \
3092 (cd $(HOST_SUBDIR)/ash && \
3093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3095 "RANLIB=$${RANLIB}" \
3096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3097 pdf) \
3098 || exit 1
3100 @endif ash
3102 .PHONY: maybe-html-ash html-ash
3103 maybe-html-ash:
3104 @if ash
3105 maybe-html-ash: html-ash
3107 html-ash: \
3108 configure-ash
3109 @: $(MAKE); $(unstage)
3110 @[ -f ./ash/Makefile ] || exit 0; \
3111 r=`${PWD_COMMAND}`; export r; \
3112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3113 $(HOST_EXPORTS) \
3114 for flag in $(EXTRA_HOST_FLAGS) ; do \
3115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3116 done; \
3117 echo "Doing html in ash" ; \
3118 (cd $(HOST_SUBDIR)/ash && \
3119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3121 "RANLIB=$${RANLIB}" \
3122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3123 html) \
3124 || exit 1
3126 @endif ash
3128 .PHONY: maybe-TAGS-ash TAGS-ash
3129 maybe-TAGS-ash:
3130 @if ash
3131 maybe-TAGS-ash: TAGS-ash
3133 TAGS-ash: \
3134 configure-ash
3135 @: $(MAKE); $(unstage)
3136 @[ -f ./ash/Makefile ] || exit 0; \
3137 r=`${PWD_COMMAND}`; export r; \
3138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3139 $(HOST_EXPORTS) \
3140 for flag in $(EXTRA_HOST_FLAGS) ; do \
3141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3142 done; \
3143 echo "Doing TAGS in ash" ; \
3144 (cd $(HOST_SUBDIR)/ash && \
3145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3147 "RANLIB=$${RANLIB}" \
3148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3149 TAGS) \
3150 || exit 1
3152 @endif ash
3154 .PHONY: maybe-install-info-ash install-info-ash
3155 maybe-install-info-ash:
3156 @if ash
3157 maybe-install-info-ash: install-info-ash
3159 install-info-ash: \
3160 configure-ash \
3161 info-ash
3162 @: $(MAKE); $(unstage)
3163 @[ -f ./ash/Makefile ] || exit 0; \
3164 r=`${PWD_COMMAND}`; export r; \
3165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3166 $(HOST_EXPORTS) \
3167 for flag in $(EXTRA_HOST_FLAGS) ; do \
3168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3169 done; \
3170 echo "Doing install-info in ash" ; \
3171 (cd $(HOST_SUBDIR)/ash && \
3172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3174 "RANLIB=$${RANLIB}" \
3175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3176 install-info) \
3177 || exit 1
3179 @endif ash
3181 .PHONY: maybe-install-html-ash install-html-ash
3182 maybe-install-html-ash:
3183 @if ash
3184 maybe-install-html-ash: install-html-ash
3186 install-html-ash: \
3187 configure-ash \
3188 html-ash
3189 @: $(MAKE); $(unstage)
3190 @[ -f ./ash/Makefile ] || exit 0; \
3191 r=`${PWD_COMMAND}`; export r; \
3192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3193 $(HOST_EXPORTS) \
3194 for flag in $(EXTRA_HOST_FLAGS) ; do \
3195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3196 done; \
3197 echo "Doing install-html in ash" ; \
3198 (cd $(HOST_SUBDIR)/ash && \
3199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3201 "RANLIB=$${RANLIB}" \
3202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3203 install-html) \
3204 || exit 1
3206 @endif ash
3208 .PHONY: maybe-installcheck-ash installcheck-ash
3209 maybe-installcheck-ash:
3210 @if ash
3211 maybe-installcheck-ash: installcheck-ash
3213 installcheck-ash: \
3214 configure-ash
3215 @: $(MAKE); $(unstage)
3216 @[ -f ./ash/Makefile ] || exit 0; \
3217 r=`${PWD_COMMAND}`; export r; \
3218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3219 $(HOST_EXPORTS) \
3220 for flag in $(EXTRA_HOST_FLAGS) ; do \
3221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3222 done; \
3223 echo "Doing installcheck in ash" ; \
3224 (cd $(HOST_SUBDIR)/ash && \
3225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3227 "RANLIB=$${RANLIB}" \
3228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3229 installcheck) \
3230 || exit 1
3232 @endif ash
3234 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
3235 maybe-mostlyclean-ash:
3236 @if ash
3237 maybe-mostlyclean-ash: mostlyclean-ash
3239 mostlyclean-ash:
3240 @: $(MAKE); $(unstage)
3241 @[ -f ./ash/Makefile ] || exit 0; \
3242 r=`${PWD_COMMAND}`; export r; \
3243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3244 $(HOST_EXPORTS) \
3245 for flag in $(EXTRA_HOST_FLAGS) ; do \
3246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3247 done; \
3248 echo "Doing mostlyclean in ash" ; \
3249 (cd $(HOST_SUBDIR)/ash && \
3250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3252 "RANLIB=$${RANLIB}" \
3253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3254 mostlyclean) \
3255 || exit 1
3257 @endif ash
3259 .PHONY: maybe-clean-ash clean-ash
3260 maybe-clean-ash:
3261 @if ash
3262 maybe-clean-ash: clean-ash
3264 clean-ash:
3265 @: $(MAKE); $(unstage)
3266 @[ -f ./ash/Makefile ] || exit 0; \
3267 r=`${PWD_COMMAND}`; export r; \
3268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3269 $(HOST_EXPORTS) \
3270 for flag in $(EXTRA_HOST_FLAGS) ; do \
3271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3272 done; \
3273 echo "Doing clean in ash" ; \
3274 (cd $(HOST_SUBDIR)/ash && \
3275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3277 "RANLIB=$${RANLIB}" \
3278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3279 clean) \
3280 || exit 1
3282 @endif ash
3284 .PHONY: maybe-distclean-ash distclean-ash
3285 maybe-distclean-ash:
3286 @if ash
3287 maybe-distclean-ash: distclean-ash
3289 distclean-ash:
3290 @: $(MAKE); $(unstage)
3291 @[ -f ./ash/Makefile ] || exit 0; \
3292 r=`${PWD_COMMAND}`; export r; \
3293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3294 $(HOST_EXPORTS) \
3295 for flag in $(EXTRA_HOST_FLAGS) ; do \
3296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3297 done; \
3298 echo "Doing distclean in ash" ; \
3299 (cd $(HOST_SUBDIR)/ash && \
3300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3302 "RANLIB=$${RANLIB}" \
3303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3304 distclean) \
3305 || exit 1
3307 @endif ash
3309 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
3310 maybe-maintainer-clean-ash:
3311 @if ash
3312 maybe-maintainer-clean-ash: maintainer-clean-ash
3314 maintainer-clean-ash:
3315 @: $(MAKE); $(unstage)
3316 @[ -f ./ash/Makefile ] || exit 0; \
3317 r=`${PWD_COMMAND}`; export r; \
3318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3319 $(HOST_EXPORTS) \
3320 for flag in $(EXTRA_HOST_FLAGS) ; do \
3321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3322 done; \
3323 echo "Doing maintainer-clean in ash" ; \
3324 (cd $(HOST_SUBDIR)/ash && \
3325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3327 "RANLIB=$${RANLIB}" \
3328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3329 maintainer-clean) \
3330 || exit 1
3332 @endif ash
3336 .PHONY: configure-autoconf maybe-configure-autoconf
3337 maybe-configure-autoconf:
3338 @if gcc-bootstrap
3339 configure-autoconf: stage_current
3340 @endif gcc-bootstrap
3341 @if autoconf
3342 maybe-configure-autoconf: configure-autoconf
3343 configure-autoconf:
3344 @: $(MAKE); $(unstage)
3345 @r=`${PWD_COMMAND}`; export r; \
3346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3347 test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
3348 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
3349 $(HOST_EXPORTS) \
3350 echo Configuring in $(HOST_SUBDIR)/autoconf; \
3351 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
3352 case $(srcdir) in \
3353 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3354 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
3355 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3356 esac; \
3357 srcdiroption="--srcdir=$${topdir}/autoconf"; \
3358 libsrcdir="$$s/autoconf"; \
3359 $(SHELL) $${libsrcdir}/configure \
3360 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3361 --target=${target_alias} $${srcdiroption} \
3362 || exit 1
3363 @endif autoconf
3369 .PHONY: all-autoconf maybe-all-autoconf
3370 maybe-all-autoconf:
3371 @if gcc-bootstrap
3372 all-autoconf: stage_current
3373 @endif gcc-bootstrap
3374 @if autoconf
3375 TARGET-autoconf=all
3376 maybe-all-autoconf: all-autoconf
3377 all-autoconf: configure-autoconf
3378 @: $(MAKE); $(unstage)
3379 @r=`${PWD_COMMAND}`; export r; \
3380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3381 $(HOST_EXPORTS) \
3382 (cd $(HOST_SUBDIR)/autoconf && \
3383 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
3384 @endif autoconf
3389 .PHONY: check-autoconf maybe-check-autoconf
3390 maybe-check-autoconf:
3391 @if autoconf
3392 maybe-check-autoconf: check-autoconf
3394 check-autoconf:
3395 @: $(MAKE); $(unstage)
3396 @r=`${PWD_COMMAND}`; export r; \
3397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3398 $(HOST_EXPORTS) \
3399 (cd $(HOST_SUBDIR)/autoconf && \
3400 $(MAKE) $(FLAGS_TO_PASS) check)
3402 @endif autoconf
3404 .PHONY: install-autoconf maybe-install-autoconf
3405 maybe-install-autoconf:
3406 @if autoconf
3407 maybe-install-autoconf: install-autoconf
3409 install-autoconf: installdirs
3410 @: $(MAKE); $(unstage)
3411 @r=`${PWD_COMMAND}`; export r; \
3412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3413 $(HOST_EXPORTS) \
3414 (cd $(HOST_SUBDIR)/autoconf && \
3415 $(MAKE) $(FLAGS_TO_PASS) install)
3417 @endif autoconf
3419 # Other targets (info, dvi, pdf, etc.)
3421 .PHONY: maybe-info-autoconf info-autoconf
3422 maybe-info-autoconf:
3423 @if autoconf
3424 maybe-info-autoconf: info-autoconf
3426 info-autoconf: \
3427 configure-autoconf
3428 @: $(MAKE); $(unstage)
3429 @[ -f ./autoconf/Makefile ] || exit 0; \
3430 r=`${PWD_COMMAND}`; export r; \
3431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3432 $(HOST_EXPORTS) \
3433 for flag in $(EXTRA_HOST_FLAGS) ; do \
3434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3435 done; \
3436 echo "Doing info in autoconf" ; \
3437 (cd $(HOST_SUBDIR)/autoconf && \
3438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3440 "RANLIB=$${RANLIB}" \
3441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3442 info) \
3443 || exit 1
3445 @endif autoconf
3447 .PHONY: maybe-dvi-autoconf dvi-autoconf
3448 maybe-dvi-autoconf:
3449 @if autoconf
3450 maybe-dvi-autoconf: dvi-autoconf
3452 dvi-autoconf: \
3453 configure-autoconf
3454 @: $(MAKE); $(unstage)
3455 @[ -f ./autoconf/Makefile ] || exit 0; \
3456 r=`${PWD_COMMAND}`; export r; \
3457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3458 $(HOST_EXPORTS) \
3459 for flag in $(EXTRA_HOST_FLAGS) ; do \
3460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3461 done; \
3462 echo "Doing dvi in autoconf" ; \
3463 (cd $(HOST_SUBDIR)/autoconf && \
3464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3466 "RANLIB=$${RANLIB}" \
3467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3468 dvi) \
3469 || exit 1
3471 @endif autoconf
3473 .PHONY: maybe-pdf-autoconf pdf-autoconf
3474 maybe-pdf-autoconf:
3475 @if autoconf
3476 maybe-pdf-autoconf: pdf-autoconf
3478 pdf-autoconf: \
3479 configure-autoconf
3480 @: $(MAKE); $(unstage)
3481 @[ -f ./autoconf/Makefile ] || exit 0; \
3482 r=`${PWD_COMMAND}`; export r; \
3483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3484 $(HOST_EXPORTS) \
3485 for flag in $(EXTRA_HOST_FLAGS) ; do \
3486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3487 done; \
3488 echo "Doing pdf in autoconf" ; \
3489 (cd $(HOST_SUBDIR)/autoconf && \
3490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3492 "RANLIB=$${RANLIB}" \
3493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3494 pdf) \
3495 || exit 1
3497 @endif autoconf
3499 .PHONY: maybe-html-autoconf html-autoconf
3500 maybe-html-autoconf:
3501 @if autoconf
3502 maybe-html-autoconf: html-autoconf
3504 html-autoconf: \
3505 configure-autoconf
3506 @: $(MAKE); $(unstage)
3507 @[ -f ./autoconf/Makefile ] || exit 0; \
3508 r=`${PWD_COMMAND}`; export r; \
3509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3510 $(HOST_EXPORTS) \
3511 for flag in $(EXTRA_HOST_FLAGS) ; do \
3512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3513 done; \
3514 echo "Doing html in autoconf" ; \
3515 (cd $(HOST_SUBDIR)/autoconf && \
3516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3518 "RANLIB=$${RANLIB}" \
3519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3520 html) \
3521 || exit 1
3523 @endif autoconf
3525 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3526 maybe-TAGS-autoconf:
3527 @if autoconf
3528 maybe-TAGS-autoconf: TAGS-autoconf
3530 TAGS-autoconf: \
3531 configure-autoconf
3532 @: $(MAKE); $(unstage)
3533 @[ -f ./autoconf/Makefile ] || exit 0; \
3534 r=`${PWD_COMMAND}`; export r; \
3535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3536 $(HOST_EXPORTS) \
3537 for flag in $(EXTRA_HOST_FLAGS) ; do \
3538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3539 done; \
3540 echo "Doing TAGS in autoconf" ; \
3541 (cd $(HOST_SUBDIR)/autoconf && \
3542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3544 "RANLIB=$${RANLIB}" \
3545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3546 TAGS) \
3547 || exit 1
3549 @endif autoconf
3551 .PHONY: maybe-install-info-autoconf install-info-autoconf
3552 maybe-install-info-autoconf:
3553 @if autoconf
3554 maybe-install-info-autoconf: install-info-autoconf
3556 install-info-autoconf: \
3557 configure-autoconf \
3558 info-autoconf
3559 @: $(MAKE); $(unstage)
3560 @[ -f ./autoconf/Makefile ] || exit 0; \
3561 r=`${PWD_COMMAND}`; export r; \
3562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3563 $(HOST_EXPORTS) \
3564 for flag in $(EXTRA_HOST_FLAGS) ; do \
3565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3566 done; \
3567 echo "Doing install-info in autoconf" ; \
3568 (cd $(HOST_SUBDIR)/autoconf && \
3569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3571 "RANLIB=$${RANLIB}" \
3572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3573 install-info) \
3574 || exit 1
3576 @endif autoconf
3578 .PHONY: maybe-install-html-autoconf install-html-autoconf
3579 maybe-install-html-autoconf:
3580 @if autoconf
3581 maybe-install-html-autoconf: install-html-autoconf
3583 install-html-autoconf: \
3584 configure-autoconf \
3585 html-autoconf
3586 @: $(MAKE); $(unstage)
3587 @[ -f ./autoconf/Makefile ] || exit 0; \
3588 r=`${PWD_COMMAND}`; export r; \
3589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3590 $(HOST_EXPORTS) \
3591 for flag in $(EXTRA_HOST_FLAGS) ; do \
3592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3593 done; \
3594 echo "Doing install-html in autoconf" ; \
3595 (cd $(HOST_SUBDIR)/autoconf && \
3596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3598 "RANLIB=$${RANLIB}" \
3599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3600 install-html) \
3601 || exit 1
3603 @endif autoconf
3605 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3606 maybe-installcheck-autoconf:
3607 @if autoconf
3608 maybe-installcheck-autoconf: installcheck-autoconf
3610 installcheck-autoconf: \
3611 configure-autoconf
3612 @: $(MAKE); $(unstage)
3613 @[ -f ./autoconf/Makefile ] || exit 0; \
3614 r=`${PWD_COMMAND}`; export r; \
3615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3616 $(HOST_EXPORTS) \
3617 for flag in $(EXTRA_HOST_FLAGS) ; do \
3618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3619 done; \
3620 echo "Doing installcheck in autoconf" ; \
3621 (cd $(HOST_SUBDIR)/autoconf && \
3622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3624 "RANLIB=$${RANLIB}" \
3625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3626 installcheck) \
3627 || exit 1
3629 @endif autoconf
3631 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3632 maybe-mostlyclean-autoconf:
3633 @if autoconf
3634 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3636 mostlyclean-autoconf:
3637 @: $(MAKE); $(unstage)
3638 @[ -f ./autoconf/Makefile ] || exit 0; \
3639 r=`${PWD_COMMAND}`; export r; \
3640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3641 $(HOST_EXPORTS) \
3642 for flag in $(EXTRA_HOST_FLAGS) ; do \
3643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3644 done; \
3645 echo "Doing mostlyclean in autoconf" ; \
3646 (cd $(HOST_SUBDIR)/autoconf && \
3647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3649 "RANLIB=$${RANLIB}" \
3650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3651 mostlyclean) \
3652 || exit 1
3654 @endif autoconf
3656 .PHONY: maybe-clean-autoconf clean-autoconf
3657 maybe-clean-autoconf:
3658 @if autoconf
3659 maybe-clean-autoconf: clean-autoconf
3661 clean-autoconf:
3662 @: $(MAKE); $(unstage)
3663 @[ -f ./autoconf/Makefile ] || exit 0; \
3664 r=`${PWD_COMMAND}`; export r; \
3665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3666 $(HOST_EXPORTS) \
3667 for flag in $(EXTRA_HOST_FLAGS) ; do \
3668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3669 done; \
3670 echo "Doing clean in autoconf" ; \
3671 (cd $(HOST_SUBDIR)/autoconf && \
3672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3674 "RANLIB=$${RANLIB}" \
3675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3676 clean) \
3677 || exit 1
3679 @endif autoconf
3681 .PHONY: maybe-distclean-autoconf distclean-autoconf
3682 maybe-distclean-autoconf:
3683 @if autoconf
3684 maybe-distclean-autoconf: distclean-autoconf
3686 distclean-autoconf:
3687 @: $(MAKE); $(unstage)
3688 @[ -f ./autoconf/Makefile ] || exit 0; \
3689 r=`${PWD_COMMAND}`; export r; \
3690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3691 $(HOST_EXPORTS) \
3692 for flag in $(EXTRA_HOST_FLAGS) ; do \
3693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3694 done; \
3695 echo "Doing distclean in autoconf" ; \
3696 (cd $(HOST_SUBDIR)/autoconf && \
3697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3699 "RANLIB=$${RANLIB}" \
3700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3701 distclean) \
3702 || exit 1
3704 @endif autoconf
3706 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3707 maybe-maintainer-clean-autoconf:
3708 @if autoconf
3709 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3711 maintainer-clean-autoconf:
3712 @: $(MAKE); $(unstage)
3713 @[ -f ./autoconf/Makefile ] || exit 0; \
3714 r=`${PWD_COMMAND}`; export r; \
3715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3716 $(HOST_EXPORTS) \
3717 for flag in $(EXTRA_HOST_FLAGS) ; do \
3718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3719 done; \
3720 echo "Doing maintainer-clean in autoconf" ; \
3721 (cd $(HOST_SUBDIR)/autoconf && \
3722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3724 "RANLIB=$${RANLIB}" \
3725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3726 maintainer-clean) \
3727 || exit 1
3729 @endif autoconf
3733 .PHONY: configure-automake maybe-configure-automake
3734 maybe-configure-automake:
3735 @if gcc-bootstrap
3736 configure-automake: stage_current
3737 @endif gcc-bootstrap
3738 @if automake
3739 maybe-configure-automake: configure-automake
3740 configure-automake:
3741 @: $(MAKE); $(unstage)
3742 @r=`${PWD_COMMAND}`; export r; \
3743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3744 test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3745 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3746 $(HOST_EXPORTS) \
3747 echo Configuring in $(HOST_SUBDIR)/automake; \
3748 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3749 case $(srcdir) in \
3750 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3751 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3752 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3753 esac; \
3754 srcdiroption="--srcdir=$${topdir}/automake"; \
3755 libsrcdir="$$s/automake"; \
3756 $(SHELL) $${libsrcdir}/configure \
3757 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3758 --target=${target_alias} $${srcdiroption} \
3759 || exit 1
3760 @endif automake
3766 .PHONY: all-automake maybe-all-automake
3767 maybe-all-automake:
3768 @if gcc-bootstrap
3769 all-automake: stage_current
3770 @endif gcc-bootstrap
3771 @if automake
3772 TARGET-automake=all
3773 maybe-all-automake: all-automake
3774 all-automake: configure-automake
3775 @: $(MAKE); $(unstage)
3776 @r=`${PWD_COMMAND}`; export r; \
3777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3778 $(HOST_EXPORTS) \
3779 (cd $(HOST_SUBDIR)/automake && \
3780 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3781 @endif automake
3786 .PHONY: check-automake maybe-check-automake
3787 maybe-check-automake:
3788 @if automake
3789 maybe-check-automake: check-automake
3791 check-automake:
3792 @: $(MAKE); $(unstage)
3793 @r=`${PWD_COMMAND}`; export r; \
3794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3795 $(HOST_EXPORTS) \
3796 (cd $(HOST_SUBDIR)/automake && \
3797 $(MAKE) $(FLAGS_TO_PASS) check)
3799 @endif automake
3801 .PHONY: install-automake maybe-install-automake
3802 maybe-install-automake:
3803 @if automake
3804 maybe-install-automake: install-automake
3806 install-automake: installdirs
3807 @: $(MAKE); $(unstage)
3808 @r=`${PWD_COMMAND}`; export r; \
3809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3810 $(HOST_EXPORTS) \
3811 (cd $(HOST_SUBDIR)/automake && \
3812 $(MAKE) $(FLAGS_TO_PASS) install)
3814 @endif automake
3816 # Other targets (info, dvi, pdf, etc.)
3818 .PHONY: maybe-info-automake info-automake
3819 maybe-info-automake:
3820 @if automake
3821 maybe-info-automake: info-automake
3823 info-automake: \
3824 configure-automake
3825 @: $(MAKE); $(unstage)
3826 @[ -f ./automake/Makefile ] || exit 0; \
3827 r=`${PWD_COMMAND}`; export r; \
3828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3829 $(HOST_EXPORTS) \
3830 for flag in $(EXTRA_HOST_FLAGS) ; do \
3831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3832 done; \
3833 echo "Doing info in automake" ; \
3834 (cd $(HOST_SUBDIR)/automake && \
3835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3837 "RANLIB=$${RANLIB}" \
3838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3839 info) \
3840 || exit 1
3842 @endif automake
3844 .PHONY: maybe-dvi-automake dvi-automake
3845 maybe-dvi-automake:
3846 @if automake
3847 maybe-dvi-automake: dvi-automake
3849 dvi-automake: \
3850 configure-automake
3851 @: $(MAKE); $(unstage)
3852 @[ -f ./automake/Makefile ] || exit 0; \
3853 r=`${PWD_COMMAND}`; export r; \
3854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3855 $(HOST_EXPORTS) \
3856 for flag in $(EXTRA_HOST_FLAGS) ; do \
3857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3858 done; \
3859 echo "Doing dvi in automake" ; \
3860 (cd $(HOST_SUBDIR)/automake && \
3861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3863 "RANLIB=$${RANLIB}" \
3864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3865 dvi) \
3866 || exit 1
3868 @endif automake
3870 .PHONY: maybe-pdf-automake pdf-automake
3871 maybe-pdf-automake:
3872 @if automake
3873 maybe-pdf-automake: pdf-automake
3875 pdf-automake: \
3876 configure-automake
3877 @: $(MAKE); $(unstage)
3878 @[ -f ./automake/Makefile ] || exit 0; \
3879 r=`${PWD_COMMAND}`; export r; \
3880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3881 $(HOST_EXPORTS) \
3882 for flag in $(EXTRA_HOST_FLAGS) ; do \
3883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3884 done; \
3885 echo "Doing pdf in automake" ; \
3886 (cd $(HOST_SUBDIR)/automake && \
3887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3889 "RANLIB=$${RANLIB}" \
3890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3891 pdf) \
3892 || exit 1
3894 @endif automake
3896 .PHONY: maybe-html-automake html-automake
3897 maybe-html-automake:
3898 @if automake
3899 maybe-html-automake: html-automake
3901 html-automake: \
3902 configure-automake
3903 @: $(MAKE); $(unstage)
3904 @[ -f ./automake/Makefile ] || exit 0; \
3905 r=`${PWD_COMMAND}`; export r; \
3906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3907 $(HOST_EXPORTS) \
3908 for flag in $(EXTRA_HOST_FLAGS) ; do \
3909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3910 done; \
3911 echo "Doing html in automake" ; \
3912 (cd $(HOST_SUBDIR)/automake && \
3913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3915 "RANLIB=$${RANLIB}" \
3916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3917 html) \
3918 || exit 1
3920 @endif automake
3922 .PHONY: maybe-TAGS-automake TAGS-automake
3923 maybe-TAGS-automake:
3924 @if automake
3925 maybe-TAGS-automake: TAGS-automake
3927 TAGS-automake: \
3928 configure-automake
3929 @: $(MAKE); $(unstage)
3930 @[ -f ./automake/Makefile ] || exit 0; \
3931 r=`${PWD_COMMAND}`; export r; \
3932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3933 $(HOST_EXPORTS) \
3934 for flag in $(EXTRA_HOST_FLAGS) ; do \
3935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3936 done; \
3937 echo "Doing TAGS in automake" ; \
3938 (cd $(HOST_SUBDIR)/automake && \
3939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3941 "RANLIB=$${RANLIB}" \
3942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3943 TAGS) \
3944 || exit 1
3946 @endif automake
3948 .PHONY: maybe-install-info-automake install-info-automake
3949 maybe-install-info-automake:
3950 @if automake
3951 maybe-install-info-automake: install-info-automake
3953 install-info-automake: \
3954 configure-automake \
3955 info-automake
3956 @: $(MAKE); $(unstage)
3957 @[ -f ./automake/Makefile ] || exit 0; \
3958 r=`${PWD_COMMAND}`; export r; \
3959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3960 $(HOST_EXPORTS) \
3961 for flag in $(EXTRA_HOST_FLAGS) ; do \
3962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3963 done; \
3964 echo "Doing install-info in automake" ; \
3965 (cd $(HOST_SUBDIR)/automake && \
3966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3968 "RANLIB=$${RANLIB}" \
3969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3970 install-info) \
3971 || exit 1
3973 @endif automake
3975 .PHONY: maybe-install-html-automake install-html-automake
3976 maybe-install-html-automake:
3977 @if automake
3978 maybe-install-html-automake: install-html-automake
3980 install-html-automake: \
3981 configure-automake \
3982 html-automake
3983 @: $(MAKE); $(unstage)
3984 @[ -f ./automake/Makefile ] || exit 0; \
3985 r=`${PWD_COMMAND}`; export r; \
3986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3987 $(HOST_EXPORTS) \
3988 for flag in $(EXTRA_HOST_FLAGS) ; do \
3989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3990 done; \
3991 echo "Doing install-html in automake" ; \
3992 (cd $(HOST_SUBDIR)/automake && \
3993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3995 "RANLIB=$${RANLIB}" \
3996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3997 install-html) \
3998 || exit 1
4000 @endif automake
4002 .PHONY: maybe-installcheck-automake installcheck-automake
4003 maybe-installcheck-automake:
4004 @if automake
4005 maybe-installcheck-automake: installcheck-automake
4007 installcheck-automake: \
4008 configure-automake
4009 @: $(MAKE); $(unstage)
4010 @[ -f ./automake/Makefile ] || exit 0; \
4011 r=`${PWD_COMMAND}`; export r; \
4012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4013 $(HOST_EXPORTS) \
4014 for flag in $(EXTRA_HOST_FLAGS) ; do \
4015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4016 done; \
4017 echo "Doing installcheck in automake" ; \
4018 (cd $(HOST_SUBDIR)/automake && \
4019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4021 "RANLIB=$${RANLIB}" \
4022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4023 installcheck) \
4024 || exit 1
4026 @endif automake
4028 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
4029 maybe-mostlyclean-automake:
4030 @if automake
4031 maybe-mostlyclean-automake: mostlyclean-automake
4033 mostlyclean-automake:
4034 @: $(MAKE); $(unstage)
4035 @[ -f ./automake/Makefile ] || exit 0; \
4036 r=`${PWD_COMMAND}`; export r; \
4037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4038 $(HOST_EXPORTS) \
4039 for flag in $(EXTRA_HOST_FLAGS) ; do \
4040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4041 done; \
4042 echo "Doing mostlyclean in automake" ; \
4043 (cd $(HOST_SUBDIR)/automake && \
4044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4046 "RANLIB=$${RANLIB}" \
4047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4048 mostlyclean) \
4049 || exit 1
4051 @endif automake
4053 .PHONY: maybe-clean-automake clean-automake
4054 maybe-clean-automake:
4055 @if automake
4056 maybe-clean-automake: clean-automake
4058 clean-automake:
4059 @: $(MAKE); $(unstage)
4060 @[ -f ./automake/Makefile ] || exit 0; \
4061 r=`${PWD_COMMAND}`; export r; \
4062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4063 $(HOST_EXPORTS) \
4064 for flag in $(EXTRA_HOST_FLAGS) ; do \
4065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4066 done; \
4067 echo "Doing clean in automake" ; \
4068 (cd $(HOST_SUBDIR)/automake && \
4069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4071 "RANLIB=$${RANLIB}" \
4072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4073 clean) \
4074 || exit 1
4076 @endif automake
4078 .PHONY: maybe-distclean-automake distclean-automake
4079 maybe-distclean-automake:
4080 @if automake
4081 maybe-distclean-automake: distclean-automake
4083 distclean-automake:
4084 @: $(MAKE); $(unstage)
4085 @[ -f ./automake/Makefile ] || exit 0; \
4086 r=`${PWD_COMMAND}`; export r; \
4087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4088 $(HOST_EXPORTS) \
4089 for flag in $(EXTRA_HOST_FLAGS) ; do \
4090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4091 done; \
4092 echo "Doing distclean in automake" ; \
4093 (cd $(HOST_SUBDIR)/automake && \
4094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4096 "RANLIB=$${RANLIB}" \
4097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4098 distclean) \
4099 || exit 1
4101 @endif automake
4103 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
4104 maybe-maintainer-clean-automake:
4105 @if automake
4106 maybe-maintainer-clean-automake: maintainer-clean-automake
4108 maintainer-clean-automake:
4109 @: $(MAKE); $(unstage)
4110 @[ -f ./automake/Makefile ] || exit 0; \
4111 r=`${PWD_COMMAND}`; export r; \
4112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4113 $(HOST_EXPORTS) \
4114 for flag in $(EXTRA_HOST_FLAGS) ; do \
4115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4116 done; \
4117 echo "Doing maintainer-clean in automake" ; \
4118 (cd $(HOST_SUBDIR)/automake && \
4119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4121 "RANLIB=$${RANLIB}" \
4122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4123 maintainer-clean) \
4124 || exit 1
4126 @endif automake
4130 .PHONY: configure-bash maybe-configure-bash
4131 maybe-configure-bash:
4132 @if gcc-bootstrap
4133 configure-bash: stage_current
4134 @endif gcc-bootstrap
4135 @if bash
4136 maybe-configure-bash: configure-bash
4137 configure-bash:
4138 @: $(MAKE); $(unstage)
4139 @r=`${PWD_COMMAND}`; export r; \
4140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4141 test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
4142 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
4143 $(HOST_EXPORTS) \
4144 echo Configuring in $(HOST_SUBDIR)/bash; \
4145 cd "$(HOST_SUBDIR)/bash" || exit 1; \
4146 case $(srcdir) in \
4147 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4148 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
4149 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4150 esac; \
4151 srcdiroption="--srcdir=$${topdir}/bash"; \
4152 libsrcdir="$$s/bash"; \
4153 $(SHELL) $${libsrcdir}/configure \
4154 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4155 --target=${target_alias} $${srcdiroption} \
4156 || exit 1
4157 @endif bash
4163 .PHONY: all-bash maybe-all-bash
4164 maybe-all-bash:
4165 @if gcc-bootstrap
4166 all-bash: stage_current
4167 @endif gcc-bootstrap
4168 @if bash
4169 TARGET-bash=all
4170 maybe-all-bash: all-bash
4171 all-bash: configure-bash
4172 @: $(MAKE); $(unstage)
4173 @r=`${PWD_COMMAND}`; export r; \
4174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4175 $(HOST_EXPORTS) \
4176 (cd $(HOST_SUBDIR)/bash && \
4177 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
4178 @endif bash
4183 .PHONY: check-bash maybe-check-bash
4184 maybe-check-bash:
4185 @if bash
4186 maybe-check-bash: check-bash
4188 check-bash:
4189 @: $(MAKE); $(unstage)
4190 @r=`${PWD_COMMAND}`; export r; \
4191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4192 $(HOST_EXPORTS) \
4193 (cd $(HOST_SUBDIR)/bash && \
4194 $(MAKE) $(FLAGS_TO_PASS) check)
4196 @endif bash
4198 .PHONY: install-bash maybe-install-bash
4199 maybe-install-bash:
4200 @if bash
4201 maybe-install-bash: install-bash
4203 install-bash: installdirs
4204 @: $(MAKE); $(unstage)
4205 @r=`${PWD_COMMAND}`; export r; \
4206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4207 $(HOST_EXPORTS) \
4208 (cd $(HOST_SUBDIR)/bash && \
4209 $(MAKE) $(FLAGS_TO_PASS) install)
4211 @endif bash
4213 # Other targets (info, dvi, pdf, etc.)
4215 .PHONY: maybe-info-bash info-bash
4216 maybe-info-bash:
4217 @if bash
4218 maybe-info-bash: info-bash
4220 info-bash: \
4221 configure-bash
4222 @: $(MAKE); $(unstage)
4223 @[ -f ./bash/Makefile ] || exit 0; \
4224 r=`${PWD_COMMAND}`; export r; \
4225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4226 $(HOST_EXPORTS) \
4227 for flag in $(EXTRA_HOST_FLAGS) ; do \
4228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4229 done; \
4230 echo "Doing info in bash" ; \
4231 (cd $(HOST_SUBDIR)/bash && \
4232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4234 "RANLIB=$${RANLIB}" \
4235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4236 info) \
4237 || exit 1
4239 @endif bash
4241 .PHONY: maybe-dvi-bash dvi-bash
4242 maybe-dvi-bash:
4243 @if bash
4244 maybe-dvi-bash: dvi-bash
4246 dvi-bash: \
4247 configure-bash
4248 @: $(MAKE); $(unstage)
4249 @[ -f ./bash/Makefile ] || exit 0; \
4250 r=`${PWD_COMMAND}`; export r; \
4251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4252 $(HOST_EXPORTS) \
4253 for flag in $(EXTRA_HOST_FLAGS) ; do \
4254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4255 done; \
4256 echo "Doing dvi in bash" ; \
4257 (cd $(HOST_SUBDIR)/bash && \
4258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4260 "RANLIB=$${RANLIB}" \
4261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4262 dvi) \
4263 || exit 1
4265 @endif bash
4267 .PHONY: maybe-pdf-bash pdf-bash
4268 maybe-pdf-bash:
4269 @if bash
4270 maybe-pdf-bash: pdf-bash
4272 pdf-bash: \
4273 configure-bash
4274 @: $(MAKE); $(unstage)
4275 @[ -f ./bash/Makefile ] || exit 0; \
4276 r=`${PWD_COMMAND}`; export r; \
4277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4278 $(HOST_EXPORTS) \
4279 for flag in $(EXTRA_HOST_FLAGS) ; do \
4280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4281 done; \
4282 echo "Doing pdf in bash" ; \
4283 (cd $(HOST_SUBDIR)/bash && \
4284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4286 "RANLIB=$${RANLIB}" \
4287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4288 pdf) \
4289 || exit 1
4291 @endif bash
4293 .PHONY: maybe-html-bash html-bash
4294 maybe-html-bash:
4295 @if bash
4296 maybe-html-bash: html-bash
4298 html-bash: \
4299 configure-bash
4300 @: $(MAKE); $(unstage)
4301 @[ -f ./bash/Makefile ] || exit 0; \
4302 r=`${PWD_COMMAND}`; export r; \
4303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4304 $(HOST_EXPORTS) \
4305 for flag in $(EXTRA_HOST_FLAGS) ; do \
4306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4307 done; \
4308 echo "Doing html in bash" ; \
4309 (cd $(HOST_SUBDIR)/bash && \
4310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4312 "RANLIB=$${RANLIB}" \
4313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4314 html) \
4315 || exit 1
4317 @endif bash
4319 .PHONY: maybe-TAGS-bash TAGS-bash
4320 maybe-TAGS-bash:
4321 @if bash
4322 maybe-TAGS-bash: TAGS-bash
4324 TAGS-bash: \
4325 configure-bash
4326 @: $(MAKE); $(unstage)
4327 @[ -f ./bash/Makefile ] || exit 0; \
4328 r=`${PWD_COMMAND}`; export r; \
4329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4330 $(HOST_EXPORTS) \
4331 for flag in $(EXTRA_HOST_FLAGS) ; do \
4332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4333 done; \
4334 echo "Doing TAGS in bash" ; \
4335 (cd $(HOST_SUBDIR)/bash && \
4336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4338 "RANLIB=$${RANLIB}" \
4339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4340 TAGS) \
4341 || exit 1
4343 @endif bash
4345 .PHONY: maybe-install-info-bash install-info-bash
4346 maybe-install-info-bash:
4347 @if bash
4348 maybe-install-info-bash: install-info-bash
4350 install-info-bash: \
4351 configure-bash \
4352 info-bash
4353 @: $(MAKE); $(unstage)
4354 @[ -f ./bash/Makefile ] || exit 0; \
4355 r=`${PWD_COMMAND}`; export r; \
4356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4357 $(HOST_EXPORTS) \
4358 for flag in $(EXTRA_HOST_FLAGS) ; do \
4359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4360 done; \
4361 echo "Doing install-info in bash" ; \
4362 (cd $(HOST_SUBDIR)/bash && \
4363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4365 "RANLIB=$${RANLIB}" \
4366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4367 install-info) \
4368 || exit 1
4370 @endif bash
4372 .PHONY: maybe-install-html-bash install-html-bash
4373 maybe-install-html-bash:
4374 @if bash
4375 maybe-install-html-bash: install-html-bash
4377 install-html-bash: \
4378 configure-bash \
4379 html-bash
4380 @: $(MAKE); $(unstage)
4381 @[ -f ./bash/Makefile ] || exit 0; \
4382 r=`${PWD_COMMAND}`; export r; \
4383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4384 $(HOST_EXPORTS) \
4385 for flag in $(EXTRA_HOST_FLAGS) ; do \
4386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4387 done; \
4388 echo "Doing install-html in bash" ; \
4389 (cd $(HOST_SUBDIR)/bash && \
4390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4392 "RANLIB=$${RANLIB}" \
4393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4394 install-html) \
4395 || exit 1
4397 @endif bash
4399 .PHONY: maybe-installcheck-bash installcheck-bash
4400 maybe-installcheck-bash:
4401 @if bash
4402 maybe-installcheck-bash: installcheck-bash
4404 installcheck-bash: \
4405 configure-bash
4406 @: $(MAKE); $(unstage)
4407 @[ -f ./bash/Makefile ] || exit 0; \
4408 r=`${PWD_COMMAND}`; export r; \
4409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4410 $(HOST_EXPORTS) \
4411 for flag in $(EXTRA_HOST_FLAGS) ; do \
4412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4413 done; \
4414 echo "Doing installcheck in bash" ; \
4415 (cd $(HOST_SUBDIR)/bash && \
4416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4418 "RANLIB=$${RANLIB}" \
4419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4420 installcheck) \
4421 || exit 1
4423 @endif bash
4425 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
4426 maybe-mostlyclean-bash:
4427 @if bash
4428 maybe-mostlyclean-bash: mostlyclean-bash
4430 mostlyclean-bash:
4431 @: $(MAKE); $(unstage)
4432 @[ -f ./bash/Makefile ] || exit 0; \
4433 r=`${PWD_COMMAND}`; export r; \
4434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4435 $(HOST_EXPORTS) \
4436 for flag in $(EXTRA_HOST_FLAGS) ; do \
4437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4438 done; \
4439 echo "Doing mostlyclean in bash" ; \
4440 (cd $(HOST_SUBDIR)/bash && \
4441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4443 "RANLIB=$${RANLIB}" \
4444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4445 mostlyclean) \
4446 || exit 1
4448 @endif bash
4450 .PHONY: maybe-clean-bash clean-bash
4451 maybe-clean-bash:
4452 @if bash
4453 maybe-clean-bash: clean-bash
4455 clean-bash:
4456 @: $(MAKE); $(unstage)
4457 @[ -f ./bash/Makefile ] || exit 0; \
4458 r=`${PWD_COMMAND}`; export r; \
4459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4460 $(HOST_EXPORTS) \
4461 for flag in $(EXTRA_HOST_FLAGS) ; do \
4462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4463 done; \
4464 echo "Doing clean in bash" ; \
4465 (cd $(HOST_SUBDIR)/bash && \
4466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4468 "RANLIB=$${RANLIB}" \
4469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4470 clean) \
4471 || exit 1
4473 @endif bash
4475 .PHONY: maybe-distclean-bash distclean-bash
4476 maybe-distclean-bash:
4477 @if bash
4478 maybe-distclean-bash: distclean-bash
4480 distclean-bash:
4481 @: $(MAKE); $(unstage)
4482 @[ -f ./bash/Makefile ] || exit 0; \
4483 r=`${PWD_COMMAND}`; export r; \
4484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4485 $(HOST_EXPORTS) \
4486 for flag in $(EXTRA_HOST_FLAGS) ; do \
4487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4488 done; \
4489 echo "Doing distclean in bash" ; \
4490 (cd $(HOST_SUBDIR)/bash && \
4491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4493 "RANLIB=$${RANLIB}" \
4494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4495 distclean) \
4496 || exit 1
4498 @endif bash
4500 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
4501 maybe-maintainer-clean-bash:
4502 @if bash
4503 maybe-maintainer-clean-bash: maintainer-clean-bash
4505 maintainer-clean-bash:
4506 @: $(MAKE); $(unstage)
4507 @[ -f ./bash/Makefile ] || exit 0; \
4508 r=`${PWD_COMMAND}`; export r; \
4509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4510 $(HOST_EXPORTS) \
4511 for flag in $(EXTRA_HOST_FLAGS) ; do \
4512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4513 done; \
4514 echo "Doing maintainer-clean in bash" ; \
4515 (cd $(HOST_SUBDIR)/bash && \
4516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4518 "RANLIB=$${RANLIB}" \
4519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4520 maintainer-clean) \
4521 || exit 1
4523 @endif bash
4527 .PHONY: configure-bfd maybe-configure-bfd
4528 maybe-configure-bfd:
4529 @if gcc-bootstrap
4530 configure-bfd: stage_current
4531 @endif gcc-bootstrap
4532 @if bfd
4533 maybe-configure-bfd: configure-bfd
4534 configure-bfd:
4535 @r=`${PWD_COMMAND}`; export r; \
4536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4537 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4538 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4539 $(HOST_EXPORTS) \
4540 echo Configuring in $(HOST_SUBDIR)/bfd; \
4541 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
4542 case $(srcdir) in \
4543 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4544 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4545 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4546 esac; \
4547 srcdiroption="--srcdir=$${topdir}/bfd"; \
4548 libsrcdir="$$s/bfd"; \
4549 $(SHELL) $${libsrcdir}/configure \
4550 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4551 --target=${target_alias} $${srcdiroption} \
4552 || exit 1
4553 @endif bfd
4557 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
4558 maybe-configure-stage1-bfd:
4559 @if bfd-bootstrap
4560 maybe-configure-stage1-bfd: configure-stage1-bfd
4561 configure-stage1-bfd:
4562 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4563 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4564 @r=`${PWD_COMMAND}`; export r; \
4565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4566 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4567 $(HOST_EXPORTS) \
4568 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
4569 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4570 cd $(HOST_SUBDIR)/bfd || exit 1; \
4571 case $(srcdir) in \
4572 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4573 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4574 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4575 esac; \
4576 srcdiroption="--srcdir=$${topdir}/bfd"; \
4577 libsrcdir="$$s/bfd"; \
4578 $(SHELL) $${libsrcdir}/configure \
4579 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4580 --target=${target_alias} $${srcdiroption} \
4582 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4583 @endif bfd-bootstrap
4585 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
4586 maybe-configure-stage2-bfd:
4587 @if bfd-bootstrap
4588 maybe-configure-stage2-bfd: configure-stage2-bfd
4589 configure-stage2-bfd:
4590 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4591 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4592 @r=`${PWD_COMMAND}`; export r; \
4593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4594 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4595 $(HOST_EXPORTS) \
4596 $(POSTSTAGE1_HOST_EXPORTS) \
4597 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4598 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4599 cd $(HOST_SUBDIR)/bfd || exit 1; \
4600 case $(srcdir) in \
4601 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4602 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4603 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4604 esac; \
4605 srcdiroption="--srcdir=$${topdir}/bfd"; \
4606 libsrcdir="$$s/bfd"; \
4607 $(SHELL) $${libsrcdir}/configure \
4608 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4609 --target=${target_alias} $${srcdiroption} \
4610 --with-build-libsubdir=$(HOST_SUBDIR) \
4611 @stage2_werror_flag@
4612 @endif bfd-bootstrap
4614 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
4615 maybe-configure-stage3-bfd:
4616 @if bfd-bootstrap
4617 maybe-configure-stage3-bfd: configure-stage3-bfd
4618 configure-stage3-bfd:
4619 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4620 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4621 @r=`${PWD_COMMAND}`; export r; \
4622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4623 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4624 $(HOST_EXPORTS) \
4625 $(POSTSTAGE1_HOST_EXPORTS) \
4626 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4627 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4628 cd $(HOST_SUBDIR)/bfd || exit 1; \
4629 case $(srcdir) in \
4630 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4631 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4632 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4633 esac; \
4634 srcdiroption="--srcdir=$${topdir}/bfd"; \
4635 libsrcdir="$$s/bfd"; \
4636 $(SHELL) $${libsrcdir}/configure \
4637 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4638 --target=${target_alias} $${srcdiroption} \
4639 --with-build-libsubdir=$(HOST_SUBDIR) \
4640 @stage2_werror_flag@
4641 @endif bfd-bootstrap
4643 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4644 maybe-configure-stage4-bfd:
4645 @if bfd-bootstrap
4646 maybe-configure-stage4-bfd: configure-stage4-bfd
4647 configure-stage4-bfd:
4648 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4649 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4650 @r=`${PWD_COMMAND}`; export r; \
4651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4652 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4653 $(HOST_EXPORTS) \
4654 $(POSTSTAGE1_HOST_EXPORTS) \
4655 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4656 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4657 cd $(HOST_SUBDIR)/bfd || exit 1; \
4658 case $(srcdir) in \
4659 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4660 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4661 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4662 esac; \
4663 srcdiroption="--srcdir=$${topdir}/bfd"; \
4664 libsrcdir="$$s/bfd"; \
4665 $(SHELL) $${libsrcdir}/configure \
4666 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4667 --target=${target_alias} $${srcdiroption} \
4668 --with-build-libsubdir=$(HOST_SUBDIR) \
4669 @stage2_werror_flag@
4670 @endif bfd-bootstrap
4672 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4673 maybe-configure-stageprofile-bfd:
4674 @if bfd-bootstrap
4675 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4676 configure-stageprofile-bfd:
4677 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4678 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4679 @r=`${PWD_COMMAND}`; export r; \
4680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4681 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4682 $(HOST_EXPORTS) \
4683 $(POSTSTAGE1_HOST_EXPORTS) \
4684 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4685 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4686 cd $(HOST_SUBDIR)/bfd || exit 1; \
4687 case $(srcdir) in \
4688 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4689 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4690 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4691 esac; \
4692 srcdiroption="--srcdir=$${topdir}/bfd"; \
4693 libsrcdir="$$s/bfd"; \
4694 $(SHELL) $${libsrcdir}/configure \
4695 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4696 --target=${target_alias} $${srcdiroption} \
4697 --with-build-libsubdir=$(HOST_SUBDIR) \
4698 @stage2_werror_flag@
4699 @endif bfd-bootstrap
4701 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4702 maybe-configure-stagefeedback-bfd:
4703 @if bfd-bootstrap
4704 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4705 configure-stagefeedback-bfd:
4706 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4707 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4708 @r=`${PWD_COMMAND}`; export r; \
4709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4710 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4711 $(HOST_EXPORTS) \
4712 $(POSTSTAGE1_HOST_EXPORTS) \
4713 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4714 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4715 cd $(HOST_SUBDIR)/bfd || exit 1; \
4716 case $(srcdir) in \
4717 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4718 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4719 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4720 esac; \
4721 srcdiroption="--srcdir=$${topdir}/bfd"; \
4722 libsrcdir="$$s/bfd"; \
4723 $(SHELL) $${libsrcdir}/configure \
4724 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4725 --target=${target_alias} $${srcdiroption} \
4726 --with-build-libsubdir=$(HOST_SUBDIR) \
4727 @stage2_werror_flag@
4728 @endif bfd-bootstrap
4734 .PHONY: all-bfd maybe-all-bfd
4735 maybe-all-bfd:
4736 @if gcc-bootstrap
4737 all-bfd: stage_current
4738 @endif gcc-bootstrap
4739 @if bfd
4740 TARGET-bfd=all
4741 maybe-all-bfd: all-bfd
4742 all-bfd: configure-bfd
4743 @r=`${PWD_COMMAND}`; export r; \
4744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4745 $(HOST_EXPORTS) \
4746 (cd $(HOST_SUBDIR)/bfd && \
4747 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4748 @endif bfd
4752 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4753 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4754 maybe-all-stage1-bfd:
4755 maybe-clean-stage1-bfd:
4756 @if bfd-bootstrap
4757 maybe-all-stage1-bfd: all-stage1-bfd
4758 all-stage1: all-stage1-bfd
4759 TARGET-stage1-bfd = $(TARGET-bfd)
4760 all-stage1-bfd: configure-stage1-bfd
4761 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4762 @r=`${PWD_COMMAND}`; export r; \
4763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4764 $(HOST_EXPORTS) \
4765 cd $(HOST_SUBDIR)/bfd && \
4766 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
4767 $(TARGET-stage1-bfd)
4769 maybe-clean-stage1-bfd: clean-stage1-bfd
4770 clean-stage1: clean-stage1-bfd
4771 clean-stage1-bfd:
4772 @if [ $(current_stage) = stage1 ]; then \
4773 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4774 else \
4775 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
4776 $(MAKE) stage1-start; \
4777 fi; \
4778 cd $(HOST_SUBDIR)/bfd && \
4779 $(MAKE) $(FLAGS_TO_PASS) \
4780 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
4781 @endif bfd-bootstrap
4784 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4785 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4786 maybe-all-stage2-bfd:
4787 maybe-clean-stage2-bfd:
4788 @if bfd-bootstrap
4789 maybe-all-stage2-bfd: all-stage2-bfd
4790 all-stage2: all-stage2-bfd
4791 TARGET-stage2-bfd = $(TARGET-bfd)
4792 all-stage2-bfd: configure-stage2-bfd
4793 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4794 @r=`${PWD_COMMAND}`; export r; \
4795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4796 $(HOST_EXPORTS) \
4797 $(POSTSTAGE1_HOST_EXPORTS) \
4798 cd $(HOST_SUBDIR)/bfd && \
4799 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4800 $(TARGET-stage2-bfd)
4802 maybe-clean-stage2-bfd: clean-stage2-bfd
4803 clean-stage2: clean-stage2-bfd
4804 clean-stage2-bfd:
4805 @if [ $(current_stage) = stage2 ]; then \
4806 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4807 else \
4808 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
4809 $(MAKE) stage2-start; \
4810 fi; \
4811 cd $(HOST_SUBDIR)/bfd && \
4812 $(MAKE) $(FLAGS_TO_PASS) \
4813 $(POSTSTAGE1_FLAGS_TO_PASS) \
4814 clean
4815 @endif bfd-bootstrap
4818 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4819 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4820 maybe-all-stage3-bfd:
4821 maybe-clean-stage3-bfd:
4822 @if bfd-bootstrap
4823 maybe-all-stage3-bfd: all-stage3-bfd
4824 all-stage3: all-stage3-bfd
4825 TARGET-stage3-bfd = $(TARGET-bfd)
4826 all-stage3-bfd: configure-stage3-bfd
4827 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4828 @r=`${PWD_COMMAND}`; export r; \
4829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4830 $(HOST_EXPORTS) \
4831 $(POSTSTAGE1_HOST_EXPORTS) \
4832 cd $(HOST_SUBDIR)/bfd && \
4833 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4834 $(TARGET-stage3-bfd)
4836 maybe-clean-stage3-bfd: clean-stage3-bfd
4837 clean-stage3: clean-stage3-bfd
4838 clean-stage3-bfd:
4839 @if [ $(current_stage) = stage3 ]; then \
4840 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4841 else \
4842 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
4843 $(MAKE) stage3-start; \
4844 fi; \
4845 cd $(HOST_SUBDIR)/bfd && \
4846 $(MAKE) $(FLAGS_TO_PASS) \
4847 $(POSTSTAGE1_FLAGS_TO_PASS) \
4848 clean
4849 @endif bfd-bootstrap
4852 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4853 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4854 maybe-all-stage4-bfd:
4855 maybe-clean-stage4-bfd:
4856 @if bfd-bootstrap
4857 maybe-all-stage4-bfd: all-stage4-bfd
4858 all-stage4: all-stage4-bfd
4859 TARGET-stage4-bfd = $(TARGET-bfd)
4860 all-stage4-bfd: configure-stage4-bfd
4861 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4862 @r=`${PWD_COMMAND}`; export r; \
4863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4864 $(HOST_EXPORTS) \
4865 $(POSTSTAGE1_HOST_EXPORTS) \
4866 cd $(HOST_SUBDIR)/bfd && \
4867 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4868 $(TARGET-stage4-bfd)
4870 maybe-clean-stage4-bfd: clean-stage4-bfd
4871 clean-stage4: clean-stage4-bfd
4872 clean-stage4-bfd:
4873 @if [ $(current_stage) = stage4 ]; then \
4874 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4875 else \
4876 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
4877 $(MAKE) stage4-start; \
4878 fi; \
4879 cd $(HOST_SUBDIR)/bfd && \
4880 $(MAKE) $(FLAGS_TO_PASS) \
4881 $(POSTSTAGE1_FLAGS_TO_PASS) \
4882 clean
4883 @endif bfd-bootstrap
4886 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4887 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4888 maybe-all-stageprofile-bfd:
4889 maybe-clean-stageprofile-bfd:
4890 @if bfd-bootstrap
4891 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4892 all-stageprofile: all-stageprofile-bfd
4893 TARGET-stageprofile-bfd = $(TARGET-bfd)
4894 all-stageprofile-bfd: configure-stageprofile-bfd
4895 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4896 @r=`${PWD_COMMAND}`; export r; \
4897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4898 $(HOST_EXPORTS) \
4899 $(POSTSTAGE1_HOST_EXPORTS) \
4900 cd $(HOST_SUBDIR)/bfd && \
4901 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4902 $(TARGET-stageprofile-bfd)
4904 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4905 clean-stageprofile: clean-stageprofile-bfd
4906 clean-stageprofile-bfd:
4907 @if [ $(current_stage) = stageprofile ]; then \
4908 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4909 else \
4910 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
4911 $(MAKE) stageprofile-start; \
4912 fi; \
4913 cd $(HOST_SUBDIR)/bfd && \
4914 $(MAKE) $(FLAGS_TO_PASS) \
4915 $(POSTSTAGE1_FLAGS_TO_PASS) \
4916 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4917 @endif bfd-bootstrap
4920 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4921 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4922 maybe-all-stagefeedback-bfd:
4923 maybe-clean-stagefeedback-bfd:
4924 @if bfd-bootstrap
4925 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4926 all-stagefeedback: all-stagefeedback-bfd
4927 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4928 all-stagefeedback-bfd: configure-stagefeedback-bfd
4929 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4930 @r=`${PWD_COMMAND}`; export r; \
4931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4932 $(HOST_EXPORTS) \
4933 $(POSTSTAGE1_HOST_EXPORTS) \
4934 cd $(HOST_SUBDIR)/bfd && \
4935 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4936 $(TARGET-stagefeedback-bfd)
4938 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4939 clean-stagefeedback: clean-stagefeedback-bfd
4940 clean-stagefeedback-bfd:
4941 @if [ $(current_stage) = stagefeedback ]; then \
4942 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4943 else \
4944 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
4945 $(MAKE) stagefeedback-start; \
4946 fi; \
4947 cd $(HOST_SUBDIR)/bfd && \
4948 $(MAKE) $(FLAGS_TO_PASS) \
4949 $(POSTSTAGE1_FLAGS_TO_PASS) \
4950 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4951 @endif bfd-bootstrap
4957 .PHONY: check-bfd maybe-check-bfd
4958 maybe-check-bfd:
4959 @if bfd
4960 maybe-check-bfd: check-bfd
4962 check-bfd:
4963 @: $(MAKE); $(unstage)
4964 @r=`${PWD_COMMAND}`; export r; \
4965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4966 $(HOST_EXPORTS) \
4967 (cd $(HOST_SUBDIR)/bfd && \
4968 $(MAKE) $(FLAGS_TO_PASS) check)
4970 @endif bfd
4972 .PHONY: install-bfd maybe-install-bfd
4973 maybe-install-bfd:
4974 @if bfd
4975 maybe-install-bfd: install-bfd
4977 install-bfd: installdirs
4978 @: $(MAKE); $(unstage)
4979 @r=`${PWD_COMMAND}`; export r; \
4980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4981 $(HOST_EXPORTS) \
4982 (cd $(HOST_SUBDIR)/bfd && \
4983 $(MAKE) $(FLAGS_TO_PASS) install)
4985 @endif bfd
4987 # Other targets (info, dvi, pdf, etc.)
4989 .PHONY: maybe-info-bfd info-bfd
4990 maybe-info-bfd:
4991 @if bfd
4992 maybe-info-bfd: info-bfd
4994 info-bfd: \
4995 configure-bfd
4996 @[ -f ./bfd/Makefile ] || exit 0; \
4997 r=`${PWD_COMMAND}`; export r; \
4998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4999 $(HOST_EXPORTS) \
5000 for flag in $(EXTRA_HOST_FLAGS) ; do \
5001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5002 done; \
5003 echo "Doing info in bfd" ; \
5004 (cd $(HOST_SUBDIR)/bfd && \
5005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5007 "RANLIB=$${RANLIB}" \
5008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5009 info) \
5010 || exit 1
5012 @endif bfd
5014 .PHONY: maybe-dvi-bfd dvi-bfd
5015 maybe-dvi-bfd:
5016 @if bfd
5017 maybe-dvi-bfd: dvi-bfd
5019 dvi-bfd: \
5020 configure-bfd
5021 @[ -f ./bfd/Makefile ] || exit 0; \
5022 r=`${PWD_COMMAND}`; export r; \
5023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5024 $(HOST_EXPORTS) \
5025 for flag in $(EXTRA_HOST_FLAGS) ; do \
5026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5027 done; \
5028 echo "Doing dvi in bfd" ; \
5029 (cd $(HOST_SUBDIR)/bfd && \
5030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5032 "RANLIB=$${RANLIB}" \
5033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5034 dvi) \
5035 || exit 1
5037 @endif bfd
5039 .PHONY: maybe-pdf-bfd pdf-bfd
5040 maybe-pdf-bfd:
5041 @if bfd
5042 maybe-pdf-bfd: pdf-bfd
5044 pdf-bfd: \
5045 configure-bfd
5046 @[ -f ./bfd/Makefile ] || exit 0; \
5047 r=`${PWD_COMMAND}`; export r; \
5048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5049 $(HOST_EXPORTS) \
5050 for flag in $(EXTRA_HOST_FLAGS) ; do \
5051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5052 done; \
5053 echo "Doing pdf in bfd" ; \
5054 (cd $(HOST_SUBDIR)/bfd && \
5055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5057 "RANLIB=$${RANLIB}" \
5058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5059 pdf) \
5060 || exit 1
5062 @endif bfd
5064 .PHONY: maybe-html-bfd html-bfd
5065 maybe-html-bfd:
5066 @if bfd
5067 maybe-html-bfd: html-bfd
5069 html-bfd: \
5070 configure-bfd
5071 @[ -f ./bfd/Makefile ] || exit 0; \
5072 r=`${PWD_COMMAND}`; export r; \
5073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5074 $(HOST_EXPORTS) \
5075 for flag in $(EXTRA_HOST_FLAGS) ; do \
5076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5077 done; \
5078 echo "Doing html in bfd" ; \
5079 (cd $(HOST_SUBDIR)/bfd && \
5080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5082 "RANLIB=$${RANLIB}" \
5083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5084 html) \
5085 || exit 1
5087 @endif bfd
5089 .PHONY: maybe-TAGS-bfd TAGS-bfd
5090 maybe-TAGS-bfd:
5091 @if bfd
5092 maybe-TAGS-bfd: TAGS-bfd
5094 TAGS-bfd: \
5095 configure-bfd
5096 @[ -f ./bfd/Makefile ] || exit 0; \
5097 r=`${PWD_COMMAND}`; export r; \
5098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5099 $(HOST_EXPORTS) \
5100 for flag in $(EXTRA_HOST_FLAGS) ; do \
5101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5102 done; \
5103 echo "Doing TAGS in bfd" ; \
5104 (cd $(HOST_SUBDIR)/bfd && \
5105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5107 "RANLIB=$${RANLIB}" \
5108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5109 TAGS) \
5110 || exit 1
5112 @endif bfd
5114 .PHONY: maybe-install-info-bfd install-info-bfd
5115 maybe-install-info-bfd:
5116 @if bfd
5117 maybe-install-info-bfd: install-info-bfd
5119 install-info-bfd: \
5120 configure-bfd \
5121 info-bfd
5122 @[ -f ./bfd/Makefile ] || exit 0; \
5123 r=`${PWD_COMMAND}`; export r; \
5124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5125 $(HOST_EXPORTS) \
5126 for flag in $(EXTRA_HOST_FLAGS) ; do \
5127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5128 done; \
5129 echo "Doing install-info in bfd" ; \
5130 (cd $(HOST_SUBDIR)/bfd && \
5131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5133 "RANLIB=$${RANLIB}" \
5134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5135 install-info) \
5136 || exit 1
5138 @endif bfd
5140 .PHONY: maybe-install-html-bfd install-html-bfd
5141 maybe-install-html-bfd:
5142 @if bfd
5143 maybe-install-html-bfd: install-html-bfd
5145 install-html-bfd: \
5146 configure-bfd \
5147 html-bfd
5148 @[ -f ./bfd/Makefile ] || exit 0; \
5149 r=`${PWD_COMMAND}`; export r; \
5150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5151 $(HOST_EXPORTS) \
5152 for flag in $(EXTRA_HOST_FLAGS) ; do \
5153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5154 done; \
5155 echo "Doing install-html in bfd" ; \
5156 (cd $(HOST_SUBDIR)/bfd && \
5157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5159 "RANLIB=$${RANLIB}" \
5160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5161 install-html) \
5162 || exit 1
5164 @endif bfd
5166 .PHONY: maybe-installcheck-bfd installcheck-bfd
5167 maybe-installcheck-bfd:
5168 @if bfd
5169 maybe-installcheck-bfd: installcheck-bfd
5171 installcheck-bfd: \
5172 configure-bfd
5173 @[ -f ./bfd/Makefile ] || exit 0; \
5174 r=`${PWD_COMMAND}`; export r; \
5175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5176 $(HOST_EXPORTS) \
5177 for flag in $(EXTRA_HOST_FLAGS) ; do \
5178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5179 done; \
5180 echo "Doing installcheck in bfd" ; \
5181 (cd $(HOST_SUBDIR)/bfd && \
5182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5184 "RANLIB=$${RANLIB}" \
5185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5186 installcheck) \
5187 || exit 1
5189 @endif bfd
5191 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
5192 maybe-mostlyclean-bfd:
5193 @if bfd
5194 maybe-mostlyclean-bfd: mostlyclean-bfd
5196 mostlyclean-bfd:
5197 @[ -f ./bfd/Makefile ] || exit 0; \
5198 r=`${PWD_COMMAND}`; export r; \
5199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5200 $(HOST_EXPORTS) \
5201 for flag in $(EXTRA_HOST_FLAGS) ; do \
5202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5203 done; \
5204 echo "Doing mostlyclean in bfd" ; \
5205 (cd $(HOST_SUBDIR)/bfd && \
5206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5208 "RANLIB=$${RANLIB}" \
5209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5210 mostlyclean) \
5211 || exit 1
5213 @endif bfd
5215 .PHONY: maybe-clean-bfd clean-bfd
5216 maybe-clean-bfd:
5217 @if bfd
5218 maybe-clean-bfd: clean-bfd
5220 clean-bfd:
5221 @[ -f ./bfd/Makefile ] || exit 0; \
5222 r=`${PWD_COMMAND}`; export r; \
5223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5224 $(HOST_EXPORTS) \
5225 for flag in $(EXTRA_HOST_FLAGS) ; do \
5226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5227 done; \
5228 echo "Doing clean in bfd" ; \
5229 (cd $(HOST_SUBDIR)/bfd && \
5230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5232 "RANLIB=$${RANLIB}" \
5233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5234 clean) \
5235 || exit 1
5237 @endif bfd
5239 .PHONY: maybe-distclean-bfd distclean-bfd
5240 maybe-distclean-bfd:
5241 @if bfd
5242 maybe-distclean-bfd: distclean-bfd
5244 distclean-bfd:
5245 @[ -f ./bfd/Makefile ] || exit 0; \
5246 r=`${PWD_COMMAND}`; export r; \
5247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5248 $(HOST_EXPORTS) \
5249 for flag in $(EXTRA_HOST_FLAGS) ; do \
5250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5251 done; \
5252 echo "Doing distclean in bfd" ; \
5253 (cd $(HOST_SUBDIR)/bfd && \
5254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5256 "RANLIB=$${RANLIB}" \
5257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5258 distclean) \
5259 || exit 1
5261 @endif bfd
5263 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
5264 maybe-maintainer-clean-bfd:
5265 @if bfd
5266 maybe-maintainer-clean-bfd: maintainer-clean-bfd
5268 maintainer-clean-bfd:
5269 @[ -f ./bfd/Makefile ] || exit 0; \
5270 r=`${PWD_COMMAND}`; export r; \
5271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5272 $(HOST_EXPORTS) \
5273 for flag in $(EXTRA_HOST_FLAGS) ; do \
5274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5275 done; \
5276 echo "Doing maintainer-clean in bfd" ; \
5277 (cd $(HOST_SUBDIR)/bfd && \
5278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5280 "RANLIB=$${RANLIB}" \
5281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5282 maintainer-clean) \
5283 || exit 1
5285 @endif bfd
5289 .PHONY: configure-opcodes maybe-configure-opcodes
5290 maybe-configure-opcodes:
5291 @if gcc-bootstrap
5292 configure-opcodes: stage_current
5293 @endif gcc-bootstrap
5294 @if opcodes
5295 maybe-configure-opcodes: configure-opcodes
5296 configure-opcodes:
5297 @r=`${PWD_COMMAND}`; export r; \
5298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5299 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5300 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5301 $(HOST_EXPORTS) \
5302 echo Configuring in $(HOST_SUBDIR)/opcodes; \
5303 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
5304 case $(srcdir) in \
5305 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5306 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5307 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5308 esac; \
5309 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5310 libsrcdir="$$s/opcodes"; \
5311 $(SHELL) $${libsrcdir}/configure \
5312 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5313 --target=${target_alias} $${srcdiroption} \
5314 || exit 1
5315 @endif opcodes
5319 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
5320 maybe-configure-stage1-opcodes:
5321 @if opcodes-bootstrap
5322 maybe-configure-stage1-opcodes: configure-stage1-opcodes
5323 configure-stage1-opcodes:
5324 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5325 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5326 @r=`${PWD_COMMAND}`; export r; \
5327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5328 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5329 $(HOST_EXPORTS) \
5330 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
5331 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5332 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5333 case $(srcdir) in \
5334 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5335 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5336 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5337 esac; \
5338 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5339 libsrcdir="$$s/opcodes"; \
5340 $(SHELL) $${libsrcdir}/configure \
5341 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5342 --target=${target_alias} $${srcdiroption} \
5344 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5345 @endif opcodes-bootstrap
5347 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
5348 maybe-configure-stage2-opcodes:
5349 @if opcodes-bootstrap
5350 maybe-configure-stage2-opcodes: configure-stage2-opcodes
5351 configure-stage2-opcodes:
5352 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5353 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5354 @r=`${PWD_COMMAND}`; export r; \
5355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5356 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5357 $(HOST_EXPORTS) \
5358 $(POSTSTAGE1_HOST_EXPORTS) \
5359 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
5360 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5361 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5362 case $(srcdir) in \
5363 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5364 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5365 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5366 esac; \
5367 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5368 libsrcdir="$$s/opcodes"; \
5369 $(SHELL) $${libsrcdir}/configure \
5370 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5371 --target=${target_alias} $${srcdiroption} \
5372 --with-build-libsubdir=$(HOST_SUBDIR) \
5373 @stage2_werror_flag@
5374 @endif opcodes-bootstrap
5376 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
5377 maybe-configure-stage3-opcodes:
5378 @if opcodes-bootstrap
5379 maybe-configure-stage3-opcodes: configure-stage3-opcodes
5380 configure-stage3-opcodes:
5381 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5382 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5383 @r=`${PWD_COMMAND}`; export r; \
5384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5385 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5386 $(HOST_EXPORTS) \
5387 $(POSTSTAGE1_HOST_EXPORTS) \
5388 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
5389 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5390 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5391 case $(srcdir) in \
5392 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5393 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5394 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5395 esac; \
5396 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5397 libsrcdir="$$s/opcodes"; \
5398 $(SHELL) $${libsrcdir}/configure \
5399 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5400 --target=${target_alias} $${srcdiroption} \
5401 --with-build-libsubdir=$(HOST_SUBDIR) \
5402 @stage2_werror_flag@
5403 @endif opcodes-bootstrap
5405 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
5406 maybe-configure-stage4-opcodes:
5407 @if opcodes-bootstrap
5408 maybe-configure-stage4-opcodes: configure-stage4-opcodes
5409 configure-stage4-opcodes:
5410 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5411 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5412 @r=`${PWD_COMMAND}`; export r; \
5413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5414 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5415 $(HOST_EXPORTS) \
5416 $(POSTSTAGE1_HOST_EXPORTS) \
5417 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
5418 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5419 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5420 case $(srcdir) in \
5421 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5422 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5423 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5424 esac; \
5425 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5426 libsrcdir="$$s/opcodes"; \
5427 $(SHELL) $${libsrcdir}/configure \
5428 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5429 --target=${target_alias} $${srcdiroption} \
5430 --with-build-libsubdir=$(HOST_SUBDIR) \
5431 @stage2_werror_flag@
5432 @endif opcodes-bootstrap
5434 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
5435 maybe-configure-stageprofile-opcodes:
5436 @if opcodes-bootstrap
5437 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
5438 configure-stageprofile-opcodes:
5439 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5440 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5441 @r=`${PWD_COMMAND}`; export r; \
5442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5443 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5444 $(HOST_EXPORTS) \
5445 $(POSTSTAGE1_HOST_EXPORTS) \
5446 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
5447 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5448 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5449 case $(srcdir) in \
5450 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5451 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5452 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5453 esac; \
5454 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5455 libsrcdir="$$s/opcodes"; \
5456 $(SHELL) $${libsrcdir}/configure \
5457 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5458 --target=${target_alias} $${srcdiroption} \
5459 --with-build-libsubdir=$(HOST_SUBDIR) \
5460 @stage2_werror_flag@
5461 @endif opcodes-bootstrap
5463 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
5464 maybe-configure-stagefeedback-opcodes:
5465 @if opcodes-bootstrap
5466 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
5467 configure-stagefeedback-opcodes:
5468 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5469 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5470 @r=`${PWD_COMMAND}`; export r; \
5471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5472 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5473 $(HOST_EXPORTS) \
5474 $(POSTSTAGE1_HOST_EXPORTS) \
5475 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
5476 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5477 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5478 case $(srcdir) in \
5479 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5480 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5481 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5482 esac; \
5483 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5484 libsrcdir="$$s/opcodes"; \
5485 $(SHELL) $${libsrcdir}/configure \
5486 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5487 --target=${target_alias} $${srcdiroption} \
5488 --with-build-libsubdir=$(HOST_SUBDIR) \
5489 @stage2_werror_flag@
5490 @endif opcodes-bootstrap
5496 .PHONY: all-opcodes maybe-all-opcodes
5497 maybe-all-opcodes:
5498 @if gcc-bootstrap
5499 all-opcodes: stage_current
5500 @endif gcc-bootstrap
5501 @if opcodes
5502 TARGET-opcodes=all
5503 maybe-all-opcodes: all-opcodes
5504 all-opcodes: configure-opcodes
5505 @r=`${PWD_COMMAND}`; export r; \
5506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5507 $(HOST_EXPORTS) \
5508 (cd $(HOST_SUBDIR)/opcodes && \
5509 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
5510 @endif opcodes
5514 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
5515 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
5516 maybe-all-stage1-opcodes:
5517 maybe-clean-stage1-opcodes:
5518 @if opcodes-bootstrap
5519 maybe-all-stage1-opcodes: all-stage1-opcodes
5520 all-stage1: all-stage1-opcodes
5521 TARGET-stage1-opcodes = $(TARGET-opcodes)
5522 all-stage1-opcodes: configure-stage1-opcodes
5523 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5524 @r=`${PWD_COMMAND}`; export r; \
5525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5526 $(HOST_EXPORTS) \
5527 cd $(HOST_SUBDIR)/opcodes && \
5528 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
5529 $(TARGET-stage1-opcodes)
5531 maybe-clean-stage1-opcodes: clean-stage1-opcodes
5532 clean-stage1: clean-stage1-opcodes
5533 clean-stage1-opcodes:
5534 @if [ $(current_stage) = stage1 ]; then \
5535 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5536 else \
5537 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
5538 $(MAKE) stage1-start; \
5539 fi; \
5540 cd $(HOST_SUBDIR)/opcodes && \
5541 $(MAKE) $(FLAGS_TO_PASS) \
5542 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
5543 @endif opcodes-bootstrap
5546 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
5547 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
5548 maybe-all-stage2-opcodes:
5549 maybe-clean-stage2-opcodes:
5550 @if opcodes-bootstrap
5551 maybe-all-stage2-opcodes: all-stage2-opcodes
5552 all-stage2: all-stage2-opcodes
5553 TARGET-stage2-opcodes = $(TARGET-opcodes)
5554 all-stage2-opcodes: configure-stage2-opcodes
5555 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5556 @r=`${PWD_COMMAND}`; export r; \
5557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5558 $(HOST_EXPORTS) \
5559 $(POSTSTAGE1_HOST_EXPORTS) \
5560 cd $(HOST_SUBDIR)/opcodes && \
5561 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5562 $(TARGET-stage2-opcodes)
5564 maybe-clean-stage2-opcodes: clean-stage2-opcodes
5565 clean-stage2: clean-stage2-opcodes
5566 clean-stage2-opcodes:
5567 @if [ $(current_stage) = stage2 ]; then \
5568 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5569 else \
5570 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
5571 $(MAKE) stage2-start; \
5572 fi; \
5573 cd $(HOST_SUBDIR)/opcodes && \
5574 $(MAKE) $(FLAGS_TO_PASS) \
5575 $(POSTSTAGE1_FLAGS_TO_PASS) \
5576 clean
5577 @endif opcodes-bootstrap
5580 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
5581 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
5582 maybe-all-stage3-opcodes:
5583 maybe-clean-stage3-opcodes:
5584 @if opcodes-bootstrap
5585 maybe-all-stage3-opcodes: all-stage3-opcodes
5586 all-stage3: all-stage3-opcodes
5587 TARGET-stage3-opcodes = $(TARGET-opcodes)
5588 all-stage3-opcodes: configure-stage3-opcodes
5589 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5590 @r=`${PWD_COMMAND}`; export r; \
5591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5592 $(HOST_EXPORTS) \
5593 $(POSTSTAGE1_HOST_EXPORTS) \
5594 cd $(HOST_SUBDIR)/opcodes && \
5595 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5596 $(TARGET-stage3-opcodes)
5598 maybe-clean-stage3-opcodes: clean-stage3-opcodes
5599 clean-stage3: clean-stage3-opcodes
5600 clean-stage3-opcodes:
5601 @if [ $(current_stage) = stage3 ]; then \
5602 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5603 else \
5604 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
5605 $(MAKE) stage3-start; \
5606 fi; \
5607 cd $(HOST_SUBDIR)/opcodes && \
5608 $(MAKE) $(FLAGS_TO_PASS) \
5609 $(POSTSTAGE1_FLAGS_TO_PASS) \
5610 clean
5611 @endif opcodes-bootstrap
5614 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
5615 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
5616 maybe-all-stage4-opcodes:
5617 maybe-clean-stage4-opcodes:
5618 @if opcodes-bootstrap
5619 maybe-all-stage4-opcodes: all-stage4-opcodes
5620 all-stage4: all-stage4-opcodes
5621 TARGET-stage4-opcodes = $(TARGET-opcodes)
5622 all-stage4-opcodes: configure-stage4-opcodes
5623 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5624 @r=`${PWD_COMMAND}`; export r; \
5625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5626 $(HOST_EXPORTS) \
5627 $(POSTSTAGE1_HOST_EXPORTS) \
5628 cd $(HOST_SUBDIR)/opcodes && \
5629 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5630 $(TARGET-stage4-opcodes)
5632 maybe-clean-stage4-opcodes: clean-stage4-opcodes
5633 clean-stage4: clean-stage4-opcodes
5634 clean-stage4-opcodes:
5635 @if [ $(current_stage) = stage4 ]; then \
5636 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5637 else \
5638 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
5639 $(MAKE) stage4-start; \
5640 fi; \
5641 cd $(HOST_SUBDIR)/opcodes && \
5642 $(MAKE) $(FLAGS_TO_PASS) \
5643 $(POSTSTAGE1_FLAGS_TO_PASS) \
5644 clean
5645 @endif opcodes-bootstrap
5648 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
5649 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
5650 maybe-all-stageprofile-opcodes:
5651 maybe-clean-stageprofile-opcodes:
5652 @if opcodes-bootstrap
5653 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
5654 all-stageprofile: all-stageprofile-opcodes
5655 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
5656 all-stageprofile-opcodes: configure-stageprofile-opcodes
5657 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5658 @r=`${PWD_COMMAND}`; export r; \
5659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5660 $(HOST_EXPORTS) \
5661 $(POSTSTAGE1_HOST_EXPORTS) \
5662 cd $(HOST_SUBDIR)/opcodes && \
5663 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5664 $(TARGET-stageprofile-opcodes)
5666 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
5667 clean-stageprofile: clean-stageprofile-opcodes
5668 clean-stageprofile-opcodes:
5669 @if [ $(current_stage) = stageprofile ]; then \
5670 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5671 else \
5672 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
5673 $(MAKE) stageprofile-start; \
5674 fi; \
5675 cd $(HOST_SUBDIR)/opcodes && \
5676 $(MAKE) $(FLAGS_TO_PASS) \
5677 $(POSTSTAGE1_FLAGS_TO_PASS) \
5678 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5679 @endif opcodes-bootstrap
5682 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
5683 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
5684 maybe-all-stagefeedback-opcodes:
5685 maybe-clean-stagefeedback-opcodes:
5686 @if opcodes-bootstrap
5687 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
5688 all-stagefeedback: all-stagefeedback-opcodes
5689 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
5690 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
5691 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5692 @r=`${PWD_COMMAND}`; export r; \
5693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5694 $(HOST_EXPORTS) \
5695 $(POSTSTAGE1_HOST_EXPORTS) \
5696 cd $(HOST_SUBDIR)/opcodes && \
5697 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5698 $(TARGET-stagefeedback-opcodes)
5700 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5701 clean-stagefeedback: clean-stagefeedback-opcodes
5702 clean-stagefeedback-opcodes:
5703 @if [ $(current_stage) = stagefeedback ]; then \
5704 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5705 else \
5706 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
5707 $(MAKE) stagefeedback-start; \
5708 fi; \
5709 cd $(HOST_SUBDIR)/opcodes && \
5710 $(MAKE) $(FLAGS_TO_PASS) \
5711 $(POSTSTAGE1_FLAGS_TO_PASS) \
5712 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5713 @endif opcodes-bootstrap
5719 .PHONY: check-opcodes maybe-check-opcodes
5720 maybe-check-opcodes:
5721 @if opcodes
5722 maybe-check-opcodes: check-opcodes
5724 check-opcodes:
5725 @: $(MAKE); $(unstage)
5726 @r=`${PWD_COMMAND}`; export r; \
5727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5728 $(HOST_EXPORTS) \
5729 (cd $(HOST_SUBDIR)/opcodes && \
5730 $(MAKE) $(FLAGS_TO_PASS) check)
5732 @endif opcodes
5734 .PHONY: install-opcodes maybe-install-opcodes
5735 maybe-install-opcodes:
5736 @if opcodes
5737 maybe-install-opcodes: install-opcodes
5739 install-opcodes: installdirs
5740 @: $(MAKE); $(unstage)
5741 @r=`${PWD_COMMAND}`; export r; \
5742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5743 $(HOST_EXPORTS) \
5744 (cd $(HOST_SUBDIR)/opcodes && \
5745 $(MAKE) $(FLAGS_TO_PASS) install)
5747 @endif opcodes
5749 # Other targets (info, dvi, pdf, etc.)
5751 .PHONY: maybe-info-opcodes info-opcodes
5752 maybe-info-opcodes:
5753 @if opcodes
5754 maybe-info-opcodes: info-opcodes
5756 info-opcodes: \
5757 configure-opcodes
5758 @[ -f ./opcodes/Makefile ] || exit 0; \
5759 r=`${PWD_COMMAND}`; export r; \
5760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5761 $(HOST_EXPORTS) \
5762 for flag in $(EXTRA_HOST_FLAGS) ; do \
5763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5764 done; \
5765 echo "Doing info in opcodes" ; \
5766 (cd $(HOST_SUBDIR)/opcodes && \
5767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5769 "RANLIB=$${RANLIB}" \
5770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5771 info) \
5772 || exit 1
5774 @endif opcodes
5776 .PHONY: maybe-dvi-opcodes dvi-opcodes
5777 maybe-dvi-opcodes:
5778 @if opcodes
5779 maybe-dvi-opcodes: dvi-opcodes
5781 dvi-opcodes: \
5782 configure-opcodes
5783 @[ -f ./opcodes/Makefile ] || exit 0; \
5784 r=`${PWD_COMMAND}`; export r; \
5785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5786 $(HOST_EXPORTS) \
5787 for flag in $(EXTRA_HOST_FLAGS) ; do \
5788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5789 done; \
5790 echo "Doing dvi in opcodes" ; \
5791 (cd $(HOST_SUBDIR)/opcodes && \
5792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5794 "RANLIB=$${RANLIB}" \
5795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5796 dvi) \
5797 || exit 1
5799 @endif opcodes
5801 .PHONY: maybe-pdf-opcodes pdf-opcodes
5802 maybe-pdf-opcodes:
5803 @if opcodes
5804 maybe-pdf-opcodes: pdf-opcodes
5806 pdf-opcodes: \
5807 configure-opcodes
5808 @[ -f ./opcodes/Makefile ] || exit 0; \
5809 r=`${PWD_COMMAND}`; export r; \
5810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5811 $(HOST_EXPORTS) \
5812 for flag in $(EXTRA_HOST_FLAGS) ; do \
5813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5814 done; \
5815 echo "Doing pdf in opcodes" ; \
5816 (cd $(HOST_SUBDIR)/opcodes && \
5817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5819 "RANLIB=$${RANLIB}" \
5820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5821 pdf) \
5822 || exit 1
5824 @endif opcodes
5826 .PHONY: maybe-html-opcodes html-opcodes
5827 maybe-html-opcodes:
5828 @if opcodes
5829 maybe-html-opcodes: html-opcodes
5831 html-opcodes: \
5832 configure-opcodes
5833 @[ -f ./opcodes/Makefile ] || exit 0; \
5834 r=`${PWD_COMMAND}`; export r; \
5835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5836 $(HOST_EXPORTS) \
5837 for flag in $(EXTRA_HOST_FLAGS) ; do \
5838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5839 done; \
5840 echo "Doing html in opcodes" ; \
5841 (cd $(HOST_SUBDIR)/opcodes && \
5842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5844 "RANLIB=$${RANLIB}" \
5845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5846 html) \
5847 || exit 1
5849 @endif opcodes
5851 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5852 maybe-TAGS-opcodes:
5853 @if opcodes
5854 maybe-TAGS-opcodes: TAGS-opcodes
5856 TAGS-opcodes: \
5857 configure-opcodes
5858 @[ -f ./opcodes/Makefile ] || exit 0; \
5859 r=`${PWD_COMMAND}`; export r; \
5860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5861 $(HOST_EXPORTS) \
5862 for flag in $(EXTRA_HOST_FLAGS) ; do \
5863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5864 done; \
5865 echo "Doing TAGS in opcodes" ; \
5866 (cd $(HOST_SUBDIR)/opcodes && \
5867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5869 "RANLIB=$${RANLIB}" \
5870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5871 TAGS) \
5872 || exit 1
5874 @endif opcodes
5876 .PHONY: maybe-install-info-opcodes install-info-opcodes
5877 maybe-install-info-opcodes:
5878 @if opcodes
5879 maybe-install-info-opcodes: install-info-opcodes
5881 install-info-opcodes: \
5882 configure-opcodes \
5883 info-opcodes
5884 @[ -f ./opcodes/Makefile ] || exit 0; \
5885 r=`${PWD_COMMAND}`; export r; \
5886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5887 $(HOST_EXPORTS) \
5888 for flag in $(EXTRA_HOST_FLAGS) ; do \
5889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5890 done; \
5891 echo "Doing install-info in opcodes" ; \
5892 (cd $(HOST_SUBDIR)/opcodes && \
5893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5895 "RANLIB=$${RANLIB}" \
5896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5897 install-info) \
5898 || exit 1
5900 @endif opcodes
5902 .PHONY: maybe-install-html-opcodes install-html-opcodes
5903 maybe-install-html-opcodes:
5904 @if opcodes
5905 maybe-install-html-opcodes: install-html-opcodes
5907 install-html-opcodes: \
5908 configure-opcodes \
5909 html-opcodes
5910 @[ -f ./opcodes/Makefile ] || exit 0; \
5911 r=`${PWD_COMMAND}`; export r; \
5912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5913 $(HOST_EXPORTS) \
5914 for flag in $(EXTRA_HOST_FLAGS) ; do \
5915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5916 done; \
5917 echo "Doing install-html in opcodes" ; \
5918 (cd $(HOST_SUBDIR)/opcodes && \
5919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5921 "RANLIB=$${RANLIB}" \
5922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5923 install-html) \
5924 || exit 1
5926 @endif opcodes
5928 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5929 maybe-installcheck-opcodes:
5930 @if opcodes
5931 maybe-installcheck-opcodes: installcheck-opcodes
5933 installcheck-opcodes: \
5934 configure-opcodes
5935 @[ -f ./opcodes/Makefile ] || exit 0; \
5936 r=`${PWD_COMMAND}`; export r; \
5937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5938 $(HOST_EXPORTS) \
5939 for flag in $(EXTRA_HOST_FLAGS) ; do \
5940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5941 done; \
5942 echo "Doing installcheck in opcodes" ; \
5943 (cd $(HOST_SUBDIR)/opcodes && \
5944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5946 "RANLIB=$${RANLIB}" \
5947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5948 installcheck) \
5949 || exit 1
5951 @endif opcodes
5953 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5954 maybe-mostlyclean-opcodes:
5955 @if opcodes
5956 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5958 mostlyclean-opcodes:
5959 @[ -f ./opcodes/Makefile ] || exit 0; \
5960 r=`${PWD_COMMAND}`; export r; \
5961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5962 $(HOST_EXPORTS) \
5963 for flag in $(EXTRA_HOST_FLAGS) ; do \
5964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5965 done; \
5966 echo "Doing mostlyclean in opcodes" ; \
5967 (cd $(HOST_SUBDIR)/opcodes && \
5968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5970 "RANLIB=$${RANLIB}" \
5971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5972 mostlyclean) \
5973 || exit 1
5975 @endif opcodes
5977 .PHONY: maybe-clean-opcodes clean-opcodes
5978 maybe-clean-opcodes:
5979 @if opcodes
5980 maybe-clean-opcodes: clean-opcodes
5982 clean-opcodes:
5983 @[ -f ./opcodes/Makefile ] || exit 0; \
5984 r=`${PWD_COMMAND}`; export r; \
5985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5986 $(HOST_EXPORTS) \
5987 for flag in $(EXTRA_HOST_FLAGS) ; do \
5988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5989 done; \
5990 echo "Doing clean in opcodes" ; \
5991 (cd $(HOST_SUBDIR)/opcodes && \
5992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5994 "RANLIB=$${RANLIB}" \
5995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5996 clean) \
5997 || exit 1
5999 @endif opcodes
6001 .PHONY: maybe-distclean-opcodes distclean-opcodes
6002 maybe-distclean-opcodes:
6003 @if opcodes
6004 maybe-distclean-opcodes: distclean-opcodes
6006 distclean-opcodes:
6007 @[ -f ./opcodes/Makefile ] || exit 0; \
6008 r=`${PWD_COMMAND}`; export r; \
6009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6010 $(HOST_EXPORTS) \
6011 for flag in $(EXTRA_HOST_FLAGS) ; do \
6012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6013 done; \
6014 echo "Doing distclean in opcodes" ; \
6015 (cd $(HOST_SUBDIR)/opcodes && \
6016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6018 "RANLIB=$${RANLIB}" \
6019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6020 distclean) \
6021 || exit 1
6023 @endif opcodes
6025 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
6026 maybe-maintainer-clean-opcodes:
6027 @if opcodes
6028 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
6030 maintainer-clean-opcodes:
6031 @[ -f ./opcodes/Makefile ] || exit 0; \
6032 r=`${PWD_COMMAND}`; export r; \
6033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6034 $(HOST_EXPORTS) \
6035 for flag in $(EXTRA_HOST_FLAGS) ; do \
6036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6037 done; \
6038 echo "Doing maintainer-clean in opcodes" ; \
6039 (cd $(HOST_SUBDIR)/opcodes && \
6040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6042 "RANLIB=$${RANLIB}" \
6043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6044 maintainer-clean) \
6045 || exit 1
6047 @endif opcodes
6051 .PHONY: configure-binutils maybe-configure-binutils
6052 maybe-configure-binutils:
6053 @if gcc-bootstrap
6054 configure-binutils: stage_current
6055 @endif gcc-bootstrap
6056 @if binutils
6057 maybe-configure-binutils: configure-binutils
6058 configure-binutils:
6059 @r=`${PWD_COMMAND}`; export r; \
6060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6061 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6062 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6063 $(HOST_EXPORTS) \
6064 echo Configuring in $(HOST_SUBDIR)/binutils; \
6065 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
6066 case $(srcdir) in \
6067 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6068 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6069 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6070 esac; \
6071 srcdiroption="--srcdir=$${topdir}/binutils"; \
6072 libsrcdir="$$s/binutils"; \
6073 $(SHELL) $${libsrcdir}/configure \
6074 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6075 --target=${target_alias} $${srcdiroption} \
6076 || exit 1
6077 @endif binutils
6081 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
6082 maybe-configure-stage1-binutils:
6083 @if binutils-bootstrap
6084 maybe-configure-stage1-binutils: configure-stage1-binutils
6085 configure-stage1-binutils:
6086 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6087 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6088 @r=`${PWD_COMMAND}`; export r; \
6089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6090 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6091 $(HOST_EXPORTS) \
6092 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
6093 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6094 cd $(HOST_SUBDIR)/binutils || exit 1; \
6095 case $(srcdir) in \
6096 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6097 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6098 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6099 esac; \
6100 srcdiroption="--srcdir=$${topdir}/binutils"; \
6101 libsrcdir="$$s/binutils"; \
6102 $(SHELL) $${libsrcdir}/configure \
6103 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6104 --target=${target_alias} $${srcdiroption} \
6106 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
6107 @endif binutils-bootstrap
6109 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
6110 maybe-configure-stage2-binutils:
6111 @if binutils-bootstrap
6112 maybe-configure-stage2-binutils: configure-stage2-binutils
6113 configure-stage2-binutils:
6114 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6115 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6116 @r=`${PWD_COMMAND}`; export r; \
6117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6118 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6119 $(HOST_EXPORTS) \
6120 $(POSTSTAGE1_HOST_EXPORTS) \
6121 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
6122 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6123 cd $(HOST_SUBDIR)/binutils || exit 1; \
6124 case $(srcdir) in \
6125 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6126 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6127 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6128 esac; \
6129 srcdiroption="--srcdir=$${topdir}/binutils"; \
6130 libsrcdir="$$s/binutils"; \
6131 $(SHELL) $${libsrcdir}/configure \
6132 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6133 --target=${target_alias} $${srcdiroption} \
6134 --with-build-libsubdir=$(HOST_SUBDIR) \
6135 @stage2_werror_flag@
6136 @endif binutils-bootstrap
6138 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
6139 maybe-configure-stage3-binutils:
6140 @if binutils-bootstrap
6141 maybe-configure-stage3-binutils: configure-stage3-binutils
6142 configure-stage3-binutils:
6143 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6144 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6145 @r=`${PWD_COMMAND}`; export r; \
6146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6147 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6148 $(HOST_EXPORTS) \
6149 $(POSTSTAGE1_HOST_EXPORTS) \
6150 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
6151 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6152 cd $(HOST_SUBDIR)/binutils || exit 1; \
6153 case $(srcdir) in \
6154 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6155 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6156 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6157 esac; \
6158 srcdiroption="--srcdir=$${topdir}/binutils"; \
6159 libsrcdir="$$s/binutils"; \
6160 $(SHELL) $${libsrcdir}/configure \
6161 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6162 --target=${target_alias} $${srcdiroption} \
6163 --with-build-libsubdir=$(HOST_SUBDIR) \
6164 @stage2_werror_flag@
6165 @endif binutils-bootstrap
6167 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
6168 maybe-configure-stage4-binutils:
6169 @if binutils-bootstrap
6170 maybe-configure-stage4-binutils: configure-stage4-binutils
6171 configure-stage4-binutils:
6172 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6173 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6174 @r=`${PWD_COMMAND}`; export r; \
6175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6176 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6177 $(HOST_EXPORTS) \
6178 $(POSTSTAGE1_HOST_EXPORTS) \
6179 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
6180 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6181 cd $(HOST_SUBDIR)/binutils || exit 1; \
6182 case $(srcdir) in \
6183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6184 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6186 esac; \
6187 srcdiroption="--srcdir=$${topdir}/binutils"; \
6188 libsrcdir="$$s/binutils"; \
6189 $(SHELL) $${libsrcdir}/configure \
6190 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6191 --target=${target_alias} $${srcdiroption} \
6192 --with-build-libsubdir=$(HOST_SUBDIR) \
6193 @stage2_werror_flag@
6194 @endif binutils-bootstrap
6196 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
6197 maybe-configure-stageprofile-binutils:
6198 @if binutils-bootstrap
6199 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
6200 configure-stageprofile-binutils:
6201 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6202 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6203 @r=`${PWD_COMMAND}`; export r; \
6204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6205 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6206 $(HOST_EXPORTS) \
6207 $(POSTSTAGE1_HOST_EXPORTS) \
6208 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
6209 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6210 cd $(HOST_SUBDIR)/binutils || exit 1; \
6211 case $(srcdir) in \
6212 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6213 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6214 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6215 esac; \
6216 srcdiroption="--srcdir=$${topdir}/binutils"; \
6217 libsrcdir="$$s/binutils"; \
6218 $(SHELL) $${libsrcdir}/configure \
6219 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6220 --target=${target_alias} $${srcdiroption} \
6221 --with-build-libsubdir=$(HOST_SUBDIR) \
6222 @stage2_werror_flag@
6223 @endif binutils-bootstrap
6225 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
6226 maybe-configure-stagefeedback-binutils:
6227 @if binutils-bootstrap
6228 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
6229 configure-stagefeedback-binutils:
6230 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6231 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6232 @r=`${PWD_COMMAND}`; export r; \
6233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6234 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6235 $(HOST_EXPORTS) \
6236 $(POSTSTAGE1_HOST_EXPORTS) \
6237 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
6238 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6239 cd $(HOST_SUBDIR)/binutils || exit 1; \
6240 case $(srcdir) in \
6241 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6242 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6243 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6244 esac; \
6245 srcdiroption="--srcdir=$${topdir}/binutils"; \
6246 libsrcdir="$$s/binutils"; \
6247 $(SHELL) $${libsrcdir}/configure \
6248 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6249 --target=${target_alias} $${srcdiroption} \
6250 --with-build-libsubdir=$(HOST_SUBDIR) \
6251 @stage2_werror_flag@
6252 @endif binutils-bootstrap
6258 .PHONY: all-binutils maybe-all-binutils
6259 maybe-all-binutils:
6260 @if gcc-bootstrap
6261 all-binutils: stage_current
6262 @endif gcc-bootstrap
6263 @if binutils
6264 TARGET-binutils=all
6265 maybe-all-binutils: all-binutils
6266 all-binutils: configure-binutils
6267 @r=`${PWD_COMMAND}`; export r; \
6268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6269 $(HOST_EXPORTS) \
6270 (cd $(HOST_SUBDIR)/binutils && \
6271 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
6272 @endif binutils
6276 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
6277 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
6278 maybe-all-stage1-binutils:
6279 maybe-clean-stage1-binutils:
6280 @if binutils-bootstrap
6281 maybe-all-stage1-binutils: all-stage1-binutils
6282 all-stage1: all-stage1-binutils
6283 TARGET-stage1-binutils = $(TARGET-binutils)
6284 all-stage1-binutils: configure-stage1-binutils
6285 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6286 @r=`${PWD_COMMAND}`; export r; \
6287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6288 $(HOST_EXPORTS) \
6289 cd $(HOST_SUBDIR)/binutils && \
6290 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
6291 $(TARGET-stage1-binutils)
6293 maybe-clean-stage1-binutils: clean-stage1-binutils
6294 clean-stage1: clean-stage1-binutils
6295 clean-stage1-binutils:
6296 @if [ $(current_stage) = stage1 ]; then \
6297 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6298 else \
6299 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
6300 $(MAKE) stage1-start; \
6301 fi; \
6302 cd $(HOST_SUBDIR)/binutils && \
6303 $(MAKE) $(FLAGS_TO_PASS) \
6304 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
6305 @endif binutils-bootstrap
6308 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
6309 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
6310 maybe-all-stage2-binutils:
6311 maybe-clean-stage2-binutils:
6312 @if binutils-bootstrap
6313 maybe-all-stage2-binutils: all-stage2-binutils
6314 all-stage2: all-stage2-binutils
6315 TARGET-stage2-binutils = $(TARGET-binutils)
6316 all-stage2-binutils: configure-stage2-binutils
6317 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6318 @r=`${PWD_COMMAND}`; export r; \
6319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6320 $(HOST_EXPORTS) \
6321 $(POSTSTAGE1_HOST_EXPORTS) \
6322 cd $(HOST_SUBDIR)/binutils && \
6323 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6324 $(TARGET-stage2-binutils)
6326 maybe-clean-stage2-binutils: clean-stage2-binutils
6327 clean-stage2: clean-stage2-binutils
6328 clean-stage2-binutils:
6329 @if [ $(current_stage) = stage2 ]; then \
6330 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6331 else \
6332 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
6333 $(MAKE) stage2-start; \
6334 fi; \
6335 cd $(HOST_SUBDIR)/binutils && \
6336 $(MAKE) $(FLAGS_TO_PASS) \
6337 $(POSTSTAGE1_FLAGS_TO_PASS) \
6338 clean
6339 @endif binutils-bootstrap
6342 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
6343 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
6344 maybe-all-stage3-binutils:
6345 maybe-clean-stage3-binutils:
6346 @if binutils-bootstrap
6347 maybe-all-stage3-binutils: all-stage3-binutils
6348 all-stage3: all-stage3-binutils
6349 TARGET-stage3-binutils = $(TARGET-binutils)
6350 all-stage3-binutils: configure-stage3-binutils
6351 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6352 @r=`${PWD_COMMAND}`; export r; \
6353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6354 $(HOST_EXPORTS) \
6355 $(POSTSTAGE1_HOST_EXPORTS) \
6356 cd $(HOST_SUBDIR)/binutils && \
6357 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6358 $(TARGET-stage3-binutils)
6360 maybe-clean-stage3-binutils: clean-stage3-binutils
6361 clean-stage3: clean-stage3-binutils
6362 clean-stage3-binutils:
6363 @if [ $(current_stage) = stage3 ]; then \
6364 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6365 else \
6366 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
6367 $(MAKE) stage3-start; \
6368 fi; \
6369 cd $(HOST_SUBDIR)/binutils && \
6370 $(MAKE) $(FLAGS_TO_PASS) \
6371 $(POSTSTAGE1_FLAGS_TO_PASS) \
6372 clean
6373 @endif binutils-bootstrap
6376 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
6377 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
6378 maybe-all-stage4-binutils:
6379 maybe-clean-stage4-binutils:
6380 @if binutils-bootstrap
6381 maybe-all-stage4-binutils: all-stage4-binutils
6382 all-stage4: all-stage4-binutils
6383 TARGET-stage4-binutils = $(TARGET-binutils)
6384 all-stage4-binutils: configure-stage4-binutils
6385 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6386 @r=`${PWD_COMMAND}`; export r; \
6387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6388 $(HOST_EXPORTS) \
6389 $(POSTSTAGE1_HOST_EXPORTS) \
6390 cd $(HOST_SUBDIR)/binutils && \
6391 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6392 $(TARGET-stage4-binutils)
6394 maybe-clean-stage4-binutils: clean-stage4-binutils
6395 clean-stage4: clean-stage4-binutils
6396 clean-stage4-binutils:
6397 @if [ $(current_stage) = stage4 ]; then \
6398 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6399 else \
6400 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
6401 $(MAKE) stage4-start; \
6402 fi; \
6403 cd $(HOST_SUBDIR)/binutils && \
6404 $(MAKE) $(FLAGS_TO_PASS) \
6405 $(POSTSTAGE1_FLAGS_TO_PASS) \
6406 clean
6407 @endif binutils-bootstrap
6410 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
6411 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
6412 maybe-all-stageprofile-binutils:
6413 maybe-clean-stageprofile-binutils:
6414 @if binutils-bootstrap
6415 maybe-all-stageprofile-binutils: all-stageprofile-binutils
6416 all-stageprofile: all-stageprofile-binutils
6417 TARGET-stageprofile-binutils = $(TARGET-binutils)
6418 all-stageprofile-binutils: configure-stageprofile-binutils
6419 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6420 @r=`${PWD_COMMAND}`; export r; \
6421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6422 $(HOST_EXPORTS) \
6423 $(POSTSTAGE1_HOST_EXPORTS) \
6424 cd $(HOST_SUBDIR)/binutils && \
6425 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
6426 $(TARGET-stageprofile-binutils)
6428 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
6429 clean-stageprofile: clean-stageprofile-binutils
6430 clean-stageprofile-binutils:
6431 @if [ $(current_stage) = stageprofile ]; then \
6432 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6433 else \
6434 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
6435 $(MAKE) stageprofile-start; \
6436 fi; \
6437 cd $(HOST_SUBDIR)/binutils && \
6438 $(MAKE) $(FLAGS_TO_PASS) \
6439 $(POSTSTAGE1_FLAGS_TO_PASS) \
6440 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
6441 @endif binutils-bootstrap
6444 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
6445 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
6446 maybe-all-stagefeedback-binutils:
6447 maybe-clean-stagefeedback-binutils:
6448 @if binutils-bootstrap
6449 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
6450 all-stagefeedback: all-stagefeedback-binutils
6451 TARGET-stagefeedback-binutils = $(TARGET-binutils)
6452 all-stagefeedback-binutils: configure-stagefeedback-binutils
6453 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6454 @r=`${PWD_COMMAND}`; export r; \
6455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6456 $(HOST_EXPORTS) \
6457 $(POSTSTAGE1_HOST_EXPORTS) \
6458 cd $(HOST_SUBDIR)/binutils && \
6459 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
6460 $(TARGET-stagefeedback-binutils)
6462 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
6463 clean-stagefeedback: clean-stagefeedback-binutils
6464 clean-stagefeedback-binutils:
6465 @if [ $(current_stage) = stagefeedback ]; then \
6466 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6467 else \
6468 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
6469 $(MAKE) stagefeedback-start; \
6470 fi; \
6471 cd $(HOST_SUBDIR)/binutils && \
6472 $(MAKE) $(FLAGS_TO_PASS) \
6473 $(POSTSTAGE1_FLAGS_TO_PASS) \
6474 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
6475 @endif binutils-bootstrap
6481 .PHONY: check-binutils maybe-check-binutils
6482 maybe-check-binutils:
6483 @if binutils
6484 maybe-check-binutils: check-binutils
6486 check-binutils:
6487 @: $(MAKE); $(unstage)
6488 @r=`${PWD_COMMAND}`; export r; \
6489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6490 $(HOST_EXPORTS) \
6491 (cd $(HOST_SUBDIR)/binutils && \
6492 $(MAKE) $(FLAGS_TO_PASS) check)
6494 @endif binutils
6496 .PHONY: install-binutils maybe-install-binutils
6497 maybe-install-binutils:
6498 @if binutils
6499 maybe-install-binutils: install-binutils
6501 install-binutils: installdirs
6502 @: $(MAKE); $(unstage)
6503 @r=`${PWD_COMMAND}`; export r; \
6504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6505 $(HOST_EXPORTS) \
6506 (cd $(HOST_SUBDIR)/binutils && \
6507 $(MAKE) $(FLAGS_TO_PASS) install)
6509 @endif binutils
6511 # Other targets (info, dvi, pdf, etc.)
6513 .PHONY: maybe-info-binutils info-binutils
6514 maybe-info-binutils:
6515 @if binutils
6516 maybe-info-binutils: info-binutils
6518 info-binutils: \
6519 configure-binutils
6520 @[ -f ./binutils/Makefile ] || exit 0; \
6521 r=`${PWD_COMMAND}`; export r; \
6522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6523 $(HOST_EXPORTS) \
6524 for flag in $(EXTRA_HOST_FLAGS) ; do \
6525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6526 done; \
6527 echo "Doing info in binutils" ; \
6528 (cd $(HOST_SUBDIR)/binutils && \
6529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6531 "RANLIB=$${RANLIB}" \
6532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6533 info) \
6534 || exit 1
6536 @endif binutils
6538 .PHONY: maybe-dvi-binutils dvi-binutils
6539 maybe-dvi-binutils:
6540 @if binutils
6541 maybe-dvi-binutils: dvi-binutils
6543 dvi-binutils: \
6544 configure-binutils
6545 @[ -f ./binutils/Makefile ] || exit 0; \
6546 r=`${PWD_COMMAND}`; export r; \
6547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6548 $(HOST_EXPORTS) \
6549 for flag in $(EXTRA_HOST_FLAGS) ; do \
6550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6551 done; \
6552 echo "Doing dvi in binutils" ; \
6553 (cd $(HOST_SUBDIR)/binutils && \
6554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6556 "RANLIB=$${RANLIB}" \
6557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6558 dvi) \
6559 || exit 1
6561 @endif binutils
6563 .PHONY: maybe-pdf-binutils pdf-binutils
6564 maybe-pdf-binutils:
6565 @if binutils
6566 maybe-pdf-binutils: pdf-binutils
6568 pdf-binutils: \
6569 configure-binutils
6570 @[ -f ./binutils/Makefile ] || exit 0; \
6571 r=`${PWD_COMMAND}`; export r; \
6572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6573 $(HOST_EXPORTS) \
6574 for flag in $(EXTRA_HOST_FLAGS) ; do \
6575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6576 done; \
6577 echo "Doing pdf in binutils" ; \
6578 (cd $(HOST_SUBDIR)/binutils && \
6579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6581 "RANLIB=$${RANLIB}" \
6582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6583 pdf) \
6584 || exit 1
6586 @endif binutils
6588 .PHONY: maybe-html-binutils html-binutils
6589 maybe-html-binutils:
6590 @if binutils
6591 maybe-html-binutils: html-binutils
6593 html-binutils: \
6594 configure-binutils
6595 @[ -f ./binutils/Makefile ] || exit 0; \
6596 r=`${PWD_COMMAND}`; export r; \
6597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6598 $(HOST_EXPORTS) \
6599 for flag in $(EXTRA_HOST_FLAGS) ; do \
6600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6601 done; \
6602 echo "Doing html in binutils" ; \
6603 (cd $(HOST_SUBDIR)/binutils && \
6604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6606 "RANLIB=$${RANLIB}" \
6607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6608 html) \
6609 || exit 1
6611 @endif binutils
6613 .PHONY: maybe-TAGS-binutils TAGS-binutils
6614 maybe-TAGS-binutils:
6615 @if binutils
6616 maybe-TAGS-binutils: TAGS-binutils
6618 TAGS-binutils: \
6619 configure-binutils
6620 @[ -f ./binutils/Makefile ] || exit 0; \
6621 r=`${PWD_COMMAND}`; export r; \
6622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6623 $(HOST_EXPORTS) \
6624 for flag in $(EXTRA_HOST_FLAGS) ; do \
6625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6626 done; \
6627 echo "Doing TAGS in binutils" ; \
6628 (cd $(HOST_SUBDIR)/binutils && \
6629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6631 "RANLIB=$${RANLIB}" \
6632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6633 TAGS) \
6634 || exit 1
6636 @endif binutils
6638 .PHONY: maybe-install-info-binutils install-info-binutils
6639 maybe-install-info-binutils:
6640 @if binutils
6641 maybe-install-info-binutils: install-info-binutils
6643 install-info-binutils: \
6644 configure-binutils \
6645 info-binutils
6646 @[ -f ./binutils/Makefile ] || exit 0; \
6647 r=`${PWD_COMMAND}`; export r; \
6648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6649 $(HOST_EXPORTS) \
6650 for flag in $(EXTRA_HOST_FLAGS) ; do \
6651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6652 done; \
6653 echo "Doing install-info in binutils" ; \
6654 (cd $(HOST_SUBDIR)/binutils && \
6655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6657 "RANLIB=$${RANLIB}" \
6658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6659 install-info) \
6660 || exit 1
6662 @endif binutils
6664 .PHONY: maybe-install-html-binutils install-html-binutils
6665 maybe-install-html-binutils:
6666 @if binutils
6667 maybe-install-html-binutils: install-html-binutils
6669 install-html-binutils: \
6670 configure-binutils \
6671 html-binutils
6672 @[ -f ./binutils/Makefile ] || exit 0; \
6673 r=`${PWD_COMMAND}`; export r; \
6674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6675 $(HOST_EXPORTS) \
6676 for flag in $(EXTRA_HOST_FLAGS) ; do \
6677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6678 done; \
6679 echo "Doing install-html in binutils" ; \
6680 (cd $(HOST_SUBDIR)/binutils && \
6681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6683 "RANLIB=$${RANLIB}" \
6684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6685 install-html) \
6686 || exit 1
6688 @endif binutils
6690 .PHONY: maybe-installcheck-binutils installcheck-binutils
6691 maybe-installcheck-binutils:
6692 @if binutils
6693 maybe-installcheck-binutils: installcheck-binutils
6695 installcheck-binutils: \
6696 configure-binutils
6697 @[ -f ./binutils/Makefile ] || exit 0; \
6698 r=`${PWD_COMMAND}`; export r; \
6699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6700 $(HOST_EXPORTS) \
6701 for flag in $(EXTRA_HOST_FLAGS) ; do \
6702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6703 done; \
6704 echo "Doing installcheck in binutils" ; \
6705 (cd $(HOST_SUBDIR)/binutils && \
6706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6708 "RANLIB=$${RANLIB}" \
6709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6710 installcheck) \
6711 || exit 1
6713 @endif binutils
6715 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6716 maybe-mostlyclean-binutils:
6717 @if binutils
6718 maybe-mostlyclean-binutils: mostlyclean-binutils
6720 mostlyclean-binutils:
6721 @[ -f ./binutils/Makefile ] || exit 0; \
6722 r=`${PWD_COMMAND}`; export r; \
6723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6724 $(HOST_EXPORTS) \
6725 for flag in $(EXTRA_HOST_FLAGS) ; do \
6726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6727 done; \
6728 echo "Doing mostlyclean in binutils" ; \
6729 (cd $(HOST_SUBDIR)/binutils && \
6730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6732 "RANLIB=$${RANLIB}" \
6733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6734 mostlyclean) \
6735 || exit 1
6737 @endif binutils
6739 .PHONY: maybe-clean-binutils clean-binutils
6740 maybe-clean-binutils:
6741 @if binutils
6742 maybe-clean-binutils: clean-binutils
6744 clean-binutils:
6745 @[ -f ./binutils/Makefile ] || exit 0; \
6746 r=`${PWD_COMMAND}`; export r; \
6747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6748 $(HOST_EXPORTS) \
6749 for flag in $(EXTRA_HOST_FLAGS) ; do \
6750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6751 done; \
6752 echo "Doing clean in binutils" ; \
6753 (cd $(HOST_SUBDIR)/binutils && \
6754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6756 "RANLIB=$${RANLIB}" \
6757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6758 clean) \
6759 || exit 1
6761 @endif binutils
6763 .PHONY: maybe-distclean-binutils distclean-binutils
6764 maybe-distclean-binutils:
6765 @if binutils
6766 maybe-distclean-binutils: distclean-binutils
6768 distclean-binutils:
6769 @[ -f ./binutils/Makefile ] || exit 0; \
6770 r=`${PWD_COMMAND}`; export r; \
6771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6772 $(HOST_EXPORTS) \
6773 for flag in $(EXTRA_HOST_FLAGS) ; do \
6774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6775 done; \
6776 echo "Doing distclean in binutils" ; \
6777 (cd $(HOST_SUBDIR)/binutils && \
6778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6780 "RANLIB=$${RANLIB}" \
6781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6782 distclean) \
6783 || exit 1
6785 @endif binutils
6787 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6788 maybe-maintainer-clean-binutils:
6789 @if binutils
6790 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6792 maintainer-clean-binutils:
6793 @[ -f ./binutils/Makefile ] || exit 0; \
6794 r=`${PWD_COMMAND}`; export r; \
6795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6796 $(HOST_EXPORTS) \
6797 for flag in $(EXTRA_HOST_FLAGS) ; do \
6798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6799 done; \
6800 echo "Doing maintainer-clean in binutils" ; \
6801 (cd $(HOST_SUBDIR)/binutils && \
6802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6804 "RANLIB=$${RANLIB}" \
6805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6806 maintainer-clean) \
6807 || exit 1
6809 @endif binutils
6813 .PHONY: configure-bison maybe-configure-bison
6814 maybe-configure-bison:
6815 @if gcc-bootstrap
6816 configure-bison: stage_current
6817 @endif gcc-bootstrap
6818 @if bison
6819 maybe-configure-bison: configure-bison
6820 configure-bison:
6821 @: $(MAKE); $(unstage)
6822 @r=`${PWD_COMMAND}`; export r; \
6823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6824 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6825 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
6826 $(HOST_EXPORTS) \
6827 echo Configuring in $(HOST_SUBDIR)/bison; \
6828 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6829 case $(srcdir) in \
6830 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6831 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6832 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6833 esac; \
6834 srcdiroption="--srcdir=$${topdir}/bison"; \
6835 libsrcdir="$$s/bison"; \
6836 $(SHELL) $${libsrcdir}/configure \
6837 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6838 --target=${target_alias} $${srcdiroption} \
6839 || exit 1
6840 @endif bison
6846 .PHONY: all-bison maybe-all-bison
6847 maybe-all-bison:
6848 @if gcc-bootstrap
6849 all-bison: stage_current
6850 @endif gcc-bootstrap
6851 @if bison
6852 TARGET-bison=all
6853 maybe-all-bison: all-bison
6854 all-bison: configure-bison
6855 @: $(MAKE); $(unstage)
6856 @r=`${PWD_COMMAND}`; export r; \
6857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6858 $(HOST_EXPORTS) \
6859 (cd $(HOST_SUBDIR)/bison && \
6860 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
6861 @endif bison
6866 .PHONY: check-bison maybe-check-bison
6867 maybe-check-bison:
6868 @if bison
6869 maybe-check-bison: check-bison
6871 # This module is only tested in a native toolchain.
6872 check-bison:
6873 @: $(MAKE); $(unstage)
6874 @if [ '$(host)' = '$(target)' ] ; then \
6875 r=`${PWD_COMMAND}`; export r; \
6876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6877 $(HOST_EXPORTS) \
6878 (cd $(HOST_SUBDIR)/bison && \
6879 $(MAKE) $(FLAGS_TO_PASS) check); \
6882 @endif bison
6884 .PHONY: install-bison maybe-install-bison
6885 maybe-install-bison:
6886 @if bison
6887 maybe-install-bison: install-bison
6889 install-bison: installdirs
6890 @: $(MAKE); $(unstage)
6891 @r=`${PWD_COMMAND}`; export r; \
6892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6893 $(HOST_EXPORTS) \
6894 (cd $(HOST_SUBDIR)/bison && \
6895 $(MAKE) $(FLAGS_TO_PASS) install)
6897 @endif bison
6899 # Other targets (info, dvi, pdf, etc.)
6901 .PHONY: maybe-info-bison info-bison
6902 maybe-info-bison:
6903 @if bison
6904 maybe-info-bison: info-bison
6906 info-bison: \
6907 configure-bison
6908 @: $(MAKE); $(unstage)
6909 @[ -f ./bison/Makefile ] || exit 0; \
6910 r=`${PWD_COMMAND}`; export r; \
6911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6912 $(HOST_EXPORTS) \
6913 for flag in $(EXTRA_HOST_FLAGS) ; do \
6914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6915 done; \
6916 echo "Doing info in bison" ; \
6917 (cd $(HOST_SUBDIR)/bison && \
6918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6920 "RANLIB=$${RANLIB}" \
6921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6922 info) \
6923 || exit 1
6925 @endif bison
6927 .PHONY: maybe-dvi-bison dvi-bison
6928 maybe-dvi-bison:
6929 @if bison
6930 maybe-dvi-bison: dvi-bison
6932 dvi-bison: \
6933 configure-bison
6934 @: $(MAKE); $(unstage)
6935 @[ -f ./bison/Makefile ] || exit 0; \
6936 r=`${PWD_COMMAND}`; export r; \
6937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6938 $(HOST_EXPORTS) \
6939 for flag in $(EXTRA_HOST_FLAGS) ; do \
6940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6941 done; \
6942 echo "Doing dvi in bison" ; \
6943 (cd $(HOST_SUBDIR)/bison && \
6944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6946 "RANLIB=$${RANLIB}" \
6947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6948 dvi) \
6949 || exit 1
6951 @endif bison
6953 .PHONY: maybe-pdf-bison pdf-bison
6954 maybe-pdf-bison:
6955 @if bison
6956 maybe-pdf-bison: pdf-bison
6958 pdf-bison: \
6959 configure-bison
6960 @: $(MAKE); $(unstage)
6961 @[ -f ./bison/Makefile ] || exit 0; \
6962 r=`${PWD_COMMAND}`; export r; \
6963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6964 $(HOST_EXPORTS) \
6965 for flag in $(EXTRA_HOST_FLAGS) ; do \
6966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6967 done; \
6968 echo "Doing pdf in bison" ; \
6969 (cd $(HOST_SUBDIR)/bison && \
6970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6972 "RANLIB=$${RANLIB}" \
6973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6974 pdf) \
6975 || exit 1
6977 @endif bison
6979 .PHONY: maybe-html-bison html-bison
6980 maybe-html-bison:
6981 @if bison
6982 maybe-html-bison: html-bison
6984 html-bison: \
6985 configure-bison
6986 @: $(MAKE); $(unstage)
6987 @[ -f ./bison/Makefile ] || exit 0; \
6988 r=`${PWD_COMMAND}`; export r; \
6989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6990 $(HOST_EXPORTS) \
6991 for flag in $(EXTRA_HOST_FLAGS) ; do \
6992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6993 done; \
6994 echo "Doing html in bison" ; \
6995 (cd $(HOST_SUBDIR)/bison && \
6996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6998 "RANLIB=$${RANLIB}" \
6999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7000 html) \
7001 || exit 1
7003 @endif bison
7005 .PHONY: maybe-TAGS-bison TAGS-bison
7006 maybe-TAGS-bison:
7007 @if bison
7008 maybe-TAGS-bison: TAGS-bison
7010 TAGS-bison: \
7011 configure-bison
7012 @: $(MAKE); $(unstage)
7013 @[ -f ./bison/Makefile ] || exit 0; \
7014 r=`${PWD_COMMAND}`; export r; \
7015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7016 $(HOST_EXPORTS) \
7017 for flag in $(EXTRA_HOST_FLAGS) ; do \
7018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7019 done; \
7020 echo "Doing TAGS in bison" ; \
7021 (cd $(HOST_SUBDIR)/bison && \
7022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7024 "RANLIB=$${RANLIB}" \
7025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7026 TAGS) \
7027 || exit 1
7029 @endif bison
7031 .PHONY: maybe-install-info-bison install-info-bison
7032 maybe-install-info-bison:
7033 @if bison
7034 maybe-install-info-bison: install-info-bison
7036 install-info-bison: \
7037 configure-bison \
7038 info-bison
7039 @: $(MAKE); $(unstage)
7040 @[ -f ./bison/Makefile ] || exit 0; \
7041 r=`${PWD_COMMAND}`; export r; \
7042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7043 $(HOST_EXPORTS) \
7044 for flag in $(EXTRA_HOST_FLAGS) ; do \
7045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7046 done; \
7047 echo "Doing install-info in bison" ; \
7048 (cd $(HOST_SUBDIR)/bison && \
7049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7051 "RANLIB=$${RANLIB}" \
7052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7053 install-info) \
7054 || exit 1
7056 @endif bison
7058 .PHONY: maybe-install-html-bison install-html-bison
7059 maybe-install-html-bison:
7060 @if bison
7061 maybe-install-html-bison: install-html-bison
7063 install-html-bison: \
7064 configure-bison \
7065 html-bison
7066 @: $(MAKE); $(unstage)
7067 @[ -f ./bison/Makefile ] || exit 0; \
7068 r=`${PWD_COMMAND}`; export r; \
7069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7070 $(HOST_EXPORTS) \
7071 for flag in $(EXTRA_HOST_FLAGS) ; do \
7072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7073 done; \
7074 echo "Doing install-html in bison" ; \
7075 (cd $(HOST_SUBDIR)/bison && \
7076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7078 "RANLIB=$${RANLIB}" \
7079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7080 install-html) \
7081 || exit 1
7083 @endif bison
7085 .PHONY: maybe-installcheck-bison installcheck-bison
7086 maybe-installcheck-bison:
7087 @if bison
7088 maybe-installcheck-bison: installcheck-bison
7090 installcheck-bison: \
7091 configure-bison
7092 @: $(MAKE); $(unstage)
7093 @[ -f ./bison/Makefile ] || exit 0; \
7094 r=`${PWD_COMMAND}`; export r; \
7095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7096 $(HOST_EXPORTS) \
7097 for flag in $(EXTRA_HOST_FLAGS) ; do \
7098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7099 done; \
7100 echo "Doing installcheck in bison" ; \
7101 (cd $(HOST_SUBDIR)/bison && \
7102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7104 "RANLIB=$${RANLIB}" \
7105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7106 installcheck) \
7107 || exit 1
7109 @endif bison
7111 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
7112 maybe-mostlyclean-bison:
7113 @if bison
7114 maybe-mostlyclean-bison: mostlyclean-bison
7116 mostlyclean-bison:
7117 @: $(MAKE); $(unstage)
7118 @[ -f ./bison/Makefile ] || exit 0; \
7119 r=`${PWD_COMMAND}`; export r; \
7120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7121 $(HOST_EXPORTS) \
7122 for flag in $(EXTRA_HOST_FLAGS) ; do \
7123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7124 done; \
7125 echo "Doing mostlyclean in bison" ; \
7126 (cd $(HOST_SUBDIR)/bison && \
7127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7129 "RANLIB=$${RANLIB}" \
7130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7131 mostlyclean) \
7132 || exit 1
7134 @endif bison
7136 .PHONY: maybe-clean-bison clean-bison
7137 maybe-clean-bison:
7138 @if bison
7139 maybe-clean-bison: clean-bison
7141 clean-bison:
7142 @: $(MAKE); $(unstage)
7143 @[ -f ./bison/Makefile ] || exit 0; \
7144 r=`${PWD_COMMAND}`; export r; \
7145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7146 $(HOST_EXPORTS) \
7147 for flag in $(EXTRA_HOST_FLAGS) ; do \
7148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7149 done; \
7150 echo "Doing clean in bison" ; \
7151 (cd $(HOST_SUBDIR)/bison && \
7152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7154 "RANLIB=$${RANLIB}" \
7155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7156 clean) \
7157 || exit 1
7159 @endif bison
7161 .PHONY: maybe-distclean-bison distclean-bison
7162 maybe-distclean-bison:
7163 @if bison
7164 maybe-distclean-bison: distclean-bison
7166 distclean-bison:
7167 @: $(MAKE); $(unstage)
7168 @[ -f ./bison/Makefile ] || exit 0; \
7169 r=`${PWD_COMMAND}`; export r; \
7170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7171 $(HOST_EXPORTS) \
7172 for flag in $(EXTRA_HOST_FLAGS) ; do \
7173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7174 done; \
7175 echo "Doing distclean in bison" ; \
7176 (cd $(HOST_SUBDIR)/bison && \
7177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7179 "RANLIB=$${RANLIB}" \
7180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7181 distclean) \
7182 || exit 1
7184 @endif bison
7186 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
7187 maybe-maintainer-clean-bison:
7188 @if bison
7189 maybe-maintainer-clean-bison: maintainer-clean-bison
7191 maintainer-clean-bison:
7192 @: $(MAKE); $(unstage)
7193 @[ -f ./bison/Makefile ] || exit 0; \
7194 r=`${PWD_COMMAND}`; export r; \
7195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7196 $(HOST_EXPORTS) \
7197 for flag in $(EXTRA_HOST_FLAGS) ; do \
7198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7199 done; \
7200 echo "Doing maintainer-clean in bison" ; \
7201 (cd $(HOST_SUBDIR)/bison && \
7202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7204 "RANLIB=$${RANLIB}" \
7205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7206 maintainer-clean) \
7207 || exit 1
7209 @endif bison
7213 .PHONY: configure-byacc maybe-configure-byacc
7214 maybe-configure-byacc:
7215 @if gcc-bootstrap
7216 configure-byacc: stage_current
7217 @endif gcc-bootstrap
7218 @if byacc
7219 maybe-configure-byacc: configure-byacc
7220 configure-byacc:
7221 @: $(MAKE); $(unstage)
7222 @r=`${PWD_COMMAND}`; export r; \
7223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7224 test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
7225 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
7226 $(HOST_EXPORTS) \
7227 echo Configuring in $(HOST_SUBDIR)/byacc; \
7228 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
7229 case $(srcdir) in \
7230 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7231 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
7232 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7233 esac; \
7234 srcdiroption="--srcdir=$${topdir}/byacc"; \
7235 libsrcdir="$$s/byacc"; \
7236 $(SHELL) $${libsrcdir}/configure \
7237 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7238 --target=${target_alias} $${srcdiroption} \
7239 || exit 1
7240 @endif byacc
7246 .PHONY: all-byacc maybe-all-byacc
7247 maybe-all-byacc:
7248 @if gcc-bootstrap
7249 all-byacc: stage_current
7250 @endif gcc-bootstrap
7251 @if byacc
7252 TARGET-byacc=all
7253 maybe-all-byacc: all-byacc
7254 all-byacc: configure-byacc
7255 @: $(MAKE); $(unstage)
7256 @r=`${PWD_COMMAND}`; export r; \
7257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7258 $(HOST_EXPORTS) \
7259 (cd $(HOST_SUBDIR)/byacc && \
7260 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
7261 @endif byacc
7266 .PHONY: check-byacc maybe-check-byacc
7267 maybe-check-byacc:
7268 @if byacc
7269 maybe-check-byacc: check-byacc
7271 # This module is only tested in a native toolchain.
7272 check-byacc:
7273 @: $(MAKE); $(unstage)
7274 @if [ '$(host)' = '$(target)' ] ; then \
7275 r=`${PWD_COMMAND}`; export r; \
7276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7277 $(HOST_EXPORTS) \
7278 (cd $(HOST_SUBDIR)/byacc && \
7279 $(MAKE) $(FLAGS_TO_PASS) check); \
7282 @endif byacc
7284 .PHONY: install-byacc maybe-install-byacc
7285 maybe-install-byacc:
7286 @if byacc
7287 maybe-install-byacc: install-byacc
7289 install-byacc: installdirs
7290 @: $(MAKE); $(unstage)
7291 @r=`${PWD_COMMAND}`; export r; \
7292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7293 $(HOST_EXPORTS) \
7294 (cd $(HOST_SUBDIR)/byacc && \
7295 $(MAKE) $(FLAGS_TO_PASS) install)
7297 @endif byacc
7299 # Other targets (info, dvi, pdf, etc.)
7301 .PHONY: maybe-info-byacc info-byacc
7302 maybe-info-byacc:
7303 @if byacc
7304 maybe-info-byacc: info-byacc
7306 info-byacc: \
7307 configure-byacc
7308 @: $(MAKE); $(unstage)
7309 @[ -f ./byacc/Makefile ] || exit 0; \
7310 r=`${PWD_COMMAND}`; export r; \
7311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7312 $(HOST_EXPORTS) \
7313 for flag in $(EXTRA_HOST_FLAGS) ; do \
7314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7315 done; \
7316 echo "Doing info in byacc" ; \
7317 (cd $(HOST_SUBDIR)/byacc && \
7318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7320 "RANLIB=$${RANLIB}" \
7321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7322 info) \
7323 || exit 1
7325 @endif byacc
7327 .PHONY: maybe-dvi-byacc dvi-byacc
7328 maybe-dvi-byacc:
7329 @if byacc
7330 maybe-dvi-byacc: dvi-byacc
7332 dvi-byacc: \
7333 configure-byacc
7334 @: $(MAKE); $(unstage)
7335 @[ -f ./byacc/Makefile ] || exit 0; \
7336 r=`${PWD_COMMAND}`; export r; \
7337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7338 $(HOST_EXPORTS) \
7339 for flag in $(EXTRA_HOST_FLAGS) ; do \
7340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7341 done; \
7342 echo "Doing dvi in byacc" ; \
7343 (cd $(HOST_SUBDIR)/byacc && \
7344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7346 "RANLIB=$${RANLIB}" \
7347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7348 dvi) \
7349 || exit 1
7351 @endif byacc
7353 .PHONY: maybe-pdf-byacc pdf-byacc
7354 maybe-pdf-byacc:
7355 @if byacc
7356 maybe-pdf-byacc: pdf-byacc
7358 pdf-byacc: \
7359 configure-byacc
7360 @: $(MAKE); $(unstage)
7361 @[ -f ./byacc/Makefile ] || exit 0; \
7362 r=`${PWD_COMMAND}`; export r; \
7363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7364 $(HOST_EXPORTS) \
7365 for flag in $(EXTRA_HOST_FLAGS) ; do \
7366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7367 done; \
7368 echo "Doing pdf in byacc" ; \
7369 (cd $(HOST_SUBDIR)/byacc && \
7370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7372 "RANLIB=$${RANLIB}" \
7373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7374 pdf) \
7375 || exit 1
7377 @endif byacc
7379 .PHONY: maybe-html-byacc html-byacc
7380 maybe-html-byacc:
7381 @if byacc
7382 maybe-html-byacc: html-byacc
7384 html-byacc: \
7385 configure-byacc
7386 @: $(MAKE); $(unstage)
7387 @[ -f ./byacc/Makefile ] || exit 0; \
7388 r=`${PWD_COMMAND}`; export r; \
7389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7390 $(HOST_EXPORTS) \
7391 for flag in $(EXTRA_HOST_FLAGS) ; do \
7392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7393 done; \
7394 echo "Doing html in byacc" ; \
7395 (cd $(HOST_SUBDIR)/byacc && \
7396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7398 "RANLIB=$${RANLIB}" \
7399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7400 html) \
7401 || exit 1
7403 @endif byacc
7405 .PHONY: maybe-TAGS-byacc TAGS-byacc
7406 maybe-TAGS-byacc:
7407 @if byacc
7408 maybe-TAGS-byacc: TAGS-byacc
7410 TAGS-byacc: \
7411 configure-byacc
7412 @: $(MAKE); $(unstage)
7413 @[ -f ./byacc/Makefile ] || exit 0; \
7414 r=`${PWD_COMMAND}`; export r; \
7415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7416 $(HOST_EXPORTS) \
7417 for flag in $(EXTRA_HOST_FLAGS) ; do \
7418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7419 done; \
7420 echo "Doing TAGS in byacc" ; \
7421 (cd $(HOST_SUBDIR)/byacc && \
7422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7424 "RANLIB=$${RANLIB}" \
7425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7426 TAGS) \
7427 || exit 1
7429 @endif byacc
7431 .PHONY: maybe-install-info-byacc install-info-byacc
7432 maybe-install-info-byacc:
7433 @if byacc
7434 maybe-install-info-byacc: install-info-byacc
7436 install-info-byacc: \
7437 configure-byacc \
7438 info-byacc
7439 @: $(MAKE); $(unstage)
7440 @[ -f ./byacc/Makefile ] || exit 0; \
7441 r=`${PWD_COMMAND}`; export r; \
7442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7443 $(HOST_EXPORTS) \
7444 for flag in $(EXTRA_HOST_FLAGS) ; do \
7445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7446 done; \
7447 echo "Doing install-info in byacc" ; \
7448 (cd $(HOST_SUBDIR)/byacc && \
7449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7451 "RANLIB=$${RANLIB}" \
7452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7453 install-info) \
7454 || exit 1
7456 @endif byacc
7458 .PHONY: maybe-install-html-byacc install-html-byacc
7459 maybe-install-html-byacc:
7460 @if byacc
7461 maybe-install-html-byacc: install-html-byacc
7463 install-html-byacc: \
7464 configure-byacc \
7465 html-byacc
7466 @: $(MAKE); $(unstage)
7467 @[ -f ./byacc/Makefile ] || exit 0; \
7468 r=`${PWD_COMMAND}`; export r; \
7469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7470 $(HOST_EXPORTS) \
7471 for flag in $(EXTRA_HOST_FLAGS) ; do \
7472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7473 done; \
7474 echo "Doing install-html in byacc" ; \
7475 (cd $(HOST_SUBDIR)/byacc && \
7476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7478 "RANLIB=$${RANLIB}" \
7479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7480 install-html) \
7481 || exit 1
7483 @endif byacc
7485 .PHONY: maybe-installcheck-byacc installcheck-byacc
7486 maybe-installcheck-byacc:
7487 @if byacc
7488 maybe-installcheck-byacc: installcheck-byacc
7490 installcheck-byacc: \
7491 configure-byacc
7492 @: $(MAKE); $(unstage)
7493 @[ -f ./byacc/Makefile ] || exit 0; \
7494 r=`${PWD_COMMAND}`; export r; \
7495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7496 $(HOST_EXPORTS) \
7497 for flag in $(EXTRA_HOST_FLAGS) ; do \
7498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7499 done; \
7500 echo "Doing installcheck in byacc" ; \
7501 (cd $(HOST_SUBDIR)/byacc && \
7502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7504 "RANLIB=$${RANLIB}" \
7505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7506 installcheck) \
7507 || exit 1
7509 @endif byacc
7511 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
7512 maybe-mostlyclean-byacc:
7513 @if byacc
7514 maybe-mostlyclean-byacc: mostlyclean-byacc
7516 mostlyclean-byacc:
7517 @: $(MAKE); $(unstage)
7518 @[ -f ./byacc/Makefile ] || exit 0; \
7519 r=`${PWD_COMMAND}`; export r; \
7520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7521 $(HOST_EXPORTS) \
7522 for flag in $(EXTRA_HOST_FLAGS) ; do \
7523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7524 done; \
7525 echo "Doing mostlyclean in byacc" ; \
7526 (cd $(HOST_SUBDIR)/byacc && \
7527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7529 "RANLIB=$${RANLIB}" \
7530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7531 mostlyclean) \
7532 || exit 1
7534 @endif byacc
7536 .PHONY: maybe-clean-byacc clean-byacc
7537 maybe-clean-byacc:
7538 @if byacc
7539 maybe-clean-byacc: clean-byacc
7541 clean-byacc:
7542 @: $(MAKE); $(unstage)
7543 @[ -f ./byacc/Makefile ] || exit 0; \
7544 r=`${PWD_COMMAND}`; export r; \
7545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7546 $(HOST_EXPORTS) \
7547 for flag in $(EXTRA_HOST_FLAGS) ; do \
7548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7549 done; \
7550 echo "Doing clean in byacc" ; \
7551 (cd $(HOST_SUBDIR)/byacc && \
7552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7554 "RANLIB=$${RANLIB}" \
7555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7556 clean) \
7557 || exit 1
7559 @endif byacc
7561 .PHONY: maybe-distclean-byacc distclean-byacc
7562 maybe-distclean-byacc:
7563 @if byacc
7564 maybe-distclean-byacc: distclean-byacc
7566 distclean-byacc:
7567 @: $(MAKE); $(unstage)
7568 @[ -f ./byacc/Makefile ] || exit 0; \
7569 r=`${PWD_COMMAND}`; export r; \
7570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7571 $(HOST_EXPORTS) \
7572 for flag in $(EXTRA_HOST_FLAGS) ; do \
7573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7574 done; \
7575 echo "Doing distclean in byacc" ; \
7576 (cd $(HOST_SUBDIR)/byacc && \
7577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7579 "RANLIB=$${RANLIB}" \
7580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7581 distclean) \
7582 || exit 1
7584 @endif byacc
7586 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
7587 maybe-maintainer-clean-byacc:
7588 @if byacc
7589 maybe-maintainer-clean-byacc: maintainer-clean-byacc
7591 maintainer-clean-byacc:
7592 @: $(MAKE); $(unstage)
7593 @[ -f ./byacc/Makefile ] || exit 0; \
7594 r=`${PWD_COMMAND}`; export r; \
7595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7596 $(HOST_EXPORTS) \
7597 for flag in $(EXTRA_HOST_FLAGS) ; do \
7598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7599 done; \
7600 echo "Doing maintainer-clean in byacc" ; \
7601 (cd $(HOST_SUBDIR)/byacc && \
7602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7604 "RANLIB=$${RANLIB}" \
7605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7606 maintainer-clean) \
7607 || exit 1
7609 @endif byacc
7613 .PHONY: configure-bzip2 maybe-configure-bzip2
7614 maybe-configure-bzip2:
7615 @if gcc-bootstrap
7616 configure-bzip2: stage_current
7617 @endif gcc-bootstrap
7618 @if bzip2
7619 maybe-configure-bzip2: configure-bzip2
7620 configure-bzip2:
7621 @: $(MAKE); $(unstage)
7622 @r=`${PWD_COMMAND}`; export r; \
7623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7624 test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
7625 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
7626 $(HOST_EXPORTS) \
7627 echo Configuring in $(HOST_SUBDIR)/bzip2; \
7628 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
7629 case $(srcdir) in \
7630 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7631 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
7632 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7633 esac; \
7634 srcdiroption="--srcdir=$${topdir}/bzip2"; \
7635 libsrcdir="$$s/bzip2"; \
7636 $(SHELL) $${libsrcdir}/configure \
7637 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7638 --target=${target_alias} $${srcdiroption} \
7639 || exit 1
7640 @endif bzip2
7646 .PHONY: all-bzip2 maybe-all-bzip2
7647 maybe-all-bzip2:
7648 @if gcc-bootstrap
7649 all-bzip2: stage_current
7650 @endif gcc-bootstrap
7651 @if bzip2
7652 TARGET-bzip2=all
7653 maybe-all-bzip2: all-bzip2
7654 all-bzip2: configure-bzip2
7655 @: $(MAKE); $(unstage)
7656 @r=`${PWD_COMMAND}`; export r; \
7657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7658 $(HOST_EXPORTS) \
7659 (cd $(HOST_SUBDIR)/bzip2 && \
7660 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
7661 @endif bzip2
7666 .PHONY: check-bzip2 maybe-check-bzip2
7667 maybe-check-bzip2:
7668 @if bzip2
7669 maybe-check-bzip2: check-bzip2
7671 check-bzip2:
7672 @: $(MAKE); $(unstage)
7673 @r=`${PWD_COMMAND}`; export r; \
7674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7675 $(HOST_EXPORTS) \
7676 (cd $(HOST_SUBDIR)/bzip2 && \
7677 $(MAKE) $(FLAGS_TO_PASS) check)
7679 @endif bzip2
7681 .PHONY: install-bzip2 maybe-install-bzip2
7682 maybe-install-bzip2:
7683 @if bzip2
7684 maybe-install-bzip2: install-bzip2
7686 install-bzip2: installdirs
7687 @: $(MAKE); $(unstage)
7688 @r=`${PWD_COMMAND}`; export r; \
7689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7690 $(HOST_EXPORTS) \
7691 (cd $(HOST_SUBDIR)/bzip2 && \
7692 $(MAKE) $(FLAGS_TO_PASS) install)
7694 @endif bzip2
7696 # Other targets (info, dvi, pdf, etc.)
7698 .PHONY: maybe-info-bzip2 info-bzip2
7699 maybe-info-bzip2:
7700 @if bzip2
7701 maybe-info-bzip2: info-bzip2
7703 info-bzip2: \
7704 configure-bzip2
7705 @: $(MAKE); $(unstage)
7706 @[ -f ./bzip2/Makefile ] || exit 0; \
7707 r=`${PWD_COMMAND}`; export r; \
7708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7709 $(HOST_EXPORTS) \
7710 for flag in $(EXTRA_HOST_FLAGS) ; do \
7711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7712 done; \
7713 echo "Doing info in bzip2" ; \
7714 (cd $(HOST_SUBDIR)/bzip2 && \
7715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7717 "RANLIB=$${RANLIB}" \
7718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7719 info) \
7720 || exit 1
7722 @endif bzip2
7724 .PHONY: maybe-dvi-bzip2 dvi-bzip2
7725 maybe-dvi-bzip2:
7726 @if bzip2
7727 maybe-dvi-bzip2: dvi-bzip2
7729 dvi-bzip2: \
7730 configure-bzip2
7731 @: $(MAKE); $(unstage)
7732 @[ -f ./bzip2/Makefile ] || exit 0; \
7733 r=`${PWD_COMMAND}`; export r; \
7734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7735 $(HOST_EXPORTS) \
7736 for flag in $(EXTRA_HOST_FLAGS) ; do \
7737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7738 done; \
7739 echo "Doing dvi in bzip2" ; \
7740 (cd $(HOST_SUBDIR)/bzip2 && \
7741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7743 "RANLIB=$${RANLIB}" \
7744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7745 dvi) \
7746 || exit 1
7748 @endif bzip2
7750 .PHONY: maybe-pdf-bzip2 pdf-bzip2
7751 maybe-pdf-bzip2:
7752 @if bzip2
7753 maybe-pdf-bzip2: pdf-bzip2
7755 pdf-bzip2: \
7756 configure-bzip2
7757 @: $(MAKE); $(unstage)
7758 @[ -f ./bzip2/Makefile ] || exit 0; \
7759 r=`${PWD_COMMAND}`; export r; \
7760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7761 $(HOST_EXPORTS) \
7762 for flag in $(EXTRA_HOST_FLAGS) ; do \
7763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7764 done; \
7765 echo "Doing pdf in bzip2" ; \
7766 (cd $(HOST_SUBDIR)/bzip2 && \
7767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7769 "RANLIB=$${RANLIB}" \
7770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7771 pdf) \
7772 || exit 1
7774 @endif bzip2
7776 .PHONY: maybe-html-bzip2 html-bzip2
7777 maybe-html-bzip2:
7778 @if bzip2
7779 maybe-html-bzip2: html-bzip2
7781 html-bzip2: \
7782 configure-bzip2
7783 @: $(MAKE); $(unstage)
7784 @[ -f ./bzip2/Makefile ] || exit 0; \
7785 r=`${PWD_COMMAND}`; export r; \
7786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7787 $(HOST_EXPORTS) \
7788 for flag in $(EXTRA_HOST_FLAGS) ; do \
7789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7790 done; \
7791 echo "Doing html in bzip2" ; \
7792 (cd $(HOST_SUBDIR)/bzip2 && \
7793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7795 "RANLIB=$${RANLIB}" \
7796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7797 html) \
7798 || exit 1
7800 @endif bzip2
7802 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
7803 maybe-TAGS-bzip2:
7804 @if bzip2
7805 maybe-TAGS-bzip2: TAGS-bzip2
7807 TAGS-bzip2: \
7808 configure-bzip2
7809 @: $(MAKE); $(unstage)
7810 @[ -f ./bzip2/Makefile ] || exit 0; \
7811 r=`${PWD_COMMAND}`; export r; \
7812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7813 $(HOST_EXPORTS) \
7814 for flag in $(EXTRA_HOST_FLAGS) ; do \
7815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7816 done; \
7817 echo "Doing TAGS in bzip2" ; \
7818 (cd $(HOST_SUBDIR)/bzip2 && \
7819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7821 "RANLIB=$${RANLIB}" \
7822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7823 TAGS) \
7824 || exit 1
7826 @endif bzip2
7828 .PHONY: maybe-install-info-bzip2 install-info-bzip2
7829 maybe-install-info-bzip2:
7830 @if bzip2
7831 maybe-install-info-bzip2: install-info-bzip2
7833 install-info-bzip2: \
7834 configure-bzip2 \
7835 info-bzip2
7836 @: $(MAKE); $(unstage)
7837 @[ -f ./bzip2/Makefile ] || exit 0; \
7838 r=`${PWD_COMMAND}`; export r; \
7839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7840 $(HOST_EXPORTS) \
7841 for flag in $(EXTRA_HOST_FLAGS) ; do \
7842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7843 done; \
7844 echo "Doing install-info in bzip2" ; \
7845 (cd $(HOST_SUBDIR)/bzip2 && \
7846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7848 "RANLIB=$${RANLIB}" \
7849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7850 install-info) \
7851 || exit 1
7853 @endif bzip2
7855 .PHONY: maybe-install-html-bzip2 install-html-bzip2
7856 maybe-install-html-bzip2:
7857 @if bzip2
7858 maybe-install-html-bzip2: install-html-bzip2
7860 install-html-bzip2: \
7861 configure-bzip2 \
7862 html-bzip2
7863 @: $(MAKE); $(unstage)
7864 @[ -f ./bzip2/Makefile ] || exit 0; \
7865 r=`${PWD_COMMAND}`; export r; \
7866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7867 $(HOST_EXPORTS) \
7868 for flag in $(EXTRA_HOST_FLAGS) ; do \
7869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7870 done; \
7871 echo "Doing install-html in bzip2" ; \
7872 (cd $(HOST_SUBDIR)/bzip2 && \
7873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7875 "RANLIB=$${RANLIB}" \
7876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7877 install-html) \
7878 || exit 1
7880 @endif bzip2
7882 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
7883 maybe-installcheck-bzip2:
7884 @if bzip2
7885 maybe-installcheck-bzip2: installcheck-bzip2
7887 installcheck-bzip2: \
7888 configure-bzip2
7889 @: $(MAKE); $(unstage)
7890 @[ -f ./bzip2/Makefile ] || exit 0; \
7891 r=`${PWD_COMMAND}`; export r; \
7892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7893 $(HOST_EXPORTS) \
7894 for flag in $(EXTRA_HOST_FLAGS) ; do \
7895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7896 done; \
7897 echo "Doing installcheck in bzip2" ; \
7898 (cd $(HOST_SUBDIR)/bzip2 && \
7899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7901 "RANLIB=$${RANLIB}" \
7902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7903 installcheck) \
7904 || exit 1
7906 @endif bzip2
7908 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
7909 maybe-mostlyclean-bzip2:
7910 @if bzip2
7911 maybe-mostlyclean-bzip2: mostlyclean-bzip2
7913 mostlyclean-bzip2:
7914 @: $(MAKE); $(unstage)
7915 @[ -f ./bzip2/Makefile ] || exit 0; \
7916 r=`${PWD_COMMAND}`; export r; \
7917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7918 $(HOST_EXPORTS) \
7919 for flag in $(EXTRA_HOST_FLAGS) ; do \
7920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7921 done; \
7922 echo "Doing mostlyclean in bzip2" ; \
7923 (cd $(HOST_SUBDIR)/bzip2 && \
7924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7926 "RANLIB=$${RANLIB}" \
7927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7928 mostlyclean) \
7929 || exit 1
7931 @endif bzip2
7933 .PHONY: maybe-clean-bzip2 clean-bzip2
7934 maybe-clean-bzip2:
7935 @if bzip2
7936 maybe-clean-bzip2: clean-bzip2
7938 clean-bzip2:
7939 @: $(MAKE); $(unstage)
7940 @[ -f ./bzip2/Makefile ] || exit 0; \
7941 r=`${PWD_COMMAND}`; export r; \
7942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7943 $(HOST_EXPORTS) \
7944 for flag in $(EXTRA_HOST_FLAGS) ; do \
7945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7946 done; \
7947 echo "Doing clean in bzip2" ; \
7948 (cd $(HOST_SUBDIR)/bzip2 && \
7949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7951 "RANLIB=$${RANLIB}" \
7952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7953 clean) \
7954 || exit 1
7956 @endif bzip2
7958 .PHONY: maybe-distclean-bzip2 distclean-bzip2
7959 maybe-distclean-bzip2:
7960 @if bzip2
7961 maybe-distclean-bzip2: distclean-bzip2
7963 distclean-bzip2:
7964 @: $(MAKE); $(unstage)
7965 @[ -f ./bzip2/Makefile ] || exit 0; \
7966 r=`${PWD_COMMAND}`; export r; \
7967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7968 $(HOST_EXPORTS) \
7969 for flag in $(EXTRA_HOST_FLAGS) ; do \
7970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7971 done; \
7972 echo "Doing distclean in bzip2" ; \
7973 (cd $(HOST_SUBDIR)/bzip2 && \
7974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7976 "RANLIB=$${RANLIB}" \
7977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7978 distclean) \
7979 || exit 1
7981 @endif bzip2
7983 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
7984 maybe-maintainer-clean-bzip2:
7985 @if bzip2
7986 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
7988 maintainer-clean-bzip2:
7989 @: $(MAKE); $(unstage)
7990 @[ -f ./bzip2/Makefile ] || exit 0; \
7991 r=`${PWD_COMMAND}`; export r; \
7992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7993 $(HOST_EXPORTS) \
7994 for flag in $(EXTRA_HOST_FLAGS) ; do \
7995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7996 done; \
7997 echo "Doing maintainer-clean in bzip2" ; \
7998 (cd $(HOST_SUBDIR)/bzip2 && \
7999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8001 "RANLIB=$${RANLIB}" \
8002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8003 maintainer-clean) \
8004 || exit 1
8006 @endif bzip2
8010 .PHONY: configure-dejagnu maybe-configure-dejagnu
8011 maybe-configure-dejagnu:
8012 @if gcc-bootstrap
8013 configure-dejagnu: stage_current
8014 @endif gcc-bootstrap
8015 @if dejagnu
8016 maybe-configure-dejagnu: configure-dejagnu
8017 configure-dejagnu:
8018 @: $(MAKE); $(unstage)
8019 @r=`${PWD_COMMAND}`; export r; \
8020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8021 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
8022 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
8023 $(HOST_EXPORTS) \
8024 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
8025 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
8026 case $(srcdir) in \
8027 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8028 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
8029 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8030 esac; \
8031 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
8032 libsrcdir="$$s/dejagnu"; \
8033 $(SHELL) $${libsrcdir}/configure \
8034 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8035 --target=${target_alias} $${srcdiroption} \
8036 || exit 1
8037 @endif dejagnu
8043 .PHONY: all-dejagnu maybe-all-dejagnu
8044 maybe-all-dejagnu:
8045 @if gcc-bootstrap
8046 all-dejagnu: stage_current
8047 @endif gcc-bootstrap
8048 @if dejagnu
8049 TARGET-dejagnu=all
8050 maybe-all-dejagnu: all-dejagnu
8051 all-dejagnu: configure-dejagnu
8052 @: $(MAKE); $(unstage)
8053 @r=`${PWD_COMMAND}`; export r; \
8054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8055 $(HOST_EXPORTS) \
8056 (cd $(HOST_SUBDIR)/dejagnu && \
8057 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
8058 @endif dejagnu
8063 .PHONY: check-dejagnu maybe-check-dejagnu
8064 maybe-check-dejagnu:
8065 @if dejagnu
8066 maybe-check-dejagnu: check-dejagnu
8068 check-dejagnu:
8069 @: $(MAKE); $(unstage)
8070 @r=`${PWD_COMMAND}`; export r; \
8071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8072 $(HOST_EXPORTS) \
8073 (cd $(HOST_SUBDIR)/dejagnu && \
8074 $(MAKE) $(FLAGS_TO_PASS) check)
8076 @endif dejagnu
8078 .PHONY: install-dejagnu maybe-install-dejagnu
8079 maybe-install-dejagnu:
8080 @if dejagnu
8081 maybe-install-dejagnu: install-dejagnu
8083 install-dejagnu: installdirs
8084 @: $(MAKE); $(unstage)
8085 @r=`${PWD_COMMAND}`; export r; \
8086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8087 $(HOST_EXPORTS) \
8088 (cd $(HOST_SUBDIR)/dejagnu && \
8089 $(MAKE) $(FLAGS_TO_PASS) install)
8091 @endif dejagnu
8093 # Other targets (info, dvi, pdf, etc.)
8095 .PHONY: maybe-info-dejagnu info-dejagnu
8096 maybe-info-dejagnu:
8097 @if dejagnu
8098 maybe-info-dejagnu: info-dejagnu
8100 info-dejagnu: \
8101 configure-dejagnu
8102 @: $(MAKE); $(unstage)
8103 @[ -f ./dejagnu/Makefile ] || exit 0; \
8104 r=`${PWD_COMMAND}`; export r; \
8105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8106 $(HOST_EXPORTS) \
8107 for flag in $(EXTRA_HOST_FLAGS) ; do \
8108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8109 done; \
8110 echo "Doing info in dejagnu" ; \
8111 (cd $(HOST_SUBDIR)/dejagnu && \
8112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8114 "RANLIB=$${RANLIB}" \
8115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8116 info) \
8117 || exit 1
8119 @endif dejagnu
8121 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
8122 maybe-dvi-dejagnu:
8123 @if dejagnu
8124 maybe-dvi-dejagnu: dvi-dejagnu
8126 dvi-dejagnu: \
8127 configure-dejagnu
8128 @: $(MAKE); $(unstage)
8129 @[ -f ./dejagnu/Makefile ] || exit 0; \
8130 r=`${PWD_COMMAND}`; export r; \
8131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8132 $(HOST_EXPORTS) \
8133 for flag in $(EXTRA_HOST_FLAGS) ; do \
8134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8135 done; \
8136 echo "Doing dvi in dejagnu" ; \
8137 (cd $(HOST_SUBDIR)/dejagnu && \
8138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8140 "RANLIB=$${RANLIB}" \
8141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8142 dvi) \
8143 || exit 1
8145 @endif dejagnu
8147 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
8148 maybe-pdf-dejagnu:
8149 @if dejagnu
8150 maybe-pdf-dejagnu: pdf-dejagnu
8152 pdf-dejagnu: \
8153 configure-dejagnu
8154 @: $(MAKE); $(unstage)
8155 @[ -f ./dejagnu/Makefile ] || exit 0; \
8156 r=`${PWD_COMMAND}`; export r; \
8157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8158 $(HOST_EXPORTS) \
8159 for flag in $(EXTRA_HOST_FLAGS) ; do \
8160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8161 done; \
8162 echo "Doing pdf in dejagnu" ; \
8163 (cd $(HOST_SUBDIR)/dejagnu && \
8164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8166 "RANLIB=$${RANLIB}" \
8167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8168 pdf) \
8169 || exit 1
8171 @endif dejagnu
8173 .PHONY: maybe-html-dejagnu html-dejagnu
8174 maybe-html-dejagnu:
8175 @if dejagnu
8176 maybe-html-dejagnu: html-dejagnu
8178 html-dejagnu: \
8179 configure-dejagnu
8180 @: $(MAKE); $(unstage)
8181 @[ -f ./dejagnu/Makefile ] || exit 0; \
8182 r=`${PWD_COMMAND}`; export r; \
8183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8184 $(HOST_EXPORTS) \
8185 for flag in $(EXTRA_HOST_FLAGS) ; do \
8186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8187 done; \
8188 echo "Doing html in dejagnu" ; \
8189 (cd $(HOST_SUBDIR)/dejagnu && \
8190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8192 "RANLIB=$${RANLIB}" \
8193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8194 html) \
8195 || exit 1
8197 @endif dejagnu
8199 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
8200 maybe-TAGS-dejagnu:
8201 @if dejagnu
8202 maybe-TAGS-dejagnu: TAGS-dejagnu
8204 TAGS-dejagnu: \
8205 configure-dejagnu
8206 @: $(MAKE); $(unstage)
8207 @[ -f ./dejagnu/Makefile ] || exit 0; \
8208 r=`${PWD_COMMAND}`; export r; \
8209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8210 $(HOST_EXPORTS) \
8211 for flag in $(EXTRA_HOST_FLAGS) ; do \
8212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8213 done; \
8214 echo "Doing TAGS in dejagnu" ; \
8215 (cd $(HOST_SUBDIR)/dejagnu && \
8216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8218 "RANLIB=$${RANLIB}" \
8219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8220 TAGS) \
8221 || exit 1
8223 @endif dejagnu
8225 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
8226 maybe-install-info-dejagnu:
8227 @if dejagnu
8228 maybe-install-info-dejagnu: install-info-dejagnu
8230 install-info-dejagnu: \
8231 configure-dejagnu \
8232 info-dejagnu
8233 @: $(MAKE); $(unstage)
8234 @[ -f ./dejagnu/Makefile ] || exit 0; \
8235 r=`${PWD_COMMAND}`; export r; \
8236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8237 $(HOST_EXPORTS) \
8238 for flag in $(EXTRA_HOST_FLAGS) ; do \
8239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8240 done; \
8241 echo "Doing install-info in dejagnu" ; \
8242 (cd $(HOST_SUBDIR)/dejagnu && \
8243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8245 "RANLIB=$${RANLIB}" \
8246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8247 install-info) \
8248 || exit 1
8250 @endif dejagnu
8252 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
8253 maybe-install-html-dejagnu:
8254 @if dejagnu
8255 maybe-install-html-dejagnu: install-html-dejagnu
8257 install-html-dejagnu: \
8258 configure-dejagnu \
8259 html-dejagnu
8260 @: $(MAKE); $(unstage)
8261 @[ -f ./dejagnu/Makefile ] || exit 0; \
8262 r=`${PWD_COMMAND}`; export r; \
8263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8264 $(HOST_EXPORTS) \
8265 for flag in $(EXTRA_HOST_FLAGS) ; do \
8266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8267 done; \
8268 echo "Doing install-html in dejagnu" ; \
8269 (cd $(HOST_SUBDIR)/dejagnu && \
8270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8272 "RANLIB=$${RANLIB}" \
8273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8274 install-html) \
8275 || exit 1
8277 @endif dejagnu
8279 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
8280 maybe-installcheck-dejagnu:
8281 @if dejagnu
8282 maybe-installcheck-dejagnu: installcheck-dejagnu
8284 installcheck-dejagnu: \
8285 configure-dejagnu
8286 @: $(MAKE); $(unstage)
8287 @[ -f ./dejagnu/Makefile ] || exit 0; \
8288 r=`${PWD_COMMAND}`; export r; \
8289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8290 $(HOST_EXPORTS) \
8291 for flag in $(EXTRA_HOST_FLAGS) ; do \
8292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8293 done; \
8294 echo "Doing installcheck in dejagnu" ; \
8295 (cd $(HOST_SUBDIR)/dejagnu && \
8296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8298 "RANLIB=$${RANLIB}" \
8299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8300 installcheck) \
8301 || exit 1
8303 @endif dejagnu
8305 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
8306 maybe-mostlyclean-dejagnu:
8307 @if dejagnu
8308 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
8310 mostlyclean-dejagnu:
8311 @: $(MAKE); $(unstage)
8312 @[ -f ./dejagnu/Makefile ] || exit 0; \
8313 r=`${PWD_COMMAND}`; export r; \
8314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8315 $(HOST_EXPORTS) \
8316 for flag in $(EXTRA_HOST_FLAGS) ; do \
8317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8318 done; \
8319 echo "Doing mostlyclean in dejagnu" ; \
8320 (cd $(HOST_SUBDIR)/dejagnu && \
8321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8323 "RANLIB=$${RANLIB}" \
8324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8325 mostlyclean) \
8326 || exit 1
8328 @endif dejagnu
8330 .PHONY: maybe-clean-dejagnu clean-dejagnu
8331 maybe-clean-dejagnu:
8332 @if dejagnu
8333 maybe-clean-dejagnu: clean-dejagnu
8335 clean-dejagnu:
8336 @: $(MAKE); $(unstage)
8337 @[ -f ./dejagnu/Makefile ] || exit 0; \
8338 r=`${PWD_COMMAND}`; export r; \
8339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8340 $(HOST_EXPORTS) \
8341 for flag in $(EXTRA_HOST_FLAGS) ; do \
8342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8343 done; \
8344 echo "Doing clean in dejagnu" ; \
8345 (cd $(HOST_SUBDIR)/dejagnu && \
8346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8348 "RANLIB=$${RANLIB}" \
8349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8350 clean) \
8351 || exit 1
8353 @endif dejagnu
8355 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
8356 maybe-distclean-dejagnu:
8357 @if dejagnu
8358 maybe-distclean-dejagnu: distclean-dejagnu
8360 distclean-dejagnu:
8361 @: $(MAKE); $(unstage)
8362 @[ -f ./dejagnu/Makefile ] || exit 0; \
8363 r=`${PWD_COMMAND}`; export r; \
8364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8365 $(HOST_EXPORTS) \
8366 for flag in $(EXTRA_HOST_FLAGS) ; do \
8367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8368 done; \
8369 echo "Doing distclean in dejagnu" ; \
8370 (cd $(HOST_SUBDIR)/dejagnu && \
8371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8373 "RANLIB=$${RANLIB}" \
8374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8375 distclean) \
8376 || exit 1
8378 @endif dejagnu
8380 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
8381 maybe-maintainer-clean-dejagnu:
8382 @if dejagnu
8383 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
8385 maintainer-clean-dejagnu:
8386 @: $(MAKE); $(unstage)
8387 @[ -f ./dejagnu/Makefile ] || exit 0; \
8388 r=`${PWD_COMMAND}`; export r; \
8389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8390 $(HOST_EXPORTS) \
8391 for flag in $(EXTRA_HOST_FLAGS) ; do \
8392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8393 done; \
8394 echo "Doing maintainer-clean in dejagnu" ; \
8395 (cd $(HOST_SUBDIR)/dejagnu && \
8396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8398 "RANLIB=$${RANLIB}" \
8399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8400 maintainer-clean) \
8401 || exit 1
8403 @endif dejagnu
8407 .PHONY: configure-diff maybe-configure-diff
8408 maybe-configure-diff:
8409 @if gcc-bootstrap
8410 configure-diff: stage_current
8411 @endif gcc-bootstrap
8412 @if diff
8413 maybe-configure-diff: configure-diff
8414 configure-diff:
8415 @: $(MAKE); $(unstage)
8416 @r=`${PWD_COMMAND}`; export r; \
8417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8418 test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
8419 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
8420 $(HOST_EXPORTS) \
8421 echo Configuring in $(HOST_SUBDIR)/diff; \
8422 cd "$(HOST_SUBDIR)/diff" || exit 1; \
8423 case $(srcdir) in \
8424 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8425 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
8426 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8427 esac; \
8428 srcdiroption="--srcdir=$${topdir}/diff"; \
8429 libsrcdir="$$s/diff"; \
8430 $(SHELL) $${libsrcdir}/configure \
8431 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8432 --target=${target_alias} $${srcdiroption} \
8433 || exit 1
8434 @endif diff
8440 .PHONY: all-diff maybe-all-diff
8441 maybe-all-diff:
8442 @if gcc-bootstrap
8443 all-diff: stage_current
8444 @endif gcc-bootstrap
8445 @if diff
8446 TARGET-diff=all
8447 maybe-all-diff: all-diff
8448 all-diff: configure-diff
8449 @: $(MAKE); $(unstage)
8450 @r=`${PWD_COMMAND}`; export r; \
8451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8452 $(HOST_EXPORTS) \
8453 (cd $(HOST_SUBDIR)/diff && \
8454 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
8455 @endif diff
8460 .PHONY: check-diff maybe-check-diff
8461 maybe-check-diff:
8462 @if diff
8463 maybe-check-diff: check-diff
8465 check-diff:
8466 @: $(MAKE); $(unstage)
8467 @r=`${PWD_COMMAND}`; export r; \
8468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8469 $(HOST_EXPORTS) \
8470 (cd $(HOST_SUBDIR)/diff && \
8471 $(MAKE) $(FLAGS_TO_PASS) check)
8473 @endif diff
8475 .PHONY: install-diff maybe-install-diff
8476 maybe-install-diff:
8477 @if diff
8478 maybe-install-diff: install-diff
8480 install-diff: installdirs
8481 @: $(MAKE); $(unstage)
8482 @r=`${PWD_COMMAND}`; export r; \
8483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8484 $(HOST_EXPORTS) \
8485 (cd $(HOST_SUBDIR)/diff && \
8486 $(MAKE) $(FLAGS_TO_PASS) install)
8488 @endif diff
8490 # Other targets (info, dvi, pdf, etc.)
8492 .PHONY: maybe-info-diff info-diff
8493 maybe-info-diff:
8494 @if diff
8495 maybe-info-diff: info-diff
8497 info-diff: \
8498 configure-diff
8499 @: $(MAKE); $(unstage)
8500 @[ -f ./diff/Makefile ] || exit 0; \
8501 r=`${PWD_COMMAND}`; export r; \
8502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8503 $(HOST_EXPORTS) \
8504 for flag in $(EXTRA_HOST_FLAGS) ; do \
8505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8506 done; \
8507 echo "Doing info in diff" ; \
8508 (cd $(HOST_SUBDIR)/diff && \
8509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8511 "RANLIB=$${RANLIB}" \
8512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8513 info) \
8514 || exit 1
8516 @endif diff
8518 .PHONY: maybe-dvi-diff dvi-diff
8519 maybe-dvi-diff:
8520 @if diff
8521 maybe-dvi-diff: dvi-diff
8523 dvi-diff: \
8524 configure-diff
8525 @: $(MAKE); $(unstage)
8526 @[ -f ./diff/Makefile ] || exit 0; \
8527 r=`${PWD_COMMAND}`; export r; \
8528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8529 $(HOST_EXPORTS) \
8530 for flag in $(EXTRA_HOST_FLAGS) ; do \
8531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8532 done; \
8533 echo "Doing dvi in diff" ; \
8534 (cd $(HOST_SUBDIR)/diff && \
8535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8537 "RANLIB=$${RANLIB}" \
8538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8539 dvi) \
8540 || exit 1
8542 @endif diff
8544 .PHONY: maybe-pdf-diff pdf-diff
8545 maybe-pdf-diff:
8546 @if diff
8547 maybe-pdf-diff: pdf-diff
8549 pdf-diff: \
8550 configure-diff
8551 @: $(MAKE); $(unstage)
8552 @[ -f ./diff/Makefile ] || exit 0; \
8553 r=`${PWD_COMMAND}`; export r; \
8554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8555 $(HOST_EXPORTS) \
8556 for flag in $(EXTRA_HOST_FLAGS) ; do \
8557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8558 done; \
8559 echo "Doing pdf in diff" ; \
8560 (cd $(HOST_SUBDIR)/diff && \
8561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8563 "RANLIB=$${RANLIB}" \
8564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8565 pdf) \
8566 || exit 1
8568 @endif diff
8570 .PHONY: maybe-html-diff html-diff
8571 maybe-html-diff:
8572 @if diff
8573 maybe-html-diff: html-diff
8575 html-diff: \
8576 configure-diff
8577 @: $(MAKE); $(unstage)
8578 @[ -f ./diff/Makefile ] || exit 0; \
8579 r=`${PWD_COMMAND}`; export r; \
8580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8581 $(HOST_EXPORTS) \
8582 for flag in $(EXTRA_HOST_FLAGS) ; do \
8583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8584 done; \
8585 echo "Doing html in diff" ; \
8586 (cd $(HOST_SUBDIR)/diff && \
8587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8589 "RANLIB=$${RANLIB}" \
8590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8591 html) \
8592 || exit 1
8594 @endif diff
8596 .PHONY: maybe-TAGS-diff TAGS-diff
8597 maybe-TAGS-diff:
8598 @if diff
8599 maybe-TAGS-diff: TAGS-diff
8601 TAGS-diff: \
8602 configure-diff
8603 @: $(MAKE); $(unstage)
8604 @[ -f ./diff/Makefile ] || exit 0; \
8605 r=`${PWD_COMMAND}`; export r; \
8606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8607 $(HOST_EXPORTS) \
8608 for flag in $(EXTRA_HOST_FLAGS) ; do \
8609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8610 done; \
8611 echo "Doing TAGS in diff" ; \
8612 (cd $(HOST_SUBDIR)/diff && \
8613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8615 "RANLIB=$${RANLIB}" \
8616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8617 TAGS) \
8618 || exit 1
8620 @endif diff
8622 .PHONY: maybe-install-info-diff install-info-diff
8623 maybe-install-info-diff:
8624 @if diff
8625 maybe-install-info-diff: install-info-diff
8627 install-info-diff: \
8628 configure-diff \
8629 info-diff
8630 @: $(MAKE); $(unstage)
8631 @[ -f ./diff/Makefile ] || exit 0; \
8632 r=`${PWD_COMMAND}`; export r; \
8633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8634 $(HOST_EXPORTS) \
8635 for flag in $(EXTRA_HOST_FLAGS) ; do \
8636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8637 done; \
8638 echo "Doing install-info in diff" ; \
8639 (cd $(HOST_SUBDIR)/diff && \
8640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8642 "RANLIB=$${RANLIB}" \
8643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8644 install-info) \
8645 || exit 1
8647 @endif diff
8649 .PHONY: maybe-install-html-diff install-html-diff
8650 maybe-install-html-diff:
8651 @if diff
8652 maybe-install-html-diff: install-html-diff
8654 install-html-diff: \
8655 configure-diff \
8656 html-diff
8657 @: $(MAKE); $(unstage)
8658 @[ -f ./diff/Makefile ] || exit 0; \
8659 r=`${PWD_COMMAND}`; export r; \
8660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8661 $(HOST_EXPORTS) \
8662 for flag in $(EXTRA_HOST_FLAGS) ; do \
8663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8664 done; \
8665 echo "Doing install-html in diff" ; \
8666 (cd $(HOST_SUBDIR)/diff && \
8667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8669 "RANLIB=$${RANLIB}" \
8670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8671 install-html) \
8672 || exit 1
8674 @endif diff
8676 .PHONY: maybe-installcheck-diff installcheck-diff
8677 maybe-installcheck-diff:
8678 @if diff
8679 maybe-installcheck-diff: installcheck-diff
8681 installcheck-diff: \
8682 configure-diff
8683 @: $(MAKE); $(unstage)
8684 @[ -f ./diff/Makefile ] || exit 0; \
8685 r=`${PWD_COMMAND}`; export r; \
8686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8687 $(HOST_EXPORTS) \
8688 for flag in $(EXTRA_HOST_FLAGS) ; do \
8689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8690 done; \
8691 echo "Doing installcheck in diff" ; \
8692 (cd $(HOST_SUBDIR)/diff && \
8693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8695 "RANLIB=$${RANLIB}" \
8696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8697 installcheck) \
8698 || exit 1
8700 @endif diff
8702 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
8703 maybe-mostlyclean-diff:
8704 @if diff
8705 maybe-mostlyclean-diff: mostlyclean-diff
8707 mostlyclean-diff:
8708 @: $(MAKE); $(unstage)
8709 @[ -f ./diff/Makefile ] || exit 0; \
8710 r=`${PWD_COMMAND}`; export r; \
8711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8712 $(HOST_EXPORTS) \
8713 for flag in $(EXTRA_HOST_FLAGS) ; do \
8714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8715 done; \
8716 echo "Doing mostlyclean in diff" ; \
8717 (cd $(HOST_SUBDIR)/diff && \
8718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8720 "RANLIB=$${RANLIB}" \
8721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8722 mostlyclean) \
8723 || exit 1
8725 @endif diff
8727 .PHONY: maybe-clean-diff clean-diff
8728 maybe-clean-diff:
8729 @if diff
8730 maybe-clean-diff: clean-diff
8732 clean-diff:
8733 @: $(MAKE); $(unstage)
8734 @[ -f ./diff/Makefile ] || exit 0; \
8735 r=`${PWD_COMMAND}`; export r; \
8736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8737 $(HOST_EXPORTS) \
8738 for flag in $(EXTRA_HOST_FLAGS) ; do \
8739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8740 done; \
8741 echo "Doing clean in diff" ; \
8742 (cd $(HOST_SUBDIR)/diff && \
8743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8745 "RANLIB=$${RANLIB}" \
8746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8747 clean) \
8748 || exit 1
8750 @endif diff
8752 .PHONY: maybe-distclean-diff distclean-diff
8753 maybe-distclean-diff:
8754 @if diff
8755 maybe-distclean-diff: distclean-diff
8757 distclean-diff:
8758 @: $(MAKE); $(unstage)
8759 @[ -f ./diff/Makefile ] || exit 0; \
8760 r=`${PWD_COMMAND}`; export r; \
8761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8762 $(HOST_EXPORTS) \
8763 for flag in $(EXTRA_HOST_FLAGS) ; do \
8764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8765 done; \
8766 echo "Doing distclean in diff" ; \
8767 (cd $(HOST_SUBDIR)/diff && \
8768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8770 "RANLIB=$${RANLIB}" \
8771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8772 distclean) \
8773 || exit 1
8775 @endif diff
8777 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
8778 maybe-maintainer-clean-diff:
8779 @if diff
8780 maybe-maintainer-clean-diff: maintainer-clean-diff
8782 maintainer-clean-diff:
8783 @: $(MAKE); $(unstage)
8784 @[ -f ./diff/Makefile ] || exit 0; \
8785 r=`${PWD_COMMAND}`; export r; \
8786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8787 $(HOST_EXPORTS) \
8788 for flag in $(EXTRA_HOST_FLAGS) ; do \
8789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8790 done; \
8791 echo "Doing maintainer-clean in diff" ; \
8792 (cd $(HOST_SUBDIR)/diff && \
8793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8795 "RANLIB=$${RANLIB}" \
8796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8797 maintainer-clean) \
8798 || exit 1
8800 @endif diff
8804 .PHONY: configure-dosutils maybe-configure-dosutils
8805 maybe-configure-dosutils:
8806 @if gcc-bootstrap
8807 configure-dosutils: stage_current
8808 @endif gcc-bootstrap
8809 @if dosutils
8810 maybe-configure-dosutils: configure-dosutils
8811 configure-dosutils:
8812 @: $(MAKE); $(unstage)
8813 @r=`${PWD_COMMAND}`; export r; \
8814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8815 test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
8816 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
8817 $(HOST_EXPORTS) \
8818 echo Configuring in $(HOST_SUBDIR)/dosutils; \
8819 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
8820 case $(srcdir) in \
8821 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8822 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
8823 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8824 esac; \
8825 srcdiroption="--srcdir=$${topdir}/dosutils"; \
8826 libsrcdir="$$s/dosutils"; \
8827 $(SHELL) $${libsrcdir}/configure \
8828 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8829 --target=${target_alias} $${srcdiroption} \
8830 || exit 1
8831 @endif dosutils
8837 .PHONY: all-dosutils maybe-all-dosutils
8838 maybe-all-dosutils:
8839 @if gcc-bootstrap
8840 all-dosutils: stage_current
8841 @endif gcc-bootstrap
8842 @if dosutils
8843 TARGET-dosutils=all
8844 maybe-all-dosutils: all-dosutils
8845 all-dosutils: configure-dosutils
8846 @: $(MAKE); $(unstage)
8847 @r=`${PWD_COMMAND}`; export r; \
8848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8849 $(HOST_EXPORTS) \
8850 (cd $(HOST_SUBDIR)/dosutils && \
8851 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
8852 @endif dosutils
8857 .PHONY: check-dosutils maybe-check-dosutils
8858 maybe-check-dosutils:
8859 @if dosutils
8860 maybe-check-dosutils: check-dosutils
8862 check-dosutils:
8864 @endif dosutils
8866 .PHONY: install-dosutils maybe-install-dosutils
8867 maybe-install-dosutils:
8868 @if dosutils
8869 maybe-install-dosutils: install-dosutils
8871 install-dosutils: installdirs
8872 @: $(MAKE); $(unstage)
8873 @r=`${PWD_COMMAND}`; export r; \
8874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8875 $(HOST_EXPORTS) \
8876 (cd $(HOST_SUBDIR)/dosutils && \
8877 $(MAKE) $(FLAGS_TO_PASS) install)
8879 @endif dosutils
8881 # Other targets (info, dvi, pdf, etc.)
8883 .PHONY: maybe-info-dosutils info-dosutils
8884 maybe-info-dosutils:
8885 @if dosutils
8886 maybe-info-dosutils: info-dosutils
8888 info-dosutils: \
8889 configure-dosutils
8890 @: $(MAKE); $(unstage)
8891 @[ -f ./dosutils/Makefile ] || exit 0; \
8892 r=`${PWD_COMMAND}`; export r; \
8893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8894 $(HOST_EXPORTS) \
8895 for flag in $(EXTRA_HOST_FLAGS) ; do \
8896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8897 done; \
8898 echo "Doing info in dosutils" ; \
8899 (cd $(HOST_SUBDIR)/dosutils && \
8900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8902 "RANLIB=$${RANLIB}" \
8903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8904 info) \
8905 || exit 1
8907 @endif dosutils
8909 .PHONY: maybe-dvi-dosutils dvi-dosutils
8910 maybe-dvi-dosutils:
8911 @if dosutils
8912 maybe-dvi-dosutils: dvi-dosutils
8914 dvi-dosutils: \
8915 configure-dosutils
8916 @: $(MAKE); $(unstage)
8917 @[ -f ./dosutils/Makefile ] || exit 0; \
8918 r=`${PWD_COMMAND}`; export r; \
8919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8920 $(HOST_EXPORTS) \
8921 for flag in $(EXTRA_HOST_FLAGS) ; do \
8922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8923 done; \
8924 echo "Doing dvi in dosutils" ; \
8925 (cd $(HOST_SUBDIR)/dosutils && \
8926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8928 "RANLIB=$${RANLIB}" \
8929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8930 dvi) \
8931 || exit 1
8933 @endif dosutils
8935 .PHONY: maybe-pdf-dosutils pdf-dosutils
8936 maybe-pdf-dosutils:
8937 @if dosutils
8938 maybe-pdf-dosutils: pdf-dosutils
8940 pdf-dosutils: \
8941 configure-dosutils
8942 @: $(MAKE); $(unstage)
8943 @[ -f ./dosutils/Makefile ] || exit 0; \
8944 r=`${PWD_COMMAND}`; export r; \
8945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8946 $(HOST_EXPORTS) \
8947 for flag in $(EXTRA_HOST_FLAGS) ; do \
8948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8949 done; \
8950 echo "Doing pdf in dosutils" ; \
8951 (cd $(HOST_SUBDIR)/dosutils && \
8952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8954 "RANLIB=$${RANLIB}" \
8955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8956 pdf) \
8957 || exit 1
8959 @endif dosutils
8961 .PHONY: maybe-html-dosutils html-dosutils
8962 maybe-html-dosutils:
8963 @if dosutils
8964 maybe-html-dosutils: html-dosutils
8966 html-dosutils: \
8967 configure-dosutils
8968 @: $(MAKE); $(unstage)
8969 @[ -f ./dosutils/Makefile ] || exit 0; \
8970 r=`${PWD_COMMAND}`; export r; \
8971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8972 $(HOST_EXPORTS) \
8973 for flag in $(EXTRA_HOST_FLAGS) ; do \
8974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8975 done; \
8976 echo "Doing html in dosutils" ; \
8977 (cd $(HOST_SUBDIR)/dosutils && \
8978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8980 "RANLIB=$${RANLIB}" \
8981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8982 html) \
8983 || exit 1
8985 @endif dosutils
8987 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
8988 maybe-TAGS-dosutils:
8989 @if dosutils
8990 maybe-TAGS-dosutils: TAGS-dosutils
8992 TAGS-dosutils: \
8993 configure-dosutils
8994 @: $(MAKE); $(unstage)
8995 @[ -f ./dosutils/Makefile ] || exit 0; \
8996 r=`${PWD_COMMAND}`; export r; \
8997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8998 $(HOST_EXPORTS) \
8999 for flag in $(EXTRA_HOST_FLAGS) ; do \
9000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9001 done; \
9002 echo "Doing TAGS in dosutils" ; \
9003 (cd $(HOST_SUBDIR)/dosutils && \
9004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9006 "RANLIB=$${RANLIB}" \
9007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9008 TAGS) \
9009 || exit 1
9011 @endif dosutils
9013 .PHONY: maybe-install-info-dosutils install-info-dosutils
9014 maybe-install-info-dosutils:
9015 @if dosutils
9016 maybe-install-info-dosutils: install-info-dosutils
9018 install-info-dosutils: \
9019 configure-dosutils \
9020 info-dosutils
9021 @: $(MAKE); $(unstage)
9022 @[ -f ./dosutils/Makefile ] || exit 0; \
9023 r=`${PWD_COMMAND}`; export r; \
9024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9025 $(HOST_EXPORTS) \
9026 for flag in $(EXTRA_HOST_FLAGS) ; do \
9027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9028 done; \
9029 echo "Doing install-info in dosutils" ; \
9030 (cd $(HOST_SUBDIR)/dosutils && \
9031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9033 "RANLIB=$${RANLIB}" \
9034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9035 install-info) \
9036 || exit 1
9038 @endif dosutils
9040 .PHONY: maybe-install-html-dosutils install-html-dosutils
9041 maybe-install-html-dosutils:
9042 @if dosutils
9043 maybe-install-html-dosutils: install-html-dosutils
9045 install-html-dosutils: \
9046 configure-dosutils \
9047 html-dosutils
9048 @: $(MAKE); $(unstage)
9049 @[ -f ./dosutils/Makefile ] || exit 0; \
9050 r=`${PWD_COMMAND}`; export r; \
9051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9052 $(HOST_EXPORTS) \
9053 for flag in $(EXTRA_HOST_FLAGS) ; do \
9054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9055 done; \
9056 echo "Doing install-html in dosutils" ; \
9057 (cd $(HOST_SUBDIR)/dosutils && \
9058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9060 "RANLIB=$${RANLIB}" \
9061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9062 install-html) \
9063 || exit 1
9065 @endif dosutils
9067 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
9068 maybe-installcheck-dosutils:
9069 @if dosutils
9070 maybe-installcheck-dosutils: installcheck-dosutils
9072 installcheck-dosutils: \
9073 configure-dosutils
9074 @: $(MAKE); $(unstage)
9075 @[ -f ./dosutils/Makefile ] || exit 0; \
9076 r=`${PWD_COMMAND}`; export r; \
9077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9078 $(HOST_EXPORTS) \
9079 for flag in $(EXTRA_HOST_FLAGS) ; do \
9080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9081 done; \
9082 echo "Doing installcheck in dosutils" ; \
9083 (cd $(HOST_SUBDIR)/dosutils && \
9084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9086 "RANLIB=$${RANLIB}" \
9087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9088 installcheck) \
9089 || exit 1
9091 @endif dosutils
9093 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
9094 maybe-mostlyclean-dosutils:
9095 @if dosutils
9096 maybe-mostlyclean-dosutils: mostlyclean-dosutils
9098 mostlyclean-dosutils:
9099 @: $(MAKE); $(unstage)
9100 @[ -f ./dosutils/Makefile ] || exit 0; \
9101 r=`${PWD_COMMAND}`; export r; \
9102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9103 $(HOST_EXPORTS) \
9104 for flag in $(EXTRA_HOST_FLAGS) ; do \
9105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9106 done; \
9107 echo "Doing mostlyclean in dosutils" ; \
9108 (cd $(HOST_SUBDIR)/dosutils && \
9109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9111 "RANLIB=$${RANLIB}" \
9112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9113 mostlyclean) \
9114 || exit 1
9116 @endif dosutils
9118 .PHONY: maybe-clean-dosutils clean-dosutils
9119 maybe-clean-dosutils:
9120 @if dosutils
9121 maybe-clean-dosutils: clean-dosutils
9123 clean-dosutils:
9124 @: $(MAKE); $(unstage)
9125 @[ -f ./dosutils/Makefile ] || exit 0; \
9126 r=`${PWD_COMMAND}`; export r; \
9127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9128 $(HOST_EXPORTS) \
9129 for flag in $(EXTRA_HOST_FLAGS) ; do \
9130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9131 done; \
9132 echo "Doing clean in dosutils" ; \
9133 (cd $(HOST_SUBDIR)/dosutils && \
9134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9136 "RANLIB=$${RANLIB}" \
9137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9138 clean) \
9139 || exit 1
9141 @endif dosutils
9143 .PHONY: maybe-distclean-dosutils distclean-dosutils
9144 maybe-distclean-dosutils:
9145 @if dosutils
9146 maybe-distclean-dosutils: distclean-dosutils
9148 distclean-dosutils:
9149 @: $(MAKE); $(unstage)
9150 @[ -f ./dosutils/Makefile ] || exit 0; \
9151 r=`${PWD_COMMAND}`; export r; \
9152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9153 $(HOST_EXPORTS) \
9154 for flag in $(EXTRA_HOST_FLAGS) ; do \
9155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9156 done; \
9157 echo "Doing distclean in dosutils" ; \
9158 (cd $(HOST_SUBDIR)/dosutils && \
9159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9161 "RANLIB=$${RANLIB}" \
9162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9163 distclean) \
9164 || exit 1
9166 @endif dosutils
9168 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
9169 maybe-maintainer-clean-dosutils:
9170 @if dosutils
9171 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
9173 maintainer-clean-dosutils:
9174 @: $(MAKE); $(unstage)
9175 @[ -f ./dosutils/Makefile ] || exit 0; \
9176 r=`${PWD_COMMAND}`; export r; \
9177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9178 $(HOST_EXPORTS) \
9179 for flag in $(EXTRA_HOST_FLAGS) ; do \
9180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9181 done; \
9182 echo "Doing maintainer-clean in dosutils" ; \
9183 (cd $(HOST_SUBDIR)/dosutils && \
9184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9186 "RANLIB=$${RANLIB}" \
9187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9188 maintainer-clean) \
9189 || exit 1
9191 @endif dosutils
9195 .PHONY: configure-etc maybe-configure-etc
9196 maybe-configure-etc:
9197 @if gcc-bootstrap
9198 configure-etc: stage_current
9199 @endif gcc-bootstrap
9200 @if etc
9201 maybe-configure-etc: configure-etc
9202 configure-etc:
9203 @: $(MAKE); $(unstage)
9204 @r=`${PWD_COMMAND}`; export r; \
9205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9206 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
9207 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
9208 $(HOST_EXPORTS) \
9209 echo Configuring in $(HOST_SUBDIR)/etc; \
9210 cd "$(HOST_SUBDIR)/etc" || exit 1; \
9211 case $(srcdir) in \
9212 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9213 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
9214 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9215 esac; \
9216 srcdiroption="--srcdir=$${topdir}/etc"; \
9217 libsrcdir="$$s/etc"; \
9218 $(SHELL) $${libsrcdir}/configure \
9219 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9220 --target=${target_alias} $${srcdiroption} \
9221 || exit 1
9222 @endif etc
9228 .PHONY: all-etc maybe-all-etc
9229 maybe-all-etc:
9230 @if gcc-bootstrap
9231 all-etc: stage_current
9232 @endif gcc-bootstrap
9233 @if etc
9234 TARGET-etc=all
9235 maybe-all-etc: all-etc
9236 all-etc: configure-etc
9237 @: $(MAKE); $(unstage)
9238 @r=`${PWD_COMMAND}`; export r; \
9239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9240 $(HOST_EXPORTS) \
9241 (cd $(HOST_SUBDIR)/etc && \
9242 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
9243 @endif etc
9248 .PHONY: check-etc maybe-check-etc
9249 maybe-check-etc:
9250 @if etc
9251 maybe-check-etc: check-etc
9253 check-etc:
9254 @: $(MAKE); $(unstage)
9255 @r=`${PWD_COMMAND}`; export r; \
9256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9257 $(HOST_EXPORTS) \
9258 (cd $(HOST_SUBDIR)/etc && \
9259 $(MAKE) $(FLAGS_TO_PASS) check)
9261 @endif etc
9263 .PHONY: install-etc maybe-install-etc
9264 maybe-install-etc:
9265 @if etc
9266 maybe-install-etc: install-etc
9268 install-etc: installdirs
9269 @: $(MAKE); $(unstage)
9270 @r=`${PWD_COMMAND}`; export r; \
9271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9272 $(HOST_EXPORTS) \
9273 (cd $(HOST_SUBDIR)/etc && \
9274 $(MAKE) $(FLAGS_TO_PASS) install)
9276 @endif etc
9278 # Other targets (info, dvi, pdf, etc.)
9280 .PHONY: maybe-info-etc info-etc
9281 maybe-info-etc:
9282 @if etc
9283 maybe-info-etc: info-etc
9285 info-etc: \
9286 configure-etc
9287 @: $(MAKE); $(unstage)
9288 @[ -f ./etc/Makefile ] || exit 0; \
9289 r=`${PWD_COMMAND}`; export r; \
9290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9291 $(HOST_EXPORTS) \
9292 for flag in $(EXTRA_HOST_FLAGS) ; do \
9293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9294 done; \
9295 echo "Doing info in etc" ; \
9296 (cd $(HOST_SUBDIR)/etc && \
9297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9299 "RANLIB=$${RANLIB}" \
9300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9301 info) \
9302 || exit 1
9304 @endif etc
9306 .PHONY: maybe-dvi-etc dvi-etc
9307 maybe-dvi-etc:
9308 @if etc
9309 maybe-dvi-etc: dvi-etc
9311 dvi-etc: \
9312 configure-etc
9313 @: $(MAKE); $(unstage)
9314 @[ -f ./etc/Makefile ] || exit 0; \
9315 r=`${PWD_COMMAND}`; export r; \
9316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9317 $(HOST_EXPORTS) \
9318 for flag in $(EXTRA_HOST_FLAGS) ; do \
9319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9320 done; \
9321 echo "Doing dvi in etc" ; \
9322 (cd $(HOST_SUBDIR)/etc && \
9323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9325 "RANLIB=$${RANLIB}" \
9326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9327 dvi) \
9328 || exit 1
9330 @endif etc
9332 .PHONY: maybe-pdf-etc pdf-etc
9333 maybe-pdf-etc:
9334 @if etc
9335 maybe-pdf-etc: pdf-etc
9337 pdf-etc: \
9338 configure-etc
9339 @: $(MAKE); $(unstage)
9340 @[ -f ./etc/Makefile ] || exit 0; \
9341 r=`${PWD_COMMAND}`; export r; \
9342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9343 $(HOST_EXPORTS) \
9344 for flag in $(EXTRA_HOST_FLAGS) ; do \
9345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9346 done; \
9347 echo "Doing pdf in etc" ; \
9348 (cd $(HOST_SUBDIR)/etc && \
9349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9351 "RANLIB=$${RANLIB}" \
9352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9353 pdf) \
9354 || exit 1
9356 @endif etc
9358 .PHONY: maybe-html-etc html-etc
9359 maybe-html-etc:
9360 @if etc
9361 maybe-html-etc: html-etc
9363 html-etc: \
9364 configure-etc
9365 @: $(MAKE); $(unstage)
9366 @[ -f ./etc/Makefile ] || exit 0; \
9367 r=`${PWD_COMMAND}`; export r; \
9368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9369 $(HOST_EXPORTS) \
9370 for flag in $(EXTRA_HOST_FLAGS) ; do \
9371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9372 done; \
9373 echo "Doing html in etc" ; \
9374 (cd $(HOST_SUBDIR)/etc && \
9375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9377 "RANLIB=$${RANLIB}" \
9378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9379 html) \
9380 || exit 1
9382 @endif etc
9384 .PHONY: maybe-TAGS-etc TAGS-etc
9385 maybe-TAGS-etc:
9386 @if etc
9387 maybe-TAGS-etc: TAGS-etc
9389 TAGS-etc: \
9390 configure-etc
9391 @: $(MAKE); $(unstage)
9392 @[ -f ./etc/Makefile ] || exit 0; \
9393 r=`${PWD_COMMAND}`; export r; \
9394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9395 $(HOST_EXPORTS) \
9396 for flag in $(EXTRA_HOST_FLAGS) ; do \
9397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9398 done; \
9399 echo "Doing TAGS in etc" ; \
9400 (cd $(HOST_SUBDIR)/etc && \
9401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9403 "RANLIB=$${RANLIB}" \
9404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9405 TAGS) \
9406 || exit 1
9408 @endif etc
9410 .PHONY: maybe-install-info-etc install-info-etc
9411 maybe-install-info-etc:
9412 @if etc
9413 maybe-install-info-etc: install-info-etc
9415 install-info-etc: \
9416 configure-etc \
9417 info-etc
9418 @: $(MAKE); $(unstage)
9419 @[ -f ./etc/Makefile ] || exit 0; \
9420 r=`${PWD_COMMAND}`; export r; \
9421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9422 $(HOST_EXPORTS) \
9423 for flag in $(EXTRA_HOST_FLAGS) ; do \
9424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9425 done; \
9426 echo "Doing install-info in etc" ; \
9427 (cd $(HOST_SUBDIR)/etc && \
9428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9430 "RANLIB=$${RANLIB}" \
9431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9432 install-info) \
9433 || exit 1
9435 @endif etc
9437 .PHONY: maybe-install-html-etc install-html-etc
9438 maybe-install-html-etc:
9439 @if etc
9440 maybe-install-html-etc: install-html-etc
9442 install-html-etc: \
9443 configure-etc \
9444 html-etc
9445 @: $(MAKE); $(unstage)
9446 @[ -f ./etc/Makefile ] || exit 0; \
9447 r=`${PWD_COMMAND}`; export r; \
9448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9449 $(HOST_EXPORTS) \
9450 for flag in $(EXTRA_HOST_FLAGS) ; do \
9451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9452 done; \
9453 echo "Doing install-html in etc" ; \
9454 (cd $(HOST_SUBDIR)/etc && \
9455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9457 "RANLIB=$${RANLIB}" \
9458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9459 install-html) \
9460 || exit 1
9462 @endif etc
9464 .PHONY: maybe-installcheck-etc installcheck-etc
9465 maybe-installcheck-etc:
9466 @if etc
9467 maybe-installcheck-etc: installcheck-etc
9469 installcheck-etc: \
9470 configure-etc
9471 @: $(MAKE); $(unstage)
9472 @[ -f ./etc/Makefile ] || exit 0; \
9473 r=`${PWD_COMMAND}`; export r; \
9474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9475 $(HOST_EXPORTS) \
9476 for flag in $(EXTRA_HOST_FLAGS) ; do \
9477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9478 done; \
9479 echo "Doing installcheck in etc" ; \
9480 (cd $(HOST_SUBDIR)/etc && \
9481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9483 "RANLIB=$${RANLIB}" \
9484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9485 installcheck) \
9486 || exit 1
9488 @endif etc
9490 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
9491 maybe-mostlyclean-etc:
9492 @if etc
9493 maybe-mostlyclean-etc: mostlyclean-etc
9495 mostlyclean-etc:
9496 @: $(MAKE); $(unstage)
9497 @[ -f ./etc/Makefile ] || exit 0; \
9498 r=`${PWD_COMMAND}`; export r; \
9499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9500 $(HOST_EXPORTS) \
9501 for flag in $(EXTRA_HOST_FLAGS) ; do \
9502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9503 done; \
9504 echo "Doing mostlyclean in etc" ; \
9505 (cd $(HOST_SUBDIR)/etc && \
9506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9508 "RANLIB=$${RANLIB}" \
9509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9510 mostlyclean) \
9511 || exit 1
9513 @endif etc
9515 .PHONY: maybe-clean-etc clean-etc
9516 maybe-clean-etc:
9517 @if etc
9518 maybe-clean-etc: clean-etc
9520 clean-etc:
9521 @: $(MAKE); $(unstage)
9522 @[ -f ./etc/Makefile ] || exit 0; \
9523 r=`${PWD_COMMAND}`; export r; \
9524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9525 $(HOST_EXPORTS) \
9526 for flag in $(EXTRA_HOST_FLAGS) ; do \
9527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9528 done; \
9529 echo "Doing clean in etc" ; \
9530 (cd $(HOST_SUBDIR)/etc && \
9531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9533 "RANLIB=$${RANLIB}" \
9534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9535 clean) \
9536 || exit 1
9538 @endif etc
9540 .PHONY: maybe-distclean-etc distclean-etc
9541 maybe-distclean-etc:
9542 @if etc
9543 maybe-distclean-etc: distclean-etc
9545 distclean-etc:
9546 @: $(MAKE); $(unstage)
9547 @[ -f ./etc/Makefile ] || exit 0; \
9548 r=`${PWD_COMMAND}`; export r; \
9549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9550 $(HOST_EXPORTS) \
9551 for flag in $(EXTRA_HOST_FLAGS) ; do \
9552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9553 done; \
9554 echo "Doing distclean in etc" ; \
9555 (cd $(HOST_SUBDIR)/etc && \
9556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9558 "RANLIB=$${RANLIB}" \
9559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9560 distclean) \
9561 || exit 1
9563 @endif etc
9565 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
9566 maybe-maintainer-clean-etc:
9567 @if etc
9568 maybe-maintainer-clean-etc: maintainer-clean-etc
9570 maintainer-clean-etc:
9571 @: $(MAKE); $(unstage)
9572 @[ -f ./etc/Makefile ] || exit 0; \
9573 r=`${PWD_COMMAND}`; export r; \
9574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9575 $(HOST_EXPORTS) \
9576 for flag in $(EXTRA_HOST_FLAGS) ; do \
9577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9578 done; \
9579 echo "Doing maintainer-clean in etc" ; \
9580 (cd $(HOST_SUBDIR)/etc && \
9581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9583 "RANLIB=$${RANLIB}" \
9584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9585 maintainer-clean) \
9586 || exit 1
9588 @endif etc
9592 .PHONY: configure-fastjar maybe-configure-fastjar
9593 maybe-configure-fastjar:
9594 @if gcc-bootstrap
9595 configure-fastjar: stage_current
9596 @endif gcc-bootstrap
9597 @if fastjar
9598 maybe-configure-fastjar: configure-fastjar
9599 configure-fastjar:
9600 @: $(MAKE); $(unstage)
9601 @r=`${PWD_COMMAND}`; export r; \
9602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9603 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
9604 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
9605 $(HOST_EXPORTS) \
9606 echo Configuring in $(HOST_SUBDIR)/fastjar; \
9607 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
9608 case $(srcdir) in \
9609 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9610 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
9611 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9612 esac; \
9613 srcdiroption="--srcdir=$${topdir}/fastjar"; \
9614 libsrcdir="$$s/fastjar"; \
9615 $(SHELL) $${libsrcdir}/configure \
9616 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9617 --target=${target_alias} $${srcdiroption} \
9618 || exit 1
9619 @endif fastjar
9625 .PHONY: all-fastjar maybe-all-fastjar
9626 maybe-all-fastjar:
9627 @if gcc-bootstrap
9628 all-fastjar: stage_current
9629 @endif gcc-bootstrap
9630 @if fastjar
9631 TARGET-fastjar=all
9632 maybe-all-fastjar: all-fastjar
9633 all-fastjar: configure-fastjar
9634 @: $(MAKE); $(unstage)
9635 @r=`${PWD_COMMAND}`; export r; \
9636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9637 $(HOST_EXPORTS) \
9638 (cd $(HOST_SUBDIR)/fastjar && \
9639 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
9640 @endif fastjar
9645 .PHONY: check-fastjar maybe-check-fastjar
9646 maybe-check-fastjar:
9647 @if fastjar
9648 maybe-check-fastjar: check-fastjar
9650 # This module is only tested in a native toolchain.
9651 check-fastjar:
9652 @: $(MAKE); $(unstage)
9653 @if [ '$(host)' = '$(target)' ] ; then \
9654 r=`${PWD_COMMAND}`; export r; \
9655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9656 $(HOST_EXPORTS) \
9657 (cd $(HOST_SUBDIR)/fastjar && \
9658 $(MAKE) $(FLAGS_TO_PASS) check); \
9661 @endif fastjar
9663 .PHONY: install-fastjar maybe-install-fastjar
9664 maybe-install-fastjar:
9665 @if fastjar
9666 maybe-install-fastjar: install-fastjar
9668 install-fastjar: installdirs
9669 @: $(MAKE); $(unstage)
9670 @r=`${PWD_COMMAND}`; export r; \
9671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9672 $(HOST_EXPORTS) \
9673 (cd $(HOST_SUBDIR)/fastjar && \
9674 $(MAKE) $(FLAGS_TO_PASS) install)
9676 @endif fastjar
9678 # Other targets (info, dvi, pdf, etc.)
9680 .PHONY: maybe-info-fastjar info-fastjar
9681 maybe-info-fastjar:
9682 @if fastjar
9683 maybe-info-fastjar: info-fastjar
9685 info-fastjar: \
9686 configure-fastjar
9687 @: $(MAKE); $(unstage)
9688 @[ -f ./fastjar/Makefile ] || exit 0; \
9689 r=`${PWD_COMMAND}`; export r; \
9690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9691 $(HOST_EXPORTS) \
9692 for flag in $(EXTRA_HOST_FLAGS) ; do \
9693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9694 done; \
9695 echo "Doing info in fastjar" ; \
9696 (cd $(HOST_SUBDIR)/fastjar && \
9697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9699 "RANLIB=$${RANLIB}" \
9700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9701 info) \
9702 || exit 1
9704 @endif fastjar
9706 .PHONY: maybe-dvi-fastjar dvi-fastjar
9707 maybe-dvi-fastjar:
9708 @if fastjar
9709 maybe-dvi-fastjar: dvi-fastjar
9711 dvi-fastjar: \
9712 configure-fastjar
9713 @: $(MAKE); $(unstage)
9714 @[ -f ./fastjar/Makefile ] || exit 0; \
9715 r=`${PWD_COMMAND}`; export r; \
9716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9717 $(HOST_EXPORTS) \
9718 for flag in $(EXTRA_HOST_FLAGS) ; do \
9719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9720 done; \
9721 echo "Doing dvi in fastjar" ; \
9722 (cd $(HOST_SUBDIR)/fastjar && \
9723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9725 "RANLIB=$${RANLIB}" \
9726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9727 dvi) \
9728 || exit 1
9730 @endif fastjar
9732 .PHONY: maybe-pdf-fastjar pdf-fastjar
9733 maybe-pdf-fastjar:
9734 @if fastjar
9735 maybe-pdf-fastjar: pdf-fastjar
9737 pdf-fastjar: \
9738 configure-fastjar
9739 @: $(MAKE); $(unstage)
9740 @[ -f ./fastjar/Makefile ] || exit 0; \
9741 r=`${PWD_COMMAND}`; export r; \
9742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9743 $(HOST_EXPORTS) \
9744 for flag in $(EXTRA_HOST_FLAGS) ; do \
9745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9746 done; \
9747 echo "Doing pdf in fastjar" ; \
9748 (cd $(HOST_SUBDIR)/fastjar && \
9749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9751 "RANLIB=$${RANLIB}" \
9752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9753 pdf) \
9754 || exit 1
9756 @endif fastjar
9758 .PHONY: maybe-html-fastjar html-fastjar
9759 maybe-html-fastjar:
9760 @if fastjar
9761 maybe-html-fastjar: html-fastjar
9763 html-fastjar: \
9764 configure-fastjar
9765 @: $(MAKE); $(unstage)
9766 @[ -f ./fastjar/Makefile ] || exit 0; \
9767 r=`${PWD_COMMAND}`; export r; \
9768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9769 $(HOST_EXPORTS) \
9770 for flag in $(EXTRA_HOST_FLAGS) ; do \
9771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9772 done; \
9773 echo "Doing html in fastjar" ; \
9774 (cd $(HOST_SUBDIR)/fastjar && \
9775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9777 "RANLIB=$${RANLIB}" \
9778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9779 html) \
9780 || exit 1
9782 @endif fastjar
9784 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
9785 maybe-TAGS-fastjar:
9786 @if fastjar
9787 maybe-TAGS-fastjar: TAGS-fastjar
9789 TAGS-fastjar: \
9790 configure-fastjar
9791 @: $(MAKE); $(unstage)
9792 @[ -f ./fastjar/Makefile ] || exit 0; \
9793 r=`${PWD_COMMAND}`; export r; \
9794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9795 $(HOST_EXPORTS) \
9796 for flag in $(EXTRA_HOST_FLAGS) ; do \
9797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9798 done; \
9799 echo "Doing TAGS in fastjar" ; \
9800 (cd $(HOST_SUBDIR)/fastjar && \
9801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9803 "RANLIB=$${RANLIB}" \
9804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9805 TAGS) \
9806 || exit 1
9808 @endif fastjar
9810 .PHONY: maybe-install-info-fastjar install-info-fastjar
9811 maybe-install-info-fastjar:
9812 @if fastjar
9813 maybe-install-info-fastjar: install-info-fastjar
9815 install-info-fastjar: \
9816 configure-fastjar \
9817 info-fastjar
9818 @: $(MAKE); $(unstage)
9819 @[ -f ./fastjar/Makefile ] || exit 0; \
9820 r=`${PWD_COMMAND}`; export r; \
9821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9822 $(HOST_EXPORTS) \
9823 for flag in $(EXTRA_HOST_FLAGS) ; do \
9824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9825 done; \
9826 echo "Doing install-info in fastjar" ; \
9827 (cd $(HOST_SUBDIR)/fastjar && \
9828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9830 "RANLIB=$${RANLIB}" \
9831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9832 install-info) \
9833 || exit 1
9835 @endif fastjar
9837 .PHONY: maybe-install-html-fastjar install-html-fastjar
9838 maybe-install-html-fastjar:
9839 @if fastjar
9840 maybe-install-html-fastjar: install-html-fastjar
9842 install-html-fastjar: \
9843 configure-fastjar \
9844 html-fastjar
9845 @: $(MAKE); $(unstage)
9846 @[ -f ./fastjar/Makefile ] || exit 0; \
9847 r=`${PWD_COMMAND}`; export r; \
9848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9849 $(HOST_EXPORTS) \
9850 for flag in $(EXTRA_HOST_FLAGS) ; do \
9851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9852 done; \
9853 echo "Doing install-html in fastjar" ; \
9854 (cd $(HOST_SUBDIR)/fastjar && \
9855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9857 "RANLIB=$${RANLIB}" \
9858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9859 install-html) \
9860 || exit 1
9862 @endif fastjar
9864 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
9865 maybe-installcheck-fastjar:
9866 @if fastjar
9867 maybe-installcheck-fastjar: installcheck-fastjar
9869 installcheck-fastjar: \
9870 configure-fastjar
9871 @: $(MAKE); $(unstage)
9872 @[ -f ./fastjar/Makefile ] || exit 0; \
9873 r=`${PWD_COMMAND}`; export r; \
9874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9875 $(HOST_EXPORTS) \
9876 for flag in $(EXTRA_HOST_FLAGS) ; do \
9877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9878 done; \
9879 echo "Doing installcheck in fastjar" ; \
9880 (cd $(HOST_SUBDIR)/fastjar && \
9881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9883 "RANLIB=$${RANLIB}" \
9884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9885 installcheck) \
9886 || exit 1
9888 @endif fastjar
9890 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
9891 maybe-mostlyclean-fastjar:
9892 @if fastjar
9893 maybe-mostlyclean-fastjar: mostlyclean-fastjar
9895 mostlyclean-fastjar:
9896 @: $(MAKE); $(unstage)
9897 @[ -f ./fastjar/Makefile ] || exit 0; \
9898 r=`${PWD_COMMAND}`; export r; \
9899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9900 $(HOST_EXPORTS) \
9901 for flag in $(EXTRA_HOST_FLAGS) ; do \
9902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9903 done; \
9904 echo "Doing mostlyclean in fastjar" ; \
9905 (cd $(HOST_SUBDIR)/fastjar && \
9906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9908 "RANLIB=$${RANLIB}" \
9909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9910 mostlyclean) \
9911 || exit 1
9913 @endif fastjar
9915 .PHONY: maybe-clean-fastjar clean-fastjar
9916 maybe-clean-fastjar:
9917 @if fastjar
9918 maybe-clean-fastjar: clean-fastjar
9920 clean-fastjar:
9921 @: $(MAKE); $(unstage)
9922 @[ -f ./fastjar/Makefile ] || exit 0; \
9923 r=`${PWD_COMMAND}`; export r; \
9924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9925 $(HOST_EXPORTS) \
9926 for flag in $(EXTRA_HOST_FLAGS) ; do \
9927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9928 done; \
9929 echo "Doing clean in fastjar" ; \
9930 (cd $(HOST_SUBDIR)/fastjar && \
9931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9933 "RANLIB=$${RANLIB}" \
9934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9935 clean) \
9936 || exit 1
9938 @endif fastjar
9940 .PHONY: maybe-distclean-fastjar distclean-fastjar
9941 maybe-distclean-fastjar:
9942 @if fastjar
9943 maybe-distclean-fastjar: distclean-fastjar
9945 distclean-fastjar:
9946 @: $(MAKE); $(unstage)
9947 @[ -f ./fastjar/Makefile ] || exit 0; \
9948 r=`${PWD_COMMAND}`; export r; \
9949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9950 $(HOST_EXPORTS) \
9951 for flag in $(EXTRA_HOST_FLAGS) ; do \
9952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9953 done; \
9954 echo "Doing distclean in fastjar" ; \
9955 (cd $(HOST_SUBDIR)/fastjar && \
9956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9958 "RANLIB=$${RANLIB}" \
9959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9960 distclean) \
9961 || exit 1
9963 @endif fastjar
9965 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
9966 maybe-maintainer-clean-fastjar:
9967 @if fastjar
9968 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
9970 maintainer-clean-fastjar:
9971 @: $(MAKE); $(unstage)
9972 @[ -f ./fastjar/Makefile ] || exit 0; \
9973 r=`${PWD_COMMAND}`; export r; \
9974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9975 $(HOST_EXPORTS) \
9976 for flag in $(EXTRA_HOST_FLAGS) ; do \
9977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9978 done; \
9979 echo "Doing maintainer-clean in fastjar" ; \
9980 (cd $(HOST_SUBDIR)/fastjar && \
9981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9983 "RANLIB=$${RANLIB}" \
9984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9985 maintainer-clean) \
9986 || exit 1
9988 @endif fastjar
9992 .PHONY: configure-fileutils maybe-configure-fileutils
9993 maybe-configure-fileutils:
9994 @if gcc-bootstrap
9995 configure-fileutils: stage_current
9996 @endif gcc-bootstrap
9997 @if fileutils
9998 maybe-configure-fileutils: configure-fileutils
9999 configure-fileutils:
10000 @: $(MAKE); $(unstage)
10001 @r=`${PWD_COMMAND}`; export r; \
10002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10003 test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
10004 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
10005 $(HOST_EXPORTS) \
10006 echo Configuring in $(HOST_SUBDIR)/fileutils; \
10007 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
10008 case $(srcdir) in \
10009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10010 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
10011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10012 esac; \
10013 srcdiroption="--srcdir=$${topdir}/fileutils"; \
10014 libsrcdir="$$s/fileutils"; \
10015 $(SHELL) $${libsrcdir}/configure \
10016 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10017 --target=${target_alias} $${srcdiroption} \
10018 || exit 1
10019 @endif fileutils
10025 .PHONY: all-fileutils maybe-all-fileutils
10026 maybe-all-fileutils:
10027 @if gcc-bootstrap
10028 all-fileutils: stage_current
10029 @endif gcc-bootstrap
10030 @if fileutils
10031 TARGET-fileutils=all
10032 maybe-all-fileutils: all-fileutils
10033 all-fileutils: configure-fileutils
10034 @: $(MAKE); $(unstage)
10035 @r=`${PWD_COMMAND}`; export r; \
10036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10037 $(HOST_EXPORTS) \
10038 (cd $(HOST_SUBDIR)/fileutils && \
10039 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
10040 @endif fileutils
10045 .PHONY: check-fileutils maybe-check-fileutils
10046 maybe-check-fileutils:
10047 @if fileutils
10048 maybe-check-fileutils: check-fileutils
10050 check-fileutils:
10051 @: $(MAKE); $(unstage)
10052 @r=`${PWD_COMMAND}`; export r; \
10053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10054 $(HOST_EXPORTS) \
10055 (cd $(HOST_SUBDIR)/fileutils && \
10056 $(MAKE) $(FLAGS_TO_PASS) check)
10058 @endif fileutils
10060 .PHONY: install-fileutils maybe-install-fileutils
10061 maybe-install-fileutils:
10062 @if fileutils
10063 maybe-install-fileutils: install-fileutils
10065 install-fileutils: installdirs
10066 @: $(MAKE); $(unstage)
10067 @r=`${PWD_COMMAND}`; export r; \
10068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10069 $(HOST_EXPORTS) \
10070 (cd $(HOST_SUBDIR)/fileutils && \
10071 $(MAKE) $(FLAGS_TO_PASS) install)
10073 @endif fileutils
10075 # Other targets (info, dvi, pdf, etc.)
10077 .PHONY: maybe-info-fileutils info-fileutils
10078 maybe-info-fileutils:
10079 @if fileutils
10080 maybe-info-fileutils: info-fileutils
10082 info-fileutils: \
10083 configure-fileutils
10084 @: $(MAKE); $(unstage)
10085 @[ -f ./fileutils/Makefile ] || exit 0; \
10086 r=`${PWD_COMMAND}`; export r; \
10087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10088 $(HOST_EXPORTS) \
10089 for flag in $(EXTRA_HOST_FLAGS) ; do \
10090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10091 done; \
10092 echo "Doing info in fileutils" ; \
10093 (cd $(HOST_SUBDIR)/fileutils && \
10094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10096 "RANLIB=$${RANLIB}" \
10097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10098 info) \
10099 || exit 1
10101 @endif fileutils
10103 .PHONY: maybe-dvi-fileutils dvi-fileutils
10104 maybe-dvi-fileutils:
10105 @if fileutils
10106 maybe-dvi-fileutils: dvi-fileutils
10108 dvi-fileutils: \
10109 configure-fileutils
10110 @: $(MAKE); $(unstage)
10111 @[ -f ./fileutils/Makefile ] || exit 0; \
10112 r=`${PWD_COMMAND}`; export r; \
10113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10114 $(HOST_EXPORTS) \
10115 for flag in $(EXTRA_HOST_FLAGS) ; do \
10116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10117 done; \
10118 echo "Doing dvi in fileutils" ; \
10119 (cd $(HOST_SUBDIR)/fileutils && \
10120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10122 "RANLIB=$${RANLIB}" \
10123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10124 dvi) \
10125 || exit 1
10127 @endif fileutils
10129 .PHONY: maybe-pdf-fileutils pdf-fileutils
10130 maybe-pdf-fileutils:
10131 @if fileutils
10132 maybe-pdf-fileutils: pdf-fileutils
10134 pdf-fileutils: \
10135 configure-fileutils
10136 @: $(MAKE); $(unstage)
10137 @[ -f ./fileutils/Makefile ] || exit 0; \
10138 r=`${PWD_COMMAND}`; export r; \
10139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10140 $(HOST_EXPORTS) \
10141 for flag in $(EXTRA_HOST_FLAGS) ; do \
10142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10143 done; \
10144 echo "Doing pdf in fileutils" ; \
10145 (cd $(HOST_SUBDIR)/fileutils && \
10146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10148 "RANLIB=$${RANLIB}" \
10149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10150 pdf) \
10151 || exit 1
10153 @endif fileutils
10155 .PHONY: maybe-html-fileutils html-fileutils
10156 maybe-html-fileutils:
10157 @if fileutils
10158 maybe-html-fileutils: html-fileutils
10160 html-fileutils: \
10161 configure-fileutils
10162 @: $(MAKE); $(unstage)
10163 @[ -f ./fileutils/Makefile ] || exit 0; \
10164 r=`${PWD_COMMAND}`; export r; \
10165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10166 $(HOST_EXPORTS) \
10167 for flag in $(EXTRA_HOST_FLAGS) ; do \
10168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10169 done; \
10170 echo "Doing html in fileutils" ; \
10171 (cd $(HOST_SUBDIR)/fileutils && \
10172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10174 "RANLIB=$${RANLIB}" \
10175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10176 html) \
10177 || exit 1
10179 @endif fileutils
10181 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
10182 maybe-TAGS-fileutils:
10183 @if fileutils
10184 maybe-TAGS-fileutils: TAGS-fileutils
10186 TAGS-fileutils: \
10187 configure-fileutils
10188 @: $(MAKE); $(unstage)
10189 @[ -f ./fileutils/Makefile ] || exit 0; \
10190 r=`${PWD_COMMAND}`; export r; \
10191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10192 $(HOST_EXPORTS) \
10193 for flag in $(EXTRA_HOST_FLAGS) ; do \
10194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10195 done; \
10196 echo "Doing TAGS in fileutils" ; \
10197 (cd $(HOST_SUBDIR)/fileutils && \
10198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10200 "RANLIB=$${RANLIB}" \
10201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10202 TAGS) \
10203 || exit 1
10205 @endif fileutils
10207 .PHONY: maybe-install-info-fileutils install-info-fileutils
10208 maybe-install-info-fileutils:
10209 @if fileutils
10210 maybe-install-info-fileutils: install-info-fileutils
10212 install-info-fileutils: \
10213 configure-fileutils \
10214 info-fileutils
10215 @: $(MAKE); $(unstage)
10216 @[ -f ./fileutils/Makefile ] || exit 0; \
10217 r=`${PWD_COMMAND}`; export r; \
10218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10219 $(HOST_EXPORTS) \
10220 for flag in $(EXTRA_HOST_FLAGS) ; do \
10221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10222 done; \
10223 echo "Doing install-info in fileutils" ; \
10224 (cd $(HOST_SUBDIR)/fileutils && \
10225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10227 "RANLIB=$${RANLIB}" \
10228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10229 install-info) \
10230 || exit 1
10232 @endif fileutils
10234 .PHONY: maybe-install-html-fileutils install-html-fileutils
10235 maybe-install-html-fileutils:
10236 @if fileutils
10237 maybe-install-html-fileutils: install-html-fileutils
10239 install-html-fileutils: \
10240 configure-fileutils \
10241 html-fileutils
10242 @: $(MAKE); $(unstage)
10243 @[ -f ./fileutils/Makefile ] || exit 0; \
10244 r=`${PWD_COMMAND}`; export r; \
10245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10246 $(HOST_EXPORTS) \
10247 for flag in $(EXTRA_HOST_FLAGS) ; do \
10248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10249 done; \
10250 echo "Doing install-html in fileutils" ; \
10251 (cd $(HOST_SUBDIR)/fileutils && \
10252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10254 "RANLIB=$${RANLIB}" \
10255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10256 install-html) \
10257 || exit 1
10259 @endif fileutils
10261 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
10262 maybe-installcheck-fileutils:
10263 @if fileutils
10264 maybe-installcheck-fileutils: installcheck-fileutils
10266 installcheck-fileutils: \
10267 configure-fileutils
10268 @: $(MAKE); $(unstage)
10269 @[ -f ./fileutils/Makefile ] || exit 0; \
10270 r=`${PWD_COMMAND}`; export r; \
10271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10272 $(HOST_EXPORTS) \
10273 for flag in $(EXTRA_HOST_FLAGS) ; do \
10274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10275 done; \
10276 echo "Doing installcheck in fileutils" ; \
10277 (cd $(HOST_SUBDIR)/fileutils && \
10278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10280 "RANLIB=$${RANLIB}" \
10281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10282 installcheck) \
10283 || exit 1
10285 @endif fileutils
10287 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
10288 maybe-mostlyclean-fileutils:
10289 @if fileutils
10290 maybe-mostlyclean-fileutils: mostlyclean-fileutils
10292 mostlyclean-fileutils:
10293 @: $(MAKE); $(unstage)
10294 @[ -f ./fileutils/Makefile ] || exit 0; \
10295 r=`${PWD_COMMAND}`; export r; \
10296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10297 $(HOST_EXPORTS) \
10298 for flag in $(EXTRA_HOST_FLAGS) ; do \
10299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10300 done; \
10301 echo "Doing mostlyclean in fileutils" ; \
10302 (cd $(HOST_SUBDIR)/fileutils && \
10303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10305 "RANLIB=$${RANLIB}" \
10306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10307 mostlyclean) \
10308 || exit 1
10310 @endif fileutils
10312 .PHONY: maybe-clean-fileutils clean-fileutils
10313 maybe-clean-fileutils:
10314 @if fileutils
10315 maybe-clean-fileutils: clean-fileutils
10317 clean-fileutils:
10318 @: $(MAKE); $(unstage)
10319 @[ -f ./fileutils/Makefile ] || exit 0; \
10320 r=`${PWD_COMMAND}`; export r; \
10321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10322 $(HOST_EXPORTS) \
10323 for flag in $(EXTRA_HOST_FLAGS) ; do \
10324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10325 done; \
10326 echo "Doing clean in fileutils" ; \
10327 (cd $(HOST_SUBDIR)/fileutils && \
10328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10330 "RANLIB=$${RANLIB}" \
10331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10332 clean) \
10333 || exit 1
10335 @endif fileutils
10337 .PHONY: maybe-distclean-fileutils distclean-fileutils
10338 maybe-distclean-fileutils:
10339 @if fileutils
10340 maybe-distclean-fileutils: distclean-fileutils
10342 distclean-fileutils:
10343 @: $(MAKE); $(unstage)
10344 @[ -f ./fileutils/Makefile ] || exit 0; \
10345 r=`${PWD_COMMAND}`; export r; \
10346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10347 $(HOST_EXPORTS) \
10348 for flag in $(EXTRA_HOST_FLAGS) ; do \
10349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10350 done; \
10351 echo "Doing distclean in fileutils" ; \
10352 (cd $(HOST_SUBDIR)/fileutils && \
10353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10355 "RANLIB=$${RANLIB}" \
10356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10357 distclean) \
10358 || exit 1
10360 @endif fileutils
10362 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
10363 maybe-maintainer-clean-fileutils:
10364 @if fileutils
10365 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
10367 maintainer-clean-fileutils:
10368 @: $(MAKE); $(unstage)
10369 @[ -f ./fileutils/Makefile ] || exit 0; \
10370 r=`${PWD_COMMAND}`; export r; \
10371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10372 $(HOST_EXPORTS) \
10373 for flag in $(EXTRA_HOST_FLAGS) ; do \
10374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10375 done; \
10376 echo "Doing maintainer-clean in fileutils" ; \
10377 (cd $(HOST_SUBDIR)/fileutils && \
10378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10380 "RANLIB=$${RANLIB}" \
10381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10382 maintainer-clean) \
10383 || exit 1
10385 @endif fileutils
10389 .PHONY: configure-findutils maybe-configure-findutils
10390 maybe-configure-findutils:
10391 @if gcc-bootstrap
10392 configure-findutils: stage_current
10393 @endif gcc-bootstrap
10394 @if findutils
10395 maybe-configure-findutils: configure-findutils
10396 configure-findutils:
10397 @: $(MAKE); $(unstage)
10398 @r=`${PWD_COMMAND}`; export r; \
10399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10400 test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
10401 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
10402 $(HOST_EXPORTS) \
10403 echo Configuring in $(HOST_SUBDIR)/findutils; \
10404 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
10405 case $(srcdir) in \
10406 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10407 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
10408 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10409 esac; \
10410 srcdiroption="--srcdir=$${topdir}/findutils"; \
10411 libsrcdir="$$s/findutils"; \
10412 $(SHELL) $${libsrcdir}/configure \
10413 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10414 --target=${target_alias} $${srcdiroption} \
10415 || exit 1
10416 @endif findutils
10422 .PHONY: all-findutils maybe-all-findutils
10423 maybe-all-findutils:
10424 @if gcc-bootstrap
10425 all-findutils: stage_current
10426 @endif gcc-bootstrap
10427 @if findutils
10428 TARGET-findutils=all
10429 maybe-all-findutils: all-findutils
10430 all-findutils: configure-findutils
10431 @: $(MAKE); $(unstage)
10432 @r=`${PWD_COMMAND}`; export r; \
10433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10434 $(HOST_EXPORTS) \
10435 (cd $(HOST_SUBDIR)/findutils && \
10436 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
10437 @endif findutils
10442 .PHONY: check-findutils maybe-check-findutils
10443 maybe-check-findutils:
10444 @if findutils
10445 maybe-check-findutils: check-findutils
10447 check-findutils:
10448 @: $(MAKE); $(unstage)
10449 @r=`${PWD_COMMAND}`; export r; \
10450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10451 $(HOST_EXPORTS) \
10452 (cd $(HOST_SUBDIR)/findutils && \
10453 $(MAKE) $(FLAGS_TO_PASS) check)
10455 @endif findutils
10457 .PHONY: install-findutils maybe-install-findutils
10458 maybe-install-findutils:
10459 @if findutils
10460 maybe-install-findutils: install-findutils
10462 install-findutils: installdirs
10463 @: $(MAKE); $(unstage)
10464 @r=`${PWD_COMMAND}`; export r; \
10465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10466 $(HOST_EXPORTS) \
10467 (cd $(HOST_SUBDIR)/findutils && \
10468 $(MAKE) $(FLAGS_TO_PASS) install)
10470 @endif findutils
10472 # Other targets (info, dvi, pdf, etc.)
10474 .PHONY: maybe-info-findutils info-findutils
10475 maybe-info-findutils:
10476 @if findutils
10477 maybe-info-findutils: info-findutils
10479 info-findutils: \
10480 configure-findutils
10481 @: $(MAKE); $(unstage)
10482 @[ -f ./findutils/Makefile ] || exit 0; \
10483 r=`${PWD_COMMAND}`; export r; \
10484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10485 $(HOST_EXPORTS) \
10486 for flag in $(EXTRA_HOST_FLAGS) ; do \
10487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10488 done; \
10489 echo "Doing info in findutils" ; \
10490 (cd $(HOST_SUBDIR)/findutils && \
10491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10493 "RANLIB=$${RANLIB}" \
10494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10495 info) \
10496 || exit 1
10498 @endif findutils
10500 .PHONY: maybe-dvi-findutils dvi-findutils
10501 maybe-dvi-findutils:
10502 @if findutils
10503 maybe-dvi-findutils: dvi-findutils
10505 dvi-findutils: \
10506 configure-findutils
10507 @: $(MAKE); $(unstage)
10508 @[ -f ./findutils/Makefile ] || exit 0; \
10509 r=`${PWD_COMMAND}`; export r; \
10510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10511 $(HOST_EXPORTS) \
10512 for flag in $(EXTRA_HOST_FLAGS) ; do \
10513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10514 done; \
10515 echo "Doing dvi in findutils" ; \
10516 (cd $(HOST_SUBDIR)/findutils && \
10517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10519 "RANLIB=$${RANLIB}" \
10520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10521 dvi) \
10522 || exit 1
10524 @endif findutils
10526 .PHONY: maybe-pdf-findutils pdf-findutils
10527 maybe-pdf-findutils:
10528 @if findutils
10529 maybe-pdf-findutils: pdf-findutils
10531 pdf-findutils: \
10532 configure-findutils
10533 @: $(MAKE); $(unstage)
10534 @[ -f ./findutils/Makefile ] || exit 0; \
10535 r=`${PWD_COMMAND}`; export r; \
10536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10537 $(HOST_EXPORTS) \
10538 for flag in $(EXTRA_HOST_FLAGS) ; do \
10539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10540 done; \
10541 echo "Doing pdf in findutils" ; \
10542 (cd $(HOST_SUBDIR)/findutils && \
10543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10545 "RANLIB=$${RANLIB}" \
10546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10547 pdf) \
10548 || exit 1
10550 @endif findutils
10552 .PHONY: maybe-html-findutils html-findutils
10553 maybe-html-findutils:
10554 @if findutils
10555 maybe-html-findutils: html-findutils
10557 html-findutils: \
10558 configure-findutils
10559 @: $(MAKE); $(unstage)
10560 @[ -f ./findutils/Makefile ] || exit 0; \
10561 r=`${PWD_COMMAND}`; export r; \
10562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10563 $(HOST_EXPORTS) \
10564 for flag in $(EXTRA_HOST_FLAGS) ; do \
10565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10566 done; \
10567 echo "Doing html in findutils" ; \
10568 (cd $(HOST_SUBDIR)/findutils && \
10569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10571 "RANLIB=$${RANLIB}" \
10572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10573 html) \
10574 || exit 1
10576 @endif findutils
10578 .PHONY: maybe-TAGS-findutils TAGS-findutils
10579 maybe-TAGS-findutils:
10580 @if findutils
10581 maybe-TAGS-findutils: TAGS-findutils
10583 TAGS-findutils: \
10584 configure-findutils
10585 @: $(MAKE); $(unstage)
10586 @[ -f ./findutils/Makefile ] || exit 0; \
10587 r=`${PWD_COMMAND}`; export r; \
10588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10589 $(HOST_EXPORTS) \
10590 for flag in $(EXTRA_HOST_FLAGS) ; do \
10591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10592 done; \
10593 echo "Doing TAGS in findutils" ; \
10594 (cd $(HOST_SUBDIR)/findutils && \
10595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10597 "RANLIB=$${RANLIB}" \
10598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10599 TAGS) \
10600 || exit 1
10602 @endif findutils
10604 .PHONY: maybe-install-info-findutils install-info-findutils
10605 maybe-install-info-findutils:
10606 @if findutils
10607 maybe-install-info-findutils: install-info-findutils
10609 install-info-findutils: \
10610 configure-findutils \
10611 info-findutils
10612 @: $(MAKE); $(unstage)
10613 @[ -f ./findutils/Makefile ] || exit 0; \
10614 r=`${PWD_COMMAND}`; export r; \
10615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10616 $(HOST_EXPORTS) \
10617 for flag in $(EXTRA_HOST_FLAGS) ; do \
10618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10619 done; \
10620 echo "Doing install-info in findutils" ; \
10621 (cd $(HOST_SUBDIR)/findutils && \
10622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10624 "RANLIB=$${RANLIB}" \
10625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10626 install-info) \
10627 || exit 1
10629 @endif findutils
10631 .PHONY: maybe-install-html-findutils install-html-findutils
10632 maybe-install-html-findutils:
10633 @if findutils
10634 maybe-install-html-findutils: install-html-findutils
10636 install-html-findutils: \
10637 configure-findutils \
10638 html-findutils
10639 @: $(MAKE); $(unstage)
10640 @[ -f ./findutils/Makefile ] || exit 0; \
10641 r=`${PWD_COMMAND}`; export r; \
10642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10643 $(HOST_EXPORTS) \
10644 for flag in $(EXTRA_HOST_FLAGS) ; do \
10645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10646 done; \
10647 echo "Doing install-html in findutils" ; \
10648 (cd $(HOST_SUBDIR)/findutils && \
10649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10651 "RANLIB=$${RANLIB}" \
10652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10653 install-html) \
10654 || exit 1
10656 @endif findutils
10658 .PHONY: maybe-installcheck-findutils installcheck-findutils
10659 maybe-installcheck-findutils:
10660 @if findutils
10661 maybe-installcheck-findutils: installcheck-findutils
10663 installcheck-findutils: \
10664 configure-findutils
10665 @: $(MAKE); $(unstage)
10666 @[ -f ./findutils/Makefile ] || exit 0; \
10667 r=`${PWD_COMMAND}`; export r; \
10668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10669 $(HOST_EXPORTS) \
10670 for flag in $(EXTRA_HOST_FLAGS) ; do \
10671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10672 done; \
10673 echo "Doing installcheck in findutils" ; \
10674 (cd $(HOST_SUBDIR)/findutils && \
10675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10677 "RANLIB=$${RANLIB}" \
10678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10679 installcheck) \
10680 || exit 1
10682 @endif findutils
10684 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
10685 maybe-mostlyclean-findutils:
10686 @if findutils
10687 maybe-mostlyclean-findutils: mostlyclean-findutils
10689 mostlyclean-findutils:
10690 @: $(MAKE); $(unstage)
10691 @[ -f ./findutils/Makefile ] || exit 0; \
10692 r=`${PWD_COMMAND}`; export r; \
10693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10694 $(HOST_EXPORTS) \
10695 for flag in $(EXTRA_HOST_FLAGS) ; do \
10696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10697 done; \
10698 echo "Doing mostlyclean in findutils" ; \
10699 (cd $(HOST_SUBDIR)/findutils && \
10700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10702 "RANLIB=$${RANLIB}" \
10703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10704 mostlyclean) \
10705 || exit 1
10707 @endif findutils
10709 .PHONY: maybe-clean-findutils clean-findutils
10710 maybe-clean-findutils:
10711 @if findutils
10712 maybe-clean-findutils: clean-findutils
10714 clean-findutils:
10715 @: $(MAKE); $(unstage)
10716 @[ -f ./findutils/Makefile ] || exit 0; \
10717 r=`${PWD_COMMAND}`; export r; \
10718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10719 $(HOST_EXPORTS) \
10720 for flag in $(EXTRA_HOST_FLAGS) ; do \
10721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10722 done; \
10723 echo "Doing clean in findutils" ; \
10724 (cd $(HOST_SUBDIR)/findutils && \
10725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10727 "RANLIB=$${RANLIB}" \
10728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10729 clean) \
10730 || exit 1
10732 @endif findutils
10734 .PHONY: maybe-distclean-findutils distclean-findutils
10735 maybe-distclean-findutils:
10736 @if findutils
10737 maybe-distclean-findutils: distclean-findutils
10739 distclean-findutils:
10740 @: $(MAKE); $(unstage)
10741 @[ -f ./findutils/Makefile ] || exit 0; \
10742 r=`${PWD_COMMAND}`; export r; \
10743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10744 $(HOST_EXPORTS) \
10745 for flag in $(EXTRA_HOST_FLAGS) ; do \
10746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10747 done; \
10748 echo "Doing distclean in findutils" ; \
10749 (cd $(HOST_SUBDIR)/findutils && \
10750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10752 "RANLIB=$${RANLIB}" \
10753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10754 distclean) \
10755 || exit 1
10757 @endif findutils
10759 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
10760 maybe-maintainer-clean-findutils:
10761 @if findutils
10762 maybe-maintainer-clean-findutils: maintainer-clean-findutils
10764 maintainer-clean-findutils:
10765 @: $(MAKE); $(unstage)
10766 @[ -f ./findutils/Makefile ] || exit 0; \
10767 r=`${PWD_COMMAND}`; export r; \
10768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10769 $(HOST_EXPORTS) \
10770 for flag in $(EXTRA_HOST_FLAGS) ; do \
10771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10772 done; \
10773 echo "Doing maintainer-clean in findutils" ; \
10774 (cd $(HOST_SUBDIR)/findutils && \
10775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10777 "RANLIB=$${RANLIB}" \
10778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10779 maintainer-clean) \
10780 || exit 1
10782 @endif findutils
10786 .PHONY: configure-find maybe-configure-find
10787 maybe-configure-find:
10788 @if gcc-bootstrap
10789 configure-find: stage_current
10790 @endif gcc-bootstrap
10791 @if find
10792 maybe-configure-find: configure-find
10793 configure-find:
10794 @: $(MAKE); $(unstage)
10795 @r=`${PWD_COMMAND}`; export r; \
10796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10797 test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
10798 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
10799 $(HOST_EXPORTS) \
10800 echo Configuring in $(HOST_SUBDIR)/find; \
10801 cd "$(HOST_SUBDIR)/find" || exit 1; \
10802 case $(srcdir) in \
10803 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10804 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
10805 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10806 esac; \
10807 srcdiroption="--srcdir=$${topdir}/find"; \
10808 libsrcdir="$$s/find"; \
10809 $(SHELL) $${libsrcdir}/configure \
10810 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10811 --target=${target_alias} $${srcdiroption} \
10812 || exit 1
10813 @endif find
10819 .PHONY: all-find maybe-all-find
10820 maybe-all-find:
10821 @if gcc-bootstrap
10822 all-find: stage_current
10823 @endif gcc-bootstrap
10824 @if find
10825 TARGET-find=all
10826 maybe-all-find: all-find
10827 all-find: configure-find
10828 @: $(MAKE); $(unstage)
10829 @r=`${PWD_COMMAND}`; export r; \
10830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10831 $(HOST_EXPORTS) \
10832 (cd $(HOST_SUBDIR)/find && \
10833 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
10834 @endif find
10839 .PHONY: check-find maybe-check-find
10840 maybe-check-find:
10841 @if find
10842 maybe-check-find: check-find
10844 check-find:
10845 @: $(MAKE); $(unstage)
10846 @r=`${PWD_COMMAND}`; export r; \
10847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10848 $(HOST_EXPORTS) \
10849 (cd $(HOST_SUBDIR)/find && \
10850 $(MAKE) $(FLAGS_TO_PASS) check)
10852 @endif find
10854 .PHONY: install-find maybe-install-find
10855 maybe-install-find:
10856 @if find
10857 maybe-install-find: install-find
10859 install-find: installdirs
10860 @: $(MAKE); $(unstage)
10861 @r=`${PWD_COMMAND}`; export r; \
10862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10863 $(HOST_EXPORTS) \
10864 (cd $(HOST_SUBDIR)/find && \
10865 $(MAKE) $(FLAGS_TO_PASS) install)
10867 @endif find
10869 # Other targets (info, dvi, pdf, etc.)
10871 .PHONY: maybe-info-find info-find
10872 maybe-info-find:
10873 @if find
10874 maybe-info-find: info-find
10876 info-find: \
10877 configure-find
10878 @: $(MAKE); $(unstage)
10879 @[ -f ./find/Makefile ] || exit 0; \
10880 r=`${PWD_COMMAND}`; export r; \
10881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10882 $(HOST_EXPORTS) \
10883 for flag in $(EXTRA_HOST_FLAGS) ; do \
10884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10885 done; \
10886 echo "Doing info in find" ; \
10887 (cd $(HOST_SUBDIR)/find && \
10888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10890 "RANLIB=$${RANLIB}" \
10891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10892 info) \
10893 || exit 1
10895 @endif find
10897 .PHONY: maybe-dvi-find dvi-find
10898 maybe-dvi-find:
10899 @if find
10900 maybe-dvi-find: dvi-find
10902 dvi-find: \
10903 configure-find
10904 @: $(MAKE); $(unstage)
10905 @[ -f ./find/Makefile ] || exit 0; \
10906 r=`${PWD_COMMAND}`; export r; \
10907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10908 $(HOST_EXPORTS) \
10909 for flag in $(EXTRA_HOST_FLAGS) ; do \
10910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10911 done; \
10912 echo "Doing dvi in find" ; \
10913 (cd $(HOST_SUBDIR)/find && \
10914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10916 "RANLIB=$${RANLIB}" \
10917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10918 dvi) \
10919 || exit 1
10921 @endif find
10923 .PHONY: maybe-pdf-find pdf-find
10924 maybe-pdf-find:
10925 @if find
10926 maybe-pdf-find: pdf-find
10928 pdf-find: \
10929 configure-find
10930 @: $(MAKE); $(unstage)
10931 @[ -f ./find/Makefile ] || exit 0; \
10932 r=`${PWD_COMMAND}`; export r; \
10933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10934 $(HOST_EXPORTS) \
10935 for flag in $(EXTRA_HOST_FLAGS) ; do \
10936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10937 done; \
10938 echo "Doing pdf in find" ; \
10939 (cd $(HOST_SUBDIR)/find && \
10940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10942 "RANLIB=$${RANLIB}" \
10943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10944 pdf) \
10945 || exit 1
10947 @endif find
10949 .PHONY: maybe-html-find html-find
10950 maybe-html-find:
10951 @if find
10952 maybe-html-find: html-find
10954 html-find: \
10955 configure-find
10956 @: $(MAKE); $(unstage)
10957 @[ -f ./find/Makefile ] || exit 0; \
10958 r=`${PWD_COMMAND}`; export r; \
10959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10960 $(HOST_EXPORTS) \
10961 for flag in $(EXTRA_HOST_FLAGS) ; do \
10962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10963 done; \
10964 echo "Doing html in find" ; \
10965 (cd $(HOST_SUBDIR)/find && \
10966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10968 "RANLIB=$${RANLIB}" \
10969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10970 html) \
10971 || exit 1
10973 @endif find
10975 .PHONY: maybe-TAGS-find TAGS-find
10976 maybe-TAGS-find:
10977 @if find
10978 maybe-TAGS-find: TAGS-find
10980 TAGS-find: \
10981 configure-find
10982 @: $(MAKE); $(unstage)
10983 @[ -f ./find/Makefile ] || exit 0; \
10984 r=`${PWD_COMMAND}`; export r; \
10985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10986 $(HOST_EXPORTS) \
10987 for flag in $(EXTRA_HOST_FLAGS) ; do \
10988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10989 done; \
10990 echo "Doing TAGS in find" ; \
10991 (cd $(HOST_SUBDIR)/find && \
10992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10994 "RANLIB=$${RANLIB}" \
10995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10996 TAGS) \
10997 || exit 1
10999 @endif find
11001 .PHONY: maybe-install-info-find install-info-find
11002 maybe-install-info-find:
11003 @if find
11004 maybe-install-info-find: install-info-find
11006 install-info-find: \
11007 configure-find \
11008 info-find
11009 @: $(MAKE); $(unstage)
11010 @[ -f ./find/Makefile ] || exit 0; \
11011 r=`${PWD_COMMAND}`; export r; \
11012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11013 $(HOST_EXPORTS) \
11014 for flag in $(EXTRA_HOST_FLAGS) ; do \
11015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11016 done; \
11017 echo "Doing install-info in find" ; \
11018 (cd $(HOST_SUBDIR)/find && \
11019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11021 "RANLIB=$${RANLIB}" \
11022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11023 install-info) \
11024 || exit 1
11026 @endif find
11028 .PHONY: maybe-install-html-find install-html-find
11029 maybe-install-html-find:
11030 @if find
11031 maybe-install-html-find: install-html-find
11033 install-html-find: \
11034 configure-find \
11035 html-find
11036 @: $(MAKE); $(unstage)
11037 @[ -f ./find/Makefile ] || exit 0; \
11038 r=`${PWD_COMMAND}`; export r; \
11039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11040 $(HOST_EXPORTS) \
11041 for flag in $(EXTRA_HOST_FLAGS) ; do \
11042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11043 done; \
11044 echo "Doing install-html in find" ; \
11045 (cd $(HOST_SUBDIR)/find && \
11046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11048 "RANLIB=$${RANLIB}" \
11049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11050 install-html) \
11051 || exit 1
11053 @endif find
11055 .PHONY: maybe-installcheck-find installcheck-find
11056 maybe-installcheck-find:
11057 @if find
11058 maybe-installcheck-find: installcheck-find
11060 installcheck-find: \
11061 configure-find
11062 @: $(MAKE); $(unstage)
11063 @[ -f ./find/Makefile ] || exit 0; \
11064 r=`${PWD_COMMAND}`; export r; \
11065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11066 $(HOST_EXPORTS) \
11067 for flag in $(EXTRA_HOST_FLAGS) ; do \
11068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11069 done; \
11070 echo "Doing installcheck in find" ; \
11071 (cd $(HOST_SUBDIR)/find && \
11072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11074 "RANLIB=$${RANLIB}" \
11075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11076 installcheck) \
11077 || exit 1
11079 @endif find
11081 .PHONY: maybe-mostlyclean-find mostlyclean-find
11082 maybe-mostlyclean-find:
11083 @if find
11084 maybe-mostlyclean-find: mostlyclean-find
11086 mostlyclean-find:
11087 @: $(MAKE); $(unstage)
11088 @[ -f ./find/Makefile ] || exit 0; \
11089 r=`${PWD_COMMAND}`; export r; \
11090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11091 $(HOST_EXPORTS) \
11092 for flag in $(EXTRA_HOST_FLAGS) ; do \
11093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11094 done; \
11095 echo "Doing mostlyclean in find" ; \
11096 (cd $(HOST_SUBDIR)/find && \
11097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11099 "RANLIB=$${RANLIB}" \
11100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11101 mostlyclean) \
11102 || exit 1
11104 @endif find
11106 .PHONY: maybe-clean-find clean-find
11107 maybe-clean-find:
11108 @if find
11109 maybe-clean-find: clean-find
11111 clean-find:
11112 @: $(MAKE); $(unstage)
11113 @[ -f ./find/Makefile ] || exit 0; \
11114 r=`${PWD_COMMAND}`; export r; \
11115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11116 $(HOST_EXPORTS) \
11117 for flag in $(EXTRA_HOST_FLAGS) ; do \
11118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11119 done; \
11120 echo "Doing clean in find" ; \
11121 (cd $(HOST_SUBDIR)/find && \
11122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11124 "RANLIB=$${RANLIB}" \
11125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11126 clean) \
11127 || exit 1
11129 @endif find
11131 .PHONY: maybe-distclean-find distclean-find
11132 maybe-distclean-find:
11133 @if find
11134 maybe-distclean-find: distclean-find
11136 distclean-find:
11137 @: $(MAKE); $(unstage)
11138 @[ -f ./find/Makefile ] || exit 0; \
11139 r=`${PWD_COMMAND}`; export r; \
11140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11141 $(HOST_EXPORTS) \
11142 for flag in $(EXTRA_HOST_FLAGS) ; do \
11143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11144 done; \
11145 echo "Doing distclean in find" ; \
11146 (cd $(HOST_SUBDIR)/find && \
11147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11149 "RANLIB=$${RANLIB}" \
11150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11151 distclean) \
11152 || exit 1
11154 @endif find
11156 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
11157 maybe-maintainer-clean-find:
11158 @if find
11159 maybe-maintainer-clean-find: maintainer-clean-find
11161 maintainer-clean-find:
11162 @: $(MAKE); $(unstage)
11163 @[ -f ./find/Makefile ] || exit 0; \
11164 r=`${PWD_COMMAND}`; export r; \
11165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11166 $(HOST_EXPORTS) \
11167 for flag in $(EXTRA_HOST_FLAGS) ; do \
11168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11169 done; \
11170 echo "Doing maintainer-clean in find" ; \
11171 (cd $(HOST_SUBDIR)/find && \
11172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11174 "RANLIB=$${RANLIB}" \
11175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11176 maintainer-clean) \
11177 || exit 1
11179 @endif find
11183 .PHONY: configure-fixincludes maybe-configure-fixincludes
11184 maybe-configure-fixincludes:
11185 @if gcc-bootstrap
11186 configure-fixincludes: stage_current
11187 @endif gcc-bootstrap
11188 @if fixincludes
11189 maybe-configure-fixincludes: configure-fixincludes
11190 configure-fixincludes:
11191 @: $(MAKE); $(unstage)
11192 @r=`${PWD_COMMAND}`; export r; \
11193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11194 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
11195 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
11196 $(HOST_EXPORTS) \
11197 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
11198 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
11199 case $(srcdir) in \
11200 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11201 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
11202 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11203 esac; \
11204 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
11205 libsrcdir="$$s/fixincludes"; \
11206 $(SHELL) $${libsrcdir}/configure \
11207 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11208 --target=${target_alias} $${srcdiroption} \
11209 || exit 1
11210 @endif fixincludes
11216 .PHONY: all-fixincludes maybe-all-fixincludes
11217 maybe-all-fixincludes:
11218 @if gcc-bootstrap
11219 all-fixincludes: stage_current
11220 @endif gcc-bootstrap
11221 @if fixincludes
11222 TARGET-fixincludes=all
11223 maybe-all-fixincludes: all-fixincludes
11224 all-fixincludes: configure-fixincludes
11225 @: $(MAKE); $(unstage)
11226 @r=`${PWD_COMMAND}`; export r; \
11227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11228 $(HOST_EXPORTS) \
11229 (cd $(HOST_SUBDIR)/fixincludes && \
11230 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
11231 @endif fixincludes
11236 .PHONY: check-fixincludes maybe-check-fixincludes
11237 maybe-check-fixincludes:
11238 @if fixincludes
11239 maybe-check-fixincludes: check-fixincludes
11241 check-fixincludes:
11242 @: $(MAKE); $(unstage)
11243 @r=`${PWD_COMMAND}`; export r; \
11244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11245 $(HOST_EXPORTS) \
11246 (cd $(HOST_SUBDIR)/fixincludes && \
11247 $(MAKE) $(FLAGS_TO_PASS) check)
11249 @endif fixincludes
11251 .PHONY: install-fixincludes maybe-install-fixincludes
11252 maybe-install-fixincludes:
11253 @if fixincludes
11254 maybe-install-fixincludes: install-fixincludes
11256 install-fixincludes: installdirs
11257 @: $(MAKE); $(unstage)
11258 @r=`${PWD_COMMAND}`; export r; \
11259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11260 $(HOST_EXPORTS) \
11261 (cd $(HOST_SUBDIR)/fixincludes && \
11262 $(MAKE) $(FLAGS_TO_PASS) install)
11264 @endif fixincludes
11266 # Other targets (info, dvi, pdf, etc.)
11268 .PHONY: maybe-info-fixincludes info-fixincludes
11269 maybe-info-fixincludes:
11270 @if fixincludes
11271 maybe-info-fixincludes: info-fixincludes
11273 # fixincludes doesn't support info.
11274 info-fixincludes:
11276 @endif fixincludes
11278 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
11279 maybe-dvi-fixincludes:
11280 @if fixincludes
11281 maybe-dvi-fixincludes: dvi-fixincludes
11283 # fixincludes doesn't support dvi.
11284 dvi-fixincludes:
11286 @endif fixincludes
11288 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
11289 maybe-pdf-fixincludes:
11290 @if fixincludes
11291 maybe-pdf-fixincludes: pdf-fixincludes
11293 # fixincludes doesn't support pdf.
11294 pdf-fixincludes:
11296 @endif fixincludes
11298 .PHONY: maybe-html-fixincludes html-fixincludes
11299 maybe-html-fixincludes:
11300 @if fixincludes
11301 maybe-html-fixincludes: html-fixincludes
11303 html-fixincludes: \
11304 configure-fixincludes
11305 @: $(MAKE); $(unstage)
11306 @[ -f ./fixincludes/Makefile ] || exit 0; \
11307 r=`${PWD_COMMAND}`; export r; \
11308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11309 $(HOST_EXPORTS) \
11310 for flag in $(EXTRA_HOST_FLAGS) ; do \
11311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11312 done; \
11313 echo "Doing html in fixincludes" ; \
11314 (cd $(HOST_SUBDIR)/fixincludes && \
11315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11317 "RANLIB=$${RANLIB}" \
11318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11319 html) \
11320 || exit 1
11322 @endif fixincludes
11324 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
11325 maybe-TAGS-fixincludes:
11326 @if fixincludes
11327 maybe-TAGS-fixincludes: TAGS-fixincludes
11329 # fixincludes doesn't support TAGS.
11330 TAGS-fixincludes:
11332 @endif fixincludes
11334 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
11335 maybe-install-info-fixincludes:
11336 @if fixincludes
11337 maybe-install-info-fixincludes: install-info-fixincludes
11339 # fixincludes doesn't support install-info.
11340 install-info-fixincludes:
11342 @endif fixincludes
11344 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
11345 maybe-install-html-fixincludes:
11346 @if fixincludes
11347 maybe-install-html-fixincludes: install-html-fixincludes
11349 install-html-fixincludes: \
11350 configure-fixincludes \
11351 html-fixincludes
11352 @: $(MAKE); $(unstage)
11353 @[ -f ./fixincludes/Makefile ] || exit 0; \
11354 r=`${PWD_COMMAND}`; export r; \
11355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11356 $(HOST_EXPORTS) \
11357 for flag in $(EXTRA_HOST_FLAGS) ; do \
11358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11359 done; \
11360 echo "Doing install-html in fixincludes" ; \
11361 (cd $(HOST_SUBDIR)/fixincludes && \
11362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11364 "RANLIB=$${RANLIB}" \
11365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11366 install-html) \
11367 || exit 1
11369 @endif fixincludes
11371 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
11372 maybe-installcheck-fixincludes:
11373 @if fixincludes
11374 maybe-installcheck-fixincludes: installcheck-fixincludes
11376 # fixincludes doesn't support installcheck.
11377 installcheck-fixincludes:
11379 @endif fixincludes
11381 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
11382 maybe-mostlyclean-fixincludes:
11383 @if fixincludes
11384 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
11386 mostlyclean-fixincludes:
11387 @: $(MAKE); $(unstage)
11388 @[ -f ./fixincludes/Makefile ] || exit 0; \
11389 r=`${PWD_COMMAND}`; export r; \
11390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11391 $(HOST_EXPORTS) \
11392 for flag in $(EXTRA_HOST_FLAGS) ; do \
11393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11394 done; \
11395 echo "Doing mostlyclean in fixincludes" ; \
11396 (cd $(HOST_SUBDIR)/fixincludes && \
11397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11399 "RANLIB=$${RANLIB}" \
11400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11401 mostlyclean) \
11402 || exit 1
11404 @endif fixincludes
11406 .PHONY: maybe-clean-fixincludes clean-fixincludes
11407 maybe-clean-fixincludes:
11408 @if fixincludes
11409 maybe-clean-fixincludes: clean-fixincludes
11411 clean-fixincludes:
11412 @: $(MAKE); $(unstage)
11413 @[ -f ./fixincludes/Makefile ] || exit 0; \
11414 r=`${PWD_COMMAND}`; export r; \
11415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11416 $(HOST_EXPORTS) \
11417 for flag in $(EXTRA_HOST_FLAGS) ; do \
11418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11419 done; \
11420 echo "Doing clean in fixincludes" ; \
11421 (cd $(HOST_SUBDIR)/fixincludes && \
11422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11424 "RANLIB=$${RANLIB}" \
11425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11426 clean) \
11427 || exit 1
11429 @endif fixincludes
11431 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
11432 maybe-distclean-fixincludes:
11433 @if fixincludes
11434 maybe-distclean-fixincludes: distclean-fixincludes
11436 distclean-fixincludes:
11437 @: $(MAKE); $(unstage)
11438 @[ -f ./fixincludes/Makefile ] || exit 0; \
11439 r=`${PWD_COMMAND}`; export r; \
11440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11441 $(HOST_EXPORTS) \
11442 for flag in $(EXTRA_HOST_FLAGS) ; do \
11443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11444 done; \
11445 echo "Doing distclean in fixincludes" ; \
11446 (cd $(HOST_SUBDIR)/fixincludes && \
11447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11449 "RANLIB=$${RANLIB}" \
11450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11451 distclean) \
11452 || exit 1
11454 @endif fixincludes
11456 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
11457 maybe-maintainer-clean-fixincludes:
11458 @if fixincludes
11459 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
11461 maintainer-clean-fixincludes:
11462 @: $(MAKE); $(unstage)
11463 @[ -f ./fixincludes/Makefile ] || exit 0; \
11464 r=`${PWD_COMMAND}`; export r; \
11465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11466 $(HOST_EXPORTS) \
11467 for flag in $(EXTRA_HOST_FLAGS) ; do \
11468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11469 done; \
11470 echo "Doing maintainer-clean in fixincludes" ; \
11471 (cd $(HOST_SUBDIR)/fixincludes && \
11472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11474 "RANLIB=$${RANLIB}" \
11475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11476 maintainer-clean) \
11477 || exit 1
11479 @endif fixincludes
11483 .PHONY: configure-flex maybe-configure-flex
11484 maybe-configure-flex:
11485 @if gcc-bootstrap
11486 configure-flex: stage_current
11487 @endif gcc-bootstrap
11488 @if flex
11489 maybe-configure-flex: configure-flex
11490 configure-flex:
11491 @: $(MAKE); $(unstage)
11492 @r=`${PWD_COMMAND}`; export r; \
11493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11494 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
11495 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
11496 $(HOST_EXPORTS) \
11497 echo Configuring in $(HOST_SUBDIR)/flex; \
11498 cd "$(HOST_SUBDIR)/flex" || exit 1; \
11499 case $(srcdir) in \
11500 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11501 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
11502 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11503 esac; \
11504 srcdiroption="--srcdir=$${topdir}/flex"; \
11505 libsrcdir="$$s/flex"; \
11506 $(SHELL) $${libsrcdir}/configure \
11507 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11508 --target=${target_alias} $${srcdiroption} \
11509 || exit 1
11510 @endif flex
11516 .PHONY: all-flex maybe-all-flex
11517 maybe-all-flex:
11518 @if gcc-bootstrap
11519 all-flex: stage_current
11520 @endif gcc-bootstrap
11521 @if flex
11522 TARGET-flex=all
11523 maybe-all-flex: all-flex
11524 all-flex: configure-flex
11525 @: $(MAKE); $(unstage)
11526 @r=`${PWD_COMMAND}`; export r; \
11527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11528 $(HOST_EXPORTS) \
11529 (cd $(HOST_SUBDIR)/flex && \
11530 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
11531 @endif flex
11536 .PHONY: check-flex maybe-check-flex
11537 maybe-check-flex:
11538 @if flex
11539 maybe-check-flex: check-flex
11541 # This module is only tested in a native toolchain.
11542 check-flex:
11543 @: $(MAKE); $(unstage)
11544 @if [ '$(host)' = '$(target)' ] ; then \
11545 r=`${PWD_COMMAND}`; export r; \
11546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11547 $(HOST_EXPORTS) \
11548 (cd $(HOST_SUBDIR)/flex && \
11549 $(MAKE) $(FLAGS_TO_PASS) check); \
11552 @endif flex
11554 .PHONY: install-flex maybe-install-flex
11555 maybe-install-flex:
11556 @if flex
11557 maybe-install-flex: install-flex
11559 install-flex: installdirs
11560 @: $(MAKE); $(unstage)
11561 @r=`${PWD_COMMAND}`; export r; \
11562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11563 $(HOST_EXPORTS) \
11564 (cd $(HOST_SUBDIR)/flex && \
11565 $(MAKE) $(FLAGS_TO_PASS) install)
11567 @endif flex
11569 # Other targets (info, dvi, pdf, etc.)
11571 .PHONY: maybe-info-flex info-flex
11572 maybe-info-flex:
11573 @if flex
11574 maybe-info-flex: info-flex
11576 info-flex: \
11577 configure-flex
11578 @: $(MAKE); $(unstage)
11579 @[ -f ./flex/Makefile ] || exit 0; \
11580 r=`${PWD_COMMAND}`; export r; \
11581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11582 $(HOST_EXPORTS) \
11583 for flag in $(EXTRA_HOST_FLAGS) ; do \
11584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11585 done; \
11586 echo "Doing info in flex" ; \
11587 (cd $(HOST_SUBDIR)/flex && \
11588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11590 "RANLIB=$${RANLIB}" \
11591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11592 info) \
11593 || exit 1
11595 @endif flex
11597 .PHONY: maybe-dvi-flex dvi-flex
11598 maybe-dvi-flex:
11599 @if flex
11600 maybe-dvi-flex: dvi-flex
11602 dvi-flex: \
11603 configure-flex
11604 @: $(MAKE); $(unstage)
11605 @[ -f ./flex/Makefile ] || exit 0; \
11606 r=`${PWD_COMMAND}`; export r; \
11607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11608 $(HOST_EXPORTS) \
11609 for flag in $(EXTRA_HOST_FLAGS) ; do \
11610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11611 done; \
11612 echo "Doing dvi in flex" ; \
11613 (cd $(HOST_SUBDIR)/flex && \
11614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11616 "RANLIB=$${RANLIB}" \
11617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11618 dvi) \
11619 || exit 1
11621 @endif flex
11623 .PHONY: maybe-pdf-flex pdf-flex
11624 maybe-pdf-flex:
11625 @if flex
11626 maybe-pdf-flex: pdf-flex
11628 pdf-flex: \
11629 configure-flex
11630 @: $(MAKE); $(unstage)
11631 @[ -f ./flex/Makefile ] || exit 0; \
11632 r=`${PWD_COMMAND}`; export r; \
11633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11634 $(HOST_EXPORTS) \
11635 for flag in $(EXTRA_HOST_FLAGS) ; do \
11636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11637 done; \
11638 echo "Doing pdf in flex" ; \
11639 (cd $(HOST_SUBDIR)/flex && \
11640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11642 "RANLIB=$${RANLIB}" \
11643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11644 pdf) \
11645 || exit 1
11647 @endif flex
11649 .PHONY: maybe-html-flex html-flex
11650 maybe-html-flex:
11651 @if flex
11652 maybe-html-flex: html-flex
11654 html-flex: \
11655 configure-flex
11656 @: $(MAKE); $(unstage)
11657 @[ -f ./flex/Makefile ] || exit 0; \
11658 r=`${PWD_COMMAND}`; export r; \
11659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11660 $(HOST_EXPORTS) \
11661 for flag in $(EXTRA_HOST_FLAGS) ; do \
11662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11663 done; \
11664 echo "Doing html in flex" ; \
11665 (cd $(HOST_SUBDIR)/flex && \
11666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11668 "RANLIB=$${RANLIB}" \
11669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11670 html) \
11671 || exit 1
11673 @endif flex
11675 .PHONY: maybe-TAGS-flex TAGS-flex
11676 maybe-TAGS-flex:
11677 @if flex
11678 maybe-TAGS-flex: TAGS-flex
11680 TAGS-flex: \
11681 configure-flex
11682 @: $(MAKE); $(unstage)
11683 @[ -f ./flex/Makefile ] || exit 0; \
11684 r=`${PWD_COMMAND}`; export r; \
11685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11686 $(HOST_EXPORTS) \
11687 for flag in $(EXTRA_HOST_FLAGS) ; do \
11688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11689 done; \
11690 echo "Doing TAGS in flex" ; \
11691 (cd $(HOST_SUBDIR)/flex && \
11692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11694 "RANLIB=$${RANLIB}" \
11695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11696 TAGS) \
11697 || exit 1
11699 @endif flex
11701 .PHONY: maybe-install-info-flex install-info-flex
11702 maybe-install-info-flex:
11703 @if flex
11704 maybe-install-info-flex: install-info-flex
11706 install-info-flex: \
11707 configure-flex \
11708 info-flex
11709 @: $(MAKE); $(unstage)
11710 @[ -f ./flex/Makefile ] || exit 0; \
11711 r=`${PWD_COMMAND}`; export r; \
11712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11713 $(HOST_EXPORTS) \
11714 for flag in $(EXTRA_HOST_FLAGS) ; do \
11715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11716 done; \
11717 echo "Doing install-info in flex" ; \
11718 (cd $(HOST_SUBDIR)/flex && \
11719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11721 "RANLIB=$${RANLIB}" \
11722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11723 install-info) \
11724 || exit 1
11726 @endif flex
11728 .PHONY: maybe-install-html-flex install-html-flex
11729 maybe-install-html-flex:
11730 @if flex
11731 maybe-install-html-flex: install-html-flex
11733 install-html-flex: \
11734 configure-flex \
11735 html-flex
11736 @: $(MAKE); $(unstage)
11737 @[ -f ./flex/Makefile ] || exit 0; \
11738 r=`${PWD_COMMAND}`; export r; \
11739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11740 $(HOST_EXPORTS) \
11741 for flag in $(EXTRA_HOST_FLAGS) ; do \
11742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11743 done; \
11744 echo "Doing install-html in flex" ; \
11745 (cd $(HOST_SUBDIR)/flex && \
11746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11748 "RANLIB=$${RANLIB}" \
11749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11750 install-html) \
11751 || exit 1
11753 @endif flex
11755 .PHONY: maybe-installcheck-flex installcheck-flex
11756 maybe-installcheck-flex:
11757 @if flex
11758 maybe-installcheck-flex: installcheck-flex
11760 installcheck-flex: \
11761 configure-flex
11762 @: $(MAKE); $(unstage)
11763 @[ -f ./flex/Makefile ] || exit 0; \
11764 r=`${PWD_COMMAND}`; export r; \
11765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11766 $(HOST_EXPORTS) \
11767 for flag in $(EXTRA_HOST_FLAGS) ; do \
11768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11769 done; \
11770 echo "Doing installcheck in flex" ; \
11771 (cd $(HOST_SUBDIR)/flex && \
11772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11774 "RANLIB=$${RANLIB}" \
11775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11776 installcheck) \
11777 || exit 1
11779 @endif flex
11781 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
11782 maybe-mostlyclean-flex:
11783 @if flex
11784 maybe-mostlyclean-flex: mostlyclean-flex
11786 mostlyclean-flex:
11787 @: $(MAKE); $(unstage)
11788 @[ -f ./flex/Makefile ] || exit 0; \
11789 r=`${PWD_COMMAND}`; export r; \
11790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11791 $(HOST_EXPORTS) \
11792 for flag in $(EXTRA_HOST_FLAGS) ; do \
11793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11794 done; \
11795 echo "Doing mostlyclean in flex" ; \
11796 (cd $(HOST_SUBDIR)/flex && \
11797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11799 "RANLIB=$${RANLIB}" \
11800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11801 mostlyclean) \
11802 || exit 1
11804 @endif flex
11806 .PHONY: maybe-clean-flex clean-flex
11807 maybe-clean-flex:
11808 @if flex
11809 maybe-clean-flex: clean-flex
11811 clean-flex:
11812 @: $(MAKE); $(unstage)
11813 @[ -f ./flex/Makefile ] || exit 0; \
11814 r=`${PWD_COMMAND}`; export r; \
11815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11816 $(HOST_EXPORTS) \
11817 for flag in $(EXTRA_HOST_FLAGS) ; do \
11818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11819 done; \
11820 echo "Doing clean in flex" ; \
11821 (cd $(HOST_SUBDIR)/flex && \
11822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11824 "RANLIB=$${RANLIB}" \
11825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11826 clean) \
11827 || exit 1
11829 @endif flex
11831 .PHONY: maybe-distclean-flex distclean-flex
11832 maybe-distclean-flex:
11833 @if flex
11834 maybe-distclean-flex: distclean-flex
11836 distclean-flex:
11837 @: $(MAKE); $(unstage)
11838 @[ -f ./flex/Makefile ] || exit 0; \
11839 r=`${PWD_COMMAND}`; export r; \
11840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11841 $(HOST_EXPORTS) \
11842 for flag in $(EXTRA_HOST_FLAGS) ; do \
11843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11844 done; \
11845 echo "Doing distclean in flex" ; \
11846 (cd $(HOST_SUBDIR)/flex && \
11847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11849 "RANLIB=$${RANLIB}" \
11850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11851 distclean) \
11852 || exit 1
11854 @endif flex
11856 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
11857 maybe-maintainer-clean-flex:
11858 @if flex
11859 maybe-maintainer-clean-flex: maintainer-clean-flex
11861 maintainer-clean-flex:
11862 @: $(MAKE); $(unstage)
11863 @[ -f ./flex/Makefile ] || exit 0; \
11864 r=`${PWD_COMMAND}`; export r; \
11865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11866 $(HOST_EXPORTS) \
11867 for flag in $(EXTRA_HOST_FLAGS) ; do \
11868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11869 done; \
11870 echo "Doing maintainer-clean in flex" ; \
11871 (cd $(HOST_SUBDIR)/flex && \
11872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11874 "RANLIB=$${RANLIB}" \
11875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11876 maintainer-clean) \
11877 || exit 1
11879 @endif flex
11883 .PHONY: configure-gas maybe-configure-gas
11884 maybe-configure-gas:
11885 @if gcc-bootstrap
11886 configure-gas: stage_current
11887 @endif gcc-bootstrap
11888 @if gas
11889 maybe-configure-gas: configure-gas
11890 configure-gas:
11891 @r=`${PWD_COMMAND}`; export r; \
11892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11893 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11894 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11895 $(HOST_EXPORTS) \
11896 echo Configuring in $(HOST_SUBDIR)/gas; \
11897 cd "$(HOST_SUBDIR)/gas" || exit 1; \
11898 case $(srcdir) in \
11899 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11900 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11901 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11902 esac; \
11903 srcdiroption="--srcdir=$${topdir}/gas"; \
11904 libsrcdir="$$s/gas"; \
11905 $(SHELL) $${libsrcdir}/configure \
11906 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11907 --target=${target_alias} $${srcdiroption} \
11908 || exit 1
11909 @endif gas
11913 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
11914 maybe-configure-stage1-gas:
11915 @if gas-bootstrap
11916 maybe-configure-stage1-gas: configure-stage1-gas
11917 configure-stage1-gas:
11918 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11919 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11920 @r=`${PWD_COMMAND}`; export r; \
11921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11922 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11923 $(HOST_EXPORTS) \
11924 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
11925 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11926 cd $(HOST_SUBDIR)/gas || exit 1; \
11927 case $(srcdir) in \
11928 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11929 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11930 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11931 esac; \
11932 srcdiroption="--srcdir=$${topdir}/gas"; \
11933 libsrcdir="$$s/gas"; \
11934 $(SHELL) $${libsrcdir}/configure \
11935 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11936 --target=${target_alias} $${srcdiroption} \
11938 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
11939 @endif gas-bootstrap
11941 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
11942 maybe-configure-stage2-gas:
11943 @if gas-bootstrap
11944 maybe-configure-stage2-gas: configure-stage2-gas
11945 configure-stage2-gas:
11946 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11947 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11948 @r=`${PWD_COMMAND}`; export r; \
11949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11950 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11951 $(HOST_EXPORTS) \
11952 $(POSTSTAGE1_HOST_EXPORTS) \
11953 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
11954 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11955 cd $(HOST_SUBDIR)/gas || exit 1; \
11956 case $(srcdir) in \
11957 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11958 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11959 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11960 esac; \
11961 srcdiroption="--srcdir=$${topdir}/gas"; \
11962 libsrcdir="$$s/gas"; \
11963 $(SHELL) $${libsrcdir}/configure \
11964 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11965 --target=${target_alias} $${srcdiroption} \
11966 --with-build-libsubdir=$(HOST_SUBDIR) \
11967 @stage2_werror_flag@
11968 @endif gas-bootstrap
11970 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
11971 maybe-configure-stage3-gas:
11972 @if gas-bootstrap
11973 maybe-configure-stage3-gas: configure-stage3-gas
11974 configure-stage3-gas:
11975 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11976 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11977 @r=`${PWD_COMMAND}`; export r; \
11978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11979 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11980 $(HOST_EXPORTS) \
11981 $(POSTSTAGE1_HOST_EXPORTS) \
11982 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
11983 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11984 cd $(HOST_SUBDIR)/gas || exit 1; \
11985 case $(srcdir) in \
11986 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11987 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11988 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11989 esac; \
11990 srcdiroption="--srcdir=$${topdir}/gas"; \
11991 libsrcdir="$$s/gas"; \
11992 $(SHELL) $${libsrcdir}/configure \
11993 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11994 --target=${target_alias} $${srcdiroption} \
11995 --with-build-libsubdir=$(HOST_SUBDIR) \
11996 @stage2_werror_flag@
11997 @endif gas-bootstrap
11999 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
12000 maybe-configure-stage4-gas:
12001 @if gas-bootstrap
12002 maybe-configure-stage4-gas: configure-stage4-gas
12003 configure-stage4-gas:
12004 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12005 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
12006 @r=`${PWD_COMMAND}`; export r; \
12007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12008 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
12009 $(HOST_EXPORTS) \
12010 $(POSTSTAGE1_HOST_EXPORTS) \
12011 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
12012 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
12013 cd $(HOST_SUBDIR)/gas || exit 1; \
12014 case $(srcdir) in \
12015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12016 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
12017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12018 esac; \
12019 srcdiroption="--srcdir=$${topdir}/gas"; \
12020 libsrcdir="$$s/gas"; \
12021 $(SHELL) $${libsrcdir}/configure \
12022 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12023 --target=${target_alias} $${srcdiroption} \
12024 --with-build-libsubdir=$(HOST_SUBDIR) \
12025 @stage2_werror_flag@
12026 @endif gas-bootstrap
12028 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
12029 maybe-configure-stageprofile-gas:
12030 @if gas-bootstrap
12031 maybe-configure-stageprofile-gas: configure-stageprofile-gas
12032 configure-stageprofile-gas:
12033 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12034 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
12035 @r=`${PWD_COMMAND}`; export r; \
12036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12037 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
12038 $(HOST_EXPORTS) \
12039 $(POSTSTAGE1_HOST_EXPORTS) \
12040 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
12041 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
12042 cd $(HOST_SUBDIR)/gas || exit 1; \
12043 case $(srcdir) in \
12044 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12045 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
12046 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12047 esac; \
12048 srcdiroption="--srcdir=$${topdir}/gas"; \
12049 libsrcdir="$$s/gas"; \
12050 $(SHELL) $${libsrcdir}/configure \
12051 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12052 --target=${target_alias} $${srcdiroption} \
12053 --with-build-libsubdir=$(HOST_SUBDIR) \
12054 @stage2_werror_flag@
12055 @endif gas-bootstrap
12057 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
12058 maybe-configure-stagefeedback-gas:
12059 @if gas-bootstrap
12060 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
12061 configure-stagefeedback-gas:
12062 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12063 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
12064 @r=`${PWD_COMMAND}`; export r; \
12065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12066 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
12067 $(HOST_EXPORTS) \
12068 $(POSTSTAGE1_HOST_EXPORTS) \
12069 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
12070 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
12071 cd $(HOST_SUBDIR)/gas || exit 1; \
12072 case $(srcdir) in \
12073 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12074 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
12075 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12076 esac; \
12077 srcdiroption="--srcdir=$${topdir}/gas"; \
12078 libsrcdir="$$s/gas"; \
12079 $(SHELL) $${libsrcdir}/configure \
12080 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12081 --target=${target_alias} $${srcdiroption} \
12082 --with-build-libsubdir=$(HOST_SUBDIR) \
12083 @stage2_werror_flag@
12084 @endif gas-bootstrap
12090 .PHONY: all-gas maybe-all-gas
12091 maybe-all-gas:
12092 @if gcc-bootstrap
12093 all-gas: stage_current
12094 @endif gcc-bootstrap
12095 @if gas
12096 TARGET-gas=all
12097 maybe-all-gas: all-gas
12098 all-gas: configure-gas
12099 @r=`${PWD_COMMAND}`; export r; \
12100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12101 $(HOST_EXPORTS) \
12102 (cd $(HOST_SUBDIR)/gas && \
12103 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
12104 @endif gas
12108 .PHONY: all-stage1-gas maybe-all-stage1-gas
12109 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
12110 maybe-all-stage1-gas:
12111 maybe-clean-stage1-gas:
12112 @if gas-bootstrap
12113 maybe-all-stage1-gas: all-stage1-gas
12114 all-stage1: all-stage1-gas
12115 TARGET-stage1-gas = $(TARGET-gas)
12116 all-stage1-gas: configure-stage1-gas
12117 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12118 @r=`${PWD_COMMAND}`; export r; \
12119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12120 $(HOST_EXPORTS) \
12121 cd $(HOST_SUBDIR)/gas && \
12122 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
12123 $(TARGET-stage1-gas)
12125 maybe-clean-stage1-gas: clean-stage1-gas
12126 clean-stage1: clean-stage1-gas
12127 clean-stage1-gas:
12128 @if [ $(current_stage) = stage1 ]; then \
12129 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12130 else \
12131 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
12132 $(MAKE) stage1-start; \
12133 fi; \
12134 cd $(HOST_SUBDIR)/gas && \
12135 $(MAKE) $(FLAGS_TO_PASS) \
12136 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
12137 @endif gas-bootstrap
12140 .PHONY: all-stage2-gas maybe-all-stage2-gas
12141 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
12142 maybe-all-stage2-gas:
12143 maybe-clean-stage2-gas:
12144 @if gas-bootstrap
12145 maybe-all-stage2-gas: all-stage2-gas
12146 all-stage2: all-stage2-gas
12147 TARGET-stage2-gas = $(TARGET-gas)
12148 all-stage2-gas: configure-stage2-gas
12149 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12150 @r=`${PWD_COMMAND}`; export r; \
12151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12152 $(HOST_EXPORTS) \
12153 $(POSTSTAGE1_HOST_EXPORTS) \
12154 cd $(HOST_SUBDIR)/gas && \
12155 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12156 $(TARGET-stage2-gas)
12158 maybe-clean-stage2-gas: clean-stage2-gas
12159 clean-stage2: clean-stage2-gas
12160 clean-stage2-gas:
12161 @if [ $(current_stage) = stage2 ]; then \
12162 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12163 else \
12164 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
12165 $(MAKE) stage2-start; \
12166 fi; \
12167 cd $(HOST_SUBDIR)/gas && \
12168 $(MAKE) $(FLAGS_TO_PASS) \
12169 $(POSTSTAGE1_FLAGS_TO_PASS) \
12170 clean
12171 @endif gas-bootstrap
12174 .PHONY: all-stage3-gas maybe-all-stage3-gas
12175 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
12176 maybe-all-stage3-gas:
12177 maybe-clean-stage3-gas:
12178 @if gas-bootstrap
12179 maybe-all-stage3-gas: all-stage3-gas
12180 all-stage3: all-stage3-gas
12181 TARGET-stage3-gas = $(TARGET-gas)
12182 all-stage3-gas: configure-stage3-gas
12183 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12184 @r=`${PWD_COMMAND}`; export r; \
12185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12186 $(HOST_EXPORTS) \
12187 $(POSTSTAGE1_HOST_EXPORTS) \
12188 cd $(HOST_SUBDIR)/gas && \
12189 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12190 $(TARGET-stage3-gas)
12192 maybe-clean-stage3-gas: clean-stage3-gas
12193 clean-stage3: clean-stage3-gas
12194 clean-stage3-gas:
12195 @if [ $(current_stage) = stage3 ]; then \
12196 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12197 else \
12198 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
12199 $(MAKE) stage3-start; \
12200 fi; \
12201 cd $(HOST_SUBDIR)/gas && \
12202 $(MAKE) $(FLAGS_TO_PASS) \
12203 $(POSTSTAGE1_FLAGS_TO_PASS) \
12204 clean
12205 @endif gas-bootstrap
12208 .PHONY: all-stage4-gas maybe-all-stage4-gas
12209 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
12210 maybe-all-stage4-gas:
12211 maybe-clean-stage4-gas:
12212 @if gas-bootstrap
12213 maybe-all-stage4-gas: all-stage4-gas
12214 all-stage4: all-stage4-gas
12215 TARGET-stage4-gas = $(TARGET-gas)
12216 all-stage4-gas: configure-stage4-gas
12217 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12218 @r=`${PWD_COMMAND}`; export r; \
12219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12220 $(HOST_EXPORTS) \
12221 $(POSTSTAGE1_HOST_EXPORTS) \
12222 cd $(HOST_SUBDIR)/gas && \
12223 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12224 $(TARGET-stage4-gas)
12226 maybe-clean-stage4-gas: clean-stage4-gas
12227 clean-stage4: clean-stage4-gas
12228 clean-stage4-gas:
12229 @if [ $(current_stage) = stage4 ]; then \
12230 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12231 else \
12232 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
12233 $(MAKE) stage4-start; \
12234 fi; \
12235 cd $(HOST_SUBDIR)/gas && \
12236 $(MAKE) $(FLAGS_TO_PASS) \
12237 $(POSTSTAGE1_FLAGS_TO_PASS) \
12238 clean
12239 @endif gas-bootstrap
12242 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
12243 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
12244 maybe-all-stageprofile-gas:
12245 maybe-clean-stageprofile-gas:
12246 @if gas-bootstrap
12247 maybe-all-stageprofile-gas: all-stageprofile-gas
12248 all-stageprofile: all-stageprofile-gas
12249 TARGET-stageprofile-gas = $(TARGET-gas)
12250 all-stageprofile-gas: configure-stageprofile-gas
12251 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12252 @r=`${PWD_COMMAND}`; export r; \
12253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12254 $(HOST_EXPORTS) \
12255 $(POSTSTAGE1_HOST_EXPORTS) \
12256 cd $(HOST_SUBDIR)/gas && \
12257 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
12258 $(TARGET-stageprofile-gas)
12260 maybe-clean-stageprofile-gas: clean-stageprofile-gas
12261 clean-stageprofile: clean-stageprofile-gas
12262 clean-stageprofile-gas:
12263 @if [ $(current_stage) = stageprofile ]; then \
12264 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12265 else \
12266 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
12267 $(MAKE) stageprofile-start; \
12268 fi; \
12269 cd $(HOST_SUBDIR)/gas && \
12270 $(MAKE) $(FLAGS_TO_PASS) \
12271 $(POSTSTAGE1_FLAGS_TO_PASS) \
12272 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
12273 @endif gas-bootstrap
12276 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
12277 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
12278 maybe-all-stagefeedback-gas:
12279 maybe-clean-stagefeedback-gas:
12280 @if gas-bootstrap
12281 maybe-all-stagefeedback-gas: all-stagefeedback-gas
12282 all-stagefeedback: all-stagefeedback-gas
12283 TARGET-stagefeedback-gas = $(TARGET-gas)
12284 all-stagefeedback-gas: configure-stagefeedback-gas
12285 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12286 @r=`${PWD_COMMAND}`; export r; \
12287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12288 $(HOST_EXPORTS) \
12289 $(POSTSTAGE1_HOST_EXPORTS) \
12290 cd $(HOST_SUBDIR)/gas && \
12291 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
12292 $(TARGET-stagefeedback-gas)
12294 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
12295 clean-stagefeedback: clean-stagefeedback-gas
12296 clean-stagefeedback-gas:
12297 @if [ $(current_stage) = stagefeedback ]; then \
12298 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12299 else \
12300 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
12301 $(MAKE) stagefeedback-start; \
12302 fi; \
12303 cd $(HOST_SUBDIR)/gas && \
12304 $(MAKE) $(FLAGS_TO_PASS) \
12305 $(POSTSTAGE1_FLAGS_TO_PASS) \
12306 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
12307 @endif gas-bootstrap
12313 .PHONY: check-gas maybe-check-gas
12314 maybe-check-gas:
12315 @if gas
12316 maybe-check-gas: check-gas
12318 check-gas:
12319 @: $(MAKE); $(unstage)
12320 @r=`${PWD_COMMAND}`; export r; \
12321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12322 $(HOST_EXPORTS) \
12323 (cd $(HOST_SUBDIR)/gas && \
12324 $(MAKE) $(FLAGS_TO_PASS) check)
12326 @endif gas
12328 .PHONY: install-gas maybe-install-gas
12329 maybe-install-gas:
12330 @if gas
12331 maybe-install-gas: install-gas
12333 install-gas: installdirs
12334 @: $(MAKE); $(unstage)
12335 @r=`${PWD_COMMAND}`; export r; \
12336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12337 $(HOST_EXPORTS) \
12338 (cd $(HOST_SUBDIR)/gas && \
12339 $(MAKE) $(FLAGS_TO_PASS) install)
12341 @endif gas
12343 # Other targets (info, dvi, pdf, etc.)
12345 .PHONY: maybe-info-gas info-gas
12346 maybe-info-gas:
12347 @if gas
12348 maybe-info-gas: info-gas
12350 info-gas: \
12351 configure-gas
12352 @[ -f ./gas/Makefile ] || exit 0; \
12353 r=`${PWD_COMMAND}`; export r; \
12354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12355 $(HOST_EXPORTS) \
12356 for flag in $(EXTRA_HOST_FLAGS) ; do \
12357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12358 done; \
12359 echo "Doing info in gas" ; \
12360 (cd $(HOST_SUBDIR)/gas && \
12361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12363 "RANLIB=$${RANLIB}" \
12364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12365 info) \
12366 || exit 1
12368 @endif gas
12370 .PHONY: maybe-dvi-gas dvi-gas
12371 maybe-dvi-gas:
12372 @if gas
12373 maybe-dvi-gas: dvi-gas
12375 dvi-gas: \
12376 configure-gas
12377 @[ -f ./gas/Makefile ] || exit 0; \
12378 r=`${PWD_COMMAND}`; export r; \
12379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12380 $(HOST_EXPORTS) \
12381 for flag in $(EXTRA_HOST_FLAGS) ; do \
12382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12383 done; \
12384 echo "Doing dvi in gas" ; \
12385 (cd $(HOST_SUBDIR)/gas && \
12386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12388 "RANLIB=$${RANLIB}" \
12389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12390 dvi) \
12391 || exit 1
12393 @endif gas
12395 .PHONY: maybe-pdf-gas pdf-gas
12396 maybe-pdf-gas:
12397 @if gas
12398 maybe-pdf-gas: pdf-gas
12400 pdf-gas: \
12401 configure-gas
12402 @[ -f ./gas/Makefile ] || exit 0; \
12403 r=`${PWD_COMMAND}`; export r; \
12404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12405 $(HOST_EXPORTS) \
12406 for flag in $(EXTRA_HOST_FLAGS) ; do \
12407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12408 done; \
12409 echo "Doing pdf in gas" ; \
12410 (cd $(HOST_SUBDIR)/gas && \
12411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12413 "RANLIB=$${RANLIB}" \
12414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12415 pdf) \
12416 || exit 1
12418 @endif gas
12420 .PHONY: maybe-html-gas html-gas
12421 maybe-html-gas:
12422 @if gas
12423 maybe-html-gas: html-gas
12425 html-gas: \
12426 configure-gas
12427 @[ -f ./gas/Makefile ] || exit 0; \
12428 r=`${PWD_COMMAND}`; export r; \
12429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12430 $(HOST_EXPORTS) \
12431 for flag in $(EXTRA_HOST_FLAGS) ; do \
12432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12433 done; \
12434 echo "Doing html in gas" ; \
12435 (cd $(HOST_SUBDIR)/gas && \
12436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12438 "RANLIB=$${RANLIB}" \
12439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12440 html) \
12441 || exit 1
12443 @endif gas
12445 .PHONY: maybe-TAGS-gas TAGS-gas
12446 maybe-TAGS-gas:
12447 @if gas
12448 maybe-TAGS-gas: TAGS-gas
12450 TAGS-gas: \
12451 configure-gas
12452 @[ -f ./gas/Makefile ] || exit 0; \
12453 r=`${PWD_COMMAND}`; export r; \
12454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12455 $(HOST_EXPORTS) \
12456 for flag in $(EXTRA_HOST_FLAGS) ; do \
12457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12458 done; \
12459 echo "Doing TAGS in gas" ; \
12460 (cd $(HOST_SUBDIR)/gas && \
12461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12463 "RANLIB=$${RANLIB}" \
12464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12465 TAGS) \
12466 || exit 1
12468 @endif gas
12470 .PHONY: maybe-install-info-gas install-info-gas
12471 maybe-install-info-gas:
12472 @if gas
12473 maybe-install-info-gas: install-info-gas
12475 install-info-gas: \
12476 configure-gas \
12477 info-gas
12478 @[ -f ./gas/Makefile ] || exit 0; \
12479 r=`${PWD_COMMAND}`; export r; \
12480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12481 $(HOST_EXPORTS) \
12482 for flag in $(EXTRA_HOST_FLAGS) ; do \
12483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12484 done; \
12485 echo "Doing install-info in gas" ; \
12486 (cd $(HOST_SUBDIR)/gas && \
12487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12489 "RANLIB=$${RANLIB}" \
12490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12491 install-info) \
12492 || exit 1
12494 @endif gas
12496 .PHONY: maybe-install-html-gas install-html-gas
12497 maybe-install-html-gas:
12498 @if gas
12499 maybe-install-html-gas: install-html-gas
12501 install-html-gas: \
12502 configure-gas \
12503 html-gas
12504 @[ -f ./gas/Makefile ] || exit 0; \
12505 r=`${PWD_COMMAND}`; export r; \
12506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12507 $(HOST_EXPORTS) \
12508 for flag in $(EXTRA_HOST_FLAGS) ; do \
12509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12510 done; \
12511 echo "Doing install-html in gas" ; \
12512 (cd $(HOST_SUBDIR)/gas && \
12513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12515 "RANLIB=$${RANLIB}" \
12516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12517 install-html) \
12518 || exit 1
12520 @endif gas
12522 .PHONY: maybe-installcheck-gas installcheck-gas
12523 maybe-installcheck-gas:
12524 @if gas
12525 maybe-installcheck-gas: installcheck-gas
12527 installcheck-gas: \
12528 configure-gas
12529 @[ -f ./gas/Makefile ] || exit 0; \
12530 r=`${PWD_COMMAND}`; export r; \
12531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12532 $(HOST_EXPORTS) \
12533 for flag in $(EXTRA_HOST_FLAGS) ; do \
12534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12535 done; \
12536 echo "Doing installcheck in gas" ; \
12537 (cd $(HOST_SUBDIR)/gas && \
12538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12540 "RANLIB=$${RANLIB}" \
12541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12542 installcheck) \
12543 || exit 1
12545 @endif gas
12547 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
12548 maybe-mostlyclean-gas:
12549 @if gas
12550 maybe-mostlyclean-gas: mostlyclean-gas
12552 mostlyclean-gas:
12553 @[ -f ./gas/Makefile ] || exit 0; \
12554 r=`${PWD_COMMAND}`; export r; \
12555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12556 $(HOST_EXPORTS) \
12557 for flag in $(EXTRA_HOST_FLAGS) ; do \
12558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12559 done; \
12560 echo "Doing mostlyclean in gas" ; \
12561 (cd $(HOST_SUBDIR)/gas && \
12562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12564 "RANLIB=$${RANLIB}" \
12565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12566 mostlyclean) \
12567 || exit 1
12569 @endif gas
12571 .PHONY: maybe-clean-gas clean-gas
12572 maybe-clean-gas:
12573 @if gas
12574 maybe-clean-gas: clean-gas
12576 clean-gas:
12577 @[ -f ./gas/Makefile ] || exit 0; \
12578 r=`${PWD_COMMAND}`; export r; \
12579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12580 $(HOST_EXPORTS) \
12581 for flag in $(EXTRA_HOST_FLAGS) ; do \
12582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12583 done; \
12584 echo "Doing clean in gas" ; \
12585 (cd $(HOST_SUBDIR)/gas && \
12586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12588 "RANLIB=$${RANLIB}" \
12589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12590 clean) \
12591 || exit 1
12593 @endif gas
12595 .PHONY: maybe-distclean-gas distclean-gas
12596 maybe-distclean-gas:
12597 @if gas
12598 maybe-distclean-gas: distclean-gas
12600 distclean-gas:
12601 @[ -f ./gas/Makefile ] || exit 0; \
12602 r=`${PWD_COMMAND}`; export r; \
12603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12604 $(HOST_EXPORTS) \
12605 for flag in $(EXTRA_HOST_FLAGS) ; do \
12606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12607 done; \
12608 echo "Doing distclean in gas" ; \
12609 (cd $(HOST_SUBDIR)/gas && \
12610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12612 "RANLIB=$${RANLIB}" \
12613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12614 distclean) \
12615 || exit 1
12617 @endif gas
12619 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
12620 maybe-maintainer-clean-gas:
12621 @if gas
12622 maybe-maintainer-clean-gas: maintainer-clean-gas
12624 maintainer-clean-gas:
12625 @[ -f ./gas/Makefile ] || exit 0; \
12626 r=`${PWD_COMMAND}`; export r; \
12627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12628 $(HOST_EXPORTS) \
12629 for flag in $(EXTRA_HOST_FLAGS) ; do \
12630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12631 done; \
12632 echo "Doing maintainer-clean in gas" ; \
12633 (cd $(HOST_SUBDIR)/gas && \
12634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12636 "RANLIB=$${RANLIB}" \
12637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12638 maintainer-clean) \
12639 || exit 1
12641 @endif gas
12645 .PHONY: configure-gcc maybe-configure-gcc
12646 maybe-configure-gcc:
12647 @if gcc-bootstrap
12648 configure-gcc: stage_current
12649 @endif gcc-bootstrap
12650 @if gcc
12651 maybe-configure-gcc: configure-gcc
12652 configure-gcc:
12653 @r=`${PWD_COMMAND}`; export r; \
12654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12655 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12656 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12657 $(HOST_EXPORTS) \
12658 echo Configuring in $(HOST_SUBDIR)/gcc; \
12659 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
12660 case $(srcdir) in \
12661 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12662 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12663 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12664 esac; \
12665 srcdiroption="--srcdir=$${topdir}/gcc"; \
12666 libsrcdir="$$s/gcc"; \
12667 $(SHELL) $${libsrcdir}/configure \
12668 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12669 --target=${target_alias} $${srcdiroption} \
12670 || exit 1
12671 @endif gcc
12675 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
12676 maybe-configure-stage1-gcc:
12677 @if gcc-bootstrap
12678 maybe-configure-stage1-gcc: configure-stage1-gcc
12679 configure-stage1-gcc:
12680 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12681 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12682 @r=`${PWD_COMMAND}`; export r; \
12683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12684 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12685 $(HOST_EXPORTS) \
12686 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
12687 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12688 cd $(HOST_SUBDIR)/gcc || exit 1; \
12689 case $(srcdir) in \
12690 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12691 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12692 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12693 esac; \
12694 srcdiroption="--srcdir=$${topdir}/gcc"; \
12695 libsrcdir="$$s/gcc"; \
12696 $(SHELL) $${libsrcdir}/configure \
12697 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12698 --target=${target_alias} $${srcdiroption} \
12700 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
12701 @endif gcc-bootstrap
12703 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
12704 maybe-configure-stage2-gcc:
12705 @if gcc-bootstrap
12706 maybe-configure-stage2-gcc: configure-stage2-gcc
12707 configure-stage2-gcc:
12708 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12709 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12710 @r=`${PWD_COMMAND}`; export r; \
12711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12712 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12713 $(HOST_EXPORTS) \
12714 $(POSTSTAGE1_HOST_EXPORTS) \
12715 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
12716 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12717 cd $(HOST_SUBDIR)/gcc || exit 1; \
12718 case $(srcdir) in \
12719 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12720 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12721 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12722 esac; \
12723 srcdiroption="--srcdir=$${topdir}/gcc"; \
12724 libsrcdir="$$s/gcc"; \
12725 $(SHELL) $${libsrcdir}/configure \
12726 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12727 --target=${target_alias} $${srcdiroption} \
12728 --with-build-libsubdir=$(HOST_SUBDIR) \
12729 @stage2_werror_flag@
12730 @endif gcc-bootstrap
12732 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
12733 maybe-configure-stage3-gcc:
12734 @if gcc-bootstrap
12735 maybe-configure-stage3-gcc: configure-stage3-gcc
12736 configure-stage3-gcc:
12737 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12738 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12739 @r=`${PWD_COMMAND}`; export r; \
12740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12741 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12742 $(HOST_EXPORTS) \
12743 $(POSTSTAGE1_HOST_EXPORTS) \
12744 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
12745 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12746 cd $(HOST_SUBDIR)/gcc || exit 1; \
12747 case $(srcdir) in \
12748 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12749 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12750 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12751 esac; \
12752 srcdiroption="--srcdir=$${topdir}/gcc"; \
12753 libsrcdir="$$s/gcc"; \
12754 $(SHELL) $${libsrcdir}/configure \
12755 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12756 --target=${target_alias} $${srcdiroption} \
12757 --with-build-libsubdir=$(HOST_SUBDIR) \
12758 @stage2_werror_flag@
12759 @endif gcc-bootstrap
12761 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
12762 maybe-configure-stage4-gcc:
12763 @if gcc-bootstrap
12764 maybe-configure-stage4-gcc: configure-stage4-gcc
12765 configure-stage4-gcc:
12766 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12767 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12768 @r=`${PWD_COMMAND}`; export r; \
12769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12770 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12771 $(HOST_EXPORTS) \
12772 $(POSTSTAGE1_HOST_EXPORTS) \
12773 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
12774 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12775 cd $(HOST_SUBDIR)/gcc || exit 1; \
12776 case $(srcdir) in \
12777 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12778 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12779 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12780 esac; \
12781 srcdiroption="--srcdir=$${topdir}/gcc"; \
12782 libsrcdir="$$s/gcc"; \
12783 $(SHELL) $${libsrcdir}/configure \
12784 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12785 --target=${target_alias} $${srcdiroption} \
12786 --with-build-libsubdir=$(HOST_SUBDIR) \
12787 @stage2_werror_flag@
12788 @endif gcc-bootstrap
12790 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
12791 maybe-configure-stageprofile-gcc:
12792 @if gcc-bootstrap
12793 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
12794 configure-stageprofile-gcc:
12795 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12796 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12797 @r=`${PWD_COMMAND}`; export r; \
12798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12799 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12800 $(HOST_EXPORTS) \
12801 $(POSTSTAGE1_HOST_EXPORTS) \
12802 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
12803 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12804 cd $(HOST_SUBDIR)/gcc || exit 1; \
12805 case $(srcdir) in \
12806 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12807 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12808 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12809 esac; \
12810 srcdiroption="--srcdir=$${topdir}/gcc"; \
12811 libsrcdir="$$s/gcc"; \
12812 $(SHELL) $${libsrcdir}/configure \
12813 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12814 --target=${target_alias} $${srcdiroption} \
12815 --with-build-libsubdir=$(HOST_SUBDIR) \
12816 @stage2_werror_flag@
12817 @endif gcc-bootstrap
12819 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
12820 maybe-configure-stagefeedback-gcc:
12821 @if gcc-bootstrap
12822 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
12823 configure-stagefeedback-gcc:
12824 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12825 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12826 @r=`${PWD_COMMAND}`; export r; \
12827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12828 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12829 $(HOST_EXPORTS) \
12830 $(POSTSTAGE1_HOST_EXPORTS) \
12831 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
12832 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12833 cd $(HOST_SUBDIR)/gcc || exit 1; \
12834 case $(srcdir) in \
12835 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12836 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12837 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12838 esac; \
12839 srcdiroption="--srcdir=$${topdir}/gcc"; \
12840 libsrcdir="$$s/gcc"; \
12841 $(SHELL) $${libsrcdir}/configure \
12842 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12843 --target=${target_alias} $${srcdiroption} \
12844 --with-build-libsubdir=$(HOST_SUBDIR) \
12845 @stage2_werror_flag@
12846 @endif gcc-bootstrap
12852 .PHONY: all-gcc maybe-all-gcc
12853 maybe-all-gcc:
12854 @if gcc-bootstrap
12855 all-gcc: stage_current
12856 @endif gcc-bootstrap
12857 @if gcc
12858 TARGET-gcc=all
12859 maybe-all-gcc: all-gcc
12860 all-gcc: configure-gcc
12861 @r=`${PWD_COMMAND}`; export r; \
12862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12863 $(HOST_EXPORTS) \
12864 (cd $(HOST_SUBDIR)/gcc && \
12865 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
12866 @endif gcc
12870 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
12871 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
12872 maybe-all-stage1-gcc:
12873 maybe-clean-stage1-gcc:
12874 @if gcc-bootstrap
12875 maybe-all-stage1-gcc: all-stage1-gcc
12876 all-stage1: all-stage1-gcc
12877 TARGET-stage1-gcc = $(TARGET-gcc)
12878 all-stage1-gcc: configure-stage1-gcc
12879 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12880 @r=`${PWD_COMMAND}`; export r; \
12881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12882 $(HOST_EXPORTS) \
12883 cd $(HOST_SUBDIR)/gcc && \
12884 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
12885 $(TARGET-stage1-gcc)
12887 maybe-clean-stage1-gcc: clean-stage1-gcc
12888 clean-stage1: clean-stage1-gcc
12889 clean-stage1-gcc:
12890 @if [ $(current_stage) = stage1 ]; then \
12891 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12892 else \
12893 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
12894 $(MAKE) stage1-start; \
12895 fi; \
12896 cd $(HOST_SUBDIR)/gcc && \
12897 $(MAKE) $(FLAGS_TO_PASS) \
12898 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
12899 @endif gcc-bootstrap
12902 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
12903 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
12904 maybe-all-stage2-gcc:
12905 maybe-clean-stage2-gcc:
12906 @if gcc-bootstrap
12907 maybe-all-stage2-gcc: all-stage2-gcc
12908 all-stage2: all-stage2-gcc
12909 TARGET-stage2-gcc = $(TARGET-gcc)
12910 all-stage2-gcc: configure-stage2-gcc
12911 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12912 @r=`${PWD_COMMAND}`; export r; \
12913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12914 $(HOST_EXPORTS) \
12915 $(POSTSTAGE1_HOST_EXPORTS) \
12916 cd $(HOST_SUBDIR)/gcc && \
12917 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12918 $(TARGET-stage2-gcc)
12920 maybe-clean-stage2-gcc: clean-stage2-gcc
12921 clean-stage2: clean-stage2-gcc
12922 clean-stage2-gcc:
12923 @if [ $(current_stage) = stage2 ]; then \
12924 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12925 else \
12926 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
12927 $(MAKE) stage2-start; \
12928 fi; \
12929 cd $(HOST_SUBDIR)/gcc && \
12930 $(MAKE) $(FLAGS_TO_PASS) \
12931 $(POSTSTAGE1_FLAGS_TO_PASS) \
12932 $(EXTRA_GCC_FLAGS) clean
12933 @endif gcc-bootstrap
12936 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
12937 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
12938 maybe-all-stage3-gcc:
12939 maybe-clean-stage3-gcc:
12940 @if gcc-bootstrap
12941 maybe-all-stage3-gcc: all-stage3-gcc
12942 all-stage3: all-stage3-gcc
12943 TARGET-stage3-gcc = $(TARGET-gcc)
12944 all-stage3-gcc: configure-stage3-gcc
12945 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12946 @r=`${PWD_COMMAND}`; export r; \
12947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12948 $(HOST_EXPORTS) \
12949 $(POSTSTAGE1_HOST_EXPORTS) \
12950 cd $(HOST_SUBDIR)/gcc && \
12951 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12952 $(TARGET-stage3-gcc)
12954 maybe-clean-stage3-gcc: clean-stage3-gcc
12955 clean-stage3: clean-stage3-gcc
12956 clean-stage3-gcc:
12957 @if [ $(current_stage) = stage3 ]; then \
12958 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12959 else \
12960 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
12961 $(MAKE) stage3-start; \
12962 fi; \
12963 cd $(HOST_SUBDIR)/gcc && \
12964 $(MAKE) $(FLAGS_TO_PASS) \
12965 $(POSTSTAGE1_FLAGS_TO_PASS) \
12966 $(EXTRA_GCC_FLAGS) clean
12967 @endif gcc-bootstrap
12970 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
12971 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
12972 maybe-all-stage4-gcc:
12973 maybe-clean-stage4-gcc:
12974 @if gcc-bootstrap
12975 maybe-all-stage4-gcc: all-stage4-gcc
12976 all-stage4: all-stage4-gcc
12977 TARGET-stage4-gcc = $(TARGET-gcc)
12978 all-stage4-gcc: configure-stage4-gcc
12979 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12980 @r=`${PWD_COMMAND}`; export r; \
12981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12982 $(HOST_EXPORTS) \
12983 $(POSTSTAGE1_HOST_EXPORTS) \
12984 cd $(HOST_SUBDIR)/gcc && \
12985 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12986 $(TARGET-stage4-gcc)
12988 maybe-clean-stage4-gcc: clean-stage4-gcc
12989 clean-stage4: clean-stage4-gcc
12990 clean-stage4-gcc:
12991 @if [ $(current_stage) = stage4 ]; then \
12992 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12993 else \
12994 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
12995 $(MAKE) stage4-start; \
12996 fi; \
12997 cd $(HOST_SUBDIR)/gcc && \
12998 $(MAKE) $(FLAGS_TO_PASS) \
12999 $(POSTSTAGE1_FLAGS_TO_PASS) \
13000 $(EXTRA_GCC_FLAGS) clean
13001 @endif gcc-bootstrap
13004 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
13005 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
13006 maybe-all-stageprofile-gcc:
13007 maybe-clean-stageprofile-gcc:
13008 @if gcc-bootstrap
13009 maybe-all-stageprofile-gcc: all-stageprofile-gcc
13010 all-stageprofile: all-stageprofile-gcc
13011 TARGET-stageprofile-gcc = $(TARGET-gcc)
13012 all-stageprofile-gcc: configure-stageprofile-gcc
13013 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13014 @r=`${PWD_COMMAND}`; export r; \
13015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13016 $(HOST_EXPORTS) \
13017 $(POSTSTAGE1_HOST_EXPORTS) \
13018 cd $(HOST_SUBDIR)/gcc && \
13019 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
13020 $(TARGET-stageprofile-gcc)
13022 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
13023 clean-stageprofile: clean-stageprofile-gcc
13024 clean-stageprofile-gcc:
13025 @if [ $(current_stage) = stageprofile ]; then \
13026 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
13027 else \
13028 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
13029 $(MAKE) stageprofile-start; \
13030 fi; \
13031 cd $(HOST_SUBDIR)/gcc && \
13032 $(MAKE) $(FLAGS_TO_PASS) \
13033 $(POSTSTAGE1_FLAGS_TO_PASS) \
13034 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
13035 @endif gcc-bootstrap
13038 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
13039 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
13040 maybe-all-stagefeedback-gcc:
13041 maybe-clean-stagefeedback-gcc:
13042 @if gcc-bootstrap
13043 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
13044 all-stagefeedback: all-stagefeedback-gcc
13045 TARGET-stagefeedback-gcc = $(TARGET-gcc)
13046 all-stagefeedback-gcc: configure-stagefeedback-gcc
13047 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13048 @r=`${PWD_COMMAND}`; export r; \
13049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13050 $(HOST_EXPORTS) \
13051 $(POSTSTAGE1_HOST_EXPORTS) \
13052 cd $(HOST_SUBDIR)/gcc && \
13053 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
13054 $(TARGET-stagefeedback-gcc)
13056 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
13057 clean-stagefeedback: clean-stagefeedback-gcc
13058 clean-stagefeedback-gcc:
13059 @if [ $(current_stage) = stagefeedback ]; then \
13060 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
13061 else \
13062 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
13063 $(MAKE) stagefeedback-start; \
13064 fi; \
13065 cd $(HOST_SUBDIR)/gcc && \
13066 $(MAKE) $(FLAGS_TO_PASS) \
13067 $(POSTSTAGE1_FLAGS_TO_PASS) \
13068 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
13069 @endif gcc-bootstrap
13075 .PHONY: check-gcc maybe-check-gcc
13076 maybe-check-gcc:
13077 @if gcc
13078 maybe-check-gcc: check-gcc
13080 check-gcc:
13081 @: $(MAKE); $(unstage)
13082 @r=`${PWD_COMMAND}`; export r; \
13083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13084 $(HOST_EXPORTS) \
13085 (cd $(HOST_SUBDIR)/gcc && \
13086 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
13088 @endif gcc
13090 .PHONY: install-gcc maybe-install-gcc
13091 maybe-install-gcc:
13092 @if gcc
13093 maybe-install-gcc: install-gcc
13095 install-gcc: installdirs
13096 @: $(MAKE); $(unstage)
13097 @r=`${PWD_COMMAND}`; export r; \
13098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13099 $(HOST_EXPORTS) \
13100 (cd $(HOST_SUBDIR)/gcc && \
13101 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
13103 @endif gcc
13105 # Other targets (info, dvi, pdf, etc.)
13107 .PHONY: maybe-info-gcc info-gcc
13108 maybe-info-gcc:
13109 @if gcc
13110 maybe-info-gcc: info-gcc
13112 info-gcc: \
13113 configure-gcc
13114 @[ -f ./gcc/Makefile ] || exit 0; \
13115 r=`${PWD_COMMAND}`; export r; \
13116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13117 $(HOST_EXPORTS) \
13118 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13120 done; \
13121 echo "Doing info in gcc" ; \
13122 (cd $(HOST_SUBDIR)/gcc && \
13123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13125 "RANLIB=$${RANLIB}" \
13126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13127 info) \
13128 || exit 1
13130 @endif gcc
13132 .PHONY: maybe-dvi-gcc dvi-gcc
13133 maybe-dvi-gcc:
13134 @if gcc
13135 maybe-dvi-gcc: dvi-gcc
13137 dvi-gcc: \
13138 configure-gcc
13139 @[ -f ./gcc/Makefile ] || exit 0; \
13140 r=`${PWD_COMMAND}`; export r; \
13141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13142 $(HOST_EXPORTS) \
13143 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13145 done; \
13146 echo "Doing dvi in gcc" ; \
13147 (cd $(HOST_SUBDIR)/gcc && \
13148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13150 "RANLIB=$${RANLIB}" \
13151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13152 dvi) \
13153 || exit 1
13155 @endif gcc
13157 .PHONY: maybe-pdf-gcc pdf-gcc
13158 maybe-pdf-gcc:
13159 @if gcc
13160 maybe-pdf-gcc: pdf-gcc
13162 pdf-gcc: \
13163 configure-gcc
13164 @[ -f ./gcc/Makefile ] || exit 0; \
13165 r=`${PWD_COMMAND}`; export r; \
13166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13167 $(HOST_EXPORTS) \
13168 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13170 done; \
13171 echo "Doing pdf in gcc" ; \
13172 (cd $(HOST_SUBDIR)/gcc && \
13173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13175 "RANLIB=$${RANLIB}" \
13176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13177 pdf) \
13178 || exit 1
13180 @endif gcc
13182 .PHONY: maybe-html-gcc html-gcc
13183 maybe-html-gcc:
13184 @if gcc
13185 maybe-html-gcc: html-gcc
13187 html-gcc: \
13188 configure-gcc
13189 @[ -f ./gcc/Makefile ] || exit 0; \
13190 r=`${PWD_COMMAND}`; export r; \
13191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13192 $(HOST_EXPORTS) \
13193 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13195 done; \
13196 echo "Doing html in gcc" ; \
13197 (cd $(HOST_SUBDIR)/gcc && \
13198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13200 "RANLIB=$${RANLIB}" \
13201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13202 html) \
13203 || exit 1
13205 @endif gcc
13207 .PHONY: maybe-TAGS-gcc TAGS-gcc
13208 maybe-TAGS-gcc:
13209 @if gcc
13210 maybe-TAGS-gcc: TAGS-gcc
13212 TAGS-gcc: \
13213 configure-gcc
13214 @[ -f ./gcc/Makefile ] || exit 0; \
13215 r=`${PWD_COMMAND}`; export r; \
13216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13217 $(HOST_EXPORTS) \
13218 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13220 done; \
13221 echo "Doing TAGS in gcc" ; \
13222 (cd $(HOST_SUBDIR)/gcc && \
13223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13225 "RANLIB=$${RANLIB}" \
13226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13227 TAGS) \
13228 || exit 1
13230 @endif gcc
13232 .PHONY: maybe-install-info-gcc install-info-gcc
13233 maybe-install-info-gcc:
13234 @if gcc
13235 maybe-install-info-gcc: install-info-gcc
13237 install-info-gcc: \
13238 configure-gcc \
13239 info-gcc
13240 @[ -f ./gcc/Makefile ] || exit 0; \
13241 r=`${PWD_COMMAND}`; export r; \
13242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13243 $(HOST_EXPORTS) \
13244 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13246 done; \
13247 echo "Doing install-info in gcc" ; \
13248 (cd $(HOST_SUBDIR)/gcc && \
13249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13251 "RANLIB=$${RANLIB}" \
13252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13253 install-info) \
13254 || exit 1
13256 @endif gcc
13258 .PHONY: maybe-install-html-gcc install-html-gcc
13259 maybe-install-html-gcc:
13260 @if gcc
13261 maybe-install-html-gcc: install-html-gcc
13263 install-html-gcc: \
13264 configure-gcc \
13265 html-gcc
13266 @[ -f ./gcc/Makefile ] || exit 0; \
13267 r=`${PWD_COMMAND}`; export r; \
13268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13269 $(HOST_EXPORTS) \
13270 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13272 done; \
13273 echo "Doing install-html in gcc" ; \
13274 (cd $(HOST_SUBDIR)/gcc && \
13275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13277 "RANLIB=$${RANLIB}" \
13278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13279 install-html) \
13280 || exit 1
13282 @endif gcc
13284 .PHONY: maybe-installcheck-gcc installcheck-gcc
13285 maybe-installcheck-gcc:
13286 @if gcc
13287 maybe-installcheck-gcc: installcheck-gcc
13289 installcheck-gcc: \
13290 configure-gcc
13291 @[ -f ./gcc/Makefile ] || exit 0; \
13292 r=`${PWD_COMMAND}`; export r; \
13293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13294 $(HOST_EXPORTS) \
13295 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13297 done; \
13298 echo "Doing installcheck in gcc" ; \
13299 (cd $(HOST_SUBDIR)/gcc && \
13300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13302 "RANLIB=$${RANLIB}" \
13303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13304 installcheck) \
13305 || exit 1
13307 @endif gcc
13309 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
13310 maybe-mostlyclean-gcc:
13311 @if gcc
13312 maybe-mostlyclean-gcc: mostlyclean-gcc
13314 mostlyclean-gcc:
13315 @[ -f ./gcc/Makefile ] || exit 0; \
13316 r=`${PWD_COMMAND}`; export r; \
13317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13318 $(HOST_EXPORTS) \
13319 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13321 done; \
13322 echo "Doing mostlyclean in gcc" ; \
13323 (cd $(HOST_SUBDIR)/gcc && \
13324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13326 "RANLIB=$${RANLIB}" \
13327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13328 mostlyclean) \
13329 || exit 1
13331 @endif gcc
13333 .PHONY: maybe-clean-gcc clean-gcc
13334 maybe-clean-gcc:
13335 @if gcc
13336 maybe-clean-gcc: clean-gcc
13338 clean-gcc:
13339 @[ -f ./gcc/Makefile ] || exit 0; \
13340 r=`${PWD_COMMAND}`; export r; \
13341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13342 $(HOST_EXPORTS) \
13343 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13345 done; \
13346 echo "Doing clean in gcc" ; \
13347 (cd $(HOST_SUBDIR)/gcc && \
13348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13350 "RANLIB=$${RANLIB}" \
13351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13352 clean) \
13353 || exit 1
13355 @endif gcc
13357 .PHONY: maybe-distclean-gcc distclean-gcc
13358 maybe-distclean-gcc:
13359 @if gcc
13360 maybe-distclean-gcc: distclean-gcc
13362 distclean-gcc:
13363 @[ -f ./gcc/Makefile ] || exit 0; \
13364 r=`${PWD_COMMAND}`; export r; \
13365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13366 $(HOST_EXPORTS) \
13367 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13369 done; \
13370 echo "Doing distclean in gcc" ; \
13371 (cd $(HOST_SUBDIR)/gcc && \
13372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13374 "RANLIB=$${RANLIB}" \
13375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13376 distclean) \
13377 || exit 1
13379 @endif gcc
13381 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
13382 maybe-maintainer-clean-gcc:
13383 @if gcc
13384 maybe-maintainer-clean-gcc: maintainer-clean-gcc
13386 maintainer-clean-gcc:
13387 @[ -f ./gcc/Makefile ] || exit 0; \
13388 r=`${PWD_COMMAND}`; export r; \
13389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13390 $(HOST_EXPORTS) \
13391 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13393 done; \
13394 echo "Doing maintainer-clean in gcc" ; \
13395 (cd $(HOST_SUBDIR)/gcc && \
13396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13398 "RANLIB=$${RANLIB}" \
13399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13400 maintainer-clean) \
13401 || exit 1
13403 @endif gcc
13407 .PHONY: configure-gawk maybe-configure-gawk
13408 maybe-configure-gawk:
13409 @if gcc-bootstrap
13410 configure-gawk: stage_current
13411 @endif gcc-bootstrap
13412 @if gawk
13413 maybe-configure-gawk: configure-gawk
13414 configure-gawk:
13415 @: $(MAKE); $(unstage)
13416 @r=`${PWD_COMMAND}`; export r; \
13417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13418 test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
13419 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
13420 $(HOST_EXPORTS) \
13421 echo Configuring in $(HOST_SUBDIR)/gawk; \
13422 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
13423 case $(srcdir) in \
13424 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13425 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
13426 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13427 esac; \
13428 srcdiroption="--srcdir=$${topdir}/gawk"; \
13429 libsrcdir="$$s/gawk"; \
13430 $(SHELL) $${libsrcdir}/configure \
13431 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13432 --target=${target_alias} $${srcdiroption} \
13433 || exit 1
13434 @endif gawk
13440 .PHONY: all-gawk maybe-all-gawk
13441 maybe-all-gawk:
13442 @if gcc-bootstrap
13443 all-gawk: stage_current
13444 @endif gcc-bootstrap
13445 @if gawk
13446 TARGET-gawk=all
13447 maybe-all-gawk: all-gawk
13448 all-gawk: configure-gawk
13449 @: $(MAKE); $(unstage)
13450 @r=`${PWD_COMMAND}`; export r; \
13451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13452 $(HOST_EXPORTS) \
13453 (cd $(HOST_SUBDIR)/gawk && \
13454 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
13455 @endif gawk
13460 .PHONY: check-gawk maybe-check-gawk
13461 maybe-check-gawk:
13462 @if gawk
13463 maybe-check-gawk: check-gawk
13465 check-gawk:
13466 @: $(MAKE); $(unstage)
13467 @r=`${PWD_COMMAND}`; export r; \
13468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13469 $(HOST_EXPORTS) \
13470 (cd $(HOST_SUBDIR)/gawk && \
13471 $(MAKE) $(FLAGS_TO_PASS) check)
13473 @endif gawk
13475 .PHONY: install-gawk maybe-install-gawk
13476 maybe-install-gawk:
13477 @if gawk
13478 maybe-install-gawk: install-gawk
13480 install-gawk: installdirs
13481 @: $(MAKE); $(unstage)
13482 @r=`${PWD_COMMAND}`; export r; \
13483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13484 $(HOST_EXPORTS) \
13485 (cd $(HOST_SUBDIR)/gawk && \
13486 $(MAKE) $(FLAGS_TO_PASS) install)
13488 @endif gawk
13490 # Other targets (info, dvi, pdf, etc.)
13492 .PHONY: maybe-info-gawk info-gawk
13493 maybe-info-gawk:
13494 @if gawk
13495 maybe-info-gawk: info-gawk
13497 info-gawk: \
13498 configure-gawk
13499 @: $(MAKE); $(unstage)
13500 @[ -f ./gawk/Makefile ] || exit 0; \
13501 r=`${PWD_COMMAND}`; export r; \
13502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13503 $(HOST_EXPORTS) \
13504 for flag in $(EXTRA_HOST_FLAGS) ; do \
13505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13506 done; \
13507 echo "Doing info in gawk" ; \
13508 (cd $(HOST_SUBDIR)/gawk && \
13509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13511 "RANLIB=$${RANLIB}" \
13512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13513 info) \
13514 || exit 1
13516 @endif gawk
13518 .PHONY: maybe-dvi-gawk dvi-gawk
13519 maybe-dvi-gawk:
13520 @if gawk
13521 maybe-dvi-gawk: dvi-gawk
13523 dvi-gawk: \
13524 configure-gawk
13525 @: $(MAKE); $(unstage)
13526 @[ -f ./gawk/Makefile ] || exit 0; \
13527 r=`${PWD_COMMAND}`; export r; \
13528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13529 $(HOST_EXPORTS) \
13530 for flag in $(EXTRA_HOST_FLAGS) ; do \
13531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13532 done; \
13533 echo "Doing dvi in gawk" ; \
13534 (cd $(HOST_SUBDIR)/gawk && \
13535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13537 "RANLIB=$${RANLIB}" \
13538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13539 dvi) \
13540 || exit 1
13542 @endif gawk
13544 .PHONY: maybe-pdf-gawk pdf-gawk
13545 maybe-pdf-gawk:
13546 @if gawk
13547 maybe-pdf-gawk: pdf-gawk
13549 pdf-gawk: \
13550 configure-gawk
13551 @: $(MAKE); $(unstage)
13552 @[ -f ./gawk/Makefile ] || exit 0; \
13553 r=`${PWD_COMMAND}`; export r; \
13554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13555 $(HOST_EXPORTS) \
13556 for flag in $(EXTRA_HOST_FLAGS) ; do \
13557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13558 done; \
13559 echo "Doing pdf in gawk" ; \
13560 (cd $(HOST_SUBDIR)/gawk && \
13561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13563 "RANLIB=$${RANLIB}" \
13564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13565 pdf) \
13566 || exit 1
13568 @endif gawk
13570 .PHONY: maybe-html-gawk html-gawk
13571 maybe-html-gawk:
13572 @if gawk
13573 maybe-html-gawk: html-gawk
13575 html-gawk: \
13576 configure-gawk
13577 @: $(MAKE); $(unstage)
13578 @[ -f ./gawk/Makefile ] || exit 0; \
13579 r=`${PWD_COMMAND}`; export r; \
13580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13581 $(HOST_EXPORTS) \
13582 for flag in $(EXTRA_HOST_FLAGS) ; do \
13583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13584 done; \
13585 echo "Doing html in gawk" ; \
13586 (cd $(HOST_SUBDIR)/gawk && \
13587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13589 "RANLIB=$${RANLIB}" \
13590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13591 html) \
13592 || exit 1
13594 @endif gawk
13596 .PHONY: maybe-TAGS-gawk TAGS-gawk
13597 maybe-TAGS-gawk:
13598 @if gawk
13599 maybe-TAGS-gawk: TAGS-gawk
13601 TAGS-gawk: \
13602 configure-gawk
13603 @: $(MAKE); $(unstage)
13604 @[ -f ./gawk/Makefile ] || exit 0; \
13605 r=`${PWD_COMMAND}`; export r; \
13606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13607 $(HOST_EXPORTS) \
13608 for flag in $(EXTRA_HOST_FLAGS) ; do \
13609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13610 done; \
13611 echo "Doing TAGS in gawk" ; \
13612 (cd $(HOST_SUBDIR)/gawk && \
13613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13615 "RANLIB=$${RANLIB}" \
13616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13617 TAGS) \
13618 || exit 1
13620 @endif gawk
13622 .PHONY: maybe-install-info-gawk install-info-gawk
13623 maybe-install-info-gawk:
13624 @if gawk
13625 maybe-install-info-gawk: install-info-gawk
13627 install-info-gawk: \
13628 configure-gawk \
13629 info-gawk
13630 @: $(MAKE); $(unstage)
13631 @[ -f ./gawk/Makefile ] || exit 0; \
13632 r=`${PWD_COMMAND}`; export r; \
13633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13634 $(HOST_EXPORTS) \
13635 for flag in $(EXTRA_HOST_FLAGS) ; do \
13636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13637 done; \
13638 echo "Doing install-info in gawk" ; \
13639 (cd $(HOST_SUBDIR)/gawk && \
13640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13642 "RANLIB=$${RANLIB}" \
13643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13644 install-info) \
13645 || exit 1
13647 @endif gawk
13649 .PHONY: maybe-install-html-gawk install-html-gawk
13650 maybe-install-html-gawk:
13651 @if gawk
13652 maybe-install-html-gawk: install-html-gawk
13654 install-html-gawk: \
13655 configure-gawk \
13656 html-gawk
13657 @: $(MAKE); $(unstage)
13658 @[ -f ./gawk/Makefile ] || exit 0; \
13659 r=`${PWD_COMMAND}`; export r; \
13660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13661 $(HOST_EXPORTS) \
13662 for flag in $(EXTRA_HOST_FLAGS) ; do \
13663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13664 done; \
13665 echo "Doing install-html in gawk" ; \
13666 (cd $(HOST_SUBDIR)/gawk && \
13667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13669 "RANLIB=$${RANLIB}" \
13670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13671 install-html) \
13672 || exit 1
13674 @endif gawk
13676 .PHONY: maybe-installcheck-gawk installcheck-gawk
13677 maybe-installcheck-gawk:
13678 @if gawk
13679 maybe-installcheck-gawk: installcheck-gawk
13681 installcheck-gawk: \
13682 configure-gawk
13683 @: $(MAKE); $(unstage)
13684 @[ -f ./gawk/Makefile ] || exit 0; \
13685 r=`${PWD_COMMAND}`; export r; \
13686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13687 $(HOST_EXPORTS) \
13688 for flag in $(EXTRA_HOST_FLAGS) ; do \
13689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13690 done; \
13691 echo "Doing installcheck in gawk" ; \
13692 (cd $(HOST_SUBDIR)/gawk && \
13693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13695 "RANLIB=$${RANLIB}" \
13696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13697 installcheck) \
13698 || exit 1
13700 @endif gawk
13702 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
13703 maybe-mostlyclean-gawk:
13704 @if gawk
13705 maybe-mostlyclean-gawk: mostlyclean-gawk
13707 mostlyclean-gawk:
13708 @: $(MAKE); $(unstage)
13709 @[ -f ./gawk/Makefile ] || exit 0; \
13710 r=`${PWD_COMMAND}`; export r; \
13711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13712 $(HOST_EXPORTS) \
13713 for flag in $(EXTRA_HOST_FLAGS) ; do \
13714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13715 done; \
13716 echo "Doing mostlyclean in gawk" ; \
13717 (cd $(HOST_SUBDIR)/gawk && \
13718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13720 "RANLIB=$${RANLIB}" \
13721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13722 mostlyclean) \
13723 || exit 1
13725 @endif gawk
13727 .PHONY: maybe-clean-gawk clean-gawk
13728 maybe-clean-gawk:
13729 @if gawk
13730 maybe-clean-gawk: clean-gawk
13732 clean-gawk:
13733 @: $(MAKE); $(unstage)
13734 @[ -f ./gawk/Makefile ] || exit 0; \
13735 r=`${PWD_COMMAND}`; export r; \
13736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13737 $(HOST_EXPORTS) \
13738 for flag in $(EXTRA_HOST_FLAGS) ; do \
13739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13740 done; \
13741 echo "Doing clean in gawk" ; \
13742 (cd $(HOST_SUBDIR)/gawk && \
13743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13745 "RANLIB=$${RANLIB}" \
13746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13747 clean) \
13748 || exit 1
13750 @endif gawk
13752 .PHONY: maybe-distclean-gawk distclean-gawk
13753 maybe-distclean-gawk:
13754 @if gawk
13755 maybe-distclean-gawk: distclean-gawk
13757 distclean-gawk:
13758 @: $(MAKE); $(unstage)
13759 @[ -f ./gawk/Makefile ] || exit 0; \
13760 r=`${PWD_COMMAND}`; export r; \
13761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13762 $(HOST_EXPORTS) \
13763 for flag in $(EXTRA_HOST_FLAGS) ; do \
13764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13765 done; \
13766 echo "Doing distclean in gawk" ; \
13767 (cd $(HOST_SUBDIR)/gawk && \
13768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13770 "RANLIB=$${RANLIB}" \
13771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13772 distclean) \
13773 || exit 1
13775 @endif gawk
13777 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
13778 maybe-maintainer-clean-gawk:
13779 @if gawk
13780 maybe-maintainer-clean-gawk: maintainer-clean-gawk
13782 maintainer-clean-gawk:
13783 @: $(MAKE); $(unstage)
13784 @[ -f ./gawk/Makefile ] || exit 0; \
13785 r=`${PWD_COMMAND}`; export r; \
13786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13787 $(HOST_EXPORTS) \
13788 for flag in $(EXTRA_HOST_FLAGS) ; do \
13789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13790 done; \
13791 echo "Doing maintainer-clean in gawk" ; \
13792 (cd $(HOST_SUBDIR)/gawk && \
13793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13795 "RANLIB=$${RANLIB}" \
13796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13797 maintainer-clean) \
13798 || exit 1
13800 @endif gawk
13804 .PHONY: configure-gettext maybe-configure-gettext
13805 maybe-configure-gettext:
13806 @if gcc-bootstrap
13807 configure-gettext: stage_current
13808 @endif gcc-bootstrap
13809 @if gettext
13810 maybe-configure-gettext: configure-gettext
13811 configure-gettext:
13812 @: $(MAKE); $(unstage)
13813 @r=`${PWD_COMMAND}`; export r; \
13814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13815 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
13816 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
13817 $(HOST_EXPORTS) \
13818 echo Configuring in $(HOST_SUBDIR)/gettext; \
13819 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
13820 case $(srcdir) in \
13821 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13822 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
13823 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13824 esac; \
13825 srcdiroption="--srcdir=$${topdir}/gettext"; \
13826 libsrcdir="$$s/gettext"; \
13827 $(SHELL) $${libsrcdir}/configure \
13828 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13829 --target=${target_alias} $${srcdiroption} \
13830 || exit 1
13831 @endif gettext
13837 .PHONY: all-gettext maybe-all-gettext
13838 maybe-all-gettext:
13839 @if gcc-bootstrap
13840 all-gettext: stage_current
13841 @endif gcc-bootstrap
13842 @if gettext
13843 TARGET-gettext=all
13844 maybe-all-gettext: all-gettext
13845 all-gettext: configure-gettext
13846 @: $(MAKE); $(unstage)
13847 @r=`${PWD_COMMAND}`; export r; \
13848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13849 $(HOST_EXPORTS) \
13850 (cd $(HOST_SUBDIR)/gettext && \
13851 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
13852 @endif gettext
13857 .PHONY: check-gettext maybe-check-gettext
13858 maybe-check-gettext:
13859 @if gettext
13860 maybe-check-gettext: check-gettext
13862 check-gettext:
13863 @: $(MAKE); $(unstage)
13864 @r=`${PWD_COMMAND}`; export r; \
13865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13866 $(HOST_EXPORTS) \
13867 (cd $(HOST_SUBDIR)/gettext && \
13868 $(MAKE) $(FLAGS_TO_PASS) check)
13870 @endif gettext
13872 .PHONY: install-gettext maybe-install-gettext
13873 maybe-install-gettext:
13874 @if gettext
13875 maybe-install-gettext: install-gettext
13877 install-gettext: installdirs
13878 @: $(MAKE); $(unstage)
13879 @r=`${PWD_COMMAND}`; export r; \
13880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13881 $(HOST_EXPORTS) \
13882 (cd $(HOST_SUBDIR)/gettext && \
13883 $(MAKE) $(FLAGS_TO_PASS) install)
13885 @endif gettext
13887 # Other targets (info, dvi, pdf, etc.)
13889 .PHONY: maybe-info-gettext info-gettext
13890 maybe-info-gettext:
13891 @if gettext
13892 maybe-info-gettext: info-gettext
13894 info-gettext: \
13895 configure-gettext
13896 @: $(MAKE); $(unstage)
13897 @[ -f ./gettext/Makefile ] || exit 0; \
13898 r=`${PWD_COMMAND}`; export r; \
13899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13900 $(HOST_EXPORTS) \
13901 for flag in $(EXTRA_HOST_FLAGS) ; do \
13902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13903 done; \
13904 echo "Doing info in gettext" ; \
13905 (cd $(HOST_SUBDIR)/gettext && \
13906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13908 "RANLIB=$${RANLIB}" \
13909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13910 info) \
13911 || exit 1
13913 @endif gettext
13915 .PHONY: maybe-dvi-gettext dvi-gettext
13916 maybe-dvi-gettext:
13917 @if gettext
13918 maybe-dvi-gettext: dvi-gettext
13920 dvi-gettext: \
13921 configure-gettext
13922 @: $(MAKE); $(unstage)
13923 @[ -f ./gettext/Makefile ] || exit 0; \
13924 r=`${PWD_COMMAND}`; export r; \
13925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13926 $(HOST_EXPORTS) \
13927 for flag in $(EXTRA_HOST_FLAGS) ; do \
13928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13929 done; \
13930 echo "Doing dvi in gettext" ; \
13931 (cd $(HOST_SUBDIR)/gettext && \
13932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13934 "RANLIB=$${RANLIB}" \
13935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13936 dvi) \
13937 || exit 1
13939 @endif gettext
13941 .PHONY: maybe-pdf-gettext pdf-gettext
13942 maybe-pdf-gettext:
13943 @if gettext
13944 maybe-pdf-gettext: pdf-gettext
13946 pdf-gettext: \
13947 configure-gettext
13948 @: $(MAKE); $(unstage)
13949 @[ -f ./gettext/Makefile ] || exit 0; \
13950 r=`${PWD_COMMAND}`; export r; \
13951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13952 $(HOST_EXPORTS) \
13953 for flag in $(EXTRA_HOST_FLAGS) ; do \
13954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13955 done; \
13956 echo "Doing pdf in gettext" ; \
13957 (cd $(HOST_SUBDIR)/gettext && \
13958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13960 "RANLIB=$${RANLIB}" \
13961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13962 pdf) \
13963 || exit 1
13965 @endif gettext
13967 .PHONY: maybe-html-gettext html-gettext
13968 maybe-html-gettext:
13969 @if gettext
13970 maybe-html-gettext: html-gettext
13972 html-gettext: \
13973 configure-gettext
13974 @: $(MAKE); $(unstage)
13975 @[ -f ./gettext/Makefile ] || exit 0; \
13976 r=`${PWD_COMMAND}`; export r; \
13977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13978 $(HOST_EXPORTS) \
13979 for flag in $(EXTRA_HOST_FLAGS) ; do \
13980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13981 done; \
13982 echo "Doing html in gettext" ; \
13983 (cd $(HOST_SUBDIR)/gettext && \
13984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13986 "RANLIB=$${RANLIB}" \
13987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13988 html) \
13989 || exit 1
13991 @endif gettext
13993 .PHONY: maybe-TAGS-gettext TAGS-gettext
13994 maybe-TAGS-gettext:
13995 @if gettext
13996 maybe-TAGS-gettext: TAGS-gettext
13998 TAGS-gettext: \
13999 configure-gettext
14000 @: $(MAKE); $(unstage)
14001 @[ -f ./gettext/Makefile ] || exit 0; \
14002 r=`${PWD_COMMAND}`; export r; \
14003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14004 $(HOST_EXPORTS) \
14005 for flag in $(EXTRA_HOST_FLAGS) ; do \
14006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14007 done; \
14008 echo "Doing TAGS in gettext" ; \
14009 (cd $(HOST_SUBDIR)/gettext && \
14010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14012 "RANLIB=$${RANLIB}" \
14013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14014 TAGS) \
14015 || exit 1
14017 @endif gettext
14019 .PHONY: maybe-install-info-gettext install-info-gettext
14020 maybe-install-info-gettext:
14021 @if gettext
14022 maybe-install-info-gettext: install-info-gettext
14024 install-info-gettext: \
14025 configure-gettext \
14026 info-gettext
14027 @: $(MAKE); $(unstage)
14028 @[ -f ./gettext/Makefile ] || exit 0; \
14029 r=`${PWD_COMMAND}`; export r; \
14030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14031 $(HOST_EXPORTS) \
14032 for flag in $(EXTRA_HOST_FLAGS) ; do \
14033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14034 done; \
14035 echo "Doing install-info in gettext" ; \
14036 (cd $(HOST_SUBDIR)/gettext && \
14037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14039 "RANLIB=$${RANLIB}" \
14040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14041 install-info) \
14042 || exit 1
14044 @endif gettext
14046 .PHONY: maybe-install-html-gettext install-html-gettext
14047 maybe-install-html-gettext:
14048 @if gettext
14049 maybe-install-html-gettext: install-html-gettext
14051 install-html-gettext: \
14052 configure-gettext \
14053 html-gettext
14054 @: $(MAKE); $(unstage)
14055 @[ -f ./gettext/Makefile ] || exit 0; \
14056 r=`${PWD_COMMAND}`; export r; \
14057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14058 $(HOST_EXPORTS) \
14059 for flag in $(EXTRA_HOST_FLAGS) ; do \
14060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14061 done; \
14062 echo "Doing install-html in gettext" ; \
14063 (cd $(HOST_SUBDIR)/gettext && \
14064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14066 "RANLIB=$${RANLIB}" \
14067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14068 install-html) \
14069 || exit 1
14071 @endif gettext
14073 .PHONY: maybe-installcheck-gettext installcheck-gettext
14074 maybe-installcheck-gettext:
14075 @if gettext
14076 maybe-installcheck-gettext: installcheck-gettext
14078 installcheck-gettext: \
14079 configure-gettext
14080 @: $(MAKE); $(unstage)
14081 @[ -f ./gettext/Makefile ] || exit 0; \
14082 r=`${PWD_COMMAND}`; export r; \
14083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14084 $(HOST_EXPORTS) \
14085 for flag in $(EXTRA_HOST_FLAGS) ; do \
14086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14087 done; \
14088 echo "Doing installcheck in gettext" ; \
14089 (cd $(HOST_SUBDIR)/gettext && \
14090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14092 "RANLIB=$${RANLIB}" \
14093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14094 installcheck) \
14095 || exit 1
14097 @endif gettext
14099 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
14100 maybe-mostlyclean-gettext:
14101 @if gettext
14102 maybe-mostlyclean-gettext: mostlyclean-gettext
14104 mostlyclean-gettext:
14105 @: $(MAKE); $(unstage)
14106 @[ -f ./gettext/Makefile ] || exit 0; \
14107 r=`${PWD_COMMAND}`; export r; \
14108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14109 $(HOST_EXPORTS) \
14110 for flag in $(EXTRA_HOST_FLAGS) ; do \
14111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14112 done; \
14113 echo "Doing mostlyclean in gettext" ; \
14114 (cd $(HOST_SUBDIR)/gettext && \
14115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14117 "RANLIB=$${RANLIB}" \
14118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14119 mostlyclean) \
14120 || exit 1
14122 @endif gettext
14124 .PHONY: maybe-clean-gettext clean-gettext
14125 maybe-clean-gettext:
14126 @if gettext
14127 maybe-clean-gettext: clean-gettext
14129 clean-gettext:
14130 @: $(MAKE); $(unstage)
14131 @[ -f ./gettext/Makefile ] || exit 0; \
14132 r=`${PWD_COMMAND}`; export r; \
14133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14134 $(HOST_EXPORTS) \
14135 for flag in $(EXTRA_HOST_FLAGS) ; do \
14136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14137 done; \
14138 echo "Doing clean in gettext" ; \
14139 (cd $(HOST_SUBDIR)/gettext && \
14140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14142 "RANLIB=$${RANLIB}" \
14143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14144 clean) \
14145 || exit 1
14147 @endif gettext
14149 .PHONY: maybe-distclean-gettext distclean-gettext
14150 maybe-distclean-gettext:
14151 @if gettext
14152 maybe-distclean-gettext: distclean-gettext
14154 distclean-gettext:
14155 @: $(MAKE); $(unstage)
14156 @[ -f ./gettext/Makefile ] || exit 0; \
14157 r=`${PWD_COMMAND}`; export r; \
14158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14159 $(HOST_EXPORTS) \
14160 for flag in $(EXTRA_HOST_FLAGS) ; do \
14161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14162 done; \
14163 echo "Doing distclean in gettext" ; \
14164 (cd $(HOST_SUBDIR)/gettext && \
14165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14167 "RANLIB=$${RANLIB}" \
14168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14169 distclean) \
14170 || exit 1
14172 @endif gettext
14174 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
14175 maybe-maintainer-clean-gettext:
14176 @if gettext
14177 maybe-maintainer-clean-gettext: maintainer-clean-gettext
14179 maintainer-clean-gettext:
14180 @: $(MAKE); $(unstage)
14181 @[ -f ./gettext/Makefile ] || exit 0; \
14182 r=`${PWD_COMMAND}`; export r; \
14183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14184 $(HOST_EXPORTS) \
14185 for flag in $(EXTRA_HOST_FLAGS) ; do \
14186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14187 done; \
14188 echo "Doing maintainer-clean in gettext" ; \
14189 (cd $(HOST_SUBDIR)/gettext && \
14190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14192 "RANLIB=$${RANLIB}" \
14193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14194 maintainer-clean) \
14195 || exit 1
14197 @endif gettext
14201 .PHONY: configure-gmp maybe-configure-gmp
14202 maybe-configure-gmp:
14203 @if gcc-bootstrap
14204 configure-gmp: stage_current
14205 @endif gcc-bootstrap
14206 @if gmp
14207 maybe-configure-gmp: configure-gmp
14208 configure-gmp:
14209 @r=`${PWD_COMMAND}`; export r; \
14210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14211 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
14212 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
14213 $(HOST_EXPORTS) \
14214 echo Configuring in $(HOST_SUBDIR)/gmp; \
14215 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
14216 case $(srcdir) in \
14217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14218 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
14219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14220 esac; \
14221 srcdiroption="--srcdir=$${topdir}/gmp"; \
14222 libsrcdir="$$s/gmp"; \
14223 $(SHELL) $${libsrcdir}/configure \
14224 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
14225 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
14226 || exit 1
14227 @endif gmp
14231 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
14232 maybe-configure-stage1-gmp:
14233 @if gmp-bootstrap
14234 maybe-configure-stage1-gmp: configure-stage1-gmp
14235 configure-stage1-gmp:
14236 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14237 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
14238 @r=`${PWD_COMMAND}`; export r; \
14239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14240 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
14241 $(HOST_EXPORTS) \
14242 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
14243 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
14244 cd $(HOST_SUBDIR)/gmp || exit 1; \
14245 case $(srcdir) in \
14246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14247 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
14248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14249 esac; \
14250 srcdiroption="--srcdir=$${topdir}/gmp"; \
14251 libsrcdir="$$s/gmp"; \
14252 $(SHELL) $${libsrcdir}/configure \
14253 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
14254 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
14256 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" --disable-shared
14257 @endif gmp-bootstrap
14259 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
14260 maybe-configure-stage2-gmp:
14261 @if gmp-bootstrap
14262 maybe-configure-stage2-gmp: configure-stage2-gmp
14263 configure-stage2-gmp:
14264 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14265 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
14266 @r=`${PWD_COMMAND}`; export r; \
14267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14268 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
14269 $(HOST_EXPORTS) \
14270 $(POSTSTAGE1_HOST_EXPORTS) \
14271 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
14272 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
14273 cd $(HOST_SUBDIR)/gmp || exit 1; \
14274 case $(srcdir) in \
14275 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14276 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
14277 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14278 esac; \
14279 srcdiroption="--srcdir=$${topdir}/gmp"; \
14280 libsrcdir="$$s/gmp"; \
14281 $(SHELL) $${libsrcdir}/configure \
14282 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
14283 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
14284 --with-build-libsubdir=$(HOST_SUBDIR) \
14285 @stage2_werror_flag@ --disable-shared
14286 @endif gmp-bootstrap
14288 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
14289 maybe-configure-stage3-gmp:
14290 @if gmp-bootstrap
14291 maybe-configure-stage3-gmp: configure-stage3-gmp
14292 configure-stage3-gmp:
14293 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14294 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
14295 @r=`${PWD_COMMAND}`; export r; \
14296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14297 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
14298 $(HOST_EXPORTS) \
14299 $(POSTSTAGE1_HOST_EXPORTS) \
14300 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
14301 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
14302 cd $(HOST_SUBDIR)/gmp || exit 1; \
14303 case $(srcdir) in \
14304 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14305 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
14306 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14307 esac; \
14308 srcdiroption="--srcdir=$${topdir}/gmp"; \
14309 libsrcdir="$$s/gmp"; \
14310 $(SHELL) $${libsrcdir}/configure \
14311 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
14312 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
14313 --with-build-libsubdir=$(HOST_SUBDIR) \
14314 @stage2_werror_flag@ --disable-shared
14315 @endif gmp-bootstrap
14317 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
14318 maybe-configure-stage4-gmp:
14319 @if gmp-bootstrap
14320 maybe-configure-stage4-gmp: configure-stage4-gmp
14321 configure-stage4-gmp:
14322 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14323 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
14324 @r=`${PWD_COMMAND}`; export r; \
14325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14326 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
14327 $(HOST_EXPORTS) \
14328 $(POSTSTAGE1_HOST_EXPORTS) \
14329 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
14330 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
14331 cd $(HOST_SUBDIR)/gmp || exit 1; \
14332 case $(srcdir) in \
14333 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14334 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
14335 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14336 esac; \
14337 srcdiroption="--srcdir=$${topdir}/gmp"; \
14338 libsrcdir="$$s/gmp"; \
14339 $(SHELL) $${libsrcdir}/configure \
14340 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
14341 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
14342 --with-build-libsubdir=$(HOST_SUBDIR) \
14343 @stage2_werror_flag@ --disable-shared
14344 @endif gmp-bootstrap
14346 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
14347 maybe-configure-stageprofile-gmp:
14348 @if gmp-bootstrap
14349 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
14350 configure-stageprofile-gmp:
14351 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14352 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
14353 @r=`${PWD_COMMAND}`; export r; \
14354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14355 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
14356 $(HOST_EXPORTS) \
14357 $(POSTSTAGE1_HOST_EXPORTS) \
14358 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
14359 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
14360 cd $(HOST_SUBDIR)/gmp || exit 1; \
14361 case $(srcdir) in \
14362 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14363 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
14364 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14365 esac; \
14366 srcdiroption="--srcdir=$${topdir}/gmp"; \
14367 libsrcdir="$$s/gmp"; \
14368 $(SHELL) $${libsrcdir}/configure \
14369 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
14370 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
14371 --with-build-libsubdir=$(HOST_SUBDIR) \
14372 @stage2_werror_flag@ --disable-shared
14373 @endif gmp-bootstrap
14375 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
14376 maybe-configure-stagefeedback-gmp:
14377 @if gmp-bootstrap
14378 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
14379 configure-stagefeedback-gmp:
14380 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14381 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
14382 @r=`${PWD_COMMAND}`; export r; \
14383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14384 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
14385 $(HOST_EXPORTS) \
14386 $(POSTSTAGE1_HOST_EXPORTS) \
14387 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
14388 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
14389 cd $(HOST_SUBDIR)/gmp || exit 1; \
14390 case $(srcdir) in \
14391 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14392 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
14393 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14394 esac; \
14395 srcdiroption="--srcdir=$${topdir}/gmp"; \
14396 libsrcdir="$$s/gmp"; \
14397 $(SHELL) $${libsrcdir}/configure \
14398 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
14399 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
14400 --with-build-libsubdir=$(HOST_SUBDIR) \
14401 @stage2_werror_flag@ --disable-shared
14402 @endif gmp-bootstrap
14408 .PHONY: all-gmp maybe-all-gmp
14409 maybe-all-gmp:
14410 @if gcc-bootstrap
14411 all-gmp: stage_current
14412 @endif gcc-bootstrap
14413 @if gmp
14414 TARGET-gmp=all
14415 maybe-all-gmp: all-gmp
14416 all-gmp: configure-gmp
14417 @r=`${PWD_COMMAND}`; export r; \
14418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14419 $(HOST_EXPORTS) \
14420 (cd $(HOST_SUBDIR)/gmp && \
14421 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gmp))
14422 @endif gmp
14426 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
14427 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
14428 maybe-all-stage1-gmp:
14429 maybe-clean-stage1-gmp:
14430 @if gmp-bootstrap
14431 maybe-all-stage1-gmp: all-stage1-gmp
14432 all-stage1: all-stage1-gmp
14433 TARGET-stage1-gmp = $(TARGET-gmp)
14434 all-stage1-gmp: configure-stage1-gmp
14435 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14436 @r=`${PWD_COMMAND}`; export r; \
14437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14438 $(HOST_EXPORTS) \
14439 cd $(HOST_SUBDIR)/gmp && \
14440 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
14441 $(TARGET-stage1-gmp)
14443 maybe-clean-stage1-gmp: clean-stage1-gmp
14444 clean-stage1: clean-stage1-gmp
14445 clean-stage1-gmp:
14446 @if [ $(current_stage) = stage1 ]; then \
14447 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
14448 else \
14449 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
14450 $(MAKE) stage1-start; \
14451 fi; \
14452 cd $(HOST_SUBDIR)/gmp && \
14453 $(MAKE) $(FLAGS_TO_PASS) \
14454 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
14455 @endif gmp-bootstrap
14458 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
14459 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
14460 maybe-all-stage2-gmp:
14461 maybe-clean-stage2-gmp:
14462 @if gmp-bootstrap
14463 maybe-all-stage2-gmp: all-stage2-gmp
14464 all-stage2: all-stage2-gmp
14465 TARGET-stage2-gmp = $(TARGET-gmp)
14466 all-stage2-gmp: configure-stage2-gmp
14467 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14468 @r=`${PWD_COMMAND}`; export r; \
14469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14470 $(HOST_EXPORTS) \
14471 $(POSTSTAGE1_HOST_EXPORTS) \
14472 cd $(HOST_SUBDIR)/gmp && \
14473 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14474 $(TARGET-stage2-gmp)
14476 maybe-clean-stage2-gmp: clean-stage2-gmp
14477 clean-stage2: clean-stage2-gmp
14478 clean-stage2-gmp:
14479 @if [ $(current_stage) = stage2 ]; then \
14480 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
14481 else \
14482 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
14483 $(MAKE) stage2-start; \
14484 fi; \
14485 cd $(HOST_SUBDIR)/gmp && \
14486 $(MAKE) $(FLAGS_TO_PASS) \
14487 $(POSTSTAGE1_FLAGS_TO_PASS) \
14488 clean
14489 @endif gmp-bootstrap
14492 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
14493 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
14494 maybe-all-stage3-gmp:
14495 maybe-clean-stage3-gmp:
14496 @if gmp-bootstrap
14497 maybe-all-stage3-gmp: all-stage3-gmp
14498 all-stage3: all-stage3-gmp
14499 TARGET-stage3-gmp = $(TARGET-gmp)
14500 all-stage3-gmp: configure-stage3-gmp
14501 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14502 @r=`${PWD_COMMAND}`; export r; \
14503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14504 $(HOST_EXPORTS) \
14505 $(POSTSTAGE1_HOST_EXPORTS) \
14506 cd $(HOST_SUBDIR)/gmp && \
14507 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14508 $(TARGET-stage3-gmp)
14510 maybe-clean-stage3-gmp: clean-stage3-gmp
14511 clean-stage3: clean-stage3-gmp
14512 clean-stage3-gmp:
14513 @if [ $(current_stage) = stage3 ]; then \
14514 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
14515 else \
14516 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
14517 $(MAKE) stage3-start; \
14518 fi; \
14519 cd $(HOST_SUBDIR)/gmp && \
14520 $(MAKE) $(FLAGS_TO_PASS) \
14521 $(POSTSTAGE1_FLAGS_TO_PASS) \
14522 clean
14523 @endif gmp-bootstrap
14526 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
14527 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
14528 maybe-all-stage4-gmp:
14529 maybe-clean-stage4-gmp:
14530 @if gmp-bootstrap
14531 maybe-all-stage4-gmp: all-stage4-gmp
14532 all-stage4: all-stage4-gmp
14533 TARGET-stage4-gmp = $(TARGET-gmp)
14534 all-stage4-gmp: configure-stage4-gmp
14535 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14536 @r=`${PWD_COMMAND}`; export r; \
14537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14538 $(HOST_EXPORTS) \
14539 $(POSTSTAGE1_HOST_EXPORTS) \
14540 cd $(HOST_SUBDIR)/gmp && \
14541 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14542 $(TARGET-stage4-gmp)
14544 maybe-clean-stage4-gmp: clean-stage4-gmp
14545 clean-stage4: clean-stage4-gmp
14546 clean-stage4-gmp:
14547 @if [ $(current_stage) = stage4 ]; then \
14548 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
14549 else \
14550 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
14551 $(MAKE) stage4-start; \
14552 fi; \
14553 cd $(HOST_SUBDIR)/gmp && \
14554 $(MAKE) $(FLAGS_TO_PASS) \
14555 $(POSTSTAGE1_FLAGS_TO_PASS) \
14556 clean
14557 @endif gmp-bootstrap
14560 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
14561 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
14562 maybe-all-stageprofile-gmp:
14563 maybe-clean-stageprofile-gmp:
14564 @if gmp-bootstrap
14565 maybe-all-stageprofile-gmp: all-stageprofile-gmp
14566 all-stageprofile: all-stageprofile-gmp
14567 TARGET-stageprofile-gmp = $(TARGET-gmp)
14568 all-stageprofile-gmp: configure-stageprofile-gmp
14569 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14570 @r=`${PWD_COMMAND}`; export r; \
14571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14572 $(HOST_EXPORTS) \
14573 $(POSTSTAGE1_HOST_EXPORTS) \
14574 cd $(HOST_SUBDIR)/gmp && \
14575 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
14576 $(TARGET-stageprofile-gmp)
14578 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
14579 clean-stageprofile: clean-stageprofile-gmp
14580 clean-stageprofile-gmp:
14581 @if [ $(current_stage) = stageprofile ]; then \
14582 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
14583 else \
14584 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
14585 $(MAKE) stageprofile-start; \
14586 fi; \
14587 cd $(HOST_SUBDIR)/gmp && \
14588 $(MAKE) $(FLAGS_TO_PASS) \
14589 $(POSTSTAGE1_FLAGS_TO_PASS) \
14590 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
14591 @endif gmp-bootstrap
14594 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
14595 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
14596 maybe-all-stagefeedback-gmp:
14597 maybe-clean-stagefeedback-gmp:
14598 @if gmp-bootstrap
14599 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
14600 all-stagefeedback: all-stagefeedback-gmp
14601 TARGET-stagefeedback-gmp = $(TARGET-gmp)
14602 all-stagefeedback-gmp: configure-stagefeedback-gmp
14603 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14604 @r=`${PWD_COMMAND}`; export r; \
14605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14606 $(HOST_EXPORTS) \
14607 $(POSTSTAGE1_HOST_EXPORTS) \
14608 cd $(HOST_SUBDIR)/gmp && \
14609 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
14610 $(TARGET-stagefeedback-gmp)
14612 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
14613 clean-stagefeedback: clean-stagefeedback-gmp
14614 clean-stagefeedback-gmp:
14615 @if [ $(current_stage) = stagefeedback ]; then \
14616 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
14617 else \
14618 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
14619 $(MAKE) stagefeedback-start; \
14620 fi; \
14621 cd $(HOST_SUBDIR)/gmp && \
14622 $(MAKE) $(FLAGS_TO_PASS) \
14623 $(POSTSTAGE1_FLAGS_TO_PASS) \
14624 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
14625 @endif gmp-bootstrap
14631 .PHONY: check-gmp maybe-check-gmp
14632 maybe-check-gmp:
14633 @if gmp
14634 maybe-check-gmp: check-gmp
14636 check-gmp:
14637 @: $(MAKE); $(unstage)
14638 @r=`${PWD_COMMAND}`; export r; \
14639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14640 $(HOST_EXPORTS) \
14641 (cd $(HOST_SUBDIR)/gmp && \
14642 $(MAKE) $(FLAGS_TO_PASS) check)
14644 @endif gmp
14646 .PHONY: install-gmp maybe-install-gmp
14647 maybe-install-gmp:
14648 @if gmp
14649 maybe-install-gmp: install-gmp
14651 install-gmp:
14653 @endif gmp
14655 # Other targets (info, dvi, pdf, etc.)
14657 .PHONY: maybe-info-gmp info-gmp
14658 maybe-info-gmp:
14659 @if gmp
14660 maybe-info-gmp: info-gmp
14662 info-gmp: \
14663 configure-gmp
14664 @[ -f ./gmp/Makefile ] || exit 0; \
14665 r=`${PWD_COMMAND}`; export r; \
14666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14667 $(HOST_EXPORTS) \
14668 for flag in $(EXTRA_HOST_FLAGS) ; do \
14669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14670 done; \
14671 echo "Doing info in gmp" ; \
14672 (cd $(HOST_SUBDIR)/gmp && \
14673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14675 "RANLIB=$${RANLIB}" \
14676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14677 info) \
14678 || exit 1
14680 @endif gmp
14682 .PHONY: maybe-dvi-gmp dvi-gmp
14683 maybe-dvi-gmp:
14684 @if gmp
14685 maybe-dvi-gmp: dvi-gmp
14687 dvi-gmp: \
14688 configure-gmp
14689 @[ -f ./gmp/Makefile ] || exit 0; \
14690 r=`${PWD_COMMAND}`; export r; \
14691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14692 $(HOST_EXPORTS) \
14693 for flag in $(EXTRA_HOST_FLAGS) ; do \
14694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14695 done; \
14696 echo "Doing dvi in gmp" ; \
14697 (cd $(HOST_SUBDIR)/gmp && \
14698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14700 "RANLIB=$${RANLIB}" \
14701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14702 dvi) \
14703 || exit 1
14705 @endif gmp
14707 .PHONY: maybe-pdf-gmp pdf-gmp
14708 maybe-pdf-gmp:
14709 @if gmp
14710 maybe-pdf-gmp: pdf-gmp
14712 pdf-gmp: \
14713 configure-gmp
14714 @[ -f ./gmp/Makefile ] || exit 0; \
14715 r=`${PWD_COMMAND}`; export r; \
14716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14717 $(HOST_EXPORTS) \
14718 for flag in $(EXTRA_HOST_FLAGS) ; do \
14719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14720 done; \
14721 echo "Doing pdf in gmp" ; \
14722 (cd $(HOST_SUBDIR)/gmp && \
14723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14725 "RANLIB=$${RANLIB}" \
14726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14727 pdf) \
14728 || exit 1
14730 @endif gmp
14732 .PHONY: maybe-html-gmp html-gmp
14733 maybe-html-gmp:
14734 @if gmp
14735 maybe-html-gmp: html-gmp
14737 html-gmp: \
14738 configure-gmp
14739 @[ -f ./gmp/Makefile ] || exit 0; \
14740 r=`${PWD_COMMAND}`; export r; \
14741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14742 $(HOST_EXPORTS) \
14743 for flag in $(EXTRA_HOST_FLAGS) ; do \
14744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14745 done; \
14746 echo "Doing html in gmp" ; \
14747 (cd $(HOST_SUBDIR)/gmp && \
14748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14750 "RANLIB=$${RANLIB}" \
14751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14752 html) \
14753 || exit 1
14755 @endif gmp
14757 .PHONY: maybe-TAGS-gmp TAGS-gmp
14758 maybe-TAGS-gmp:
14759 @if gmp
14760 maybe-TAGS-gmp: TAGS-gmp
14762 TAGS-gmp: \
14763 configure-gmp
14764 @[ -f ./gmp/Makefile ] || exit 0; \
14765 r=`${PWD_COMMAND}`; export r; \
14766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14767 $(HOST_EXPORTS) \
14768 for flag in $(EXTRA_HOST_FLAGS) ; do \
14769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14770 done; \
14771 echo "Doing TAGS in gmp" ; \
14772 (cd $(HOST_SUBDIR)/gmp && \
14773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14775 "RANLIB=$${RANLIB}" \
14776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14777 TAGS) \
14778 || exit 1
14780 @endif gmp
14782 .PHONY: maybe-install-info-gmp install-info-gmp
14783 maybe-install-info-gmp:
14784 @if gmp
14785 maybe-install-info-gmp: install-info-gmp
14787 install-info-gmp: \
14788 configure-gmp \
14789 info-gmp
14790 @[ -f ./gmp/Makefile ] || exit 0; \
14791 r=`${PWD_COMMAND}`; export r; \
14792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14793 $(HOST_EXPORTS) \
14794 for flag in $(EXTRA_HOST_FLAGS) ; do \
14795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14796 done; \
14797 echo "Doing install-info in gmp" ; \
14798 (cd $(HOST_SUBDIR)/gmp && \
14799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14801 "RANLIB=$${RANLIB}" \
14802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14803 install-info) \
14804 || exit 1
14806 @endif gmp
14808 .PHONY: maybe-install-html-gmp install-html-gmp
14809 maybe-install-html-gmp:
14810 @if gmp
14811 maybe-install-html-gmp: install-html-gmp
14813 install-html-gmp: \
14814 configure-gmp \
14815 html-gmp
14816 @[ -f ./gmp/Makefile ] || exit 0; \
14817 r=`${PWD_COMMAND}`; export r; \
14818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14819 $(HOST_EXPORTS) \
14820 for flag in $(EXTRA_HOST_FLAGS) ; do \
14821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14822 done; \
14823 echo "Doing install-html in gmp" ; \
14824 (cd $(HOST_SUBDIR)/gmp && \
14825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14827 "RANLIB=$${RANLIB}" \
14828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14829 install-html) \
14830 || exit 1
14832 @endif gmp
14834 .PHONY: maybe-installcheck-gmp installcheck-gmp
14835 maybe-installcheck-gmp:
14836 @if gmp
14837 maybe-installcheck-gmp: installcheck-gmp
14839 installcheck-gmp: \
14840 configure-gmp
14841 @[ -f ./gmp/Makefile ] || exit 0; \
14842 r=`${PWD_COMMAND}`; export r; \
14843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14844 $(HOST_EXPORTS) \
14845 for flag in $(EXTRA_HOST_FLAGS) ; do \
14846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14847 done; \
14848 echo "Doing installcheck in gmp" ; \
14849 (cd $(HOST_SUBDIR)/gmp && \
14850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14852 "RANLIB=$${RANLIB}" \
14853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14854 installcheck) \
14855 || exit 1
14857 @endif gmp
14859 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
14860 maybe-mostlyclean-gmp:
14861 @if gmp
14862 maybe-mostlyclean-gmp: mostlyclean-gmp
14864 mostlyclean-gmp:
14865 @[ -f ./gmp/Makefile ] || exit 0; \
14866 r=`${PWD_COMMAND}`; export r; \
14867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14868 $(HOST_EXPORTS) \
14869 for flag in $(EXTRA_HOST_FLAGS) ; do \
14870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14871 done; \
14872 echo "Doing mostlyclean in gmp" ; \
14873 (cd $(HOST_SUBDIR)/gmp && \
14874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14876 "RANLIB=$${RANLIB}" \
14877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14878 mostlyclean) \
14879 || exit 1
14881 @endif gmp
14883 .PHONY: maybe-clean-gmp clean-gmp
14884 maybe-clean-gmp:
14885 @if gmp
14886 maybe-clean-gmp: clean-gmp
14888 clean-gmp:
14889 @[ -f ./gmp/Makefile ] || exit 0; \
14890 r=`${PWD_COMMAND}`; export r; \
14891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14892 $(HOST_EXPORTS) \
14893 for flag in $(EXTRA_HOST_FLAGS) ; do \
14894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14895 done; \
14896 echo "Doing clean in gmp" ; \
14897 (cd $(HOST_SUBDIR)/gmp && \
14898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14900 "RANLIB=$${RANLIB}" \
14901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14902 clean) \
14903 || exit 1
14905 @endif gmp
14907 .PHONY: maybe-distclean-gmp distclean-gmp
14908 maybe-distclean-gmp:
14909 @if gmp
14910 maybe-distclean-gmp: distclean-gmp
14912 distclean-gmp:
14913 @[ -f ./gmp/Makefile ] || exit 0; \
14914 r=`${PWD_COMMAND}`; export r; \
14915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14916 $(HOST_EXPORTS) \
14917 for flag in $(EXTRA_HOST_FLAGS) ; do \
14918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14919 done; \
14920 echo "Doing distclean in gmp" ; \
14921 (cd $(HOST_SUBDIR)/gmp && \
14922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14924 "RANLIB=$${RANLIB}" \
14925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14926 distclean) \
14927 || exit 1
14929 @endif gmp
14931 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
14932 maybe-maintainer-clean-gmp:
14933 @if gmp
14934 maybe-maintainer-clean-gmp: maintainer-clean-gmp
14936 maintainer-clean-gmp:
14937 @[ -f ./gmp/Makefile ] || exit 0; \
14938 r=`${PWD_COMMAND}`; export r; \
14939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14940 $(HOST_EXPORTS) \
14941 for flag in $(EXTRA_HOST_FLAGS) ; do \
14942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14943 done; \
14944 echo "Doing maintainer-clean in gmp" ; \
14945 (cd $(HOST_SUBDIR)/gmp && \
14946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14948 "RANLIB=$${RANLIB}" \
14949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14950 maintainer-clean) \
14951 || exit 1
14953 @endif gmp
14957 .PHONY: configure-mpfr maybe-configure-mpfr
14958 maybe-configure-mpfr:
14959 @if gcc-bootstrap
14960 configure-mpfr: stage_current
14961 @endif gcc-bootstrap
14962 @if mpfr
14963 maybe-configure-mpfr: configure-mpfr
14964 configure-mpfr:
14965 @r=`${PWD_COMMAND}`; export r; \
14966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14967 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14968 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
14969 $(HOST_EXPORTS) \
14970 echo Configuring in $(HOST_SUBDIR)/mpfr; \
14971 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
14972 case $(srcdir) in \
14973 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14974 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14975 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14976 esac; \
14977 srcdiroption="--srcdir=$${topdir}/mpfr"; \
14978 libsrcdir="$$s/mpfr"; \
14979 $(SHELL) $${libsrcdir}/configure \
14980 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
14981 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp \
14982 || exit 1
14983 @endif mpfr
14987 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
14988 maybe-configure-stage1-mpfr:
14989 @if mpfr-bootstrap
14990 maybe-configure-stage1-mpfr: configure-stage1-mpfr
14991 configure-stage1-mpfr:
14992 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14993 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14994 @r=`${PWD_COMMAND}`; export r; \
14995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14996 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14997 $(HOST_EXPORTS) \
14998 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
14999 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
15000 cd $(HOST_SUBDIR)/mpfr || exit 1; \
15001 case $(srcdir) in \
15002 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15003 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
15004 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15005 esac; \
15006 srcdiroption="--srcdir=$${topdir}/mpfr"; \
15007 libsrcdir="$$s/mpfr"; \
15008 $(SHELL) $${libsrcdir}/configure \
15009 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
15010 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
15012 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
15013 @endif mpfr-bootstrap
15015 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
15016 maybe-configure-stage2-mpfr:
15017 @if mpfr-bootstrap
15018 maybe-configure-stage2-mpfr: configure-stage2-mpfr
15019 configure-stage2-mpfr:
15020 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15021 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
15022 @r=`${PWD_COMMAND}`; export r; \
15023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15024 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
15025 $(HOST_EXPORTS) \
15026 $(POSTSTAGE1_HOST_EXPORTS) \
15027 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
15028 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
15029 cd $(HOST_SUBDIR)/mpfr || exit 1; \
15030 case $(srcdir) in \
15031 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15032 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
15033 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15034 esac; \
15035 srcdiroption="--srcdir=$${topdir}/mpfr"; \
15036 libsrcdir="$$s/mpfr"; \
15037 $(SHELL) $${libsrcdir}/configure \
15038 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
15039 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
15040 --with-build-libsubdir=$(HOST_SUBDIR) \
15041 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
15042 @endif mpfr-bootstrap
15044 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
15045 maybe-configure-stage3-mpfr:
15046 @if mpfr-bootstrap
15047 maybe-configure-stage3-mpfr: configure-stage3-mpfr
15048 configure-stage3-mpfr:
15049 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15050 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
15051 @r=`${PWD_COMMAND}`; export r; \
15052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15053 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
15054 $(HOST_EXPORTS) \
15055 $(POSTSTAGE1_HOST_EXPORTS) \
15056 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
15057 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
15058 cd $(HOST_SUBDIR)/mpfr || exit 1; \
15059 case $(srcdir) in \
15060 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15061 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
15062 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15063 esac; \
15064 srcdiroption="--srcdir=$${topdir}/mpfr"; \
15065 libsrcdir="$$s/mpfr"; \
15066 $(SHELL) $${libsrcdir}/configure \
15067 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
15068 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
15069 --with-build-libsubdir=$(HOST_SUBDIR) \
15070 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
15071 @endif mpfr-bootstrap
15073 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
15074 maybe-configure-stage4-mpfr:
15075 @if mpfr-bootstrap
15076 maybe-configure-stage4-mpfr: configure-stage4-mpfr
15077 configure-stage4-mpfr:
15078 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15079 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
15080 @r=`${PWD_COMMAND}`; export r; \
15081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15082 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
15083 $(HOST_EXPORTS) \
15084 $(POSTSTAGE1_HOST_EXPORTS) \
15085 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
15086 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
15087 cd $(HOST_SUBDIR)/mpfr || exit 1; \
15088 case $(srcdir) in \
15089 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15090 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
15091 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15092 esac; \
15093 srcdiroption="--srcdir=$${topdir}/mpfr"; \
15094 libsrcdir="$$s/mpfr"; \
15095 $(SHELL) $${libsrcdir}/configure \
15096 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
15097 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
15098 --with-build-libsubdir=$(HOST_SUBDIR) \
15099 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
15100 @endif mpfr-bootstrap
15102 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
15103 maybe-configure-stageprofile-mpfr:
15104 @if mpfr-bootstrap
15105 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
15106 configure-stageprofile-mpfr:
15107 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15108 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
15109 @r=`${PWD_COMMAND}`; export r; \
15110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15111 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
15112 $(HOST_EXPORTS) \
15113 $(POSTSTAGE1_HOST_EXPORTS) \
15114 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
15115 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
15116 cd $(HOST_SUBDIR)/mpfr || exit 1; \
15117 case $(srcdir) in \
15118 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15119 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
15120 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15121 esac; \
15122 srcdiroption="--srcdir=$${topdir}/mpfr"; \
15123 libsrcdir="$$s/mpfr"; \
15124 $(SHELL) $${libsrcdir}/configure \
15125 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
15126 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
15127 --with-build-libsubdir=$(HOST_SUBDIR) \
15128 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
15129 @endif mpfr-bootstrap
15131 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
15132 maybe-configure-stagefeedback-mpfr:
15133 @if mpfr-bootstrap
15134 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
15135 configure-stagefeedback-mpfr:
15136 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15137 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
15138 @r=`${PWD_COMMAND}`; export r; \
15139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15140 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
15141 $(HOST_EXPORTS) \
15142 $(POSTSTAGE1_HOST_EXPORTS) \
15143 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
15144 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
15145 cd $(HOST_SUBDIR)/mpfr || exit 1; \
15146 case $(srcdir) in \
15147 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15148 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
15149 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15150 esac; \
15151 srcdiroption="--srcdir=$${topdir}/mpfr"; \
15152 libsrcdir="$$s/mpfr"; \
15153 $(SHELL) $${libsrcdir}/configure \
15154 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
15155 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
15156 --with-build-libsubdir=$(HOST_SUBDIR) \
15157 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
15158 @endif mpfr-bootstrap
15164 .PHONY: all-mpfr maybe-all-mpfr
15165 maybe-all-mpfr:
15166 @if gcc-bootstrap
15167 all-mpfr: stage_current
15168 @endif gcc-bootstrap
15169 @if mpfr
15170 TARGET-mpfr=all
15171 maybe-all-mpfr: all-mpfr
15172 all-mpfr: configure-mpfr
15173 @r=`${PWD_COMMAND}`; export r; \
15174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15175 $(HOST_EXPORTS) \
15176 (cd $(HOST_SUBDIR)/mpfr && \
15177 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mpfr))
15178 @endif mpfr
15182 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
15183 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
15184 maybe-all-stage1-mpfr:
15185 maybe-clean-stage1-mpfr:
15186 @if mpfr-bootstrap
15187 maybe-all-stage1-mpfr: all-stage1-mpfr
15188 all-stage1: all-stage1-mpfr
15189 TARGET-stage1-mpfr = $(TARGET-mpfr)
15190 all-stage1-mpfr: configure-stage1-mpfr
15191 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15192 @r=`${PWD_COMMAND}`; export r; \
15193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15194 $(HOST_EXPORTS) \
15195 cd $(HOST_SUBDIR)/mpfr && \
15196 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
15197 $(TARGET-stage1-mpfr)
15199 maybe-clean-stage1-mpfr: clean-stage1-mpfr
15200 clean-stage1: clean-stage1-mpfr
15201 clean-stage1-mpfr:
15202 @if [ $(current_stage) = stage1 ]; then \
15203 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
15204 else \
15205 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
15206 $(MAKE) stage1-start; \
15207 fi; \
15208 cd $(HOST_SUBDIR)/mpfr && \
15209 $(MAKE) $(FLAGS_TO_PASS) \
15210 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
15211 @endif mpfr-bootstrap
15214 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
15215 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
15216 maybe-all-stage2-mpfr:
15217 maybe-clean-stage2-mpfr:
15218 @if mpfr-bootstrap
15219 maybe-all-stage2-mpfr: all-stage2-mpfr
15220 all-stage2: all-stage2-mpfr
15221 TARGET-stage2-mpfr = $(TARGET-mpfr)
15222 all-stage2-mpfr: configure-stage2-mpfr
15223 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15224 @r=`${PWD_COMMAND}`; export r; \
15225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15226 $(HOST_EXPORTS) \
15227 $(POSTSTAGE1_HOST_EXPORTS) \
15228 cd $(HOST_SUBDIR)/mpfr && \
15229 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15230 $(TARGET-stage2-mpfr)
15232 maybe-clean-stage2-mpfr: clean-stage2-mpfr
15233 clean-stage2: clean-stage2-mpfr
15234 clean-stage2-mpfr:
15235 @if [ $(current_stage) = stage2 ]; then \
15236 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
15237 else \
15238 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
15239 $(MAKE) stage2-start; \
15240 fi; \
15241 cd $(HOST_SUBDIR)/mpfr && \
15242 $(MAKE) $(FLAGS_TO_PASS) \
15243 $(POSTSTAGE1_FLAGS_TO_PASS) \
15244 clean
15245 @endif mpfr-bootstrap
15248 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
15249 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
15250 maybe-all-stage3-mpfr:
15251 maybe-clean-stage3-mpfr:
15252 @if mpfr-bootstrap
15253 maybe-all-stage3-mpfr: all-stage3-mpfr
15254 all-stage3: all-stage3-mpfr
15255 TARGET-stage3-mpfr = $(TARGET-mpfr)
15256 all-stage3-mpfr: configure-stage3-mpfr
15257 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15258 @r=`${PWD_COMMAND}`; export r; \
15259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15260 $(HOST_EXPORTS) \
15261 $(POSTSTAGE1_HOST_EXPORTS) \
15262 cd $(HOST_SUBDIR)/mpfr && \
15263 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15264 $(TARGET-stage3-mpfr)
15266 maybe-clean-stage3-mpfr: clean-stage3-mpfr
15267 clean-stage3: clean-stage3-mpfr
15268 clean-stage3-mpfr:
15269 @if [ $(current_stage) = stage3 ]; then \
15270 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
15271 else \
15272 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
15273 $(MAKE) stage3-start; \
15274 fi; \
15275 cd $(HOST_SUBDIR)/mpfr && \
15276 $(MAKE) $(FLAGS_TO_PASS) \
15277 $(POSTSTAGE1_FLAGS_TO_PASS) \
15278 clean
15279 @endif mpfr-bootstrap
15282 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
15283 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
15284 maybe-all-stage4-mpfr:
15285 maybe-clean-stage4-mpfr:
15286 @if mpfr-bootstrap
15287 maybe-all-stage4-mpfr: all-stage4-mpfr
15288 all-stage4: all-stage4-mpfr
15289 TARGET-stage4-mpfr = $(TARGET-mpfr)
15290 all-stage4-mpfr: configure-stage4-mpfr
15291 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15292 @r=`${PWD_COMMAND}`; export r; \
15293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15294 $(HOST_EXPORTS) \
15295 $(POSTSTAGE1_HOST_EXPORTS) \
15296 cd $(HOST_SUBDIR)/mpfr && \
15297 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15298 $(TARGET-stage4-mpfr)
15300 maybe-clean-stage4-mpfr: clean-stage4-mpfr
15301 clean-stage4: clean-stage4-mpfr
15302 clean-stage4-mpfr:
15303 @if [ $(current_stage) = stage4 ]; then \
15304 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
15305 else \
15306 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
15307 $(MAKE) stage4-start; \
15308 fi; \
15309 cd $(HOST_SUBDIR)/mpfr && \
15310 $(MAKE) $(FLAGS_TO_PASS) \
15311 $(POSTSTAGE1_FLAGS_TO_PASS) \
15312 clean
15313 @endif mpfr-bootstrap
15316 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
15317 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
15318 maybe-all-stageprofile-mpfr:
15319 maybe-clean-stageprofile-mpfr:
15320 @if mpfr-bootstrap
15321 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
15322 all-stageprofile: all-stageprofile-mpfr
15323 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
15324 all-stageprofile-mpfr: configure-stageprofile-mpfr
15325 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15326 @r=`${PWD_COMMAND}`; export r; \
15327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15328 $(HOST_EXPORTS) \
15329 $(POSTSTAGE1_HOST_EXPORTS) \
15330 cd $(HOST_SUBDIR)/mpfr && \
15331 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
15332 $(TARGET-stageprofile-mpfr)
15334 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
15335 clean-stageprofile: clean-stageprofile-mpfr
15336 clean-stageprofile-mpfr:
15337 @if [ $(current_stage) = stageprofile ]; then \
15338 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
15339 else \
15340 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
15341 $(MAKE) stageprofile-start; \
15342 fi; \
15343 cd $(HOST_SUBDIR)/mpfr && \
15344 $(MAKE) $(FLAGS_TO_PASS) \
15345 $(POSTSTAGE1_FLAGS_TO_PASS) \
15346 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15347 @endif mpfr-bootstrap
15350 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
15351 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
15352 maybe-all-stagefeedback-mpfr:
15353 maybe-clean-stagefeedback-mpfr:
15354 @if mpfr-bootstrap
15355 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
15356 all-stagefeedback: all-stagefeedback-mpfr
15357 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
15358 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
15359 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15360 @r=`${PWD_COMMAND}`; export r; \
15361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15362 $(HOST_EXPORTS) \
15363 $(POSTSTAGE1_HOST_EXPORTS) \
15364 cd $(HOST_SUBDIR)/mpfr && \
15365 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
15366 $(TARGET-stagefeedback-mpfr)
15368 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
15369 clean-stagefeedback: clean-stagefeedback-mpfr
15370 clean-stagefeedback-mpfr:
15371 @if [ $(current_stage) = stagefeedback ]; then \
15372 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
15373 else \
15374 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
15375 $(MAKE) stagefeedback-start; \
15376 fi; \
15377 cd $(HOST_SUBDIR)/mpfr && \
15378 $(MAKE) $(FLAGS_TO_PASS) \
15379 $(POSTSTAGE1_FLAGS_TO_PASS) \
15380 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15381 @endif mpfr-bootstrap
15387 .PHONY: check-mpfr maybe-check-mpfr
15388 maybe-check-mpfr:
15389 @if mpfr
15390 maybe-check-mpfr: check-mpfr
15392 check-mpfr:
15393 @: $(MAKE); $(unstage)
15394 @r=`${PWD_COMMAND}`; export r; \
15395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15396 $(HOST_EXPORTS) \
15397 (cd $(HOST_SUBDIR)/mpfr && \
15398 $(MAKE) $(FLAGS_TO_PASS) check)
15400 @endif mpfr
15402 .PHONY: install-mpfr maybe-install-mpfr
15403 maybe-install-mpfr:
15404 @if mpfr
15405 maybe-install-mpfr: install-mpfr
15407 install-mpfr:
15409 @endif mpfr
15411 # Other targets (info, dvi, pdf, etc.)
15413 .PHONY: maybe-info-mpfr info-mpfr
15414 maybe-info-mpfr:
15415 @if mpfr
15416 maybe-info-mpfr: info-mpfr
15418 info-mpfr: \
15419 configure-mpfr
15420 @[ -f ./mpfr/Makefile ] || exit 0; \
15421 r=`${PWD_COMMAND}`; export r; \
15422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15423 $(HOST_EXPORTS) \
15424 for flag in $(EXTRA_HOST_FLAGS) ; do \
15425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15426 done; \
15427 echo "Doing info in mpfr" ; \
15428 (cd $(HOST_SUBDIR)/mpfr && \
15429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15431 "RANLIB=$${RANLIB}" \
15432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15433 info) \
15434 || exit 1
15436 @endif mpfr
15438 .PHONY: maybe-dvi-mpfr dvi-mpfr
15439 maybe-dvi-mpfr:
15440 @if mpfr
15441 maybe-dvi-mpfr: dvi-mpfr
15443 dvi-mpfr: \
15444 configure-mpfr
15445 @[ -f ./mpfr/Makefile ] || exit 0; \
15446 r=`${PWD_COMMAND}`; export r; \
15447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15448 $(HOST_EXPORTS) \
15449 for flag in $(EXTRA_HOST_FLAGS) ; do \
15450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15451 done; \
15452 echo "Doing dvi in mpfr" ; \
15453 (cd $(HOST_SUBDIR)/mpfr && \
15454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15456 "RANLIB=$${RANLIB}" \
15457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15458 dvi) \
15459 || exit 1
15461 @endif mpfr
15463 .PHONY: maybe-pdf-mpfr pdf-mpfr
15464 maybe-pdf-mpfr:
15465 @if mpfr
15466 maybe-pdf-mpfr: pdf-mpfr
15468 pdf-mpfr: \
15469 configure-mpfr
15470 @[ -f ./mpfr/Makefile ] || exit 0; \
15471 r=`${PWD_COMMAND}`; export r; \
15472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15473 $(HOST_EXPORTS) \
15474 for flag in $(EXTRA_HOST_FLAGS) ; do \
15475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15476 done; \
15477 echo "Doing pdf in mpfr" ; \
15478 (cd $(HOST_SUBDIR)/mpfr && \
15479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15481 "RANLIB=$${RANLIB}" \
15482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15483 pdf) \
15484 || exit 1
15486 @endif mpfr
15488 .PHONY: maybe-html-mpfr html-mpfr
15489 maybe-html-mpfr:
15490 @if mpfr
15491 maybe-html-mpfr: html-mpfr
15493 html-mpfr: \
15494 configure-mpfr
15495 @[ -f ./mpfr/Makefile ] || exit 0; \
15496 r=`${PWD_COMMAND}`; export r; \
15497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15498 $(HOST_EXPORTS) \
15499 for flag in $(EXTRA_HOST_FLAGS) ; do \
15500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15501 done; \
15502 echo "Doing html in mpfr" ; \
15503 (cd $(HOST_SUBDIR)/mpfr && \
15504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15506 "RANLIB=$${RANLIB}" \
15507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15508 html) \
15509 || exit 1
15511 @endif mpfr
15513 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
15514 maybe-TAGS-mpfr:
15515 @if mpfr
15516 maybe-TAGS-mpfr: TAGS-mpfr
15518 TAGS-mpfr: \
15519 configure-mpfr
15520 @[ -f ./mpfr/Makefile ] || exit 0; \
15521 r=`${PWD_COMMAND}`; export r; \
15522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15523 $(HOST_EXPORTS) \
15524 for flag in $(EXTRA_HOST_FLAGS) ; do \
15525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15526 done; \
15527 echo "Doing TAGS in mpfr" ; \
15528 (cd $(HOST_SUBDIR)/mpfr && \
15529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15531 "RANLIB=$${RANLIB}" \
15532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15533 TAGS) \
15534 || exit 1
15536 @endif mpfr
15538 .PHONY: maybe-install-info-mpfr install-info-mpfr
15539 maybe-install-info-mpfr:
15540 @if mpfr
15541 maybe-install-info-mpfr: install-info-mpfr
15543 install-info-mpfr: \
15544 configure-mpfr \
15545 info-mpfr
15546 @[ -f ./mpfr/Makefile ] || exit 0; \
15547 r=`${PWD_COMMAND}`; export r; \
15548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15549 $(HOST_EXPORTS) \
15550 for flag in $(EXTRA_HOST_FLAGS) ; do \
15551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15552 done; \
15553 echo "Doing install-info in mpfr" ; \
15554 (cd $(HOST_SUBDIR)/mpfr && \
15555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15557 "RANLIB=$${RANLIB}" \
15558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15559 install-info) \
15560 || exit 1
15562 @endif mpfr
15564 .PHONY: maybe-install-html-mpfr install-html-mpfr
15565 maybe-install-html-mpfr:
15566 @if mpfr
15567 maybe-install-html-mpfr: install-html-mpfr
15569 install-html-mpfr: \
15570 configure-mpfr \
15571 html-mpfr
15572 @[ -f ./mpfr/Makefile ] || exit 0; \
15573 r=`${PWD_COMMAND}`; export r; \
15574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15575 $(HOST_EXPORTS) \
15576 for flag in $(EXTRA_HOST_FLAGS) ; do \
15577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15578 done; \
15579 echo "Doing install-html in mpfr" ; \
15580 (cd $(HOST_SUBDIR)/mpfr && \
15581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15583 "RANLIB=$${RANLIB}" \
15584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15585 install-html) \
15586 || exit 1
15588 @endif mpfr
15590 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
15591 maybe-installcheck-mpfr:
15592 @if mpfr
15593 maybe-installcheck-mpfr: installcheck-mpfr
15595 installcheck-mpfr: \
15596 configure-mpfr
15597 @[ -f ./mpfr/Makefile ] || exit 0; \
15598 r=`${PWD_COMMAND}`; export r; \
15599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15600 $(HOST_EXPORTS) \
15601 for flag in $(EXTRA_HOST_FLAGS) ; do \
15602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15603 done; \
15604 echo "Doing installcheck in mpfr" ; \
15605 (cd $(HOST_SUBDIR)/mpfr && \
15606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15608 "RANLIB=$${RANLIB}" \
15609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15610 installcheck) \
15611 || exit 1
15613 @endif mpfr
15615 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
15616 maybe-mostlyclean-mpfr:
15617 @if mpfr
15618 maybe-mostlyclean-mpfr: mostlyclean-mpfr
15620 mostlyclean-mpfr:
15621 @[ -f ./mpfr/Makefile ] || exit 0; \
15622 r=`${PWD_COMMAND}`; export r; \
15623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15624 $(HOST_EXPORTS) \
15625 for flag in $(EXTRA_HOST_FLAGS) ; do \
15626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15627 done; \
15628 echo "Doing mostlyclean in mpfr" ; \
15629 (cd $(HOST_SUBDIR)/mpfr && \
15630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15632 "RANLIB=$${RANLIB}" \
15633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15634 mostlyclean) \
15635 || exit 1
15637 @endif mpfr
15639 .PHONY: maybe-clean-mpfr clean-mpfr
15640 maybe-clean-mpfr:
15641 @if mpfr
15642 maybe-clean-mpfr: clean-mpfr
15644 clean-mpfr:
15645 @[ -f ./mpfr/Makefile ] || exit 0; \
15646 r=`${PWD_COMMAND}`; export r; \
15647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15648 $(HOST_EXPORTS) \
15649 for flag in $(EXTRA_HOST_FLAGS) ; do \
15650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15651 done; \
15652 echo "Doing clean in mpfr" ; \
15653 (cd $(HOST_SUBDIR)/mpfr && \
15654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15656 "RANLIB=$${RANLIB}" \
15657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15658 clean) \
15659 || exit 1
15661 @endif mpfr
15663 .PHONY: maybe-distclean-mpfr distclean-mpfr
15664 maybe-distclean-mpfr:
15665 @if mpfr
15666 maybe-distclean-mpfr: distclean-mpfr
15668 distclean-mpfr:
15669 @[ -f ./mpfr/Makefile ] || exit 0; \
15670 r=`${PWD_COMMAND}`; export r; \
15671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15672 $(HOST_EXPORTS) \
15673 for flag in $(EXTRA_HOST_FLAGS) ; do \
15674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15675 done; \
15676 echo "Doing distclean in mpfr" ; \
15677 (cd $(HOST_SUBDIR)/mpfr && \
15678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15680 "RANLIB=$${RANLIB}" \
15681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15682 distclean) \
15683 || exit 1
15685 @endif mpfr
15687 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
15688 maybe-maintainer-clean-mpfr:
15689 @if mpfr
15690 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
15692 maintainer-clean-mpfr:
15693 @[ -f ./mpfr/Makefile ] || exit 0; \
15694 r=`${PWD_COMMAND}`; export r; \
15695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15696 $(HOST_EXPORTS) \
15697 for flag in $(EXTRA_HOST_FLAGS) ; do \
15698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15699 done; \
15700 echo "Doing maintainer-clean in mpfr" ; \
15701 (cd $(HOST_SUBDIR)/mpfr && \
15702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15704 "RANLIB=$${RANLIB}" \
15705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15706 maintainer-clean) \
15707 || exit 1
15709 @endif mpfr
15713 .PHONY: configure-gnuserv maybe-configure-gnuserv
15714 maybe-configure-gnuserv:
15715 @if gcc-bootstrap
15716 configure-gnuserv: stage_current
15717 @endif gcc-bootstrap
15718 @if gnuserv
15719 maybe-configure-gnuserv: configure-gnuserv
15720 configure-gnuserv:
15721 @: $(MAKE); $(unstage)
15722 @r=`${PWD_COMMAND}`; export r; \
15723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15724 test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
15725 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
15726 $(HOST_EXPORTS) \
15727 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
15728 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
15729 case $(srcdir) in \
15730 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15731 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
15732 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15733 esac; \
15734 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
15735 libsrcdir="$$s/gnuserv"; \
15736 $(SHELL) $${libsrcdir}/configure \
15737 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15738 --target=${target_alias} $${srcdiroption} \
15739 || exit 1
15740 @endif gnuserv
15746 .PHONY: all-gnuserv maybe-all-gnuserv
15747 maybe-all-gnuserv:
15748 @if gcc-bootstrap
15749 all-gnuserv: stage_current
15750 @endif gcc-bootstrap
15751 @if gnuserv
15752 TARGET-gnuserv=all
15753 maybe-all-gnuserv: all-gnuserv
15754 all-gnuserv: configure-gnuserv
15755 @: $(MAKE); $(unstage)
15756 @r=`${PWD_COMMAND}`; export r; \
15757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15758 $(HOST_EXPORTS) \
15759 (cd $(HOST_SUBDIR)/gnuserv && \
15760 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
15761 @endif gnuserv
15766 .PHONY: check-gnuserv maybe-check-gnuserv
15767 maybe-check-gnuserv:
15768 @if gnuserv
15769 maybe-check-gnuserv: check-gnuserv
15771 check-gnuserv:
15772 @: $(MAKE); $(unstage)
15773 @r=`${PWD_COMMAND}`; export r; \
15774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15775 $(HOST_EXPORTS) \
15776 (cd $(HOST_SUBDIR)/gnuserv && \
15777 $(MAKE) $(FLAGS_TO_PASS) check)
15779 @endif gnuserv
15781 .PHONY: install-gnuserv maybe-install-gnuserv
15782 maybe-install-gnuserv:
15783 @if gnuserv
15784 maybe-install-gnuserv: install-gnuserv
15786 install-gnuserv: installdirs
15787 @: $(MAKE); $(unstage)
15788 @r=`${PWD_COMMAND}`; export r; \
15789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15790 $(HOST_EXPORTS) \
15791 (cd $(HOST_SUBDIR)/gnuserv && \
15792 $(MAKE) $(FLAGS_TO_PASS) install)
15794 @endif gnuserv
15796 # Other targets (info, dvi, pdf, etc.)
15798 .PHONY: maybe-info-gnuserv info-gnuserv
15799 maybe-info-gnuserv:
15800 @if gnuserv
15801 maybe-info-gnuserv: info-gnuserv
15803 info-gnuserv: \
15804 configure-gnuserv
15805 @: $(MAKE); $(unstage)
15806 @[ -f ./gnuserv/Makefile ] || exit 0; \
15807 r=`${PWD_COMMAND}`; export r; \
15808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15809 $(HOST_EXPORTS) \
15810 for flag in $(EXTRA_HOST_FLAGS) ; do \
15811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15812 done; \
15813 echo "Doing info in gnuserv" ; \
15814 (cd $(HOST_SUBDIR)/gnuserv && \
15815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15817 "RANLIB=$${RANLIB}" \
15818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15819 info) \
15820 || exit 1
15822 @endif gnuserv
15824 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
15825 maybe-dvi-gnuserv:
15826 @if gnuserv
15827 maybe-dvi-gnuserv: dvi-gnuserv
15829 dvi-gnuserv: \
15830 configure-gnuserv
15831 @: $(MAKE); $(unstage)
15832 @[ -f ./gnuserv/Makefile ] || exit 0; \
15833 r=`${PWD_COMMAND}`; export r; \
15834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15835 $(HOST_EXPORTS) \
15836 for flag in $(EXTRA_HOST_FLAGS) ; do \
15837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15838 done; \
15839 echo "Doing dvi in gnuserv" ; \
15840 (cd $(HOST_SUBDIR)/gnuserv && \
15841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15843 "RANLIB=$${RANLIB}" \
15844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15845 dvi) \
15846 || exit 1
15848 @endif gnuserv
15850 .PHONY: maybe-pdf-gnuserv pdf-gnuserv
15851 maybe-pdf-gnuserv:
15852 @if gnuserv
15853 maybe-pdf-gnuserv: pdf-gnuserv
15855 pdf-gnuserv: \
15856 configure-gnuserv
15857 @: $(MAKE); $(unstage)
15858 @[ -f ./gnuserv/Makefile ] || exit 0; \
15859 r=`${PWD_COMMAND}`; export r; \
15860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15861 $(HOST_EXPORTS) \
15862 for flag in $(EXTRA_HOST_FLAGS) ; do \
15863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15864 done; \
15865 echo "Doing pdf in gnuserv" ; \
15866 (cd $(HOST_SUBDIR)/gnuserv && \
15867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15869 "RANLIB=$${RANLIB}" \
15870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15871 pdf) \
15872 || exit 1
15874 @endif gnuserv
15876 .PHONY: maybe-html-gnuserv html-gnuserv
15877 maybe-html-gnuserv:
15878 @if gnuserv
15879 maybe-html-gnuserv: html-gnuserv
15881 html-gnuserv: \
15882 configure-gnuserv
15883 @: $(MAKE); $(unstage)
15884 @[ -f ./gnuserv/Makefile ] || exit 0; \
15885 r=`${PWD_COMMAND}`; export r; \
15886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15887 $(HOST_EXPORTS) \
15888 for flag in $(EXTRA_HOST_FLAGS) ; do \
15889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15890 done; \
15891 echo "Doing html in gnuserv" ; \
15892 (cd $(HOST_SUBDIR)/gnuserv && \
15893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15895 "RANLIB=$${RANLIB}" \
15896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15897 html) \
15898 || exit 1
15900 @endif gnuserv
15902 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
15903 maybe-TAGS-gnuserv:
15904 @if gnuserv
15905 maybe-TAGS-gnuserv: TAGS-gnuserv
15907 TAGS-gnuserv: \
15908 configure-gnuserv
15909 @: $(MAKE); $(unstage)
15910 @[ -f ./gnuserv/Makefile ] || exit 0; \
15911 r=`${PWD_COMMAND}`; export r; \
15912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15913 $(HOST_EXPORTS) \
15914 for flag in $(EXTRA_HOST_FLAGS) ; do \
15915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15916 done; \
15917 echo "Doing TAGS in gnuserv" ; \
15918 (cd $(HOST_SUBDIR)/gnuserv && \
15919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15921 "RANLIB=$${RANLIB}" \
15922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15923 TAGS) \
15924 || exit 1
15926 @endif gnuserv
15928 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
15929 maybe-install-info-gnuserv:
15930 @if gnuserv
15931 maybe-install-info-gnuserv: install-info-gnuserv
15933 install-info-gnuserv: \
15934 configure-gnuserv \
15935 info-gnuserv
15936 @: $(MAKE); $(unstage)
15937 @[ -f ./gnuserv/Makefile ] || exit 0; \
15938 r=`${PWD_COMMAND}`; export r; \
15939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15940 $(HOST_EXPORTS) \
15941 for flag in $(EXTRA_HOST_FLAGS) ; do \
15942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15943 done; \
15944 echo "Doing install-info in gnuserv" ; \
15945 (cd $(HOST_SUBDIR)/gnuserv && \
15946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15948 "RANLIB=$${RANLIB}" \
15949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15950 install-info) \
15951 || exit 1
15953 @endif gnuserv
15955 .PHONY: maybe-install-html-gnuserv install-html-gnuserv
15956 maybe-install-html-gnuserv:
15957 @if gnuserv
15958 maybe-install-html-gnuserv: install-html-gnuserv
15960 install-html-gnuserv: \
15961 configure-gnuserv \
15962 html-gnuserv
15963 @: $(MAKE); $(unstage)
15964 @[ -f ./gnuserv/Makefile ] || exit 0; \
15965 r=`${PWD_COMMAND}`; export r; \
15966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15967 $(HOST_EXPORTS) \
15968 for flag in $(EXTRA_HOST_FLAGS) ; do \
15969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15970 done; \
15971 echo "Doing install-html in gnuserv" ; \
15972 (cd $(HOST_SUBDIR)/gnuserv && \
15973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15975 "RANLIB=$${RANLIB}" \
15976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15977 install-html) \
15978 || exit 1
15980 @endif gnuserv
15982 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
15983 maybe-installcheck-gnuserv:
15984 @if gnuserv
15985 maybe-installcheck-gnuserv: installcheck-gnuserv
15987 installcheck-gnuserv: \
15988 configure-gnuserv
15989 @: $(MAKE); $(unstage)
15990 @[ -f ./gnuserv/Makefile ] || exit 0; \
15991 r=`${PWD_COMMAND}`; export r; \
15992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15993 $(HOST_EXPORTS) \
15994 for flag in $(EXTRA_HOST_FLAGS) ; do \
15995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15996 done; \
15997 echo "Doing installcheck in gnuserv" ; \
15998 (cd $(HOST_SUBDIR)/gnuserv && \
15999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16001 "RANLIB=$${RANLIB}" \
16002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16003 installcheck) \
16004 || exit 1
16006 @endif gnuserv
16008 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
16009 maybe-mostlyclean-gnuserv:
16010 @if gnuserv
16011 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
16013 mostlyclean-gnuserv:
16014 @: $(MAKE); $(unstage)
16015 @[ -f ./gnuserv/Makefile ] || exit 0; \
16016 r=`${PWD_COMMAND}`; export r; \
16017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16018 $(HOST_EXPORTS) \
16019 for flag in $(EXTRA_HOST_FLAGS) ; do \
16020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16021 done; \
16022 echo "Doing mostlyclean in gnuserv" ; \
16023 (cd $(HOST_SUBDIR)/gnuserv && \
16024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16026 "RANLIB=$${RANLIB}" \
16027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16028 mostlyclean) \
16029 || exit 1
16031 @endif gnuserv
16033 .PHONY: maybe-clean-gnuserv clean-gnuserv
16034 maybe-clean-gnuserv:
16035 @if gnuserv
16036 maybe-clean-gnuserv: clean-gnuserv
16038 clean-gnuserv:
16039 @: $(MAKE); $(unstage)
16040 @[ -f ./gnuserv/Makefile ] || exit 0; \
16041 r=`${PWD_COMMAND}`; export r; \
16042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16043 $(HOST_EXPORTS) \
16044 for flag in $(EXTRA_HOST_FLAGS) ; do \
16045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16046 done; \
16047 echo "Doing clean in gnuserv" ; \
16048 (cd $(HOST_SUBDIR)/gnuserv && \
16049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16051 "RANLIB=$${RANLIB}" \
16052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16053 clean) \
16054 || exit 1
16056 @endif gnuserv
16058 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
16059 maybe-distclean-gnuserv:
16060 @if gnuserv
16061 maybe-distclean-gnuserv: distclean-gnuserv
16063 distclean-gnuserv:
16064 @: $(MAKE); $(unstage)
16065 @[ -f ./gnuserv/Makefile ] || exit 0; \
16066 r=`${PWD_COMMAND}`; export r; \
16067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16068 $(HOST_EXPORTS) \
16069 for flag in $(EXTRA_HOST_FLAGS) ; do \
16070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16071 done; \
16072 echo "Doing distclean in gnuserv" ; \
16073 (cd $(HOST_SUBDIR)/gnuserv && \
16074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16076 "RANLIB=$${RANLIB}" \
16077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16078 distclean) \
16079 || exit 1
16081 @endif gnuserv
16083 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
16084 maybe-maintainer-clean-gnuserv:
16085 @if gnuserv
16086 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
16088 maintainer-clean-gnuserv:
16089 @: $(MAKE); $(unstage)
16090 @[ -f ./gnuserv/Makefile ] || exit 0; \
16091 r=`${PWD_COMMAND}`; export r; \
16092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16093 $(HOST_EXPORTS) \
16094 for flag in $(EXTRA_HOST_FLAGS) ; do \
16095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16096 done; \
16097 echo "Doing maintainer-clean in gnuserv" ; \
16098 (cd $(HOST_SUBDIR)/gnuserv && \
16099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16101 "RANLIB=$${RANLIB}" \
16102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16103 maintainer-clean) \
16104 || exit 1
16106 @endif gnuserv
16110 .PHONY: configure-gprof maybe-configure-gprof
16111 maybe-configure-gprof:
16112 @if gcc-bootstrap
16113 configure-gprof: stage_current
16114 @endif gcc-bootstrap
16115 @if gprof
16116 maybe-configure-gprof: configure-gprof
16117 configure-gprof:
16118 @: $(MAKE); $(unstage)
16119 @r=`${PWD_COMMAND}`; export r; \
16120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16121 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16122 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16123 $(HOST_EXPORTS) \
16124 echo Configuring in $(HOST_SUBDIR)/gprof; \
16125 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16126 case $(srcdir) in \
16127 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16128 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16129 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16130 esac; \
16131 srcdiroption="--srcdir=$${topdir}/gprof"; \
16132 libsrcdir="$$s/gprof"; \
16133 $(SHELL) $${libsrcdir}/configure \
16134 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16135 --target=${target_alias} $${srcdiroption} \
16136 || exit 1
16137 @endif gprof
16143 .PHONY: all-gprof maybe-all-gprof
16144 maybe-all-gprof:
16145 @if gcc-bootstrap
16146 all-gprof: stage_current
16147 @endif gcc-bootstrap
16148 @if gprof
16149 TARGET-gprof=all
16150 maybe-all-gprof: all-gprof
16151 all-gprof: configure-gprof
16152 @: $(MAKE); $(unstage)
16153 @r=`${PWD_COMMAND}`; export r; \
16154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16155 $(HOST_EXPORTS) \
16156 (cd $(HOST_SUBDIR)/gprof && \
16157 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
16158 @endif gprof
16163 .PHONY: check-gprof maybe-check-gprof
16164 maybe-check-gprof:
16165 @if gprof
16166 maybe-check-gprof: check-gprof
16168 check-gprof:
16169 @: $(MAKE); $(unstage)
16170 @r=`${PWD_COMMAND}`; export r; \
16171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16172 $(HOST_EXPORTS) \
16173 (cd $(HOST_SUBDIR)/gprof && \
16174 $(MAKE) $(FLAGS_TO_PASS) check)
16176 @endif gprof
16178 .PHONY: install-gprof maybe-install-gprof
16179 maybe-install-gprof:
16180 @if gprof
16181 maybe-install-gprof: install-gprof
16183 install-gprof: installdirs
16184 @: $(MAKE); $(unstage)
16185 @r=`${PWD_COMMAND}`; export r; \
16186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16187 $(HOST_EXPORTS) \
16188 (cd $(HOST_SUBDIR)/gprof && \
16189 $(MAKE) $(FLAGS_TO_PASS) install)
16191 @endif gprof
16193 # Other targets (info, dvi, pdf, etc.)
16195 .PHONY: maybe-info-gprof info-gprof
16196 maybe-info-gprof:
16197 @if gprof
16198 maybe-info-gprof: info-gprof
16200 info-gprof: \
16201 configure-gprof
16202 @: $(MAKE); $(unstage)
16203 @[ -f ./gprof/Makefile ] || exit 0; \
16204 r=`${PWD_COMMAND}`; export r; \
16205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16206 $(HOST_EXPORTS) \
16207 for flag in $(EXTRA_HOST_FLAGS) ; do \
16208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16209 done; \
16210 echo "Doing info in gprof" ; \
16211 (cd $(HOST_SUBDIR)/gprof && \
16212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16214 "RANLIB=$${RANLIB}" \
16215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16216 info) \
16217 || exit 1
16219 @endif gprof
16221 .PHONY: maybe-dvi-gprof dvi-gprof
16222 maybe-dvi-gprof:
16223 @if gprof
16224 maybe-dvi-gprof: dvi-gprof
16226 dvi-gprof: \
16227 configure-gprof
16228 @: $(MAKE); $(unstage)
16229 @[ -f ./gprof/Makefile ] || exit 0; \
16230 r=`${PWD_COMMAND}`; export r; \
16231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16232 $(HOST_EXPORTS) \
16233 for flag in $(EXTRA_HOST_FLAGS) ; do \
16234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16235 done; \
16236 echo "Doing dvi in gprof" ; \
16237 (cd $(HOST_SUBDIR)/gprof && \
16238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16240 "RANLIB=$${RANLIB}" \
16241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16242 dvi) \
16243 || exit 1
16245 @endif gprof
16247 .PHONY: maybe-pdf-gprof pdf-gprof
16248 maybe-pdf-gprof:
16249 @if gprof
16250 maybe-pdf-gprof: pdf-gprof
16252 pdf-gprof: \
16253 configure-gprof
16254 @: $(MAKE); $(unstage)
16255 @[ -f ./gprof/Makefile ] || exit 0; \
16256 r=`${PWD_COMMAND}`; export r; \
16257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16258 $(HOST_EXPORTS) \
16259 for flag in $(EXTRA_HOST_FLAGS) ; do \
16260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16261 done; \
16262 echo "Doing pdf in gprof" ; \
16263 (cd $(HOST_SUBDIR)/gprof && \
16264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16266 "RANLIB=$${RANLIB}" \
16267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16268 pdf) \
16269 || exit 1
16271 @endif gprof
16273 .PHONY: maybe-html-gprof html-gprof
16274 maybe-html-gprof:
16275 @if gprof
16276 maybe-html-gprof: html-gprof
16278 html-gprof: \
16279 configure-gprof
16280 @: $(MAKE); $(unstage)
16281 @[ -f ./gprof/Makefile ] || exit 0; \
16282 r=`${PWD_COMMAND}`; export r; \
16283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16284 $(HOST_EXPORTS) \
16285 for flag in $(EXTRA_HOST_FLAGS) ; do \
16286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16287 done; \
16288 echo "Doing html in gprof" ; \
16289 (cd $(HOST_SUBDIR)/gprof && \
16290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16292 "RANLIB=$${RANLIB}" \
16293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16294 html) \
16295 || exit 1
16297 @endif gprof
16299 .PHONY: maybe-TAGS-gprof TAGS-gprof
16300 maybe-TAGS-gprof:
16301 @if gprof
16302 maybe-TAGS-gprof: TAGS-gprof
16304 TAGS-gprof: \
16305 configure-gprof
16306 @: $(MAKE); $(unstage)
16307 @[ -f ./gprof/Makefile ] || exit 0; \
16308 r=`${PWD_COMMAND}`; export r; \
16309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16310 $(HOST_EXPORTS) \
16311 for flag in $(EXTRA_HOST_FLAGS) ; do \
16312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16313 done; \
16314 echo "Doing TAGS in gprof" ; \
16315 (cd $(HOST_SUBDIR)/gprof && \
16316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16318 "RANLIB=$${RANLIB}" \
16319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16320 TAGS) \
16321 || exit 1
16323 @endif gprof
16325 .PHONY: maybe-install-info-gprof install-info-gprof
16326 maybe-install-info-gprof:
16327 @if gprof
16328 maybe-install-info-gprof: install-info-gprof
16330 install-info-gprof: \
16331 configure-gprof \
16332 info-gprof
16333 @: $(MAKE); $(unstage)
16334 @[ -f ./gprof/Makefile ] || exit 0; \
16335 r=`${PWD_COMMAND}`; export r; \
16336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16337 $(HOST_EXPORTS) \
16338 for flag in $(EXTRA_HOST_FLAGS) ; do \
16339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16340 done; \
16341 echo "Doing install-info in gprof" ; \
16342 (cd $(HOST_SUBDIR)/gprof && \
16343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16345 "RANLIB=$${RANLIB}" \
16346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16347 install-info) \
16348 || exit 1
16350 @endif gprof
16352 .PHONY: maybe-install-html-gprof install-html-gprof
16353 maybe-install-html-gprof:
16354 @if gprof
16355 maybe-install-html-gprof: install-html-gprof
16357 install-html-gprof: \
16358 configure-gprof \
16359 html-gprof
16360 @: $(MAKE); $(unstage)
16361 @[ -f ./gprof/Makefile ] || exit 0; \
16362 r=`${PWD_COMMAND}`; export r; \
16363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16364 $(HOST_EXPORTS) \
16365 for flag in $(EXTRA_HOST_FLAGS) ; do \
16366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16367 done; \
16368 echo "Doing install-html in gprof" ; \
16369 (cd $(HOST_SUBDIR)/gprof && \
16370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16372 "RANLIB=$${RANLIB}" \
16373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16374 install-html) \
16375 || exit 1
16377 @endif gprof
16379 .PHONY: maybe-installcheck-gprof installcheck-gprof
16380 maybe-installcheck-gprof:
16381 @if gprof
16382 maybe-installcheck-gprof: installcheck-gprof
16384 installcheck-gprof: \
16385 configure-gprof
16386 @: $(MAKE); $(unstage)
16387 @[ -f ./gprof/Makefile ] || exit 0; \
16388 r=`${PWD_COMMAND}`; export r; \
16389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16390 $(HOST_EXPORTS) \
16391 for flag in $(EXTRA_HOST_FLAGS) ; do \
16392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16393 done; \
16394 echo "Doing installcheck in gprof" ; \
16395 (cd $(HOST_SUBDIR)/gprof && \
16396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16398 "RANLIB=$${RANLIB}" \
16399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16400 installcheck) \
16401 || exit 1
16403 @endif gprof
16405 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
16406 maybe-mostlyclean-gprof:
16407 @if gprof
16408 maybe-mostlyclean-gprof: mostlyclean-gprof
16410 mostlyclean-gprof:
16411 @: $(MAKE); $(unstage)
16412 @[ -f ./gprof/Makefile ] || exit 0; \
16413 r=`${PWD_COMMAND}`; export r; \
16414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16415 $(HOST_EXPORTS) \
16416 for flag in $(EXTRA_HOST_FLAGS) ; do \
16417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16418 done; \
16419 echo "Doing mostlyclean in gprof" ; \
16420 (cd $(HOST_SUBDIR)/gprof && \
16421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16423 "RANLIB=$${RANLIB}" \
16424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16425 mostlyclean) \
16426 || exit 1
16428 @endif gprof
16430 .PHONY: maybe-clean-gprof clean-gprof
16431 maybe-clean-gprof:
16432 @if gprof
16433 maybe-clean-gprof: clean-gprof
16435 clean-gprof:
16436 @: $(MAKE); $(unstage)
16437 @[ -f ./gprof/Makefile ] || exit 0; \
16438 r=`${PWD_COMMAND}`; export r; \
16439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16440 $(HOST_EXPORTS) \
16441 for flag in $(EXTRA_HOST_FLAGS) ; do \
16442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16443 done; \
16444 echo "Doing clean in gprof" ; \
16445 (cd $(HOST_SUBDIR)/gprof && \
16446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16448 "RANLIB=$${RANLIB}" \
16449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16450 clean) \
16451 || exit 1
16453 @endif gprof
16455 .PHONY: maybe-distclean-gprof distclean-gprof
16456 maybe-distclean-gprof:
16457 @if gprof
16458 maybe-distclean-gprof: distclean-gprof
16460 distclean-gprof:
16461 @: $(MAKE); $(unstage)
16462 @[ -f ./gprof/Makefile ] || exit 0; \
16463 r=`${PWD_COMMAND}`; export r; \
16464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16465 $(HOST_EXPORTS) \
16466 for flag in $(EXTRA_HOST_FLAGS) ; do \
16467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16468 done; \
16469 echo "Doing distclean in gprof" ; \
16470 (cd $(HOST_SUBDIR)/gprof && \
16471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16473 "RANLIB=$${RANLIB}" \
16474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16475 distclean) \
16476 || exit 1
16478 @endif gprof
16480 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16481 maybe-maintainer-clean-gprof:
16482 @if gprof
16483 maybe-maintainer-clean-gprof: maintainer-clean-gprof
16485 maintainer-clean-gprof:
16486 @: $(MAKE); $(unstage)
16487 @[ -f ./gprof/Makefile ] || exit 0; \
16488 r=`${PWD_COMMAND}`; export r; \
16489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16490 $(HOST_EXPORTS) \
16491 for flag in $(EXTRA_HOST_FLAGS) ; do \
16492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16493 done; \
16494 echo "Doing maintainer-clean in gprof" ; \
16495 (cd $(HOST_SUBDIR)/gprof && \
16496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16498 "RANLIB=$${RANLIB}" \
16499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16500 maintainer-clean) \
16501 || exit 1
16503 @endif gprof
16507 .PHONY: configure-gzip maybe-configure-gzip
16508 maybe-configure-gzip:
16509 @if gcc-bootstrap
16510 configure-gzip: stage_current
16511 @endif gcc-bootstrap
16512 @if gzip
16513 maybe-configure-gzip: configure-gzip
16514 configure-gzip:
16515 @: $(MAKE); $(unstage)
16516 @r=`${PWD_COMMAND}`; export r; \
16517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16518 test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
16519 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
16520 $(HOST_EXPORTS) \
16521 echo Configuring in $(HOST_SUBDIR)/gzip; \
16522 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
16523 case $(srcdir) in \
16524 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16525 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
16526 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16527 esac; \
16528 srcdiroption="--srcdir=$${topdir}/gzip"; \
16529 libsrcdir="$$s/gzip"; \
16530 $(SHELL) $${libsrcdir}/configure \
16531 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16532 --target=${target_alias} $${srcdiroption} \
16533 || exit 1
16534 @endif gzip
16540 .PHONY: all-gzip maybe-all-gzip
16541 maybe-all-gzip:
16542 @if gcc-bootstrap
16543 all-gzip: stage_current
16544 @endif gcc-bootstrap
16545 @if gzip
16546 TARGET-gzip=all
16547 maybe-all-gzip: all-gzip
16548 all-gzip: configure-gzip
16549 @: $(MAKE); $(unstage)
16550 @r=`${PWD_COMMAND}`; export r; \
16551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16552 $(HOST_EXPORTS) \
16553 (cd $(HOST_SUBDIR)/gzip && \
16554 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
16555 @endif gzip
16560 .PHONY: check-gzip maybe-check-gzip
16561 maybe-check-gzip:
16562 @if gzip
16563 maybe-check-gzip: check-gzip
16565 check-gzip:
16566 @: $(MAKE); $(unstage)
16567 @r=`${PWD_COMMAND}`; export r; \
16568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16569 $(HOST_EXPORTS) \
16570 (cd $(HOST_SUBDIR)/gzip && \
16571 $(MAKE) $(FLAGS_TO_PASS) check)
16573 @endif gzip
16575 .PHONY: install-gzip maybe-install-gzip
16576 maybe-install-gzip:
16577 @if gzip
16578 maybe-install-gzip: install-gzip
16580 install-gzip: installdirs
16581 @: $(MAKE); $(unstage)
16582 @r=`${PWD_COMMAND}`; export r; \
16583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16584 $(HOST_EXPORTS) \
16585 (cd $(HOST_SUBDIR)/gzip && \
16586 $(MAKE) $(FLAGS_TO_PASS) install)
16588 @endif gzip
16590 # Other targets (info, dvi, pdf, etc.)
16592 .PHONY: maybe-info-gzip info-gzip
16593 maybe-info-gzip:
16594 @if gzip
16595 maybe-info-gzip: info-gzip
16597 info-gzip: \
16598 configure-gzip
16599 @: $(MAKE); $(unstage)
16600 @[ -f ./gzip/Makefile ] || exit 0; \
16601 r=`${PWD_COMMAND}`; export r; \
16602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16603 $(HOST_EXPORTS) \
16604 for flag in $(EXTRA_HOST_FLAGS) ; do \
16605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16606 done; \
16607 echo "Doing info in gzip" ; \
16608 (cd $(HOST_SUBDIR)/gzip && \
16609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16611 "RANLIB=$${RANLIB}" \
16612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16613 info) \
16614 || exit 1
16616 @endif gzip
16618 .PHONY: maybe-dvi-gzip dvi-gzip
16619 maybe-dvi-gzip:
16620 @if gzip
16621 maybe-dvi-gzip: dvi-gzip
16623 dvi-gzip: \
16624 configure-gzip
16625 @: $(MAKE); $(unstage)
16626 @[ -f ./gzip/Makefile ] || exit 0; \
16627 r=`${PWD_COMMAND}`; export r; \
16628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16629 $(HOST_EXPORTS) \
16630 for flag in $(EXTRA_HOST_FLAGS) ; do \
16631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16632 done; \
16633 echo "Doing dvi in gzip" ; \
16634 (cd $(HOST_SUBDIR)/gzip && \
16635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16637 "RANLIB=$${RANLIB}" \
16638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16639 dvi) \
16640 || exit 1
16642 @endif gzip
16644 .PHONY: maybe-pdf-gzip pdf-gzip
16645 maybe-pdf-gzip:
16646 @if gzip
16647 maybe-pdf-gzip: pdf-gzip
16649 pdf-gzip: \
16650 configure-gzip
16651 @: $(MAKE); $(unstage)
16652 @[ -f ./gzip/Makefile ] || exit 0; \
16653 r=`${PWD_COMMAND}`; export r; \
16654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16655 $(HOST_EXPORTS) \
16656 for flag in $(EXTRA_HOST_FLAGS) ; do \
16657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16658 done; \
16659 echo "Doing pdf in gzip" ; \
16660 (cd $(HOST_SUBDIR)/gzip && \
16661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16663 "RANLIB=$${RANLIB}" \
16664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16665 pdf) \
16666 || exit 1
16668 @endif gzip
16670 .PHONY: maybe-html-gzip html-gzip
16671 maybe-html-gzip:
16672 @if gzip
16673 maybe-html-gzip: html-gzip
16675 html-gzip: \
16676 configure-gzip
16677 @: $(MAKE); $(unstage)
16678 @[ -f ./gzip/Makefile ] || exit 0; \
16679 r=`${PWD_COMMAND}`; export r; \
16680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16681 $(HOST_EXPORTS) \
16682 for flag in $(EXTRA_HOST_FLAGS) ; do \
16683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16684 done; \
16685 echo "Doing html in gzip" ; \
16686 (cd $(HOST_SUBDIR)/gzip && \
16687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16689 "RANLIB=$${RANLIB}" \
16690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16691 html) \
16692 || exit 1
16694 @endif gzip
16696 .PHONY: maybe-TAGS-gzip TAGS-gzip
16697 maybe-TAGS-gzip:
16698 @if gzip
16699 maybe-TAGS-gzip: TAGS-gzip
16701 TAGS-gzip: \
16702 configure-gzip
16703 @: $(MAKE); $(unstage)
16704 @[ -f ./gzip/Makefile ] || exit 0; \
16705 r=`${PWD_COMMAND}`; export r; \
16706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16707 $(HOST_EXPORTS) \
16708 for flag in $(EXTRA_HOST_FLAGS) ; do \
16709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16710 done; \
16711 echo "Doing TAGS in gzip" ; \
16712 (cd $(HOST_SUBDIR)/gzip && \
16713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16715 "RANLIB=$${RANLIB}" \
16716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16717 TAGS) \
16718 || exit 1
16720 @endif gzip
16722 .PHONY: maybe-install-info-gzip install-info-gzip
16723 maybe-install-info-gzip:
16724 @if gzip
16725 maybe-install-info-gzip: install-info-gzip
16727 install-info-gzip: \
16728 configure-gzip \
16729 info-gzip
16730 @: $(MAKE); $(unstage)
16731 @[ -f ./gzip/Makefile ] || exit 0; \
16732 r=`${PWD_COMMAND}`; export r; \
16733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16734 $(HOST_EXPORTS) \
16735 for flag in $(EXTRA_HOST_FLAGS) ; do \
16736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16737 done; \
16738 echo "Doing install-info in gzip" ; \
16739 (cd $(HOST_SUBDIR)/gzip && \
16740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16742 "RANLIB=$${RANLIB}" \
16743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16744 install-info) \
16745 || exit 1
16747 @endif gzip
16749 .PHONY: maybe-install-html-gzip install-html-gzip
16750 maybe-install-html-gzip:
16751 @if gzip
16752 maybe-install-html-gzip: install-html-gzip
16754 install-html-gzip: \
16755 configure-gzip \
16756 html-gzip
16757 @: $(MAKE); $(unstage)
16758 @[ -f ./gzip/Makefile ] || exit 0; \
16759 r=`${PWD_COMMAND}`; export r; \
16760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16761 $(HOST_EXPORTS) \
16762 for flag in $(EXTRA_HOST_FLAGS) ; do \
16763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16764 done; \
16765 echo "Doing install-html in gzip" ; \
16766 (cd $(HOST_SUBDIR)/gzip && \
16767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16769 "RANLIB=$${RANLIB}" \
16770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16771 install-html) \
16772 || exit 1
16774 @endif gzip
16776 .PHONY: maybe-installcheck-gzip installcheck-gzip
16777 maybe-installcheck-gzip:
16778 @if gzip
16779 maybe-installcheck-gzip: installcheck-gzip
16781 installcheck-gzip: \
16782 configure-gzip
16783 @: $(MAKE); $(unstage)
16784 @[ -f ./gzip/Makefile ] || exit 0; \
16785 r=`${PWD_COMMAND}`; export r; \
16786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16787 $(HOST_EXPORTS) \
16788 for flag in $(EXTRA_HOST_FLAGS) ; do \
16789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16790 done; \
16791 echo "Doing installcheck in gzip" ; \
16792 (cd $(HOST_SUBDIR)/gzip && \
16793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16795 "RANLIB=$${RANLIB}" \
16796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16797 installcheck) \
16798 || exit 1
16800 @endif gzip
16802 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
16803 maybe-mostlyclean-gzip:
16804 @if gzip
16805 maybe-mostlyclean-gzip: mostlyclean-gzip
16807 mostlyclean-gzip:
16808 @: $(MAKE); $(unstage)
16809 @[ -f ./gzip/Makefile ] || exit 0; \
16810 r=`${PWD_COMMAND}`; export r; \
16811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16812 $(HOST_EXPORTS) \
16813 for flag in $(EXTRA_HOST_FLAGS) ; do \
16814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16815 done; \
16816 echo "Doing mostlyclean in gzip" ; \
16817 (cd $(HOST_SUBDIR)/gzip && \
16818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16820 "RANLIB=$${RANLIB}" \
16821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16822 mostlyclean) \
16823 || exit 1
16825 @endif gzip
16827 .PHONY: maybe-clean-gzip clean-gzip
16828 maybe-clean-gzip:
16829 @if gzip
16830 maybe-clean-gzip: clean-gzip
16832 clean-gzip:
16833 @: $(MAKE); $(unstage)
16834 @[ -f ./gzip/Makefile ] || exit 0; \
16835 r=`${PWD_COMMAND}`; export r; \
16836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16837 $(HOST_EXPORTS) \
16838 for flag in $(EXTRA_HOST_FLAGS) ; do \
16839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16840 done; \
16841 echo "Doing clean in gzip" ; \
16842 (cd $(HOST_SUBDIR)/gzip && \
16843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16845 "RANLIB=$${RANLIB}" \
16846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16847 clean) \
16848 || exit 1
16850 @endif gzip
16852 .PHONY: maybe-distclean-gzip distclean-gzip
16853 maybe-distclean-gzip:
16854 @if gzip
16855 maybe-distclean-gzip: distclean-gzip
16857 distclean-gzip:
16858 @: $(MAKE); $(unstage)
16859 @[ -f ./gzip/Makefile ] || exit 0; \
16860 r=`${PWD_COMMAND}`; export r; \
16861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16862 $(HOST_EXPORTS) \
16863 for flag in $(EXTRA_HOST_FLAGS) ; do \
16864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16865 done; \
16866 echo "Doing distclean in gzip" ; \
16867 (cd $(HOST_SUBDIR)/gzip && \
16868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16870 "RANLIB=$${RANLIB}" \
16871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16872 distclean) \
16873 || exit 1
16875 @endif gzip
16877 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
16878 maybe-maintainer-clean-gzip:
16879 @if gzip
16880 maybe-maintainer-clean-gzip: maintainer-clean-gzip
16882 maintainer-clean-gzip:
16883 @: $(MAKE); $(unstage)
16884 @[ -f ./gzip/Makefile ] || exit 0; \
16885 r=`${PWD_COMMAND}`; export r; \
16886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16887 $(HOST_EXPORTS) \
16888 for flag in $(EXTRA_HOST_FLAGS) ; do \
16889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16890 done; \
16891 echo "Doing maintainer-clean in gzip" ; \
16892 (cd $(HOST_SUBDIR)/gzip && \
16893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16895 "RANLIB=$${RANLIB}" \
16896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16897 maintainer-clean) \
16898 || exit 1
16900 @endif gzip
16904 .PHONY: configure-hello maybe-configure-hello
16905 maybe-configure-hello:
16906 @if gcc-bootstrap
16907 configure-hello: stage_current
16908 @endif gcc-bootstrap
16909 @if hello
16910 maybe-configure-hello: configure-hello
16911 configure-hello:
16912 @: $(MAKE); $(unstage)
16913 @r=`${PWD_COMMAND}`; export r; \
16914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16915 test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
16916 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
16917 $(HOST_EXPORTS) \
16918 echo Configuring in $(HOST_SUBDIR)/hello; \
16919 cd "$(HOST_SUBDIR)/hello" || exit 1; \
16920 case $(srcdir) in \
16921 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16922 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
16923 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16924 esac; \
16925 srcdiroption="--srcdir=$${topdir}/hello"; \
16926 libsrcdir="$$s/hello"; \
16927 $(SHELL) $${libsrcdir}/configure \
16928 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16929 --target=${target_alias} $${srcdiroption} \
16930 || exit 1
16931 @endif hello
16937 .PHONY: all-hello maybe-all-hello
16938 maybe-all-hello:
16939 @if gcc-bootstrap
16940 all-hello: stage_current
16941 @endif gcc-bootstrap
16942 @if hello
16943 TARGET-hello=all
16944 maybe-all-hello: all-hello
16945 all-hello: configure-hello
16946 @: $(MAKE); $(unstage)
16947 @r=`${PWD_COMMAND}`; export r; \
16948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16949 $(HOST_EXPORTS) \
16950 (cd $(HOST_SUBDIR)/hello && \
16951 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
16952 @endif hello
16957 .PHONY: check-hello maybe-check-hello
16958 maybe-check-hello:
16959 @if hello
16960 maybe-check-hello: check-hello
16962 check-hello:
16963 @: $(MAKE); $(unstage)
16964 @r=`${PWD_COMMAND}`; export r; \
16965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16966 $(HOST_EXPORTS) \
16967 (cd $(HOST_SUBDIR)/hello && \
16968 $(MAKE) $(FLAGS_TO_PASS) check)
16970 @endif hello
16972 .PHONY: install-hello maybe-install-hello
16973 maybe-install-hello:
16974 @if hello
16975 maybe-install-hello: install-hello
16977 install-hello: installdirs
16978 @: $(MAKE); $(unstage)
16979 @r=`${PWD_COMMAND}`; export r; \
16980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16981 $(HOST_EXPORTS) \
16982 (cd $(HOST_SUBDIR)/hello && \
16983 $(MAKE) $(FLAGS_TO_PASS) install)
16985 @endif hello
16987 # Other targets (info, dvi, pdf, etc.)
16989 .PHONY: maybe-info-hello info-hello
16990 maybe-info-hello:
16991 @if hello
16992 maybe-info-hello: info-hello
16994 info-hello: \
16995 configure-hello
16996 @: $(MAKE); $(unstage)
16997 @[ -f ./hello/Makefile ] || exit 0; \
16998 r=`${PWD_COMMAND}`; export r; \
16999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17000 $(HOST_EXPORTS) \
17001 for flag in $(EXTRA_HOST_FLAGS) ; do \
17002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17003 done; \
17004 echo "Doing info in hello" ; \
17005 (cd $(HOST_SUBDIR)/hello && \
17006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17008 "RANLIB=$${RANLIB}" \
17009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17010 info) \
17011 || exit 1
17013 @endif hello
17015 .PHONY: maybe-dvi-hello dvi-hello
17016 maybe-dvi-hello:
17017 @if hello
17018 maybe-dvi-hello: dvi-hello
17020 dvi-hello: \
17021 configure-hello
17022 @: $(MAKE); $(unstage)
17023 @[ -f ./hello/Makefile ] || exit 0; \
17024 r=`${PWD_COMMAND}`; export r; \
17025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17026 $(HOST_EXPORTS) \
17027 for flag in $(EXTRA_HOST_FLAGS) ; do \
17028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17029 done; \
17030 echo "Doing dvi in hello" ; \
17031 (cd $(HOST_SUBDIR)/hello && \
17032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17034 "RANLIB=$${RANLIB}" \
17035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17036 dvi) \
17037 || exit 1
17039 @endif hello
17041 .PHONY: maybe-pdf-hello pdf-hello
17042 maybe-pdf-hello:
17043 @if hello
17044 maybe-pdf-hello: pdf-hello
17046 pdf-hello: \
17047 configure-hello
17048 @: $(MAKE); $(unstage)
17049 @[ -f ./hello/Makefile ] || exit 0; \
17050 r=`${PWD_COMMAND}`; export r; \
17051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17052 $(HOST_EXPORTS) \
17053 for flag in $(EXTRA_HOST_FLAGS) ; do \
17054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17055 done; \
17056 echo "Doing pdf in hello" ; \
17057 (cd $(HOST_SUBDIR)/hello && \
17058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17060 "RANLIB=$${RANLIB}" \
17061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17062 pdf) \
17063 || exit 1
17065 @endif hello
17067 .PHONY: maybe-html-hello html-hello
17068 maybe-html-hello:
17069 @if hello
17070 maybe-html-hello: html-hello
17072 html-hello: \
17073 configure-hello
17074 @: $(MAKE); $(unstage)
17075 @[ -f ./hello/Makefile ] || exit 0; \
17076 r=`${PWD_COMMAND}`; export r; \
17077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17078 $(HOST_EXPORTS) \
17079 for flag in $(EXTRA_HOST_FLAGS) ; do \
17080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17081 done; \
17082 echo "Doing html in hello" ; \
17083 (cd $(HOST_SUBDIR)/hello && \
17084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17086 "RANLIB=$${RANLIB}" \
17087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17088 html) \
17089 || exit 1
17091 @endif hello
17093 .PHONY: maybe-TAGS-hello TAGS-hello
17094 maybe-TAGS-hello:
17095 @if hello
17096 maybe-TAGS-hello: TAGS-hello
17098 TAGS-hello: \
17099 configure-hello
17100 @: $(MAKE); $(unstage)
17101 @[ -f ./hello/Makefile ] || exit 0; \
17102 r=`${PWD_COMMAND}`; export r; \
17103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17104 $(HOST_EXPORTS) \
17105 for flag in $(EXTRA_HOST_FLAGS) ; do \
17106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17107 done; \
17108 echo "Doing TAGS in hello" ; \
17109 (cd $(HOST_SUBDIR)/hello && \
17110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17112 "RANLIB=$${RANLIB}" \
17113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17114 TAGS) \
17115 || exit 1
17117 @endif hello
17119 .PHONY: maybe-install-info-hello install-info-hello
17120 maybe-install-info-hello:
17121 @if hello
17122 maybe-install-info-hello: install-info-hello
17124 install-info-hello: \
17125 configure-hello \
17126 info-hello
17127 @: $(MAKE); $(unstage)
17128 @[ -f ./hello/Makefile ] || exit 0; \
17129 r=`${PWD_COMMAND}`; export r; \
17130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17131 $(HOST_EXPORTS) \
17132 for flag in $(EXTRA_HOST_FLAGS) ; do \
17133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17134 done; \
17135 echo "Doing install-info in hello" ; \
17136 (cd $(HOST_SUBDIR)/hello && \
17137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17139 "RANLIB=$${RANLIB}" \
17140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17141 install-info) \
17142 || exit 1
17144 @endif hello
17146 .PHONY: maybe-install-html-hello install-html-hello
17147 maybe-install-html-hello:
17148 @if hello
17149 maybe-install-html-hello: install-html-hello
17151 install-html-hello: \
17152 configure-hello \
17153 html-hello
17154 @: $(MAKE); $(unstage)
17155 @[ -f ./hello/Makefile ] || exit 0; \
17156 r=`${PWD_COMMAND}`; export r; \
17157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17158 $(HOST_EXPORTS) \
17159 for flag in $(EXTRA_HOST_FLAGS) ; do \
17160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17161 done; \
17162 echo "Doing install-html in hello" ; \
17163 (cd $(HOST_SUBDIR)/hello && \
17164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17166 "RANLIB=$${RANLIB}" \
17167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17168 install-html) \
17169 || exit 1
17171 @endif hello
17173 .PHONY: maybe-installcheck-hello installcheck-hello
17174 maybe-installcheck-hello:
17175 @if hello
17176 maybe-installcheck-hello: installcheck-hello
17178 installcheck-hello: \
17179 configure-hello
17180 @: $(MAKE); $(unstage)
17181 @[ -f ./hello/Makefile ] || exit 0; \
17182 r=`${PWD_COMMAND}`; export r; \
17183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17184 $(HOST_EXPORTS) \
17185 for flag in $(EXTRA_HOST_FLAGS) ; do \
17186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17187 done; \
17188 echo "Doing installcheck in hello" ; \
17189 (cd $(HOST_SUBDIR)/hello && \
17190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17192 "RANLIB=$${RANLIB}" \
17193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17194 installcheck) \
17195 || exit 1
17197 @endif hello
17199 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
17200 maybe-mostlyclean-hello:
17201 @if hello
17202 maybe-mostlyclean-hello: mostlyclean-hello
17204 mostlyclean-hello:
17205 @: $(MAKE); $(unstage)
17206 @[ -f ./hello/Makefile ] || exit 0; \
17207 r=`${PWD_COMMAND}`; export r; \
17208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17209 $(HOST_EXPORTS) \
17210 for flag in $(EXTRA_HOST_FLAGS) ; do \
17211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17212 done; \
17213 echo "Doing mostlyclean in hello" ; \
17214 (cd $(HOST_SUBDIR)/hello && \
17215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17217 "RANLIB=$${RANLIB}" \
17218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17219 mostlyclean) \
17220 || exit 1
17222 @endif hello
17224 .PHONY: maybe-clean-hello clean-hello
17225 maybe-clean-hello:
17226 @if hello
17227 maybe-clean-hello: clean-hello
17229 clean-hello:
17230 @: $(MAKE); $(unstage)
17231 @[ -f ./hello/Makefile ] || exit 0; \
17232 r=`${PWD_COMMAND}`; export r; \
17233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17234 $(HOST_EXPORTS) \
17235 for flag in $(EXTRA_HOST_FLAGS) ; do \
17236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17237 done; \
17238 echo "Doing clean in hello" ; \
17239 (cd $(HOST_SUBDIR)/hello && \
17240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17242 "RANLIB=$${RANLIB}" \
17243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17244 clean) \
17245 || exit 1
17247 @endif hello
17249 .PHONY: maybe-distclean-hello distclean-hello
17250 maybe-distclean-hello:
17251 @if hello
17252 maybe-distclean-hello: distclean-hello
17254 distclean-hello:
17255 @: $(MAKE); $(unstage)
17256 @[ -f ./hello/Makefile ] || exit 0; \
17257 r=`${PWD_COMMAND}`; export r; \
17258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17259 $(HOST_EXPORTS) \
17260 for flag in $(EXTRA_HOST_FLAGS) ; do \
17261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17262 done; \
17263 echo "Doing distclean in hello" ; \
17264 (cd $(HOST_SUBDIR)/hello && \
17265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17267 "RANLIB=$${RANLIB}" \
17268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17269 distclean) \
17270 || exit 1
17272 @endif hello
17274 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
17275 maybe-maintainer-clean-hello:
17276 @if hello
17277 maybe-maintainer-clean-hello: maintainer-clean-hello
17279 maintainer-clean-hello:
17280 @: $(MAKE); $(unstage)
17281 @[ -f ./hello/Makefile ] || exit 0; \
17282 r=`${PWD_COMMAND}`; export r; \
17283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17284 $(HOST_EXPORTS) \
17285 for flag in $(EXTRA_HOST_FLAGS) ; do \
17286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17287 done; \
17288 echo "Doing maintainer-clean in hello" ; \
17289 (cd $(HOST_SUBDIR)/hello && \
17290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17292 "RANLIB=$${RANLIB}" \
17293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17294 maintainer-clean) \
17295 || exit 1
17297 @endif hello
17301 .PHONY: configure-indent maybe-configure-indent
17302 maybe-configure-indent:
17303 @if gcc-bootstrap
17304 configure-indent: stage_current
17305 @endif gcc-bootstrap
17306 @if indent
17307 maybe-configure-indent: configure-indent
17308 configure-indent:
17309 @: $(MAKE); $(unstage)
17310 @r=`${PWD_COMMAND}`; export r; \
17311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17312 test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
17313 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
17314 $(HOST_EXPORTS) \
17315 echo Configuring in $(HOST_SUBDIR)/indent; \
17316 cd "$(HOST_SUBDIR)/indent" || exit 1; \
17317 case $(srcdir) in \
17318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17319 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
17320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17321 esac; \
17322 srcdiroption="--srcdir=$${topdir}/indent"; \
17323 libsrcdir="$$s/indent"; \
17324 $(SHELL) $${libsrcdir}/configure \
17325 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17326 --target=${target_alias} $${srcdiroption} \
17327 || exit 1
17328 @endif indent
17334 .PHONY: all-indent maybe-all-indent
17335 maybe-all-indent:
17336 @if gcc-bootstrap
17337 all-indent: stage_current
17338 @endif gcc-bootstrap
17339 @if indent
17340 TARGET-indent=all
17341 maybe-all-indent: all-indent
17342 all-indent: configure-indent
17343 @: $(MAKE); $(unstage)
17344 @r=`${PWD_COMMAND}`; export r; \
17345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17346 $(HOST_EXPORTS) \
17347 (cd $(HOST_SUBDIR)/indent && \
17348 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
17349 @endif indent
17354 .PHONY: check-indent maybe-check-indent
17355 maybe-check-indent:
17356 @if indent
17357 maybe-check-indent: check-indent
17359 check-indent:
17360 @: $(MAKE); $(unstage)
17361 @r=`${PWD_COMMAND}`; export r; \
17362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17363 $(HOST_EXPORTS) \
17364 (cd $(HOST_SUBDIR)/indent && \
17365 $(MAKE) $(FLAGS_TO_PASS) check)
17367 @endif indent
17369 .PHONY: install-indent maybe-install-indent
17370 maybe-install-indent:
17371 @if indent
17372 maybe-install-indent: install-indent
17374 install-indent: installdirs
17375 @: $(MAKE); $(unstage)
17376 @r=`${PWD_COMMAND}`; export r; \
17377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17378 $(HOST_EXPORTS) \
17379 (cd $(HOST_SUBDIR)/indent && \
17380 $(MAKE) $(FLAGS_TO_PASS) install)
17382 @endif indent
17384 # Other targets (info, dvi, pdf, etc.)
17386 .PHONY: maybe-info-indent info-indent
17387 maybe-info-indent:
17388 @if indent
17389 maybe-info-indent: info-indent
17391 info-indent: \
17392 configure-indent
17393 @: $(MAKE); $(unstage)
17394 @[ -f ./indent/Makefile ] || exit 0; \
17395 r=`${PWD_COMMAND}`; export r; \
17396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17397 $(HOST_EXPORTS) \
17398 for flag in $(EXTRA_HOST_FLAGS) ; do \
17399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17400 done; \
17401 echo "Doing info in indent" ; \
17402 (cd $(HOST_SUBDIR)/indent && \
17403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17405 "RANLIB=$${RANLIB}" \
17406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17407 info) \
17408 || exit 1
17410 @endif indent
17412 .PHONY: maybe-dvi-indent dvi-indent
17413 maybe-dvi-indent:
17414 @if indent
17415 maybe-dvi-indent: dvi-indent
17417 dvi-indent: \
17418 configure-indent
17419 @: $(MAKE); $(unstage)
17420 @[ -f ./indent/Makefile ] || exit 0; \
17421 r=`${PWD_COMMAND}`; export r; \
17422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17423 $(HOST_EXPORTS) \
17424 for flag in $(EXTRA_HOST_FLAGS) ; do \
17425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17426 done; \
17427 echo "Doing dvi in indent" ; \
17428 (cd $(HOST_SUBDIR)/indent && \
17429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17431 "RANLIB=$${RANLIB}" \
17432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17433 dvi) \
17434 || exit 1
17436 @endif indent
17438 .PHONY: maybe-pdf-indent pdf-indent
17439 maybe-pdf-indent:
17440 @if indent
17441 maybe-pdf-indent: pdf-indent
17443 pdf-indent: \
17444 configure-indent
17445 @: $(MAKE); $(unstage)
17446 @[ -f ./indent/Makefile ] || exit 0; \
17447 r=`${PWD_COMMAND}`; export r; \
17448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17449 $(HOST_EXPORTS) \
17450 for flag in $(EXTRA_HOST_FLAGS) ; do \
17451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17452 done; \
17453 echo "Doing pdf in indent" ; \
17454 (cd $(HOST_SUBDIR)/indent && \
17455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17457 "RANLIB=$${RANLIB}" \
17458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17459 pdf) \
17460 || exit 1
17462 @endif indent
17464 .PHONY: maybe-html-indent html-indent
17465 maybe-html-indent:
17466 @if indent
17467 maybe-html-indent: html-indent
17469 html-indent: \
17470 configure-indent
17471 @: $(MAKE); $(unstage)
17472 @[ -f ./indent/Makefile ] || exit 0; \
17473 r=`${PWD_COMMAND}`; export r; \
17474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17475 $(HOST_EXPORTS) \
17476 for flag in $(EXTRA_HOST_FLAGS) ; do \
17477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17478 done; \
17479 echo "Doing html in indent" ; \
17480 (cd $(HOST_SUBDIR)/indent && \
17481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17483 "RANLIB=$${RANLIB}" \
17484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17485 html) \
17486 || exit 1
17488 @endif indent
17490 .PHONY: maybe-TAGS-indent TAGS-indent
17491 maybe-TAGS-indent:
17492 @if indent
17493 maybe-TAGS-indent: TAGS-indent
17495 TAGS-indent: \
17496 configure-indent
17497 @: $(MAKE); $(unstage)
17498 @[ -f ./indent/Makefile ] || exit 0; \
17499 r=`${PWD_COMMAND}`; export r; \
17500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17501 $(HOST_EXPORTS) \
17502 for flag in $(EXTRA_HOST_FLAGS) ; do \
17503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17504 done; \
17505 echo "Doing TAGS in indent" ; \
17506 (cd $(HOST_SUBDIR)/indent && \
17507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17509 "RANLIB=$${RANLIB}" \
17510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17511 TAGS) \
17512 || exit 1
17514 @endif indent
17516 .PHONY: maybe-install-info-indent install-info-indent
17517 maybe-install-info-indent:
17518 @if indent
17519 maybe-install-info-indent: install-info-indent
17521 install-info-indent: \
17522 configure-indent \
17523 info-indent
17524 @: $(MAKE); $(unstage)
17525 @[ -f ./indent/Makefile ] || exit 0; \
17526 r=`${PWD_COMMAND}`; export r; \
17527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17528 $(HOST_EXPORTS) \
17529 for flag in $(EXTRA_HOST_FLAGS) ; do \
17530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17531 done; \
17532 echo "Doing install-info in indent" ; \
17533 (cd $(HOST_SUBDIR)/indent && \
17534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17536 "RANLIB=$${RANLIB}" \
17537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17538 install-info) \
17539 || exit 1
17541 @endif indent
17543 .PHONY: maybe-install-html-indent install-html-indent
17544 maybe-install-html-indent:
17545 @if indent
17546 maybe-install-html-indent: install-html-indent
17548 install-html-indent: \
17549 configure-indent \
17550 html-indent
17551 @: $(MAKE); $(unstage)
17552 @[ -f ./indent/Makefile ] || exit 0; \
17553 r=`${PWD_COMMAND}`; export r; \
17554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17555 $(HOST_EXPORTS) \
17556 for flag in $(EXTRA_HOST_FLAGS) ; do \
17557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17558 done; \
17559 echo "Doing install-html in indent" ; \
17560 (cd $(HOST_SUBDIR)/indent && \
17561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17563 "RANLIB=$${RANLIB}" \
17564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17565 install-html) \
17566 || exit 1
17568 @endif indent
17570 .PHONY: maybe-installcheck-indent installcheck-indent
17571 maybe-installcheck-indent:
17572 @if indent
17573 maybe-installcheck-indent: installcheck-indent
17575 installcheck-indent: \
17576 configure-indent
17577 @: $(MAKE); $(unstage)
17578 @[ -f ./indent/Makefile ] || exit 0; \
17579 r=`${PWD_COMMAND}`; export r; \
17580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17581 $(HOST_EXPORTS) \
17582 for flag in $(EXTRA_HOST_FLAGS) ; do \
17583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17584 done; \
17585 echo "Doing installcheck in indent" ; \
17586 (cd $(HOST_SUBDIR)/indent && \
17587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17589 "RANLIB=$${RANLIB}" \
17590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17591 installcheck) \
17592 || exit 1
17594 @endif indent
17596 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
17597 maybe-mostlyclean-indent:
17598 @if indent
17599 maybe-mostlyclean-indent: mostlyclean-indent
17601 mostlyclean-indent:
17602 @: $(MAKE); $(unstage)
17603 @[ -f ./indent/Makefile ] || exit 0; \
17604 r=`${PWD_COMMAND}`; export r; \
17605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17606 $(HOST_EXPORTS) \
17607 for flag in $(EXTRA_HOST_FLAGS) ; do \
17608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17609 done; \
17610 echo "Doing mostlyclean in indent" ; \
17611 (cd $(HOST_SUBDIR)/indent && \
17612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17614 "RANLIB=$${RANLIB}" \
17615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17616 mostlyclean) \
17617 || exit 1
17619 @endif indent
17621 .PHONY: maybe-clean-indent clean-indent
17622 maybe-clean-indent:
17623 @if indent
17624 maybe-clean-indent: clean-indent
17626 clean-indent:
17627 @: $(MAKE); $(unstage)
17628 @[ -f ./indent/Makefile ] || exit 0; \
17629 r=`${PWD_COMMAND}`; export r; \
17630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17631 $(HOST_EXPORTS) \
17632 for flag in $(EXTRA_HOST_FLAGS) ; do \
17633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17634 done; \
17635 echo "Doing clean in indent" ; \
17636 (cd $(HOST_SUBDIR)/indent && \
17637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17639 "RANLIB=$${RANLIB}" \
17640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17641 clean) \
17642 || exit 1
17644 @endif indent
17646 .PHONY: maybe-distclean-indent distclean-indent
17647 maybe-distclean-indent:
17648 @if indent
17649 maybe-distclean-indent: distclean-indent
17651 distclean-indent:
17652 @: $(MAKE); $(unstage)
17653 @[ -f ./indent/Makefile ] || exit 0; \
17654 r=`${PWD_COMMAND}`; export r; \
17655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17656 $(HOST_EXPORTS) \
17657 for flag in $(EXTRA_HOST_FLAGS) ; do \
17658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17659 done; \
17660 echo "Doing distclean in indent" ; \
17661 (cd $(HOST_SUBDIR)/indent && \
17662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17664 "RANLIB=$${RANLIB}" \
17665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17666 distclean) \
17667 || exit 1
17669 @endif indent
17671 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
17672 maybe-maintainer-clean-indent:
17673 @if indent
17674 maybe-maintainer-clean-indent: maintainer-clean-indent
17676 maintainer-clean-indent:
17677 @: $(MAKE); $(unstage)
17678 @[ -f ./indent/Makefile ] || exit 0; \
17679 r=`${PWD_COMMAND}`; export r; \
17680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17681 $(HOST_EXPORTS) \
17682 for flag in $(EXTRA_HOST_FLAGS) ; do \
17683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17684 done; \
17685 echo "Doing maintainer-clean in indent" ; \
17686 (cd $(HOST_SUBDIR)/indent && \
17687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17689 "RANLIB=$${RANLIB}" \
17690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17691 maintainer-clean) \
17692 || exit 1
17694 @endif indent
17698 .PHONY: configure-intl maybe-configure-intl
17699 maybe-configure-intl:
17700 @if gcc-bootstrap
17701 configure-intl: stage_current
17702 @endif gcc-bootstrap
17703 @if intl
17704 maybe-configure-intl: configure-intl
17705 configure-intl:
17706 @r=`${PWD_COMMAND}`; export r; \
17707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17708 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17709 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17710 $(HOST_EXPORTS) \
17711 echo Configuring in $(HOST_SUBDIR)/intl; \
17712 cd "$(HOST_SUBDIR)/intl" || exit 1; \
17713 case $(srcdir) in \
17714 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17715 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17716 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17717 esac; \
17718 srcdiroption="--srcdir=$${topdir}/intl"; \
17719 libsrcdir="$$s/intl"; \
17720 $(SHELL) $${libsrcdir}/configure \
17721 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17722 --target=${target_alias} $${srcdiroption} \
17723 || exit 1
17724 @endif intl
17728 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
17729 maybe-configure-stage1-intl:
17730 @if intl-bootstrap
17731 maybe-configure-stage1-intl: configure-stage1-intl
17732 configure-stage1-intl:
17733 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17734 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17735 @r=`${PWD_COMMAND}`; export r; \
17736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17737 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17738 $(HOST_EXPORTS) \
17739 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
17740 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17741 cd $(HOST_SUBDIR)/intl || exit 1; \
17742 case $(srcdir) in \
17743 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17744 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17745 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17746 esac; \
17747 srcdiroption="--srcdir=$${topdir}/intl"; \
17748 libsrcdir="$$s/intl"; \
17749 $(SHELL) $${libsrcdir}/configure \
17750 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17751 --target=${target_alias} $${srcdiroption} \
17753 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17754 @endif intl-bootstrap
17756 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
17757 maybe-configure-stage2-intl:
17758 @if intl-bootstrap
17759 maybe-configure-stage2-intl: configure-stage2-intl
17760 configure-stage2-intl:
17761 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17762 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17763 @r=`${PWD_COMMAND}`; export r; \
17764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17765 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17766 $(HOST_EXPORTS) \
17767 $(POSTSTAGE1_HOST_EXPORTS) \
17768 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
17769 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17770 cd $(HOST_SUBDIR)/intl || exit 1; \
17771 case $(srcdir) in \
17772 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17773 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17774 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17775 esac; \
17776 srcdiroption="--srcdir=$${topdir}/intl"; \
17777 libsrcdir="$$s/intl"; \
17778 $(SHELL) $${libsrcdir}/configure \
17779 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17780 --target=${target_alias} $${srcdiroption} \
17781 --with-build-libsubdir=$(HOST_SUBDIR) \
17782 @stage2_werror_flag@
17783 @endif intl-bootstrap
17785 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
17786 maybe-configure-stage3-intl:
17787 @if intl-bootstrap
17788 maybe-configure-stage3-intl: configure-stage3-intl
17789 configure-stage3-intl:
17790 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17791 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17792 @r=`${PWD_COMMAND}`; export r; \
17793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17794 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17795 $(HOST_EXPORTS) \
17796 $(POSTSTAGE1_HOST_EXPORTS) \
17797 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
17798 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17799 cd $(HOST_SUBDIR)/intl || exit 1; \
17800 case $(srcdir) in \
17801 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17802 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17803 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17804 esac; \
17805 srcdiroption="--srcdir=$${topdir}/intl"; \
17806 libsrcdir="$$s/intl"; \
17807 $(SHELL) $${libsrcdir}/configure \
17808 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17809 --target=${target_alias} $${srcdiroption} \
17810 --with-build-libsubdir=$(HOST_SUBDIR) \
17811 @stage2_werror_flag@
17812 @endif intl-bootstrap
17814 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
17815 maybe-configure-stage4-intl:
17816 @if intl-bootstrap
17817 maybe-configure-stage4-intl: configure-stage4-intl
17818 configure-stage4-intl:
17819 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17820 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17821 @r=`${PWD_COMMAND}`; export r; \
17822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17823 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17824 $(HOST_EXPORTS) \
17825 $(POSTSTAGE1_HOST_EXPORTS) \
17826 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
17827 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17828 cd $(HOST_SUBDIR)/intl || exit 1; \
17829 case $(srcdir) in \
17830 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17831 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17832 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17833 esac; \
17834 srcdiroption="--srcdir=$${topdir}/intl"; \
17835 libsrcdir="$$s/intl"; \
17836 $(SHELL) $${libsrcdir}/configure \
17837 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17838 --target=${target_alias} $${srcdiroption} \
17839 --with-build-libsubdir=$(HOST_SUBDIR) \
17840 @stage2_werror_flag@
17841 @endif intl-bootstrap
17843 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
17844 maybe-configure-stageprofile-intl:
17845 @if intl-bootstrap
17846 maybe-configure-stageprofile-intl: configure-stageprofile-intl
17847 configure-stageprofile-intl:
17848 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17849 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17850 @r=`${PWD_COMMAND}`; export r; \
17851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17852 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17853 $(HOST_EXPORTS) \
17854 $(POSTSTAGE1_HOST_EXPORTS) \
17855 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
17856 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17857 cd $(HOST_SUBDIR)/intl || exit 1; \
17858 case $(srcdir) in \
17859 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17860 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17861 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17862 esac; \
17863 srcdiroption="--srcdir=$${topdir}/intl"; \
17864 libsrcdir="$$s/intl"; \
17865 $(SHELL) $${libsrcdir}/configure \
17866 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17867 --target=${target_alias} $${srcdiroption} \
17868 --with-build-libsubdir=$(HOST_SUBDIR) \
17869 @stage2_werror_flag@
17870 @endif intl-bootstrap
17872 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
17873 maybe-configure-stagefeedback-intl:
17874 @if intl-bootstrap
17875 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
17876 configure-stagefeedback-intl:
17877 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17878 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17879 @r=`${PWD_COMMAND}`; export r; \
17880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17881 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17882 $(HOST_EXPORTS) \
17883 $(POSTSTAGE1_HOST_EXPORTS) \
17884 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
17885 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17886 cd $(HOST_SUBDIR)/intl || exit 1; \
17887 case $(srcdir) in \
17888 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17889 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17890 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17891 esac; \
17892 srcdiroption="--srcdir=$${topdir}/intl"; \
17893 libsrcdir="$$s/intl"; \
17894 $(SHELL) $${libsrcdir}/configure \
17895 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17896 --target=${target_alias} $${srcdiroption} \
17897 --with-build-libsubdir=$(HOST_SUBDIR) \
17898 @stage2_werror_flag@
17899 @endif intl-bootstrap
17905 .PHONY: all-intl maybe-all-intl
17906 maybe-all-intl:
17907 @if gcc-bootstrap
17908 all-intl: stage_current
17909 @endif gcc-bootstrap
17910 @if intl
17911 TARGET-intl=all
17912 maybe-all-intl: all-intl
17913 all-intl: configure-intl
17914 @r=`${PWD_COMMAND}`; export r; \
17915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17916 $(HOST_EXPORTS) \
17917 (cd $(HOST_SUBDIR)/intl && \
17918 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
17919 @endif intl
17923 .PHONY: all-stage1-intl maybe-all-stage1-intl
17924 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
17925 maybe-all-stage1-intl:
17926 maybe-clean-stage1-intl:
17927 @if intl-bootstrap
17928 maybe-all-stage1-intl: all-stage1-intl
17929 all-stage1: all-stage1-intl
17930 TARGET-stage1-intl = $(TARGET-intl)
17931 all-stage1-intl: configure-stage1-intl
17932 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17933 @r=`${PWD_COMMAND}`; export r; \
17934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17935 $(HOST_EXPORTS) \
17936 cd $(HOST_SUBDIR)/intl && \
17937 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
17938 $(TARGET-stage1-intl)
17940 maybe-clean-stage1-intl: clean-stage1-intl
17941 clean-stage1: clean-stage1-intl
17942 clean-stage1-intl:
17943 @if [ $(current_stage) = stage1 ]; then \
17944 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17945 else \
17946 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
17947 $(MAKE) stage1-start; \
17948 fi; \
17949 cd $(HOST_SUBDIR)/intl && \
17950 $(MAKE) $(FLAGS_TO_PASS) \
17951 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
17952 @endif intl-bootstrap
17955 .PHONY: all-stage2-intl maybe-all-stage2-intl
17956 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
17957 maybe-all-stage2-intl:
17958 maybe-clean-stage2-intl:
17959 @if intl-bootstrap
17960 maybe-all-stage2-intl: all-stage2-intl
17961 all-stage2: all-stage2-intl
17962 TARGET-stage2-intl = $(TARGET-intl)
17963 all-stage2-intl: configure-stage2-intl
17964 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17965 @r=`${PWD_COMMAND}`; export r; \
17966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17967 $(HOST_EXPORTS) \
17968 $(POSTSTAGE1_HOST_EXPORTS) \
17969 cd $(HOST_SUBDIR)/intl && \
17970 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17971 $(TARGET-stage2-intl)
17973 maybe-clean-stage2-intl: clean-stage2-intl
17974 clean-stage2: clean-stage2-intl
17975 clean-stage2-intl:
17976 @if [ $(current_stage) = stage2 ]; then \
17977 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17978 else \
17979 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
17980 $(MAKE) stage2-start; \
17981 fi; \
17982 cd $(HOST_SUBDIR)/intl && \
17983 $(MAKE) $(FLAGS_TO_PASS) \
17984 $(POSTSTAGE1_FLAGS_TO_PASS) \
17985 clean
17986 @endif intl-bootstrap
17989 .PHONY: all-stage3-intl maybe-all-stage3-intl
17990 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
17991 maybe-all-stage3-intl:
17992 maybe-clean-stage3-intl:
17993 @if intl-bootstrap
17994 maybe-all-stage3-intl: all-stage3-intl
17995 all-stage3: all-stage3-intl
17996 TARGET-stage3-intl = $(TARGET-intl)
17997 all-stage3-intl: configure-stage3-intl
17998 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17999 @r=`${PWD_COMMAND}`; export r; \
18000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18001 $(HOST_EXPORTS) \
18002 $(POSTSTAGE1_HOST_EXPORTS) \
18003 cd $(HOST_SUBDIR)/intl && \
18004 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18005 $(TARGET-stage3-intl)
18007 maybe-clean-stage3-intl: clean-stage3-intl
18008 clean-stage3: clean-stage3-intl
18009 clean-stage3-intl:
18010 @if [ $(current_stage) = stage3 ]; then \
18011 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
18012 else \
18013 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
18014 $(MAKE) stage3-start; \
18015 fi; \
18016 cd $(HOST_SUBDIR)/intl && \
18017 $(MAKE) $(FLAGS_TO_PASS) \
18018 $(POSTSTAGE1_FLAGS_TO_PASS) \
18019 clean
18020 @endif intl-bootstrap
18023 .PHONY: all-stage4-intl maybe-all-stage4-intl
18024 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
18025 maybe-all-stage4-intl:
18026 maybe-clean-stage4-intl:
18027 @if intl-bootstrap
18028 maybe-all-stage4-intl: all-stage4-intl
18029 all-stage4: all-stage4-intl
18030 TARGET-stage4-intl = $(TARGET-intl)
18031 all-stage4-intl: configure-stage4-intl
18032 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18033 @r=`${PWD_COMMAND}`; export r; \
18034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18035 $(HOST_EXPORTS) \
18036 $(POSTSTAGE1_HOST_EXPORTS) \
18037 cd $(HOST_SUBDIR)/intl && \
18038 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18039 $(TARGET-stage4-intl)
18041 maybe-clean-stage4-intl: clean-stage4-intl
18042 clean-stage4: clean-stage4-intl
18043 clean-stage4-intl:
18044 @if [ $(current_stage) = stage4 ]; then \
18045 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
18046 else \
18047 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
18048 $(MAKE) stage4-start; \
18049 fi; \
18050 cd $(HOST_SUBDIR)/intl && \
18051 $(MAKE) $(FLAGS_TO_PASS) \
18052 $(POSTSTAGE1_FLAGS_TO_PASS) \
18053 clean
18054 @endif intl-bootstrap
18057 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
18058 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
18059 maybe-all-stageprofile-intl:
18060 maybe-clean-stageprofile-intl:
18061 @if intl-bootstrap
18062 maybe-all-stageprofile-intl: all-stageprofile-intl
18063 all-stageprofile: all-stageprofile-intl
18064 TARGET-stageprofile-intl = $(TARGET-intl)
18065 all-stageprofile-intl: configure-stageprofile-intl
18066 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18067 @r=`${PWD_COMMAND}`; export r; \
18068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18069 $(HOST_EXPORTS) \
18070 $(POSTSTAGE1_HOST_EXPORTS) \
18071 cd $(HOST_SUBDIR)/intl && \
18072 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
18073 $(TARGET-stageprofile-intl)
18075 maybe-clean-stageprofile-intl: clean-stageprofile-intl
18076 clean-stageprofile: clean-stageprofile-intl
18077 clean-stageprofile-intl:
18078 @if [ $(current_stage) = stageprofile ]; then \
18079 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
18080 else \
18081 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
18082 $(MAKE) stageprofile-start; \
18083 fi; \
18084 cd $(HOST_SUBDIR)/intl && \
18085 $(MAKE) $(FLAGS_TO_PASS) \
18086 $(POSTSTAGE1_FLAGS_TO_PASS) \
18087 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
18088 @endif intl-bootstrap
18091 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
18092 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
18093 maybe-all-stagefeedback-intl:
18094 maybe-clean-stagefeedback-intl:
18095 @if intl-bootstrap
18096 maybe-all-stagefeedback-intl: all-stagefeedback-intl
18097 all-stagefeedback: all-stagefeedback-intl
18098 TARGET-stagefeedback-intl = $(TARGET-intl)
18099 all-stagefeedback-intl: configure-stagefeedback-intl
18100 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18101 @r=`${PWD_COMMAND}`; export r; \
18102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18103 $(HOST_EXPORTS) \
18104 $(POSTSTAGE1_HOST_EXPORTS) \
18105 cd $(HOST_SUBDIR)/intl && \
18106 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
18107 $(TARGET-stagefeedback-intl)
18109 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
18110 clean-stagefeedback: clean-stagefeedback-intl
18111 clean-stagefeedback-intl:
18112 @if [ $(current_stage) = stagefeedback ]; then \
18113 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
18114 else \
18115 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
18116 $(MAKE) stagefeedback-start; \
18117 fi; \
18118 cd $(HOST_SUBDIR)/intl && \
18119 $(MAKE) $(FLAGS_TO_PASS) \
18120 $(POSTSTAGE1_FLAGS_TO_PASS) \
18121 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
18122 @endif intl-bootstrap
18128 .PHONY: check-intl maybe-check-intl
18129 maybe-check-intl:
18130 @if intl
18131 maybe-check-intl: check-intl
18133 check-intl:
18134 @: $(MAKE); $(unstage)
18135 @r=`${PWD_COMMAND}`; export r; \
18136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18137 $(HOST_EXPORTS) \
18138 (cd $(HOST_SUBDIR)/intl && \
18139 $(MAKE) $(FLAGS_TO_PASS) check)
18141 @endif intl
18143 .PHONY: install-intl maybe-install-intl
18144 maybe-install-intl:
18145 @if intl
18146 maybe-install-intl: install-intl
18148 install-intl: installdirs
18149 @: $(MAKE); $(unstage)
18150 @r=`${PWD_COMMAND}`; export r; \
18151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18152 $(HOST_EXPORTS) \
18153 (cd $(HOST_SUBDIR)/intl && \
18154 $(MAKE) $(FLAGS_TO_PASS) install)
18156 @endif intl
18158 # Other targets (info, dvi, pdf, etc.)
18160 .PHONY: maybe-info-intl info-intl
18161 maybe-info-intl:
18162 @if intl
18163 maybe-info-intl: info-intl
18165 info-intl: \
18166 configure-intl
18167 @[ -f ./intl/Makefile ] || exit 0; \
18168 r=`${PWD_COMMAND}`; export r; \
18169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18170 $(HOST_EXPORTS) \
18171 for flag in $(EXTRA_HOST_FLAGS) ; do \
18172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18173 done; \
18174 echo "Doing info in intl" ; \
18175 (cd $(HOST_SUBDIR)/intl && \
18176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18178 "RANLIB=$${RANLIB}" \
18179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18180 info) \
18181 || exit 1
18183 @endif intl
18185 .PHONY: maybe-dvi-intl dvi-intl
18186 maybe-dvi-intl:
18187 @if intl
18188 maybe-dvi-intl: dvi-intl
18190 dvi-intl: \
18191 configure-intl
18192 @[ -f ./intl/Makefile ] || exit 0; \
18193 r=`${PWD_COMMAND}`; export r; \
18194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18195 $(HOST_EXPORTS) \
18196 for flag in $(EXTRA_HOST_FLAGS) ; do \
18197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18198 done; \
18199 echo "Doing dvi in intl" ; \
18200 (cd $(HOST_SUBDIR)/intl && \
18201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18203 "RANLIB=$${RANLIB}" \
18204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18205 dvi) \
18206 || exit 1
18208 @endif intl
18210 .PHONY: maybe-pdf-intl pdf-intl
18211 maybe-pdf-intl:
18212 @if intl
18213 maybe-pdf-intl: pdf-intl
18215 pdf-intl: \
18216 configure-intl
18217 @[ -f ./intl/Makefile ] || exit 0; \
18218 r=`${PWD_COMMAND}`; export r; \
18219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18220 $(HOST_EXPORTS) \
18221 for flag in $(EXTRA_HOST_FLAGS) ; do \
18222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18223 done; \
18224 echo "Doing pdf in intl" ; \
18225 (cd $(HOST_SUBDIR)/intl && \
18226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18228 "RANLIB=$${RANLIB}" \
18229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18230 pdf) \
18231 || exit 1
18233 @endif intl
18235 .PHONY: maybe-html-intl html-intl
18236 maybe-html-intl:
18237 @if intl
18238 maybe-html-intl: html-intl
18240 html-intl: \
18241 configure-intl
18242 @[ -f ./intl/Makefile ] || exit 0; \
18243 r=`${PWD_COMMAND}`; export r; \
18244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18245 $(HOST_EXPORTS) \
18246 for flag in $(EXTRA_HOST_FLAGS) ; do \
18247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18248 done; \
18249 echo "Doing html in intl" ; \
18250 (cd $(HOST_SUBDIR)/intl && \
18251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18253 "RANLIB=$${RANLIB}" \
18254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18255 html) \
18256 || exit 1
18258 @endif intl
18260 .PHONY: maybe-TAGS-intl TAGS-intl
18261 maybe-TAGS-intl:
18262 @if intl
18263 maybe-TAGS-intl: TAGS-intl
18265 TAGS-intl: \
18266 configure-intl
18267 @[ -f ./intl/Makefile ] || exit 0; \
18268 r=`${PWD_COMMAND}`; export r; \
18269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18270 $(HOST_EXPORTS) \
18271 for flag in $(EXTRA_HOST_FLAGS) ; do \
18272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18273 done; \
18274 echo "Doing TAGS in intl" ; \
18275 (cd $(HOST_SUBDIR)/intl && \
18276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18278 "RANLIB=$${RANLIB}" \
18279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18280 TAGS) \
18281 || exit 1
18283 @endif intl
18285 .PHONY: maybe-install-info-intl install-info-intl
18286 maybe-install-info-intl:
18287 @if intl
18288 maybe-install-info-intl: install-info-intl
18290 install-info-intl: \
18291 configure-intl \
18292 info-intl
18293 @[ -f ./intl/Makefile ] || exit 0; \
18294 r=`${PWD_COMMAND}`; export r; \
18295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18296 $(HOST_EXPORTS) \
18297 for flag in $(EXTRA_HOST_FLAGS) ; do \
18298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18299 done; \
18300 echo "Doing install-info in intl" ; \
18301 (cd $(HOST_SUBDIR)/intl && \
18302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18304 "RANLIB=$${RANLIB}" \
18305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18306 install-info) \
18307 || exit 1
18309 @endif intl
18311 .PHONY: maybe-install-html-intl install-html-intl
18312 maybe-install-html-intl:
18313 @if intl
18314 maybe-install-html-intl: install-html-intl
18316 install-html-intl: \
18317 configure-intl \
18318 html-intl
18319 @[ -f ./intl/Makefile ] || exit 0; \
18320 r=`${PWD_COMMAND}`; export r; \
18321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18322 $(HOST_EXPORTS) \
18323 for flag in $(EXTRA_HOST_FLAGS) ; do \
18324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18325 done; \
18326 echo "Doing install-html in intl" ; \
18327 (cd $(HOST_SUBDIR)/intl && \
18328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18330 "RANLIB=$${RANLIB}" \
18331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18332 install-html) \
18333 || exit 1
18335 @endif intl
18337 .PHONY: maybe-installcheck-intl installcheck-intl
18338 maybe-installcheck-intl:
18339 @if intl
18340 maybe-installcheck-intl: installcheck-intl
18342 installcheck-intl: \
18343 configure-intl
18344 @[ -f ./intl/Makefile ] || exit 0; \
18345 r=`${PWD_COMMAND}`; export r; \
18346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18347 $(HOST_EXPORTS) \
18348 for flag in $(EXTRA_HOST_FLAGS) ; do \
18349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18350 done; \
18351 echo "Doing installcheck in intl" ; \
18352 (cd $(HOST_SUBDIR)/intl && \
18353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18355 "RANLIB=$${RANLIB}" \
18356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18357 installcheck) \
18358 || exit 1
18360 @endif intl
18362 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
18363 maybe-mostlyclean-intl:
18364 @if intl
18365 maybe-mostlyclean-intl: mostlyclean-intl
18367 mostlyclean-intl:
18368 @[ -f ./intl/Makefile ] || exit 0; \
18369 r=`${PWD_COMMAND}`; export r; \
18370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18371 $(HOST_EXPORTS) \
18372 for flag in $(EXTRA_HOST_FLAGS) ; do \
18373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18374 done; \
18375 echo "Doing mostlyclean in intl" ; \
18376 (cd $(HOST_SUBDIR)/intl && \
18377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18379 "RANLIB=$${RANLIB}" \
18380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18381 mostlyclean) \
18382 || exit 1
18384 @endif intl
18386 .PHONY: maybe-clean-intl clean-intl
18387 maybe-clean-intl:
18388 @if intl
18389 maybe-clean-intl: clean-intl
18391 clean-intl:
18392 @[ -f ./intl/Makefile ] || exit 0; \
18393 r=`${PWD_COMMAND}`; export r; \
18394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18395 $(HOST_EXPORTS) \
18396 for flag in $(EXTRA_HOST_FLAGS) ; do \
18397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18398 done; \
18399 echo "Doing clean in intl" ; \
18400 (cd $(HOST_SUBDIR)/intl && \
18401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18403 "RANLIB=$${RANLIB}" \
18404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18405 clean) \
18406 || exit 1
18408 @endif intl
18410 .PHONY: maybe-distclean-intl distclean-intl
18411 maybe-distclean-intl:
18412 @if intl
18413 maybe-distclean-intl: distclean-intl
18415 distclean-intl:
18416 @[ -f ./intl/Makefile ] || exit 0; \
18417 r=`${PWD_COMMAND}`; export r; \
18418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18419 $(HOST_EXPORTS) \
18420 for flag in $(EXTRA_HOST_FLAGS) ; do \
18421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18422 done; \
18423 echo "Doing distclean in intl" ; \
18424 (cd $(HOST_SUBDIR)/intl && \
18425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18427 "RANLIB=$${RANLIB}" \
18428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18429 distclean) \
18430 || exit 1
18432 @endif intl
18434 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
18435 maybe-maintainer-clean-intl:
18436 @if intl
18437 maybe-maintainer-clean-intl: maintainer-clean-intl
18439 maintainer-clean-intl:
18440 @[ -f ./intl/Makefile ] || exit 0; \
18441 r=`${PWD_COMMAND}`; export r; \
18442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18443 $(HOST_EXPORTS) \
18444 for flag in $(EXTRA_HOST_FLAGS) ; do \
18445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18446 done; \
18447 echo "Doing maintainer-clean in intl" ; \
18448 (cd $(HOST_SUBDIR)/intl && \
18449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18451 "RANLIB=$${RANLIB}" \
18452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18453 maintainer-clean) \
18454 || exit 1
18456 @endif intl
18460 .PHONY: configure-tcl maybe-configure-tcl
18461 maybe-configure-tcl:
18462 @if gcc-bootstrap
18463 configure-tcl: stage_current
18464 @endif gcc-bootstrap
18465 @if tcl
18466 maybe-configure-tcl: configure-tcl
18467 configure-tcl:
18468 @: $(MAKE); $(unstage)
18469 @r=`${PWD_COMMAND}`; export r; \
18470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18471 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
18472 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
18473 $(HOST_EXPORTS) \
18474 echo Configuring in $(HOST_SUBDIR)/tcl; \
18475 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
18476 case $(srcdir) in \
18477 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18478 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
18479 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18480 esac; \
18481 srcdiroption="--srcdir=$${topdir}/tcl"; \
18482 libsrcdir="$$s/tcl"; \
18483 $(SHELL) $${libsrcdir}/configure \
18484 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18485 --target=${target_alias} $${srcdiroption} \
18486 || exit 1
18487 @endif tcl
18493 .PHONY: all-tcl maybe-all-tcl
18494 maybe-all-tcl:
18495 @if gcc-bootstrap
18496 all-tcl: stage_current
18497 @endif gcc-bootstrap
18498 @if tcl
18499 TARGET-tcl=all
18500 maybe-all-tcl: all-tcl
18501 all-tcl: configure-tcl
18502 @: $(MAKE); $(unstage)
18503 @r=`${PWD_COMMAND}`; export r; \
18504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18505 $(HOST_EXPORTS) \
18506 (cd $(HOST_SUBDIR)/tcl && \
18507 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
18508 @endif tcl
18513 .PHONY: check-tcl maybe-check-tcl
18514 maybe-check-tcl:
18515 @if tcl
18516 maybe-check-tcl: check-tcl
18518 check-tcl:
18519 @: $(MAKE); $(unstage)
18520 @r=`${PWD_COMMAND}`; export r; \
18521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18522 $(HOST_EXPORTS) \
18523 (cd $(HOST_SUBDIR)/tcl && \
18524 $(MAKE) $(FLAGS_TO_PASS) check)
18526 @endif tcl
18528 .PHONY: install-tcl maybe-install-tcl
18529 maybe-install-tcl:
18530 @if tcl
18531 maybe-install-tcl: install-tcl
18533 install-tcl: installdirs
18534 @: $(MAKE); $(unstage)
18535 @r=`${PWD_COMMAND}`; export r; \
18536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18537 $(HOST_EXPORTS) \
18538 (cd $(HOST_SUBDIR)/tcl && \
18539 $(MAKE) $(FLAGS_TO_PASS) install)
18541 @endif tcl
18543 # Other targets (info, dvi, pdf, etc.)
18545 .PHONY: maybe-info-tcl info-tcl
18546 maybe-info-tcl:
18547 @if tcl
18548 maybe-info-tcl: info-tcl
18550 info-tcl: \
18551 configure-tcl
18552 @: $(MAKE); $(unstage)
18553 @[ -f ./tcl/Makefile ] || exit 0; \
18554 r=`${PWD_COMMAND}`; export r; \
18555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18556 $(HOST_EXPORTS) \
18557 for flag in $(EXTRA_HOST_FLAGS) ; do \
18558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18559 done; \
18560 echo "Doing info in tcl" ; \
18561 (cd $(HOST_SUBDIR)/tcl && \
18562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18564 "RANLIB=$${RANLIB}" \
18565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18566 info) \
18567 || exit 1
18569 @endif tcl
18571 .PHONY: maybe-dvi-tcl dvi-tcl
18572 maybe-dvi-tcl:
18573 @if tcl
18574 maybe-dvi-tcl: dvi-tcl
18576 dvi-tcl: \
18577 configure-tcl
18578 @: $(MAKE); $(unstage)
18579 @[ -f ./tcl/Makefile ] || exit 0; \
18580 r=`${PWD_COMMAND}`; export r; \
18581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18582 $(HOST_EXPORTS) \
18583 for flag in $(EXTRA_HOST_FLAGS) ; do \
18584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18585 done; \
18586 echo "Doing dvi in tcl" ; \
18587 (cd $(HOST_SUBDIR)/tcl && \
18588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18590 "RANLIB=$${RANLIB}" \
18591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18592 dvi) \
18593 || exit 1
18595 @endif tcl
18597 .PHONY: maybe-pdf-tcl pdf-tcl
18598 maybe-pdf-tcl:
18599 @if tcl
18600 maybe-pdf-tcl: pdf-tcl
18602 pdf-tcl: \
18603 configure-tcl
18604 @: $(MAKE); $(unstage)
18605 @[ -f ./tcl/Makefile ] || exit 0; \
18606 r=`${PWD_COMMAND}`; export r; \
18607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18608 $(HOST_EXPORTS) \
18609 for flag in $(EXTRA_HOST_FLAGS) ; do \
18610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18611 done; \
18612 echo "Doing pdf in tcl" ; \
18613 (cd $(HOST_SUBDIR)/tcl && \
18614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18616 "RANLIB=$${RANLIB}" \
18617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18618 pdf) \
18619 || exit 1
18621 @endif tcl
18623 .PHONY: maybe-html-tcl html-tcl
18624 maybe-html-tcl:
18625 @if tcl
18626 maybe-html-tcl: html-tcl
18628 html-tcl: \
18629 configure-tcl
18630 @: $(MAKE); $(unstage)
18631 @[ -f ./tcl/Makefile ] || exit 0; \
18632 r=`${PWD_COMMAND}`; export r; \
18633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18634 $(HOST_EXPORTS) \
18635 for flag in $(EXTRA_HOST_FLAGS) ; do \
18636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18637 done; \
18638 echo "Doing html in tcl" ; \
18639 (cd $(HOST_SUBDIR)/tcl && \
18640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18642 "RANLIB=$${RANLIB}" \
18643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18644 html) \
18645 || exit 1
18647 @endif tcl
18649 .PHONY: maybe-TAGS-tcl TAGS-tcl
18650 maybe-TAGS-tcl:
18651 @if tcl
18652 maybe-TAGS-tcl: TAGS-tcl
18654 TAGS-tcl: \
18655 configure-tcl
18656 @: $(MAKE); $(unstage)
18657 @[ -f ./tcl/Makefile ] || exit 0; \
18658 r=`${PWD_COMMAND}`; export r; \
18659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18660 $(HOST_EXPORTS) \
18661 for flag in $(EXTRA_HOST_FLAGS) ; do \
18662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18663 done; \
18664 echo "Doing TAGS in tcl" ; \
18665 (cd $(HOST_SUBDIR)/tcl && \
18666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18668 "RANLIB=$${RANLIB}" \
18669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18670 TAGS) \
18671 || exit 1
18673 @endif tcl
18675 .PHONY: maybe-install-info-tcl install-info-tcl
18676 maybe-install-info-tcl:
18677 @if tcl
18678 maybe-install-info-tcl: install-info-tcl
18680 install-info-tcl: \
18681 configure-tcl \
18682 info-tcl
18683 @: $(MAKE); $(unstage)
18684 @[ -f ./tcl/Makefile ] || exit 0; \
18685 r=`${PWD_COMMAND}`; export r; \
18686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18687 $(HOST_EXPORTS) \
18688 for flag in $(EXTRA_HOST_FLAGS) ; do \
18689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18690 done; \
18691 echo "Doing install-info in tcl" ; \
18692 (cd $(HOST_SUBDIR)/tcl && \
18693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18695 "RANLIB=$${RANLIB}" \
18696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18697 install-info) \
18698 || exit 1
18700 @endif tcl
18702 .PHONY: maybe-install-html-tcl install-html-tcl
18703 maybe-install-html-tcl:
18704 @if tcl
18705 maybe-install-html-tcl: install-html-tcl
18707 install-html-tcl: \
18708 configure-tcl \
18709 html-tcl
18710 @: $(MAKE); $(unstage)
18711 @[ -f ./tcl/Makefile ] || exit 0; \
18712 r=`${PWD_COMMAND}`; export r; \
18713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18714 $(HOST_EXPORTS) \
18715 for flag in $(EXTRA_HOST_FLAGS) ; do \
18716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18717 done; \
18718 echo "Doing install-html in tcl" ; \
18719 (cd $(HOST_SUBDIR)/tcl && \
18720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18722 "RANLIB=$${RANLIB}" \
18723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18724 install-html) \
18725 || exit 1
18727 @endif tcl
18729 .PHONY: maybe-installcheck-tcl installcheck-tcl
18730 maybe-installcheck-tcl:
18731 @if tcl
18732 maybe-installcheck-tcl: installcheck-tcl
18734 installcheck-tcl: \
18735 configure-tcl
18736 @: $(MAKE); $(unstage)
18737 @[ -f ./tcl/Makefile ] || exit 0; \
18738 r=`${PWD_COMMAND}`; export r; \
18739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18740 $(HOST_EXPORTS) \
18741 for flag in $(EXTRA_HOST_FLAGS) ; do \
18742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18743 done; \
18744 echo "Doing installcheck in tcl" ; \
18745 (cd $(HOST_SUBDIR)/tcl && \
18746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18748 "RANLIB=$${RANLIB}" \
18749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18750 installcheck) \
18751 || exit 1
18753 @endif tcl
18755 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
18756 maybe-mostlyclean-tcl:
18757 @if tcl
18758 maybe-mostlyclean-tcl: mostlyclean-tcl
18760 # tcl doesn't support mostlyclean.
18761 mostlyclean-tcl:
18763 @endif tcl
18765 .PHONY: maybe-clean-tcl clean-tcl
18766 maybe-clean-tcl:
18767 @if tcl
18768 maybe-clean-tcl: clean-tcl
18770 clean-tcl:
18771 @: $(MAKE); $(unstage)
18772 @[ -f ./tcl/Makefile ] || exit 0; \
18773 r=`${PWD_COMMAND}`; export r; \
18774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18775 $(HOST_EXPORTS) \
18776 for flag in $(EXTRA_HOST_FLAGS) ; do \
18777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18778 done; \
18779 echo "Doing clean in tcl" ; \
18780 (cd $(HOST_SUBDIR)/tcl && \
18781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18783 "RANLIB=$${RANLIB}" \
18784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18785 clean) \
18786 || exit 1
18788 @endif tcl
18790 .PHONY: maybe-distclean-tcl distclean-tcl
18791 maybe-distclean-tcl:
18792 @if tcl
18793 maybe-distclean-tcl: distclean-tcl
18795 distclean-tcl:
18796 @: $(MAKE); $(unstage)
18797 @[ -f ./tcl/Makefile ] || exit 0; \
18798 r=`${PWD_COMMAND}`; export r; \
18799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18800 $(HOST_EXPORTS) \
18801 for flag in $(EXTRA_HOST_FLAGS) ; do \
18802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18803 done; \
18804 echo "Doing distclean in tcl" ; \
18805 (cd $(HOST_SUBDIR)/tcl && \
18806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18808 "RANLIB=$${RANLIB}" \
18809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18810 distclean) \
18811 || exit 1
18813 @endif tcl
18815 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
18816 maybe-maintainer-clean-tcl:
18817 @if tcl
18818 maybe-maintainer-clean-tcl: maintainer-clean-tcl
18820 maintainer-clean-tcl:
18821 @: $(MAKE); $(unstage)
18822 @[ -f ./tcl/Makefile ] || exit 0; \
18823 r=`${PWD_COMMAND}`; export r; \
18824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18825 $(HOST_EXPORTS) \
18826 for flag in $(EXTRA_HOST_FLAGS) ; do \
18827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18828 done; \
18829 echo "Doing maintainer-clean in tcl" ; \
18830 (cd $(HOST_SUBDIR)/tcl && \
18831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18833 "RANLIB=$${RANLIB}" \
18834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18835 maintainer-clean) \
18836 || exit 1
18838 @endif tcl
18842 .PHONY: configure-itcl maybe-configure-itcl
18843 maybe-configure-itcl:
18844 @if gcc-bootstrap
18845 configure-itcl: stage_current
18846 @endif gcc-bootstrap
18847 @if itcl
18848 maybe-configure-itcl: configure-itcl
18849 configure-itcl:
18850 @: $(MAKE); $(unstage)
18851 @r=`${PWD_COMMAND}`; export r; \
18852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18853 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
18854 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
18855 $(HOST_EXPORTS) \
18856 echo Configuring in $(HOST_SUBDIR)/itcl; \
18857 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
18858 case $(srcdir) in \
18859 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18860 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
18861 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18862 esac; \
18863 srcdiroption="--srcdir=$${topdir}/itcl"; \
18864 libsrcdir="$$s/itcl"; \
18865 $(SHELL) $${libsrcdir}/configure \
18866 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18867 --target=${target_alias} $${srcdiroption} \
18868 || exit 1
18869 @endif itcl
18875 .PHONY: all-itcl maybe-all-itcl
18876 maybe-all-itcl:
18877 @if gcc-bootstrap
18878 all-itcl: stage_current
18879 @endif gcc-bootstrap
18880 @if itcl
18881 TARGET-itcl=all
18882 maybe-all-itcl: all-itcl
18883 all-itcl: configure-itcl
18884 @: $(MAKE); $(unstage)
18885 @r=`${PWD_COMMAND}`; export r; \
18886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18887 $(HOST_EXPORTS) \
18888 (cd $(HOST_SUBDIR)/itcl && \
18889 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
18890 @endif itcl
18895 .PHONY: check-itcl maybe-check-itcl
18896 maybe-check-itcl:
18897 @if itcl
18898 maybe-check-itcl: check-itcl
18900 check-itcl:
18901 @: $(MAKE); $(unstage)
18902 @r=`${PWD_COMMAND}`; export r; \
18903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18904 $(HOST_EXPORTS) \
18905 (cd $(HOST_SUBDIR)/itcl && \
18906 $(MAKE) $(FLAGS_TO_PASS) check)
18908 @endif itcl
18910 .PHONY: install-itcl maybe-install-itcl
18911 maybe-install-itcl:
18912 @if itcl
18913 maybe-install-itcl: install-itcl
18915 install-itcl: installdirs
18916 @: $(MAKE); $(unstage)
18917 @r=`${PWD_COMMAND}`; export r; \
18918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18919 $(HOST_EXPORTS) \
18920 (cd $(HOST_SUBDIR)/itcl && \
18921 $(MAKE) $(FLAGS_TO_PASS) install)
18923 @endif itcl
18925 # Other targets (info, dvi, pdf, etc.)
18927 .PHONY: maybe-info-itcl info-itcl
18928 maybe-info-itcl:
18929 @if itcl
18930 maybe-info-itcl: info-itcl
18932 info-itcl: \
18933 configure-itcl
18934 @: $(MAKE); $(unstage)
18935 @[ -f ./itcl/Makefile ] || exit 0; \
18936 r=`${PWD_COMMAND}`; export r; \
18937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18938 $(HOST_EXPORTS) \
18939 for flag in $(EXTRA_HOST_FLAGS) ; do \
18940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18941 done; \
18942 echo "Doing info in itcl" ; \
18943 (cd $(HOST_SUBDIR)/itcl && \
18944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18946 "RANLIB=$${RANLIB}" \
18947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18948 info) \
18949 || exit 1
18951 @endif itcl
18953 .PHONY: maybe-dvi-itcl dvi-itcl
18954 maybe-dvi-itcl:
18955 @if itcl
18956 maybe-dvi-itcl: dvi-itcl
18958 dvi-itcl: \
18959 configure-itcl
18960 @: $(MAKE); $(unstage)
18961 @[ -f ./itcl/Makefile ] || exit 0; \
18962 r=`${PWD_COMMAND}`; export r; \
18963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18964 $(HOST_EXPORTS) \
18965 for flag in $(EXTRA_HOST_FLAGS) ; do \
18966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18967 done; \
18968 echo "Doing dvi in itcl" ; \
18969 (cd $(HOST_SUBDIR)/itcl && \
18970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18972 "RANLIB=$${RANLIB}" \
18973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18974 dvi) \
18975 || exit 1
18977 @endif itcl
18979 .PHONY: maybe-pdf-itcl pdf-itcl
18980 maybe-pdf-itcl:
18981 @if itcl
18982 maybe-pdf-itcl: pdf-itcl
18984 pdf-itcl: \
18985 configure-itcl
18986 @: $(MAKE); $(unstage)
18987 @[ -f ./itcl/Makefile ] || exit 0; \
18988 r=`${PWD_COMMAND}`; export r; \
18989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18990 $(HOST_EXPORTS) \
18991 for flag in $(EXTRA_HOST_FLAGS) ; do \
18992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18993 done; \
18994 echo "Doing pdf in itcl" ; \
18995 (cd $(HOST_SUBDIR)/itcl && \
18996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18998 "RANLIB=$${RANLIB}" \
18999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19000 pdf) \
19001 || exit 1
19003 @endif itcl
19005 .PHONY: maybe-html-itcl html-itcl
19006 maybe-html-itcl:
19007 @if itcl
19008 maybe-html-itcl: html-itcl
19010 html-itcl: \
19011 configure-itcl
19012 @: $(MAKE); $(unstage)
19013 @[ -f ./itcl/Makefile ] || exit 0; \
19014 r=`${PWD_COMMAND}`; export r; \
19015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19016 $(HOST_EXPORTS) \
19017 for flag in $(EXTRA_HOST_FLAGS) ; do \
19018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19019 done; \
19020 echo "Doing html in itcl" ; \
19021 (cd $(HOST_SUBDIR)/itcl && \
19022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19024 "RANLIB=$${RANLIB}" \
19025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19026 html) \
19027 || exit 1
19029 @endif itcl
19031 .PHONY: maybe-TAGS-itcl TAGS-itcl
19032 maybe-TAGS-itcl:
19033 @if itcl
19034 maybe-TAGS-itcl: TAGS-itcl
19036 TAGS-itcl: \
19037 configure-itcl
19038 @: $(MAKE); $(unstage)
19039 @[ -f ./itcl/Makefile ] || exit 0; \
19040 r=`${PWD_COMMAND}`; export r; \
19041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19042 $(HOST_EXPORTS) \
19043 for flag in $(EXTRA_HOST_FLAGS) ; do \
19044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19045 done; \
19046 echo "Doing TAGS in itcl" ; \
19047 (cd $(HOST_SUBDIR)/itcl && \
19048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19050 "RANLIB=$${RANLIB}" \
19051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19052 TAGS) \
19053 || exit 1
19055 @endif itcl
19057 .PHONY: maybe-install-info-itcl install-info-itcl
19058 maybe-install-info-itcl:
19059 @if itcl
19060 maybe-install-info-itcl: install-info-itcl
19062 install-info-itcl: \
19063 configure-itcl \
19064 info-itcl
19065 @: $(MAKE); $(unstage)
19066 @[ -f ./itcl/Makefile ] || exit 0; \
19067 r=`${PWD_COMMAND}`; export r; \
19068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19069 $(HOST_EXPORTS) \
19070 for flag in $(EXTRA_HOST_FLAGS) ; do \
19071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19072 done; \
19073 echo "Doing install-info in itcl" ; \
19074 (cd $(HOST_SUBDIR)/itcl && \
19075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19077 "RANLIB=$${RANLIB}" \
19078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19079 install-info) \
19080 || exit 1
19082 @endif itcl
19084 .PHONY: maybe-install-html-itcl install-html-itcl
19085 maybe-install-html-itcl:
19086 @if itcl
19087 maybe-install-html-itcl: install-html-itcl
19089 install-html-itcl: \
19090 configure-itcl \
19091 html-itcl
19092 @: $(MAKE); $(unstage)
19093 @[ -f ./itcl/Makefile ] || exit 0; \
19094 r=`${PWD_COMMAND}`; export r; \
19095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19096 $(HOST_EXPORTS) \
19097 for flag in $(EXTRA_HOST_FLAGS) ; do \
19098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19099 done; \
19100 echo "Doing install-html in itcl" ; \
19101 (cd $(HOST_SUBDIR)/itcl && \
19102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19104 "RANLIB=$${RANLIB}" \
19105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19106 install-html) \
19107 || exit 1
19109 @endif itcl
19111 .PHONY: maybe-installcheck-itcl installcheck-itcl
19112 maybe-installcheck-itcl:
19113 @if itcl
19114 maybe-installcheck-itcl: installcheck-itcl
19116 installcheck-itcl: \
19117 configure-itcl
19118 @: $(MAKE); $(unstage)
19119 @[ -f ./itcl/Makefile ] || exit 0; \
19120 r=`${PWD_COMMAND}`; export r; \
19121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19122 $(HOST_EXPORTS) \
19123 for flag in $(EXTRA_HOST_FLAGS) ; do \
19124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19125 done; \
19126 echo "Doing installcheck in itcl" ; \
19127 (cd $(HOST_SUBDIR)/itcl && \
19128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19130 "RANLIB=$${RANLIB}" \
19131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19132 installcheck) \
19133 || exit 1
19135 @endif itcl
19137 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
19138 maybe-mostlyclean-itcl:
19139 @if itcl
19140 maybe-mostlyclean-itcl: mostlyclean-itcl
19142 mostlyclean-itcl:
19143 @: $(MAKE); $(unstage)
19144 @[ -f ./itcl/Makefile ] || exit 0; \
19145 r=`${PWD_COMMAND}`; export r; \
19146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19147 $(HOST_EXPORTS) \
19148 for flag in $(EXTRA_HOST_FLAGS) ; do \
19149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19150 done; \
19151 echo "Doing mostlyclean in itcl" ; \
19152 (cd $(HOST_SUBDIR)/itcl && \
19153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19155 "RANLIB=$${RANLIB}" \
19156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19157 mostlyclean) \
19158 || exit 1
19160 @endif itcl
19162 .PHONY: maybe-clean-itcl clean-itcl
19163 maybe-clean-itcl:
19164 @if itcl
19165 maybe-clean-itcl: clean-itcl
19167 clean-itcl:
19168 @: $(MAKE); $(unstage)
19169 @[ -f ./itcl/Makefile ] || exit 0; \
19170 r=`${PWD_COMMAND}`; export r; \
19171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19172 $(HOST_EXPORTS) \
19173 for flag in $(EXTRA_HOST_FLAGS) ; do \
19174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19175 done; \
19176 echo "Doing clean in itcl" ; \
19177 (cd $(HOST_SUBDIR)/itcl && \
19178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19180 "RANLIB=$${RANLIB}" \
19181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19182 clean) \
19183 || exit 1
19185 @endif itcl
19187 .PHONY: maybe-distclean-itcl distclean-itcl
19188 maybe-distclean-itcl:
19189 @if itcl
19190 maybe-distclean-itcl: distclean-itcl
19192 distclean-itcl:
19193 @: $(MAKE); $(unstage)
19194 @[ -f ./itcl/Makefile ] || exit 0; \
19195 r=`${PWD_COMMAND}`; export r; \
19196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19197 $(HOST_EXPORTS) \
19198 for flag in $(EXTRA_HOST_FLAGS) ; do \
19199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19200 done; \
19201 echo "Doing distclean in itcl" ; \
19202 (cd $(HOST_SUBDIR)/itcl && \
19203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19205 "RANLIB=$${RANLIB}" \
19206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19207 distclean) \
19208 || exit 1
19210 @endif itcl
19212 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
19213 maybe-maintainer-clean-itcl:
19214 @if itcl
19215 maybe-maintainer-clean-itcl: maintainer-clean-itcl
19217 maintainer-clean-itcl:
19218 @: $(MAKE); $(unstage)
19219 @[ -f ./itcl/Makefile ] || exit 0; \
19220 r=`${PWD_COMMAND}`; export r; \
19221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19222 $(HOST_EXPORTS) \
19223 for flag in $(EXTRA_HOST_FLAGS) ; do \
19224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19225 done; \
19226 echo "Doing maintainer-clean in itcl" ; \
19227 (cd $(HOST_SUBDIR)/itcl && \
19228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19230 "RANLIB=$${RANLIB}" \
19231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19232 maintainer-clean) \
19233 || exit 1
19235 @endif itcl
19239 .PHONY: configure-ld maybe-configure-ld
19240 maybe-configure-ld:
19241 @if gcc-bootstrap
19242 configure-ld: stage_current
19243 @endif gcc-bootstrap
19244 @if ld
19245 maybe-configure-ld: configure-ld
19246 configure-ld:
19247 @r=`${PWD_COMMAND}`; export r; \
19248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19249 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19250 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19251 $(HOST_EXPORTS) \
19252 echo Configuring in $(HOST_SUBDIR)/ld; \
19253 cd "$(HOST_SUBDIR)/ld" || exit 1; \
19254 case $(srcdir) in \
19255 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19256 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19257 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19258 esac; \
19259 srcdiroption="--srcdir=$${topdir}/ld"; \
19260 libsrcdir="$$s/ld"; \
19261 $(SHELL) $${libsrcdir}/configure \
19262 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19263 --target=${target_alias} $${srcdiroption} \
19264 || exit 1
19265 @endif ld
19269 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
19270 maybe-configure-stage1-ld:
19271 @if ld-bootstrap
19272 maybe-configure-stage1-ld: configure-stage1-ld
19273 configure-stage1-ld:
19274 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19275 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19276 @r=`${PWD_COMMAND}`; export r; \
19277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19278 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19279 $(HOST_EXPORTS) \
19280 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
19281 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19282 cd $(HOST_SUBDIR)/ld || exit 1; \
19283 case $(srcdir) in \
19284 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19285 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19286 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19287 esac; \
19288 srcdiroption="--srcdir=$${topdir}/ld"; \
19289 libsrcdir="$$s/ld"; \
19290 $(SHELL) $${libsrcdir}/configure \
19291 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19292 --target=${target_alias} $${srcdiroption} \
19294 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
19295 @endif ld-bootstrap
19297 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
19298 maybe-configure-stage2-ld:
19299 @if ld-bootstrap
19300 maybe-configure-stage2-ld: configure-stage2-ld
19301 configure-stage2-ld:
19302 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19303 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19304 @r=`${PWD_COMMAND}`; export r; \
19305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19306 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19307 $(HOST_EXPORTS) \
19308 $(POSTSTAGE1_HOST_EXPORTS) \
19309 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
19310 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19311 cd $(HOST_SUBDIR)/ld || exit 1; \
19312 case $(srcdir) in \
19313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19314 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19316 esac; \
19317 srcdiroption="--srcdir=$${topdir}/ld"; \
19318 libsrcdir="$$s/ld"; \
19319 $(SHELL) $${libsrcdir}/configure \
19320 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19321 --target=${target_alias} $${srcdiroption} \
19322 --with-build-libsubdir=$(HOST_SUBDIR) \
19323 @stage2_werror_flag@
19324 @endif ld-bootstrap
19326 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
19327 maybe-configure-stage3-ld:
19328 @if ld-bootstrap
19329 maybe-configure-stage3-ld: configure-stage3-ld
19330 configure-stage3-ld:
19331 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19332 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19333 @r=`${PWD_COMMAND}`; export r; \
19334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19335 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19336 $(HOST_EXPORTS) \
19337 $(POSTSTAGE1_HOST_EXPORTS) \
19338 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
19339 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19340 cd $(HOST_SUBDIR)/ld || exit 1; \
19341 case $(srcdir) in \
19342 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19343 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19344 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19345 esac; \
19346 srcdiroption="--srcdir=$${topdir}/ld"; \
19347 libsrcdir="$$s/ld"; \
19348 $(SHELL) $${libsrcdir}/configure \
19349 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19350 --target=${target_alias} $${srcdiroption} \
19351 --with-build-libsubdir=$(HOST_SUBDIR) \
19352 @stage2_werror_flag@
19353 @endif ld-bootstrap
19355 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
19356 maybe-configure-stage4-ld:
19357 @if ld-bootstrap
19358 maybe-configure-stage4-ld: configure-stage4-ld
19359 configure-stage4-ld:
19360 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19361 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19362 @r=`${PWD_COMMAND}`; export r; \
19363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19364 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19365 $(HOST_EXPORTS) \
19366 $(POSTSTAGE1_HOST_EXPORTS) \
19367 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
19368 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19369 cd $(HOST_SUBDIR)/ld || exit 1; \
19370 case $(srcdir) in \
19371 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19372 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19373 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19374 esac; \
19375 srcdiroption="--srcdir=$${topdir}/ld"; \
19376 libsrcdir="$$s/ld"; \
19377 $(SHELL) $${libsrcdir}/configure \
19378 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19379 --target=${target_alias} $${srcdiroption} \
19380 --with-build-libsubdir=$(HOST_SUBDIR) \
19381 @stage2_werror_flag@
19382 @endif ld-bootstrap
19384 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
19385 maybe-configure-stageprofile-ld:
19386 @if ld-bootstrap
19387 maybe-configure-stageprofile-ld: configure-stageprofile-ld
19388 configure-stageprofile-ld:
19389 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19390 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19391 @r=`${PWD_COMMAND}`; export r; \
19392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19393 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19394 $(HOST_EXPORTS) \
19395 $(POSTSTAGE1_HOST_EXPORTS) \
19396 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
19397 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19398 cd $(HOST_SUBDIR)/ld || exit 1; \
19399 case $(srcdir) in \
19400 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19401 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19402 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19403 esac; \
19404 srcdiroption="--srcdir=$${topdir}/ld"; \
19405 libsrcdir="$$s/ld"; \
19406 $(SHELL) $${libsrcdir}/configure \
19407 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19408 --target=${target_alias} $${srcdiroption} \
19409 --with-build-libsubdir=$(HOST_SUBDIR) \
19410 @stage2_werror_flag@
19411 @endif ld-bootstrap
19413 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
19414 maybe-configure-stagefeedback-ld:
19415 @if ld-bootstrap
19416 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
19417 configure-stagefeedback-ld:
19418 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19419 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19420 @r=`${PWD_COMMAND}`; export r; \
19421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19422 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19423 $(HOST_EXPORTS) \
19424 $(POSTSTAGE1_HOST_EXPORTS) \
19425 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
19426 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19427 cd $(HOST_SUBDIR)/ld || exit 1; \
19428 case $(srcdir) in \
19429 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19430 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19431 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19432 esac; \
19433 srcdiroption="--srcdir=$${topdir}/ld"; \
19434 libsrcdir="$$s/ld"; \
19435 $(SHELL) $${libsrcdir}/configure \
19436 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19437 --target=${target_alias} $${srcdiroption} \
19438 --with-build-libsubdir=$(HOST_SUBDIR) \
19439 @stage2_werror_flag@
19440 @endif ld-bootstrap
19446 .PHONY: all-ld maybe-all-ld
19447 maybe-all-ld:
19448 @if gcc-bootstrap
19449 all-ld: stage_current
19450 @endif gcc-bootstrap
19451 @if ld
19452 TARGET-ld=all
19453 maybe-all-ld: all-ld
19454 all-ld: configure-ld
19455 @r=`${PWD_COMMAND}`; export r; \
19456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19457 $(HOST_EXPORTS) \
19458 (cd $(HOST_SUBDIR)/ld && \
19459 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
19460 @endif ld
19464 .PHONY: all-stage1-ld maybe-all-stage1-ld
19465 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
19466 maybe-all-stage1-ld:
19467 maybe-clean-stage1-ld:
19468 @if ld-bootstrap
19469 maybe-all-stage1-ld: all-stage1-ld
19470 all-stage1: all-stage1-ld
19471 TARGET-stage1-ld = $(TARGET-ld)
19472 all-stage1-ld: configure-stage1-ld
19473 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19474 @r=`${PWD_COMMAND}`; export r; \
19475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19476 $(HOST_EXPORTS) \
19477 cd $(HOST_SUBDIR)/ld && \
19478 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
19479 $(TARGET-stage1-ld)
19481 maybe-clean-stage1-ld: clean-stage1-ld
19482 clean-stage1: clean-stage1-ld
19483 clean-stage1-ld:
19484 @if [ $(current_stage) = stage1 ]; then \
19485 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19486 else \
19487 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
19488 $(MAKE) stage1-start; \
19489 fi; \
19490 cd $(HOST_SUBDIR)/ld && \
19491 $(MAKE) $(FLAGS_TO_PASS) \
19492 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
19493 @endif ld-bootstrap
19496 .PHONY: all-stage2-ld maybe-all-stage2-ld
19497 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
19498 maybe-all-stage2-ld:
19499 maybe-clean-stage2-ld:
19500 @if ld-bootstrap
19501 maybe-all-stage2-ld: all-stage2-ld
19502 all-stage2: all-stage2-ld
19503 TARGET-stage2-ld = $(TARGET-ld)
19504 all-stage2-ld: configure-stage2-ld
19505 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19506 @r=`${PWD_COMMAND}`; export r; \
19507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19508 $(HOST_EXPORTS) \
19509 $(POSTSTAGE1_HOST_EXPORTS) \
19510 cd $(HOST_SUBDIR)/ld && \
19511 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19512 $(TARGET-stage2-ld)
19514 maybe-clean-stage2-ld: clean-stage2-ld
19515 clean-stage2: clean-stage2-ld
19516 clean-stage2-ld:
19517 @if [ $(current_stage) = stage2 ]; then \
19518 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19519 else \
19520 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
19521 $(MAKE) stage2-start; \
19522 fi; \
19523 cd $(HOST_SUBDIR)/ld && \
19524 $(MAKE) $(FLAGS_TO_PASS) \
19525 $(POSTSTAGE1_FLAGS_TO_PASS) \
19526 clean
19527 @endif ld-bootstrap
19530 .PHONY: all-stage3-ld maybe-all-stage3-ld
19531 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
19532 maybe-all-stage3-ld:
19533 maybe-clean-stage3-ld:
19534 @if ld-bootstrap
19535 maybe-all-stage3-ld: all-stage3-ld
19536 all-stage3: all-stage3-ld
19537 TARGET-stage3-ld = $(TARGET-ld)
19538 all-stage3-ld: configure-stage3-ld
19539 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19540 @r=`${PWD_COMMAND}`; export r; \
19541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19542 $(HOST_EXPORTS) \
19543 $(POSTSTAGE1_HOST_EXPORTS) \
19544 cd $(HOST_SUBDIR)/ld && \
19545 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19546 $(TARGET-stage3-ld)
19548 maybe-clean-stage3-ld: clean-stage3-ld
19549 clean-stage3: clean-stage3-ld
19550 clean-stage3-ld:
19551 @if [ $(current_stage) = stage3 ]; then \
19552 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19553 else \
19554 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
19555 $(MAKE) stage3-start; \
19556 fi; \
19557 cd $(HOST_SUBDIR)/ld && \
19558 $(MAKE) $(FLAGS_TO_PASS) \
19559 $(POSTSTAGE1_FLAGS_TO_PASS) \
19560 clean
19561 @endif ld-bootstrap
19564 .PHONY: all-stage4-ld maybe-all-stage4-ld
19565 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
19566 maybe-all-stage4-ld:
19567 maybe-clean-stage4-ld:
19568 @if ld-bootstrap
19569 maybe-all-stage4-ld: all-stage4-ld
19570 all-stage4: all-stage4-ld
19571 TARGET-stage4-ld = $(TARGET-ld)
19572 all-stage4-ld: configure-stage4-ld
19573 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19574 @r=`${PWD_COMMAND}`; export r; \
19575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19576 $(HOST_EXPORTS) \
19577 $(POSTSTAGE1_HOST_EXPORTS) \
19578 cd $(HOST_SUBDIR)/ld && \
19579 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19580 $(TARGET-stage4-ld)
19582 maybe-clean-stage4-ld: clean-stage4-ld
19583 clean-stage4: clean-stage4-ld
19584 clean-stage4-ld:
19585 @if [ $(current_stage) = stage4 ]; then \
19586 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19587 else \
19588 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
19589 $(MAKE) stage4-start; \
19590 fi; \
19591 cd $(HOST_SUBDIR)/ld && \
19592 $(MAKE) $(FLAGS_TO_PASS) \
19593 $(POSTSTAGE1_FLAGS_TO_PASS) \
19594 clean
19595 @endif ld-bootstrap
19598 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
19599 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
19600 maybe-all-stageprofile-ld:
19601 maybe-clean-stageprofile-ld:
19602 @if ld-bootstrap
19603 maybe-all-stageprofile-ld: all-stageprofile-ld
19604 all-stageprofile: all-stageprofile-ld
19605 TARGET-stageprofile-ld = $(TARGET-ld)
19606 all-stageprofile-ld: configure-stageprofile-ld
19607 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19608 @r=`${PWD_COMMAND}`; export r; \
19609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19610 $(HOST_EXPORTS) \
19611 $(POSTSTAGE1_HOST_EXPORTS) \
19612 cd $(HOST_SUBDIR)/ld && \
19613 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
19614 $(TARGET-stageprofile-ld)
19616 maybe-clean-stageprofile-ld: clean-stageprofile-ld
19617 clean-stageprofile: clean-stageprofile-ld
19618 clean-stageprofile-ld:
19619 @if [ $(current_stage) = stageprofile ]; then \
19620 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19621 else \
19622 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
19623 $(MAKE) stageprofile-start; \
19624 fi; \
19625 cd $(HOST_SUBDIR)/ld && \
19626 $(MAKE) $(FLAGS_TO_PASS) \
19627 $(POSTSTAGE1_FLAGS_TO_PASS) \
19628 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
19629 @endif ld-bootstrap
19632 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
19633 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
19634 maybe-all-stagefeedback-ld:
19635 maybe-clean-stagefeedback-ld:
19636 @if ld-bootstrap
19637 maybe-all-stagefeedback-ld: all-stagefeedback-ld
19638 all-stagefeedback: all-stagefeedback-ld
19639 TARGET-stagefeedback-ld = $(TARGET-ld)
19640 all-stagefeedback-ld: configure-stagefeedback-ld
19641 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19642 @r=`${PWD_COMMAND}`; export r; \
19643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19644 $(HOST_EXPORTS) \
19645 $(POSTSTAGE1_HOST_EXPORTS) \
19646 cd $(HOST_SUBDIR)/ld && \
19647 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
19648 $(TARGET-stagefeedback-ld)
19650 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
19651 clean-stagefeedback: clean-stagefeedback-ld
19652 clean-stagefeedback-ld:
19653 @if [ $(current_stage) = stagefeedback ]; then \
19654 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19655 else \
19656 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
19657 $(MAKE) stagefeedback-start; \
19658 fi; \
19659 cd $(HOST_SUBDIR)/ld && \
19660 $(MAKE) $(FLAGS_TO_PASS) \
19661 $(POSTSTAGE1_FLAGS_TO_PASS) \
19662 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
19663 @endif ld-bootstrap
19669 .PHONY: check-ld maybe-check-ld
19670 maybe-check-ld:
19671 @if ld
19672 maybe-check-ld: check-ld
19674 check-ld:
19675 @: $(MAKE); $(unstage)
19676 @r=`${PWD_COMMAND}`; export r; \
19677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19678 $(HOST_EXPORTS) \
19679 (cd $(HOST_SUBDIR)/ld && \
19680 $(MAKE) $(FLAGS_TO_PASS) check)
19682 @endif ld
19684 .PHONY: install-ld maybe-install-ld
19685 maybe-install-ld:
19686 @if ld
19687 maybe-install-ld: install-ld
19689 install-ld: installdirs
19690 @: $(MAKE); $(unstage)
19691 @r=`${PWD_COMMAND}`; export r; \
19692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19693 $(HOST_EXPORTS) \
19694 (cd $(HOST_SUBDIR)/ld && \
19695 $(MAKE) $(FLAGS_TO_PASS) install)
19697 @endif ld
19699 # Other targets (info, dvi, pdf, etc.)
19701 .PHONY: maybe-info-ld info-ld
19702 maybe-info-ld:
19703 @if ld
19704 maybe-info-ld: info-ld
19706 info-ld: \
19707 configure-ld
19708 @[ -f ./ld/Makefile ] || exit 0; \
19709 r=`${PWD_COMMAND}`; export r; \
19710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19711 $(HOST_EXPORTS) \
19712 for flag in $(EXTRA_HOST_FLAGS) ; do \
19713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19714 done; \
19715 echo "Doing info in ld" ; \
19716 (cd $(HOST_SUBDIR)/ld && \
19717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19719 "RANLIB=$${RANLIB}" \
19720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19721 info) \
19722 || exit 1
19724 @endif ld
19726 .PHONY: maybe-dvi-ld dvi-ld
19727 maybe-dvi-ld:
19728 @if ld
19729 maybe-dvi-ld: dvi-ld
19731 dvi-ld: \
19732 configure-ld
19733 @[ -f ./ld/Makefile ] || exit 0; \
19734 r=`${PWD_COMMAND}`; export r; \
19735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19736 $(HOST_EXPORTS) \
19737 for flag in $(EXTRA_HOST_FLAGS) ; do \
19738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19739 done; \
19740 echo "Doing dvi in ld" ; \
19741 (cd $(HOST_SUBDIR)/ld && \
19742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19744 "RANLIB=$${RANLIB}" \
19745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19746 dvi) \
19747 || exit 1
19749 @endif ld
19751 .PHONY: maybe-pdf-ld pdf-ld
19752 maybe-pdf-ld:
19753 @if ld
19754 maybe-pdf-ld: pdf-ld
19756 pdf-ld: \
19757 configure-ld
19758 @[ -f ./ld/Makefile ] || exit 0; \
19759 r=`${PWD_COMMAND}`; export r; \
19760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19761 $(HOST_EXPORTS) \
19762 for flag in $(EXTRA_HOST_FLAGS) ; do \
19763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19764 done; \
19765 echo "Doing pdf in ld" ; \
19766 (cd $(HOST_SUBDIR)/ld && \
19767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19769 "RANLIB=$${RANLIB}" \
19770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19771 pdf) \
19772 || exit 1
19774 @endif ld
19776 .PHONY: maybe-html-ld html-ld
19777 maybe-html-ld:
19778 @if ld
19779 maybe-html-ld: html-ld
19781 html-ld: \
19782 configure-ld
19783 @[ -f ./ld/Makefile ] || exit 0; \
19784 r=`${PWD_COMMAND}`; export r; \
19785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19786 $(HOST_EXPORTS) \
19787 for flag in $(EXTRA_HOST_FLAGS) ; do \
19788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19789 done; \
19790 echo "Doing html in ld" ; \
19791 (cd $(HOST_SUBDIR)/ld && \
19792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19794 "RANLIB=$${RANLIB}" \
19795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19796 html) \
19797 || exit 1
19799 @endif ld
19801 .PHONY: maybe-TAGS-ld TAGS-ld
19802 maybe-TAGS-ld:
19803 @if ld
19804 maybe-TAGS-ld: TAGS-ld
19806 TAGS-ld: \
19807 configure-ld
19808 @[ -f ./ld/Makefile ] || exit 0; \
19809 r=`${PWD_COMMAND}`; export r; \
19810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19811 $(HOST_EXPORTS) \
19812 for flag in $(EXTRA_HOST_FLAGS) ; do \
19813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19814 done; \
19815 echo "Doing TAGS in ld" ; \
19816 (cd $(HOST_SUBDIR)/ld && \
19817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19819 "RANLIB=$${RANLIB}" \
19820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19821 TAGS) \
19822 || exit 1
19824 @endif ld
19826 .PHONY: maybe-install-info-ld install-info-ld
19827 maybe-install-info-ld:
19828 @if ld
19829 maybe-install-info-ld: install-info-ld
19831 install-info-ld: \
19832 configure-ld \
19833 info-ld
19834 @[ -f ./ld/Makefile ] || exit 0; \
19835 r=`${PWD_COMMAND}`; export r; \
19836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19837 $(HOST_EXPORTS) \
19838 for flag in $(EXTRA_HOST_FLAGS) ; do \
19839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19840 done; \
19841 echo "Doing install-info in ld" ; \
19842 (cd $(HOST_SUBDIR)/ld && \
19843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19845 "RANLIB=$${RANLIB}" \
19846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19847 install-info) \
19848 || exit 1
19850 @endif ld
19852 .PHONY: maybe-install-html-ld install-html-ld
19853 maybe-install-html-ld:
19854 @if ld
19855 maybe-install-html-ld: install-html-ld
19857 install-html-ld: \
19858 configure-ld \
19859 html-ld
19860 @[ -f ./ld/Makefile ] || exit 0; \
19861 r=`${PWD_COMMAND}`; export r; \
19862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19863 $(HOST_EXPORTS) \
19864 for flag in $(EXTRA_HOST_FLAGS) ; do \
19865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19866 done; \
19867 echo "Doing install-html in ld" ; \
19868 (cd $(HOST_SUBDIR)/ld && \
19869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19871 "RANLIB=$${RANLIB}" \
19872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19873 install-html) \
19874 || exit 1
19876 @endif ld
19878 .PHONY: maybe-installcheck-ld installcheck-ld
19879 maybe-installcheck-ld:
19880 @if ld
19881 maybe-installcheck-ld: installcheck-ld
19883 installcheck-ld: \
19884 configure-ld
19885 @[ -f ./ld/Makefile ] || exit 0; \
19886 r=`${PWD_COMMAND}`; export r; \
19887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19888 $(HOST_EXPORTS) \
19889 for flag in $(EXTRA_HOST_FLAGS) ; do \
19890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19891 done; \
19892 echo "Doing installcheck in ld" ; \
19893 (cd $(HOST_SUBDIR)/ld && \
19894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19896 "RANLIB=$${RANLIB}" \
19897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19898 installcheck) \
19899 || exit 1
19901 @endif ld
19903 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19904 maybe-mostlyclean-ld:
19905 @if ld
19906 maybe-mostlyclean-ld: mostlyclean-ld
19908 mostlyclean-ld:
19909 @[ -f ./ld/Makefile ] || exit 0; \
19910 r=`${PWD_COMMAND}`; export r; \
19911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19912 $(HOST_EXPORTS) \
19913 for flag in $(EXTRA_HOST_FLAGS) ; do \
19914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19915 done; \
19916 echo "Doing mostlyclean in ld" ; \
19917 (cd $(HOST_SUBDIR)/ld && \
19918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19920 "RANLIB=$${RANLIB}" \
19921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19922 mostlyclean) \
19923 || exit 1
19925 @endif ld
19927 .PHONY: maybe-clean-ld clean-ld
19928 maybe-clean-ld:
19929 @if ld
19930 maybe-clean-ld: clean-ld
19932 clean-ld:
19933 @[ -f ./ld/Makefile ] || exit 0; \
19934 r=`${PWD_COMMAND}`; export r; \
19935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19936 $(HOST_EXPORTS) \
19937 for flag in $(EXTRA_HOST_FLAGS) ; do \
19938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19939 done; \
19940 echo "Doing clean in ld" ; \
19941 (cd $(HOST_SUBDIR)/ld && \
19942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19944 "RANLIB=$${RANLIB}" \
19945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19946 clean) \
19947 || exit 1
19949 @endif ld
19951 .PHONY: maybe-distclean-ld distclean-ld
19952 maybe-distclean-ld:
19953 @if ld
19954 maybe-distclean-ld: distclean-ld
19956 distclean-ld:
19957 @[ -f ./ld/Makefile ] || exit 0; \
19958 r=`${PWD_COMMAND}`; export r; \
19959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19960 $(HOST_EXPORTS) \
19961 for flag in $(EXTRA_HOST_FLAGS) ; do \
19962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19963 done; \
19964 echo "Doing distclean in ld" ; \
19965 (cd $(HOST_SUBDIR)/ld && \
19966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19968 "RANLIB=$${RANLIB}" \
19969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19970 distclean) \
19971 || exit 1
19973 @endif ld
19975 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
19976 maybe-maintainer-clean-ld:
19977 @if ld
19978 maybe-maintainer-clean-ld: maintainer-clean-ld
19980 maintainer-clean-ld:
19981 @[ -f ./ld/Makefile ] || exit 0; \
19982 r=`${PWD_COMMAND}`; export r; \
19983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19984 $(HOST_EXPORTS) \
19985 for flag in $(EXTRA_HOST_FLAGS) ; do \
19986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19987 done; \
19988 echo "Doing maintainer-clean in ld" ; \
19989 (cd $(HOST_SUBDIR)/ld && \
19990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19992 "RANLIB=$${RANLIB}" \
19993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19994 maintainer-clean) \
19995 || exit 1
19997 @endif ld
20001 .PHONY: configure-libcpp maybe-configure-libcpp
20002 maybe-configure-libcpp:
20003 @if gcc-bootstrap
20004 configure-libcpp: stage_current
20005 @endif gcc-bootstrap
20006 @if libcpp
20007 maybe-configure-libcpp: configure-libcpp
20008 configure-libcpp:
20009 @r=`${PWD_COMMAND}`; export r; \
20010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20011 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20012 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20013 $(HOST_EXPORTS) \
20014 echo Configuring in $(HOST_SUBDIR)/libcpp; \
20015 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
20016 case $(srcdir) in \
20017 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20018 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20019 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20020 esac; \
20021 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20022 libsrcdir="$$s/libcpp"; \
20023 $(SHELL) $${libsrcdir}/configure \
20024 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20025 --target=${target_alias} $${srcdiroption} \
20026 || exit 1
20027 @endif libcpp
20031 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
20032 maybe-configure-stage1-libcpp:
20033 @if libcpp-bootstrap
20034 maybe-configure-stage1-libcpp: configure-stage1-libcpp
20035 configure-stage1-libcpp:
20036 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20037 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20038 @r=`${PWD_COMMAND}`; export r; \
20039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20040 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20041 $(HOST_EXPORTS) \
20042 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
20043 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20044 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20045 case $(srcdir) in \
20046 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20047 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20048 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20049 esac; \
20050 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20051 libsrcdir="$$s/libcpp"; \
20052 $(SHELL) $${libsrcdir}/configure \
20053 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20054 --target=${target_alias} $${srcdiroption} \
20056 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
20057 @endif libcpp-bootstrap
20059 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
20060 maybe-configure-stage2-libcpp:
20061 @if libcpp-bootstrap
20062 maybe-configure-stage2-libcpp: configure-stage2-libcpp
20063 configure-stage2-libcpp:
20064 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20065 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20066 @r=`${PWD_COMMAND}`; export r; \
20067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20068 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20069 $(HOST_EXPORTS) \
20070 $(POSTSTAGE1_HOST_EXPORTS) \
20071 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
20072 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20073 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20074 case $(srcdir) in \
20075 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20076 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20077 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20078 esac; \
20079 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20080 libsrcdir="$$s/libcpp"; \
20081 $(SHELL) $${libsrcdir}/configure \
20082 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20083 --target=${target_alias} $${srcdiroption} \
20084 --with-build-libsubdir=$(HOST_SUBDIR) \
20085 @stage2_werror_flag@
20086 @endif libcpp-bootstrap
20088 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
20089 maybe-configure-stage3-libcpp:
20090 @if libcpp-bootstrap
20091 maybe-configure-stage3-libcpp: configure-stage3-libcpp
20092 configure-stage3-libcpp:
20093 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20094 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20095 @r=`${PWD_COMMAND}`; export r; \
20096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20097 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20098 $(HOST_EXPORTS) \
20099 $(POSTSTAGE1_HOST_EXPORTS) \
20100 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
20101 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20102 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20103 case $(srcdir) in \
20104 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20105 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20106 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20107 esac; \
20108 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20109 libsrcdir="$$s/libcpp"; \
20110 $(SHELL) $${libsrcdir}/configure \
20111 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20112 --target=${target_alias} $${srcdiroption} \
20113 --with-build-libsubdir=$(HOST_SUBDIR) \
20114 @stage2_werror_flag@
20115 @endif libcpp-bootstrap
20117 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
20118 maybe-configure-stage4-libcpp:
20119 @if libcpp-bootstrap
20120 maybe-configure-stage4-libcpp: configure-stage4-libcpp
20121 configure-stage4-libcpp:
20122 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20123 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20124 @r=`${PWD_COMMAND}`; export r; \
20125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20126 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20127 $(HOST_EXPORTS) \
20128 $(POSTSTAGE1_HOST_EXPORTS) \
20129 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
20130 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20131 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20132 case $(srcdir) in \
20133 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20134 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20135 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20136 esac; \
20137 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20138 libsrcdir="$$s/libcpp"; \
20139 $(SHELL) $${libsrcdir}/configure \
20140 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20141 --target=${target_alias} $${srcdiroption} \
20142 --with-build-libsubdir=$(HOST_SUBDIR) \
20143 @stage2_werror_flag@
20144 @endif libcpp-bootstrap
20146 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
20147 maybe-configure-stageprofile-libcpp:
20148 @if libcpp-bootstrap
20149 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
20150 configure-stageprofile-libcpp:
20151 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20152 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20153 @r=`${PWD_COMMAND}`; export r; \
20154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20155 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20156 $(HOST_EXPORTS) \
20157 $(POSTSTAGE1_HOST_EXPORTS) \
20158 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
20159 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20160 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20161 case $(srcdir) in \
20162 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20163 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20164 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20165 esac; \
20166 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20167 libsrcdir="$$s/libcpp"; \
20168 $(SHELL) $${libsrcdir}/configure \
20169 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20170 --target=${target_alias} $${srcdiroption} \
20171 --with-build-libsubdir=$(HOST_SUBDIR) \
20172 @stage2_werror_flag@
20173 @endif libcpp-bootstrap
20175 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
20176 maybe-configure-stagefeedback-libcpp:
20177 @if libcpp-bootstrap
20178 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
20179 configure-stagefeedback-libcpp:
20180 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20181 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20182 @r=`${PWD_COMMAND}`; export r; \
20183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20184 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20185 $(HOST_EXPORTS) \
20186 $(POSTSTAGE1_HOST_EXPORTS) \
20187 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
20188 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20189 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20190 case $(srcdir) in \
20191 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20192 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20193 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20194 esac; \
20195 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20196 libsrcdir="$$s/libcpp"; \
20197 $(SHELL) $${libsrcdir}/configure \
20198 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20199 --target=${target_alias} $${srcdiroption} \
20200 --with-build-libsubdir=$(HOST_SUBDIR) \
20201 @stage2_werror_flag@
20202 @endif libcpp-bootstrap
20208 .PHONY: all-libcpp maybe-all-libcpp
20209 maybe-all-libcpp:
20210 @if gcc-bootstrap
20211 all-libcpp: stage_current
20212 @endif gcc-bootstrap
20213 @if libcpp
20214 TARGET-libcpp=all
20215 maybe-all-libcpp: all-libcpp
20216 all-libcpp: configure-libcpp
20217 @r=`${PWD_COMMAND}`; export r; \
20218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20219 $(HOST_EXPORTS) \
20220 (cd $(HOST_SUBDIR)/libcpp && \
20221 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
20222 @endif libcpp
20226 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
20227 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
20228 maybe-all-stage1-libcpp:
20229 maybe-clean-stage1-libcpp:
20230 @if libcpp-bootstrap
20231 maybe-all-stage1-libcpp: all-stage1-libcpp
20232 all-stage1: all-stage1-libcpp
20233 TARGET-stage1-libcpp = $(TARGET-libcpp)
20234 all-stage1-libcpp: configure-stage1-libcpp
20235 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20236 @r=`${PWD_COMMAND}`; export r; \
20237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20238 $(HOST_EXPORTS) \
20239 cd $(HOST_SUBDIR)/libcpp && \
20240 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
20241 $(TARGET-stage1-libcpp)
20243 maybe-clean-stage1-libcpp: clean-stage1-libcpp
20244 clean-stage1: clean-stage1-libcpp
20245 clean-stage1-libcpp:
20246 @if [ $(current_stage) = stage1 ]; then \
20247 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20248 else \
20249 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
20250 $(MAKE) stage1-start; \
20251 fi; \
20252 cd $(HOST_SUBDIR)/libcpp && \
20253 $(MAKE) $(FLAGS_TO_PASS) \
20254 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
20255 @endif libcpp-bootstrap
20258 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
20259 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
20260 maybe-all-stage2-libcpp:
20261 maybe-clean-stage2-libcpp:
20262 @if libcpp-bootstrap
20263 maybe-all-stage2-libcpp: all-stage2-libcpp
20264 all-stage2: all-stage2-libcpp
20265 TARGET-stage2-libcpp = $(TARGET-libcpp)
20266 all-stage2-libcpp: configure-stage2-libcpp
20267 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20268 @r=`${PWD_COMMAND}`; export r; \
20269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20270 $(HOST_EXPORTS) \
20271 $(POSTSTAGE1_HOST_EXPORTS) \
20272 cd $(HOST_SUBDIR)/libcpp && \
20273 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20274 $(TARGET-stage2-libcpp)
20276 maybe-clean-stage2-libcpp: clean-stage2-libcpp
20277 clean-stage2: clean-stage2-libcpp
20278 clean-stage2-libcpp:
20279 @if [ $(current_stage) = stage2 ]; then \
20280 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20281 else \
20282 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
20283 $(MAKE) stage2-start; \
20284 fi; \
20285 cd $(HOST_SUBDIR)/libcpp && \
20286 $(MAKE) $(FLAGS_TO_PASS) \
20287 $(POSTSTAGE1_FLAGS_TO_PASS) \
20288 clean
20289 @endif libcpp-bootstrap
20292 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
20293 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
20294 maybe-all-stage3-libcpp:
20295 maybe-clean-stage3-libcpp:
20296 @if libcpp-bootstrap
20297 maybe-all-stage3-libcpp: all-stage3-libcpp
20298 all-stage3: all-stage3-libcpp
20299 TARGET-stage3-libcpp = $(TARGET-libcpp)
20300 all-stage3-libcpp: configure-stage3-libcpp
20301 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20302 @r=`${PWD_COMMAND}`; export r; \
20303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20304 $(HOST_EXPORTS) \
20305 $(POSTSTAGE1_HOST_EXPORTS) \
20306 cd $(HOST_SUBDIR)/libcpp && \
20307 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20308 $(TARGET-stage3-libcpp)
20310 maybe-clean-stage3-libcpp: clean-stage3-libcpp
20311 clean-stage3: clean-stage3-libcpp
20312 clean-stage3-libcpp:
20313 @if [ $(current_stage) = stage3 ]; then \
20314 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20315 else \
20316 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
20317 $(MAKE) stage3-start; \
20318 fi; \
20319 cd $(HOST_SUBDIR)/libcpp && \
20320 $(MAKE) $(FLAGS_TO_PASS) \
20321 $(POSTSTAGE1_FLAGS_TO_PASS) \
20322 clean
20323 @endif libcpp-bootstrap
20326 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
20327 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
20328 maybe-all-stage4-libcpp:
20329 maybe-clean-stage4-libcpp:
20330 @if libcpp-bootstrap
20331 maybe-all-stage4-libcpp: all-stage4-libcpp
20332 all-stage4: all-stage4-libcpp
20333 TARGET-stage4-libcpp = $(TARGET-libcpp)
20334 all-stage4-libcpp: configure-stage4-libcpp
20335 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20336 @r=`${PWD_COMMAND}`; export r; \
20337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20338 $(HOST_EXPORTS) \
20339 $(POSTSTAGE1_HOST_EXPORTS) \
20340 cd $(HOST_SUBDIR)/libcpp && \
20341 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20342 $(TARGET-stage4-libcpp)
20344 maybe-clean-stage4-libcpp: clean-stage4-libcpp
20345 clean-stage4: clean-stage4-libcpp
20346 clean-stage4-libcpp:
20347 @if [ $(current_stage) = stage4 ]; then \
20348 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20349 else \
20350 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
20351 $(MAKE) stage4-start; \
20352 fi; \
20353 cd $(HOST_SUBDIR)/libcpp && \
20354 $(MAKE) $(FLAGS_TO_PASS) \
20355 $(POSTSTAGE1_FLAGS_TO_PASS) \
20356 clean
20357 @endif libcpp-bootstrap
20360 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
20361 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
20362 maybe-all-stageprofile-libcpp:
20363 maybe-clean-stageprofile-libcpp:
20364 @if libcpp-bootstrap
20365 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
20366 all-stageprofile: all-stageprofile-libcpp
20367 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
20368 all-stageprofile-libcpp: configure-stageprofile-libcpp
20369 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20370 @r=`${PWD_COMMAND}`; export r; \
20371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20372 $(HOST_EXPORTS) \
20373 $(POSTSTAGE1_HOST_EXPORTS) \
20374 cd $(HOST_SUBDIR)/libcpp && \
20375 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
20376 $(TARGET-stageprofile-libcpp)
20378 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
20379 clean-stageprofile: clean-stageprofile-libcpp
20380 clean-stageprofile-libcpp:
20381 @if [ $(current_stage) = stageprofile ]; then \
20382 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20383 else \
20384 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
20385 $(MAKE) stageprofile-start; \
20386 fi; \
20387 cd $(HOST_SUBDIR)/libcpp && \
20388 $(MAKE) $(FLAGS_TO_PASS) \
20389 $(POSTSTAGE1_FLAGS_TO_PASS) \
20390 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
20391 @endif libcpp-bootstrap
20394 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
20395 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
20396 maybe-all-stagefeedback-libcpp:
20397 maybe-clean-stagefeedback-libcpp:
20398 @if libcpp-bootstrap
20399 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
20400 all-stagefeedback: all-stagefeedback-libcpp
20401 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
20402 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
20403 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20404 @r=`${PWD_COMMAND}`; export r; \
20405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20406 $(HOST_EXPORTS) \
20407 $(POSTSTAGE1_HOST_EXPORTS) \
20408 cd $(HOST_SUBDIR)/libcpp && \
20409 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
20410 $(TARGET-stagefeedback-libcpp)
20412 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
20413 clean-stagefeedback: clean-stagefeedback-libcpp
20414 clean-stagefeedback-libcpp:
20415 @if [ $(current_stage) = stagefeedback ]; then \
20416 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20417 else \
20418 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
20419 $(MAKE) stagefeedback-start; \
20420 fi; \
20421 cd $(HOST_SUBDIR)/libcpp && \
20422 $(MAKE) $(FLAGS_TO_PASS) \
20423 $(POSTSTAGE1_FLAGS_TO_PASS) \
20424 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
20425 @endif libcpp-bootstrap
20431 .PHONY: check-libcpp maybe-check-libcpp
20432 maybe-check-libcpp:
20433 @if libcpp
20434 maybe-check-libcpp: check-libcpp
20436 check-libcpp:
20437 @: $(MAKE); $(unstage)
20438 @r=`${PWD_COMMAND}`; export r; \
20439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20440 $(HOST_EXPORTS) \
20441 (cd $(HOST_SUBDIR)/libcpp && \
20442 $(MAKE) $(FLAGS_TO_PASS) check)
20444 @endif libcpp
20446 .PHONY: install-libcpp maybe-install-libcpp
20447 maybe-install-libcpp:
20448 @if libcpp
20449 maybe-install-libcpp: install-libcpp
20451 install-libcpp: installdirs
20452 @: $(MAKE); $(unstage)
20453 @r=`${PWD_COMMAND}`; export r; \
20454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20455 $(HOST_EXPORTS) \
20456 (cd $(HOST_SUBDIR)/libcpp && \
20457 $(MAKE) $(FLAGS_TO_PASS) install)
20459 @endif libcpp
20461 # Other targets (info, dvi, pdf, etc.)
20463 .PHONY: maybe-info-libcpp info-libcpp
20464 maybe-info-libcpp:
20465 @if libcpp
20466 maybe-info-libcpp: info-libcpp
20468 info-libcpp: \
20469 configure-libcpp
20470 @[ -f ./libcpp/Makefile ] || exit 0; \
20471 r=`${PWD_COMMAND}`; export r; \
20472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20473 $(HOST_EXPORTS) \
20474 for flag in $(EXTRA_HOST_FLAGS) ; do \
20475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20476 done; \
20477 echo "Doing info in libcpp" ; \
20478 (cd $(HOST_SUBDIR)/libcpp && \
20479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20481 "RANLIB=$${RANLIB}" \
20482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20483 info) \
20484 || exit 1
20486 @endif libcpp
20488 .PHONY: maybe-dvi-libcpp dvi-libcpp
20489 maybe-dvi-libcpp:
20490 @if libcpp
20491 maybe-dvi-libcpp: dvi-libcpp
20493 dvi-libcpp: \
20494 configure-libcpp
20495 @[ -f ./libcpp/Makefile ] || exit 0; \
20496 r=`${PWD_COMMAND}`; export r; \
20497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20498 $(HOST_EXPORTS) \
20499 for flag in $(EXTRA_HOST_FLAGS) ; do \
20500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20501 done; \
20502 echo "Doing dvi in libcpp" ; \
20503 (cd $(HOST_SUBDIR)/libcpp && \
20504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20506 "RANLIB=$${RANLIB}" \
20507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20508 dvi) \
20509 || exit 1
20511 @endif libcpp
20513 .PHONY: maybe-pdf-libcpp pdf-libcpp
20514 maybe-pdf-libcpp:
20515 @if libcpp
20516 maybe-pdf-libcpp: pdf-libcpp
20518 pdf-libcpp: \
20519 configure-libcpp
20520 @[ -f ./libcpp/Makefile ] || exit 0; \
20521 r=`${PWD_COMMAND}`; export r; \
20522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20523 $(HOST_EXPORTS) \
20524 for flag in $(EXTRA_HOST_FLAGS) ; do \
20525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20526 done; \
20527 echo "Doing pdf in libcpp" ; \
20528 (cd $(HOST_SUBDIR)/libcpp && \
20529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20531 "RANLIB=$${RANLIB}" \
20532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20533 pdf) \
20534 || exit 1
20536 @endif libcpp
20538 .PHONY: maybe-html-libcpp html-libcpp
20539 maybe-html-libcpp:
20540 @if libcpp
20541 maybe-html-libcpp: html-libcpp
20543 html-libcpp: \
20544 configure-libcpp
20545 @[ -f ./libcpp/Makefile ] || exit 0; \
20546 r=`${PWD_COMMAND}`; export r; \
20547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20548 $(HOST_EXPORTS) \
20549 for flag in $(EXTRA_HOST_FLAGS) ; do \
20550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20551 done; \
20552 echo "Doing html in libcpp" ; \
20553 (cd $(HOST_SUBDIR)/libcpp && \
20554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20556 "RANLIB=$${RANLIB}" \
20557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20558 html) \
20559 || exit 1
20561 @endif libcpp
20563 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
20564 maybe-TAGS-libcpp:
20565 @if libcpp
20566 maybe-TAGS-libcpp: TAGS-libcpp
20568 TAGS-libcpp: \
20569 configure-libcpp
20570 @[ -f ./libcpp/Makefile ] || exit 0; \
20571 r=`${PWD_COMMAND}`; export r; \
20572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20573 $(HOST_EXPORTS) \
20574 for flag in $(EXTRA_HOST_FLAGS) ; do \
20575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20576 done; \
20577 echo "Doing TAGS in libcpp" ; \
20578 (cd $(HOST_SUBDIR)/libcpp && \
20579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20581 "RANLIB=$${RANLIB}" \
20582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20583 TAGS) \
20584 || exit 1
20586 @endif libcpp
20588 .PHONY: maybe-install-info-libcpp install-info-libcpp
20589 maybe-install-info-libcpp:
20590 @if libcpp
20591 maybe-install-info-libcpp: install-info-libcpp
20593 install-info-libcpp: \
20594 configure-libcpp \
20595 info-libcpp
20596 @[ -f ./libcpp/Makefile ] || exit 0; \
20597 r=`${PWD_COMMAND}`; export r; \
20598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20599 $(HOST_EXPORTS) \
20600 for flag in $(EXTRA_HOST_FLAGS) ; do \
20601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20602 done; \
20603 echo "Doing install-info in libcpp" ; \
20604 (cd $(HOST_SUBDIR)/libcpp && \
20605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20607 "RANLIB=$${RANLIB}" \
20608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20609 install-info) \
20610 || exit 1
20612 @endif libcpp
20614 .PHONY: maybe-install-html-libcpp install-html-libcpp
20615 maybe-install-html-libcpp:
20616 @if libcpp
20617 maybe-install-html-libcpp: install-html-libcpp
20619 install-html-libcpp: \
20620 configure-libcpp \
20621 html-libcpp
20622 @[ -f ./libcpp/Makefile ] || exit 0; \
20623 r=`${PWD_COMMAND}`; export r; \
20624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20625 $(HOST_EXPORTS) \
20626 for flag in $(EXTRA_HOST_FLAGS) ; do \
20627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20628 done; \
20629 echo "Doing install-html in libcpp" ; \
20630 (cd $(HOST_SUBDIR)/libcpp && \
20631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20633 "RANLIB=$${RANLIB}" \
20634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20635 install-html) \
20636 || exit 1
20638 @endif libcpp
20640 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
20641 maybe-installcheck-libcpp:
20642 @if libcpp
20643 maybe-installcheck-libcpp: installcheck-libcpp
20645 installcheck-libcpp: \
20646 configure-libcpp
20647 @[ -f ./libcpp/Makefile ] || exit 0; \
20648 r=`${PWD_COMMAND}`; export r; \
20649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20650 $(HOST_EXPORTS) \
20651 for flag in $(EXTRA_HOST_FLAGS) ; do \
20652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20653 done; \
20654 echo "Doing installcheck in libcpp" ; \
20655 (cd $(HOST_SUBDIR)/libcpp && \
20656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20658 "RANLIB=$${RANLIB}" \
20659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20660 installcheck) \
20661 || exit 1
20663 @endif libcpp
20665 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
20666 maybe-mostlyclean-libcpp:
20667 @if libcpp
20668 maybe-mostlyclean-libcpp: mostlyclean-libcpp
20670 mostlyclean-libcpp:
20671 @[ -f ./libcpp/Makefile ] || exit 0; \
20672 r=`${PWD_COMMAND}`; export r; \
20673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20674 $(HOST_EXPORTS) \
20675 for flag in $(EXTRA_HOST_FLAGS) ; do \
20676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20677 done; \
20678 echo "Doing mostlyclean in libcpp" ; \
20679 (cd $(HOST_SUBDIR)/libcpp && \
20680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20682 "RANLIB=$${RANLIB}" \
20683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20684 mostlyclean) \
20685 || exit 1
20687 @endif libcpp
20689 .PHONY: maybe-clean-libcpp clean-libcpp
20690 maybe-clean-libcpp:
20691 @if libcpp
20692 maybe-clean-libcpp: clean-libcpp
20694 clean-libcpp:
20695 @[ -f ./libcpp/Makefile ] || exit 0; \
20696 r=`${PWD_COMMAND}`; export r; \
20697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20698 $(HOST_EXPORTS) \
20699 for flag in $(EXTRA_HOST_FLAGS) ; do \
20700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20701 done; \
20702 echo "Doing clean in libcpp" ; \
20703 (cd $(HOST_SUBDIR)/libcpp && \
20704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20706 "RANLIB=$${RANLIB}" \
20707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20708 clean) \
20709 || exit 1
20711 @endif libcpp
20713 .PHONY: maybe-distclean-libcpp distclean-libcpp
20714 maybe-distclean-libcpp:
20715 @if libcpp
20716 maybe-distclean-libcpp: distclean-libcpp
20718 distclean-libcpp:
20719 @[ -f ./libcpp/Makefile ] || exit 0; \
20720 r=`${PWD_COMMAND}`; export r; \
20721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20722 $(HOST_EXPORTS) \
20723 for flag in $(EXTRA_HOST_FLAGS) ; do \
20724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20725 done; \
20726 echo "Doing distclean in libcpp" ; \
20727 (cd $(HOST_SUBDIR)/libcpp && \
20728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20730 "RANLIB=$${RANLIB}" \
20731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20732 distclean) \
20733 || exit 1
20735 @endif libcpp
20737 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
20738 maybe-maintainer-clean-libcpp:
20739 @if libcpp
20740 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
20742 maintainer-clean-libcpp:
20743 @[ -f ./libcpp/Makefile ] || exit 0; \
20744 r=`${PWD_COMMAND}`; export r; \
20745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20746 $(HOST_EXPORTS) \
20747 for flag in $(EXTRA_HOST_FLAGS) ; do \
20748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20749 done; \
20750 echo "Doing maintainer-clean in libcpp" ; \
20751 (cd $(HOST_SUBDIR)/libcpp && \
20752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20754 "RANLIB=$${RANLIB}" \
20755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20756 maintainer-clean) \
20757 || exit 1
20759 @endif libcpp
20763 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
20764 maybe-configure-libdecnumber:
20765 @if gcc-bootstrap
20766 configure-libdecnumber: stage_current
20767 @endif gcc-bootstrap
20768 @if libdecnumber
20769 maybe-configure-libdecnumber: configure-libdecnumber
20770 configure-libdecnumber:
20771 @r=`${PWD_COMMAND}`; export r; \
20772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20773 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20774 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20775 $(HOST_EXPORTS) \
20776 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
20777 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
20778 case $(srcdir) in \
20779 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20780 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20781 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20782 esac; \
20783 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20784 libsrcdir="$$s/libdecnumber"; \
20785 $(SHELL) $${libsrcdir}/configure \
20786 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20787 --target=${target_alias} $${srcdiroption} \
20788 || exit 1
20789 @endif libdecnumber
20793 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
20794 maybe-configure-stage1-libdecnumber:
20795 @if libdecnumber-bootstrap
20796 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
20797 configure-stage1-libdecnumber:
20798 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20799 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20800 @r=`${PWD_COMMAND}`; export r; \
20801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20802 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20803 $(HOST_EXPORTS) \
20804 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
20805 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20806 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20807 case $(srcdir) in \
20808 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20809 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20810 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20811 esac; \
20812 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20813 libsrcdir="$$s/libdecnumber"; \
20814 $(SHELL) $${libsrcdir}/configure \
20815 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20816 --target=${target_alias} $${srcdiroption} \
20818 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
20819 @endif libdecnumber-bootstrap
20821 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
20822 maybe-configure-stage2-libdecnumber:
20823 @if libdecnumber-bootstrap
20824 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
20825 configure-stage2-libdecnumber:
20826 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20827 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20828 @r=`${PWD_COMMAND}`; export r; \
20829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20830 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20831 $(HOST_EXPORTS) \
20832 $(POSTSTAGE1_HOST_EXPORTS) \
20833 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
20834 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20835 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20836 case $(srcdir) in \
20837 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20838 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20839 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20840 esac; \
20841 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20842 libsrcdir="$$s/libdecnumber"; \
20843 $(SHELL) $${libsrcdir}/configure \
20844 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20845 --target=${target_alias} $${srcdiroption} \
20846 --with-build-libsubdir=$(HOST_SUBDIR) \
20847 @stage2_werror_flag@
20848 @endif libdecnumber-bootstrap
20850 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
20851 maybe-configure-stage3-libdecnumber:
20852 @if libdecnumber-bootstrap
20853 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
20854 configure-stage3-libdecnumber:
20855 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20856 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20857 @r=`${PWD_COMMAND}`; export r; \
20858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20859 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20860 $(HOST_EXPORTS) \
20861 $(POSTSTAGE1_HOST_EXPORTS) \
20862 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
20863 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20864 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20865 case $(srcdir) in \
20866 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20867 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20868 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20869 esac; \
20870 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20871 libsrcdir="$$s/libdecnumber"; \
20872 $(SHELL) $${libsrcdir}/configure \
20873 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20874 --target=${target_alias} $${srcdiroption} \
20875 --with-build-libsubdir=$(HOST_SUBDIR) \
20876 @stage2_werror_flag@
20877 @endif libdecnumber-bootstrap
20879 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
20880 maybe-configure-stage4-libdecnumber:
20881 @if libdecnumber-bootstrap
20882 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
20883 configure-stage4-libdecnumber:
20884 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20885 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20886 @r=`${PWD_COMMAND}`; export r; \
20887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20888 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20889 $(HOST_EXPORTS) \
20890 $(POSTSTAGE1_HOST_EXPORTS) \
20891 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
20892 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20893 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20894 case $(srcdir) in \
20895 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20896 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20897 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20898 esac; \
20899 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20900 libsrcdir="$$s/libdecnumber"; \
20901 $(SHELL) $${libsrcdir}/configure \
20902 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20903 --target=${target_alias} $${srcdiroption} \
20904 --with-build-libsubdir=$(HOST_SUBDIR) \
20905 @stage2_werror_flag@
20906 @endif libdecnumber-bootstrap
20908 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
20909 maybe-configure-stageprofile-libdecnumber:
20910 @if libdecnumber-bootstrap
20911 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
20912 configure-stageprofile-libdecnumber:
20913 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20914 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20915 @r=`${PWD_COMMAND}`; export r; \
20916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20917 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20918 $(HOST_EXPORTS) \
20919 $(POSTSTAGE1_HOST_EXPORTS) \
20920 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
20921 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20922 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20923 case $(srcdir) in \
20924 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20925 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20926 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20927 esac; \
20928 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20929 libsrcdir="$$s/libdecnumber"; \
20930 $(SHELL) $${libsrcdir}/configure \
20931 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20932 --target=${target_alias} $${srcdiroption} \
20933 --with-build-libsubdir=$(HOST_SUBDIR) \
20934 @stage2_werror_flag@
20935 @endif libdecnumber-bootstrap
20937 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
20938 maybe-configure-stagefeedback-libdecnumber:
20939 @if libdecnumber-bootstrap
20940 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
20941 configure-stagefeedback-libdecnumber:
20942 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20943 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20944 @r=`${PWD_COMMAND}`; export r; \
20945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20946 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20947 $(HOST_EXPORTS) \
20948 $(POSTSTAGE1_HOST_EXPORTS) \
20949 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
20950 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20951 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20952 case $(srcdir) in \
20953 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20954 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20955 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20956 esac; \
20957 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20958 libsrcdir="$$s/libdecnumber"; \
20959 $(SHELL) $${libsrcdir}/configure \
20960 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20961 --target=${target_alias} $${srcdiroption} \
20962 --with-build-libsubdir=$(HOST_SUBDIR) \
20963 @stage2_werror_flag@
20964 @endif libdecnumber-bootstrap
20970 .PHONY: all-libdecnumber maybe-all-libdecnumber
20971 maybe-all-libdecnumber:
20972 @if gcc-bootstrap
20973 all-libdecnumber: stage_current
20974 @endif gcc-bootstrap
20975 @if libdecnumber
20976 TARGET-libdecnumber=all
20977 maybe-all-libdecnumber: all-libdecnumber
20978 all-libdecnumber: configure-libdecnumber
20979 @r=`${PWD_COMMAND}`; export r; \
20980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20981 $(HOST_EXPORTS) \
20982 (cd $(HOST_SUBDIR)/libdecnumber && \
20983 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libdecnumber))
20984 @endif libdecnumber
20988 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
20989 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
20990 maybe-all-stage1-libdecnumber:
20991 maybe-clean-stage1-libdecnumber:
20992 @if libdecnumber-bootstrap
20993 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
20994 all-stage1: all-stage1-libdecnumber
20995 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
20996 all-stage1-libdecnumber: configure-stage1-libdecnumber
20997 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20998 @r=`${PWD_COMMAND}`; export r; \
20999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21000 $(HOST_EXPORTS) \
21001 cd $(HOST_SUBDIR)/libdecnumber && \
21002 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
21003 $(TARGET-stage1-libdecnumber)
21005 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
21006 clean-stage1: clean-stage1-libdecnumber
21007 clean-stage1-libdecnumber:
21008 @if [ $(current_stage) = stage1 ]; then \
21009 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21010 else \
21011 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
21012 $(MAKE) stage1-start; \
21013 fi; \
21014 cd $(HOST_SUBDIR)/libdecnumber && \
21015 $(MAKE) $(FLAGS_TO_PASS) \
21016 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
21017 @endif libdecnumber-bootstrap
21020 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
21021 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
21022 maybe-all-stage2-libdecnumber:
21023 maybe-clean-stage2-libdecnumber:
21024 @if libdecnumber-bootstrap
21025 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
21026 all-stage2: all-stage2-libdecnumber
21027 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
21028 all-stage2-libdecnumber: configure-stage2-libdecnumber
21029 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21030 @r=`${PWD_COMMAND}`; export r; \
21031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21032 $(HOST_EXPORTS) \
21033 $(POSTSTAGE1_HOST_EXPORTS) \
21034 cd $(HOST_SUBDIR)/libdecnumber && \
21035 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21036 $(TARGET-stage2-libdecnumber)
21038 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
21039 clean-stage2: clean-stage2-libdecnumber
21040 clean-stage2-libdecnumber:
21041 @if [ $(current_stage) = stage2 ]; then \
21042 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21043 else \
21044 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
21045 $(MAKE) stage2-start; \
21046 fi; \
21047 cd $(HOST_SUBDIR)/libdecnumber && \
21048 $(MAKE) $(FLAGS_TO_PASS) \
21049 $(POSTSTAGE1_FLAGS_TO_PASS) \
21050 clean
21051 @endif libdecnumber-bootstrap
21054 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
21055 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
21056 maybe-all-stage3-libdecnumber:
21057 maybe-clean-stage3-libdecnumber:
21058 @if libdecnumber-bootstrap
21059 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
21060 all-stage3: all-stage3-libdecnumber
21061 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
21062 all-stage3-libdecnumber: configure-stage3-libdecnumber
21063 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21064 @r=`${PWD_COMMAND}`; export r; \
21065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21066 $(HOST_EXPORTS) \
21067 $(POSTSTAGE1_HOST_EXPORTS) \
21068 cd $(HOST_SUBDIR)/libdecnumber && \
21069 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21070 $(TARGET-stage3-libdecnumber)
21072 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
21073 clean-stage3: clean-stage3-libdecnumber
21074 clean-stage3-libdecnumber:
21075 @if [ $(current_stage) = stage3 ]; then \
21076 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21077 else \
21078 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
21079 $(MAKE) stage3-start; \
21080 fi; \
21081 cd $(HOST_SUBDIR)/libdecnumber && \
21082 $(MAKE) $(FLAGS_TO_PASS) \
21083 $(POSTSTAGE1_FLAGS_TO_PASS) \
21084 clean
21085 @endif libdecnumber-bootstrap
21088 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
21089 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
21090 maybe-all-stage4-libdecnumber:
21091 maybe-clean-stage4-libdecnumber:
21092 @if libdecnumber-bootstrap
21093 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
21094 all-stage4: all-stage4-libdecnumber
21095 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
21096 all-stage4-libdecnumber: configure-stage4-libdecnumber
21097 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21098 @r=`${PWD_COMMAND}`; export r; \
21099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21100 $(HOST_EXPORTS) \
21101 $(POSTSTAGE1_HOST_EXPORTS) \
21102 cd $(HOST_SUBDIR)/libdecnumber && \
21103 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21104 $(TARGET-stage4-libdecnumber)
21106 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
21107 clean-stage4: clean-stage4-libdecnumber
21108 clean-stage4-libdecnumber:
21109 @if [ $(current_stage) = stage4 ]; then \
21110 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21111 else \
21112 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
21113 $(MAKE) stage4-start; \
21114 fi; \
21115 cd $(HOST_SUBDIR)/libdecnumber && \
21116 $(MAKE) $(FLAGS_TO_PASS) \
21117 $(POSTSTAGE1_FLAGS_TO_PASS) \
21118 clean
21119 @endif libdecnumber-bootstrap
21122 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
21123 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
21124 maybe-all-stageprofile-libdecnumber:
21125 maybe-clean-stageprofile-libdecnumber:
21126 @if libdecnumber-bootstrap
21127 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
21128 all-stageprofile: all-stageprofile-libdecnumber
21129 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
21130 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21131 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21132 @r=`${PWD_COMMAND}`; export r; \
21133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21134 $(HOST_EXPORTS) \
21135 $(POSTSTAGE1_HOST_EXPORTS) \
21136 cd $(HOST_SUBDIR)/libdecnumber && \
21137 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
21138 $(TARGET-stageprofile-libdecnumber)
21140 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
21141 clean-stageprofile: clean-stageprofile-libdecnumber
21142 clean-stageprofile-libdecnumber:
21143 @if [ $(current_stage) = stageprofile ]; then \
21144 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21145 else \
21146 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
21147 $(MAKE) stageprofile-start; \
21148 fi; \
21149 cd $(HOST_SUBDIR)/libdecnumber && \
21150 $(MAKE) $(FLAGS_TO_PASS) \
21151 $(POSTSTAGE1_FLAGS_TO_PASS) \
21152 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
21153 @endif libdecnumber-bootstrap
21156 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
21157 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
21158 maybe-all-stagefeedback-libdecnumber:
21159 maybe-clean-stagefeedback-libdecnumber:
21160 @if libdecnumber-bootstrap
21161 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
21162 all-stagefeedback: all-stagefeedback-libdecnumber
21163 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
21164 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21165 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21166 @r=`${PWD_COMMAND}`; export r; \
21167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21168 $(HOST_EXPORTS) \
21169 $(POSTSTAGE1_HOST_EXPORTS) \
21170 cd $(HOST_SUBDIR)/libdecnumber && \
21171 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
21172 $(TARGET-stagefeedback-libdecnumber)
21174 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
21175 clean-stagefeedback: clean-stagefeedback-libdecnumber
21176 clean-stagefeedback-libdecnumber:
21177 @if [ $(current_stage) = stagefeedback ]; then \
21178 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21179 else \
21180 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
21181 $(MAKE) stagefeedback-start; \
21182 fi; \
21183 cd $(HOST_SUBDIR)/libdecnumber && \
21184 $(MAKE) $(FLAGS_TO_PASS) \
21185 $(POSTSTAGE1_FLAGS_TO_PASS) \
21186 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
21187 @endif libdecnumber-bootstrap
21193 .PHONY: check-libdecnumber maybe-check-libdecnumber
21194 maybe-check-libdecnumber:
21195 @if libdecnumber
21196 maybe-check-libdecnumber: check-libdecnumber
21198 check-libdecnumber:
21199 @: $(MAKE); $(unstage)
21200 @r=`${PWD_COMMAND}`; export r; \
21201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21202 $(HOST_EXPORTS) \
21203 (cd $(HOST_SUBDIR)/libdecnumber && \
21204 $(MAKE) $(FLAGS_TO_PASS) check)
21206 @endif libdecnumber
21208 .PHONY: install-libdecnumber maybe-install-libdecnumber
21209 maybe-install-libdecnumber:
21210 @if libdecnumber
21211 maybe-install-libdecnumber: install-libdecnumber
21213 install-libdecnumber: installdirs
21214 @: $(MAKE); $(unstage)
21215 @r=`${PWD_COMMAND}`; export r; \
21216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21217 $(HOST_EXPORTS) \
21218 (cd $(HOST_SUBDIR)/libdecnumber && \
21219 $(MAKE) $(FLAGS_TO_PASS) install)
21221 @endif libdecnumber
21223 # Other targets (info, dvi, pdf, etc.)
21225 .PHONY: maybe-info-libdecnumber info-libdecnumber
21226 maybe-info-libdecnumber:
21227 @if libdecnumber
21228 maybe-info-libdecnumber: info-libdecnumber
21230 info-libdecnumber: \
21231 configure-libdecnumber
21232 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21233 r=`${PWD_COMMAND}`; export r; \
21234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21235 $(HOST_EXPORTS) \
21236 for flag in $(EXTRA_HOST_FLAGS) ; do \
21237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21238 done; \
21239 echo "Doing info in libdecnumber" ; \
21240 (cd $(HOST_SUBDIR)/libdecnumber && \
21241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21243 "RANLIB=$${RANLIB}" \
21244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21245 info) \
21246 || exit 1
21248 @endif libdecnumber
21250 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
21251 maybe-dvi-libdecnumber:
21252 @if libdecnumber
21253 maybe-dvi-libdecnumber: dvi-libdecnumber
21255 dvi-libdecnumber: \
21256 configure-libdecnumber
21257 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21258 r=`${PWD_COMMAND}`; export r; \
21259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21260 $(HOST_EXPORTS) \
21261 for flag in $(EXTRA_HOST_FLAGS) ; do \
21262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21263 done; \
21264 echo "Doing dvi in libdecnumber" ; \
21265 (cd $(HOST_SUBDIR)/libdecnumber && \
21266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21268 "RANLIB=$${RANLIB}" \
21269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21270 dvi) \
21271 || exit 1
21273 @endif libdecnumber
21275 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
21276 maybe-pdf-libdecnumber:
21277 @if libdecnumber
21278 maybe-pdf-libdecnumber: pdf-libdecnumber
21280 pdf-libdecnumber: \
21281 configure-libdecnumber
21282 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21283 r=`${PWD_COMMAND}`; export r; \
21284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21285 $(HOST_EXPORTS) \
21286 for flag in $(EXTRA_HOST_FLAGS) ; do \
21287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21288 done; \
21289 echo "Doing pdf in libdecnumber" ; \
21290 (cd $(HOST_SUBDIR)/libdecnumber && \
21291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21293 "RANLIB=$${RANLIB}" \
21294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21295 pdf) \
21296 || exit 1
21298 @endif libdecnumber
21300 .PHONY: maybe-html-libdecnumber html-libdecnumber
21301 maybe-html-libdecnumber:
21302 @if libdecnumber
21303 maybe-html-libdecnumber: html-libdecnumber
21305 html-libdecnumber: \
21306 configure-libdecnumber
21307 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21308 r=`${PWD_COMMAND}`; export r; \
21309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21310 $(HOST_EXPORTS) \
21311 for flag in $(EXTRA_HOST_FLAGS) ; do \
21312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21313 done; \
21314 echo "Doing html in libdecnumber" ; \
21315 (cd $(HOST_SUBDIR)/libdecnumber && \
21316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21318 "RANLIB=$${RANLIB}" \
21319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21320 html) \
21321 || exit 1
21323 @endif libdecnumber
21325 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
21326 maybe-TAGS-libdecnumber:
21327 @if libdecnumber
21328 maybe-TAGS-libdecnumber: TAGS-libdecnumber
21330 TAGS-libdecnumber: \
21331 configure-libdecnumber
21332 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21333 r=`${PWD_COMMAND}`; export r; \
21334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21335 $(HOST_EXPORTS) \
21336 for flag in $(EXTRA_HOST_FLAGS) ; do \
21337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21338 done; \
21339 echo "Doing TAGS in libdecnumber" ; \
21340 (cd $(HOST_SUBDIR)/libdecnumber && \
21341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21343 "RANLIB=$${RANLIB}" \
21344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21345 TAGS) \
21346 || exit 1
21348 @endif libdecnumber
21350 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
21351 maybe-install-info-libdecnumber:
21352 @if libdecnumber
21353 maybe-install-info-libdecnumber: install-info-libdecnumber
21355 install-info-libdecnumber: \
21356 configure-libdecnumber \
21357 info-libdecnumber
21358 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21359 r=`${PWD_COMMAND}`; export r; \
21360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21361 $(HOST_EXPORTS) \
21362 for flag in $(EXTRA_HOST_FLAGS) ; do \
21363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21364 done; \
21365 echo "Doing install-info in libdecnumber" ; \
21366 (cd $(HOST_SUBDIR)/libdecnumber && \
21367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21369 "RANLIB=$${RANLIB}" \
21370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21371 install-info) \
21372 || exit 1
21374 @endif libdecnumber
21376 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
21377 maybe-install-html-libdecnumber:
21378 @if libdecnumber
21379 maybe-install-html-libdecnumber: install-html-libdecnumber
21381 install-html-libdecnumber: \
21382 configure-libdecnumber \
21383 html-libdecnumber
21384 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21385 r=`${PWD_COMMAND}`; export r; \
21386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21387 $(HOST_EXPORTS) \
21388 for flag in $(EXTRA_HOST_FLAGS) ; do \
21389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21390 done; \
21391 echo "Doing install-html in libdecnumber" ; \
21392 (cd $(HOST_SUBDIR)/libdecnumber && \
21393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21395 "RANLIB=$${RANLIB}" \
21396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21397 install-html) \
21398 || exit 1
21400 @endif libdecnumber
21402 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
21403 maybe-installcheck-libdecnumber:
21404 @if libdecnumber
21405 maybe-installcheck-libdecnumber: installcheck-libdecnumber
21407 installcheck-libdecnumber: \
21408 configure-libdecnumber
21409 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21410 r=`${PWD_COMMAND}`; export r; \
21411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21412 $(HOST_EXPORTS) \
21413 for flag in $(EXTRA_HOST_FLAGS) ; do \
21414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21415 done; \
21416 echo "Doing installcheck in libdecnumber" ; \
21417 (cd $(HOST_SUBDIR)/libdecnumber && \
21418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21420 "RANLIB=$${RANLIB}" \
21421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21422 installcheck) \
21423 || exit 1
21425 @endif libdecnumber
21427 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
21428 maybe-mostlyclean-libdecnumber:
21429 @if libdecnumber
21430 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
21432 mostlyclean-libdecnumber:
21433 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21434 r=`${PWD_COMMAND}`; export r; \
21435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21436 $(HOST_EXPORTS) \
21437 for flag in $(EXTRA_HOST_FLAGS) ; do \
21438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21439 done; \
21440 echo "Doing mostlyclean in libdecnumber" ; \
21441 (cd $(HOST_SUBDIR)/libdecnumber && \
21442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21444 "RANLIB=$${RANLIB}" \
21445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21446 mostlyclean) \
21447 || exit 1
21449 @endif libdecnumber
21451 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
21452 maybe-clean-libdecnumber:
21453 @if libdecnumber
21454 maybe-clean-libdecnumber: clean-libdecnumber
21456 clean-libdecnumber:
21457 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21458 r=`${PWD_COMMAND}`; export r; \
21459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21460 $(HOST_EXPORTS) \
21461 for flag in $(EXTRA_HOST_FLAGS) ; do \
21462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21463 done; \
21464 echo "Doing clean in libdecnumber" ; \
21465 (cd $(HOST_SUBDIR)/libdecnumber && \
21466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21468 "RANLIB=$${RANLIB}" \
21469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21470 clean) \
21471 || exit 1
21473 @endif libdecnumber
21475 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
21476 maybe-distclean-libdecnumber:
21477 @if libdecnumber
21478 maybe-distclean-libdecnumber: distclean-libdecnumber
21480 distclean-libdecnumber:
21481 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21482 r=`${PWD_COMMAND}`; export r; \
21483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21484 $(HOST_EXPORTS) \
21485 for flag in $(EXTRA_HOST_FLAGS) ; do \
21486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21487 done; \
21488 echo "Doing distclean in libdecnumber" ; \
21489 (cd $(HOST_SUBDIR)/libdecnumber && \
21490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21492 "RANLIB=$${RANLIB}" \
21493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21494 distclean) \
21495 || exit 1
21497 @endif libdecnumber
21499 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
21500 maybe-maintainer-clean-libdecnumber:
21501 @if libdecnumber
21502 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
21504 maintainer-clean-libdecnumber:
21505 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21506 r=`${PWD_COMMAND}`; export r; \
21507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21508 $(HOST_EXPORTS) \
21509 for flag in $(EXTRA_HOST_FLAGS) ; do \
21510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21511 done; \
21512 echo "Doing maintainer-clean in libdecnumber" ; \
21513 (cd $(HOST_SUBDIR)/libdecnumber && \
21514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21516 "RANLIB=$${RANLIB}" \
21517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21518 maintainer-clean) \
21519 || exit 1
21521 @endif libdecnumber
21525 .PHONY: configure-libgui maybe-configure-libgui
21526 maybe-configure-libgui:
21527 @if gcc-bootstrap
21528 configure-libgui: stage_current
21529 @endif gcc-bootstrap
21530 @if libgui
21531 maybe-configure-libgui: configure-libgui
21532 configure-libgui:
21533 @: $(MAKE); $(unstage)
21534 @r=`${PWD_COMMAND}`; export r; \
21535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21536 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
21537 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
21538 $(HOST_EXPORTS) \
21539 echo Configuring in $(HOST_SUBDIR)/libgui; \
21540 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
21541 case $(srcdir) in \
21542 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21543 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
21544 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21545 esac; \
21546 srcdiroption="--srcdir=$${topdir}/libgui"; \
21547 libsrcdir="$$s/libgui"; \
21548 $(SHELL) $${libsrcdir}/configure \
21549 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21550 --target=${target_alias} $${srcdiroption} \
21551 || exit 1
21552 @endif libgui
21558 .PHONY: all-libgui maybe-all-libgui
21559 maybe-all-libgui:
21560 @if gcc-bootstrap
21561 all-libgui: stage_current
21562 @endif gcc-bootstrap
21563 @if libgui
21564 TARGET-libgui=all
21565 maybe-all-libgui: all-libgui
21566 all-libgui: configure-libgui
21567 @: $(MAKE); $(unstage)
21568 @r=`${PWD_COMMAND}`; export r; \
21569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21570 $(HOST_EXPORTS) \
21571 (cd $(HOST_SUBDIR)/libgui && \
21572 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
21573 @endif libgui
21578 .PHONY: check-libgui maybe-check-libgui
21579 maybe-check-libgui:
21580 @if libgui
21581 maybe-check-libgui: check-libgui
21583 check-libgui:
21584 @: $(MAKE); $(unstage)
21585 @r=`${PWD_COMMAND}`; export r; \
21586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21587 $(HOST_EXPORTS) \
21588 (cd $(HOST_SUBDIR)/libgui && \
21589 $(MAKE) $(FLAGS_TO_PASS) check)
21591 @endif libgui
21593 .PHONY: install-libgui maybe-install-libgui
21594 maybe-install-libgui:
21595 @if libgui
21596 maybe-install-libgui: install-libgui
21598 install-libgui: installdirs
21599 @: $(MAKE); $(unstage)
21600 @r=`${PWD_COMMAND}`; export r; \
21601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21602 $(HOST_EXPORTS) \
21603 (cd $(HOST_SUBDIR)/libgui && \
21604 $(MAKE) $(FLAGS_TO_PASS) install)
21606 @endif libgui
21608 # Other targets (info, dvi, pdf, etc.)
21610 .PHONY: maybe-info-libgui info-libgui
21611 maybe-info-libgui:
21612 @if libgui
21613 maybe-info-libgui: info-libgui
21615 info-libgui: \
21616 configure-libgui
21617 @: $(MAKE); $(unstage)
21618 @[ -f ./libgui/Makefile ] || exit 0; \
21619 r=`${PWD_COMMAND}`; export r; \
21620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21621 $(HOST_EXPORTS) \
21622 for flag in $(EXTRA_HOST_FLAGS) ; do \
21623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21624 done; \
21625 echo "Doing info in libgui" ; \
21626 (cd $(HOST_SUBDIR)/libgui && \
21627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21629 "RANLIB=$${RANLIB}" \
21630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21631 info) \
21632 || exit 1
21634 @endif libgui
21636 .PHONY: maybe-dvi-libgui dvi-libgui
21637 maybe-dvi-libgui:
21638 @if libgui
21639 maybe-dvi-libgui: dvi-libgui
21641 dvi-libgui: \
21642 configure-libgui
21643 @: $(MAKE); $(unstage)
21644 @[ -f ./libgui/Makefile ] || exit 0; \
21645 r=`${PWD_COMMAND}`; export r; \
21646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21647 $(HOST_EXPORTS) \
21648 for flag in $(EXTRA_HOST_FLAGS) ; do \
21649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21650 done; \
21651 echo "Doing dvi in libgui" ; \
21652 (cd $(HOST_SUBDIR)/libgui && \
21653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21655 "RANLIB=$${RANLIB}" \
21656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21657 dvi) \
21658 || exit 1
21660 @endif libgui
21662 .PHONY: maybe-pdf-libgui pdf-libgui
21663 maybe-pdf-libgui:
21664 @if libgui
21665 maybe-pdf-libgui: pdf-libgui
21667 pdf-libgui: \
21668 configure-libgui
21669 @: $(MAKE); $(unstage)
21670 @[ -f ./libgui/Makefile ] || exit 0; \
21671 r=`${PWD_COMMAND}`; export r; \
21672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21673 $(HOST_EXPORTS) \
21674 for flag in $(EXTRA_HOST_FLAGS) ; do \
21675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21676 done; \
21677 echo "Doing pdf in libgui" ; \
21678 (cd $(HOST_SUBDIR)/libgui && \
21679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21681 "RANLIB=$${RANLIB}" \
21682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21683 pdf) \
21684 || exit 1
21686 @endif libgui
21688 .PHONY: maybe-html-libgui html-libgui
21689 maybe-html-libgui:
21690 @if libgui
21691 maybe-html-libgui: html-libgui
21693 html-libgui: \
21694 configure-libgui
21695 @: $(MAKE); $(unstage)
21696 @[ -f ./libgui/Makefile ] || exit 0; \
21697 r=`${PWD_COMMAND}`; export r; \
21698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21699 $(HOST_EXPORTS) \
21700 for flag in $(EXTRA_HOST_FLAGS) ; do \
21701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21702 done; \
21703 echo "Doing html in libgui" ; \
21704 (cd $(HOST_SUBDIR)/libgui && \
21705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21707 "RANLIB=$${RANLIB}" \
21708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21709 html) \
21710 || exit 1
21712 @endif libgui
21714 .PHONY: maybe-TAGS-libgui TAGS-libgui
21715 maybe-TAGS-libgui:
21716 @if libgui
21717 maybe-TAGS-libgui: TAGS-libgui
21719 TAGS-libgui: \
21720 configure-libgui
21721 @: $(MAKE); $(unstage)
21722 @[ -f ./libgui/Makefile ] || exit 0; \
21723 r=`${PWD_COMMAND}`; export r; \
21724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21725 $(HOST_EXPORTS) \
21726 for flag in $(EXTRA_HOST_FLAGS) ; do \
21727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21728 done; \
21729 echo "Doing TAGS in libgui" ; \
21730 (cd $(HOST_SUBDIR)/libgui && \
21731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21733 "RANLIB=$${RANLIB}" \
21734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21735 TAGS) \
21736 || exit 1
21738 @endif libgui
21740 .PHONY: maybe-install-info-libgui install-info-libgui
21741 maybe-install-info-libgui:
21742 @if libgui
21743 maybe-install-info-libgui: install-info-libgui
21745 install-info-libgui: \
21746 configure-libgui \
21747 info-libgui
21748 @: $(MAKE); $(unstage)
21749 @[ -f ./libgui/Makefile ] || exit 0; \
21750 r=`${PWD_COMMAND}`; export r; \
21751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21752 $(HOST_EXPORTS) \
21753 for flag in $(EXTRA_HOST_FLAGS) ; do \
21754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21755 done; \
21756 echo "Doing install-info in libgui" ; \
21757 (cd $(HOST_SUBDIR)/libgui && \
21758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21760 "RANLIB=$${RANLIB}" \
21761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21762 install-info) \
21763 || exit 1
21765 @endif libgui
21767 .PHONY: maybe-install-html-libgui install-html-libgui
21768 maybe-install-html-libgui:
21769 @if libgui
21770 maybe-install-html-libgui: install-html-libgui
21772 install-html-libgui: \
21773 configure-libgui \
21774 html-libgui
21775 @: $(MAKE); $(unstage)
21776 @[ -f ./libgui/Makefile ] || exit 0; \
21777 r=`${PWD_COMMAND}`; export r; \
21778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21779 $(HOST_EXPORTS) \
21780 for flag in $(EXTRA_HOST_FLAGS) ; do \
21781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21782 done; \
21783 echo "Doing install-html in libgui" ; \
21784 (cd $(HOST_SUBDIR)/libgui && \
21785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21787 "RANLIB=$${RANLIB}" \
21788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21789 install-html) \
21790 || exit 1
21792 @endif libgui
21794 .PHONY: maybe-installcheck-libgui installcheck-libgui
21795 maybe-installcheck-libgui:
21796 @if libgui
21797 maybe-installcheck-libgui: installcheck-libgui
21799 installcheck-libgui: \
21800 configure-libgui
21801 @: $(MAKE); $(unstage)
21802 @[ -f ./libgui/Makefile ] || exit 0; \
21803 r=`${PWD_COMMAND}`; export r; \
21804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21805 $(HOST_EXPORTS) \
21806 for flag in $(EXTRA_HOST_FLAGS) ; do \
21807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21808 done; \
21809 echo "Doing installcheck in libgui" ; \
21810 (cd $(HOST_SUBDIR)/libgui && \
21811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21813 "RANLIB=$${RANLIB}" \
21814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21815 installcheck) \
21816 || exit 1
21818 @endif libgui
21820 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
21821 maybe-mostlyclean-libgui:
21822 @if libgui
21823 maybe-mostlyclean-libgui: mostlyclean-libgui
21825 mostlyclean-libgui:
21826 @: $(MAKE); $(unstage)
21827 @[ -f ./libgui/Makefile ] || exit 0; \
21828 r=`${PWD_COMMAND}`; export r; \
21829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21830 $(HOST_EXPORTS) \
21831 for flag in $(EXTRA_HOST_FLAGS) ; do \
21832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21833 done; \
21834 echo "Doing mostlyclean in libgui" ; \
21835 (cd $(HOST_SUBDIR)/libgui && \
21836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21838 "RANLIB=$${RANLIB}" \
21839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21840 mostlyclean) \
21841 || exit 1
21843 @endif libgui
21845 .PHONY: maybe-clean-libgui clean-libgui
21846 maybe-clean-libgui:
21847 @if libgui
21848 maybe-clean-libgui: clean-libgui
21850 clean-libgui:
21851 @: $(MAKE); $(unstage)
21852 @[ -f ./libgui/Makefile ] || exit 0; \
21853 r=`${PWD_COMMAND}`; export r; \
21854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21855 $(HOST_EXPORTS) \
21856 for flag in $(EXTRA_HOST_FLAGS) ; do \
21857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21858 done; \
21859 echo "Doing clean in libgui" ; \
21860 (cd $(HOST_SUBDIR)/libgui && \
21861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21863 "RANLIB=$${RANLIB}" \
21864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21865 clean) \
21866 || exit 1
21868 @endif libgui
21870 .PHONY: maybe-distclean-libgui distclean-libgui
21871 maybe-distclean-libgui:
21872 @if libgui
21873 maybe-distclean-libgui: distclean-libgui
21875 distclean-libgui:
21876 @: $(MAKE); $(unstage)
21877 @[ -f ./libgui/Makefile ] || exit 0; \
21878 r=`${PWD_COMMAND}`; export r; \
21879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21880 $(HOST_EXPORTS) \
21881 for flag in $(EXTRA_HOST_FLAGS) ; do \
21882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21883 done; \
21884 echo "Doing distclean in libgui" ; \
21885 (cd $(HOST_SUBDIR)/libgui && \
21886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21888 "RANLIB=$${RANLIB}" \
21889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21890 distclean) \
21891 || exit 1
21893 @endif libgui
21895 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
21896 maybe-maintainer-clean-libgui:
21897 @if libgui
21898 maybe-maintainer-clean-libgui: maintainer-clean-libgui
21900 maintainer-clean-libgui:
21901 @: $(MAKE); $(unstage)
21902 @[ -f ./libgui/Makefile ] || exit 0; \
21903 r=`${PWD_COMMAND}`; export r; \
21904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21905 $(HOST_EXPORTS) \
21906 for flag in $(EXTRA_HOST_FLAGS) ; do \
21907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21908 done; \
21909 echo "Doing maintainer-clean in libgui" ; \
21910 (cd $(HOST_SUBDIR)/libgui && \
21911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21913 "RANLIB=$${RANLIB}" \
21914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21915 maintainer-clean) \
21916 || exit 1
21918 @endif libgui
21922 .PHONY: configure-libiberty maybe-configure-libiberty
21923 maybe-configure-libiberty:
21924 @if gcc-bootstrap
21925 configure-libiberty: stage_current
21926 @endif gcc-bootstrap
21927 @if libiberty
21928 maybe-configure-libiberty: configure-libiberty
21929 configure-libiberty:
21930 @r=`${PWD_COMMAND}`; export r; \
21931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21932 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21933 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21934 $(HOST_EXPORTS) \
21935 echo Configuring in $(HOST_SUBDIR)/libiberty; \
21936 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
21937 case $(srcdir) in \
21938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21939 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21941 esac; \
21942 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21943 libsrcdir="$$s/libiberty"; \
21944 $(SHELL) $${libsrcdir}/configure \
21945 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21946 --target=${target_alias} $${srcdiroption} \
21947 || exit 1
21948 @endif libiberty
21952 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
21953 maybe-configure-stage1-libiberty:
21954 @if libiberty-bootstrap
21955 maybe-configure-stage1-libiberty: configure-stage1-libiberty
21956 configure-stage1-libiberty:
21957 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21958 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21959 @r=`${PWD_COMMAND}`; export r; \
21960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21961 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21962 $(HOST_EXPORTS) \
21963 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
21964 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21965 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21966 case $(srcdir) in \
21967 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21968 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21969 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21970 esac; \
21971 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21972 libsrcdir="$$s/libiberty"; \
21973 $(SHELL) $${libsrcdir}/configure \
21974 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21975 --target=${target_alias} $${srcdiroption} \
21977 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
21978 @endif libiberty-bootstrap
21980 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
21981 maybe-configure-stage2-libiberty:
21982 @if libiberty-bootstrap
21983 maybe-configure-stage2-libiberty: configure-stage2-libiberty
21984 configure-stage2-libiberty:
21985 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21986 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21987 @r=`${PWD_COMMAND}`; export r; \
21988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21989 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21990 $(HOST_EXPORTS) \
21991 $(POSTSTAGE1_HOST_EXPORTS) \
21992 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
21993 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21994 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21995 case $(srcdir) in \
21996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21997 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21999 esac; \
22000 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22001 libsrcdir="$$s/libiberty"; \
22002 $(SHELL) $${libsrcdir}/configure \
22003 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22004 --target=${target_alias} $${srcdiroption} \
22005 --with-build-libsubdir=$(HOST_SUBDIR) \
22006 @stage2_werror_flag@
22007 @endif libiberty-bootstrap
22009 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
22010 maybe-configure-stage3-libiberty:
22011 @if libiberty-bootstrap
22012 maybe-configure-stage3-libiberty: configure-stage3-libiberty
22013 configure-stage3-libiberty:
22014 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22015 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22016 @r=`${PWD_COMMAND}`; export r; \
22017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22018 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22019 $(HOST_EXPORTS) \
22020 $(POSTSTAGE1_HOST_EXPORTS) \
22021 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
22022 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22023 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22024 case $(srcdir) in \
22025 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22026 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22027 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22028 esac; \
22029 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22030 libsrcdir="$$s/libiberty"; \
22031 $(SHELL) $${libsrcdir}/configure \
22032 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22033 --target=${target_alias} $${srcdiroption} \
22034 --with-build-libsubdir=$(HOST_SUBDIR) \
22035 @stage2_werror_flag@
22036 @endif libiberty-bootstrap
22038 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
22039 maybe-configure-stage4-libiberty:
22040 @if libiberty-bootstrap
22041 maybe-configure-stage4-libiberty: configure-stage4-libiberty
22042 configure-stage4-libiberty:
22043 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22044 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22045 @r=`${PWD_COMMAND}`; export r; \
22046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22047 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22048 $(HOST_EXPORTS) \
22049 $(POSTSTAGE1_HOST_EXPORTS) \
22050 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
22051 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22052 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22053 case $(srcdir) in \
22054 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22055 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22056 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22057 esac; \
22058 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22059 libsrcdir="$$s/libiberty"; \
22060 $(SHELL) $${libsrcdir}/configure \
22061 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22062 --target=${target_alias} $${srcdiroption} \
22063 --with-build-libsubdir=$(HOST_SUBDIR) \
22064 @stage2_werror_flag@
22065 @endif libiberty-bootstrap
22067 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
22068 maybe-configure-stageprofile-libiberty:
22069 @if libiberty-bootstrap
22070 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
22071 configure-stageprofile-libiberty:
22072 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22073 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22074 @r=`${PWD_COMMAND}`; export r; \
22075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22076 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22077 $(HOST_EXPORTS) \
22078 $(POSTSTAGE1_HOST_EXPORTS) \
22079 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
22080 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22081 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22082 case $(srcdir) in \
22083 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22084 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22085 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22086 esac; \
22087 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22088 libsrcdir="$$s/libiberty"; \
22089 $(SHELL) $${libsrcdir}/configure \
22090 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22091 --target=${target_alias} $${srcdiroption} \
22092 --with-build-libsubdir=$(HOST_SUBDIR) \
22093 @stage2_werror_flag@
22094 @endif libiberty-bootstrap
22096 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
22097 maybe-configure-stagefeedback-libiberty:
22098 @if libiberty-bootstrap
22099 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
22100 configure-stagefeedback-libiberty:
22101 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22102 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22103 @r=`${PWD_COMMAND}`; export r; \
22104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22105 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22106 $(HOST_EXPORTS) \
22107 $(POSTSTAGE1_HOST_EXPORTS) \
22108 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
22109 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22110 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22111 case $(srcdir) in \
22112 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22113 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22114 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22115 esac; \
22116 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22117 libsrcdir="$$s/libiberty"; \
22118 $(SHELL) $${libsrcdir}/configure \
22119 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22120 --target=${target_alias} $${srcdiroption} \
22121 --with-build-libsubdir=$(HOST_SUBDIR) \
22122 @stage2_werror_flag@
22123 @endif libiberty-bootstrap
22129 .PHONY: all-libiberty maybe-all-libiberty
22130 maybe-all-libiberty:
22131 @if gcc-bootstrap
22132 all-libiberty: stage_current
22133 @endif gcc-bootstrap
22134 @if libiberty
22135 TARGET-libiberty=all
22136 maybe-all-libiberty: all-libiberty
22137 all-libiberty: configure-libiberty
22138 @r=`${PWD_COMMAND}`; export r; \
22139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22140 $(HOST_EXPORTS) \
22141 (cd $(HOST_SUBDIR)/libiberty && \
22142 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
22143 @endif libiberty
22147 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
22148 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
22149 maybe-all-stage1-libiberty:
22150 maybe-clean-stage1-libiberty:
22151 @if libiberty-bootstrap
22152 maybe-all-stage1-libiberty: all-stage1-libiberty
22153 all-stage1: all-stage1-libiberty
22154 TARGET-stage1-libiberty = $(TARGET-libiberty)
22155 all-stage1-libiberty: configure-stage1-libiberty
22156 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22157 @r=`${PWD_COMMAND}`; export r; \
22158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22159 $(HOST_EXPORTS) \
22160 cd $(HOST_SUBDIR)/libiberty && \
22161 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
22162 $(TARGET-stage1-libiberty)
22164 maybe-clean-stage1-libiberty: clean-stage1-libiberty
22165 clean-stage1: clean-stage1-libiberty
22166 clean-stage1-libiberty:
22167 @if [ $(current_stage) = stage1 ]; then \
22168 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22169 else \
22170 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
22171 $(MAKE) stage1-start; \
22172 fi; \
22173 cd $(HOST_SUBDIR)/libiberty && \
22174 $(MAKE) $(FLAGS_TO_PASS) \
22175 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
22176 @endif libiberty-bootstrap
22179 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
22180 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
22181 maybe-all-stage2-libiberty:
22182 maybe-clean-stage2-libiberty:
22183 @if libiberty-bootstrap
22184 maybe-all-stage2-libiberty: all-stage2-libiberty
22185 all-stage2: all-stage2-libiberty
22186 TARGET-stage2-libiberty = $(TARGET-libiberty)
22187 all-stage2-libiberty: configure-stage2-libiberty
22188 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22189 @r=`${PWD_COMMAND}`; export r; \
22190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22191 $(HOST_EXPORTS) \
22192 $(POSTSTAGE1_HOST_EXPORTS) \
22193 cd $(HOST_SUBDIR)/libiberty && \
22194 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22195 $(TARGET-stage2-libiberty)
22197 maybe-clean-stage2-libiberty: clean-stage2-libiberty
22198 clean-stage2: clean-stage2-libiberty
22199 clean-stage2-libiberty:
22200 @if [ $(current_stage) = stage2 ]; then \
22201 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22202 else \
22203 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
22204 $(MAKE) stage2-start; \
22205 fi; \
22206 cd $(HOST_SUBDIR)/libiberty && \
22207 $(MAKE) $(FLAGS_TO_PASS) \
22208 $(POSTSTAGE1_FLAGS_TO_PASS) \
22209 clean
22210 @endif libiberty-bootstrap
22213 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
22214 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
22215 maybe-all-stage3-libiberty:
22216 maybe-clean-stage3-libiberty:
22217 @if libiberty-bootstrap
22218 maybe-all-stage3-libiberty: all-stage3-libiberty
22219 all-stage3: all-stage3-libiberty
22220 TARGET-stage3-libiberty = $(TARGET-libiberty)
22221 all-stage3-libiberty: configure-stage3-libiberty
22222 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22223 @r=`${PWD_COMMAND}`; export r; \
22224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22225 $(HOST_EXPORTS) \
22226 $(POSTSTAGE1_HOST_EXPORTS) \
22227 cd $(HOST_SUBDIR)/libiberty && \
22228 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22229 $(TARGET-stage3-libiberty)
22231 maybe-clean-stage3-libiberty: clean-stage3-libiberty
22232 clean-stage3: clean-stage3-libiberty
22233 clean-stage3-libiberty:
22234 @if [ $(current_stage) = stage3 ]; then \
22235 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22236 else \
22237 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
22238 $(MAKE) stage3-start; \
22239 fi; \
22240 cd $(HOST_SUBDIR)/libiberty && \
22241 $(MAKE) $(FLAGS_TO_PASS) \
22242 $(POSTSTAGE1_FLAGS_TO_PASS) \
22243 clean
22244 @endif libiberty-bootstrap
22247 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
22248 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
22249 maybe-all-stage4-libiberty:
22250 maybe-clean-stage4-libiberty:
22251 @if libiberty-bootstrap
22252 maybe-all-stage4-libiberty: all-stage4-libiberty
22253 all-stage4: all-stage4-libiberty
22254 TARGET-stage4-libiberty = $(TARGET-libiberty)
22255 all-stage4-libiberty: configure-stage4-libiberty
22256 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22257 @r=`${PWD_COMMAND}`; export r; \
22258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22259 $(HOST_EXPORTS) \
22260 $(POSTSTAGE1_HOST_EXPORTS) \
22261 cd $(HOST_SUBDIR)/libiberty && \
22262 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22263 $(TARGET-stage4-libiberty)
22265 maybe-clean-stage4-libiberty: clean-stage4-libiberty
22266 clean-stage4: clean-stage4-libiberty
22267 clean-stage4-libiberty:
22268 @if [ $(current_stage) = stage4 ]; then \
22269 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22270 else \
22271 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
22272 $(MAKE) stage4-start; \
22273 fi; \
22274 cd $(HOST_SUBDIR)/libiberty && \
22275 $(MAKE) $(FLAGS_TO_PASS) \
22276 $(POSTSTAGE1_FLAGS_TO_PASS) \
22277 clean
22278 @endif libiberty-bootstrap
22281 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
22282 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
22283 maybe-all-stageprofile-libiberty:
22284 maybe-clean-stageprofile-libiberty:
22285 @if libiberty-bootstrap
22286 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
22287 all-stageprofile: all-stageprofile-libiberty
22288 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
22289 all-stageprofile-libiberty: configure-stageprofile-libiberty
22290 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22291 @r=`${PWD_COMMAND}`; export r; \
22292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22293 $(HOST_EXPORTS) \
22294 $(POSTSTAGE1_HOST_EXPORTS) \
22295 cd $(HOST_SUBDIR)/libiberty && \
22296 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
22297 $(TARGET-stageprofile-libiberty)
22299 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
22300 clean-stageprofile: clean-stageprofile-libiberty
22301 clean-stageprofile-libiberty:
22302 @if [ $(current_stage) = stageprofile ]; then \
22303 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22304 else \
22305 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
22306 $(MAKE) stageprofile-start; \
22307 fi; \
22308 cd $(HOST_SUBDIR)/libiberty && \
22309 $(MAKE) $(FLAGS_TO_PASS) \
22310 $(POSTSTAGE1_FLAGS_TO_PASS) \
22311 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
22312 @endif libiberty-bootstrap
22315 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
22316 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
22317 maybe-all-stagefeedback-libiberty:
22318 maybe-clean-stagefeedback-libiberty:
22319 @if libiberty-bootstrap
22320 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
22321 all-stagefeedback: all-stagefeedback-libiberty
22322 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
22323 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
22324 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22325 @r=`${PWD_COMMAND}`; export r; \
22326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22327 $(HOST_EXPORTS) \
22328 $(POSTSTAGE1_HOST_EXPORTS) \
22329 cd $(HOST_SUBDIR)/libiberty && \
22330 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
22331 $(TARGET-stagefeedback-libiberty)
22333 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
22334 clean-stagefeedback: clean-stagefeedback-libiberty
22335 clean-stagefeedback-libiberty:
22336 @if [ $(current_stage) = stagefeedback ]; then \
22337 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22338 else \
22339 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
22340 $(MAKE) stagefeedback-start; \
22341 fi; \
22342 cd $(HOST_SUBDIR)/libiberty && \
22343 $(MAKE) $(FLAGS_TO_PASS) \
22344 $(POSTSTAGE1_FLAGS_TO_PASS) \
22345 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
22346 @endif libiberty-bootstrap
22352 .PHONY: check-libiberty maybe-check-libiberty
22353 maybe-check-libiberty:
22354 @if libiberty
22355 maybe-check-libiberty: check-libiberty
22357 check-libiberty:
22358 @: $(MAKE); $(unstage)
22359 @r=`${PWD_COMMAND}`; export r; \
22360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22361 $(HOST_EXPORTS) \
22362 (cd $(HOST_SUBDIR)/libiberty && \
22363 $(MAKE) $(FLAGS_TO_PASS) check)
22365 @endif libiberty
22367 .PHONY: install-libiberty maybe-install-libiberty
22368 maybe-install-libiberty:
22369 @if libiberty
22370 maybe-install-libiberty: install-libiberty
22372 install-libiberty: installdirs
22373 @: $(MAKE); $(unstage)
22374 @r=`${PWD_COMMAND}`; export r; \
22375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22376 $(HOST_EXPORTS) \
22377 (cd $(HOST_SUBDIR)/libiberty && \
22378 $(MAKE) $(FLAGS_TO_PASS) install)
22380 @endif libiberty
22382 # Other targets (info, dvi, pdf, etc.)
22384 .PHONY: maybe-info-libiberty info-libiberty
22385 maybe-info-libiberty:
22386 @if libiberty
22387 maybe-info-libiberty: info-libiberty
22389 info-libiberty: \
22390 configure-libiberty
22391 @[ -f ./libiberty/Makefile ] || exit 0; \
22392 r=`${PWD_COMMAND}`; export r; \
22393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22394 $(HOST_EXPORTS) \
22395 for flag in $(EXTRA_HOST_FLAGS) ; do \
22396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22397 done; \
22398 echo "Doing info in libiberty" ; \
22399 (cd $(HOST_SUBDIR)/libiberty && \
22400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22402 "RANLIB=$${RANLIB}" \
22403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22404 info) \
22405 || exit 1
22407 @endif libiberty
22409 .PHONY: maybe-dvi-libiberty dvi-libiberty
22410 maybe-dvi-libiberty:
22411 @if libiberty
22412 maybe-dvi-libiberty: dvi-libiberty
22414 dvi-libiberty: \
22415 configure-libiberty
22416 @[ -f ./libiberty/Makefile ] || exit 0; \
22417 r=`${PWD_COMMAND}`; export r; \
22418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22419 $(HOST_EXPORTS) \
22420 for flag in $(EXTRA_HOST_FLAGS) ; do \
22421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22422 done; \
22423 echo "Doing dvi in libiberty" ; \
22424 (cd $(HOST_SUBDIR)/libiberty && \
22425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22427 "RANLIB=$${RANLIB}" \
22428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22429 dvi) \
22430 || exit 1
22432 @endif libiberty
22434 .PHONY: maybe-pdf-libiberty pdf-libiberty
22435 maybe-pdf-libiberty:
22436 @if libiberty
22437 maybe-pdf-libiberty: pdf-libiberty
22439 pdf-libiberty: \
22440 configure-libiberty
22441 @[ -f ./libiberty/Makefile ] || exit 0; \
22442 r=`${PWD_COMMAND}`; export r; \
22443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22444 $(HOST_EXPORTS) \
22445 for flag in $(EXTRA_HOST_FLAGS) ; do \
22446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22447 done; \
22448 echo "Doing pdf in libiberty" ; \
22449 (cd $(HOST_SUBDIR)/libiberty && \
22450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22452 "RANLIB=$${RANLIB}" \
22453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22454 pdf) \
22455 || exit 1
22457 @endif libiberty
22459 .PHONY: maybe-html-libiberty html-libiberty
22460 maybe-html-libiberty:
22461 @if libiberty
22462 maybe-html-libiberty: html-libiberty
22464 html-libiberty: \
22465 configure-libiberty
22466 @[ -f ./libiberty/Makefile ] || exit 0; \
22467 r=`${PWD_COMMAND}`; export r; \
22468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22469 $(HOST_EXPORTS) \
22470 for flag in $(EXTRA_HOST_FLAGS) ; do \
22471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22472 done; \
22473 echo "Doing html in libiberty" ; \
22474 (cd $(HOST_SUBDIR)/libiberty && \
22475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22477 "RANLIB=$${RANLIB}" \
22478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22479 html) \
22480 || exit 1
22482 @endif libiberty
22484 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
22485 maybe-TAGS-libiberty:
22486 @if libiberty
22487 maybe-TAGS-libiberty: TAGS-libiberty
22489 TAGS-libiberty: \
22490 configure-libiberty
22491 @[ -f ./libiberty/Makefile ] || exit 0; \
22492 r=`${PWD_COMMAND}`; export r; \
22493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22494 $(HOST_EXPORTS) \
22495 for flag in $(EXTRA_HOST_FLAGS) ; do \
22496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22497 done; \
22498 echo "Doing TAGS in libiberty" ; \
22499 (cd $(HOST_SUBDIR)/libiberty && \
22500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22502 "RANLIB=$${RANLIB}" \
22503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22504 TAGS) \
22505 || exit 1
22507 @endif libiberty
22509 .PHONY: maybe-install-info-libiberty install-info-libiberty
22510 maybe-install-info-libiberty:
22511 @if libiberty
22512 maybe-install-info-libiberty: install-info-libiberty
22514 install-info-libiberty: \
22515 configure-libiberty \
22516 info-libiberty
22517 @[ -f ./libiberty/Makefile ] || exit 0; \
22518 r=`${PWD_COMMAND}`; export r; \
22519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22520 $(HOST_EXPORTS) \
22521 for flag in $(EXTRA_HOST_FLAGS) ; do \
22522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22523 done; \
22524 echo "Doing install-info in libiberty" ; \
22525 (cd $(HOST_SUBDIR)/libiberty && \
22526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22528 "RANLIB=$${RANLIB}" \
22529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22530 install-info) \
22531 || exit 1
22533 @endif libiberty
22535 .PHONY: maybe-install-html-libiberty install-html-libiberty
22536 maybe-install-html-libiberty:
22537 @if libiberty
22538 maybe-install-html-libiberty: install-html-libiberty
22540 install-html-libiberty: \
22541 configure-libiberty \
22542 html-libiberty
22543 @[ -f ./libiberty/Makefile ] || exit 0; \
22544 r=`${PWD_COMMAND}`; export r; \
22545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22546 $(HOST_EXPORTS) \
22547 for flag in $(EXTRA_HOST_FLAGS) ; do \
22548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22549 done; \
22550 echo "Doing install-html in libiberty" ; \
22551 (cd $(HOST_SUBDIR)/libiberty && \
22552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22554 "RANLIB=$${RANLIB}" \
22555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22556 install-html) \
22557 || exit 1
22559 @endif libiberty
22561 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
22562 maybe-installcheck-libiberty:
22563 @if libiberty
22564 maybe-installcheck-libiberty: installcheck-libiberty
22566 installcheck-libiberty: \
22567 configure-libiberty
22568 @[ -f ./libiberty/Makefile ] || exit 0; \
22569 r=`${PWD_COMMAND}`; export r; \
22570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22571 $(HOST_EXPORTS) \
22572 for flag in $(EXTRA_HOST_FLAGS) ; do \
22573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22574 done; \
22575 echo "Doing installcheck in libiberty" ; \
22576 (cd $(HOST_SUBDIR)/libiberty && \
22577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22579 "RANLIB=$${RANLIB}" \
22580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22581 installcheck) \
22582 || exit 1
22584 @endif libiberty
22586 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
22587 maybe-mostlyclean-libiberty:
22588 @if libiberty
22589 maybe-mostlyclean-libiberty: mostlyclean-libiberty
22591 mostlyclean-libiberty:
22592 @[ -f ./libiberty/Makefile ] || exit 0; \
22593 r=`${PWD_COMMAND}`; export r; \
22594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22595 $(HOST_EXPORTS) \
22596 for flag in $(EXTRA_HOST_FLAGS) ; do \
22597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22598 done; \
22599 echo "Doing mostlyclean in libiberty" ; \
22600 (cd $(HOST_SUBDIR)/libiberty && \
22601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22603 "RANLIB=$${RANLIB}" \
22604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22605 mostlyclean) \
22606 || exit 1
22608 @endif libiberty
22610 .PHONY: maybe-clean-libiberty clean-libiberty
22611 maybe-clean-libiberty:
22612 @if libiberty
22613 maybe-clean-libiberty: clean-libiberty
22615 clean-libiberty:
22616 @[ -f ./libiberty/Makefile ] || exit 0; \
22617 r=`${PWD_COMMAND}`; export r; \
22618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22619 $(HOST_EXPORTS) \
22620 for flag in $(EXTRA_HOST_FLAGS) ; do \
22621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22622 done; \
22623 echo "Doing clean in libiberty" ; \
22624 (cd $(HOST_SUBDIR)/libiberty && \
22625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22627 "RANLIB=$${RANLIB}" \
22628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22629 clean) \
22630 || exit 1
22632 @endif libiberty
22634 .PHONY: maybe-distclean-libiberty distclean-libiberty
22635 maybe-distclean-libiberty:
22636 @if libiberty
22637 maybe-distclean-libiberty: distclean-libiberty
22639 distclean-libiberty:
22640 @[ -f ./libiberty/Makefile ] || exit 0; \
22641 r=`${PWD_COMMAND}`; export r; \
22642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22643 $(HOST_EXPORTS) \
22644 for flag in $(EXTRA_HOST_FLAGS) ; do \
22645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22646 done; \
22647 echo "Doing distclean in libiberty" ; \
22648 (cd $(HOST_SUBDIR)/libiberty && \
22649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22651 "RANLIB=$${RANLIB}" \
22652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22653 distclean) \
22654 || exit 1
22656 @endif libiberty
22658 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
22659 maybe-maintainer-clean-libiberty:
22660 @if libiberty
22661 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
22663 maintainer-clean-libiberty:
22664 @[ -f ./libiberty/Makefile ] || exit 0; \
22665 r=`${PWD_COMMAND}`; export r; \
22666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22667 $(HOST_EXPORTS) \
22668 for flag in $(EXTRA_HOST_FLAGS) ; do \
22669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22670 done; \
22671 echo "Doing maintainer-clean in libiberty" ; \
22672 (cd $(HOST_SUBDIR)/libiberty && \
22673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22675 "RANLIB=$${RANLIB}" \
22676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22677 maintainer-clean) \
22678 || exit 1
22680 @endif libiberty
22684 .PHONY: configure-libtool maybe-configure-libtool
22685 maybe-configure-libtool:
22686 @if gcc-bootstrap
22687 configure-libtool: stage_current
22688 @endif gcc-bootstrap
22689 @if libtool
22690 maybe-configure-libtool: configure-libtool
22691 configure-libtool:
22692 @: $(MAKE); $(unstage)
22693 @r=`${PWD_COMMAND}`; export r; \
22694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22695 test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
22696 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
22697 $(HOST_EXPORTS) \
22698 echo Configuring in $(HOST_SUBDIR)/libtool; \
22699 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
22700 case $(srcdir) in \
22701 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22702 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
22703 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22704 esac; \
22705 srcdiroption="--srcdir=$${topdir}/libtool"; \
22706 libsrcdir="$$s/libtool"; \
22707 $(SHELL) $${libsrcdir}/configure \
22708 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22709 --target=${target_alias} $${srcdiroption} \
22710 || exit 1
22711 @endif libtool
22717 .PHONY: all-libtool maybe-all-libtool
22718 maybe-all-libtool:
22719 @if gcc-bootstrap
22720 all-libtool: stage_current
22721 @endif gcc-bootstrap
22722 @if libtool
22723 TARGET-libtool=all
22724 maybe-all-libtool: all-libtool
22725 all-libtool: configure-libtool
22726 @: $(MAKE); $(unstage)
22727 @r=`${PWD_COMMAND}`; export r; \
22728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22729 $(HOST_EXPORTS) \
22730 (cd $(HOST_SUBDIR)/libtool && \
22731 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
22732 @endif libtool
22737 .PHONY: check-libtool maybe-check-libtool
22738 maybe-check-libtool:
22739 @if libtool
22740 maybe-check-libtool: check-libtool
22742 check-libtool:
22743 @: $(MAKE); $(unstage)
22744 @r=`${PWD_COMMAND}`; export r; \
22745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22746 $(HOST_EXPORTS) \
22747 (cd $(HOST_SUBDIR)/libtool && \
22748 $(MAKE) $(FLAGS_TO_PASS) check)
22750 @endif libtool
22752 .PHONY: install-libtool maybe-install-libtool
22753 maybe-install-libtool:
22754 @if libtool
22755 maybe-install-libtool: install-libtool
22757 install-libtool: installdirs
22758 @: $(MAKE); $(unstage)
22759 @r=`${PWD_COMMAND}`; export r; \
22760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22761 $(HOST_EXPORTS) \
22762 (cd $(HOST_SUBDIR)/libtool && \
22763 $(MAKE) $(FLAGS_TO_PASS) install)
22765 @endif libtool
22767 # Other targets (info, dvi, pdf, etc.)
22769 .PHONY: maybe-info-libtool info-libtool
22770 maybe-info-libtool:
22771 @if libtool
22772 maybe-info-libtool: info-libtool
22774 info-libtool: \
22775 configure-libtool
22776 @: $(MAKE); $(unstage)
22777 @[ -f ./libtool/Makefile ] || exit 0; \
22778 r=`${PWD_COMMAND}`; export r; \
22779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22780 $(HOST_EXPORTS) \
22781 for flag in $(EXTRA_HOST_FLAGS) ; do \
22782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22783 done; \
22784 echo "Doing info in libtool" ; \
22785 (cd $(HOST_SUBDIR)/libtool && \
22786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22788 "RANLIB=$${RANLIB}" \
22789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22790 info) \
22791 || exit 1
22793 @endif libtool
22795 .PHONY: maybe-dvi-libtool dvi-libtool
22796 maybe-dvi-libtool:
22797 @if libtool
22798 maybe-dvi-libtool: dvi-libtool
22800 dvi-libtool: \
22801 configure-libtool
22802 @: $(MAKE); $(unstage)
22803 @[ -f ./libtool/Makefile ] || exit 0; \
22804 r=`${PWD_COMMAND}`; export r; \
22805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22806 $(HOST_EXPORTS) \
22807 for flag in $(EXTRA_HOST_FLAGS) ; do \
22808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22809 done; \
22810 echo "Doing dvi in libtool" ; \
22811 (cd $(HOST_SUBDIR)/libtool && \
22812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22814 "RANLIB=$${RANLIB}" \
22815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22816 dvi) \
22817 || exit 1
22819 @endif libtool
22821 .PHONY: maybe-pdf-libtool pdf-libtool
22822 maybe-pdf-libtool:
22823 @if libtool
22824 maybe-pdf-libtool: pdf-libtool
22826 pdf-libtool: \
22827 configure-libtool
22828 @: $(MAKE); $(unstage)
22829 @[ -f ./libtool/Makefile ] || exit 0; \
22830 r=`${PWD_COMMAND}`; export r; \
22831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22832 $(HOST_EXPORTS) \
22833 for flag in $(EXTRA_HOST_FLAGS) ; do \
22834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22835 done; \
22836 echo "Doing pdf in libtool" ; \
22837 (cd $(HOST_SUBDIR)/libtool && \
22838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22840 "RANLIB=$${RANLIB}" \
22841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22842 pdf) \
22843 || exit 1
22845 @endif libtool
22847 .PHONY: maybe-html-libtool html-libtool
22848 maybe-html-libtool:
22849 @if libtool
22850 maybe-html-libtool: html-libtool
22852 html-libtool: \
22853 configure-libtool
22854 @: $(MAKE); $(unstage)
22855 @[ -f ./libtool/Makefile ] || exit 0; \
22856 r=`${PWD_COMMAND}`; export r; \
22857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22858 $(HOST_EXPORTS) \
22859 for flag in $(EXTRA_HOST_FLAGS) ; do \
22860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22861 done; \
22862 echo "Doing html in libtool" ; \
22863 (cd $(HOST_SUBDIR)/libtool && \
22864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22866 "RANLIB=$${RANLIB}" \
22867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22868 html) \
22869 || exit 1
22871 @endif libtool
22873 .PHONY: maybe-TAGS-libtool TAGS-libtool
22874 maybe-TAGS-libtool:
22875 @if libtool
22876 maybe-TAGS-libtool: TAGS-libtool
22878 TAGS-libtool: \
22879 configure-libtool
22880 @: $(MAKE); $(unstage)
22881 @[ -f ./libtool/Makefile ] || exit 0; \
22882 r=`${PWD_COMMAND}`; export r; \
22883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22884 $(HOST_EXPORTS) \
22885 for flag in $(EXTRA_HOST_FLAGS) ; do \
22886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22887 done; \
22888 echo "Doing TAGS in libtool" ; \
22889 (cd $(HOST_SUBDIR)/libtool && \
22890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22892 "RANLIB=$${RANLIB}" \
22893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22894 TAGS) \
22895 || exit 1
22897 @endif libtool
22899 .PHONY: maybe-install-info-libtool install-info-libtool
22900 maybe-install-info-libtool:
22901 @if libtool
22902 maybe-install-info-libtool: install-info-libtool
22904 install-info-libtool: \
22905 configure-libtool \
22906 info-libtool
22907 @: $(MAKE); $(unstage)
22908 @[ -f ./libtool/Makefile ] || exit 0; \
22909 r=`${PWD_COMMAND}`; export r; \
22910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22911 $(HOST_EXPORTS) \
22912 for flag in $(EXTRA_HOST_FLAGS) ; do \
22913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22914 done; \
22915 echo "Doing install-info in libtool" ; \
22916 (cd $(HOST_SUBDIR)/libtool && \
22917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22919 "RANLIB=$${RANLIB}" \
22920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22921 install-info) \
22922 || exit 1
22924 @endif libtool
22926 .PHONY: maybe-install-html-libtool install-html-libtool
22927 maybe-install-html-libtool:
22928 @if libtool
22929 maybe-install-html-libtool: install-html-libtool
22931 install-html-libtool: \
22932 configure-libtool \
22933 html-libtool
22934 @: $(MAKE); $(unstage)
22935 @[ -f ./libtool/Makefile ] || exit 0; \
22936 r=`${PWD_COMMAND}`; export r; \
22937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22938 $(HOST_EXPORTS) \
22939 for flag in $(EXTRA_HOST_FLAGS) ; do \
22940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22941 done; \
22942 echo "Doing install-html in libtool" ; \
22943 (cd $(HOST_SUBDIR)/libtool && \
22944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22946 "RANLIB=$${RANLIB}" \
22947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22948 install-html) \
22949 || exit 1
22951 @endif libtool
22953 .PHONY: maybe-installcheck-libtool installcheck-libtool
22954 maybe-installcheck-libtool:
22955 @if libtool
22956 maybe-installcheck-libtool: installcheck-libtool
22958 installcheck-libtool: \
22959 configure-libtool
22960 @: $(MAKE); $(unstage)
22961 @[ -f ./libtool/Makefile ] || exit 0; \
22962 r=`${PWD_COMMAND}`; export r; \
22963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22964 $(HOST_EXPORTS) \
22965 for flag in $(EXTRA_HOST_FLAGS) ; do \
22966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22967 done; \
22968 echo "Doing installcheck in libtool" ; \
22969 (cd $(HOST_SUBDIR)/libtool && \
22970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22972 "RANLIB=$${RANLIB}" \
22973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22974 installcheck) \
22975 || exit 1
22977 @endif libtool
22979 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
22980 maybe-mostlyclean-libtool:
22981 @if libtool
22982 maybe-mostlyclean-libtool: mostlyclean-libtool
22984 mostlyclean-libtool:
22985 @: $(MAKE); $(unstage)
22986 @[ -f ./libtool/Makefile ] || exit 0; \
22987 r=`${PWD_COMMAND}`; export r; \
22988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22989 $(HOST_EXPORTS) \
22990 for flag in $(EXTRA_HOST_FLAGS) ; do \
22991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22992 done; \
22993 echo "Doing mostlyclean in libtool" ; \
22994 (cd $(HOST_SUBDIR)/libtool && \
22995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22997 "RANLIB=$${RANLIB}" \
22998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22999 mostlyclean) \
23000 || exit 1
23002 @endif libtool
23004 .PHONY: maybe-clean-libtool clean-libtool
23005 maybe-clean-libtool:
23006 @if libtool
23007 maybe-clean-libtool: clean-libtool
23009 clean-libtool:
23010 @: $(MAKE); $(unstage)
23011 @[ -f ./libtool/Makefile ] || exit 0; \
23012 r=`${PWD_COMMAND}`; export r; \
23013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23014 $(HOST_EXPORTS) \
23015 for flag in $(EXTRA_HOST_FLAGS) ; do \
23016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23017 done; \
23018 echo "Doing clean in libtool" ; \
23019 (cd $(HOST_SUBDIR)/libtool && \
23020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23022 "RANLIB=$${RANLIB}" \
23023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23024 clean) \
23025 || exit 1
23027 @endif libtool
23029 .PHONY: maybe-distclean-libtool distclean-libtool
23030 maybe-distclean-libtool:
23031 @if libtool
23032 maybe-distclean-libtool: distclean-libtool
23034 distclean-libtool:
23035 @: $(MAKE); $(unstage)
23036 @[ -f ./libtool/Makefile ] || exit 0; \
23037 r=`${PWD_COMMAND}`; export r; \
23038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23039 $(HOST_EXPORTS) \
23040 for flag in $(EXTRA_HOST_FLAGS) ; do \
23041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23042 done; \
23043 echo "Doing distclean in libtool" ; \
23044 (cd $(HOST_SUBDIR)/libtool && \
23045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23047 "RANLIB=$${RANLIB}" \
23048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23049 distclean) \
23050 || exit 1
23052 @endif libtool
23054 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
23055 maybe-maintainer-clean-libtool:
23056 @if libtool
23057 maybe-maintainer-clean-libtool: maintainer-clean-libtool
23059 maintainer-clean-libtool:
23060 @: $(MAKE); $(unstage)
23061 @[ -f ./libtool/Makefile ] || exit 0; \
23062 r=`${PWD_COMMAND}`; export r; \
23063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23064 $(HOST_EXPORTS) \
23065 for flag in $(EXTRA_HOST_FLAGS) ; do \
23066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23067 done; \
23068 echo "Doing maintainer-clean in libtool" ; \
23069 (cd $(HOST_SUBDIR)/libtool && \
23070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23072 "RANLIB=$${RANLIB}" \
23073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23074 maintainer-clean) \
23075 || exit 1
23077 @endif libtool
23081 .PHONY: configure-m4 maybe-configure-m4
23082 maybe-configure-m4:
23083 @if gcc-bootstrap
23084 configure-m4: stage_current
23085 @endif gcc-bootstrap
23086 @if m4
23087 maybe-configure-m4: configure-m4
23088 configure-m4:
23089 @: $(MAKE); $(unstage)
23090 @r=`${PWD_COMMAND}`; export r; \
23091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23092 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
23093 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
23094 $(HOST_EXPORTS) \
23095 echo Configuring in $(HOST_SUBDIR)/m4; \
23096 cd "$(HOST_SUBDIR)/m4" || exit 1; \
23097 case $(srcdir) in \
23098 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23099 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
23100 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23101 esac; \
23102 srcdiroption="--srcdir=$${topdir}/m4"; \
23103 libsrcdir="$$s/m4"; \
23104 $(SHELL) $${libsrcdir}/configure \
23105 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23106 --target=${target_alias} $${srcdiroption} \
23107 || exit 1
23108 @endif m4
23114 .PHONY: all-m4 maybe-all-m4
23115 maybe-all-m4:
23116 @if gcc-bootstrap
23117 all-m4: stage_current
23118 @endif gcc-bootstrap
23119 @if m4
23120 TARGET-m4=all
23121 maybe-all-m4: all-m4
23122 all-m4: configure-m4
23123 @: $(MAKE); $(unstage)
23124 @r=`${PWD_COMMAND}`; export r; \
23125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23126 $(HOST_EXPORTS) \
23127 (cd $(HOST_SUBDIR)/m4 && \
23128 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
23129 @endif m4
23134 .PHONY: check-m4 maybe-check-m4
23135 maybe-check-m4:
23136 @if m4
23137 maybe-check-m4: check-m4
23139 check-m4:
23140 @: $(MAKE); $(unstage)
23141 @r=`${PWD_COMMAND}`; export r; \
23142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23143 $(HOST_EXPORTS) \
23144 (cd $(HOST_SUBDIR)/m4 && \
23145 $(MAKE) $(FLAGS_TO_PASS) check)
23147 @endif m4
23149 .PHONY: install-m4 maybe-install-m4
23150 maybe-install-m4:
23151 @if m4
23152 maybe-install-m4: install-m4
23154 install-m4: installdirs
23155 @: $(MAKE); $(unstage)
23156 @r=`${PWD_COMMAND}`; export r; \
23157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23158 $(HOST_EXPORTS) \
23159 (cd $(HOST_SUBDIR)/m4 && \
23160 $(MAKE) $(FLAGS_TO_PASS) install)
23162 @endif m4
23164 # Other targets (info, dvi, pdf, etc.)
23166 .PHONY: maybe-info-m4 info-m4
23167 maybe-info-m4:
23168 @if m4
23169 maybe-info-m4: info-m4
23171 info-m4: \
23172 configure-m4
23173 @: $(MAKE); $(unstage)
23174 @[ -f ./m4/Makefile ] || exit 0; \
23175 r=`${PWD_COMMAND}`; export r; \
23176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23177 $(HOST_EXPORTS) \
23178 for flag in $(EXTRA_HOST_FLAGS) ; do \
23179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23180 done; \
23181 echo "Doing info in m4" ; \
23182 (cd $(HOST_SUBDIR)/m4 && \
23183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23185 "RANLIB=$${RANLIB}" \
23186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23187 info) \
23188 || exit 1
23190 @endif m4
23192 .PHONY: maybe-dvi-m4 dvi-m4
23193 maybe-dvi-m4:
23194 @if m4
23195 maybe-dvi-m4: dvi-m4
23197 dvi-m4: \
23198 configure-m4
23199 @: $(MAKE); $(unstage)
23200 @[ -f ./m4/Makefile ] || exit 0; \
23201 r=`${PWD_COMMAND}`; export r; \
23202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23203 $(HOST_EXPORTS) \
23204 for flag in $(EXTRA_HOST_FLAGS) ; do \
23205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23206 done; \
23207 echo "Doing dvi in m4" ; \
23208 (cd $(HOST_SUBDIR)/m4 && \
23209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23211 "RANLIB=$${RANLIB}" \
23212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23213 dvi) \
23214 || exit 1
23216 @endif m4
23218 .PHONY: maybe-pdf-m4 pdf-m4
23219 maybe-pdf-m4:
23220 @if m4
23221 maybe-pdf-m4: pdf-m4
23223 pdf-m4: \
23224 configure-m4
23225 @: $(MAKE); $(unstage)
23226 @[ -f ./m4/Makefile ] || exit 0; \
23227 r=`${PWD_COMMAND}`; export r; \
23228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23229 $(HOST_EXPORTS) \
23230 for flag in $(EXTRA_HOST_FLAGS) ; do \
23231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23232 done; \
23233 echo "Doing pdf in m4" ; \
23234 (cd $(HOST_SUBDIR)/m4 && \
23235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23237 "RANLIB=$${RANLIB}" \
23238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23239 pdf) \
23240 || exit 1
23242 @endif m4
23244 .PHONY: maybe-html-m4 html-m4
23245 maybe-html-m4:
23246 @if m4
23247 maybe-html-m4: html-m4
23249 html-m4: \
23250 configure-m4
23251 @: $(MAKE); $(unstage)
23252 @[ -f ./m4/Makefile ] || exit 0; \
23253 r=`${PWD_COMMAND}`; export r; \
23254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23255 $(HOST_EXPORTS) \
23256 for flag in $(EXTRA_HOST_FLAGS) ; do \
23257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23258 done; \
23259 echo "Doing html in m4" ; \
23260 (cd $(HOST_SUBDIR)/m4 && \
23261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23263 "RANLIB=$${RANLIB}" \
23264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23265 html) \
23266 || exit 1
23268 @endif m4
23270 .PHONY: maybe-TAGS-m4 TAGS-m4
23271 maybe-TAGS-m4:
23272 @if m4
23273 maybe-TAGS-m4: TAGS-m4
23275 TAGS-m4: \
23276 configure-m4
23277 @: $(MAKE); $(unstage)
23278 @[ -f ./m4/Makefile ] || exit 0; \
23279 r=`${PWD_COMMAND}`; export r; \
23280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23281 $(HOST_EXPORTS) \
23282 for flag in $(EXTRA_HOST_FLAGS) ; do \
23283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23284 done; \
23285 echo "Doing TAGS in m4" ; \
23286 (cd $(HOST_SUBDIR)/m4 && \
23287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23289 "RANLIB=$${RANLIB}" \
23290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23291 TAGS) \
23292 || exit 1
23294 @endif m4
23296 .PHONY: maybe-install-info-m4 install-info-m4
23297 maybe-install-info-m4:
23298 @if m4
23299 maybe-install-info-m4: install-info-m4
23301 install-info-m4: \
23302 configure-m4 \
23303 info-m4
23304 @: $(MAKE); $(unstage)
23305 @[ -f ./m4/Makefile ] || exit 0; \
23306 r=`${PWD_COMMAND}`; export r; \
23307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23308 $(HOST_EXPORTS) \
23309 for flag in $(EXTRA_HOST_FLAGS) ; do \
23310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23311 done; \
23312 echo "Doing install-info in m4" ; \
23313 (cd $(HOST_SUBDIR)/m4 && \
23314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23316 "RANLIB=$${RANLIB}" \
23317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23318 install-info) \
23319 || exit 1
23321 @endif m4
23323 .PHONY: maybe-install-html-m4 install-html-m4
23324 maybe-install-html-m4:
23325 @if m4
23326 maybe-install-html-m4: install-html-m4
23328 install-html-m4: \
23329 configure-m4 \
23330 html-m4
23331 @: $(MAKE); $(unstage)
23332 @[ -f ./m4/Makefile ] || exit 0; \
23333 r=`${PWD_COMMAND}`; export r; \
23334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23335 $(HOST_EXPORTS) \
23336 for flag in $(EXTRA_HOST_FLAGS) ; do \
23337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23338 done; \
23339 echo "Doing install-html in m4" ; \
23340 (cd $(HOST_SUBDIR)/m4 && \
23341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23343 "RANLIB=$${RANLIB}" \
23344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23345 install-html) \
23346 || exit 1
23348 @endif m4
23350 .PHONY: maybe-installcheck-m4 installcheck-m4
23351 maybe-installcheck-m4:
23352 @if m4
23353 maybe-installcheck-m4: installcheck-m4
23355 installcheck-m4: \
23356 configure-m4
23357 @: $(MAKE); $(unstage)
23358 @[ -f ./m4/Makefile ] || exit 0; \
23359 r=`${PWD_COMMAND}`; export r; \
23360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23361 $(HOST_EXPORTS) \
23362 for flag in $(EXTRA_HOST_FLAGS) ; do \
23363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23364 done; \
23365 echo "Doing installcheck in m4" ; \
23366 (cd $(HOST_SUBDIR)/m4 && \
23367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23369 "RANLIB=$${RANLIB}" \
23370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23371 installcheck) \
23372 || exit 1
23374 @endif m4
23376 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
23377 maybe-mostlyclean-m4:
23378 @if m4
23379 maybe-mostlyclean-m4: mostlyclean-m4
23381 mostlyclean-m4:
23382 @: $(MAKE); $(unstage)
23383 @[ -f ./m4/Makefile ] || exit 0; \
23384 r=`${PWD_COMMAND}`; export r; \
23385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23386 $(HOST_EXPORTS) \
23387 for flag in $(EXTRA_HOST_FLAGS) ; do \
23388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23389 done; \
23390 echo "Doing mostlyclean in m4" ; \
23391 (cd $(HOST_SUBDIR)/m4 && \
23392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23394 "RANLIB=$${RANLIB}" \
23395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23396 mostlyclean) \
23397 || exit 1
23399 @endif m4
23401 .PHONY: maybe-clean-m4 clean-m4
23402 maybe-clean-m4:
23403 @if m4
23404 maybe-clean-m4: clean-m4
23406 clean-m4:
23407 @: $(MAKE); $(unstage)
23408 @[ -f ./m4/Makefile ] || exit 0; \
23409 r=`${PWD_COMMAND}`; export r; \
23410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23411 $(HOST_EXPORTS) \
23412 for flag in $(EXTRA_HOST_FLAGS) ; do \
23413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23414 done; \
23415 echo "Doing clean in m4" ; \
23416 (cd $(HOST_SUBDIR)/m4 && \
23417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23419 "RANLIB=$${RANLIB}" \
23420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23421 clean) \
23422 || exit 1
23424 @endif m4
23426 .PHONY: maybe-distclean-m4 distclean-m4
23427 maybe-distclean-m4:
23428 @if m4
23429 maybe-distclean-m4: distclean-m4
23431 distclean-m4:
23432 @: $(MAKE); $(unstage)
23433 @[ -f ./m4/Makefile ] || exit 0; \
23434 r=`${PWD_COMMAND}`; export r; \
23435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23436 $(HOST_EXPORTS) \
23437 for flag in $(EXTRA_HOST_FLAGS) ; do \
23438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23439 done; \
23440 echo "Doing distclean in m4" ; \
23441 (cd $(HOST_SUBDIR)/m4 && \
23442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23444 "RANLIB=$${RANLIB}" \
23445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23446 distclean) \
23447 || exit 1
23449 @endif m4
23451 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
23452 maybe-maintainer-clean-m4:
23453 @if m4
23454 maybe-maintainer-clean-m4: maintainer-clean-m4
23456 maintainer-clean-m4:
23457 @: $(MAKE); $(unstage)
23458 @[ -f ./m4/Makefile ] || exit 0; \
23459 r=`${PWD_COMMAND}`; export r; \
23460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23461 $(HOST_EXPORTS) \
23462 for flag in $(EXTRA_HOST_FLAGS) ; do \
23463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23464 done; \
23465 echo "Doing maintainer-clean in m4" ; \
23466 (cd $(HOST_SUBDIR)/m4 && \
23467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23469 "RANLIB=$${RANLIB}" \
23470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23471 maintainer-clean) \
23472 || exit 1
23474 @endif m4
23478 .PHONY: configure-make maybe-configure-make
23479 maybe-configure-make:
23480 @if gcc-bootstrap
23481 configure-make: stage_current
23482 @endif gcc-bootstrap
23483 @if make
23484 maybe-configure-make: configure-make
23485 configure-make:
23486 @: $(MAKE); $(unstage)
23487 @r=`${PWD_COMMAND}`; export r; \
23488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23489 test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
23490 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
23491 $(HOST_EXPORTS) \
23492 echo Configuring in $(HOST_SUBDIR)/make; \
23493 cd "$(HOST_SUBDIR)/make" || exit 1; \
23494 case $(srcdir) in \
23495 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23496 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
23497 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23498 esac; \
23499 srcdiroption="--srcdir=$${topdir}/make"; \
23500 libsrcdir="$$s/make"; \
23501 $(SHELL) $${libsrcdir}/configure \
23502 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23503 --target=${target_alias} $${srcdiroption} \
23504 || exit 1
23505 @endif make
23511 .PHONY: all-make maybe-all-make
23512 maybe-all-make:
23513 @if gcc-bootstrap
23514 all-make: stage_current
23515 @endif gcc-bootstrap
23516 @if make
23517 TARGET-make=all
23518 maybe-all-make: all-make
23519 all-make: configure-make
23520 @: $(MAKE); $(unstage)
23521 @r=`${PWD_COMMAND}`; export r; \
23522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23523 $(HOST_EXPORTS) \
23524 (cd $(HOST_SUBDIR)/make && \
23525 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
23526 @endif make
23531 .PHONY: check-make maybe-check-make
23532 maybe-check-make:
23533 @if make
23534 maybe-check-make: check-make
23536 check-make:
23537 @: $(MAKE); $(unstage)
23538 @r=`${PWD_COMMAND}`; export r; \
23539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23540 $(HOST_EXPORTS) \
23541 (cd $(HOST_SUBDIR)/make && \
23542 $(MAKE) $(FLAGS_TO_PASS) check)
23544 @endif make
23546 .PHONY: install-make maybe-install-make
23547 maybe-install-make:
23548 @if make
23549 maybe-install-make: install-make
23551 install-make: installdirs
23552 @: $(MAKE); $(unstage)
23553 @r=`${PWD_COMMAND}`; export r; \
23554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23555 $(HOST_EXPORTS) \
23556 (cd $(HOST_SUBDIR)/make && \
23557 $(MAKE) $(FLAGS_TO_PASS) install)
23559 @endif make
23561 # Other targets (info, dvi, pdf, etc.)
23563 .PHONY: maybe-info-make info-make
23564 maybe-info-make:
23565 @if make
23566 maybe-info-make: info-make
23568 info-make: \
23569 configure-make
23570 @: $(MAKE); $(unstage)
23571 @[ -f ./make/Makefile ] || exit 0; \
23572 r=`${PWD_COMMAND}`; export r; \
23573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23574 $(HOST_EXPORTS) \
23575 for flag in $(EXTRA_HOST_FLAGS) ; do \
23576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23577 done; \
23578 echo "Doing info in make" ; \
23579 (cd $(HOST_SUBDIR)/make && \
23580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23582 "RANLIB=$${RANLIB}" \
23583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23584 info) \
23585 || exit 1
23587 @endif make
23589 .PHONY: maybe-dvi-make dvi-make
23590 maybe-dvi-make:
23591 @if make
23592 maybe-dvi-make: dvi-make
23594 dvi-make: \
23595 configure-make
23596 @: $(MAKE); $(unstage)
23597 @[ -f ./make/Makefile ] || exit 0; \
23598 r=`${PWD_COMMAND}`; export r; \
23599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23600 $(HOST_EXPORTS) \
23601 for flag in $(EXTRA_HOST_FLAGS) ; do \
23602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23603 done; \
23604 echo "Doing dvi in make" ; \
23605 (cd $(HOST_SUBDIR)/make && \
23606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23608 "RANLIB=$${RANLIB}" \
23609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23610 dvi) \
23611 || exit 1
23613 @endif make
23615 .PHONY: maybe-pdf-make pdf-make
23616 maybe-pdf-make:
23617 @if make
23618 maybe-pdf-make: pdf-make
23620 pdf-make: \
23621 configure-make
23622 @: $(MAKE); $(unstage)
23623 @[ -f ./make/Makefile ] || exit 0; \
23624 r=`${PWD_COMMAND}`; export r; \
23625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23626 $(HOST_EXPORTS) \
23627 for flag in $(EXTRA_HOST_FLAGS) ; do \
23628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23629 done; \
23630 echo "Doing pdf in make" ; \
23631 (cd $(HOST_SUBDIR)/make && \
23632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23634 "RANLIB=$${RANLIB}" \
23635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23636 pdf) \
23637 || exit 1
23639 @endif make
23641 .PHONY: maybe-html-make html-make
23642 maybe-html-make:
23643 @if make
23644 maybe-html-make: html-make
23646 html-make: \
23647 configure-make
23648 @: $(MAKE); $(unstage)
23649 @[ -f ./make/Makefile ] || exit 0; \
23650 r=`${PWD_COMMAND}`; export r; \
23651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23652 $(HOST_EXPORTS) \
23653 for flag in $(EXTRA_HOST_FLAGS) ; do \
23654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23655 done; \
23656 echo "Doing html in make" ; \
23657 (cd $(HOST_SUBDIR)/make && \
23658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23660 "RANLIB=$${RANLIB}" \
23661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23662 html) \
23663 || exit 1
23665 @endif make
23667 .PHONY: maybe-TAGS-make TAGS-make
23668 maybe-TAGS-make:
23669 @if make
23670 maybe-TAGS-make: TAGS-make
23672 TAGS-make: \
23673 configure-make
23674 @: $(MAKE); $(unstage)
23675 @[ -f ./make/Makefile ] || exit 0; \
23676 r=`${PWD_COMMAND}`; export r; \
23677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23678 $(HOST_EXPORTS) \
23679 for flag in $(EXTRA_HOST_FLAGS) ; do \
23680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23681 done; \
23682 echo "Doing TAGS in make" ; \
23683 (cd $(HOST_SUBDIR)/make && \
23684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23686 "RANLIB=$${RANLIB}" \
23687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23688 TAGS) \
23689 || exit 1
23691 @endif make
23693 .PHONY: maybe-install-info-make install-info-make
23694 maybe-install-info-make:
23695 @if make
23696 maybe-install-info-make: install-info-make
23698 install-info-make: \
23699 configure-make \
23700 info-make
23701 @: $(MAKE); $(unstage)
23702 @[ -f ./make/Makefile ] || exit 0; \
23703 r=`${PWD_COMMAND}`; export r; \
23704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23705 $(HOST_EXPORTS) \
23706 for flag in $(EXTRA_HOST_FLAGS) ; do \
23707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23708 done; \
23709 echo "Doing install-info in make" ; \
23710 (cd $(HOST_SUBDIR)/make && \
23711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23713 "RANLIB=$${RANLIB}" \
23714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23715 install-info) \
23716 || exit 1
23718 @endif make
23720 .PHONY: maybe-install-html-make install-html-make
23721 maybe-install-html-make:
23722 @if make
23723 maybe-install-html-make: install-html-make
23725 install-html-make: \
23726 configure-make \
23727 html-make
23728 @: $(MAKE); $(unstage)
23729 @[ -f ./make/Makefile ] || exit 0; \
23730 r=`${PWD_COMMAND}`; export r; \
23731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23732 $(HOST_EXPORTS) \
23733 for flag in $(EXTRA_HOST_FLAGS) ; do \
23734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23735 done; \
23736 echo "Doing install-html in make" ; \
23737 (cd $(HOST_SUBDIR)/make && \
23738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23740 "RANLIB=$${RANLIB}" \
23741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23742 install-html) \
23743 || exit 1
23745 @endif make
23747 .PHONY: maybe-installcheck-make installcheck-make
23748 maybe-installcheck-make:
23749 @if make
23750 maybe-installcheck-make: installcheck-make
23752 installcheck-make: \
23753 configure-make
23754 @: $(MAKE); $(unstage)
23755 @[ -f ./make/Makefile ] || exit 0; \
23756 r=`${PWD_COMMAND}`; export r; \
23757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23758 $(HOST_EXPORTS) \
23759 for flag in $(EXTRA_HOST_FLAGS) ; do \
23760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23761 done; \
23762 echo "Doing installcheck in make" ; \
23763 (cd $(HOST_SUBDIR)/make && \
23764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23766 "RANLIB=$${RANLIB}" \
23767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23768 installcheck) \
23769 || exit 1
23771 @endif make
23773 .PHONY: maybe-mostlyclean-make mostlyclean-make
23774 maybe-mostlyclean-make:
23775 @if make
23776 maybe-mostlyclean-make: mostlyclean-make
23778 mostlyclean-make:
23779 @: $(MAKE); $(unstage)
23780 @[ -f ./make/Makefile ] || exit 0; \
23781 r=`${PWD_COMMAND}`; export r; \
23782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23783 $(HOST_EXPORTS) \
23784 for flag in $(EXTRA_HOST_FLAGS) ; do \
23785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23786 done; \
23787 echo "Doing mostlyclean in make" ; \
23788 (cd $(HOST_SUBDIR)/make && \
23789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23791 "RANLIB=$${RANLIB}" \
23792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23793 mostlyclean) \
23794 || exit 1
23796 @endif make
23798 .PHONY: maybe-clean-make clean-make
23799 maybe-clean-make:
23800 @if make
23801 maybe-clean-make: clean-make
23803 clean-make:
23804 @: $(MAKE); $(unstage)
23805 @[ -f ./make/Makefile ] || exit 0; \
23806 r=`${PWD_COMMAND}`; export r; \
23807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23808 $(HOST_EXPORTS) \
23809 for flag in $(EXTRA_HOST_FLAGS) ; do \
23810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23811 done; \
23812 echo "Doing clean in make" ; \
23813 (cd $(HOST_SUBDIR)/make && \
23814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23816 "RANLIB=$${RANLIB}" \
23817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23818 clean) \
23819 || exit 1
23821 @endif make
23823 .PHONY: maybe-distclean-make distclean-make
23824 maybe-distclean-make:
23825 @if make
23826 maybe-distclean-make: distclean-make
23828 distclean-make:
23829 @: $(MAKE); $(unstage)
23830 @[ -f ./make/Makefile ] || exit 0; \
23831 r=`${PWD_COMMAND}`; export r; \
23832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23833 $(HOST_EXPORTS) \
23834 for flag in $(EXTRA_HOST_FLAGS) ; do \
23835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23836 done; \
23837 echo "Doing distclean in make" ; \
23838 (cd $(HOST_SUBDIR)/make && \
23839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23841 "RANLIB=$${RANLIB}" \
23842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23843 distclean) \
23844 || exit 1
23846 @endif make
23848 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
23849 maybe-maintainer-clean-make:
23850 @if make
23851 maybe-maintainer-clean-make: maintainer-clean-make
23853 maintainer-clean-make:
23854 @: $(MAKE); $(unstage)
23855 @[ -f ./make/Makefile ] || exit 0; \
23856 r=`${PWD_COMMAND}`; export r; \
23857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23858 $(HOST_EXPORTS) \
23859 for flag in $(EXTRA_HOST_FLAGS) ; do \
23860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23861 done; \
23862 echo "Doing maintainer-clean in make" ; \
23863 (cd $(HOST_SUBDIR)/make && \
23864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23866 "RANLIB=$${RANLIB}" \
23867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23868 maintainer-clean) \
23869 || exit 1
23871 @endif make
23875 .PHONY: configure-mmalloc maybe-configure-mmalloc
23876 maybe-configure-mmalloc:
23877 @if gcc-bootstrap
23878 configure-mmalloc: stage_current
23879 @endif gcc-bootstrap
23880 @if mmalloc
23881 maybe-configure-mmalloc: configure-mmalloc
23882 configure-mmalloc:
23883 @: $(MAKE); $(unstage)
23884 @r=`${PWD_COMMAND}`; export r; \
23885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23886 test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
23887 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
23888 $(HOST_EXPORTS) \
23889 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
23890 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
23891 case $(srcdir) in \
23892 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23893 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
23894 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23895 esac; \
23896 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
23897 libsrcdir="$$s/mmalloc"; \
23898 $(SHELL) $${libsrcdir}/configure \
23899 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23900 --target=${target_alias} $${srcdiroption} \
23901 || exit 1
23902 @endif mmalloc
23908 .PHONY: all-mmalloc maybe-all-mmalloc
23909 maybe-all-mmalloc:
23910 @if gcc-bootstrap
23911 all-mmalloc: stage_current
23912 @endif gcc-bootstrap
23913 @if mmalloc
23914 TARGET-mmalloc=all
23915 maybe-all-mmalloc: all-mmalloc
23916 all-mmalloc: configure-mmalloc
23917 @: $(MAKE); $(unstage)
23918 @r=`${PWD_COMMAND}`; export r; \
23919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23920 $(HOST_EXPORTS) \
23921 (cd $(HOST_SUBDIR)/mmalloc && \
23922 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
23923 @endif mmalloc
23928 .PHONY: check-mmalloc maybe-check-mmalloc
23929 maybe-check-mmalloc:
23930 @if mmalloc
23931 maybe-check-mmalloc: check-mmalloc
23933 check-mmalloc:
23935 @endif mmalloc
23937 .PHONY: install-mmalloc maybe-install-mmalloc
23938 maybe-install-mmalloc:
23939 @if mmalloc
23940 maybe-install-mmalloc: install-mmalloc
23942 install-mmalloc: installdirs
23943 @: $(MAKE); $(unstage)
23944 @r=`${PWD_COMMAND}`; export r; \
23945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23946 $(HOST_EXPORTS) \
23947 (cd $(HOST_SUBDIR)/mmalloc && \
23948 $(MAKE) $(FLAGS_TO_PASS) install)
23950 @endif mmalloc
23952 # Other targets (info, dvi, pdf, etc.)
23954 .PHONY: maybe-info-mmalloc info-mmalloc
23955 maybe-info-mmalloc:
23956 @if mmalloc
23957 maybe-info-mmalloc: info-mmalloc
23959 info-mmalloc: \
23960 configure-mmalloc
23961 @: $(MAKE); $(unstage)
23962 @[ -f ./mmalloc/Makefile ] || exit 0; \
23963 r=`${PWD_COMMAND}`; export r; \
23964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23965 $(HOST_EXPORTS) \
23966 for flag in $(EXTRA_HOST_FLAGS) ; do \
23967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23968 done; \
23969 echo "Doing info in mmalloc" ; \
23970 (cd $(HOST_SUBDIR)/mmalloc && \
23971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23973 "RANLIB=$${RANLIB}" \
23974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23975 info) \
23976 || exit 1
23978 @endif mmalloc
23980 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
23981 maybe-dvi-mmalloc:
23982 @if mmalloc
23983 maybe-dvi-mmalloc: dvi-mmalloc
23985 dvi-mmalloc: \
23986 configure-mmalloc
23987 @: $(MAKE); $(unstage)
23988 @[ -f ./mmalloc/Makefile ] || exit 0; \
23989 r=`${PWD_COMMAND}`; export r; \
23990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23991 $(HOST_EXPORTS) \
23992 for flag in $(EXTRA_HOST_FLAGS) ; do \
23993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23994 done; \
23995 echo "Doing dvi in mmalloc" ; \
23996 (cd $(HOST_SUBDIR)/mmalloc && \
23997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23999 "RANLIB=$${RANLIB}" \
24000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24001 dvi) \
24002 || exit 1
24004 @endif mmalloc
24006 .PHONY: maybe-pdf-mmalloc pdf-mmalloc
24007 maybe-pdf-mmalloc:
24008 @if mmalloc
24009 maybe-pdf-mmalloc: pdf-mmalloc
24011 pdf-mmalloc: \
24012 configure-mmalloc
24013 @: $(MAKE); $(unstage)
24014 @[ -f ./mmalloc/Makefile ] || exit 0; \
24015 r=`${PWD_COMMAND}`; export r; \
24016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24017 $(HOST_EXPORTS) \
24018 for flag in $(EXTRA_HOST_FLAGS) ; do \
24019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24020 done; \
24021 echo "Doing pdf in mmalloc" ; \
24022 (cd $(HOST_SUBDIR)/mmalloc && \
24023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24025 "RANLIB=$${RANLIB}" \
24026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24027 pdf) \
24028 || exit 1
24030 @endif mmalloc
24032 .PHONY: maybe-html-mmalloc html-mmalloc
24033 maybe-html-mmalloc:
24034 @if mmalloc
24035 maybe-html-mmalloc: html-mmalloc
24037 html-mmalloc: \
24038 configure-mmalloc
24039 @: $(MAKE); $(unstage)
24040 @[ -f ./mmalloc/Makefile ] || exit 0; \
24041 r=`${PWD_COMMAND}`; export r; \
24042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24043 $(HOST_EXPORTS) \
24044 for flag in $(EXTRA_HOST_FLAGS) ; do \
24045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24046 done; \
24047 echo "Doing html in mmalloc" ; \
24048 (cd $(HOST_SUBDIR)/mmalloc && \
24049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24051 "RANLIB=$${RANLIB}" \
24052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24053 html) \
24054 || exit 1
24056 @endif mmalloc
24058 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
24059 maybe-TAGS-mmalloc:
24060 @if mmalloc
24061 maybe-TAGS-mmalloc: TAGS-mmalloc
24063 TAGS-mmalloc: \
24064 configure-mmalloc
24065 @: $(MAKE); $(unstage)
24066 @[ -f ./mmalloc/Makefile ] || exit 0; \
24067 r=`${PWD_COMMAND}`; export r; \
24068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24069 $(HOST_EXPORTS) \
24070 for flag in $(EXTRA_HOST_FLAGS) ; do \
24071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24072 done; \
24073 echo "Doing TAGS in mmalloc" ; \
24074 (cd $(HOST_SUBDIR)/mmalloc && \
24075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24077 "RANLIB=$${RANLIB}" \
24078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24079 TAGS) \
24080 || exit 1
24082 @endif mmalloc
24084 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
24085 maybe-install-info-mmalloc:
24086 @if mmalloc
24087 maybe-install-info-mmalloc: install-info-mmalloc
24089 install-info-mmalloc: \
24090 configure-mmalloc \
24091 info-mmalloc
24092 @: $(MAKE); $(unstage)
24093 @[ -f ./mmalloc/Makefile ] || exit 0; \
24094 r=`${PWD_COMMAND}`; export r; \
24095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24096 $(HOST_EXPORTS) \
24097 for flag in $(EXTRA_HOST_FLAGS) ; do \
24098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24099 done; \
24100 echo "Doing install-info in mmalloc" ; \
24101 (cd $(HOST_SUBDIR)/mmalloc && \
24102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24104 "RANLIB=$${RANLIB}" \
24105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24106 install-info) \
24107 || exit 1
24109 @endif mmalloc
24111 .PHONY: maybe-install-html-mmalloc install-html-mmalloc
24112 maybe-install-html-mmalloc:
24113 @if mmalloc
24114 maybe-install-html-mmalloc: install-html-mmalloc
24116 install-html-mmalloc: \
24117 configure-mmalloc \
24118 html-mmalloc
24119 @: $(MAKE); $(unstage)
24120 @[ -f ./mmalloc/Makefile ] || exit 0; \
24121 r=`${PWD_COMMAND}`; export r; \
24122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24123 $(HOST_EXPORTS) \
24124 for flag in $(EXTRA_HOST_FLAGS) ; do \
24125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24126 done; \
24127 echo "Doing install-html in mmalloc" ; \
24128 (cd $(HOST_SUBDIR)/mmalloc && \
24129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24131 "RANLIB=$${RANLIB}" \
24132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24133 install-html) \
24134 || exit 1
24136 @endif mmalloc
24138 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
24139 maybe-installcheck-mmalloc:
24140 @if mmalloc
24141 maybe-installcheck-mmalloc: installcheck-mmalloc
24143 installcheck-mmalloc: \
24144 configure-mmalloc
24145 @: $(MAKE); $(unstage)
24146 @[ -f ./mmalloc/Makefile ] || exit 0; \
24147 r=`${PWD_COMMAND}`; export r; \
24148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24149 $(HOST_EXPORTS) \
24150 for flag in $(EXTRA_HOST_FLAGS) ; do \
24151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24152 done; \
24153 echo "Doing installcheck in mmalloc" ; \
24154 (cd $(HOST_SUBDIR)/mmalloc && \
24155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24157 "RANLIB=$${RANLIB}" \
24158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24159 installcheck) \
24160 || exit 1
24162 @endif mmalloc
24164 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
24165 maybe-mostlyclean-mmalloc:
24166 @if mmalloc
24167 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
24169 mostlyclean-mmalloc:
24170 @: $(MAKE); $(unstage)
24171 @[ -f ./mmalloc/Makefile ] || exit 0; \
24172 r=`${PWD_COMMAND}`; export r; \
24173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24174 $(HOST_EXPORTS) \
24175 for flag in $(EXTRA_HOST_FLAGS) ; do \
24176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24177 done; \
24178 echo "Doing mostlyclean in mmalloc" ; \
24179 (cd $(HOST_SUBDIR)/mmalloc && \
24180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24182 "RANLIB=$${RANLIB}" \
24183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24184 mostlyclean) \
24185 || exit 1
24187 @endif mmalloc
24189 .PHONY: maybe-clean-mmalloc clean-mmalloc
24190 maybe-clean-mmalloc:
24191 @if mmalloc
24192 maybe-clean-mmalloc: clean-mmalloc
24194 clean-mmalloc:
24195 @: $(MAKE); $(unstage)
24196 @[ -f ./mmalloc/Makefile ] || exit 0; \
24197 r=`${PWD_COMMAND}`; export r; \
24198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24199 $(HOST_EXPORTS) \
24200 for flag in $(EXTRA_HOST_FLAGS) ; do \
24201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24202 done; \
24203 echo "Doing clean in mmalloc" ; \
24204 (cd $(HOST_SUBDIR)/mmalloc && \
24205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24207 "RANLIB=$${RANLIB}" \
24208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24209 clean) \
24210 || exit 1
24212 @endif mmalloc
24214 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
24215 maybe-distclean-mmalloc:
24216 @if mmalloc
24217 maybe-distclean-mmalloc: distclean-mmalloc
24219 distclean-mmalloc:
24220 @: $(MAKE); $(unstage)
24221 @[ -f ./mmalloc/Makefile ] || exit 0; \
24222 r=`${PWD_COMMAND}`; export r; \
24223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24224 $(HOST_EXPORTS) \
24225 for flag in $(EXTRA_HOST_FLAGS) ; do \
24226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24227 done; \
24228 echo "Doing distclean in mmalloc" ; \
24229 (cd $(HOST_SUBDIR)/mmalloc && \
24230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24232 "RANLIB=$${RANLIB}" \
24233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24234 distclean) \
24235 || exit 1
24237 @endif mmalloc
24239 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
24240 maybe-maintainer-clean-mmalloc:
24241 @if mmalloc
24242 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
24244 maintainer-clean-mmalloc:
24245 @: $(MAKE); $(unstage)
24246 @[ -f ./mmalloc/Makefile ] || exit 0; \
24247 r=`${PWD_COMMAND}`; export r; \
24248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24249 $(HOST_EXPORTS) \
24250 for flag in $(EXTRA_HOST_FLAGS) ; do \
24251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24252 done; \
24253 echo "Doing maintainer-clean in mmalloc" ; \
24254 (cd $(HOST_SUBDIR)/mmalloc && \
24255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24257 "RANLIB=$${RANLIB}" \
24258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24259 maintainer-clean) \
24260 || exit 1
24262 @endif mmalloc
24266 .PHONY: configure-patch maybe-configure-patch
24267 maybe-configure-patch:
24268 @if gcc-bootstrap
24269 configure-patch: stage_current
24270 @endif gcc-bootstrap
24271 @if patch
24272 maybe-configure-patch: configure-patch
24273 configure-patch:
24274 @: $(MAKE); $(unstage)
24275 @r=`${PWD_COMMAND}`; export r; \
24276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24277 test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
24278 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
24279 $(HOST_EXPORTS) \
24280 echo Configuring in $(HOST_SUBDIR)/patch; \
24281 cd "$(HOST_SUBDIR)/patch" || exit 1; \
24282 case $(srcdir) in \
24283 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24284 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
24285 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24286 esac; \
24287 srcdiroption="--srcdir=$${topdir}/patch"; \
24288 libsrcdir="$$s/patch"; \
24289 $(SHELL) $${libsrcdir}/configure \
24290 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24291 --target=${target_alias} $${srcdiroption} \
24292 || exit 1
24293 @endif patch
24299 .PHONY: all-patch maybe-all-patch
24300 maybe-all-patch:
24301 @if gcc-bootstrap
24302 all-patch: stage_current
24303 @endif gcc-bootstrap
24304 @if patch
24305 TARGET-patch=all
24306 maybe-all-patch: all-patch
24307 all-patch: configure-patch
24308 @: $(MAKE); $(unstage)
24309 @r=`${PWD_COMMAND}`; export r; \
24310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24311 $(HOST_EXPORTS) \
24312 (cd $(HOST_SUBDIR)/patch && \
24313 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
24314 @endif patch
24319 .PHONY: check-patch maybe-check-patch
24320 maybe-check-patch:
24321 @if patch
24322 maybe-check-patch: check-patch
24324 check-patch:
24325 @: $(MAKE); $(unstage)
24326 @r=`${PWD_COMMAND}`; export r; \
24327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24328 $(HOST_EXPORTS) \
24329 (cd $(HOST_SUBDIR)/patch && \
24330 $(MAKE) $(FLAGS_TO_PASS) check)
24332 @endif patch
24334 .PHONY: install-patch maybe-install-patch
24335 maybe-install-patch:
24336 @if patch
24337 maybe-install-patch: install-patch
24339 install-patch: installdirs
24340 @: $(MAKE); $(unstage)
24341 @r=`${PWD_COMMAND}`; export r; \
24342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24343 $(HOST_EXPORTS) \
24344 (cd $(HOST_SUBDIR)/patch && \
24345 $(MAKE) $(FLAGS_TO_PASS) install)
24347 @endif patch
24349 # Other targets (info, dvi, pdf, etc.)
24351 .PHONY: maybe-info-patch info-patch
24352 maybe-info-patch:
24353 @if patch
24354 maybe-info-patch: info-patch
24356 info-patch: \
24357 configure-patch
24358 @: $(MAKE); $(unstage)
24359 @[ -f ./patch/Makefile ] || exit 0; \
24360 r=`${PWD_COMMAND}`; export r; \
24361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24362 $(HOST_EXPORTS) \
24363 for flag in $(EXTRA_HOST_FLAGS) ; do \
24364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24365 done; \
24366 echo "Doing info in patch" ; \
24367 (cd $(HOST_SUBDIR)/patch && \
24368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24370 "RANLIB=$${RANLIB}" \
24371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24372 info) \
24373 || exit 1
24375 @endif patch
24377 .PHONY: maybe-dvi-patch dvi-patch
24378 maybe-dvi-patch:
24379 @if patch
24380 maybe-dvi-patch: dvi-patch
24382 dvi-patch: \
24383 configure-patch
24384 @: $(MAKE); $(unstage)
24385 @[ -f ./patch/Makefile ] || exit 0; \
24386 r=`${PWD_COMMAND}`; export r; \
24387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24388 $(HOST_EXPORTS) \
24389 for flag in $(EXTRA_HOST_FLAGS) ; do \
24390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24391 done; \
24392 echo "Doing dvi in patch" ; \
24393 (cd $(HOST_SUBDIR)/patch && \
24394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24396 "RANLIB=$${RANLIB}" \
24397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24398 dvi) \
24399 || exit 1
24401 @endif patch
24403 .PHONY: maybe-pdf-patch pdf-patch
24404 maybe-pdf-patch:
24405 @if patch
24406 maybe-pdf-patch: pdf-patch
24408 pdf-patch: \
24409 configure-patch
24410 @: $(MAKE); $(unstage)
24411 @[ -f ./patch/Makefile ] || exit 0; \
24412 r=`${PWD_COMMAND}`; export r; \
24413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24414 $(HOST_EXPORTS) \
24415 for flag in $(EXTRA_HOST_FLAGS) ; do \
24416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24417 done; \
24418 echo "Doing pdf in patch" ; \
24419 (cd $(HOST_SUBDIR)/patch && \
24420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24422 "RANLIB=$${RANLIB}" \
24423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24424 pdf) \
24425 || exit 1
24427 @endif patch
24429 .PHONY: maybe-html-patch html-patch
24430 maybe-html-patch:
24431 @if patch
24432 maybe-html-patch: html-patch
24434 html-patch: \
24435 configure-patch
24436 @: $(MAKE); $(unstage)
24437 @[ -f ./patch/Makefile ] || exit 0; \
24438 r=`${PWD_COMMAND}`; export r; \
24439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24440 $(HOST_EXPORTS) \
24441 for flag in $(EXTRA_HOST_FLAGS) ; do \
24442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24443 done; \
24444 echo "Doing html in patch" ; \
24445 (cd $(HOST_SUBDIR)/patch && \
24446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24448 "RANLIB=$${RANLIB}" \
24449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24450 html) \
24451 || exit 1
24453 @endif patch
24455 .PHONY: maybe-TAGS-patch TAGS-patch
24456 maybe-TAGS-patch:
24457 @if patch
24458 maybe-TAGS-patch: TAGS-patch
24460 TAGS-patch: \
24461 configure-patch
24462 @: $(MAKE); $(unstage)
24463 @[ -f ./patch/Makefile ] || exit 0; \
24464 r=`${PWD_COMMAND}`; export r; \
24465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24466 $(HOST_EXPORTS) \
24467 for flag in $(EXTRA_HOST_FLAGS) ; do \
24468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24469 done; \
24470 echo "Doing TAGS in patch" ; \
24471 (cd $(HOST_SUBDIR)/patch && \
24472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24474 "RANLIB=$${RANLIB}" \
24475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24476 TAGS) \
24477 || exit 1
24479 @endif patch
24481 .PHONY: maybe-install-info-patch install-info-patch
24482 maybe-install-info-patch:
24483 @if patch
24484 maybe-install-info-patch: install-info-patch
24486 install-info-patch: \
24487 configure-patch \
24488 info-patch
24489 @: $(MAKE); $(unstage)
24490 @[ -f ./patch/Makefile ] || exit 0; \
24491 r=`${PWD_COMMAND}`; export r; \
24492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24493 $(HOST_EXPORTS) \
24494 for flag in $(EXTRA_HOST_FLAGS) ; do \
24495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24496 done; \
24497 echo "Doing install-info in patch" ; \
24498 (cd $(HOST_SUBDIR)/patch && \
24499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24501 "RANLIB=$${RANLIB}" \
24502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24503 install-info) \
24504 || exit 1
24506 @endif patch
24508 .PHONY: maybe-install-html-patch install-html-patch
24509 maybe-install-html-patch:
24510 @if patch
24511 maybe-install-html-patch: install-html-patch
24513 install-html-patch: \
24514 configure-patch \
24515 html-patch
24516 @: $(MAKE); $(unstage)
24517 @[ -f ./patch/Makefile ] || exit 0; \
24518 r=`${PWD_COMMAND}`; export r; \
24519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24520 $(HOST_EXPORTS) \
24521 for flag in $(EXTRA_HOST_FLAGS) ; do \
24522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24523 done; \
24524 echo "Doing install-html in patch" ; \
24525 (cd $(HOST_SUBDIR)/patch && \
24526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24528 "RANLIB=$${RANLIB}" \
24529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24530 install-html) \
24531 || exit 1
24533 @endif patch
24535 .PHONY: maybe-installcheck-patch installcheck-patch
24536 maybe-installcheck-patch:
24537 @if patch
24538 maybe-installcheck-patch: installcheck-patch
24540 installcheck-patch: \
24541 configure-patch
24542 @: $(MAKE); $(unstage)
24543 @[ -f ./patch/Makefile ] || exit 0; \
24544 r=`${PWD_COMMAND}`; export r; \
24545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24546 $(HOST_EXPORTS) \
24547 for flag in $(EXTRA_HOST_FLAGS) ; do \
24548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24549 done; \
24550 echo "Doing installcheck in patch" ; \
24551 (cd $(HOST_SUBDIR)/patch && \
24552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24554 "RANLIB=$${RANLIB}" \
24555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24556 installcheck) \
24557 || exit 1
24559 @endif patch
24561 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
24562 maybe-mostlyclean-patch:
24563 @if patch
24564 maybe-mostlyclean-patch: mostlyclean-patch
24566 mostlyclean-patch:
24567 @: $(MAKE); $(unstage)
24568 @[ -f ./patch/Makefile ] || exit 0; \
24569 r=`${PWD_COMMAND}`; export r; \
24570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24571 $(HOST_EXPORTS) \
24572 for flag in $(EXTRA_HOST_FLAGS) ; do \
24573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24574 done; \
24575 echo "Doing mostlyclean in patch" ; \
24576 (cd $(HOST_SUBDIR)/patch && \
24577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24579 "RANLIB=$${RANLIB}" \
24580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24581 mostlyclean) \
24582 || exit 1
24584 @endif patch
24586 .PHONY: maybe-clean-patch clean-patch
24587 maybe-clean-patch:
24588 @if patch
24589 maybe-clean-patch: clean-patch
24591 clean-patch:
24592 @: $(MAKE); $(unstage)
24593 @[ -f ./patch/Makefile ] || exit 0; \
24594 r=`${PWD_COMMAND}`; export r; \
24595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24596 $(HOST_EXPORTS) \
24597 for flag in $(EXTRA_HOST_FLAGS) ; do \
24598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24599 done; \
24600 echo "Doing clean in patch" ; \
24601 (cd $(HOST_SUBDIR)/patch && \
24602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24604 "RANLIB=$${RANLIB}" \
24605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24606 clean) \
24607 || exit 1
24609 @endif patch
24611 .PHONY: maybe-distclean-patch distclean-patch
24612 maybe-distclean-patch:
24613 @if patch
24614 maybe-distclean-patch: distclean-patch
24616 distclean-patch:
24617 @: $(MAKE); $(unstage)
24618 @[ -f ./patch/Makefile ] || exit 0; \
24619 r=`${PWD_COMMAND}`; export r; \
24620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24621 $(HOST_EXPORTS) \
24622 for flag in $(EXTRA_HOST_FLAGS) ; do \
24623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24624 done; \
24625 echo "Doing distclean in patch" ; \
24626 (cd $(HOST_SUBDIR)/patch && \
24627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24629 "RANLIB=$${RANLIB}" \
24630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24631 distclean) \
24632 || exit 1
24634 @endif patch
24636 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
24637 maybe-maintainer-clean-patch:
24638 @if patch
24639 maybe-maintainer-clean-patch: maintainer-clean-patch
24641 maintainer-clean-patch:
24642 @: $(MAKE); $(unstage)
24643 @[ -f ./patch/Makefile ] || exit 0; \
24644 r=`${PWD_COMMAND}`; export r; \
24645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24646 $(HOST_EXPORTS) \
24647 for flag in $(EXTRA_HOST_FLAGS) ; do \
24648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24649 done; \
24650 echo "Doing maintainer-clean in patch" ; \
24651 (cd $(HOST_SUBDIR)/patch && \
24652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24654 "RANLIB=$${RANLIB}" \
24655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24656 maintainer-clean) \
24657 || exit 1
24659 @endif patch
24663 .PHONY: configure-perl maybe-configure-perl
24664 maybe-configure-perl:
24665 @if gcc-bootstrap
24666 configure-perl: stage_current
24667 @endif gcc-bootstrap
24668 @if perl
24669 maybe-configure-perl: configure-perl
24670 configure-perl:
24671 @: $(MAKE); $(unstage)
24672 @r=`${PWD_COMMAND}`; export r; \
24673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24674 test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
24675 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
24676 $(HOST_EXPORTS) \
24677 echo Configuring in $(HOST_SUBDIR)/perl; \
24678 cd "$(HOST_SUBDIR)/perl" || exit 1; \
24679 case $(srcdir) in \
24680 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24681 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
24682 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24683 esac; \
24684 srcdiroption="--srcdir=$${topdir}/perl"; \
24685 libsrcdir="$$s/perl"; \
24686 $(SHELL) $${libsrcdir}/configure \
24687 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24688 --target=${target_alias} $${srcdiroption} \
24689 || exit 1
24690 @endif perl
24696 .PHONY: all-perl maybe-all-perl
24697 maybe-all-perl:
24698 @if gcc-bootstrap
24699 all-perl: stage_current
24700 @endif gcc-bootstrap
24701 @if perl
24702 TARGET-perl=all
24703 maybe-all-perl: all-perl
24704 all-perl: configure-perl
24705 @: $(MAKE); $(unstage)
24706 @r=`${PWD_COMMAND}`; export r; \
24707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24708 $(HOST_EXPORTS) \
24709 (cd $(HOST_SUBDIR)/perl && \
24710 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
24711 @endif perl
24716 .PHONY: check-perl maybe-check-perl
24717 maybe-check-perl:
24718 @if perl
24719 maybe-check-perl: check-perl
24721 check-perl:
24722 @: $(MAKE); $(unstage)
24723 @r=`${PWD_COMMAND}`; export r; \
24724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24725 $(HOST_EXPORTS) \
24726 (cd $(HOST_SUBDIR)/perl && \
24727 $(MAKE) $(FLAGS_TO_PASS) check)
24729 @endif perl
24731 .PHONY: install-perl maybe-install-perl
24732 maybe-install-perl:
24733 @if perl
24734 maybe-install-perl: install-perl
24736 install-perl: installdirs
24737 @: $(MAKE); $(unstage)
24738 @r=`${PWD_COMMAND}`; export r; \
24739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24740 $(HOST_EXPORTS) \
24741 (cd $(HOST_SUBDIR)/perl && \
24742 $(MAKE) $(FLAGS_TO_PASS) install)
24744 @endif perl
24746 # Other targets (info, dvi, pdf, etc.)
24748 .PHONY: maybe-info-perl info-perl
24749 maybe-info-perl:
24750 @if perl
24751 maybe-info-perl: info-perl
24753 info-perl: \
24754 configure-perl
24755 @: $(MAKE); $(unstage)
24756 @[ -f ./perl/Makefile ] || exit 0; \
24757 r=`${PWD_COMMAND}`; export r; \
24758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24759 $(HOST_EXPORTS) \
24760 for flag in $(EXTRA_HOST_FLAGS) ; do \
24761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24762 done; \
24763 echo "Doing info in perl" ; \
24764 (cd $(HOST_SUBDIR)/perl && \
24765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24767 "RANLIB=$${RANLIB}" \
24768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24769 info) \
24770 || exit 1
24772 @endif perl
24774 .PHONY: maybe-dvi-perl dvi-perl
24775 maybe-dvi-perl:
24776 @if perl
24777 maybe-dvi-perl: dvi-perl
24779 dvi-perl: \
24780 configure-perl
24781 @: $(MAKE); $(unstage)
24782 @[ -f ./perl/Makefile ] || exit 0; \
24783 r=`${PWD_COMMAND}`; export r; \
24784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24785 $(HOST_EXPORTS) \
24786 for flag in $(EXTRA_HOST_FLAGS) ; do \
24787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24788 done; \
24789 echo "Doing dvi in perl" ; \
24790 (cd $(HOST_SUBDIR)/perl && \
24791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24793 "RANLIB=$${RANLIB}" \
24794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24795 dvi) \
24796 || exit 1
24798 @endif perl
24800 .PHONY: maybe-pdf-perl pdf-perl
24801 maybe-pdf-perl:
24802 @if perl
24803 maybe-pdf-perl: pdf-perl
24805 pdf-perl: \
24806 configure-perl
24807 @: $(MAKE); $(unstage)
24808 @[ -f ./perl/Makefile ] || exit 0; \
24809 r=`${PWD_COMMAND}`; export r; \
24810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24811 $(HOST_EXPORTS) \
24812 for flag in $(EXTRA_HOST_FLAGS) ; do \
24813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24814 done; \
24815 echo "Doing pdf in perl" ; \
24816 (cd $(HOST_SUBDIR)/perl && \
24817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24819 "RANLIB=$${RANLIB}" \
24820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24821 pdf) \
24822 || exit 1
24824 @endif perl
24826 .PHONY: maybe-html-perl html-perl
24827 maybe-html-perl:
24828 @if perl
24829 maybe-html-perl: html-perl
24831 html-perl: \
24832 configure-perl
24833 @: $(MAKE); $(unstage)
24834 @[ -f ./perl/Makefile ] || exit 0; \
24835 r=`${PWD_COMMAND}`; export r; \
24836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24837 $(HOST_EXPORTS) \
24838 for flag in $(EXTRA_HOST_FLAGS) ; do \
24839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24840 done; \
24841 echo "Doing html in perl" ; \
24842 (cd $(HOST_SUBDIR)/perl && \
24843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24845 "RANLIB=$${RANLIB}" \
24846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24847 html) \
24848 || exit 1
24850 @endif perl
24852 .PHONY: maybe-TAGS-perl TAGS-perl
24853 maybe-TAGS-perl:
24854 @if perl
24855 maybe-TAGS-perl: TAGS-perl
24857 TAGS-perl: \
24858 configure-perl
24859 @: $(MAKE); $(unstage)
24860 @[ -f ./perl/Makefile ] || exit 0; \
24861 r=`${PWD_COMMAND}`; export r; \
24862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24863 $(HOST_EXPORTS) \
24864 for flag in $(EXTRA_HOST_FLAGS) ; do \
24865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24866 done; \
24867 echo "Doing TAGS in perl" ; \
24868 (cd $(HOST_SUBDIR)/perl && \
24869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24871 "RANLIB=$${RANLIB}" \
24872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24873 TAGS) \
24874 || exit 1
24876 @endif perl
24878 .PHONY: maybe-install-info-perl install-info-perl
24879 maybe-install-info-perl:
24880 @if perl
24881 maybe-install-info-perl: install-info-perl
24883 install-info-perl: \
24884 configure-perl \
24885 info-perl
24886 @: $(MAKE); $(unstage)
24887 @[ -f ./perl/Makefile ] || exit 0; \
24888 r=`${PWD_COMMAND}`; export r; \
24889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24890 $(HOST_EXPORTS) \
24891 for flag in $(EXTRA_HOST_FLAGS) ; do \
24892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24893 done; \
24894 echo "Doing install-info in perl" ; \
24895 (cd $(HOST_SUBDIR)/perl && \
24896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24898 "RANLIB=$${RANLIB}" \
24899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24900 install-info) \
24901 || exit 1
24903 @endif perl
24905 .PHONY: maybe-install-html-perl install-html-perl
24906 maybe-install-html-perl:
24907 @if perl
24908 maybe-install-html-perl: install-html-perl
24910 install-html-perl: \
24911 configure-perl \
24912 html-perl
24913 @: $(MAKE); $(unstage)
24914 @[ -f ./perl/Makefile ] || exit 0; \
24915 r=`${PWD_COMMAND}`; export r; \
24916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24917 $(HOST_EXPORTS) \
24918 for flag in $(EXTRA_HOST_FLAGS) ; do \
24919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24920 done; \
24921 echo "Doing install-html in perl" ; \
24922 (cd $(HOST_SUBDIR)/perl && \
24923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24925 "RANLIB=$${RANLIB}" \
24926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24927 install-html) \
24928 || exit 1
24930 @endif perl
24932 .PHONY: maybe-installcheck-perl installcheck-perl
24933 maybe-installcheck-perl:
24934 @if perl
24935 maybe-installcheck-perl: installcheck-perl
24937 installcheck-perl: \
24938 configure-perl
24939 @: $(MAKE); $(unstage)
24940 @[ -f ./perl/Makefile ] || exit 0; \
24941 r=`${PWD_COMMAND}`; export r; \
24942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24943 $(HOST_EXPORTS) \
24944 for flag in $(EXTRA_HOST_FLAGS) ; do \
24945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24946 done; \
24947 echo "Doing installcheck in perl" ; \
24948 (cd $(HOST_SUBDIR)/perl && \
24949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24951 "RANLIB=$${RANLIB}" \
24952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24953 installcheck) \
24954 || exit 1
24956 @endif perl
24958 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
24959 maybe-mostlyclean-perl:
24960 @if perl
24961 maybe-mostlyclean-perl: mostlyclean-perl
24963 mostlyclean-perl:
24964 @: $(MAKE); $(unstage)
24965 @[ -f ./perl/Makefile ] || exit 0; \
24966 r=`${PWD_COMMAND}`; export r; \
24967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24968 $(HOST_EXPORTS) \
24969 for flag in $(EXTRA_HOST_FLAGS) ; do \
24970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24971 done; \
24972 echo "Doing mostlyclean in perl" ; \
24973 (cd $(HOST_SUBDIR)/perl && \
24974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24976 "RANLIB=$${RANLIB}" \
24977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24978 mostlyclean) \
24979 || exit 1
24981 @endif perl
24983 .PHONY: maybe-clean-perl clean-perl
24984 maybe-clean-perl:
24985 @if perl
24986 maybe-clean-perl: clean-perl
24988 clean-perl:
24989 @: $(MAKE); $(unstage)
24990 @[ -f ./perl/Makefile ] || exit 0; \
24991 r=`${PWD_COMMAND}`; export r; \
24992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24993 $(HOST_EXPORTS) \
24994 for flag in $(EXTRA_HOST_FLAGS) ; do \
24995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24996 done; \
24997 echo "Doing clean in perl" ; \
24998 (cd $(HOST_SUBDIR)/perl && \
24999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25001 "RANLIB=$${RANLIB}" \
25002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25003 clean) \
25004 || exit 1
25006 @endif perl
25008 .PHONY: maybe-distclean-perl distclean-perl
25009 maybe-distclean-perl:
25010 @if perl
25011 maybe-distclean-perl: distclean-perl
25013 distclean-perl:
25014 @: $(MAKE); $(unstage)
25015 @[ -f ./perl/Makefile ] || exit 0; \
25016 r=`${PWD_COMMAND}`; export r; \
25017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25018 $(HOST_EXPORTS) \
25019 for flag in $(EXTRA_HOST_FLAGS) ; do \
25020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25021 done; \
25022 echo "Doing distclean in perl" ; \
25023 (cd $(HOST_SUBDIR)/perl && \
25024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25026 "RANLIB=$${RANLIB}" \
25027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25028 distclean) \
25029 || exit 1
25031 @endif perl
25033 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
25034 maybe-maintainer-clean-perl:
25035 @if perl
25036 maybe-maintainer-clean-perl: maintainer-clean-perl
25038 maintainer-clean-perl:
25039 @: $(MAKE); $(unstage)
25040 @[ -f ./perl/Makefile ] || exit 0; \
25041 r=`${PWD_COMMAND}`; export r; \
25042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25043 $(HOST_EXPORTS) \
25044 for flag in $(EXTRA_HOST_FLAGS) ; do \
25045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25046 done; \
25047 echo "Doing maintainer-clean in perl" ; \
25048 (cd $(HOST_SUBDIR)/perl && \
25049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25051 "RANLIB=$${RANLIB}" \
25052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25053 maintainer-clean) \
25054 || exit 1
25056 @endif perl
25060 .PHONY: configure-prms maybe-configure-prms
25061 maybe-configure-prms:
25062 @if gcc-bootstrap
25063 configure-prms: stage_current
25064 @endif gcc-bootstrap
25065 @if prms
25066 maybe-configure-prms: configure-prms
25067 configure-prms:
25068 @: $(MAKE); $(unstage)
25069 @r=`${PWD_COMMAND}`; export r; \
25070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25071 test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
25072 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
25073 $(HOST_EXPORTS) \
25074 echo Configuring in $(HOST_SUBDIR)/prms; \
25075 cd "$(HOST_SUBDIR)/prms" || exit 1; \
25076 case $(srcdir) in \
25077 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25078 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
25079 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25080 esac; \
25081 srcdiroption="--srcdir=$${topdir}/prms"; \
25082 libsrcdir="$$s/prms"; \
25083 $(SHELL) $${libsrcdir}/configure \
25084 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25085 --target=${target_alias} $${srcdiroption} \
25086 || exit 1
25087 @endif prms
25093 .PHONY: all-prms maybe-all-prms
25094 maybe-all-prms:
25095 @if gcc-bootstrap
25096 all-prms: stage_current
25097 @endif gcc-bootstrap
25098 @if prms
25099 TARGET-prms=all
25100 maybe-all-prms: all-prms
25101 all-prms: configure-prms
25102 @: $(MAKE); $(unstage)
25103 @r=`${PWD_COMMAND}`; export r; \
25104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25105 $(HOST_EXPORTS) \
25106 (cd $(HOST_SUBDIR)/prms && \
25107 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
25108 @endif prms
25113 .PHONY: check-prms maybe-check-prms
25114 maybe-check-prms:
25115 @if prms
25116 maybe-check-prms: check-prms
25118 check-prms:
25119 @: $(MAKE); $(unstage)
25120 @r=`${PWD_COMMAND}`; export r; \
25121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25122 $(HOST_EXPORTS) \
25123 (cd $(HOST_SUBDIR)/prms && \
25124 $(MAKE) $(FLAGS_TO_PASS) check)
25126 @endif prms
25128 .PHONY: install-prms maybe-install-prms
25129 maybe-install-prms:
25130 @if prms
25131 maybe-install-prms: install-prms
25133 install-prms: installdirs
25134 @: $(MAKE); $(unstage)
25135 @r=`${PWD_COMMAND}`; export r; \
25136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25137 $(HOST_EXPORTS) \
25138 (cd $(HOST_SUBDIR)/prms && \
25139 $(MAKE) $(FLAGS_TO_PASS) install)
25141 @endif prms
25143 # Other targets (info, dvi, pdf, etc.)
25145 .PHONY: maybe-info-prms info-prms
25146 maybe-info-prms:
25147 @if prms
25148 maybe-info-prms: info-prms
25150 info-prms: \
25151 configure-prms
25152 @: $(MAKE); $(unstage)
25153 @[ -f ./prms/Makefile ] || exit 0; \
25154 r=`${PWD_COMMAND}`; export r; \
25155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25156 $(HOST_EXPORTS) \
25157 for flag in $(EXTRA_HOST_FLAGS) ; do \
25158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25159 done; \
25160 echo "Doing info in prms" ; \
25161 (cd $(HOST_SUBDIR)/prms && \
25162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25164 "RANLIB=$${RANLIB}" \
25165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25166 info) \
25167 || exit 1
25169 @endif prms
25171 .PHONY: maybe-dvi-prms dvi-prms
25172 maybe-dvi-prms:
25173 @if prms
25174 maybe-dvi-prms: dvi-prms
25176 dvi-prms: \
25177 configure-prms
25178 @: $(MAKE); $(unstage)
25179 @[ -f ./prms/Makefile ] || exit 0; \
25180 r=`${PWD_COMMAND}`; export r; \
25181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25182 $(HOST_EXPORTS) \
25183 for flag in $(EXTRA_HOST_FLAGS) ; do \
25184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25185 done; \
25186 echo "Doing dvi in prms" ; \
25187 (cd $(HOST_SUBDIR)/prms && \
25188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25190 "RANLIB=$${RANLIB}" \
25191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25192 dvi) \
25193 || exit 1
25195 @endif prms
25197 .PHONY: maybe-pdf-prms pdf-prms
25198 maybe-pdf-prms:
25199 @if prms
25200 maybe-pdf-prms: pdf-prms
25202 pdf-prms: \
25203 configure-prms
25204 @: $(MAKE); $(unstage)
25205 @[ -f ./prms/Makefile ] || exit 0; \
25206 r=`${PWD_COMMAND}`; export r; \
25207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25208 $(HOST_EXPORTS) \
25209 for flag in $(EXTRA_HOST_FLAGS) ; do \
25210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25211 done; \
25212 echo "Doing pdf in prms" ; \
25213 (cd $(HOST_SUBDIR)/prms && \
25214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25216 "RANLIB=$${RANLIB}" \
25217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25218 pdf) \
25219 || exit 1
25221 @endif prms
25223 .PHONY: maybe-html-prms html-prms
25224 maybe-html-prms:
25225 @if prms
25226 maybe-html-prms: html-prms
25228 html-prms: \
25229 configure-prms
25230 @: $(MAKE); $(unstage)
25231 @[ -f ./prms/Makefile ] || exit 0; \
25232 r=`${PWD_COMMAND}`; export r; \
25233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25234 $(HOST_EXPORTS) \
25235 for flag in $(EXTRA_HOST_FLAGS) ; do \
25236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25237 done; \
25238 echo "Doing html in prms" ; \
25239 (cd $(HOST_SUBDIR)/prms && \
25240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25242 "RANLIB=$${RANLIB}" \
25243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25244 html) \
25245 || exit 1
25247 @endif prms
25249 .PHONY: maybe-TAGS-prms TAGS-prms
25250 maybe-TAGS-prms:
25251 @if prms
25252 maybe-TAGS-prms: TAGS-prms
25254 TAGS-prms: \
25255 configure-prms
25256 @: $(MAKE); $(unstage)
25257 @[ -f ./prms/Makefile ] || exit 0; \
25258 r=`${PWD_COMMAND}`; export r; \
25259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25260 $(HOST_EXPORTS) \
25261 for flag in $(EXTRA_HOST_FLAGS) ; do \
25262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25263 done; \
25264 echo "Doing TAGS in prms" ; \
25265 (cd $(HOST_SUBDIR)/prms && \
25266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25268 "RANLIB=$${RANLIB}" \
25269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25270 TAGS) \
25271 || exit 1
25273 @endif prms
25275 .PHONY: maybe-install-info-prms install-info-prms
25276 maybe-install-info-prms:
25277 @if prms
25278 maybe-install-info-prms: install-info-prms
25280 install-info-prms: \
25281 configure-prms \
25282 info-prms
25283 @: $(MAKE); $(unstage)
25284 @[ -f ./prms/Makefile ] || exit 0; \
25285 r=`${PWD_COMMAND}`; export r; \
25286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25287 $(HOST_EXPORTS) \
25288 for flag in $(EXTRA_HOST_FLAGS) ; do \
25289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25290 done; \
25291 echo "Doing install-info in prms" ; \
25292 (cd $(HOST_SUBDIR)/prms && \
25293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25295 "RANLIB=$${RANLIB}" \
25296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25297 install-info) \
25298 || exit 1
25300 @endif prms
25302 .PHONY: maybe-install-html-prms install-html-prms
25303 maybe-install-html-prms:
25304 @if prms
25305 maybe-install-html-prms: install-html-prms
25307 install-html-prms: \
25308 configure-prms \
25309 html-prms
25310 @: $(MAKE); $(unstage)
25311 @[ -f ./prms/Makefile ] || exit 0; \
25312 r=`${PWD_COMMAND}`; export r; \
25313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25314 $(HOST_EXPORTS) \
25315 for flag in $(EXTRA_HOST_FLAGS) ; do \
25316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25317 done; \
25318 echo "Doing install-html in prms" ; \
25319 (cd $(HOST_SUBDIR)/prms && \
25320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25322 "RANLIB=$${RANLIB}" \
25323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25324 install-html) \
25325 || exit 1
25327 @endif prms
25329 .PHONY: maybe-installcheck-prms installcheck-prms
25330 maybe-installcheck-prms:
25331 @if prms
25332 maybe-installcheck-prms: installcheck-prms
25334 installcheck-prms: \
25335 configure-prms
25336 @: $(MAKE); $(unstage)
25337 @[ -f ./prms/Makefile ] || exit 0; \
25338 r=`${PWD_COMMAND}`; export r; \
25339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25340 $(HOST_EXPORTS) \
25341 for flag in $(EXTRA_HOST_FLAGS) ; do \
25342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25343 done; \
25344 echo "Doing installcheck in prms" ; \
25345 (cd $(HOST_SUBDIR)/prms && \
25346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25348 "RANLIB=$${RANLIB}" \
25349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25350 installcheck) \
25351 || exit 1
25353 @endif prms
25355 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
25356 maybe-mostlyclean-prms:
25357 @if prms
25358 maybe-mostlyclean-prms: mostlyclean-prms
25360 mostlyclean-prms:
25361 @: $(MAKE); $(unstage)
25362 @[ -f ./prms/Makefile ] || exit 0; \
25363 r=`${PWD_COMMAND}`; export r; \
25364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25365 $(HOST_EXPORTS) \
25366 for flag in $(EXTRA_HOST_FLAGS) ; do \
25367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25368 done; \
25369 echo "Doing mostlyclean in prms" ; \
25370 (cd $(HOST_SUBDIR)/prms && \
25371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25373 "RANLIB=$${RANLIB}" \
25374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25375 mostlyclean) \
25376 || exit 1
25378 @endif prms
25380 .PHONY: maybe-clean-prms clean-prms
25381 maybe-clean-prms:
25382 @if prms
25383 maybe-clean-prms: clean-prms
25385 clean-prms:
25386 @: $(MAKE); $(unstage)
25387 @[ -f ./prms/Makefile ] || exit 0; \
25388 r=`${PWD_COMMAND}`; export r; \
25389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25390 $(HOST_EXPORTS) \
25391 for flag in $(EXTRA_HOST_FLAGS) ; do \
25392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25393 done; \
25394 echo "Doing clean in prms" ; \
25395 (cd $(HOST_SUBDIR)/prms && \
25396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25398 "RANLIB=$${RANLIB}" \
25399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25400 clean) \
25401 || exit 1
25403 @endif prms
25405 .PHONY: maybe-distclean-prms distclean-prms
25406 maybe-distclean-prms:
25407 @if prms
25408 maybe-distclean-prms: distclean-prms
25410 distclean-prms:
25411 @: $(MAKE); $(unstage)
25412 @[ -f ./prms/Makefile ] || exit 0; \
25413 r=`${PWD_COMMAND}`; export r; \
25414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25415 $(HOST_EXPORTS) \
25416 for flag in $(EXTRA_HOST_FLAGS) ; do \
25417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25418 done; \
25419 echo "Doing distclean in prms" ; \
25420 (cd $(HOST_SUBDIR)/prms && \
25421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25423 "RANLIB=$${RANLIB}" \
25424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25425 distclean) \
25426 || exit 1
25428 @endif prms
25430 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
25431 maybe-maintainer-clean-prms:
25432 @if prms
25433 maybe-maintainer-clean-prms: maintainer-clean-prms
25435 maintainer-clean-prms:
25436 @: $(MAKE); $(unstage)
25437 @[ -f ./prms/Makefile ] || exit 0; \
25438 r=`${PWD_COMMAND}`; export r; \
25439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25440 $(HOST_EXPORTS) \
25441 for flag in $(EXTRA_HOST_FLAGS) ; do \
25442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25443 done; \
25444 echo "Doing maintainer-clean in prms" ; \
25445 (cd $(HOST_SUBDIR)/prms && \
25446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25448 "RANLIB=$${RANLIB}" \
25449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25450 maintainer-clean) \
25451 || exit 1
25453 @endif prms
25457 .PHONY: configure-rcs maybe-configure-rcs
25458 maybe-configure-rcs:
25459 @if gcc-bootstrap
25460 configure-rcs: stage_current
25461 @endif gcc-bootstrap
25462 @if rcs
25463 maybe-configure-rcs: configure-rcs
25464 configure-rcs:
25465 @: $(MAKE); $(unstage)
25466 @r=`${PWD_COMMAND}`; export r; \
25467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25468 test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
25469 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
25470 $(HOST_EXPORTS) \
25471 echo Configuring in $(HOST_SUBDIR)/rcs; \
25472 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
25473 case $(srcdir) in \
25474 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25475 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
25476 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25477 esac; \
25478 srcdiroption="--srcdir=$${topdir}/rcs"; \
25479 libsrcdir="$$s/rcs"; \
25480 $(SHELL) $${libsrcdir}/configure \
25481 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25482 --target=${target_alias} $${srcdiroption} \
25483 || exit 1
25484 @endif rcs
25490 .PHONY: all-rcs maybe-all-rcs
25491 maybe-all-rcs:
25492 @if gcc-bootstrap
25493 all-rcs: stage_current
25494 @endif gcc-bootstrap
25495 @if rcs
25496 TARGET-rcs=all
25497 maybe-all-rcs: all-rcs
25498 all-rcs: configure-rcs
25499 @: $(MAKE); $(unstage)
25500 @r=`${PWD_COMMAND}`; export r; \
25501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25502 $(HOST_EXPORTS) \
25503 (cd $(HOST_SUBDIR)/rcs && \
25504 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
25505 @endif rcs
25510 .PHONY: check-rcs maybe-check-rcs
25511 maybe-check-rcs:
25512 @if rcs
25513 maybe-check-rcs: check-rcs
25515 check-rcs:
25516 @: $(MAKE); $(unstage)
25517 @r=`${PWD_COMMAND}`; export r; \
25518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25519 $(HOST_EXPORTS) \
25520 (cd $(HOST_SUBDIR)/rcs && \
25521 $(MAKE) $(FLAGS_TO_PASS) check)
25523 @endif rcs
25525 .PHONY: install-rcs maybe-install-rcs
25526 maybe-install-rcs:
25527 @if rcs
25528 maybe-install-rcs: install-rcs
25530 install-rcs: installdirs
25531 @: $(MAKE); $(unstage)
25532 @r=`${PWD_COMMAND}`; export r; \
25533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25534 $(HOST_EXPORTS) \
25535 (cd $(HOST_SUBDIR)/rcs && \
25536 $(MAKE) $(FLAGS_TO_PASS) install)
25538 @endif rcs
25540 # Other targets (info, dvi, pdf, etc.)
25542 .PHONY: maybe-info-rcs info-rcs
25543 maybe-info-rcs:
25544 @if rcs
25545 maybe-info-rcs: info-rcs
25547 info-rcs: \
25548 configure-rcs
25549 @: $(MAKE); $(unstage)
25550 @[ -f ./rcs/Makefile ] || exit 0; \
25551 r=`${PWD_COMMAND}`; export r; \
25552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25553 $(HOST_EXPORTS) \
25554 for flag in $(EXTRA_HOST_FLAGS) ; do \
25555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25556 done; \
25557 echo "Doing info in rcs" ; \
25558 (cd $(HOST_SUBDIR)/rcs && \
25559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25561 "RANLIB=$${RANLIB}" \
25562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25563 info) \
25564 || exit 1
25566 @endif rcs
25568 .PHONY: maybe-dvi-rcs dvi-rcs
25569 maybe-dvi-rcs:
25570 @if rcs
25571 maybe-dvi-rcs: dvi-rcs
25573 dvi-rcs: \
25574 configure-rcs
25575 @: $(MAKE); $(unstage)
25576 @[ -f ./rcs/Makefile ] || exit 0; \
25577 r=`${PWD_COMMAND}`; export r; \
25578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25579 $(HOST_EXPORTS) \
25580 for flag in $(EXTRA_HOST_FLAGS) ; do \
25581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25582 done; \
25583 echo "Doing dvi in rcs" ; \
25584 (cd $(HOST_SUBDIR)/rcs && \
25585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25587 "RANLIB=$${RANLIB}" \
25588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25589 dvi) \
25590 || exit 1
25592 @endif rcs
25594 .PHONY: maybe-pdf-rcs pdf-rcs
25595 maybe-pdf-rcs:
25596 @if rcs
25597 maybe-pdf-rcs: pdf-rcs
25599 pdf-rcs: \
25600 configure-rcs
25601 @: $(MAKE); $(unstage)
25602 @[ -f ./rcs/Makefile ] || exit 0; \
25603 r=`${PWD_COMMAND}`; export r; \
25604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25605 $(HOST_EXPORTS) \
25606 for flag in $(EXTRA_HOST_FLAGS) ; do \
25607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25608 done; \
25609 echo "Doing pdf in rcs" ; \
25610 (cd $(HOST_SUBDIR)/rcs && \
25611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25613 "RANLIB=$${RANLIB}" \
25614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25615 pdf) \
25616 || exit 1
25618 @endif rcs
25620 .PHONY: maybe-html-rcs html-rcs
25621 maybe-html-rcs:
25622 @if rcs
25623 maybe-html-rcs: html-rcs
25625 html-rcs: \
25626 configure-rcs
25627 @: $(MAKE); $(unstage)
25628 @[ -f ./rcs/Makefile ] || exit 0; \
25629 r=`${PWD_COMMAND}`; export r; \
25630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25631 $(HOST_EXPORTS) \
25632 for flag in $(EXTRA_HOST_FLAGS) ; do \
25633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25634 done; \
25635 echo "Doing html in rcs" ; \
25636 (cd $(HOST_SUBDIR)/rcs && \
25637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25639 "RANLIB=$${RANLIB}" \
25640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25641 html) \
25642 || exit 1
25644 @endif rcs
25646 .PHONY: maybe-TAGS-rcs TAGS-rcs
25647 maybe-TAGS-rcs:
25648 @if rcs
25649 maybe-TAGS-rcs: TAGS-rcs
25651 TAGS-rcs: \
25652 configure-rcs
25653 @: $(MAKE); $(unstage)
25654 @[ -f ./rcs/Makefile ] || exit 0; \
25655 r=`${PWD_COMMAND}`; export r; \
25656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25657 $(HOST_EXPORTS) \
25658 for flag in $(EXTRA_HOST_FLAGS) ; do \
25659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25660 done; \
25661 echo "Doing TAGS in rcs" ; \
25662 (cd $(HOST_SUBDIR)/rcs && \
25663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25665 "RANLIB=$${RANLIB}" \
25666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25667 TAGS) \
25668 || exit 1
25670 @endif rcs
25672 .PHONY: maybe-install-info-rcs install-info-rcs
25673 maybe-install-info-rcs:
25674 @if rcs
25675 maybe-install-info-rcs: install-info-rcs
25677 install-info-rcs: \
25678 configure-rcs \
25679 info-rcs
25680 @: $(MAKE); $(unstage)
25681 @[ -f ./rcs/Makefile ] || exit 0; \
25682 r=`${PWD_COMMAND}`; export r; \
25683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25684 $(HOST_EXPORTS) \
25685 for flag in $(EXTRA_HOST_FLAGS) ; do \
25686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25687 done; \
25688 echo "Doing install-info in rcs" ; \
25689 (cd $(HOST_SUBDIR)/rcs && \
25690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25692 "RANLIB=$${RANLIB}" \
25693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25694 install-info) \
25695 || exit 1
25697 @endif rcs
25699 .PHONY: maybe-install-html-rcs install-html-rcs
25700 maybe-install-html-rcs:
25701 @if rcs
25702 maybe-install-html-rcs: install-html-rcs
25704 install-html-rcs: \
25705 configure-rcs \
25706 html-rcs
25707 @: $(MAKE); $(unstage)
25708 @[ -f ./rcs/Makefile ] || exit 0; \
25709 r=`${PWD_COMMAND}`; export r; \
25710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25711 $(HOST_EXPORTS) \
25712 for flag in $(EXTRA_HOST_FLAGS) ; do \
25713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25714 done; \
25715 echo "Doing install-html in rcs" ; \
25716 (cd $(HOST_SUBDIR)/rcs && \
25717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25719 "RANLIB=$${RANLIB}" \
25720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25721 install-html) \
25722 || exit 1
25724 @endif rcs
25726 .PHONY: maybe-installcheck-rcs installcheck-rcs
25727 maybe-installcheck-rcs:
25728 @if rcs
25729 maybe-installcheck-rcs: installcheck-rcs
25731 installcheck-rcs: \
25732 configure-rcs
25733 @: $(MAKE); $(unstage)
25734 @[ -f ./rcs/Makefile ] || exit 0; \
25735 r=`${PWD_COMMAND}`; export r; \
25736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25737 $(HOST_EXPORTS) \
25738 for flag in $(EXTRA_HOST_FLAGS) ; do \
25739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25740 done; \
25741 echo "Doing installcheck in rcs" ; \
25742 (cd $(HOST_SUBDIR)/rcs && \
25743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25745 "RANLIB=$${RANLIB}" \
25746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25747 installcheck) \
25748 || exit 1
25750 @endif rcs
25752 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
25753 maybe-mostlyclean-rcs:
25754 @if rcs
25755 maybe-mostlyclean-rcs: mostlyclean-rcs
25757 mostlyclean-rcs:
25758 @: $(MAKE); $(unstage)
25759 @[ -f ./rcs/Makefile ] || exit 0; \
25760 r=`${PWD_COMMAND}`; export r; \
25761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25762 $(HOST_EXPORTS) \
25763 for flag in $(EXTRA_HOST_FLAGS) ; do \
25764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25765 done; \
25766 echo "Doing mostlyclean in rcs" ; \
25767 (cd $(HOST_SUBDIR)/rcs && \
25768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25770 "RANLIB=$${RANLIB}" \
25771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25772 mostlyclean) \
25773 || exit 1
25775 @endif rcs
25777 .PHONY: maybe-clean-rcs clean-rcs
25778 maybe-clean-rcs:
25779 @if rcs
25780 maybe-clean-rcs: clean-rcs
25782 clean-rcs:
25783 @: $(MAKE); $(unstage)
25784 @[ -f ./rcs/Makefile ] || exit 0; \
25785 r=`${PWD_COMMAND}`; export r; \
25786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25787 $(HOST_EXPORTS) \
25788 for flag in $(EXTRA_HOST_FLAGS) ; do \
25789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25790 done; \
25791 echo "Doing clean in rcs" ; \
25792 (cd $(HOST_SUBDIR)/rcs && \
25793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25795 "RANLIB=$${RANLIB}" \
25796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25797 clean) \
25798 || exit 1
25800 @endif rcs
25802 .PHONY: maybe-distclean-rcs distclean-rcs
25803 maybe-distclean-rcs:
25804 @if rcs
25805 maybe-distclean-rcs: distclean-rcs
25807 distclean-rcs:
25808 @: $(MAKE); $(unstage)
25809 @[ -f ./rcs/Makefile ] || exit 0; \
25810 r=`${PWD_COMMAND}`; export r; \
25811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25812 $(HOST_EXPORTS) \
25813 for flag in $(EXTRA_HOST_FLAGS) ; do \
25814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25815 done; \
25816 echo "Doing distclean in rcs" ; \
25817 (cd $(HOST_SUBDIR)/rcs && \
25818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25820 "RANLIB=$${RANLIB}" \
25821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25822 distclean) \
25823 || exit 1
25825 @endif rcs
25827 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
25828 maybe-maintainer-clean-rcs:
25829 @if rcs
25830 maybe-maintainer-clean-rcs: maintainer-clean-rcs
25832 maintainer-clean-rcs:
25833 @: $(MAKE); $(unstage)
25834 @[ -f ./rcs/Makefile ] || exit 0; \
25835 r=`${PWD_COMMAND}`; export r; \
25836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25837 $(HOST_EXPORTS) \
25838 for flag in $(EXTRA_HOST_FLAGS) ; do \
25839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25840 done; \
25841 echo "Doing maintainer-clean in rcs" ; \
25842 (cd $(HOST_SUBDIR)/rcs && \
25843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25845 "RANLIB=$${RANLIB}" \
25846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25847 maintainer-clean) \
25848 || exit 1
25850 @endif rcs
25854 .PHONY: configure-readline maybe-configure-readline
25855 maybe-configure-readline:
25856 @if gcc-bootstrap
25857 configure-readline: stage_current
25858 @endif gcc-bootstrap
25859 @if readline
25860 maybe-configure-readline: configure-readline
25861 configure-readline:
25862 @: $(MAKE); $(unstage)
25863 @r=`${PWD_COMMAND}`; export r; \
25864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25865 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
25866 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
25867 $(HOST_EXPORTS) \
25868 echo Configuring in $(HOST_SUBDIR)/readline; \
25869 cd "$(HOST_SUBDIR)/readline" || exit 1; \
25870 case $(srcdir) in \
25871 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25872 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
25873 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25874 esac; \
25875 srcdiroption="--srcdir=$${topdir}/readline"; \
25876 libsrcdir="$$s/readline"; \
25877 $(SHELL) $${libsrcdir}/configure \
25878 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25879 --target=${target_alias} $${srcdiroption} \
25880 || exit 1
25881 @endif readline
25887 .PHONY: all-readline maybe-all-readline
25888 maybe-all-readline:
25889 @if gcc-bootstrap
25890 all-readline: stage_current
25891 @endif gcc-bootstrap
25892 @if readline
25893 TARGET-readline=all
25894 maybe-all-readline: all-readline
25895 all-readline: configure-readline
25896 @: $(MAKE); $(unstage)
25897 @r=`${PWD_COMMAND}`; export r; \
25898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25899 $(HOST_EXPORTS) \
25900 (cd $(HOST_SUBDIR)/readline && \
25901 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
25902 @endif readline
25907 .PHONY: check-readline maybe-check-readline
25908 maybe-check-readline:
25909 @if readline
25910 maybe-check-readline: check-readline
25912 check-readline:
25913 @: $(MAKE); $(unstage)
25914 @r=`${PWD_COMMAND}`; export r; \
25915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25916 $(HOST_EXPORTS) \
25917 (cd $(HOST_SUBDIR)/readline && \
25918 $(MAKE) $(FLAGS_TO_PASS) check)
25920 @endif readline
25922 .PHONY: install-readline maybe-install-readline
25923 maybe-install-readline:
25924 @if readline
25925 maybe-install-readline: install-readline
25927 install-readline: installdirs
25928 @: $(MAKE); $(unstage)
25929 @r=`${PWD_COMMAND}`; export r; \
25930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25931 $(HOST_EXPORTS) \
25932 (cd $(HOST_SUBDIR)/readline && \
25933 $(MAKE) $(FLAGS_TO_PASS) install)
25935 @endif readline
25937 # Other targets (info, dvi, pdf, etc.)
25939 .PHONY: maybe-info-readline info-readline
25940 maybe-info-readline:
25941 @if readline
25942 maybe-info-readline: info-readline
25944 info-readline: \
25945 configure-readline
25946 @: $(MAKE); $(unstage)
25947 @[ -f ./readline/Makefile ] || exit 0; \
25948 r=`${PWD_COMMAND}`; export r; \
25949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25950 $(HOST_EXPORTS) \
25951 for flag in $(EXTRA_HOST_FLAGS) ; do \
25952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25953 done; \
25954 echo "Doing info in readline" ; \
25955 (cd $(HOST_SUBDIR)/readline && \
25956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25958 "RANLIB=$${RANLIB}" \
25959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25960 info) \
25961 || exit 1
25963 @endif readline
25965 .PHONY: maybe-dvi-readline dvi-readline
25966 maybe-dvi-readline:
25967 @if readline
25968 maybe-dvi-readline: dvi-readline
25970 dvi-readline: \
25971 configure-readline
25972 @: $(MAKE); $(unstage)
25973 @[ -f ./readline/Makefile ] || exit 0; \
25974 r=`${PWD_COMMAND}`; export r; \
25975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25976 $(HOST_EXPORTS) \
25977 for flag in $(EXTRA_HOST_FLAGS) ; do \
25978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25979 done; \
25980 echo "Doing dvi in readline" ; \
25981 (cd $(HOST_SUBDIR)/readline && \
25982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25984 "RANLIB=$${RANLIB}" \
25985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25986 dvi) \
25987 || exit 1
25989 @endif readline
25991 .PHONY: maybe-pdf-readline pdf-readline
25992 maybe-pdf-readline:
25993 @if readline
25994 maybe-pdf-readline: pdf-readline
25996 pdf-readline: \
25997 configure-readline
25998 @: $(MAKE); $(unstage)
25999 @[ -f ./readline/Makefile ] || exit 0; \
26000 r=`${PWD_COMMAND}`; export r; \
26001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26002 $(HOST_EXPORTS) \
26003 for flag in $(EXTRA_HOST_FLAGS) ; do \
26004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26005 done; \
26006 echo "Doing pdf in readline" ; \
26007 (cd $(HOST_SUBDIR)/readline && \
26008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26010 "RANLIB=$${RANLIB}" \
26011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26012 pdf) \
26013 || exit 1
26015 @endif readline
26017 .PHONY: maybe-html-readline html-readline
26018 maybe-html-readline:
26019 @if readline
26020 maybe-html-readline: html-readline
26022 html-readline: \
26023 configure-readline
26024 @: $(MAKE); $(unstage)
26025 @[ -f ./readline/Makefile ] || exit 0; \
26026 r=`${PWD_COMMAND}`; export r; \
26027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26028 $(HOST_EXPORTS) \
26029 for flag in $(EXTRA_HOST_FLAGS) ; do \
26030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26031 done; \
26032 echo "Doing html in readline" ; \
26033 (cd $(HOST_SUBDIR)/readline && \
26034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26036 "RANLIB=$${RANLIB}" \
26037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26038 html) \
26039 || exit 1
26041 @endif readline
26043 .PHONY: maybe-TAGS-readline TAGS-readline
26044 maybe-TAGS-readline:
26045 @if readline
26046 maybe-TAGS-readline: TAGS-readline
26048 TAGS-readline: \
26049 configure-readline
26050 @: $(MAKE); $(unstage)
26051 @[ -f ./readline/Makefile ] || exit 0; \
26052 r=`${PWD_COMMAND}`; export r; \
26053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26054 $(HOST_EXPORTS) \
26055 for flag in $(EXTRA_HOST_FLAGS) ; do \
26056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26057 done; \
26058 echo "Doing TAGS in readline" ; \
26059 (cd $(HOST_SUBDIR)/readline && \
26060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26062 "RANLIB=$${RANLIB}" \
26063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26064 TAGS) \
26065 || exit 1
26067 @endif readline
26069 .PHONY: maybe-install-info-readline install-info-readline
26070 maybe-install-info-readline:
26071 @if readline
26072 maybe-install-info-readline: install-info-readline
26074 install-info-readline: \
26075 configure-readline \
26076 info-readline
26077 @: $(MAKE); $(unstage)
26078 @[ -f ./readline/Makefile ] || exit 0; \
26079 r=`${PWD_COMMAND}`; export r; \
26080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26081 $(HOST_EXPORTS) \
26082 for flag in $(EXTRA_HOST_FLAGS) ; do \
26083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26084 done; \
26085 echo "Doing install-info in readline" ; \
26086 (cd $(HOST_SUBDIR)/readline && \
26087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26089 "RANLIB=$${RANLIB}" \
26090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26091 install-info) \
26092 || exit 1
26094 @endif readline
26096 .PHONY: maybe-install-html-readline install-html-readline
26097 maybe-install-html-readline:
26098 @if readline
26099 maybe-install-html-readline: install-html-readline
26101 install-html-readline: \
26102 configure-readline \
26103 html-readline
26104 @: $(MAKE); $(unstage)
26105 @[ -f ./readline/Makefile ] || exit 0; \
26106 r=`${PWD_COMMAND}`; export r; \
26107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26108 $(HOST_EXPORTS) \
26109 for flag in $(EXTRA_HOST_FLAGS) ; do \
26110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26111 done; \
26112 echo "Doing install-html in readline" ; \
26113 (cd $(HOST_SUBDIR)/readline && \
26114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26116 "RANLIB=$${RANLIB}" \
26117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26118 install-html) \
26119 || exit 1
26121 @endif readline
26123 .PHONY: maybe-installcheck-readline installcheck-readline
26124 maybe-installcheck-readline:
26125 @if readline
26126 maybe-installcheck-readline: installcheck-readline
26128 installcheck-readline: \
26129 configure-readline
26130 @: $(MAKE); $(unstage)
26131 @[ -f ./readline/Makefile ] || exit 0; \
26132 r=`${PWD_COMMAND}`; export r; \
26133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26134 $(HOST_EXPORTS) \
26135 for flag in $(EXTRA_HOST_FLAGS) ; do \
26136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26137 done; \
26138 echo "Doing installcheck in readline" ; \
26139 (cd $(HOST_SUBDIR)/readline && \
26140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26142 "RANLIB=$${RANLIB}" \
26143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26144 installcheck) \
26145 || exit 1
26147 @endif readline
26149 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
26150 maybe-mostlyclean-readline:
26151 @if readline
26152 maybe-mostlyclean-readline: mostlyclean-readline
26154 mostlyclean-readline:
26155 @: $(MAKE); $(unstage)
26156 @[ -f ./readline/Makefile ] || exit 0; \
26157 r=`${PWD_COMMAND}`; export r; \
26158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26159 $(HOST_EXPORTS) \
26160 for flag in $(EXTRA_HOST_FLAGS) ; do \
26161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26162 done; \
26163 echo "Doing mostlyclean in readline" ; \
26164 (cd $(HOST_SUBDIR)/readline && \
26165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26167 "RANLIB=$${RANLIB}" \
26168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26169 mostlyclean) \
26170 || exit 1
26172 @endif readline
26174 .PHONY: maybe-clean-readline clean-readline
26175 maybe-clean-readline:
26176 @if readline
26177 maybe-clean-readline: clean-readline
26179 clean-readline:
26180 @: $(MAKE); $(unstage)
26181 @[ -f ./readline/Makefile ] || exit 0; \
26182 r=`${PWD_COMMAND}`; export r; \
26183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26184 $(HOST_EXPORTS) \
26185 for flag in $(EXTRA_HOST_FLAGS) ; do \
26186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26187 done; \
26188 echo "Doing clean in readline" ; \
26189 (cd $(HOST_SUBDIR)/readline && \
26190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26192 "RANLIB=$${RANLIB}" \
26193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26194 clean) \
26195 || exit 1
26197 @endif readline
26199 .PHONY: maybe-distclean-readline distclean-readline
26200 maybe-distclean-readline:
26201 @if readline
26202 maybe-distclean-readline: distclean-readline
26204 distclean-readline:
26205 @: $(MAKE); $(unstage)
26206 @[ -f ./readline/Makefile ] || exit 0; \
26207 r=`${PWD_COMMAND}`; export r; \
26208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26209 $(HOST_EXPORTS) \
26210 for flag in $(EXTRA_HOST_FLAGS) ; do \
26211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26212 done; \
26213 echo "Doing distclean in readline" ; \
26214 (cd $(HOST_SUBDIR)/readline && \
26215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26217 "RANLIB=$${RANLIB}" \
26218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26219 distclean) \
26220 || exit 1
26222 @endif readline
26224 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
26225 maybe-maintainer-clean-readline:
26226 @if readline
26227 maybe-maintainer-clean-readline: maintainer-clean-readline
26229 maintainer-clean-readline:
26230 @: $(MAKE); $(unstage)
26231 @[ -f ./readline/Makefile ] || exit 0; \
26232 r=`${PWD_COMMAND}`; export r; \
26233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26234 $(HOST_EXPORTS) \
26235 for flag in $(EXTRA_HOST_FLAGS) ; do \
26236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26237 done; \
26238 echo "Doing maintainer-clean in readline" ; \
26239 (cd $(HOST_SUBDIR)/readline && \
26240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26242 "RANLIB=$${RANLIB}" \
26243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26244 maintainer-clean) \
26245 || exit 1
26247 @endif readline
26251 .PHONY: configure-release maybe-configure-release
26252 maybe-configure-release:
26253 @if gcc-bootstrap
26254 configure-release: stage_current
26255 @endif gcc-bootstrap
26256 @if release
26257 maybe-configure-release: configure-release
26258 configure-release:
26259 @: $(MAKE); $(unstage)
26260 @r=`${PWD_COMMAND}`; export r; \
26261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26262 test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
26263 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
26264 $(HOST_EXPORTS) \
26265 echo Configuring in $(HOST_SUBDIR)/release; \
26266 cd "$(HOST_SUBDIR)/release" || exit 1; \
26267 case $(srcdir) in \
26268 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26269 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
26270 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26271 esac; \
26272 srcdiroption="--srcdir=$${topdir}/release"; \
26273 libsrcdir="$$s/release"; \
26274 $(SHELL) $${libsrcdir}/configure \
26275 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26276 --target=${target_alias} $${srcdiroption} \
26277 || exit 1
26278 @endif release
26284 .PHONY: all-release maybe-all-release
26285 maybe-all-release:
26286 @if gcc-bootstrap
26287 all-release: stage_current
26288 @endif gcc-bootstrap
26289 @if release
26290 TARGET-release=all
26291 maybe-all-release: all-release
26292 all-release: configure-release
26293 @: $(MAKE); $(unstage)
26294 @r=`${PWD_COMMAND}`; export r; \
26295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26296 $(HOST_EXPORTS) \
26297 (cd $(HOST_SUBDIR)/release && \
26298 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
26299 @endif release
26304 .PHONY: check-release maybe-check-release
26305 maybe-check-release:
26306 @if release
26307 maybe-check-release: check-release
26309 check-release:
26311 @endif release
26313 .PHONY: install-release maybe-install-release
26314 maybe-install-release:
26315 @if release
26316 maybe-install-release: install-release
26318 install-release:
26320 @endif release
26322 # Other targets (info, dvi, pdf, etc.)
26324 .PHONY: maybe-info-release info-release
26325 maybe-info-release:
26326 @if release
26327 maybe-info-release: info-release
26329 info-release: \
26330 configure-release
26331 @: $(MAKE); $(unstage)
26332 @[ -f ./release/Makefile ] || exit 0; \
26333 r=`${PWD_COMMAND}`; export r; \
26334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26335 $(HOST_EXPORTS) \
26336 for flag in $(EXTRA_HOST_FLAGS) ; do \
26337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26338 done; \
26339 echo "Doing info in release" ; \
26340 (cd $(HOST_SUBDIR)/release && \
26341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26343 "RANLIB=$${RANLIB}" \
26344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26345 info) \
26346 || exit 1
26348 @endif release
26350 .PHONY: maybe-dvi-release dvi-release
26351 maybe-dvi-release:
26352 @if release
26353 maybe-dvi-release: dvi-release
26355 dvi-release: \
26356 configure-release
26357 @: $(MAKE); $(unstage)
26358 @[ -f ./release/Makefile ] || exit 0; \
26359 r=`${PWD_COMMAND}`; export r; \
26360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26361 $(HOST_EXPORTS) \
26362 for flag in $(EXTRA_HOST_FLAGS) ; do \
26363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26364 done; \
26365 echo "Doing dvi in release" ; \
26366 (cd $(HOST_SUBDIR)/release && \
26367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26369 "RANLIB=$${RANLIB}" \
26370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26371 dvi) \
26372 || exit 1
26374 @endif release
26376 .PHONY: maybe-pdf-release pdf-release
26377 maybe-pdf-release:
26378 @if release
26379 maybe-pdf-release: pdf-release
26381 pdf-release: \
26382 configure-release
26383 @: $(MAKE); $(unstage)
26384 @[ -f ./release/Makefile ] || exit 0; \
26385 r=`${PWD_COMMAND}`; export r; \
26386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26387 $(HOST_EXPORTS) \
26388 for flag in $(EXTRA_HOST_FLAGS) ; do \
26389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26390 done; \
26391 echo "Doing pdf in release" ; \
26392 (cd $(HOST_SUBDIR)/release && \
26393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26395 "RANLIB=$${RANLIB}" \
26396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26397 pdf) \
26398 || exit 1
26400 @endif release
26402 .PHONY: maybe-html-release html-release
26403 maybe-html-release:
26404 @if release
26405 maybe-html-release: html-release
26407 html-release: \
26408 configure-release
26409 @: $(MAKE); $(unstage)
26410 @[ -f ./release/Makefile ] || exit 0; \
26411 r=`${PWD_COMMAND}`; export r; \
26412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26413 $(HOST_EXPORTS) \
26414 for flag in $(EXTRA_HOST_FLAGS) ; do \
26415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26416 done; \
26417 echo "Doing html in release" ; \
26418 (cd $(HOST_SUBDIR)/release && \
26419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26421 "RANLIB=$${RANLIB}" \
26422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26423 html) \
26424 || exit 1
26426 @endif release
26428 .PHONY: maybe-TAGS-release TAGS-release
26429 maybe-TAGS-release:
26430 @if release
26431 maybe-TAGS-release: TAGS-release
26433 TAGS-release: \
26434 configure-release
26435 @: $(MAKE); $(unstage)
26436 @[ -f ./release/Makefile ] || exit 0; \
26437 r=`${PWD_COMMAND}`; export r; \
26438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26439 $(HOST_EXPORTS) \
26440 for flag in $(EXTRA_HOST_FLAGS) ; do \
26441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26442 done; \
26443 echo "Doing TAGS in release" ; \
26444 (cd $(HOST_SUBDIR)/release && \
26445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26447 "RANLIB=$${RANLIB}" \
26448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26449 TAGS) \
26450 || exit 1
26452 @endif release
26454 .PHONY: maybe-install-info-release install-info-release
26455 maybe-install-info-release:
26456 @if release
26457 maybe-install-info-release: install-info-release
26459 install-info-release: \
26460 configure-release \
26461 info-release
26462 @: $(MAKE); $(unstage)
26463 @[ -f ./release/Makefile ] || exit 0; \
26464 r=`${PWD_COMMAND}`; export r; \
26465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26466 $(HOST_EXPORTS) \
26467 for flag in $(EXTRA_HOST_FLAGS) ; do \
26468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26469 done; \
26470 echo "Doing install-info in release" ; \
26471 (cd $(HOST_SUBDIR)/release && \
26472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26474 "RANLIB=$${RANLIB}" \
26475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26476 install-info) \
26477 || exit 1
26479 @endif release
26481 .PHONY: maybe-install-html-release install-html-release
26482 maybe-install-html-release:
26483 @if release
26484 maybe-install-html-release: install-html-release
26486 install-html-release: \
26487 configure-release \
26488 html-release
26489 @: $(MAKE); $(unstage)
26490 @[ -f ./release/Makefile ] || exit 0; \
26491 r=`${PWD_COMMAND}`; export r; \
26492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26493 $(HOST_EXPORTS) \
26494 for flag in $(EXTRA_HOST_FLAGS) ; do \
26495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26496 done; \
26497 echo "Doing install-html in release" ; \
26498 (cd $(HOST_SUBDIR)/release && \
26499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26501 "RANLIB=$${RANLIB}" \
26502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26503 install-html) \
26504 || exit 1
26506 @endif release
26508 .PHONY: maybe-installcheck-release installcheck-release
26509 maybe-installcheck-release:
26510 @if release
26511 maybe-installcheck-release: installcheck-release
26513 installcheck-release: \
26514 configure-release
26515 @: $(MAKE); $(unstage)
26516 @[ -f ./release/Makefile ] || exit 0; \
26517 r=`${PWD_COMMAND}`; export r; \
26518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26519 $(HOST_EXPORTS) \
26520 for flag in $(EXTRA_HOST_FLAGS) ; do \
26521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26522 done; \
26523 echo "Doing installcheck in release" ; \
26524 (cd $(HOST_SUBDIR)/release && \
26525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26527 "RANLIB=$${RANLIB}" \
26528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26529 installcheck) \
26530 || exit 1
26532 @endif release
26534 .PHONY: maybe-mostlyclean-release mostlyclean-release
26535 maybe-mostlyclean-release:
26536 @if release
26537 maybe-mostlyclean-release: mostlyclean-release
26539 mostlyclean-release:
26540 @: $(MAKE); $(unstage)
26541 @[ -f ./release/Makefile ] || exit 0; \
26542 r=`${PWD_COMMAND}`; export r; \
26543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26544 $(HOST_EXPORTS) \
26545 for flag in $(EXTRA_HOST_FLAGS) ; do \
26546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26547 done; \
26548 echo "Doing mostlyclean in release" ; \
26549 (cd $(HOST_SUBDIR)/release && \
26550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26552 "RANLIB=$${RANLIB}" \
26553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26554 mostlyclean) \
26555 || exit 1
26557 @endif release
26559 .PHONY: maybe-clean-release clean-release
26560 maybe-clean-release:
26561 @if release
26562 maybe-clean-release: clean-release
26564 clean-release:
26565 @: $(MAKE); $(unstage)
26566 @[ -f ./release/Makefile ] || exit 0; \
26567 r=`${PWD_COMMAND}`; export r; \
26568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26569 $(HOST_EXPORTS) \
26570 for flag in $(EXTRA_HOST_FLAGS) ; do \
26571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26572 done; \
26573 echo "Doing clean in release" ; \
26574 (cd $(HOST_SUBDIR)/release && \
26575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26577 "RANLIB=$${RANLIB}" \
26578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26579 clean) \
26580 || exit 1
26582 @endif release
26584 .PHONY: maybe-distclean-release distclean-release
26585 maybe-distclean-release:
26586 @if release
26587 maybe-distclean-release: distclean-release
26589 distclean-release:
26590 @: $(MAKE); $(unstage)
26591 @[ -f ./release/Makefile ] || exit 0; \
26592 r=`${PWD_COMMAND}`; export r; \
26593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26594 $(HOST_EXPORTS) \
26595 for flag in $(EXTRA_HOST_FLAGS) ; do \
26596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26597 done; \
26598 echo "Doing distclean in release" ; \
26599 (cd $(HOST_SUBDIR)/release && \
26600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26602 "RANLIB=$${RANLIB}" \
26603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26604 distclean) \
26605 || exit 1
26607 @endif release
26609 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
26610 maybe-maintainer-clean-release:
26611 @if release
26612 maybe-maintainer-clean-release: maintainer-clean-release
26614 maintainer-clean-release:
26615 @: $(MAKE); $(unstage)
26616 @[ -f ./release/Makefile ] || exit 0; \
26617 r=`${PWD_COMMAND}`; export r; \
26618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26619 $(HOST_EXPORTS) \
26620 for flag in $(EXTRA_HOST_FLAGS) ; do \
26621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26622 done; \
26623 echo "Doing maintainer-clean in release" ; \
26624 (cd $(HOST_SUBDIR)/release && \
26625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26627 "RANLIB=$${RANLIB}" \
26628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26629 maintainer-clean) \
26630 || exit 1
26632 @endif release
26636 .PHONY: configure-recode maybe-configure-recode
26637 maybe-configure-recode:
26638 @if gcc-bootstrap
26639 configure-recode: stage_current
26640 @endif gcc-bootstrap
26641 @if recode
26642 maybe-configure-recode: configure-recode
26643 configure-recode:
26644 @: $(MAKE); $(unstage)
26645 @r=`${PWD_COMMAND}`; export r; \
26646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26647 test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
26648 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
26649 $(HOST_EXPORTS) \
26650 echo Configuring in $(HOST_SUBDIR)/recode; \
26651 cd "$(HOST_SUBDIR)/recode" || exit 1; \
26652 case $(srcdir) in \
26653 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26654 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
26655 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26656 esac; \
26657 srcdiroption="--srcdir=$${topdir}/recode"; \
26658 libsrcdir="$$s/recode"; \
26659 $(SHELL) $${libsrcdir}/configure \
26660 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26661 --target=${target_alias} $${srcdiroption} \
26662 || exit 1
26663 @endif recode
26669 .PHONY: all-recode maybe-all-recode
26670 maybe-all-recode:
26671 @if gcc-bootstrap
26672 all-recode: stage_current
26673 @endif gcc-bootstrap
26674 @if recode
26675 TARGET-recode=all
26676 maybe-all-recode: all-recode
26677 all-recode: configure-recode
26678 @: $(MAKE); $(unstage)
26679 @r=`${PWD_COMMAND}`; export r; \
26680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26681 $(HOST_EXPORTS) \
26682 (cd $(HOST_SUBDIR)/recode && \
26683 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
26684 @endif recode
26689 .PHONY: check-recode maybe-check-recode
26690 maybe-check-recode:
26691 @if recode
26692 maybe-check-recode: check-recode
26694 check-recode:
26695 @: $(MAKE); $(unstage)
26696 @r=`${PWD_COMMAND}`; export r; \
26697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26698 $(HOST_EXPORTS) \
26699 (cd $(HOST_SUBDIR)/recode && \
26700 $(MAKE) $(FLAGS_TO_PASS) check)
26702 @endif recode
26704 .PHONY: install-recode maybe-install-recode
26705 maybe-install-recode:
26706 @if recode
26707 maybe-install-recode: install-recode
26709 install-recode: installdirs
26710 @: $(MAKE); $(unstage)
26711 @r=`${PWD_COMMAND}`; export r; \
26712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26713 $(HOST_EXPORTS) \
26714 (cd $(HOST_SUBDIR)/recode && \
26715 $(MAKE) $(FLAGS_TO_PASS) install)
26717 @endif recode
26719 # Other targets (info, dvi, pdf, etc.)
26721 .PHONY: maybe-info-recode info-recode
26722 maybe-info-recode:
26723 @if recode
26724 maybe-info-recode: info-recode
26726 info-recode: \
26727 configure-recode
26728 @: $(MAKE); $(unstage)
26729 @[ -f ./recode/Makefile ] || exit 0; \
26730 r=`${PWD_COMMAND}`; export r; \
26731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26732 $(HOST_EXPORTS) \
26733 for flag in $(EXTRA_HOST_FLAGS) ; do \
26734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26735 done; \
26736 echo "Doing info in recode" ; \
26737 (cd $(HOST_SUBDIR)/recode && \
26738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26740 "RANLIB=$${RANLIB}" \
26741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26742 info) \
26743 || exit 1
26745 @endif recode
26747 .PHONY: maybe-dvi-recode dvi-recode
26748 maybe-dvi-recode:
26749 @if recode
26750 maybe-dvi-recode: dvi-recode
26752 dvi-recode: \
26753 configure-recode
26754 @: $(MAKE); $(unstage)
26755 @[ -f ./recode/Makefile ] || exit 0; \
26756 r=`${PWD_COMMAND}`; export r; \
26757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26758 $(HOST_EXPORTS) \
26759 for flag in $(EXTRA_HOST_FLAGS) ; do \
26760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26761 done; \
26762 echo "Doing dvi in recode" ; \
26763 (cd $(HOST_SUBDIR)/recode && \
26764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26766 "RANLIB=$${RANLIB}" \
26767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26768 dvi) \
26769 || exit 1
26771 @endif recode
26773 .PHONY: maybe-pdf-recode pdf-recode
26774 maybe-pdf-recode:
26775 @if recode
26776 maybe-pdf-recode: pdf-recode
26778 pdf-recode: \
26779 configure-recode
26780 @: $(MAKE); $(unstage)
26781 @[ -f ./recode/Makefile ] || exit 0; \
26782 r=`${PWD_COMMAND}`; export r; \
26783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26784 $(HOST_EXPORTS) \
26785 for flag in $(EXTRA_HOST_FLAGS) ; do \
26786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26787 done; \
26788 echo "Doing pdf in recode" ; \
26789 (cd $(HOST_SUBDIR)/recode && \
26790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26792 "RANLIB=$${RANLIB}" \
26793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26794 pdf) \
26795 || exit 1
26797 @endif recode
26799 .PHONY: maybe-html-recode html-recode
26800 maybe-html-recode:
26801 @if recode
26802 maybe-html-recode: html-recode
26804 html-recode: \
26805 configure-recode
26806 @: $(MAKE); $(unstage)
26807 @[ -f ./recode/Makefile ] || exit 0; \
26808 r=`${PWD_COMMAND}`; export r; \
26809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26810 $(HOST_EXPORTS) \
26811 for flag in $(EXTRA_HOST_FLAGS) ; do \
26812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26813 done; \
26814 echo "Doing html in recode" ; \
26815 (cd $(HOST_SUBDIR)/recode && \
26816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26818 "RANLIB=$${RANLIB}" \
26819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26820 html) \
26821 || exit 1
26823 @endif recode
26825 .PHONY: maybe-TAGS-recode TAGS-recode
26826 maybe-TAGS-recode:
26827 @if recode
26828 maybe-TAGS-recode: TAGS-recode
26830 TAGS-recode: \
26831 configure-recode
26832 @: $(MAKE); $(unstage)
26833 @[ -f ./recode/Makefile ] || exit 0; \
26834 r=`${PWD_COMMAND}`; export r; \
26835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26836 $(HOST_EXPORTS) \
26837 for flag in $(EXTRA_HOST_FLAGS) ; do \
26838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26839 done; \
26840 echo "Doing TAGS in recode" ; \
26841 (cd $(HOST_SUBDIR)/recode && \
26842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26844 "RANLIB=$${RANLIB}" \
26845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26846 TAGS) \
26847 || exit 1
26849 @endif recode
26851 .PHONY: maybe-install-info-recode install-info-recode
26852 maybe-install-info-recode:
26853 @if recode
26854 maybe-install-info-recode: install-info-recode
26856 install-info-recode: \
26857 configure-recode \
26858 info-recode
26859 @: $(MAKE); $(unstage)
26860 @[ -f ./recode/Makefile ] || exit 0; \
26861 r=`${PWD_COMMAND}`; export r; \
26862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26863 $(HOST_EXPORTS) \
26864 for flag in $(EXTRA_HOST_FLAGS) ; do \
26865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26866 done; \
26867 echo "Doing install-info in recode" ; \
26868 (cd $(HOST_SUBDIR)/recode && \
26869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26871 "RANLIB=$${RANLIB}" \
26872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26873 install-info) \
26874 || exit 1
26876 @endif recode
26878 .PHONY: maybe-install-html-recode install-html-recode
26879 maybe-install-html-recode:
26880 @if recode
26881 maybe-install-html-recode: install-html-recode
26883 install-html-recode: \
26884 configure-recode \
26885 html-recode
26886 @: $(MAKE); $(unstage)
26887 @[ -f ./recode/Makefile ] || exit 0; \
26888 r=`${PWD_COMMAND}`; export r; \
26889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26890 $(HOST_EXPORTS) \
26891 for flag in $(EXTRA_HOST_FLAGS) ; do \
26892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26893 done; \
26894 echo "Doing install-html in recode" ; \
26895 (cd $(HOST_SUBDIR)/recode && \
26896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26898 "RANLIB=$${RANLIB}" \
26899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26900 install-html) \
26901 || exit 1
26903 @endif recode
26905 .PHONY: maybe-installcheck-recode installcheck-recode
26906 maybe-installcheck-recode:
26907 @if recode
26908 maybe-installcheck-recode: installcheck-recode
26910 installcheck-recode: \
26911 configure-recode
26912 @: $(MAKE); $(unstage)
26913 @[ -f ./recode/Makefile ] || exit 0; \
26914 r=`${PWD_COMMAND}`; export r; \
26915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26916 $(HOST_EXPORTS) \
26917 for flag in $(EXTRA_HOST_FLAGS) ; do \
26918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26919 done; \
26920 echo "Doing installcheck in recode" ; \
26921 (cd $(HOST_SUBDIR)/recode && \
26922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26924 "RANLIB=$${RANLIB}" \
26925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26926 installcheck) \
26927 || exit 1
26929 @endif recode
26931 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
26932 maybe-mostlyclean-recode:
26933 @if recode
26934 maybe-mostlyclean-recode: mostlyclean-recode
26936 mostlyclean-recode:
26937 @: $(MAKE); $(unstage)
26938 @[ -f ./recode/Makefile ] || exit 0; \
26939 r=`${PWD_COMMAND}`; export r; \
26940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26941 $(HOST_EXPORTS) \
26942 for flag in $(EXTRA_HOST_FLAGS) ; do \
26943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26944 done; \
26945 echo "Doing mostlyclean in recode" ; \
26946 (cd $(HOST_SUBDIR)/recode && \
26947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26949 "RANLIB=$${RANLIB}" \
26950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26951 mostlyclean) \
26952 || exit 1
26954 @endif recode
26956 .PHONY: maybe-clean-recode clean-recode
26957 maybe-clean-recode:
26958 @if recode
26959 maybe-clean-recode: clean-recode
26961 clean-recode:
26962 @: $(MAKE); $(unstage)
26963 @[ -f ./recode/Makefile ] || exit 0; \
26964 r=`${PWD_COMMAND}`; export r; \
26965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26966 $(HOST_EXPORTS) \
26967 for flag in $(EXTRA_HOST_FLAGS) ; do \
26968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26969 done; \
26970 echo "Doing clean in recode" ; \
26971 (cd $(HOST_SUBDIR)/recode && \
26972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26974 "RANLIB=$${RANLIB}" \
26975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26976 clean) \
26977 || exit 1
26979 @endif recode
26981 .PHONY: maybe-distclean-recode distclean-recode
26982 maybe-distclean-recode:
26983 @if recode
26984 maybe-distclean-recode: distclean-recode
26986 distclean-recode:
26987 @: $(MAKE); $(unstage)
26988 @[ -f ./recode/Makefile ] || exit 0; \
26989 r=`${PWD_COMMAND}`; export r; \
26990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26991 $(HOST_EXPORTS) \
26992 for flag in $(EXTRA_HOST_FLAGS) ; do \
26993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26994 done; \
26995 echo "Doing distclean in recode" ; \
26996 (cd $(HOST_SUBDIR)/recode && \
26997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26999 "RANLIB=$${RANLIB}" \
27000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27001 distclean) \
27002 || exit 1
27004 @endif recode
27006 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
27007 maybe-maintainer-clean-recode:
27008 @if recode
27009 maybe-maintainer-clean-recode: maintainer-clean-recode
27011 maintainer-clean-recode:
27012 @: $(MAKE); $(unstage)
27013 @[ -f ./recode/Makefile ] || exit 0; \
27014 r=`${PWD_COMMAND}`; export r; \
27015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27016 $(HOST_EXPORTS) \
27017 for flag in $(EXTRA_HOST_FLAGS) ; do \
27018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27019 done; \
27020 echo "Doing maintainer-clean in recode" ; \
27021 (cd $(HOST_SUBDIR)/recode && \
27022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27024 "RANLIB=$${RANLIB}" \
27025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27026 maintainer-clean) \
27027 || exit 1
27029 @endif recode
27033 .PHONY: configure-sed maybe-configure-sed
27034 maybe-configure-sed:
27035 @if gcc-bootstrap
27036 configure-sed: stage_current
27037 @endif gcc-bootstrap
27038 @if sed
27039 maybe-configure-sed: configure-sed
27040 configure-sed:
27041 @: $(MAKE); $(unstage)
27042 @r=`${PWD_COMMAND}`; export r; \
27043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27044 test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
27045 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
27046 $(HOST_EXPORTS) \
27047 echo Configuring in $(HOST_SUBDIR)/sed; \
27048 cd "$(HOST_SUBDIR)/sed" || exit 1; \
27049 case $(srcdir) in \
27050 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27051 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
27052 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27053 esac; \
27054 srcdiroption="--srcdir=$${topdir}/sed"; \
27055 libsrcdir="$$s/sed"; \
27056 $(SHELL) $${libsrcdir}/configure \
27057 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27058 --target=${target_alias} $${srcdiroption} \
27059 || exit 1
27060 @endif sed
27066 .PHONY: all-sed maybe-all-sed
27067 maybe-all-sed:
27068 @if gcc-bootstrap
27069 all-sed: stage_current
27070 @endif gcc-bootstrap
27071 @if sed
27072 TARGET-sed=all
27073 maybe-all-sed: all-sed
27074 all-sed: configure-sed
27075 @: $(MAKE); $(unstage)
27076 @r=`${PWD_COMMAND}`; export r; \
27077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27078 $(HOST_EXPORTS) \
27079 (cd $(HOST_SUBDIR)/sed && \
27080 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
27081 @endif sed
27086 .PHONY: check-sed maybe-check-sed
27087 maybe-check-sed:
27088 @if sed
27089 maybe-check-sed: check-sed
27091 check-sed:
27092 @: $(MAKE); $(unstage)
27093 @r=`${PWD_COMMAND}`; export r; \
27094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27095 $(HOST_EXPORTS) \
27096 (cd $(HOST_SUBDIR)/sed && \
27097 $(MAKE) $(FLAGS_TO_PASS) check)
27099 @endif sed
27101 .PHONY: install-sed maybe-install-sed
27102 maybe-install-sed:
27103 @if sed
27104 maybe-install-sed: install-sed
27106 install-sed: installdirs
27107 @: $(MAKE); $(unstage)
27108 @r=`${PWD_COMMAND}`; export r; \
27109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27110 $(HOST_EXPORTS) \
27111 (cd $(HOST_SUBDIR)/sed && \
27112 $(MAKE) $(FLAGS_TO_PASS) install)
27114 @endif sed
27116 # Other targets (info, dvi, pdf, etc.)
27118 .PHONY: maybe-info-sed info-sed
27119 maybe-info-sed:
27120 @if sed
27121 maybe-info-sed: info-sed
27123 info-sed: \
27124 configure-sed
27125 @: $(MAKE); $(unstage)
27126 @[ -f ./sed/Makefile ] || exit 0; \
27127 r=`${PWD_COMMAND}`; export r; \
27128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27129 $(HOST_EXPORTS) \
27130 for flag in $(EXTRA_HOST_FLAGS) ; do \
27131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27132 done; \
27133 echo "Doing info in sed" ; \
27134 (cd $(HOST_SUBDIR)/sed && \
27135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27137 "RANLIB=$${RANLIB}" \
27138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27139 info) \
27140 || exit 1
27142 @endif sed
27144 .PHONY: maybe-dvi-sed dvi-sed
27145 maybe-dvi-sed:
27146 @if sed
27147 maybe-dvi-sed: dvi-sed
27149 dvi-sed: \
27150 configure-sed
27151 @: $(MAKE); $(unstage)
27152 @[ -f ./sed/Makefile ] || exit 0; \
27153 r=`${PWD_COMMAND}`; export r; \
27154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27155 $(HOST_EXPORTS) \
27156 for flag in $(EXTRA_HOST_FLAGS) ; do \
27157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27158 done; \
27159 echo "Doing dvi in sed" ; \
27160 (cd $(HOST_SUBDIR)/sed && \
27161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27163 "RANLIB=$${RANLIB}" \
27164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27165 dvi) \
27166 || exit 1
27168 @endif sed
27170 .PHONY: maybe-pdf-sed pdf-sed
27171 maybe-pdf-sed:
27172 @if sed
27173 maybe-pdf-sed: pdf-sed
27175 pdf-sed: \
27176 configure-sed
27177 @: $(MAKE); $(unstage)
27178 @[ -f ./sed/Makefile ] || exit 0; \
27179 r=`${PWD_COMMAND}`; export r; \
27180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27181 $(HOST_EXPORTS) \
27182 for flag in $(EXTRA_HOST_FLAGS) ; do \
27183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27184 done; \
27185 echo "Doing pdf in sed" ; \
27186 (cd $(HOST_SUBDIR)/sed && \
27187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27189 "RANLIB=$${RANLIB}" \
27190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27191 pdf) \
27192 || exit 1
27194 @endif sed
27196 .PHONY: maybe-html-sed html-sed
27197 maybe-html-sed:
27198 @if sed
27199 maybe-html-sed: html-sed
27201 html-sed: \
27202 configure-sed
27203 @: $(MAKE); $(unstage)
27204 @[ -f ./sed/Makefile ] || exit 0; \
27205 r=`${PWD_COMMAND}`; export r; \
27206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27207 $(HOST_EXPORTS) \
27208 for flag in $(EXTRA_HOST_FLAGS) ; do \
27209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27210 done; \
27211 echo "Doing html in sed" ; \
27212 (cd $(HOST_SUBDIR)/sed && \
27213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27215 "RANLIB=$${RANLIB}" \
27216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27217 html) \
27218 || exit 1
27220 @endif sed
27222 .PHONY: maybe-TAGS-sed TAGS-sed
27223 maybe-TAGS-sed:
27224 @if sed
27225 maybe-TAGS-sed: TAGS-sed
27227 TAGS-sed: \
27228 configure-sed
27229 @: $(MAKE); $(unstage)
27230 @[ -f ./sed/Makefile ] || exit 0; \
27231 r=`${PWD_COMMAND}`; export r; \
27232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27233 $(HOST_EXPORTS) \
27234 for flag in $(EXTRA_HOST_FLAGS) ; do \
27235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27236 done; \
27237 echo "Doing TAGS in sed" ; \
27238 (cd $(HOST_SUBDIR)/sed && \
27239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27241 "RANLIB=$${RANLIB}" \
27242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27243 TAGS) \
27244 || exit 1
27246 @endif sed
27248 .PHONY: maybe-install-info-sed install-info-sed
27249 maybe-install-info-sed:
27250 @if sed
27251 maybe-install-info-sed: install-info-sed
27253 install-info-sed: \
27254 configure-sed \
27255 info-sed
27256 @: $(MAKE); $(unstage)
27257 @[ -f ./sed/Makefile ] || exit 0; \
27258 r=`${PWD_COMMAND}`; export r; \
27259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27260 $(HOST_EXPORTS) \
27261 for flag in $(EXTRA_HOST_FLAGS) ; do \
27262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27263 done; \
27264 echo "Doing install-info in sed" ; \
27265 (cd $(HOST_SUBDIR)/sed && \
27266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27268 "RANLIB=$${RANLIB}" \
27269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27270 install-info) \
27271 || exit 1
27273 @endif sed
27275 .PHONY: maybe-install-html-sed install-html-sed
27276 maybe-install-html-sed:
27277 @if sed
27278 maybe-install-html-sed: install-html-sed
27280 install-html-sed: \
27281 configure-sed \
27282 html-sed
27283 @: $(MAKE); $(unstage)
27284 @[ -f ./sed/Makefile ] || exit 0; \
27285 r=`${PWD_COMMAND}`; export r; \
27286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27287 $(HOST_EXPORTS) \
27288 for flag in $(EXTRA_HOST_FLAGS) ; do \
27289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27290 done; \
27291 echo "Doing install-html in sed" ; \
27292 (cd $(HOST_SUBDIR)/sed && \
27293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27295 "RANLIB=$${RANLIB}" \
27296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27297 install-html) \
27298 || exit 1
27300 @endif sed
27302 .PHONY: maybe-installcheck-sed installcheck-sed
27303 maybe-installcheck-sed:
27304 @if sed
27305 maybe-installcheck-sed: installcheck-sed
27307 installcheck-sed: \
27308 configure-sed
27309 @: $(MAKE); $(unstage)
27310 @[ -f ./sed/Makefile ] || exit 0; \
27311 r=`${PWD_COMMAND}`; export r; \
27312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27313 $(HOST_EXPORTS) \
27314 for flag in $(EXTRA_HOST_FLAGS) ; do \
27315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27316 done; \
27317 echo "Doing installcheck in sed" ; \
27318 (cd $(HOST_SUBDIR)/sed && \
27319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27321 "RANLIB=$${RANLIB}" \
27322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27323 installcheck) \
27324 || exit 1
27326 @endif sed
27328 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
27329 maybe-mostlyclean-sed:
27330 @if sed
27331 maybe-mostlyclean-sed: mostlyclean-sed
27333 mostlyclean-sed:
27334 @: $(MAKE); $(unstage)
27335 @[ -f ./sed/Makefile ] || exit 0; \
27336 r=`${PWD_COMMAND}`; export r; \
27337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27338 $(HOST_EXPORTS) \
27339 for flag in $(EXTRA_HOST_FLAGS) ; do \
27340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27341 done; \
27342 echo "Doing mostlyclean in sed" ; \
27343 (cd $(HOST_SUBDIR)/sed && \
27344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27346 "RANLIB=$${RANLIB}" \
27347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27348 mostlyclean) \
27349 || exit 1
27351 @endif sed
27353 .PHONY: maybe-clean-sed clean-sed
27354 maybe-clean-sed:
27355 @if sed
27356 maybe-clean-sed: clean-sed
27358 clean-sed:
27359 @: $(MAKE); $(unstage)
27360 @[ -f ./sed/Makefile ] || exit 0; \
27361 r=`${PWD_COMMAND}`; export r; \
27362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27363 $(HOST_EXPORTS) \
27364 for flag in $(EXTRA_HOST_FLAGS) ; do \
27365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27366 done; \
27367 echo "Doing clean in sed" ; \
27368 (cd $(HOST_SUBDIR)/sed && \
27369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27371 "RANLIB=$${RANLIB}" \
27372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27373 clean) \
27374 || exit 1
27376 @endif sed
27378 .PHONY: maybe-distclean-sed distclean-sed
27379 maybe-distclean-sed:
27380 @if sed
27381 maybe-distclean-sed: distclean-sed
27383 distclean-sed:
27384 @: $(MAKE); $(unstage)
27385 @[ -f ./sed/Makefile ] || exit 0; \
27386 r=`${PWD_COMMAND}`; export r; \
27387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27388 $(HOST_EXPORTS) \
27389 for flag in $(EXTRA_HOST_FLAGS) ; do \
27390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27391 done; \
27392 echo "Doing distclean in sed" ; \
27393 (cd $(HOST_SUBDIR)/sed && \
27394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27396 "RANLIB=$${RANLIB}" \
27397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27398 distclean) \
27399 || exit 1
27401 @endif sed
27403 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
27404 maybe-maintainer-clean-sed:
27405 @if sed
27406 maybe-maintainer-clean-sed: maintainer-clean-sed
27408 maintainer-clean-sed:
27409 @: $(MAKE); $(unstage)
27410 @[ -f ./sed/Makefile ] || exit 0; \
27411 r=`${PWD_COMMAND}`; export r; \
27412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27413 $(HOST_EXPORTS) \
27414 for flag in $(EXTRA_HOST_FLAGS) ; do \
27415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27416 done; \
27417 echo "Doing maintainer-clean in sed" ; \
27418 (cd $(HOST_SUBDIR)/sed && \
27419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27421 "RANLIB=$${RANLIB}" \
27422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27423 maintainer-clean) \
27424 || exit 1
27426 @endif sed
27430 .PHONY: configure-send-pr maybe-configure-send-pr
27431 maybe-configure-send-pr:
27432 @if gcc-bootstrap
27433 configure-send-pr: stage_current
27434 @endif gcc-bootstrap
27435 @if send-pr
27436 maybe-configure-send-pr: configure-send-pr
27437 configure-send-pr:
27438 @: $(MAKE); $(unstage)
27439 @r=`${PWD_COMMAND}`; export r; \
27440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27441 test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
27442 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
27443 $(HOST_EXPORTS) \
27444 echo Configuring in $(HOST_SUBDIR)/send-pr; \
27445 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
27446 case $(srcdir) in \
27447 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27448 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
27449 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27450 esac; \
27451 srcdiroption="--srcdir=$${topdir}/send-pr"; \
27452 libsrcdir="$$s/send-pr"; \
27453 $(SHELL) $${libsrcdir}/configure \
27454 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27455 --target=${target_alias} $${srcdiroption} \
27456 || exit 1
27457 @endif send-pr
27463 .PHONY: all-send-pr maybe-all-send-pr
27464 maybe-all-send-pr:
27465 @if gcc-bootstrap
27466 all-send-pr: stage_current
27467 @endif gcc-bootstrap
27468 @if send-pr
27469 TARGET-send-pr=all
27470 maybe-all-send-pr: all-send-pr
27471 all-send-pr: configure-send-pr
27472 @: $(MAKE); $(unstage)
27473 @r=`${PWD_COMMAND}`; export r; \
27474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27475 $(HOST_EXPORTS) \
27476 (cd $(HOST_SUBDIR)/send-pr && \
27477 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
27478 @endif send-pr
27483 .PHONY: check-send-pr maybe-check-send-pr
27484 maybe-check-send-pr:
27485 @if send-pr
27486 maybe-check-send-pr: check-send-pr
27488 check-send-pr:
27489 @: $(MAKE); $(unstage)
27490 @r=`${PWD_COMMAND}`; export r; \
27491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27492 $(HOST_EXPORTS) \
27493 (cd $(HOST_SUBDIR)/send-pr && \
27494 $(MAKE) $(FLAGS_TO_PASS) check)
27496 @endif send-pr
27498 .PHONY: install-send-pr maybe-install-send-pr
27499 maybe-install-send-pr:
27500 @if send-pr
27501 maybe-install-send-pr: install-send-pr
27503 install-send-pr: installdirs
27504 @: $(MAKE); $(unstage)
27505 @r=`${PWD_COMMAND}`; export r; \
27506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27507 $(HOST_EXPORTS) \
27508 (cd $(HOST_SUBDIR)/send-pr && \
27509 $(MAKE) $(FLAGS_TO_PASS) install)
27511 @endif send-pr
27513 # Other targets (info, dvi, pdf, etc.)
27515 .PHONY: maybe-info-send-pr info-send-pr
27516 maybe-info-send-pr:
27517 @if send-pr
27518 maybe-info-send-pr: info-send-pr
27520 info-send-pr: \
27521 configure-send-pr
27522 @: $(MAKE); $(unstage)
27523 @[ -f ./send-pr/Makefile ] || exit 0; \
27524 r=`${PWD_COMMAND}`; export r; \
27525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27526 $(HOST_EXPORTS) \
27527 for flag in $(EXTRA_HOST_FLAGS) ; do \
27528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27529 done; \
27530 echo "Doing info in send-pr" ; \
27531 (cd $(HOST_SUBDIR)/send-pr && \
27532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27534 "RANLIB=$${RANLIB}" \
27535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27536 info) \
27537 || exit 1
27539 @endif send-pr
27541 .PHONY: maybe-dvi-send-pr dvi-send-pr
27542 maybe-dvi-send-pr:
27543 @if send-pr
27544 maybe-dvi-send-pr: dvi-send-pr
27546 dvi-send-pr: \
27547 configure-send-pr
27548 @: $(MAKE); $(unstage)
27549 @[ -f ./send-pr/Makefile ] || exit 0; \
27550 r=`${PWD_COMMAND}`; export r; \
27551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27552 $(HOST_EXPORTS) \
27553 for flag in $(EXTRA_HOST_FLAGS) ; do \
27554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27555 done; \
27556 echo "Doing dvi in send-pr" ; \
27557 (cd $(HOST_SUBDIR)/send-pr && \
27558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27560 "RANLIB=$${RANLIB}" \
27561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27562 dvi) \
27563 || exit 1
27565 @endif send-pr
27567 .PHONY: maybe-pdf-send-pr pdf-send-pr
27568 maybe-pdf-send-pr:
27569 @if send-pr
27570 maybe-pdf-send-pr: pdf-send-pr
27572 pdf-send-pr: \
27573 configure-send-pr
27574 @: $(MAKE); $(unstage)
27575 @[ -f ./send-pr/Makefile ] || exit 0; \
27576 r=`${PWD_COMMAND}`; export r; \
27577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27578 $(HOST_EXPORTS) \
27579 for flag in $(EXTRA_HOST_FLAGS) ; do \
27580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27581 done; \
27582 echo "Doing pdf in send-pr" ; \
27583 (cd $(HOST_SUBDIR)/send-pr && \
27584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27586 "RANLIB=$${RANLIB}" \
27587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27588 pdf) \
27589 || exit 1
27591 @endif send-pr
27593 .PHONY: maybe-html-send-pr html-send-pr
27594 maybe-html-send-pr:
27595 @if send-pr
27596 maybe-html-send-pr: html-send-pr
27598 html-send-pr: \
27599 configure-send-pr
27600 @: $(MAKE); $(unstage)
27601 @[ -f ./send-pr/Makefile ] || exit 0; \
27602 r=`${PWD_COMMAND}`; export r; \
27603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27604 $(HOST_EXPORTS) \
27605 for flag in $(EXTRA_HOST_FLAGS) ; do \
27606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27607 done; \
27608 echo "Doing html in send-pr" ; \
27609 (cd $(HOST_SUBDIR)/send-pr && \
27610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27612 "RANLIB=$${RANLIB}" \
27613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27614 html) \
27615 || exit 1
27617 @endif send-pr
27619 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
27620 maybe-TAGS-send-pr:
27621 @if send-pr
27622 maybe-TAGS-send-pr: TAGS-send-pr
27624 TAGS-send-pr: \
27625 configure-send-pr
27626 @: $(MAKE); $(unstage)
27627 @[ -f ./send-pr/Makefile ] || exit 0; \
27628 r=`${PWD_COMMAND}`; export r; \
27629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27630 $(HOST_EXPORTS) \
27631 for flag in $(EXTRA_HOST_FLAGS) ; do \
27632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27633 done; \
27634 echo "Doing TAGS in send-pr" ; \
27635 (cd $(HOST_SUBDIR)/send-pr && \
27636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27638 "RANLIB=$${RANLIB}" \
27639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27640 TAGS) \
27641 || exit 1
27643 @endif send-pr
27645 .PHONY: maybe-install-info-send-pr install-info-send-pr
27646 maybe-install-info-send-pr:
27647 @if send-pr
27648 maybe-install-info-send-pr: install-info-send-pr
27650 install-info-send-pr: \
27651 configure-send-pr \
27652 info-send-pr
27653 @: $(MAKE); $(unstage)
27654 @[ -f ./send-pr/Makefile ] || exit 0; \
27655 r=`${PWD_COMMAND}`; export r; \
27656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27657 $(HOST_EXPORTS) \
27658 for flag in $(EXTRA_HOST_FLAGS) ; do \
27659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27660 done; \
27661 echo "Doing install-info in send-pr" ; \
27662 (cd $(HOST_SUBDIR)/send-pr && \
27663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27665 "RANLIB=$${RANLIB}" \
27666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27667 install-info) \
27668 || exit 1
27670 @endif send-pr
27672 .PHONY: maybe-install-html-send-pr install-html-send-pr
27673 maybe-install-html-send-pr:
27674 @if send-pr
27675 maybe-install-html-send-pr: install-html-send-pr
27677 install-html-send-pr: \
27678 configure-send-pr \
27679 html-send-pr
27680 @: $(MAKE); $(unstage)
27681 @[ -f ./send-pr/Makefile ] || exit 0; \
27682 r=`${PWD_COMMAND}`; export r; \
27683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27684 $(HOST_EXPORTS) \
27685 for flag in $(EXTRA_HOST_FLAGS) ; do \
27686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27687 done; \
27688 echo "Doing install-html in send-pr" ; \
27689 (cd $(HOST_SUBDIR)/send-pr && \
27690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27692 "RANLIB=$${RANLIB}" \
27693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27694 install-html) \
27695 || exit 1
27697 @endif send-pr
27699 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
27700 maybe-installcheck-send-pr:
27701 @if send-pr
27702 maybe-installcheck-send-pr: installcheck-send-pr
27704 installcheck-send-pr: \
27705 configure-send-pr
27706 @: $(MAKE); $(unstage)
27707 @[ -f ./send-pr/Makefile ] || exit 0; \
27708 r=`${PWD_COMMAND}`; export r; \
27709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27710 $(HOST_EXPORTS) \
27711 for flag in $(EXTRA_HOST_FLAGS) ; do \
27712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27713 done; \
27714 echo "Doing installcheck in send-pr" ; \
27715 (cd $(HOST_SUBDIR)/send-pr && \
27716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27718 "RANLIB=$${RANLIB}" \
27719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27720 installcheck) \
27721 || exit 1
27723 @endif send-pr
27725 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
27726 maybe-mostlyclean-send-pr:
27727 @if send-pr
27728 maybe-mostlyclean-send-pr: mostlyclean-send-pr
27730 mostlyclean-send-pr:
27731 @: $(MAKE); $(unstage)
27732 @[ -f ./send-pr/Makefile ] || exit 0; \
27733 r=`${PWD_COMMAND}`; export r; \
27734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27735 $(HOST_EXPORTS) \
27736 for flag in $(EXTRA_HOST_FLAGS) ; do \
27737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27738 done; \
27739 echo "Doing mostlyclean in send-pr" ; \
27740 (cd $(HOST_SUBDIR)/send-pr && \
27741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27743 "RANLIB=$${RANLIB}" \
27744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27745 mostlyclean) \
27746 || exit 1
27748 @endif send-pr
27750 .PHONY: maybe-clean-send-pr clean-send-pr
27751 maybe-clean-send-pr:
27752 @if send-pr
27753 maybe-clean-send-pr: clean-send-pr
27755 clean-send-pr:
27756 @: $(MAKE); $(unstage)
27757 @[ -f ./send-pr/Makefile ] || exit 0; \
27758 r=`${PWD_COMMAND}`; export r; \
27759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27760 $(HOST_EXPORTS) \
27761 for flag in $(EXTRA_HOST_FLAGS) ; do \
27762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27763 done; \
27764 echo "Doing clean in send-pr" ; \
27765 (cd $(HOST_SUBDIR)/send-pr && \
27766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27768 "RANLIB=$${RANLIB}" \
27769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27770 clean) \
27771 || exit 1
27773 @endif send-pr
27775 .PHONY: maybe-distclean-send-pr distclean-send-pr
27776 maybe-distclean-send-pr:
27777 @if send-pr
27778 maybe-distclean-send-pr: distclean-send-pr
27780 distclean-send-pr:
27781 @: $(MAKE); $(unstage)
27782 @[ -f ./send-pr/Makefile ] || exit 0; \
27783 r=`${PWD_COMMAND}`; export r; \
27784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27785 $(HOST_EXPORTS) \
27786 for flag in $(EXTRA_HOST_FLAGS) ; do \
27787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27788 done; \
27789 echo "Doing distclean in send-pr" ; \
27790 (cd $(HOST_SUBDIR)/send-pr && \
27791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27793 "RANLIB=$${RANLIB}" \
27794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27795 distclean) \
27796 || exit 1
27798 @endif send-pr
27800 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
27801 maybe-maintainer-clean-send-pr:
27802 @if send-pr
27803 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
27805 maintainer-clean-send-pr:
27806 @: $(MAKE); $(unstage)
27807 @[ -f ./send-pr/Makefile ] || exit 0; \
27808 r=`${PWD_COMMAND}`; export r; \
27809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27810 $(HOST_EXPORTS) \
27811 for flag in $(EXTRA_HOST_FLAGS) ; do \
27812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27813 done; \
27814 echo "Doing maintainer-clean in send-pr" ; \
27815 (cd $(HOST_SUBDIR)/send-pr && \
27816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27818 "RANLIB=$${RANLIB}" \
27819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27820 maintainer-clean) \
27821 || exit 1
27823 @endif send-pr
27827 .PHONY: configure-shellutils maybe-configure-shellutils
27828 maybe-configure-shellutils:
27829 @if gcc-bootstrap
27830 configure-shellutils: stage_current
27831 @endif gcc-bootstrap
27832 @if shellutils
27833 maybe-configure-shellutils: configure-shellutils
27834 configure-shellutils:
27835 @: $(MAKE); $(unstage)
27836 @r=`${PWD_COMMAND}`; export r; \
27837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27838 test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
27839 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
27840 $(HOST_EXPORTS) \
27841 echo Configuring in $(HOST_SUBDIR)/shellutils; \
27842 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
27843 case $(srcdir) in \
27844 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27845 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
27846 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27847 esac; \
27848 srcdiroption="--srcdir=$${topdir}/shellutils"; \
27849 libsrcdir="$$s/shellutils"; \
27850 $(SHELL) $${libsrcdir}/configure \
27851 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27852 --target=${target_alias} $${srcdiroption} \
27853 || exit 1
27854 @endif shellutils
27860 .PHONY: all-shellutils maybe-all-shellutils
27861 maybe-all-shellutils:
27862 @if gcc-bootstrap
27863 all-shellutils: stage_current
27864 @endif gcc-bootstrap
27865 @if shellutils
27866 TARGET-shellutils=all
27867 maybe-all-shellutils: all-shellutils
27868 all-shellutils: configure-shellutils
27869 @: $(MAKE); $(unstage)
27870 @r=`${PWD_COMMAND}`; export r; \
27871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27872 $(HOST_EXPORTS) \
27873 (cd $(HOST_SUBDIR)/shellutils && \
27874 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
27875 @endif shellutils
27880 .PHONY: check-shellutils maybe-check-shellutils
27881 maybe-check-shellutils:
27882 @if shellutils
27883 maybe-check-shellutils: check-shellutils
27885 check-shellutils:
27886 @: $(MAKE); $(unstage)
27887 @r=`${PWD_COMMAND}`; export r; \
27888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27889 $(HOST_EXPORTS) \
27890 (cd $(HOST_SUBDIR)/shellutils && \
27891 $(MAKE) $(FLAGS_TO_PASS) check)
27893 @endif shellutils
27895 .PHONY: install-shellutils maybe-install-shellutils
27896 maybe-install-shellutils:
27897 @if shellutils
27898 maybe-install-shellutils: install-shellutils
27900 install-shellutils: installdirs
27901 @: $(MAKE); $(unstage)
27902 @r=`${PWD_COMMAND}`; export r; \
27903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27904 $(HOST_EXPORTS) \
27905 (cd $(HOST_SUBDIR)/shellutils && \
27906 $(MAKE) $(FLAGS_TO_PASS) install)
27908 @endif shellutils
27910 # Other targets (info, dvi, pdf, etc.)
27912 .PHONY: maybe-info-shellutils info-shellutils
27913 maybe-info-shellutils:
27914 @if shellutils
27915 maybe-info-shellutils: info-shellutils
27917 info-shellutils: \
27918 configure-shellutils
27919 @: $(MAKE); $(unstage)
27920 @[ -f ./shellutils/Makefile ] || exit 0; \
27921 r=`${PWD_COMMAND}`; export r; \
27922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27923 $(HOST_EXPORTS) \
27924 for flag in $(EXTRA_HOST_FLAGS) ; do \
27925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27926 done; \
27927 echo "Doing info in shellutils" ; \
27928 (cd $(HOST_SUBDIR)/shellutils && \
27929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27931 "RANLIB=$${RANLIB}" \
27932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27933 info) \
27934 || exit 1
27936 @endif shellutils
27938 .PHONY: maybe-dvi-shellutils dvi-shellutils
27939 maybe-dvi-shellutils:
27940 @if shellutils
27941 maybe-dvi-shellutils: dvi-shellutils
27943 dvi-shellutils: \
27944 configure-shellutils
27945 @: $(MAKE); $(unstage)
27946 @[ -f ./shellutils/Makefile ] || exit 0; \
27947 r=`${PWD_COMMAND}`; export r; \
27948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27949 $(HOST_EXPORTS) \
27950 for flag in $(EXTRA_HOST_FLAGS) ; do \
27951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27952 done; \
27953 echo "Doing dvi in shellutils" ; \
27954 (cd $(HOST_SUBDIR)/shellutils && \
27955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27957 "RANLIB=$${RANLIB}" \
27958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27959 dvi) \
27960 || exit 1
27962 @endif shellutils
27964 .PHONY: maybe-pdf-shellutils pdf-shellutils
27965 maybe-pdf-shellutils:
27966 @if shellutils
27967 maybe-pdf-shellutils: pdf-shellutils
27969 pdf-shellutils: \
27970 configure-shellutils
27971 @: $(MAKE); $(unstage)
27972 @[ -f ./shellutils/Makefile ] || exit 0; \
27973 r=`${PWD_COMMAND}`; export r; \
27974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27975 $(HOST_EXPORTS) \
27976 for flag in $(EXTRA_HOST_FLAGS) ; do \
27977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27978 done; \
27979 echo "Doing pdf in shellutils" ; \
27980 (cd $(HOST_SUBDIR)/shellutils && \
27981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27983 "RANLIB=$${RANLIB}" \
27984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27985 pdf) \
27986 || exit 1
27988 @endif shellutils
27990 .PHONY: maybe-html-shellutils html-shellutils
27991 maybe-html-shellutils:
27992 @if shellutils
27993 maybe-html-shellutils: html-shellutils
27995 html-shellutils: \
27996 configure-shellutils
27997 @: $(MAKE); $(unstage)
27998 @[ -f ./shellutils/Makefile ] || exit 0; \
27999 r=`${PWD_COMMAND}`; export r; \
28000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28001 $(HOST_EXPORTS) \
28002 for flag in $(EXTRA_HOST_FLAGS) ; do \
28003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28004 done; \
28005 echo "Doing html in shellutils" ; \
28006 (cd $(HOST_SUBDIR)/shellutils && \
28007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28009 "RANLIB=$${RANLIB}" \
28010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28011 html) \
28012 || exit 1
28014 @endif shellutils
28016 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
28017 maybe-TAGS-shellutils:
28018 @if shellutils
28019 maybe-TAGS-shellutils: TAGS-shellutils
28021 TAGS-shellutils: \
28022 configure-shellutils
28023 @: $(MAKE); $(unstage)
28024 @[ -f ./shellutils/Makefile ] || exit 0; \
28025 r=`${PWD_COMMAND}`; export r; \
28026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28027 $(HOST_EXPORTS) \
28028 for flag in $(EXTRA_HOST_FLAGS) ; do \
28029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28030 done; \
28031 echo "Doing TAGS in shellutils" ; \
28032 (cd $(HOST_SUBDIR)/shellutils && \
28033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28035 "RANLIB=$${RANLIB}" \
28036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28037 TAGS) \
28038 || exit 1
28040 @endif shellutils
28042 .PHONY: maybe-install-info-shellutils install-info-shellutils
28043 maybe-install-info-shellutils:
28044 @if shellutils
28045 maybe-install-info-shellutils: install-info-shellutils
28047 install-info-shellutils: \
28048 configure-shellutils \
28049 info-shellutils
28050 @: $(MAKE); $(unstage)
28051 @[ -f ./shellutils/Makefile ] || exit 0; \
28052 r=`${PWD_COMMAND}`; export r; \
28053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28054 $(HOST_EXPORTS) \
28055 for flag in $(EXTRA_HOST_FLAGS) ; do \
28056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28057 done; \
28058 echo "Doing install-info in shellutils" ; \
28059 (cd $(HOST_SUBDIR)/shellutils && \
28060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28062 "RANLIB=$${RANLIB}" \
28063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28064 install-info) \
28065 || exit 1
28067 @endif shellutils
28069 .PHONY: maybe-install-html-shellutils install-html-shellutils
28070 maybe-install-html-shellutils:
28071 @if shellutils
28072 maybe-install-html-shellutils: install-html-shellutils
28074 install-html-shellutils: \
28075 configure-shellutils \
28076 html-shellutils
28077 @: $(MAKE); $(unstage)
28078 @[ -f ./shellutils/Makefile ] || exit 0; \
28079 r=`${PWD_COMMAND}`; export r; \
28080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28081 $(HOST_EXPORTS) \
28082 for flag in $(EXTRA_HOST_FLAGS) ; do \
28083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28084 done; \
28085 echo "Doing install-html in shellutils" ; \
28086 (cd $(HOST_SUBDIR)/shellutils && \
28087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28089 "RANLIB=$${RANLIB}" \
28090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28091 install-html) \
28092 || exit 1
28094 @endif shellutils
28096 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
28097 maybe-installcheck-shellutils:
28098 @if shellutils
28099 maybe-installcheck-shellutils: installcheck-shellutils
28101 installcheck-shellutils: \
28102 configure-shellutils
28103 @: $(MAKE); $(unstage)
28104 @[ -f ./shellutils/Makefile ] || exit 0; \
28105 r=`${PWD_COMMAND}`; export r; \
28106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28107 $(HOST_EXPORTS) \
28108 for flag in $(EXTRA_HOST_FLAGS) ; do \
28109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28110 done; \
28111 echo "Doing installcheck in shellutils" ; \
28112 (cd $(HOST_SUBDIR)/shellutils && \
28113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28115 "RANLIB=$${RANLIB}" \
28116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28117 installcheck) \
28118 || exit 1
28120 @endif shellutils
28122 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
28123 maybe-mostlyclean-shellutils:
28124 @if shellutils
28125 maybe-mostlyclean-shellutils: mostlyclean-shellutils
28127 mostlyclean-shellutils:
28128 @: $(MAKE); $(unstage)
28129 @[ -f ./shellutils/Makefile ] || exit 0; \
28130 r=`${PWD_COMMAND}`; export r; \
28131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28132 $(HOST_EXPORTS) \
28133 for flag in $(EXTRA_HOST_FLAGS) ; do \
28134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28135 done; \
28136 echo "Doing mostlyclean in shellutils" ; \
28137 (cd $(HOST_SUBDIR)/shellutils && \
28138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28140 "RANLIB=$${RANLIB}" \
28141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28142 mostlyclean) \
28143 || exit 1
28145 @endif shellutils
28147 .PHONY: maybe-clean-shellutils clean-shellutils
28148 maybe-clean-shellutils:
28149 @if shellutils
28150 maybe-clean-shellutils: clean-shellutils
28152 clean-shellutils:
28153 @: $(MAKE); $(unstage)
28154 @[ -f ./shellutils/Makefile ] || exit 0; \
28155 r=`${PWD_COMMAND}`; export r; \
28156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28157 $(HOST_EXPORTS) \
28158 for flag in $(EXTRA_HOST_FLAGS) ; do \
28159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28160 done; \
28161 echo "Doing clean in shellutils" ; \
28162 (cd $(HOST_SUBDIR)/shellutils && \
28163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28165 "RANLIB=$${RANLIB}" \
28166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28167 clean) \
28168 || exit 1
28170 @endif shellutils
28172 .PHONY: maybe-distclean-shellutils distclean-shellutils
28173 maybe-distclean-shellutils:
28174 @if shellutils
28175 maybe-distclean-shellutils: distclean-shellutils
28177 distclean-shellutils:
28178 @: $(MAKE); $(unstage)
28179 @[ -f ./shellutils/Makefile ] || exit 0; \
28180 r=`${PWD_COMMAND}`; export r; \
28181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28182 $(HOST_EXPORTS) \
28183 for flag in $(EXTRA_HOST_FLAGS) ; do \
28184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28185 done; \
28186 echo "Doing distclean in shellutils" ; \
28187 (cd $(HOST_SUBDIR)/shellutils && \
28188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28190 "RANLIB=$${RANLIB}" \
28191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28192 distclean) \
28193 || exit 1
28195 @endif shellutils
28197 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
28198 maybe-maintainer-clean-shellutils:
28199 @if shellutils
28200 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
28202 maintainer-clean-shellutils:
28203 @: $(MAKE); $(unstage)
28204 @[ -f ./shellutils/Makefile ] || exit 0; \
28205 r=`${PWD_COMMAND}`; export r; \
28206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28207 $(HOST_EXPORTS) \
28208 for flag in $(EXTRA_HOST_FLAGS) ; do \
28209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28210 done; \
28211 echo "Doing maintainer-clean in shellutils" ; \
28212 (cd $(HOST_SUBDIR)/shellutils && \
28213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28215 "RANLIB=$${RANLIB}" \
28216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28217 maintainer-clean) \
28218 || exit 1
28220 @endif shellutils
28224 .PHONY: configure-sid maybe-configure-sid
28225 maybe-configure-sid:
28226 @if gcc-bootstrap
28227 configure-sid: stage_current
28228 @endif gcc-bootstrap
28229 @if sid
28230 maybe-configure-sid: configure-sid
28231 configure-sid:
28232 @: $(MAKE); $(unstage)
28233 @r=`${PWD_COMMAND}`; export r; \
28234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28235 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
28236 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
28237 $(HOST_EXPORTS) \
28238 echo Configuring in $(HOST_SUBDIR)/sid; \
28239 cd "$(HOST_SUBDIR)/sid" || exit 1; \
28240 case $(srcdir) in \
28241 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28242 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
28243 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28244 esac; \
28245 srcdiroption="--srcdir=$${topdir}/sid"; \
28246 libsrcdir="$$s/sid"; \
28247 $(SHELL) $${libsrcdir}/configure \
28248 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28249 --target=${target_alias} $${srcdiroption} \
28250 || exit 1
28251 @endif sid
28257 .PHONY: all-sid maybe-all-sid
28258 maybe-all-sid:
28259 @if gcc-bootstrap
28260 all-sid: stage_current
28261 @endif gcc-bootstrap
28262 @if sid
28263 TARGET-sid=all
28264 maybe-all-sid: all-sid
28265 all-sid: configure-sid
28266 @: $(MAKE); $(unstage)
28267 @r=`${PWD_COMMAND}`; export r; \
28268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28269 $(HOST_EXPORTS) \
28270 (cd $(HOST_SUBDIR)/sid && \
28271 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
28272 @endif sid
28277 .PHONY: check-sid maybe-check-sid
28278 maybe-check-sid:
28279 @if sid
28280 maybe-check-sid: check-sid
28282 check-sid:
28283 @: $(MAKE); $(unstage)
28284 @r=`${PWD_COMMAND}`; export r; \
28285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28286 $(HOST_EXPORTS) \
28287 (cd $(HOST_SUBDIR)/sid && \
28288 $(MAKE) $(FLAGS_TO_PASS) check)
28290 @endif sid
28292 .PHONY: install-sid maybe-install-sid
28293 maybe-install-sid:
28294 @if sid
28295 maybe-install-sid: install-sid
28297 install-sid: installdirs
28298 @: $(MAKE); $(unstage)
28299 @r=`${PWD_COMMAND}`; export r; \
28300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28301 $(HOST_EXPORTS) \
28302 (cd $(HOST_SUBDIR)/sid && \
28303 $(MAKE) $(FLAGS_TO_PASS) install)
28305 @endif sid
28307 # Other targets (info, dvi, pdf, etc.)
28309 .PHONY: maybe-info-sid info-sid
28310 maybe-info-sid:
28311 @if sid
28312 maybe-info-sid: info-sid
28314 info-sid: \
28315 configure-sid
28316 @: $(MAKE); $(unstage)
28317 @[ -f ./sid/Makefile ] || exit 0; \
28318 r=`${PWD_COMMAND}`; export r; \
28319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28320 $(HOST_EXPORTS) \
28321 for flag in $(EXTRA_HOST_FLAGS) ; do \
28322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28323 done; \
28324 echo "Doing info in sid" ; \
28325 (cd $(HOST_SUBDIR)/sid && \
28326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28328 "RANLIB=$${RANLIB}" \
28329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28330 info) \
28331 || exit 1
28333 @endif sid
28335 .PHONY: maybe-dvi-sid dvi-sid
28336 maybe-dvi-sid:
28337 @if sid
28338 maybe-dvi-sid: dvi-sid
28340 dvi-sid: \
28341 configure-sid
28342 @: $(MAKE); $(unstage)
28343 @[ -f ./sid/Makefile ] || exit 0; \
28344 r=`${PWD_COMMAND}`; export r; \
28345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28346 $(HOST_EXPORTS) \
28347 for flag in $(EXTRA_HOST_FLAGS) ; do \
28348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28349 done; \
28350 echo "Doing dvi in sid" ; \
28351 (cd $(HOST_SUBDIR)/sid && \
28352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28354 "RANLIB=$${RANLIB}" \
28355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28356 dvi) \
28357 || exit 1
28359 @endif sid
28361 .PHONY: maybe-pdf-sid pdf-sid
28362 maybe-pdf-sid:
28363 @if sid
28364 maybe-pdf-sid: pdf-sid
28366 pdf-sid: \
28367 configure-sid
28368 @: $(MAKE); $(unstage)
28369 @[ -f ./sid/Makefile ] || exit 0; \
28370 r=`${PWD_COMMAND}`; export r; \
28371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28372 $(HOST_EXPORTS) \
28373 for flag in $(EXTRA_HOST_FLAGS) ; do \
28374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28375 done; \
28376 echo "Doing pdf in sid" ; \
28377 (cd $(HOST_SUBDIR)/sid && \
28378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28380 "RANLIB=$${RANLIB}" \
28381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28382 pdf) \
28383 || exit 1
28385 @endif sid
28387 .PHONY: maybe-html-sid html-sid
28388 maybe-html-sid:
28389 @if sid
28390 maybe-html-sid: html-sid
28392 html-sid: \
28393 configure-sid
28394 @: $(MAKE); $(unstage)
28395 @[ -f ./sid/Makefile ] || exit 0; \
28396 r=`${PWD_COMMAND}`; export r; \
28397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28398 $(HOST_EXPORTS) \
28399 for flag in $(EXTRA_HOST_FLAGS) ; do \
28400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28401 done; \
28402 echo "Doing html in sid" ; \
28403 (cd $(HOST_SUBDIR)/sid && \
28404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28406 "RANLIB=$${RANLIB}" \
28407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28408 html) \
28409 || exit 1
28411 @endif sid
28413 .PHONY: maybe-TAGS-sid TAGS-sid
28414 maybe-TAGS-sid:
28415 @if sid
28416 maybe-TAGS-sid: TAGS-sid
28418 TAGS-sid: \
28419 configure-sid
28420 @: $(MAKE); $(unstage)
28421 @[ -f ./sid/Makefile ] || exit 0; \
28422 r=`${PWD_COMMAND}`; export r; \
28423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28424 $(HOST_EXPORTS) \
28425 for flag in $(EXTRA_HOST_FLAGS) ; do \
28426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28427 done; \
28428 echo "Doing TAGS in sid" ; \
28429 (cd $(HOST_SUBDIR)/sid && \
28430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28432 "RANLIB=$${RANLIB}" \
28433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28434 TAGS) \
28435 || exit 1
28437 @endif sid
28439 .PHONY: maybe-install-info-sid install-info-sid
28440 maybe-install-info-sid:
28441 @if sid
28442 maybe-install-info-sid: install-info-sid
28444 install-info-sid: \
28445 configure-sid \
28446 info-sid
28447 @: $(MAKE); $(unstage)
28448 @[ -f ./sid/Makefile ] || exit 0; \
28449 r=`${PWD_COMMAND}`; export r; \
28450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28451 $(HOST_EXPORTS) \
28452 for flag in $(EXTRA_HOST_FLAGS) ; do \
28453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28454 done; \
28455 echo "Doing install-info in sid" ; \
28456 (cd $(HOST_SUBDIR)/sid && \
28457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28459 "RANLIB=$${RANLIB}" \
28460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28461 install-info) \
28462 || exit 1
28464 @endif sid
28466 .PHONY: maybe-install-html-sid install-html-sid
28467 maybe-install-html-sid:
28468 @if sid
28469 maybe-install-html-sid: install-html-sid
28471 install-html-sid: \
28472 configure-sid \
28473 html-sid
28474 @: $(MAKE); $(unstage)
28475 @[ -f ./sid/Makefile ] || exit 0; \
28476 r=`${PWD_COMMAND}`; export r; \
28477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28478 $(HOST_EXPORTS) \
28479 for flag in $(EXTRA_HOST_FLAGS) ; do \
28480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28481 done; \
28482 echo "Doing install-html in sid" ; \
28483 (cd $(HOST_SUBDIR)/sid && \
28484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28486 "RANLIB=$${RANLIB}" \
28487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28488 install-html) \
28489 || exit 1
28491 @endif sid
28493 .PHONY: maybe-installcheck-sid installcheck-sid
28494 maybe-installcheck-sid:
28495 @if sid
28496 maybe-installcheck-sid: installcheck-sid
28498 installcheck-sid: \
28499 configure-sid
28500 @: $(MAKE); $(unstage)
28501 @[ -f ./sid/Makefile ] || exit 0; \
28502 r=`${PWD_COMMAND}`; export r; \
28503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28504 $(HOST_EXPORTS) \
28505 for flag in $(EXTRA_HOST_FLAGS) ; do \
28506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28507 done; \
28508 echo "Doing installcheck in sid" ; \
28509 (cd $(HOST_SUBDIR)/sid && \
28510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28512 "RANLIB=$${RANLIB}" \
28513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28514 installcheck) \
28515 || exit 1
28517 @endif sid
28519 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
28520 maybe-mostlyclean-sid:
28521 @if sid
28522 maybe-mostlyclean-sid: mostlyclean-sid
28524 mostlyclean-sid:
28525 @: $(MAKE); $(unstage)
28526 @[ -f ./sid/Makefile ] || exit 0; \
28527 r=`${PWD_COMMAND}`; export r; \
28528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28529 $(HOST_EXPORTS) \
28530 for flag in $(EXTRA_HOST_FLAGS) ; do \
28531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28532 done; \
28533 echo "Doing mostlyclean in sid" ; \
28534 (cd $(HOST_SUBDIR)/sid && \
28535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28537 "RANLIB=$${RANLIB}" \
28538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28539 mostlyclean) \
28540 || exit 1
28542 @endif sid
28544 .PHONY: maybe-clean-sid clean-sid
28545 maybe-clean-sid:
28546 @if sid
28547 maybe-clean-sid: clean-sid
28549 clean-sid:
28550 @: $(MAKE); $(unstage)
28551 @[ -f ./sid/Makefile ] || exit 0; \
28552 r=`${PWD_COMMAND}`; export r; \
28553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28554 $(HOST_EXPORTS) \
28555 for flag in $(EXTRA_HOST_FLAGS) ; do \
28556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28557 done; \
28558 echo "Doing clean in sid" ; \
28559 (cd $(HOST_SUBDIR)/sid && \
28560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28562 "RANLIB=$${RANLIB}" \
28563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28564 clean) \
28565 || exit 1
28567 @endif sid
28569 .PHONY: maybe-distclean-sid distclean-sid
28570 maybe-distclean-sid:
28571 @if sid
28572 maybe-distclean-sid: distclean-sid
28574 distclean-sid:
28575 @: $(MAKE); $(unstage)
28576 @[ -f ./sid/Makefile ] || exit 0; \
28577 r=`${PWD_COMMAND}`; export r; \
28578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28579 $(HOST_EXPORTS) \
28580 for flag in $(EXTRA_HOST_FLAGS) ; do \
28581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28582 done; \
28583 echo "Doing distclean in sid" ; \
28584 (cd $(HOST_SUBDIR)/sid && \
28585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28587 "RANLIB=$${RANLIB}" \
28588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28589 distclean) \
28590 || exit 1
28592 @endif sid
28594 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
28595 maybe-maintainer-clean-sid:
28596 @if sid
28597 maybe-maintainer-clean-sid: maintainer-clean-sid
28599 maintainer-clean-sid:
28600 @: $(MAKE); $(unstage)
28601 @[ -f ./sid/Makefile ] || exit 0; \
28602 r=`${PWD_COMMAND}`; export r; \
28603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28604 $(HOST_EXPORTS) \
28605 for flag in $(EXTRA_HOST_FLAGS) ; do \
28606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28607 done; \
28608 echo "Doing maintainer-clean in sid" ; \
28609 (cd $(HOST_SUBDIR)/sid && \
28610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28612 "RANLIB=$${RANLIB}" \
28613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28614 maintainer-clean) \
28615 || exit 1
28617 @endif sid
28621 .PHONY: configure-sim maybe-configure-sim
28622 maybe-configure-sim:
28623 @if gcc-bootstrap
28624 configure-sim: stage_current
28625 @endif gcc-bootstrap
28626 @if sim
28627 maybe-configure-sim: configure-sim
28628 configure-sim:
28629 @: $(MAKE); $(unstage)
28630 @r=`${PWD_COMMAND}`; export r; \
28631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28632 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
28633 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
28634 $(HOST_EXPORTS) \
28635 echo Configuring in $(HOST_SUBDIR)/sim; \
28636 cd "$(HOST_SUBDIR)/sim" || exit 1; \
28637 case $(srcdir) in \
28638 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28639 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
28640 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28641 esac; \
28642 srcdiroption="--srcdir=$${topdir}/sim"; \
28643 libsrcdir="$$s/sim"; \
28644 $(SHELL) $${libsrcdir}/configure \
28645 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28646 --target=${target_alias} $${srcdiroption} \
28647 || exit 1
28648 @endif sim
28654 .PHONY: all-sim maybe-all-sim
28655 maybe-all-sim:
28656 @if gcc-bootstrap
28657 all-sim: stage_current
28658 @endif gcc-bootstrap
28659 @if sim
28660 TARGET-sim=all
28661 maybe-all-sim: all-sim
28662 all-sim: configure-sim
28663 @: $(MAKE); $(unstage)
28664 @r=`${PWD_COMMAND}`; export r; \
28665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28666 $(HOST_EXPORTS) \
28667 (cd $(HOST_SUBDIR)/sim && \
28668 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
28669 @endif sim
28674 .PHONY: check-sim maybe-check-sim
28675 maybe-check-sim:
28676 @if sim
28677 maybe-check-sim: check-sim
28679 check-sim:
28680 @: $(MAKE); $(unstage)
28681 @r=`${PWD_COMMAND}`; export r; \
28682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28683 $(HOST_EXPORTS) \
28684 (cd $(HOST_SUBDIR)/sim && \
28685 $(MAKE) $(FLAGS_TO_PASS) check)
28687 @endif sim
28689 .PHONY: install-sim maybe-install-sim
28690 maybe-install-sim:
28691 @if sim
28692 maybe-install-sim: install-sim
28694 install-sim: installdirs
28695 @: $(MAKE); $(unstage)
28696 @r=`${PWD_COMMAND}`; export r; \
28697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28698 $(HOST_EXPORTS) \
28699 (cd $(HOST_SUBDIR)/sim && \
28700 $(MAKE) $(FLAGS_TO_PASS) install)
28702 @endif sim
28704 # Other targets (info, dvi, pdf, etc.)
28706 .PHONY: maybe-info-sim info-sim
28707 maybe-info-sim:
28708 @if sim
28709 maybe-info-sim: info-sim
28711 info-sim: \
28712 configure-sim
28713 @: $(MAKE); $(unstage)
28714 @[ -f ./sim/Makefile ] || exit 0; \
28715 r=`${PWD_COMMAND}`; export r; \
28716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28717 $(HOST_EXPORTS) \
28718 for flag in $(EXTRA_HOST_FLAGS) ; do \
28719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28720 done; \
28721 echo "Doing info in sim" ; \
28722 (cd $(HOST_SUBDIR)/sim && \
28723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28725 "RANLIB=$${RANLIB}" \
28726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28727 info) \
28728 || exit 1
28730 @endif sim
28732 .PHONY: maybe-dvi-sim dvi-sim
28733 maybe-dvi-sim:
28734 @if sim
28735 maybe-dvi-sim: dvi-sim
28737 dvi-sim: \
28738 configure-sim
28739 @: $(MAKE); $(unstage)
28740 @[ -f ./sim/Makefile ] || exit 0; \
28741 r=`${PWD_COMMAND}`; export r; \
28742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28743 $(HOST_EXPORTS) \
28744 for flag in $(EXTRA_HOST_FLAGS) ; do \
28745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28746 done; \
28747 echo "Doing dvi in sim" ; \
28748 (cd $(HOST_SUBDIR)/sim && \
28749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28751 "RANLIB=$${RANLIB}" \
28752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28753 dvi) \
28754 || exit 1
28756 @endif sim
28758 .PHONY: maybe-pdf-sim pdf-sim
28759 maybe-pdf-sim:
28760 @if sim
28761 maybe-pdf-sim: pdf-sim
28763 pdf-sim: \
28764 configure-sim
28765 @: $(MAKE); $(unstage)
28766 @[ -f ./sim/Makefile ] || exit 0; \
28767 r=`${PWD_COMMAND}`; export r; \
28768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28769 $(HOST_EXPORTS) \
28770 for flag in $(EXTRA_HOST_FLAGS) ; do \
28771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28772 done; \
28773 echo "Doing pdf in sim" ; \
28774 (cd $(HOST_SUBDIR)/sim && \
28775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28777 "RANLIB=$${RANLIB}" \
28778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28779 pdf) \
28780 || exit 1
28782 @endif sim
28784 .PHONY: maybe-html-sim html-sim
28785 maybe-html-sim:
28786 @if sim
28787 maybe-html-sim: html-sim
28789 html-sim: \
28790 configure-sim
28791 @: $(MAKE); $(unstage)
28792 @[ -f ./sim/Makefile ] || exit 0; \
28793 r=`${PWD_COMMAND}`; export r; \
28794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28795 $(HOST_EXPORTS) \
28796 for flag in $(EXTRA_HOST_FLAGS) ; do \
28797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28798 done; \
28799 echo "Doing html in sim" ; \
28800 (cd $(HOST_SUBDIR)/sim && \
28801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28803 "RANLIB=$${RANLIB}" \
28804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28805 html) \
28806 || exit 1
28808 @endif sim
28810 .PHONY: maybe-TAGS-sim TAGS-sim
28811 maybe-TAGS-sim:
28812 @if sim
28813 maybe-TAGS-sim: TAGS-sim
28815 TAGS-sim: \
28816 configure-sim
28817 @: $(MAKE); $(unstage)
28818 @[ -f ./sim/Makefile ] || exit 0; \
28819 r=`${PWD_COMMAND}`; export r; \
28820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28821 $(HOST_EXPORTS) \
28822 for flag in $(EXTRA_HOST_FLAGS) ; do \
28823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28824 done; \
28825 echo "Doing TAGS in sim" ; \
28826 (cd $(HOST_SUBDIR)/sim && \
28827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28829 "RANLIB=$${RANLIB}" \
28830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28831 TAGS) \
28832 || exit 1
28834 @endif sim
28836 .PHONY: maybe-install-info-sim install-info-sim
28837 maybe-install-info-sim:
28838 @if sim
28839 maybe-install-info-sim: install-info-sim
28841 install-info-sim: \
28842 configure-sim \
28843 info-sim
28844 @: $(MAKE); $(unstage)
28845 @[ -f ./sim/Makefile ] || exit 0; \
28846 r=`${PWD_COMMAND}`; export r; \
28847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28848 $(HOST_EXPORTS) \
28849 for flag in $(EXTRA_HOST_FLAGS) ; do \
28850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28851 done; \
28852 echo "Doing install-info in sim" ; \
28853 (cd $(HOST_SUBDIR)/sim && \
28854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28856 "RANLIB=$${RANLIB}" \
28857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28858 install-info) \
28859 || exit 1
28861 @endif sim
28863 .PHONY: maybe-install-html-sim install-html-sim
28864 maybe-install-html-sim:
28865 @if sim
28866 maybe-install-html-sim: install-html-sim
28868 install-html-sim: \
28869 configure-sim \
28870 html-sim
28871 @: $(MAKE); $(unstage)
28872 @[ -f ./sim/Makefile ] || exit 0; \
28873 r=`${PWD_COMMAND}`; export r; \
28874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28875 $(HOST_EXPORTS) \
28876 for flag in $(EXTRA_HOST_FLAGS) ; do \
28877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28878 done; \
28879 echo "Doing install-html in sim" ; \
28880 (cd $(HOST_SUBDIR)/sim && \
28881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28883 "RANLIB=$${RANLIB}" \
28884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28885 install-html) \
28886 || exit 1
28888 @endif sim
28890 .PHONY: maybe-installcheck-sim installcheck-sim
28891 maybe-installcheck-sim:
28892 @if sim
28893 maybe-installcheck-sim: installcheck-sim
28895 installcheck-sim: \
28896 configure-sim
28897 @: $(MAKE); $(unstage)
28898 @[ -f ./sim/Makefile ] || exit 0; \
28899 r=`${PWD_COMMAND}`; export r; \
28900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28901 $(HOST_EXPORTS) \
28902 for flag in $(EXTRA_HOST_FLAGS) ; do \
28903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28904 done; \
28905 echo "Doing installcheck in sim" ; \
28906 (cd $(HOST_SUBDIR)/sim && \
28907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28909 "RANLIB=$${RANLIB}" \
28910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28911 installcheck) \
28912 || exit 1
28914 @endif sim
28916 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
28917 maybe-mostlyclean-sim:
28918 @if sim
28919 maybe-mostlyclean-sim: mostlyclean-sim
28921 mostlyclean-sim:
28922 @: $(MAKE); $(unstage)
28923 @[ -f ./sim/Makefile ] || exit 0; \
28924 r=`${PWD_COMMAND}`; export r; \
28925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28926 $(HOST_EXPORTS) \
28927 for flag in $(EXTRA_HOST_FLAGS) ; do \
28928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28929 done; \
28930 echo "Doing mostlyclean in sim" ; \
28931 (cd $(HOST_SUBDIR)/sim && \
28932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28934 "RANLIB=$${RANLIB}" \
28935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28936 mostlyclean) \
28937 || exit 1
28939 @endif sim
28941 .PHONY: maybe-clean-sim clean-sim
28942 maybe-clean-sim:
28943 @if sim
28944 maybe-clean-sim: clean-sim
28946 clean-sim:
28947 @: $(MAKE); $(unstage)
28948 @[ -f ./sim/Makefile ] || exit 0; \
28949 r=`${PWD_COMMAND}`; export r; \
28950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28951 $(HOST_EXPORTS) \
28952 for flag in $(EXTRA_HOST_FLAGS) ; do \
28953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28954 done; \
28955 echo "Doing clean in sim" ; \
28956 (cd $(HOST_SUBDIR)/sim && \
28957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28959 "RANLIB=$${RANLIB}" \
28960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28961 clean) \
28962 || exit 1
28964 @endif sim
28966 .PHONY: maybe-distclean-sim distclean-sim
28967 maybe-distclean-sim:
28968 @if sim
28969 maybe-distclean-sim: distclean-sim
28971 distclean-sim:
28972 @: $(MAKE); $(unstage)
28973 @[ -f ./sim/Makefile ] || exit 0; \
28974 r=`${PWD_COMMAND}`; export r; \
28975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28976 $(HOST_EXPORTS) \
28977 for flag in $(EXTRA_HOST_FLAGS) ; do \
28978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28979 done; \
28980 echo "Doing distclean in sim" ; \
28981 (cd $(HOST_SUBDIR)/sim && \
28982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28984 "RANLIB=$${RANLIB}" \
28985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28986 distclean) \
28987 || exit 1
28989 @endif sim
28991 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
28992 maybe-maintainer-clean-sim:
28993 @if sim
28994 maybe-maintainer-clean-sim: maintainer-clean-sim
28996 maintainer-clean-sim:
28997 @: $(MAKE); $(unstage)
28998 @[ -f ./sim/Makefile ] || exit 0; \
28999 r=`${PWD_COMMAND}`; export r; \
29000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29001 $(HOST_EXPORTS) \
29002 for flag in $(EXTRA_HOST_FLAGS) ; do \
29003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29004 done; \
29005 echo "Doing maintainer-clean in sim" ; \
29006 (cd $(HOST_SUBDIR)/sim && \
29007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29009 "RANLIB=$${RANLIB}" \
29010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29011 maintainer-clean) \
29012 || exit 1
29014 @endif sim
29018 .PHONY: configure-tar maybe-configure-tar
29019 maybe-configure-tar:
29020 @if gcc-bootstrap
29021 configure-tar: stage_current
29022 @endif gcc-bootstrap
29023 @if tar
29024 maybe-configure-tar: configure-tar
29025 configure-tar:
29026 @: $(MAKE); $(unstage)
29027 @r=`${PWD_COMMAND}`; export r; \
29028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29029 test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
29030 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
29031 $(HOST_EXPORTS) \
29032 echo Configuring in $(HOST_SUBDIR)/tar; \
29033 cd "$(HOST_SUBDIR)/tar" || exit 1; \
29034 case $(srcdir) in \
29035 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29036 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
29037 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29038 esac; \
29039 srcdiroption="--srcdir=$${topdir}/tar"; \
29040 libsrcdir="$$s/tar"; \
29041 $(SHELL) $${libsrcdir}/configure \
29042 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29043 --target=${target_alias} $${srcdiroption} \
29044 || exit 1
29045 @endif tar
29051 .PHONY: all-tar maybe-all-tar
29052 maybe-all-tar:
29053 @if gcc-bootstrap
29054 all-tar: stage_current
29055 @endif gcc-bootstrap
29056 @if tar
29057 TARGET-tar=all
29058 maybe-all-tar: all-tar
29059 all-tar: configure-tar
29060 @: $(MAKE); $(unstage)
29061 @r=`${PWD_COMMAND}`; export r; \
29062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29063 $(HOST_EXPORTS) \
29064 (cd $(HOST_SUBDIR)/tar && \
29065 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
29066 @endif tar
29071 .PHONY: check-tar maybe-check-tar
29072 maybe-check-tar:
29073 @if tar
29074 maybe-check-tar: check-tar
29076 check-tar:
29077 @: $(MAKE); $(unstage)
29078 @r=`${PWD_COMMAND}`; export r; \
29079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29080 $(HOST_EXPORTS) \
29081 (cd $(HOST_SUBDIR)/tar && \
29082 $(MAKE) $(FLAGS_TO_PASS) check)
29084 @endif tar
29086 .PHONY: install-tar maybe-install-tar
29087 maybe-install-tar:
29088 @if tar
29089 maybe-install-tar: install-tar
29091 install-tar: installdirs
29092 @: $(MAKE); $(unstage)
29093 @r=`${PWD_COMMAND}`; export r; \
29094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29095 $(HOST_EXPORTS) \
29096 (cd $(HOST_SUBDIR)/tar && \
29097 $(MAKE) $(FLAGS_TO_PASS) install)
29099 @endif tar
29101 # Other targets (info, dvi, pdf, etc.)
29103 .PHONY: maybe-info-tar info-tar
29104 maybe-info-tar:
29105 @if tar
29106 maybe-info-tar: info-tar
29108 info-tar: \
29109 configure-tar
29110 @: $(MAKE); $(unstage)
29111 @[ -f ./tar/Makefile ] || exit 0; \
29112 r=`${PWD_COMMAND}`; export r; \
29113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29114 $(HOST_EXPORTS) \
29115 for flag in $(EXTRA_HOST_FLAGS) ; do \
29116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29117 done; \
29118 echo "Doing info in tar" ; \
29119 (cd $(HOST_SUBDIR)/tar && \
29120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29122 "RANLIB=$${RANLIB}" \
29123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29124 info) \
29125 || exit 1
29127 @endif tar
29129 .PHONY: maybe-dvi-tar dvi-tar
29130 maybe-dvi-tar:
29131 @if tar
29132 maybe-dvi-tar: dvi-tar
29134 dvi-tar: \
29135 configure-tar
29136 @: $(MAKE); $(unstage)
29137 @[ -f ./tar/Makefile ] || exit 0; \
29138 r=`${PWD_COMMAND}`; export r; \
29139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29140 $(HOST_EXPORTS) \
29141 for flag in $(EXTRA_HOST_FLAGS) ; do \
29142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29143 done; \
29144 echo "Doing dvi in tar" ; \
29145 (cd $(HOST_SUBDIR)/tar && \
29146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29148 "RANLIB=$${RANLIB}" \
29149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29150 dvi) \
29151 || exit 1
29153 @endif tar
29155 .PHONY: maybe-pdf-tar pdf-tar
29156 maybe-pdf-tar:
29157 @if tar
29158 maybe-pdf-tar: pdf-tar
29160 pdf-tar: \
29161 configure-tar
29162 @: $(MAKE); $(unstage)
29163 @[ -f ./tar/Makefile ] || exit 0; \
29164 r=`${PWD_COMMAND}`; export r; \
29165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29166 $(HOST_EXPORTS) \
29167 for flag in $(EXTRA_HOST_FLAGS) ; do \
29168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29169 done; \
29170 echo "Doing pdf in tar" ; \
29171 (cd $(HOST_SUBDIR)/tar && \
29172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29174 "RANLIB=$${RANLIB}" \
29175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29176 pdf) \
29177 || exit 1
29179 @endif tar
29181 .PHONY: maybe-html-tar html-tar
29182 maybe-html-tar:
29183 @if tar
29184 maybe-html-tar: html-tar
29186 html-tar: \
29187 configure-tar
29188 @: $(MAKE); $(unstage)
29189 @[ -f ./tar/Makefile ] || exit 0; \
29190 r=`${PWD_COMMAND}`; export r; \
29191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29192 $(HOST_EXPORTS) \
29193 for flag in $(EXTRA_HOST_FLAGS) ; do \
29194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29195 done; \
29196 echo "Doing html in tar" ; \
29197 (cd $(HOST_SUBDIR)/tar && \
29198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29200 "RANLIB=$${RANLIB}" \
29201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29202 html) \
29203 || exit 1
29205 @endif tar
29207 .PHONY: maybe-TAGS-tar TAGS-tar
29208 maybe-TAGS-tar:
29209 @if tar
29210 maybe-TAGS-tar: TAGS-tar
29212 TAGS-tar: \
29213 configure-tar
29214 @: $(MAKE); $(unstage)
29215 @[ -f ./tar/Makefile ] || exit 0; \
29216 r=`${PWD_COMMAND}`; export r; \
29217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29218 $(HOST_EXPORTS) \
29219 for flag in $(EXTRA_HOST_FLAGS) ; do \
29220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29221 done; \
29222 echo "Doing TAGS in tar" ; \
29223 (cd $(HOST_SUBDIR)/tar && \
29224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29226 "RANLIB=$${RANLIB}" \
29227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29228 TAGS) \
29229 || exit 1
29231 @endif tar
29233 .PHONY: maybe-install-info-tar install-info-tar
29234 maybe-install-info-tar:
29235 @if tar
29236 maybe-install-info-tar: install-info-tar
29238 install-info-tar: \
29239 configure-tar \
29240 info-tar
29241 @: $(MAKE); $(unstage)
29242 @[ -f ./tar/Makefile ] || exit 0; \
29243 r=`${PWD_COMMAND}`; export r; \
29244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29245 $(HOST_EXPORTS) \
29246 for flag in $(EXTRA_HOST_FLAGS) ; do \
29247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29248 done; \
29249 echo "Doing install-info in tar" ; \
29250 (cd $(HOST_SUBDIR)/tar && \
29251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29253 "RANLIB=$${RANLIB}" \
29254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29255 install-info) \
29256 || exit 1
29258 @endif tar
29260 .PHONY: maybe-install-html-tar install-html-tar
29261 maybe-install-html-tar:
29262 @if tar
29263 maybe-install-html-tar: install-html-tar
29265 install-html-tar: \
29266 configure-tar \
29267 html-tar
29268 @: $(MAKE); $(unstage)
29269 @[ -f ./tar/Makefile ] || exit 0; \
29270 r=`${PWD_COMMAND}`; export r; \
29271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29272 $(HOST_EXPORTS) \
29273 for flag in $(EXTRA_HOST_FLAGS) ; do \
29274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29275 done; \
29276 echo "Doing install-html in tar" ; \
29277 (cd $(HOST_SUBDIR)/tar && \
29278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29280 "RANLIB=$${RANLIB}" \
29281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29282 install-html) \
29283 || exit 1
29285 @endif tar
29287 .PHONY: maybe-installcheck-tar installcheck-tar
29288 maybe-installcheck-tar:
29289 @if tar
29290 maybe-installcheck-tar: installcheck-tar
29292 installcheck-tar: \
29293 configure-tar
29294 @: $(MAKE); $(unstage)
29295 @[ -f ./tar/Makefile ] || exit 0; \
29296 r=`${PWD_COMMAND}`; export r; \
29297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29298 $(HOST_EXPORTS) \
29299 for flag in $(EXTRA_HOST_FLAGS) ; do \
29300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29301 done; \
29302 echo "Doing installcheck in tar" ; \
29303 (cd $(HOST_SUBDIR)/tar && \
29304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29306 "RANLIB=$${RANLIB}" \
29307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29308 installcheck) \
29309 || exit 1
29311 @endif tar
29313 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
29314 maybe-mostlyclean-tar:
29315 @if tar
29316 maybe-mostlyclean-tar: mostlyclean-tar
29318 mostlyclean-tar:
29319 @: $(MAKE); $(unstage)
29320 @[ -f ./tar/Makefile ] || exit 0; \
29321 r=`${PWD_COMMAND}`; export r; \
29322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29323 $(HOST_EXPORTS) \
29324 for flag in $(EXTRA_HOST_FLAGS) ; do \
29325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29326 done; \
29327 echo "Doing mostlyclean in tar" ; \
29328 (cd $(HOST_SUBDIR)/tar && \
29329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29331 "RANLIB=$${RANLIB}" \
29332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29333 mostlyclean) \
29334 || exit 1
29336 @endif tar
29338 .PHONY: maybe-clean-tar clean-tar
29339 maybe-clean-tar:
29340 @if tar
29341 maybe-clean-tar: clean-tar
29343 clean-tar:
29344 @: $(MAKE); $(unstage)
29345 @[ -f ./tar/Makefile ] || exit 0; \
29346 r=`${PWD_COMMAND}`; export r; \
29347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29348 $(HOST_EXPORTS) \
29349 for flag in $(EXTRA_HOST_FLAGS) ; do \
29350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29351 done; \
29352 echo "Doing clean in tar" ; \
29353 (cd $(HOST_SUBDIR)/tar && \
29354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29356 "RANLIB=$${RANLIB}" \
29357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29358 clean) \
29359 || exit 1
29361 @endif tar
29363 .PHONY: maybe-distclean-tar distclean-tar
29364 maybe-distclean-tar:
29365 @if tar
29366 maybe-distclean-tar: distclean-tar
29368 distclean-tar:
29369 @: $(MAKE); $(unstage)
29370 @[ -f ./tar/Makefile ] || exit 0; \
29371 r=`${PWD_COMMAND}`; export r; \
29372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29373 $(HOST_EXPORTS) \
29374 for flag in $(EXTRA_HOST_FLAGS) ; do \
29375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29376 done; \
29377 echo "Doing distclean in tar" ; \
29378 (cd $(HOST_SUBDIR)/tar && \
29379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29381 "RANLIB=$${RANLIB}" \
29382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29383 distclean) \
29384 || exit 1
29386 @endif tar
29388 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
29389 maybe-maintainer-clean-tar:
29390 @if tar
29391 maybe-maintainer-clean-tar: maintainer-clean-tar
29393 maintainer-clean-tar:
29394 @: $(MAKE); $(unstage)
29395 @[ -f ./tar/Makefile ] || exit 0; \
29396 r=`${PWD_COMMAND}`; export r; \
29397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29398 $(HOST_EXPORTS) \
29399 for flag in $(EXTRA_HOST_FLAGS) ; do \
29400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29401 done; \
29402 echo "Doing maintainer-clean in tar" ; \
29403 (cd $(HOST_SUBDIR)/tar && \
29404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29406 "RANLIB=$${RANLIB}" \
29407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29408 maintainer-clean) \
29409 || exit 1
29411 @endif tar
29415 .PHONY: configure-texinfo maybe-configure-texinfo
29416 maybe-configure-texinfo:
29417 @if gcc-bootstrap
29418 configure-texinfo: stage_current
29419 @endif gcc-bootstrap
29420 @if texinfo
29421 maybe-configure-texinfo: configure-texinfo
29422 configure-texinfo:
29423 @: $(MAKE); $(unstage)
29424 @r=`${PWD_COMMAND}`; export r; \
29425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29426 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
29427 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
29428 $(HOST_EXPORTS) \
29429 echo Configuring in $(HOST_SUBDIR)/texinfo; \
29430 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
29431 case $(srcdir) in \
29432 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29433 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
29434 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29435 esac; \
29436 srcdiroption="--srcdir=$${topdir}/texinfo"; \
29437 libsrcdir="$$s/texinfo"; \
29438 $(SHELL) $${libsrcdir}/configure \
29439 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29440 --target=${target_alias} $${srcdiroption} \
29441 || exit 1
29442 @endif texinfo
29448 .PHONY: all-texinfo maybe-all-texinfo
29449 maybe-all-texinfo:
29450 @if gcc-bootstrap
29451 all-texinfo: stage_current
29452 @endif gcc-bootstrap
29453 @if texinfo
29454 TARGET-texinfo=all
29455 maybe-all-texinfo: all-texinfo
29456 all-texinfo: configure-texinfo
29457 @: $(MAKE); $(unstage)
29458 @r=`${PWD_COMMAND}`; export r; \
29459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29460 $(HOST_EXPORTS) \
29461 (cd $(HOST_SUBDIR)/texinfo && \
29462 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
29463 @endif texinfo
29468 .PHONY: check-texinfo maybe-check-texinfo
29469 maybe-check-texinfo:
29470 @if texinfo
29471 maybe-check-texinfo: check-texinfo
29473 check-texinfo:
29474 @: $(MAKE); $(unstage)
29475 @r=`${PWD_COMMAND}`; export r; \
29476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29477 $(HOST_EXPORTS) \
29478 (cd $(HOST_SUBDIR)/texinfo && \
29479 $(MAKE) $(FLAGS_TO_PASS) check)
29481 @endif texinfo
29483 .PHONY: install-texinfo maybe-install-texinfo
29484 maybe-install-texinfo:
29485 @if texinfo
29486 maybe-install-texinfo: install-texinfo
29488 install-texinfo:
29490 @endif texinfo
29492 # Other targets (info, dvi, pdf, etc.)
29494 .PHONY: maybe-info-texinfo info-texinfo
29495 maybe-info-texinfo:
29496 @if texinfo
29497 maybe-info-texinfo: info-texinfo
29499 info-texinfo: \
29500 configure-texinfo
29501 @: $(MAKE); $(unstage)
29502 @[ -f ./texinfo/Makefile ] || exit 0; \
29503 r=`${PWD_COMMAND}`; export r; \
29504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29505 $(HOST_EXPORTS) \
29506 for flag in $(EXTRA_HOST_FLAGS) ; do \
29507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29508 done; \
29509 echo "Doing info in texinfo" ; \
29510 (cd $(HOST_SUBDIR)/texinfo && \
29511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29513 "RANLIB=$${RANLIB}" \
29514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29515 info) \
29516 || exit 1
29518 @endif texinfo
29520 .PHONY: maybe-dvi-texinfo dvi-texinfo
29521 maybe-dvi-texinfo:
29522 @if texinfo
29523 maybe-dvi-texinfo: dvi-texinfo
29525 dvi-texinfo: \
29526 configure-texinfo
29527 @: $(MAKE); $(unstage)
29528 @[ -f ./texinfo/Makefile ] || exit 0; \
29529 r=`${PWD_COMMAND}`; export r; \
29530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29531 $(HOST_EXPORTS) \
29532 for flag in $(EXTRA_HOST_FLAGS) ; do \
29533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29534 done; \
29535 echo "Doing dvi in texinfo" ; \
29536 (cd $(HOST_SUBDIR)/texinfo && \
29537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29539 "RANLIB=$${RANLIB}" \
29540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29541 dvi) \
29542 || exit 1
29544 @endif texinfo
29546 .PHONY: maybe-pdf-texinfo pdf-texinfo
29547 maybe-pdf-texinfo:
29548 @if texinfo
29549 maybe-pdf-texinfo: pdf-texinfo
29551 pdf-texinfo: \
29552 configure-texinfo
29553 @: $(MAKE); $(unstage)
29554 @[ -f ./texinfo/Makefile ] || exit 0; \
29555 r=`${PWD_COMMAND}`; export r; \
29556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29557 $(HOST_EXPORTS) \
29558 for flag in $(EXTRA_HOST_FLAGS) ; do \
29559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29560 done; \
29561 echo "Doing pdf in texinfo" ; \
29562 (cd $(HOST_SUBDIR)/texinfo && \
29563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29565 "RANLIB=$${RANLIB}" \
29566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29567 pdf) \
29568 || exit 1
29570 @endif texinfo
29572 .PHONY: maybe-html-texinfo html-texinfo
29573 maybe-html-texinfo:
29574 @if texinfo
29575 maybe-html-texinfo: html-texinfo
29577 html-texinfo: \
29578 configure-texinfo
29579 @: $(MAKE); $(unstage)
29580 @[ -f ./texinfo/Makefile ] || exit 0; \
29581 r=`${PWD_COMMAND}`; export r; \
29582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29583 $(HOST_EXPORTS) \
29584 for flag in $(EXTRA_HOST_FLAGS) ; do \
29585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29586 done; \
29587 echo "Doing html in texinfo" ; \
29588 (cd $(HOST_SUBDIR)/texinfo && \
29589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29591 "RANLIB=$${RANLIB}" \
29592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29593 html) \
29594 || exit 1
29596 @endif texinfo
29598 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
29599 maybe-TAGS-texinfo:
29600 @if texinfo
29601 maybe-TAGS-texinfo: TAGS-texinfo
29603 TAGS-texinfo: \
29604 configure-texinfo
29605 @: $(MAKE); $(unstage)
29606 @[ -f ./texinfo/Makefile ] || exit 0; \
29607 r=`${PWD_COMMAND}`; export r; \
29608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29609 $(HOST_EXPORTS) \
29610 for flag in $(EXTRA_HOST_FLAGS) ; do \
29611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29612 done; \
29613 echo "Doing TAGS in texinfo" ; \
29614 (cd $(HOST_SUBDIR)/texinfo && \
29615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29617 "RANLIB=$${RANLIB}" \
29618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29619 TAGS) \
29620 || exit 1
29622 @endif texinfo
29624 .PHONY: maybe-install-info-texinfo install-info-texinfo
29625 maybe-install-info-texinfo:
29626 @if texinfo
29627 maybe-install-info-texinfo: install-info-texinfo
29629 install-info-texinfo: \
29630 configure-texinfo \
29631 info-texinfo
29632 @: $(MAKE); $(unstage)
29633 @[ -f ./texinfo/Makefile ] || exit 0; \
29634 r=`${PWD_COMMAND}`; export r; \
29635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29636 $(HOST_EXPORTS) \
29637 for flag in $(EXTRA_HOST_FLAGS) ; do \
29638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29639 done; \
29640 echo "Doing install-info in texinfo" ; \
29641 (cd $(HOST_SUBDIR)/texinfo && \
29642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29644 "RANLIB=$${RANLIB}" \
29645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29646 install-info) \
29647 || exit 1
29649 @endif texinfo
29651 .PHONY: maybe-install-html-texinfo install-html-texinfo
29652 maybe-install-html-texinfo:
29653 @if texinfo
29654 maybe-install-html-texinfo: install-html-texinfo
29656 install-html-texinfo: \
29657 configure-texinfo \
29658 html-texinfo
29659 @: $(MAKE); $(unstage)
29660 @[ -f ./texinfo/Makefile ] || exit 0; \
29661 r=`${PWD_COMMAND}`; export r; \
29662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29663 $(HOST_EXPORTS) \
29664 for flag in $(EXTRA_HOST_FLAGS) ; do \
29665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29666 done; \
29667 echo "Doing install-html in texinfo" ; \
29668 (cd $(HOST_SUBDIR)/texinfo && \
29669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29671 "RANLIB=$${RANLIB}" \
29672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29673 install-html) \
29674 || exit 1
29676 @endif texinfo
29678 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
29679 maybe-installcheck-texinfo:
29680 @if texinfo
29681 maybe-installcheck-texinfo: installcheck-texinfo
29683 installcheck-texinfo: \
29684 configure-texinfo
29685 @: $(MAKE); $(unstage)
29686 @[ -f ./texinfo/Makefile ] || exit 0; \
29687 r=`${PWD_COMMAND}`; export r; \
29688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29689 $(HOST_EXPORTS) \
29690 for flag in $(EXTRA_HOST_FLAGS) ; do \
29691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29692 done; \
29693 echo "Doing installcheck in texinfo" ; \
29694 (cd $(HOST_SUBDIR)/texinfo && \
29695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29697 "RANLIB=$${RANLIB}" \
29698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29699 installcheck) \
29700 || exit 1
29702 @endif texinfo
29704 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
29705 maybe-mostlyclean-texinfo:
29706 @if texinfo
29707 maybe-mostlyclean-texinfo: mostlyclean-texinfo
29709 mostlyclean-texinfo:
29710 @: $(MAKE); $(unstage)
29711 @[ -f ./texinfo/Makefile ] || exit 0; \
29712 r=`${PWD_COMMAND}`; export r; \
29713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29714 $(HOST_EXPORTS) \
29715 for flag in $(EXTRA_HOST_FLAGS) ; do \
29716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29717 done; \
29718 echo "Doing mostlyclean in texinfo" ; \
29719 (cd $(HOST_SUBDIR)/texinfo && \
29720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29722 "RANLIB=$${RANLIB}" \
29723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29724 mostlyclean) \
29725 || exit 1
29727 @endif texinfo
29729 .PHONY: maybe-clean-texinfo clean-texinfo
29730 maybe-clean-texinfo:
29731 @if texinfo
29732 maybe-clean-texinfo: clean-texinfo
29734 clean-texinfo:
29735 @: $(MAKE); $(unstage)
29736 @[ -f ./texinfo/Makefile ] || exit 0; \
29737 r=`${PWD_COMMAND}`; export r; \
29738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29739 $(HOST_EXPORTS) \
29740 for flag in $(EXTRA_HOST_FLAGS) ; do \
29741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29742 done; \
29743 echo "Doing clean in texinfo" ; \
29744 (cd $(HOST_SUBDIR)/texinfo && \
29745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29747 "RANLIB=$${RANLIB}" \
29748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29749 clean) \
29750 || exit 1
29752 @endif texinfo
29754 .PHONY: maybe-distclean-texinfo distclean-texinfo
29755 maybe-distclean-texinfo:
29756 @if texinfo
29757 maybe-distclean-texinfo: distclean-texinfo
29759 distclean-texinfo:
29760 @: $(MAKE); $(unstage)
29761 @[ -f ./texinfo/Makefile ] || exit 0; \
29762 r=`${PWD_COMMAND}`; export r; \
29763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29764 $(HOST_EXPORTS) \
29765 for flag in $(EXTRA_HOST_FLAGS) ; do \
29766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29767 done; \
29768 echo "Doing distclean in texinfo" ; \
29769 (cd $(HOST_SUBDIR)/texinfo && \
29770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29772 "RANLIB=$${RANLIB}" \
29773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29774 distclean) \
29775 || exit 1
29777 @endif texinfo
29779 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
29780 maybe-maintainer-clean-texinfo:
29781 @if texinfo
29782 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
29784 maintainer-clean-texinfo:
29785 @: $(MAKE); $(unstage)
29786 @[ -f ./texinfo/Makefile ] || exit 0; \
29787 r=`${PWD_COMMAND}`; export r; \
29788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29789 $(HOST_EXPORTS) \
29790 for flag in $(EXTRA_HOST_FLAGS) ; do \
29791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29792 done; \
29793 echo "Doing maintainer-clean in texinfo" ; \
29794 (cd $(HOST_SUBDIR)/texinfo && \
29795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29797 "RANLIB=$${RANLIB}" \
29798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29799 maintainer-clean) \
29800 || exit 1
29802 @endif texinfo
29806 .PHONY: configure-textutils maybe-configure-textutils
29807 maybe-configure-textutils:
29808 @if gcc-bootstrap
29809 configure-textutils: stage_current
29810 @endif gcc-bootstrap
29811 @if textutils
29812 maybe-configure-textutils: configure-textutils
29813 configure-textutils:
29814 @: $(MAKE); $(unstage)
29815 @r=`${PWD_COMMAND}`; export r; \
29816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29817 test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
29818 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
29819 $(HOST_EXPORTS) \
29820 echo Configuring in $(HOST_SUBDIR)/textutils; \
29821 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
29822 case $(srcdir) in \
29823 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29824 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
29825 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29826 esac; \
29827 srcdiroption="--srcdir=$${topdir}/textutils"; \
29828 libsrcdir="$$s/textutils"; \
29829 $(SHELL) $${libsrcdir}/configure \
29830 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29831 --target=${target_alias} $${srcdiroption} \
29832 || exit 1
29833 @endif textutils
29839 .PHONY: all-textutils maybe-all-textutils
29840 maybe-all-textutils:
29841 @if gcc-bootstrap
29842 all-textutils: stage_current
29843 @endif gcc-bootstrap
29844 @if textutils
29845 TARGET-textutils=all
29846 maybe-all-textutils: all-textutils
29847 all-textutils: configure-textutils
29848 @: $(MAKE); $(unstage)
29849 @r=`${PWD_COMMAND}`; export r; \
29850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29851 $(HOST_EXPORTS) \
29852 (cd $(HOST_SUBDIR)/textutils && \
29853 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
29854 @endif textutils
29859 .PHONY: check-textutils maybe-check-textutils
29860 maybe-check-textutils:
29861 @if textutils
29862 maybe-check-textutils: check-textutils
29864 check-textutils:
29865 @: $(MAKE); $(unstage)
29866 @r=`${PWD_COMMAND}`; export r; \
29867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29868 $(HOST_EXPORTS) \
29869 (cd $(HOST_SUBDIR)/textutils && \
29870 $(MAKE) $(FLAGS_TO_PASS) check)
29872 @endif textutils
29874 .PHONY: install-textutils maybe-install-textutils
29875 maybe-install-textutils:
29876 @if textutils
29877 maybe-install-textutils: install-textutils
29879 install-textutils: installdirs
29880 @: $(MAKE); $(unstage)
29881 @r=`${PWD_COMMAND}`; export r; \
29882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29883 $(HOST_EXPORTS) \
29884 (cd $(HOST_SUBDIR)/textutils && \
29885 $(MAKE) $(FLAGS_TO_PASS) install)
29887 @endif textutils
29889 # Other targets (info, dvi, pdf, etc.)
29891 .PHONY: maybe-info-textutils info-textutils
29892 maybe-info-textutils:
29893 @if textutils
29894 maybe-info-textutils: info-textutils
29896 info-textutils: \
29897 configure-textutils
29898 @: $(MAKE); $(unstage)
29899 @[ -f ./textutils/Makefile ] || exit 0; \
29900 r=`${PWD_COMMAND}`; export r; \
29901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29902 $(HOST_EXPORTS) \
29903 for flag in $(EXTRA_HOST_FLAGS) ; do \
29904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29905 done; \
29906 echo "Doing info in textutils" ; \
29907 (cd $(HOST_SUBDIR)/textutils && \
29908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29910 "RANLIB=$${RANLIB}" \
29911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29912 info) \
29913 || exit 1
29915 @endif textutils
29917 .PHONY: maybe-dvi-textutils dvi-textutils
29918 maybe-dvi-textutils:
29919 @if textutils
29920 maybe-dvi-textutils: dvi-textutils
29922 dvi-textutils: \
29923 configure-textutils
29924 @: $(MAKE); $(unstage)
29925 @[ -f ./textutils/Makefile ] || exit 0; \
29926 r=`${PWD_COMMAND}`; export r; \
29927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29928 $(HOST_EXPORTS) \
29929 for flag in $(EXTRA_HOST_FLAGS) ; do \
29930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29931 done; \
29932 echo "Doing dvi in textutils" ; \
29933 (cd $(HOST_SUBDIR)/textutils && \
29934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29936 "RANLIB=$${RANLIB}" \
29937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29938 dvi) \
29939 || exit 1
29941 @endif textutils
29943 .PHONY: maybe-pdf-textutils pdf-textutils
29944 maybe-pdf-textutils:
29945 @if textutils
29946 maybe-pdf-textutils: pdf-textutils
29948 pdf-textutils: \
29949 configure-textutils
29950 @: $(MAKE); $(unstage)
29951 @[ -f ./textutils/Makefile ] || exit 0; \
29952 r=`${PWD_COMMAND}`; export r; \
29953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29954 $(HOST_EXPORTS) \
29955 for flag in $(EXTRA_HOST_FLAGS) ; do \
29956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29957 done; \
29958 echo "Doing pdf in textutils" ; \
29959 (cd $(HOST_SUBDIR)/textutils && \
29960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29962 "RANLIB=$${RANLIB}" \
29963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29964 pdf) \
29965 || exit 1
29967 @endif textutils
29969 .PHONY: maybe-html-textutils html-textutils
29970 maybe-html-textutils:
29971 @if textutils
29972 maybe-html-textutils: html-textutils
29974 html-textutils: \
29975 configure-textutils
29976 @: $(MAKE); $(unstage)
29977 @[ -f ./textutils/Makefile ] || exit 0; \
29978 r=`${PWD_COMMAND}`; export r; \
29979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29980 $(HOST_EXPORTS) \
29981 for flag in $(EXTRA_HOST_FLAGS) ; do \
29982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29983 done; \
29984 echo "Doing html in textutils" ; \
29985 (cd $(HOST_SUBDIR)/textutils && \
29986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29988 "RANLIB=$${RANLIB}" \
29989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29990 html) \
29991 || exit 1
29993 @endif textutils
29995 .PHONY: maybe-TAGS-textutils TAGS-textutils
29996 maybe-TAGS-textutils:
29997 @if textutils
29998 maybe-TAGS-textutils: TAGS-textutils
30000 TAGS-textutils: \
30001 configure-textutils
30002 @: $(MAKE); $(unstage)
30003 @[ -f ./textutils/Makefile ] || exit 0; \
30004 r=`${PWD_COMMAND}`; export r; \
30005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30006 $(HOST_EXPORTS) \
30007 for flag in $(EXTRA_HOST_FLAGS) ; do \
30008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30009 done; \
30010 echo "Doing TAGS in textutils" ; \
30011 (cd $(HOST_SUBDIR)/textutils && \
30012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30014 "RANLIB=$${RANLIB}" \
30015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30016 TAGS) \
30017 || exit 1
30019 @endif textutils
30021 .PHONY: maybe-install-info-textutils install-info-textutils
30022 maybe-install-info-textutils:
30023 @if textutils
30024 maybe-install-info-textutils: install-info-textutils
30026 install-info-textutils: \
30027 configure-textutils \
30028 info-textutils
30029 @: $(MAKE); $(unstage)
30030 @[ -f ./textutils/Makefile ] || exit 0; \
30031 r=`${PWD_COMMAND}`; export r; \
30032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30033 $(HOST_EXPORTS) \
30034 for flag in $(EXTRA_HOST_FLAGS) ; do \
30035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30036 done; \
30037 echo "Doing install-info in textutils" ; \
30038 (cd $(HOST_SUBDIR)/textutils && \
30039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30041 "RANLIB=$${RANLIB}" \
30042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30043 install-info) \
30044 || exit 1
30046 @endif textutils
30048 .PHONY: maybe-install-html-textutils install-html-textutils
30049 maybe-install-html-textutils:
30050 @if textutils
30051 maybe-install-html-textutils: install-html-textutils
30053 install-html-textutils: \
30054 configure-textutils \
30055 html-textutils
30056 @: $(MAKE); $(unstage)
30057 @[ -f ./textutils/Makefile ] || exit 0; \
30058 r=`${PWD_COMMAND}`; export r; \
30059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30060 $(HOST_EXPORTS) \
30061 for flag in $(EXTRA_HOST_FLAGS) ; do \
30062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30063 done; \
30064 echo "Doing install-html in textutils" ; \
30065 (cd $(HOST_SUBDIR)/textutils && \
30066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30068 "RANLIB=$${RANLIB}" \
30069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30070 install-html) \
30071 || exit 1
30073 @endif textutils
30075 .PHONY: maybe-installcheck-textutils installcheck-textutils
30076 maybe-installcheck-textutils:
30077 @if textutils
30078 maybe-installcheck-textutils: installcheck-textutils
30080 installcheck-textutils: \
30081 configure-textutils
30082 @: $(MAKE); $(unstage)
30083 @[ -f ./textutils/Makefile ] || exit 0; \
30084 r=`${PWD_COMMAND}`; export r; \
30085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30086 $(HOST_EXPORTS) \
30087 for flag in $(EXTRA_HOST_FLAGS) ; do \
30088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30089 done; \
30090 echo "Doing installcheck in textutils" ; \
30091 (cd $(HOST_SUBDIR)/textutils && \
30092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30094 "RANLIB=$${RANLIB}" \
30095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30096 installcheck) \
30097 || exit 1
30099 @endif textutils
30101 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
30102 maybe-mostlyclean-textutils:
30103 @if textutils
30104 maybe-mostlyclean-textutils: mostlyclean-textutils
30106 mostlyclean-textutils:
30107 @: $(MAKE); $(unstage)
30108 @[ -f ./textutils/Makefile ] || exit 0; \
30109 r=`${PWD_COMMAND}`; export r; \
30110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30111 $(HOST_EXPORTS) \
30112 for flag in $(EXTRA_HOST_FLAGS) ; do \
30113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30114 done; \
30115 echo "Doing mostlyclean in textutils" ; \
30116 (cd $(HOST_SUBDIR)/textutils && \
30117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30119 "RANLIB=$${RANLIB}" \
30120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30121 mostlyclean) \
30122 || exit 1
30124 @endif textutils
30126 .PHONY: maybe-clean-textutils clean-textutils
30127 maybe-clean-textutils:
30128 @if textutils
30129 maybe-clean-textutils: clean-textutils
30131 clean-textutils:
30132 @: $(MAKE); $(unstage)
30133 @[ -f ./textutils/Makefile ] || exit 0; \
30134 r=`${PWD_COMMAND}`; export r; \
30135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30136 $(HOST_EXPORTS) \
30137 for flag in $(EXTRA_HOST_FLAGS) ; do \
30138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30139 done; \
30140 echo "Doing clean in textutils" ; \
30141 (cd $(HOST_SUBDIR)/textutils && \
30142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30144 "RANLIB=$${RANLIB}" \
30145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30146 clean) \
30147 || exit 1
30149 @endif textutils
30151 .PHONY: maybe-distclean-textutils distclean-textutils
30152 maybe-distclean-textutils:
30153 @if textutils
30154 maybe-distclean-textutils: distclean-textutils
30156 distclean-textutils:
30157 @: $(MAKE); $(unstage)
30158 @[ -f ./textutils/Makefile ] || exit 0; \
30159 r=`${PWD_COMMAND}`; export r; \
30160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30161 $(HOST_EXPORTS) \
30162 for flag in $(EXTRA_HOST_FLAGS) ; do \
30163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30164 done; \
30165 echo "Doing distclean in textutils" ; \
30166 (cd $(HOST_SUBDIR)/textutils && \
30167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30169 "RANLIB=$${RANLIB}" \
30170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30171 distclean) \
30172 || exit 1
30174 @endif textutils
30176 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
30177 maybe-maintainer-clean-textutils:
30178 @if textutils
30179 maybe-maintainer-clean-textutils: maintainer-clean-textutils
30181 maintainer-clean-textutils:
30182 @: $(MAKE); $(unstage)
30183 @[ -f ./textutils/Makefile ] || exit 0; \
30184 r=`${PWD_COMMAND}`; export r; \
30185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30186 $(HOST_EXPORTS) \
30187 for flag in $(EXTRA_HOST_FLAGS) ; do \
30188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30189 done; \
30190 echo "Doing maintainer-clean in textutils" ; \
30191 (cd $(HOST_SUBDIR)/textutils && \
30192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30194 "RANLIB=$${RANLIB}" \
30195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30196 maintainer-clean) \
30197 || exit 1
30199 @endif textutils
30203 .PHONY: configure-time maybe-configure-time
30204 maybe-configure-time:
30205 @if gcc-bootstrap
30206 configure-time: stage_current
30207 @endif gcc-bootstrap
30208 @if time
30209 maybe-configure-time: configure-time
30210 configure-time:
30211 @: $(MAKE); $(unstage)
30212 @r=`${PWD_COMMAND}`; export r; \
30213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30214 test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
30215 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
30216 $(HOST_EXPORTS) \
30217 echo Configuring in $(HOST_SUBDIR)/time; \
30218 cd "$(HOST_SUBDIR)/time" || exit 1; \
30219 case $(srcdir) in \
30220 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30221 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
30222 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30223 esac; \
30224 srcdiroption="--srcdir=$${topdir}/time"; \
30225 libsrcdir="$$s/time"; \
30226 $(SHELL) $${libsrcdir}/configure \
30227 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30228 --target=${target_alias} $${srcdiroption} \
30229 || exit 1
30230 @endif time
30236 .PHONY: all-time maybe-all-time
30237 maybe-all-time:
30238 @if gcc-bootstrap
30239 all-time: stage_current
30240 @endif gcc-bootstrap
30241 @if time
30242 TARGET-time=all
30243 maybe-all-time: all-time
30244 all-time: configure-time
30245 @: $(MAKE); $(unstage)
30246 @r=`${PWD_COMMAND}`; export r; \
30247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30248 $(HOST_EXPORTS) \
30249 (cd $(HOST_SUBDIR)/time && \
30250 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
30251 @endif time
30256 .PHONY: check-time maybe-check-time
30257 maybe-check-time:
30258 @if time
30259 maybe-check-time: check-time
30261 check-time:
30262 @: $(MAKE); $(unstage)
30263 @r=`${PWD_COMMAND}`; export r; \
30264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30265 $(HOST_EXPORTS) \
30266 (cd $(HOST_SUBDIR)/time && \
30267 $(MAKE) $(FLAGS_TO_PASS) check)
30269 @endif time
30271 .PHONY: install-time maybe-install-time
30272 maybe-install-time:
30273 @if time
30274 maybe-install-time: install-time
30276 install-time: installdirs
30277 @: $(MAKE); $(unstage)
30278 @r=`${PWD_COMMAND}`; export r; \
30279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30280 $(HOST_EXPORTS) \
30281 (cd $(HOST_SUBDIR)/time && \
30282 $(MAKE) $(FLAGS_TO_PASS) install)
30284 @endif time
30286 # Other targets (info, dvi, pdf, etc.)
30288 .PHONY: maybe-info-time info-time
30289 maybe-info-time:
30290 @if time
30291 maybe-info-time: info-time
30293 info-time: \
30294 configure-time
30295 @: $(MAKE); $(unstage)
30296 @[ -f ./time/Makefile ] || exit 0; \
30297 r=`${PWD_COMMAND}`; export r; \
30298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30299 $(HOST_EXPORTS) \
30300 for flag in $(EXTRA_HOST_FLAGS) ; do \
30301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30302 done; \
30303 echo "Doing info in time" ; \
30304 (cd $(HOST_SUBDIR)/time && \
30305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30307 "RANLIB=$${RANLIB}" \
30308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30309 info) \
30310 || exit 1
30312 @endif time
30314 .PHONY: maybe-dvi-time dvi-time
30315 maybe-dvi-time:
30316 @if time
30317 maybe-dvi-time: dvi-time
30319 dvi-time: \
30320 configure-time
30321 @: $(MAKE); $(unstage)
30322 @[ -f ./time/Makefile ] || exit 0; \
30323 r=`${PWD_COMMAND}`; export r; \
30324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30325 $(HOST_EXPORTS) \
30326 for flag in $(EXTRA_HOST_FLAGS) ; do \
30327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30328 done; \
30329 echo "Doing dvi in time" ; \
30330 (cd $(HOST_SUBDIR)/time && \
30331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30333 "RANLIB=$${RANLIB}" \
30334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30335 dvi) \
30336 || exit 1
30338 @endif time
30340 .PHONY: maybe-pdf-time pdf-time
30341 maybe-pdf-time:
30342 @if time
30343 maybe-pdf-time: pdf-time
30345 pdf-time: \
30346 configure-time
30347 @: $(MAKE); $(unstage)
30348 @[ -f ./time/Makefile ] || exit 0; \
30349 r=`${PWD_COMMAND}`; export r; \
30350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30351 $(HOST_EXPORTS) \
30352 for flag in $(EXTRA_HOST_FLAGS) ; do \
30353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30354 done; \
30355 echo "Doing pdf in time" ; \
30356 (cd $(HOST_SUBDIR)/time && \
30357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30359 "RANLIB=$${RANLIB}" \
30360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30361 pdf) \
30362 || exit 1
30364 @endif time
30366 .PHONY: maybe-html-time html-time
30367 maybe-html-time:
30368 @if time
30369 maybe-html-time: html-time
30371 html-time: \
30372 configure-time
30373 @: $(MAKE); $(unstage)
30374 @[ -f ./time/Makefile ] || exit 0; \
30375 r=`${PWD_COMMAND}`; export r; \
30376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30377 $(HOST_EXPORTS) \
30378 for flag in $(EXTRA_HOST_FLAGS) ; do \
30379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30380 done; \
30381 echo "Doing html in time" ; \
30382 (cd $(HOST_SUBDIR)/time && \
30383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30385 "RANLIB=$${RANLIB}" \
30386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30387 html) \
30388 || exit 1
30390 @endif time
30392 .PHONY: maybe-TAGS-time TAGS-time
30393 maybe-TAGS-time:
30394 @if time
30395 maybe-TAGS-time: TAGS-time
30397 TAGS-time: \
30398 configure-time
30399 @: $(MAKE); $(unstage)
30400 @[ -f ./time/Makefile ] || exit 0; \
30401 r=`${PWD_COMMAND}`; export r; \
30402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30403 $(HOST_EXPORTS) \
30404 for flag in $(EXTRA_HOST_FLAGS) ; do \
30405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30406 done; \
30407 echo "Doing TAGS in time" ; \
30408 (cd $(HOST_SUBDIR)/time && \
30409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30411 "RANLIB=$${RANLIB}" \
30412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30413 TAGS) \
30414 || exit 1
30416 @endif time
30418 .PHONY: maybe-install-info-time install-info-time
30419 maybe-install-info-time:
30420 @if time
30421 maybe-install-info-time: install-info-time
30423 install-info-time: \
30424 configure-time \
30425 info-time
30426 @: $(MAKE); $(unstage)
30427 @[ -f ./time/Makefile ] || exit 0; \
30428 r=`${PWD_COMMAND}`; export r; \
30429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30430 $(HOST_EXPORTS) \
30431 for flag in $(EXTRA_HOST_FLAGS) ; do \
30432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30433 done; \
30434 echo "Doing install-info in time" ; \
30435 (cd $(HOST_SUBDIR)/time && \
30436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30438 "RANLIB=$${RANLIB}" \
30439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30440 install-info) \
30441 || exit 1
30443 @endif time
30445 .PHONY: maybe-install-html-time install-html-time
30446 maybe-install-html-time:
30447 @if time
30448 maybe-install-html-time: install-html-time
30450 install-html-time: \
30451 configure-time \
30452 html-time
30453 @: $(MAKE); $(unstage)
30454 @[ -f ./time/Makefile ] || exit 0; \
30455 r=`${PWD_COMMAND}`; export r; \
30456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30457 $(HOST_EXPORTS) \
30458 for flag in $(EXTRA_HOST_FLAGS) ; do \
30459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30460 done; \
30461 echo "Doing install-html in time" ; \
30462 (cd $(HOST_SUBDIR)/time && \
30463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30465 "RANLIB=$${RANLIB}" \
30466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30467 install-html) \
30468 || exit 1
30470 @endif time
30472 .PHONY: maybe-installcheck-time installcheck-time
30473 maybe-installcheck-time:
30474 @if time
30475 maybe-installcheck-time: installcheck-time
30477 installcheck-time: \
30478 configure-time
30479 @: $(MAKE); $(unstage)
30480 @[ -f ./time/Makefile ] || exit 0; \
30481 r=`${PWD_COMMAND}`; export r; \
30482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30483 $(HOST_EXPORTS) \
30484 for flag in $(EXTRA_HOST_FLAGS) ; do \
30485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30486 done; \
30487 echo "Doing installcheck in time" ; \
30488 (cd $(HOST_SUBDIR)/time && \
30489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30491 "RANLIB=$${RANLIB}" \
30492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30493 installcheck) \
30494 || exit 1
30496 @endif time
30498 .PHONY: maybe-mostlyclean-time mostlyclean-time
30499 maybe-mostlyclean-time:
30500 @if time
30501 maybe-mostlyclean-time: mostlyclean-time
30503 mostlyclean-time:
30504 @: $(MAKE); $(unstage)
30505 @[ -f ./time/Makefile ] || exit 0; \
30506 r=`${PWD_COMMAND}`; export r; \
30507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30508 $(HOST_EXPORTS) \
30509 for flag in $(EXTRA_HOST_FLAGS) ; do \
30510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30511 done; \
30512 echo "Doing mostlyclean in time" ; \
30513 (cd $(HOST_SUBDIR)/time && \
30514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30516 "RANLIB=$${RANLIB}" \
30517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30518 mostlyclean) \
30519 || exit 1
30521 @endif time
30523 .PHONY: maybe-clean-time clean-time
30524 maybe-clean-time:
30525 @if time
30526 maybe-clean-time: clean-time
30528 clean-time:
30529 @: $(MAKE); $(unstage)
30530 @[ -f ./time/Makefile ] || exit 0; \
30531 r=`${PWD_COMMAND}`; export r; \
30532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30533 $(HOST_EXPORTS) \
30534 for flag in $(EXTRA_HOST_FLAGS) ; do \
30535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30536 done; \
30537 echo "Doing clean in time" ; \
30538 (cd $(HOST_SUBDIR)/time && \
30539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30541 "RANLIB=$${RANLIB}" \
30542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30543 clean) \
30544 || exit 1
30546 @endif time
30548 .PHONY: maybe-distclean-time distclean-time
30549 maybe-distclean-time:
30550 @if time
30551 maybe-distclean-time: distclean-time
30553 distclean-time:
30554 @: $(MAKE); $(unstage)
30555 @[ -f ./time/Makefile ] || exit 0; \
30556 r=`${PWD_COMMAND}`; export r; \
30557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30558 $(HOST_EXPORTS) \
30559 for flag in $(EXTRA_HOST_FLAGS) ; do \
30560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30561 done; \
30562 echo "Doing distclean in time" ; \
30563 (cd $(HOST_SUBDIR)/time && \
30564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30566 "RANLIB=$${RANLIB}" \
30567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30568 distclean) \
30569 || exit 1
30571 @endif time
30573 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
30574 maybe-maintainer-clean-time:
30575 @if time
30576 maybe-maintainer-clean-time: maintainer-clean-time
30578 maintainer-clean-time:
30579 @: $(MAKE); $(unstage)
30580 @[ -f ./time/Makefile ] || exit 0; \
30581 r=`${PWD_COMMAND}`; export r; \
30582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30583 $(HOST_EXPORTS) \
30584 for flag in $(EXTRA_HOST_FLAGS) ; do \
30585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30586 done; \
30587 echo "Doing maintainer-clean in time" ; \
30588 (cd $(HOST_SUBDIR)/time && \
30589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30591 "RANLIB=$${RANLIB}" \
30592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30593 maintainer-clean) \
30594 || exit 1
30596 @endif time
30600 .PHONY: configure-uudecode maybe-configure-uudecode
30601 maybe-configure-uudecode:
30602 @if gcc-bootstrap
30603 configure-uudecode: stage_current
30604 @endif gcc-bootstrap
30605 @if uudecode
30606 maybe-configure-uudecode: configure-uudecode
30607 configure-uudecode:
30608 @: $(MAKE); $(unstage)
30609 @r=`${PWD_COMMAND}`; export r; \
30610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30611 test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
30612 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
30613 $(HOST_EXPORTS) \
30614 echo Configuring in $(HOST_SUBDIR)/uudecode; \
30615 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
30616 case $(srcdir) in \
30617 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30618 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
30619 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30620 esac; \
30621 srcdiroption="--srcdir=$${topdir}/uudecode"; \
30622 libsrcdir="$$s/uudecode"; \
30623 $(SHELL) $${libsrcdir}/configure \
30624 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30625 --target=${target_alias} $${srcdiroption} \
30626 || exit 1
30627 @endif uudecode
30633 .PHONY: all-uudecode maybe-all-uudecode
30634 maybe-all-uudecode:
30635 @if gcc-bootstrap
30636 all-uudecode: stage_current
30637 @endif gcc-bootstrap
30638 @if uudecode
30639 TARGET-uudecode=all
30640 maybe-all-uudecode: all-uudecode
30641 all-uudecode: configure-uudecode
30642 @: $(MAKE); $(unstage)
30643 @r=`${PWD_COMMAND}`; export r; \
30644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30645 $(HOST_EXPORTS) \
30646 (cd $(HOST_SUBDIR)/uudecode && \
30647 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
30648 @endif uudecode
30653 .PHONY: check-uudecode maybe-check-uudecode
30654 maybe-check-uudecode:
30655 @if uudecode
30656 maybe-check-uudecode: check-uudecode
30658 check-uudecode:
30659 @: $(MAKE); $(unstage)
30660 @r=`${PWD_COMMAND}`; export r; \
30661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30662 $(HOST_EXPORTS) \
30663 (cd $(HOST_SUBDIR)/uudecode && \
30664 $(MAKE) $(FLAGS_TO_PASS) check)
30666 @endif uudecode
30668 .PHONY: install-uudecode maybe-install-uudecode
30669 maybe-install-uudecode:
30670 @if uudecode
30671 maybe-install-uudecode: install-uudecode
30673 install-uudecode: installdirs
30674 @: $(MAKE); $(unstage)
30675 @r=`${PWD_COMMAND}`; export r; \
30676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30677 $(HOST_EXPORTS) \
30678 (cd $(HOST_SUBDIR)/uudecode && \
30679 $(MAKE) $(FLAGS_TO_PASS) install)
30681 @endif uudecode
30683 # Other targets (info, dvi, pdf, etc.)
30685 .PHONY: maybe-info-uudecode info-uudecode
30686 maybe-info-uudecode:
30687 @if uudecode
30688 maybe-info-uudecode: info-uudecode
30690 info-uudecode: \
30691 configure-uudecode
30692 @: $(MAKE); $(unstage)
30693 @[ -f ./uudecode/Makefile ] || exit 0; \
30694 r=`${PWD_COMMAND}`; export r; \
30695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30696 $(HOST_EXPORTS) \
30697 for flag in $(EXTRA_HOST_FLAGS) ; do \
30698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30699 done; \
30700 echo "Doing info in uudecode" ; \
30701 (cd $(HOST_SUBDIR)/uudecode && \
30702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30704 "RANLIB=$${RANLIB}" \
30705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30706 info) \
30707 || exit 1
30709 @endif uudecode
30711 .PHONY: maybe-dvi-uudecode dvi-uudecode
30712 maybe-dvi-uudecode:
30713 @if uudecode
30714 maybe-dvi-uudecode: dvi-uudecode
30716 dvi-uudecode: \
30717 configure-uudecode
30718 @: $(MAKE); $(unstage)
30719 @[ -f ./uudecode/Makefile ] || exit 0; \
30720 r=`${PWD_COMMAND}`; export r; \
30721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30722 $(HOST_EXPORTS) \
30723 for flag in $(EXTRA_HOST_FLAGS) ; do \
30724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30725 done; \
30726 echo "Doing dvi in uudecode" ; \
30727 (cd $(HOST_SUBDIR)/uudecode && \
30728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30730 "RANLIB=$${RANLIB}" \
30731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30732 dvi) \
30733 || exit 1
30735 @endif uudecode
30737 .PHONY: maybe-pdf-uudecode pdf-uudecode
30738 maybe-pdf-uudecode:
30739 @if uudecode
30740 maybe-pdf-uudecode: pdf-uudecode
30742 pdf-uudecode: \
30743 configure-uudecode
30744 @: $(MAKE); $(unstage)
30745 @[ -f ./uudecode/Makefile ] || exit 0; \
30746 r=`${PWD_COMMAND}`; export r; \
30747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30748 $(HOST_EXPORTS) \
30749 for flag in $(EXTRA_HOST_FLAGS) ; do \
30750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30751 done; \
30752 echo "Doing pdf in uudecode" ; \
30753 (cd $(HOST_SUBDIR)/uudecode && \
30754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30756 "RANLIB=$${RANLIB}" \
30757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30758 pdf) \
30759 || exit 1
30761 @endif uudecode
30763 .PHONY: maybe-html-uudecode html-uudecode
30764 maybe-html-uudecode:
30765 @if uudecode
30766 maybe-html-uudecode: html-uudecode
30768 html-uudecode: \
30769 configure-uudecode
30770 @: $(MAKE); $(unstage)
30771 @[ -f ./uudecode/Makefile ] || exit 0; \
30772 r=`${PWD_COMMAND}`; export r; \
30773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30774 $(HOST_EXPORTS) \
30775 for flag in $(EXTRA_HOST_FLAGS) ; do \
30776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30777 done; \
30778 echo "Doing html in uudecode" ; \
30779 (cd $(HOST_SUBDIR)/uudecode && \
30780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30782 "RANLIB=$${RANLIB}" \
30783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30784 html) \
30785 || exit 1
30787 @endif uudecode
30789 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
30790 maybe-TAGS-uudecode:
30791 @if uudecode
30792 maybe-TAGS-uudecode: TAGS-uudecode
30794 TAGS-uudecode: \
30795 configure-uudecode
30796 @: $(MAKE); $(unstage)
30797 @[ -f ./uudecode/Makefile ] || exit 0; \
30798 r=`${PWD_COMMAND}`; export r; \
30799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30800 $(HOST_EXPORTS) \
30801 for flag in $(EXTRA_HOST_FLAGS) ; do \
30802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30803 done; \
30804 echo "Doing TAGS in uudecode" ; \
30805 (cd $(HOST_SUBDIR)/uudecode && \
30806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30808 "RANLIB=$${RANLIB}" \
30809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30810 TAGS) \
30811 || exit 1
30813 @endif uudecode
30815 .PHONY: maybe-install-info-uudecode install-info-uudecode
30816 maybe-install-info-uudecode:
30817 @if uudecode
30818 maybe-install-info-uudecode: install-info-uudecode
30820 install-info-uudecode: \
30821 configure-uudecode \
30822 info-uudecode
30823 @: $(MAKE); $(unstage)
30824 @[ -f ./uudecode/Makefile ] || exit 0; \
30825 r=`${PWD_COMMAND}`; export r; \
30826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30827 $(HOST_EXPORTS) \
30828 for flag in $(EXTRA_HOST_FLAGS) ; do \
30829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30830 done; \
30831 echo "Doing install-info in uudecode" ; \
30832 (cd $(HOST_SUBDIR)/uudecode && \
30833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30835 "RANLIB=$${RANLIB}" \
30836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30837 install-info) \
30838 || exit 1
30840 @endif uudecode
30842 .PHONY: maybe-install-html-uudecode install-html-uudecode
30843 maybe-install-html-uudecode:
30844 @if uudecode
30845 maybe-install-html-uudecode: install-html-uudecode
30847 install-html-uudecode: \
30848 configure-uudecode \
30849 html-uudecode
30850 @: $(MAKE); $(unstage)
30851 @[ -f ./uudecode/Makefile ] || exit 0; \
30852 r=`${PWD_COMMAND}`; export r; \
30853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30854 $(HOST_EXPORTS) \
30855 for flag in $(EXTRA_HOST_FLAGS) ; do \
30856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30857 done; \
30858 echo "Doing install-html in uudecode" ; \
30859 (cd $(HOST_SUBDIR)/uudecode && \
30860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30862 "RANLIB=$${RANLIB}" \
30863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30864 install-html) \
30865 || exit 1
30867 @endif uudecode
30869 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
30870 maybe-installcheck-uudecode:
30871 @if uudecode
30872 maybe-installcheck-uudecode: installcheck-uudecode
30874 installcheck-uudecode: \
30875 configure-uudecode
30876 @: $(MAKE); $(unstage)
30877 @[ -f ./uudecode/Makefile ] || exit 0; \
30878 r=`${PWD_COMMAND}`; export r; \
30879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30880 $(HOST_EXPORTS) \
30881 for flag in $(EXTRA_HOST_FLAGS) ; do \
30882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30883 done; \
30884 echo "Doing installcheck in uudecode" ; \
30885 (cd $(HOST_SUBDIR)/uudecode && \
30886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30888 "RANLIB=$${RANLIB}" \
30889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30890 installcheck) \
30891 || exit 1
30893 @endif uudecode
30895 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
30896 maybe-mostlyclean-uudecode:
30897 @if uudecode
30898 maybe-mostlyclean-uudecode: mostlyclean-uudecode
30900 mostlyclean-uudecode:
30901 @: $(MAKE); $(unstage)
30902 @[ -f ./uudecode/Makefile ] || exit 0; \
30903 r=`${PWD_COMMAND}`; export r; \
30904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30905 $(HOST_EXPORTS) \
30906 for flag in $(EXTRA_HOST_FLAGS) ; do \
30907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30908 done; \
30909 echo "Doing mostlyclean in uudecode" ; \
30910 (cd $(HOST_SUBDIR)/uudecode && \
30911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30913 "RANLIB=$${RANLIB}" \
30914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30915 mostlyclean) \
30916 || exit 1
30918 @endif uudecode
30920 .PHONY: maybe-clean-uudecode clean-uudecode
30921 maybe-clean-uudecode:
30922 @if uudecode
30923 maybe-clean-uudecode: clean-uudecode
30925 clean-uudecode:
30926 @: $(MAKE); $(unstage)
30927 @[ -f ./uudecode/Makefile ] || exit 0; \
30928 r=`${PWD_COMMAND}`; export r; \
30929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30930 $(HOST_EXPORTS) \
30931 for flag in $(EXTRA_HOST_FLAGS) ; do \
30932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30933 done; \
30934 echo "Doing clean in uudecode" ; \
30935 (cd $(HOST_SUBDIR)/uudecode && \
30936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30938 "RANLIB=$${RANLIB}" \
30939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30940 clean) \
30941 || exit 1
30943 @endif uudecode
30945 .PHONY: maybe-distclean-uudecode distclean-uudecode
30946 maybe-distclean-uudecode:
30947 @if uudecode
30948 maybe-distclean-uudecode: distclean-uudecode
30950 distclean-uudecode:
30951 @: $(MAKE); $(unstage)
30952 @[ -f ./uudecode/Makefile ] || exit 0; \
30953 r=`${PWD_COMMAND}`; export r; \
30954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30955 $(HOST_EXPORTS) \
30956 for flag in $(EXTRA_HOST_FLAGS) ; do \
30957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30958 done; \
30959 echo "Doing distclean in uudecode" ; \
30960 (cd $(HOST_SUBDIR)/uudecode && \
30961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30963 "RANLIB=$${RANLIB}" \
30964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30965 distclean) \
30966 || exit 1
30968 @endif uudecode
30970 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
30971 maybe-maintainer-clean-uudecode:
30972 @if uudecode
30973 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
30975 maintainer-clean-uudecode:
30976 @: $(MAKE); $(unstage)
30977 @[ -f ./uudecode/Makefile ] || exit 0; \
30978 r=`${PWD_COMMAND}`; export r; \
30979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30980 $(HOST_EXPORTS) \
30981 for flag in $(EXTRA_HOST_FLAGS) ; do \
30982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30983 done; \
30984 echo "Doing maintainer-clean in uudecode" ; \
30985 (cd $(HOST_SUBDIR)/uudecode && \
30986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30988 "RANLIB=$${RANLIB}" \
30989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30990 maintainer-clean) \
30991 || exit 1
30993 @endif uudecode
30997 .PHONY: configure-wdiff maybe-configure-wdiff
30998 maybe-configure-wdiff:
30999 @if gcc-bootstrap
31000 configure-wdiff: stage_current
31001 @endif gcc-bootstrap
31002 @if wdiff
31003 maybe-configure-wdiff: configure-wdiff
31004 configure-wdiff:
31005 @: $(MAKE); $(unstage)
31006 @r=`${PWD_COMMAND}`; export r; \
31007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31008 test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
31009 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
31010 $(HOST_EXPORTS) \
31011 echo Configuring in $(HOST_SUBDIR)/wdiff; \
31012 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
31013 case $(srcdir) in \
31014 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31015 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
31016 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31017 esac; \
31018 srcdiroption="--srcdir=$${topdir}/wdiff"; \
31019 libsrcdir="$$s/wdiff"; \
31020 $(SHELL) $${libsrcdir}/configure \
31021 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31022 --target=${target_alias} $${srcdiroption} \
31023 || exit 1
31024 @endif wdiff
31030 .PHONY: all-wdiff maybe-all-wdiff
31031 maybe-all-wdiff:
31032 @if gcc-bootstrap
31033 all-wdiff: stage_current
31034 @endif gcc-bootstrap
31035 @if wdiff
31036 TARGET-wdiff=all
31037 maybe-all-wdiff: all-wdiff
31038 all-wdiff: configure-wdiff
31039 @: $(MAKE); $(unstage)
31040 @r=`${PWD_COMMAND}`; export r; \
31041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31042 $(HOST_EXPORTS) \
31043 (cd $(HOST_SUBDIR)/wdiff && \
31044 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
31045 @endif wdiff
31050 .PHONY: check-wdiff maybe-check-wdiff
31051 maybe-check-wdiff:
31052 @if wdiff
31053 maybe-check-wdiff: check-wdiff
31055 check-wdiff:
31056 @: $(MAKE); $(unstage)
31057 @r=`${PWD_COMMAND}`; export r; \
31058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31059 $(HOST_EXPORTS) \
31060 (cd $(HOST_SUBDIR)/wdiff && \
31061 $(MAKE) $(FLAGS_TO_PASS) check)
31063 @endif wdiff
31065 .PHONY: install-wdiff maybe-install-wdiff
31066 maybe-install-wdiff:
31067 @if wdiff
31068 maybe-install-wdiff: install-wdiff
31070 install-wdiff: installdirs
31071 @: $(MAKE); $(unstage)
31072 @r=`${PWD_COMMAND}`; export r; \
31073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31074 $(HOST_EXPORTS) \
31075 (cd $(HOST_SUBDIR)/wdiff && \
31076 $(MAKE) $(FLAGS_TO_PASS) install)
31078 @endif wdiff
31080 # Other targets (info, dvi, pdf, etc.)
31082 .PHONY: maybe-info-wdiff info-wdiff
31083 maybe-info-wdiff:
31084 @if wdiff
31085 maybe-info-wdiff: info-wdiff
31087 info-wdiff: \
31088 configure-wdiff
31089 @: $(MAKE); $(unstage)
31090 @[ -f ./wdiff/Makefile ] || exit 0; \
31091 r=`${PWD_COMMAND}`; export r; \
31092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31093 $(HOST_EXPORTS) \
31094 for flag in $(EXTRA_HOST_FLAGS) ; do \
31095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31096 done; \
31097 echo "Doing info in wdiff" ; \
31098 (cd $(HOST_SUBDIR)/wdiff && \
31099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31101 "RANLIB=$${RANLIB}" \
31102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31103 info) \
31104 || exit 1
31106 @endif wdiff
31108 .PHONY: maybe-dvi-wdiff dvi-wdiff
31109 maybe-dvi-wdiff:
31110 @if wdiff
31111 maybe-dvi-wdiff: dvi-wdiff
31113 dvi-wdiff: \
31114 configure-wdiff
31115 @: $(MAKE); $(unstage)
31116 @[ -f ./wdiff/Makefile ] || exit 0; \
31117 r=`${PWD_COMMAND}`; export r; \
31118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31119 $(HOST_EXPORTS) \
31120 for flag in $(EXTRA_HOST_FLAGS) ; do \
31121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31122 done; \
31123 echo "Doing dvi in wdiff" ; \
31124 (cd $(HOST_SUBDIR)/wdiff && \
31125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31127 "RANLIB=$${RANLIB}" \
31128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31129 dvi) \
31130 || exit 1
31132 @endif wdiff
31134 .PHONY: maybe-pdf-wdiff pdf-wdiff
31135 maybe-pdf-wdiff:
31136 @if wdiff
31137 maybe-pdf-wdiff: pdf-wdiff
31139 pdf-wdiff: \
31140 configure-wdiff
31141 @: $(MAKE); $(unstage)
31142 @[ -f ./wdiff/Makefile ] || exit 0; \
31143 r=`${PWD_COMMAND}`; export r; \
31144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31145 $(HOST_EXPORTS) \
31146 for flag in $(EXTRA_HOST_FLAGS) ; do \
31147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31148 done; \
31149 echo "Doing pdf in wdiff" ; \
31150 (cd $(HOST_SUBDIR)/wdiff && \
31151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31153 "RANLIB=$${RANLIB}" \
31154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31155 pdf) \
31156 || exit 1
31158 @endif wdiff
31160 .PHONY: maybe-html-wdiff html-wdiff
31161 maybe-html-wdiff:
31162 @if wdiff
31163 maybe-html-wdiff: html-wdiff
31165 html-wdiff: \
31166 configure-wdiff
31167 @: $(MAKE); $(unstage)
31168 @[ -f ./wdiff/Makefile ] || exit 0; \
31169 r=`${PWD_COMMAND}`; export r; \
31170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31171 $(HOST_EXPORTS) \
31172 for flag in $(EXTRA_HOST_FLAGS) ; do \
31173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31174 done; \
31175 echo "Doing html in wdiff" ; \
31176 (cd $(HOST_SUBDIR)/wdiff && \
31177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31179 "RANLIB=$${RANLIB}" \
31180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31181 html) \
31182 || exit 1
31184 @endif wdiff
31186 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
31187 maybe-TAGS-wdiff:
31188 @if wdiff
31189 maybe-TAGS-wdiff: TAGS-wdiff
31191 TAGS-wdiff: \
31192 configure-wdiff
31193 @: $(MAKE); $(unstage)
31194 @[ -f ./wdiff/Makefile ] || exit 0; \
31195 r=`${PWD_COMMAND}`; export r; \
31196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31197 $(HOST_EXPORTS) \
31198 for flag in $(EXTRA_HOST_FLAGS) ; do \
31199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31200 done; \
31201 echo "Doing TAGS in wdiff" ; \
31202 (cd $(HOST_SUBDIR)/wdiff && \
31203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31205 "RANLIB=$${RANLIB}" \
31206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31207 TAGS) \
31208 || exit 1
31210 @endif wdiff
31212 .PHONY: maybe-install-info-wdiff install-info-wdiff
31213 maybe-install-info-wdiff:
31214 @if wdiff
31215 maybe-install-info-wdiff: install-info-wdiff
31217 install-info-wdiff: \
31218 configure-wdiff \
31219 info-wdiff
31220 @: $(MAKE); $(unstage)
31221 @[ -f ./wdiff/Makefile ] || exit 0; \
31222 r=`${PWD_COMMAND}`; export r; \
31223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31224 $(HOST_EXPORTS) \
31225 for flag in $(EXTRA_HOST_FLAGS) ; do \
31226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31227 done; \
31228 echo "Doing install-info in wdiff" ; \
31229 (cd $(HOST_SUBDIR)/wdiff && \
31230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31232 "RANLIB=$${RANLIB}" \
31233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31234 install-info) \
31235 || exit 1
31237 @endif wdiff
31239 .PHONY: maybe-install-html-wdiff install-html-wdiff
31240 maybe-install-html-wdiff:
31241 @if wdiff
31242 maybe-install-html-wdiff: install-html-wdiff
31244 install-html-wdiff: \
31245 configure-wdiff \
31246 html-wdiff
31247 @: $(MAKE); $(unstage)
31248 @[ -f ./wdiff/Makefile ] || exit 0; \
31249 r=`${PWD_COMMAND}`; export r; \
31250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31251 $(HOST_EXPORTS) \
31252 for flag in $(EXTRA_HOST_FLAGS) ; do \
31253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31254 done; \
31255 echo "Doing install-html in wdiff" ; \
31256 (cd $(HOST_SUBDIR)/wdiff && \
31257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31259 "RANLIB=$${RANLIB}" \
31260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31261 install-html) \
31262 || exit 1
31264 @endif wdiff
31266 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
31267 maybe-installcheck-wdiff:
31268 @if wdiff
31269 maybe-installcheck-wdiff: installcheck-wdiff
31271 installcheck-wdiff: \
31272 configure-wdiff
31273 @: $(MAKE); $(unstage)
31274 @[ -f ./wdiff/Makefile ] || exit 0; \
31275 r=`${PWD_COMMAND}`; export r; \
31276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31277 $(HOST_EXPORTS) \
31278 for flag in $(EXTRA_HOST_FLAGS) ; do \
31279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31280 done; \
31281 echo "Doing installcheck in wdiff" ; \
31282 (cd $(HOST_SUBDIR)/wdiff && \
31283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31285 "RANLIB=$${RANLIB}" \
31286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31287 installcheck) \
31288 || exit 1
31290 @endif wdiff
31292 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
31293 maybe-mostlyclean-wdiff:
31294 @if wdiff
31295 maybe-mostlyclean-wdiff: mostlyclean-wdiff
31297 mostlyclean-wdiff:
31298 @: $(MAKE); $(unstage)
31299 @[ -f ./wdiff/Makefile ] || exit 0; \
31300 r=`${PWD_COMMAND}`; export r; \
31301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31302 $(HOST_EXPORTS) \
31303 for flag in $(EXTRA_HOST_FLAGS) ; do \
31304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31305 done; \
31306 echo "Doing mostlyclean in wdiff" ; \
31307 (cd $(HOST_SUBDIR)/wdiff && \
31308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31310 "RANLIB=$${RANLIB}" \
31311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31312 mostlyclean) \
31313 || exit 1
31315 @endif wdiff
31317 .PHONY: maybe-clean-wdiff clean-wdiff
31318 maybe-clean-wdiff:
31319 @if wdiff
31320 maybe-clean-wdiff: clean-wdiff
31322 clean-wdiff:
31323 @: $(MAKE); $(unstage)
31324 @[ -f ./wdiff/Makefile ] || exit 0; \
31325 r=`${PWD_COMMAND}`; export r; \
31326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31327 $(HOST_EXPORTS) \
31328 for flag in $(EXTRA_HOST_FLAGS) ; do \
31329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31330 done; \
31331 echo "Doing clean in wdiff" ; \
31332 (cd $(HOST_SUBDIR)/wdiff && \
31333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31335 "RANLIB=$${RANLIB}" \
31336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31337 clean) \
31338 || exit 1
31340 @endif wdiff
31342 .PHONY: maybe-distclean-wdiff distclean-wdiff
31343 maybe-distclean-wdiff:
31344 @if wdiff
31345 maybe-distclean-wdiff: distclean-wdiff
31347 distclean-wdiff:
31348 @: $(MAKE); $(unstage)
31349 @[ -f ./wdiff/Makefile ] || exit 0; \
31350 r=`${PWD_COMMAND}`; export r; \
31351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31352 $(HOST_EXPORTS) \
31353 for flag in $(EXTRA_HOST_FLAGS) ; do \
31354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31355 done; \
31356 echo "Doing distclean in wdiff" ; \
31357 (cd $(HOST_SUBDIR)/wdiff && \
31358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31360 "RANLIB=$${RANLIB}" \
31361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31362 distclean) \
31363 || exit 1
31365 @endif wdiff
31367 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
31368 maybe-maintainer-clean-wdiff:
31369 @if wdiff
31370 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
31372 maintainer-clean-wdiff:
31373 @: $(MAKE); $(unstage)
31374 @[ -f ./wdiff/Makefile ] || exit 0; \
31375 r=`${PWD_COMMAND}`; export r; \
31376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31377 $(HOST_EXPORTS) \
31378 for flag in $(EXTRA_HOST_FLAGS) ; do \
31379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31380 done; \
31381 echo "Doing maintainer-clean in wdiff" ; \
31382 (cd $(HOST_SUBDIR)/wdiff && \
31383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31385 "RANLIB=$${RANLIB}" \
31386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31387 maintainer-clean) \
31388 || exit 1
31390 @endif wdiff
31394 .PHONY: configure-zip maybe-configure-zip
31395 maybe-configure-zip:
31396 @if gcc-bootstrap
31397 configure-zip: stage_current
31398 @endif gcc-bootstrap
31399 @if zip
31400 maybe-configure-zip: configure-zip
31401 configure-zip:
31402 @: $(MAKE); $(unstage)
31403 @r=`${PWD_COMMAND}`; export r; \
31404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31405 test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
31406 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
31407 $(HOST_EXPORTS) \
31408 echo Configuring in $(HOST_SUBDIR)/zip; \
31409 cd "$(HOST_SUBDIR)/zip" || exit 1; \
31410 case $(srcdir) in \
31411 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31412 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
31413 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31414 esac; \
31415 srcdiroption="--srcdir=$${topdir}/zip"; \
31416 libsrcdir="$$s/zip"; \
31417 $(SHELL) $${libsrcdir}/configure \
31418 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31419 --target=${target_alias} $${srcdiroption} \
31420 || exit 1
31421 @endif zip
31427 .PHONY: all-zip maybe-all-zip
31428 maybe-all-zip:
31429 @if gcc-bootstrap
31430 all-zip: stage_current
31431 @endif gcc-bootstrap
31432 @if zip
31433 TARGET-zip=all
31434 maybe-all-zip: all-zip
31435 all-zip: configure-zip
31436 @: $(MAKE); $(unstage)
31437 @r=`${PWD_COMMAND}`; export r; \
31438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31439 $(HOST_EXPORTS) \
31440 (cd $(HOST_SUBDIR)/zip && \
31441 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
31442 @endif zip
31447 .PHONY: check-zip maybe-check-zip
31448 maybe-check-zip:
31449 @if zip
31450 maybe-check-zip: check-zip
31452 # This module is only tested in a native toolchain.
31453 check-zip:
31454 @: $(MAKE); $(unstage)
31455 @if [ '$(host)' = '$(target)' ] ; then \
31456 r=`${PWD_COMMAND}`; export r; \
31457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31458 $(HOST_EXPORTS) \
31459 (cd $(HOST_SUBDIR)/zip && \
31460 $(MAKE) $(FLAGS_TO_PASS) check); \
31463 @endif zip
31465 .PHONY: install-zip maybe-install-zip
31466 maybe-install-zip:
31467 @if zip
31468 maybe-install-zip: install-zip
31470 install-zip: installdirs
31471 @: $(MAKE); $(unstage)
31472 @r=`${PWD_COMMAND}`; export r; \
31473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31474 $(HOST_EXPORTS) \
31475 (cd $(HOST_SUBDIR)/zip && \
31476 $(MAKE) $(FLAGS_TO_PASS) install)
31478 @endif zip
31480 # Other targets (info, dvi, pdf, etc.)
31482 .PHONY: maybe-info-zip info-zip
31483 maybe-info-zip:
31484 @if zip
31485 maybe-info-zip: info-zip
31487 info-zip: \
31488 configure-zip
31489 @: $(MAKE); $(unstage)
31490 @[ -f ./zip/Makefile ] || exit 0; \
31491 r=`${PWD_COMMAND}`; export r; \
31492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31493 $(HOST_EXPORTS) \
31494 for flag in $(EXTRA_HOST_FLAGS) ; do \
31495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31496 done; \
31497 echo "Doing info in zip" ; \
31498 (cd $(HOST_SUBDIR)/zip && \
31499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31501 "RANLIB=$${RANLIB}" \
31502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31503 info) \
31504 || exit 1
31506 @endif zip
31508 .PHONY: maybe-dvi-zip dvi-zip
31509 maybe-dvi-zip:
31510 @if zip
31511 maybe-dvi-zip: dvi-zip
31513 dvi-zip: \
31514 configure-zip
31515 @: $(MAKE); $(unstage)
31516 @[ -f ./zip/Makefile ] || exit 0; \
31517 r=`${PWD_COMMAND}`; export r; \
31518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31519 $(HOST_EXPORTS) \
31520 for flag in $(EXTRA_HOST_FLAGS) ; do \
31521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31522 done; \
31523 echo "Doing dvi in zip" ; \
31524 (cd $(HOST_SUBDIR)/zip && \
31525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31527 "RANLIB=$${RANLIB}" \
31528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31529 dvi) \
31530 || exit 1
31532 @endif zip
31534 .PHONY: maybe-pdf-zip pdf-zip
31535 maybe-pdf-zip:
31536 @if zip
31537 maybe-pdf-zip: pdf-zip
31539 pdf-zip: \
31540 configure-zip
31541 @: $(MAKE); $(unstage)
31542 @[ -f ./zip/Makefile ] || exit 0; \
31543 r=`${PWD_COMMAND}`; export r; \
31544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31545 $(HOST_EXPORTS) \
31546 for flag in $(EXTRA_HOST_FLAGS) ; do \
31547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31548 done; \
31549 echo "Doing pdf in zip" ; \
31550 (cd $(HOST_SUBDIR)/zip && \
31551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31553 "RANLIB=$${RANLIB}" \
31554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31555 pdf) \
31556 || exit 1
31558 @endif zip
31560 .PHONY: maybe-html-zip html-zip
31561 maybe-html-zip:
31562 @if zip
31563 maybe-html-zip: html-zip
31565 html-zip: \
31566 configure-zip
31567 @: $(MAKE); $(unstage)
31568 @[ -f ./zip/Makefile ] || exit 0; \
31569 r=`${PWD_COMMAND}`; export r; \
31570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31571 $(HOST_EXPORTS) \
31572 for flag in $(EXTRA_HOST_FLAGS) ; do \
31573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31574 done; \
31575 echo "Doing html in zip" ; \
31576 (cd $(HOST_SUBDIR)/zip && \
31577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31579 "RANLIB=$${RANLIB}" \
31580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31581 html) \
31582 || exit 1
31584 @endif zip
31586 .PHONY: maybe-TAGS-zip TAGS-zip
31587 maybe-TAGS-zip:
31588 @if zip
31589 maybe-TAGS-zip: TAGS-zip
31591 TAGS-zip: \
31592 configure-zip
31593 @: $(MAKE); $(unstage)
31594 @[ -f ./zip/Makefile ] || exit 0; \
31595 r=`${PWD_COMMAND}`; export r; \
31596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31597 $(HOST_EXPORTS) \
31598 for flag in $(EXTRA_HOST_FLAGS) ; do \
31599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31600 done; \
31601 echo "Doing TAGS in zip" ; \
31602 (cd $(HOST_SUBDIR)/zip && \
31603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31605 "RANLIB=$${RANLIB}" \
31606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31607 TAGS) \
31608 || exit 1
31610 @endif zip
31612 .PHONY: maybe-install-info-zip install-info-zip
31613 maybe-install-info-zip:
31614 @if zip
31615 maybe-install-info-zip: install-info-zip
31617 install-info-zip: \
31618 configure-zip \
31619 info-zip
31620 @: $(MAKE); $(unstage)
31621 @[ -f ./zip/Makefile ] || exit 0; \
31622 r=`${PWD_COMMAND}`; export r; \
31623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31624 $(HOST_EXPORTS) \
31625 for flag in $(EXTRA_HOST_FLAGS) ; do \
31626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31627 done; \
31628 echo "Doing install-info in zip" ; \
31629 (cd $(HOST_SUBDIR)/zip && \
31630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31632 "RANLIB=$${RANLIB}" \
31633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31634 install-info) \
31635 || exit 1
31637 @endif zip
31639 .PHONY: maybe-install-html-zip install-html-zip
31640 maybe-install-html-zip:
31641 @if zip
31642 maybe-install-html-zip: install-html-zip
31644 install-html-zip: \
31645 configure-zip \
31646 html-zip
31647 @: $(MAKE); $(unstage)
31648 @[ -f ./zip/Makefile ] || exit 0; \
31649 r=`${PWD_COMMAND}`; export r; \
31650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31651 $(HOST_EXPORTS) \
31652 for flag in $(EXTRA_HOST_FLAGS) ; do \
31653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31654 done; \
31655 echo "Doing install-html in zip" ; \
31656 (cd $(HOST_SUBDIR)/zip && \
31657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31659 "RANLIB=$${RANLIB}" \
31660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31661 install-html) \
31662 || exit 1
31664 @endif zip
31666 .PHONY: maybe-installcheck-zip installcheck-zip
31667 maybe-installcheck-zip:
31668 @if zip
31669 maybe-installcheck-zip: installcheck-zip
31671 installcheck-zip: \
31672 configure-zip
31673 @: $(MAKE); $(unstage)
31674 @[ -f ./zip/Makefile ] || exit 0; \
31675 r=`${PWD_COMMAND}`; export r; \
31676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31677 $(HOST_EXPORTS) \
31678 for flag in $(EXTRA_HOST_FLAGS) ; do \
31679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31680 done; \
31681 echo "Doing installcheck in zip" ; \
31682 (cd $(HOST_SUBDIR)/zip && \
31683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31685 "RANLIB=$${RANLIB}" \
31686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31687 installcheck) \
31688 || exit 1
31690 @endif zip
31692 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
31693 maybe-mostlyclean-zip:
31694 @if zip
31695 maybe-mostlyclean-zip: mostlyclean-zip
31697 mostlyclean-zip:
31698 @: $(MAKE); $(unstage)
31699 @[ -f ./zip/Makefile ] || exit 0; \
31700 r=`${PWD_COMMAND}`; export r; \
31701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31702 $(HOST_EXPORTS) \
31703 for flag in $(EXTRA_HOST_FLAGS) ; do \
31704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31705 done; \
31706 echo "Doing mostlyclean in zip" ; \
31707 (cd $(HOST_SUBDIR)/zip && \
31708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31710 "RANLIB=$${RANLIB}" \
31711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31712 mostlyclean) \
31713 || exit 1
31715 @endif zip
31717 .PHONY: maybe-clean-zip clean-zip
31718 maybe-clean-zip:
31719 @if zip
31720 maybe-clean-zip: clean-zip
31722 clean-zip:
31723 @: $(MAKE); $(unstage)
31724 @[ -f ./zip/Makefile ] || exit 0; \
31725 r=`${PWD_COMMAND}`; export r; \
31726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31727 $(HOST_EXPORTS) \
31728 for flag in $(EXTRA_HOST_FLAGS) ; do \
31729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31730 done; \
31731 echo "Doing clean in zip" ; \
31732 (cd $(HOST_SUBDIR)/zip && \
31733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31735 "RANLIB=$${RANLIB}" \
31736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31737 clean) \
31738 || exit 1
31740 @endif zip
31742 .PHONY: maybe-distclean-zip distclean-zip
31743 maybe-distclean-zip:
31744 @if zip
31745 maybe-distclean-zip: distclean-zip
31747 distclean-zip:
31748 @: $(MAKE); $(unstage)
31749 @[ -f ./zip/Makefile ] || exit 0; \
31750 r=`${PWD_COMMAND}`; export r; \
31751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31752 $(HOST_EXPORTS) \
31753 for flag in $(EXTRA_HOST_FLAGS) ; do \
31754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31755 done; \
31756 echo "Doing distclean in zip" ; \
31757 (cd $(HOST_SUBDIR)/zip && \
31758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31760 "RANLIB=$${RANLIB}" \
31761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31762 distclean) \
31763 || exit 1
31765 @endif zip
31767 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
31768 maybe-maintainer-clean-zip:
31769 @if zip
31770 maybe-maintainer-clean-zip: maintainer-clean-zip
31772 maintainer-clean-zip:
31773 @: $(MAKE); $(unstage)
31774 @[ -f ./zip/Makefile ] || exit 0; \
31775 r=`${PWD_COMMAND}`; export r; \
31776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31777 $(HOST_EXPORTS) \
31778 for flag in $(EXTRA_HOST_FLAGS) ; do \
31779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31780 done; \
31781 echo "Doing maintainer-clean in zip" ; \
31782 (cd $(HOST_SUBDIR)/zip && \
31783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31785 "RANLIB=$${RANLIB}" \
31786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31787 maintainer-clean) \
31788 || exit 1
31790 @endif zip
31794 .PHONY: configure-zlib maybe-configure-zlib
31795 maybe-configure-zlib:
31796 @if gcc-bootstrap
31797 configure-zlib: stage_current
31798 @endif gcc-bootstrap
31799 @if zlib
31800 maybe-configure-zlib: configure-zlib
31801 configure-zlib:
31802 @r=`${PWD_COMMAND}`; export r; \
31803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31804 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31805 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
31806 $(HOST_EXPORTS) \
31807 echo Configuring in $(HOST_SUBDIR)/zlib; \
31808 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
31809 case $(srcdir) in \
31810 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31811 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31812 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31813 esac; \
31814 srcdiroption="--srcdir=$${topdir}/zlib"; \
31815 libsrcdir="$$s/zlib"; \
31816 $(SHELL) $${libsrcdir}/configure \
31817 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31818 --target=${target_alias} $${srcdiroption} \
31819 || exit 1
31820 @endif zlib
31824 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
31825 maybe-configure-stage1-zlib:
31826 @if zlib-bootstrap
31827 maybe-configure-stage1-zlib: configure-stage1-zlib
31828 configure-stage1-zlib:
31829 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31830 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31831 @r=`${PWD_COMMAND}`; export r; \
31832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31833 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31834 $(HOST_EXPORTS) \
31835 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
31836 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
31837 cd $(HOST_SUBDIR)/zlib || exit 1; \
31838 case $(srcdir) in \
31839 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31840 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31841 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31842 esac; \
31843 srcdiroption="--srcdir=$${topdir}/zlib"; \
31844 libsrcdir="$$s/zlib"; \
31845 $(SHELL) $${libsrcdir}/configure \
31846 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31847 --target=${target_alias} $${srcdiroption} \
31849 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31850 @endif zlib-bootstrap
31852 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
31853 maybe-configure-stage2-zlib:
31854 @if zlib-bootstrap
31855 maybe-configure-stage2-zlib: configure-stage2-zlib
31856 configure-stage2-zlib:
31857 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31858 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31859 @r=`${PWD_COMMAND}`; export r; \
31860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31861 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31862 $(HOST_EXPORTS) \
31863 $(POSTSTAGE1_HOST_EXPORTS) \
31864 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
31865 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
31866 cd $(HOST_SUBDIR)/zlib || exit 1; \
31867 case $(srcdir) in \
31868 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31869 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31870 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31871 esac; \
31872 srcdiroption="--srcdir=$${topdir}/zlib"; \
31873 libsrcdir="$$s/zlib"; \
31874 $(SHELL) $${libsrcdir}/configure \
31875 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31876 --target=${target_alias} $${srcdiroption} \
31877 --with-build-libsubdir=$(HOST_SUBDIR) \
31878 @stage2_werror_flag@
31879 @endif zlib-bootstrap
31881 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
31882 maybe-configure-stage3-zlib:
31883 @if zlib-bootstrap
31884 maybe-configure-stage3-zlib: configure-stage3-zlib
31885 configure-stage3-zlib:
31886 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31887 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31888 @r=`${PWD_COMMAND}`; export r; \
31889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31890 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31891 $(HOST_EXPORTS) \
31892 $(POSTSTAGE1_HOST_EXPORTS) \
31893 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
31894 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
31895 cd $(HOST_SUBDIR)/zlib || exit 1; \
31896 case $(srcdir) in \
31897 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31898 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31899 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31900 esac; \
31901 srcdiroption="--srcdir=$${topdir}/zlib"; \
31902 libsrcdir="$$s/zlib"; \
31903 $(SHELL) $${libsrcdir}/configure \
31904 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31905 --target=${target_alias} $${srcdiroption} \
31906 --with-build-libsubdir=$(HOST_SUBDIR) \
31907 @stage2_werror_flag@
31908 @endif zlib-bootstrap
31910 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
31911 maybe-configure-stage4-zlib:
31912 @if zlib-bootstrap
31913 maybe-configure-stage4-zlib: configure-stage4-zlib
31914 configure-stage4-zlib:
31915 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31916 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31917 @r=`${PWD_COMMAND}`; export r; \
31918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31919 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31920 $(HOST_EXPORTS) \
31921 $(POSTSTAGE1_HOST_EXPORTS) \
31922 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
31923 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
31924 cd $(HOST_SUBDIR)/zlib || exit 1; \
31925 case $(srcdir) in \
31926 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31927 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31928 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31929 esac; \
31930 srcdiroption="--srcdir=$${topdir}/zlib"; \
31931 libsrcdir="$$s/zlib"; \
31932 $(SHELL) $${libsrcdir}/configure \
31933 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31934 --target=${target_alias} $${srcdiroption} \
31935 --with-build-libsubdir=$(HOST_SUBDIR) \
31936 @stage2_werror_flag@
31937 @endif zlib-bootstrap
31939 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
31940 maybe-configure-stageprofile-zlib:
31941 @if zlib-bootstrap
31942 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
31943 configure-stageprofile-zlib:
31944 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31945 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31946 @r=`${PWD_COMMAND}`; export r; \
31947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31948 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31949 $(HOST_EXPORTS) \
31950 $(POSTSTAGE1_HOST_EXPORTS) \
31951 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
31952 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
31953 cd $(HOST_SUBDIR)/zlib || exit 1; \
31954 case $(srcdir) in \
31955 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31956 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31957 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31958 esac; \
31959 srcdiroption="--srcdir=$${topdir}/zlib"; \
31960 libsrcdir="$$s/zlib"; \
31961 $(SHELL) $${libsrcdir}/configure \
31962 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31963 --target=${target_alias} $${srcdiroption} \
31964 --with-build-libsubdir=$(HOST_SUBDIR) \
31965 @stage2_werror_flag@
31966 @endif zlib-bootstrap
31968 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
31969 maybe-configure-stagefeedback-zlib:
31970 @if zlib-bootstrap
31971 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
31972 configure-stagefeedback-zlib:
31973 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31974 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31975 @r=`${PWD_COMMAND}`; export r; \
31976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31977 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31978 $(HOST_EXPORTS) \
31979 $(POSTSTAGE1_HOST_EXPORTS) \
31980 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
31981 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
31982 cd $(HOST_SUBDIR)/zlib || exit 1; \
31983 case $(srcdir) in \
31984 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31985 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31986 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31987 esac; \
31988 srcdiroption="--srcdir=$${topdir}/zlib"; \
31989 libsrcdir="$$s/zlib"; \
31990 $(SHELL) $${libsrcdir}/configure \
31991 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31992 --target=${target_alias} $${srcdiroption} \
31993 --with-build-libsubdir=$(HOST_SUBDIR) \
31994 @stage2_werror_flag@
31995 @endif zlib-bootstrap
32001 .PHONY: all-zlib maybe-all-zlib
32002 maybe-all-zlib:
32003 @if gcc-bootstrap
32004 all-zlib: stage_current
32005 @endif gcc-bootstrap
32006 @if zlib
32007 TARGET-zlib=all
32008 maybe-all-zlib: all-zlib
32009 all-zlib: configure-zlib
32010 @r=`${PWD_COMMAND}`; export r; \
32011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32012 $(HOST_EXPORTS) \
32013 (cd $(HOST_SUBDIR)/zlib && \
32014 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
32015 @endif zlib
32019 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
32020 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
32021 maybe-all-stage1-zlib:
32022 maybe-clean-stage1-zlib:
32023 @if zlib-bootstrap
32024 maybe-all-stage1-zlib: all-stage1-zlib
32025 all-stage1: all-stage1-zlib
32026 TARGET-stage1-zlib = $(TARGET-zlib)
32027 all-stage1-zlib: configure-stage1-zlib
32028 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32029 @r=`${PWD_COMMAND}`; export r; \
32030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32031 $(HOST_EXPORTS) \
32032 cd $(HOST_SUBDIR)/zlib && \
32033 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
32034 $(TARGET-stage1-zlib)
32036 maybe-clean-stage1-zlib: clean-stage1-zlib
32037 clean-stage1: clean-stage1-zlib
32038 clean-stage1-zlib:
32039 @if [ $(current_stage) = stage1 ]; then \
32040 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32041 else \
32042 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
32043 $(MAKE) stage1-start; \
32044 fi; \
32045 cd $(HOST_SUBDIR)/zlib && \
32046 $(MAKE) $(FLAGS_TO_PASS) \
32047 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
32048 @endif zlib-bootstrap
32051 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
32052 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
32053 maybe-all-stage2-zlib:
32054 maybe-clean-stage2-zlib:
32055 @if zlib-bootstrap
32056 maybe-all-stage2-zlib: all-stage2-zlib
32057 all-stage2: all-stage2-zlib
32058 TARGET-stage2-zlib = $(TARGET-zlib)
32059 all-stage2-zlib: configure-stage2-zlib
32060 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32061 @r=`${PWD_COMMAND}`; export r; \
32062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32063 $(HOST_EXPORTS) \
32064 $(POSTSTAGE1_HOST_EXPORTS) \
32065 cd $(HOST_SUBDIR)/zlib && \
32066 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32067 $(TARGET-stage2-zlib)
32069 maybe-clean-stage2-zlib: clean-stage2-zlib
32070 clean-stage2: clean-stage2-zlib
32071 clean-stage2-zlib:
32072 @if [ $(current_stage) = stage2 ]; then \
32073 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32074 else \
32075 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
32076 $(MAKE) stage2-start; \
32077 fi; \
32078 cd $(HOST_SUBDIR)/zlib && \
32079 $(MAKE) $(FLAGS_TO_PASS) \
32080 $(POSTSTAGE1_FLAGS_TO_PASS) \
32081 clean
32082 @endif zlib-bootstrap
32085 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
32086 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
32087 maybe-all-stage3-zlib:
32088 maybe-clean-stage3-zlib:
32089 @if zlib-bootstrap
32090 maybe-all-stage3-zlib: all-stage3-zlib
32091 all-stage3: all-stage3-zlib
32092 TARGET-stage3-zlib = $(TARGET-zlib)
32093 all-stage3-zlib: configure-stage3-zlib
32094 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32095 @r=`${PWD_COMMAND}`; export r; \
32096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32097 $(HOST_EXPORTS) \
32098 $(POSTSTAGE1_HOST_EXPORTS) \
32099 cd $(HOST_SUBDIR)/zlib && \
32100 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32101 $(TARGET-stage3-zlib)
32103 maybe-clean-stage3-zlib: clean-stage3-zlib
32104 clean-stage3: clean-stage3-zlib
32105 clean-stage3-zlib:
32106 @if [ $(current_stage) = stage3 ]; then \
32107 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32108 else \
32109 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
32110 $(MAKE) stage3-start; \
32111 fi; \
32112 cd $(HOST_SUBDIR)/zlib && \
32113 $(MAKE) $(FLAGS_TO_PASS) \
32114 $(POSTSTAGE1_FLAGS_TO_PASS) \
32115 clean
32116 @endif zlib-bootstrap
32119 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
32120 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
32121 maybe-all-stage4-zlib:
32122 maybe-clean-stage4-zlib:
32123 @if zlib-bootstrap
32124 maybe-all-stage4-zlib: all-stage4-zlib
32125 all-stage4: all-stage4-zlib
32126 TARGET-stage4-zlib = $(TARGET-zlib)
32127 all-stage4-zlib: configure-stage4-zlib
32128 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32129 @r=`${PWD_COMMAND}`; export r; \
32130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32131 $(HOST_EXPORTS) \
32132 $(POSTSTAGE1_HOST_EXPORTS) \
32133 cd $(HOST_SUBDIR)/zlib && \
32134 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32135 $(TARGET-stage4-zlib)
32137 maybe-clean-stage4-zlib: clean-stage4-zlib
32138 clean-stage4: clean-stage4-zlib
32139 clean-stage4-zlib:
32140 @if [ $(current_stage) = stage4 ]; then \
32141 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32142 else \
32143 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
32144 $(MAKE) stage4-start; \
32145 fi; \
32146 cd $(HOST_SUBDIR)/zlib && \
32147 $(MAKE) $(FLAGS_TO_PASS) \
32148 $(POSTSTAGE1_FLAGS_TO_PASS) \
32149 clean
32150 @endif zlib-bootstrap
32153 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
32154 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
32155 maybe-all-stageprofile-zlib:
32156 maybe-clean-stageprofile-zlib:
32157 @if zlib-bootstrap
32158 maybe-all-stageprofile-zlib: all-stageprofile-zlib
32159 all-stageprofile: all-stageprofile-zlib
32160 TARGET-stageprofile-zlib = $(TARGET-zlib)
32161 all-stageprofile-zlib: configure-stageprofile-zlib
32162 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32163 @r=`${PWD_COMMAND}`; export r; \
32164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32165 $(HOST_EXPORTS) \
32166 $(POSTSTAGE1_HOST_EXPORTS) \
32167 cd $(HOST_SUBDIR)/zlib && \
32168 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
32169 $(TARGET-stageprofile-zlib)
32171 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
32172 clean-stageprofile: clean-stageprofile-zlib
32173 clean-stageprofile-zlib:
32174 @if [ $(current_stage) = stageprofile ]; then \
32175 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32176 else \
32177 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
32178 $(MAKE) stageprofile-start; \
32179 fi; \
32180 cd $(HOST_SUBDIR)/zlib && \
32181 $(MAKE) $(FLAGS_TO_PASS) \
32182 $(POSTSTAGE1_FLAGS_TO_PASS) \
32183 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
32184 @endif zlib-bootstrap
32187 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
32188 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
32189 maybe-all-stagefeedback-zlib:
32190 maybe-clean-stagefeedback-zlib:
32191 @if zlib-bootstrap
32192 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
32193 all-stagefeedback: all-stagefeedback-zlib
32194 TARGET-stagefeedback-zlib = $(TARGET-zlib)
32195 all-stagefeedback-zlib: configure-stagefeedback-zlib
32196 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32197 @r=`${PWD_COMMAND}`; export r; \
32198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32199 $(HOST_EXPORTS) \
32200 $(POSTSTAGE1_HOST_EXPORTS) \
32201 cd $(HOST_SUBDIR)/zlib && \
32202 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
32203 $(TARGET-stagefeedback-zlib)
32205 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
32206 clean-stagefeedback: clean-stagefeedback-zlib
32207 clean-stagefeedback-zlib:
32208 @if [ $(current_stage) = stagefeedback ]; then \
32209 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32210 else \
32211 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
32212 $(MAKE) stagefeedback-start; \
32213 fi; \
32214 cd $(HOST_SUBDIR)/zlib && \
32215 $(MAKE) $(FLAGS_TO_PASS) \
32216 $(POSTSTAGE1_FLAGS_TO_PASS) \
32217 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32218 @endif zlib-bootstrap
32224 .PHONY: check-zlib maybe-check-zlib
32225 maybe-check-zlib:
32226 @if zlib
32227 maybe-check-zlib: check-zlib
32229 check-zlib:
32231 @endif zlib
32233 .PHONY: install-zlib maybe-install-zlib
32234 maybe-install-zlib:
32235 @if zlib
32236 maybe-install-zlib: install-zlib
32238 install-zlib:
32240 @endif zlib
32242 # Other targets (info, dvi, pdf, etc.)
32244 .PHONY: maybe-info-zlib info-zlib
32245 maybe-info-zlib:
32246 @if zlib
32247 maybe-info-zlib: info-zlib
32249 info-zlib: \
32250 configure-zlib
32251 @[ -f ./zlib/Makefile ] || exit 0; \
32252 r=`${PWD_COMMAND}`; export r; \
32253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32254 $(HOST_EXPORTS) \
32255 for flag in $(EXTRA_HOST_FLAGS) ; do \
32256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32257 done; \
32258 echo "Doing info in zlib" ; \
32259 (cd $(HOST_SUBDIR)/zlib && \
32260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32262 "RANLIB=$${RANLIB}" \
32263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32264 info) \
32265 || exit 1
32267 @endif zlib
32269 .PHONY: maybe-dvi-zlib dvi-zlib
32270 maybe-dvi-zlib:
32271 @if zlib
32272 maybe-dvi-zlib: dvi-zlib
32274 dvi-zlib: \
32275 configure-zlib
32276 @[ -f ./zlib/Makefile ] || exit 0; \
32277 r=`${PWD_COMMAND}`; export r; \
32278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32279 $(HOST_EXPORTS) \
32280 for flag in $(EXTRA_HOST_FLAGS) ; do \
32281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32282 done; \
32283 echo "Doing dvi in zlib" ; \
32284 (cd $(HOST_SUBDIR)/zlib && \
32285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32287 "RANLIB=$${RANLIB}" \
32288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32289 dvi) \
32290 || exit 1
32292 @endif zlib
32294 .PHONY: maybe-pdf-zlib pdf-zlib
32295 maybe-pdf-zlib:
32296 @if zlib
32297 maybe-pdf-zlib: pdf-zlib
32299 pdf-zlib: \
32300 configure-zlib
32301 @[ -f ./zlib/Makefile ] || exit 0; \
32302 r=`${PWD_COMMAND}`; export r; \
32303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32304 $(HOST_EXPORTS) \
32305 for flag in $(EXTRA_HOST_FLAGS) ; do \
32306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32307 done; \
32308 echo "Doing pdf in zlib" ; \
32309 (cd $(HOST_SUBDIR)/zlib && \
32310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32312 "RANLIB=$${RANLIB}" \
32313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32314 pdf) \
32315 || exit 1
32317 @endif zlib
32319 .PHONY: maybe-html-zlib html-zlib
32320 maybe-html-zlib:
32321 @if zlib
32322 maybe-html-zlib: html-zlib
32324 html-zlib: \
32325 configure-zlib
32326 @[ -f ./zlib/Makefile ] || exit 0; \
32327 r=`${PWD_COMMAND}`; export r; \
32328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32329 $(HOST_EXPORTS) \
32330 for flag in $(EXTRA_HOST_FLAGS) ; do \
32331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32332 done; \
32333 echo "Doing html in zlib" ; \
32334 (cd $(HOST_SUBDIR)/zlib && \
32335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32337 "RANLIB=$${RANLIB}" \
32338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32339 html) \
32340 || exit 1
32342 @endif zlib
32344 .PHONY: maybe-TAGS-zlib TAGS-zlib
32345 maybe-TAGS-zlib:
32346 @if zlib
32347 maybe-TAGS-zlib: TAGS-zlib
32349 TAGS-zlib: \
32350 configure-zlib
32351 @[ -f ./zlib/Makefile ] || exit 0; \
32352 r=`${PWD_COMMAND}`; export r; \
32353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32354 $(HOST_EXPORTS) \
32355 for flag in $(EXTRA_HOST_FLAGS) ; do \
32356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32357 done; \
32358 echo "Doing TAGS in zlib" ; \
32359 (cd $(HOST_SUBDIR)/zlib && \
32360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32362 "RANLIB=$${RANLIB}" \
32363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32364 TAGS) \
32365 || exit 1
32367 @endif zlib
32369 .PHONY: maybe-install-info-zlib install-info-zlib
32370 maybe-install-info-zlib:
32371 @if zlib
32372 maybe-install-info-zlib: install-info-zlib
32374 install-info-zlib: \
32375 configure-zlib \
32376 info-zlib
32377 @[ -f ./zlib/Makefile ] || exit 0; \
32378 r=`${PWD_COMMAND}`; export r; \
32379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32380 $(HOST_EXPORTS) \
32381 for flag in $(EXTRA_HOST_FLAGS) ; do \
32382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32383 done; \
32384 echo "Doing install-info in zlib" ; \
32385 (cd $(HOST_SUBDIR)/zlib && \
32386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32388 "RANLIB=$${RANLIB}" \
32389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32390 install-info) \
32391 || exit 1
32393 @endif zlib
32395 .PHONY: maybe-install-html-zlib install-html-zlib
32396 maybe-install-html-zlib:
32397 @if zlib
32398 maybe-install-html-zlib: install-html-zlib
32400 install-html-zlib: \
32401 configure-zlib \
32402 html-zlib
32403 @[ -f ./zlib/Makefile ] || exit 0; \
32404 r=`${PWD_COMMAND}`; export r; \
32405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32406 $(HOST_EXPORTS) \
32407 for flag in $(EXTRA_HOST_FLAGS) ; do \
32408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32409 done; \
32410 echo "Doing install-html in zlib" ; \
32411 (cd $(HOST_SUBDIR)/zlib && \
32412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32414 "RANLIB=$${RANLIB}" \
32415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32416 install-html) \
32417 || exit 1
32419 @endif zlib
32421 .PHONY: maybe-installcheck-zlib installcheck-zlib
32422 maybe-installcheck-zlib:
32423 @if zlib
32424 maybe-installcheck-zlib: installcheck-zlib
32426 installcheck-zlib: \
32427 configure-zlib
32428 @[ -f ./zlib/Makefile ] || exit 0; \
32429 r=`${PWD_COMMAND}`; export r; \
32430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32431 $(HOST_EXPORTS) \
32432 for flag in $(EXTRA_HOST_FLAGS) ; do \
32433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32434 done; \
32435 echo "Doing installcheck in zlib" ; \
32436 (cd $(HOST_SUBDIR)/zlib && \
32437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32439 "RANLIB=$${RANLIB}" \
32440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32441 installcheck) \
32442 || exit 1
32444 @endif zlib
32446 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
32447 maybe-mostlyclean-zlib:
32448 @if zlib
32449 maybe-mostlyclean-zlib: mostlyclean-zlib
32451 mostlyclean-zlib:
32452 @[ -f ./zlib/Makefile ] || exit 0; \
32453 r=`${PWD_COMMAND}`; export r; \
32454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32455 $(HOST_EXPORTS) \
32456 for flag in $(EXTRA_HOST_FLAGS) ; do \
32457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32458 done; \
32459 echo "Doing mostlyclean in zlib" ; \
32460 (cd $(HOST_SUBDIR)/zlib && \
32461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32463 "RANLIB=$${RANLIB}" \
32464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32465 mostlyclean) \
32466 || exit 1
32468 @endif zlib
32470 .PHONY: maybe-clean-zlib clean-zlib
32471 maybe-clean-zlib:
32472 @if zlib
32473 maybe-clean-zlib: clean-zlib
32475 clean-zlib:
32476 @[ -f ./zlib/Makefile ] || exit 0; \
32477 r=`${PWD_COMMAND}`; export r; \
32478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32479 $(HOST_EXPORTS) \
32480 for flag in $(EXTRA_HOST_FLAGS) ; do \
32481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32482 done; \
32483 echo "Doing clean in zlib" ; \
32484 (cd $(HOST_SUBDIR)/zlib && \
32485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32487 "RANLIB=$${RANLIB}" \
32488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32489 clean) \
32490 || exit 1
32492 @endif zlib
32494 .PHONY: maybe-distclean-zlib distclean-zlib
32495 maybe-distclean-zlib:
32496 @if zlib
32497 maybe-distclean-zlib: distclean-zlib
32499 distclean-zlib:
32500 @[ -f ./zlib/Makefile ] || exit 0; \
32501 r=`${PWD_COMMAND}`; export r; \
32502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32503 $(HOST_EXPORTS) \
32504 for flag in $(EXTRA_HOST_FLAGS) ; do \
32505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32506 done; \
32507 echo "Doing distclean in zlib" ; \
32508 (cd $(HOST_SUBDIR)/zlib && \
32509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32511 "RANLIB=$${RANLIB}" \
32512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32513 distclean) \
32514 || exit 1
32516 @endif zlib
32518 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
32519 maybe-maintainer-clean-zlib:
32520 @if zlib
32521 maybe-maintainer-clean-zlib: maintainer-clean-zlib
32523 maintainer-clean-zlib:
32524 @[ -f ./zlib/Makefile ] || exit 0; \
32525 r=`${PWD_COMMAND}`; export r; \
32526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32527 $(HOST_EXPORTS) \
32528 for flag in $(EXTRA_HOST_FLAGS) ; do \
32529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32530 done; \
32531 echo "Doing maintainer-clean in zlib" ; \
32532 (cd $(HOST_SUBDIR)/zlib && \
32533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32535 "RANLIB=$${RANLIB}" \
32536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32537 maintainer-clean) \
32538 || exit 1
32540 @endif zlib
32544 .PHONY: configure-gdb maybe-configure-gdb
32545 maybe-configure-gdb:
32546 @if gcc-bootstrap
32547 configure-gdb: stage_current
32548 @endif gcc-bootstrap
32549 @if gdb
32550 maybe-configure-gdb: configure-gdb
32551 configure-gdb:
32552 @: $(MAKE); $(unstage)
32553 @r=`${PWD_COMMAND}`; export r; \
32554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32555 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
32556 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
32557 $(HOST_EXPORTS) \
32558 echo Configuring in $(HOST_SUBDIR)/gdb; \
32559 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
32560 case $(srcdir) in \
32561 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32562 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
32563 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32564 esac; \
32565 srcdiroption="--srcdir=$${topdir}/gdb"; \
32566 libsrcdir="$$s/gdb"; \
32567 $(SHELL) $${libsrcdir}/configure \
32568 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32569 --target=${target_alias} $${srcdiroption} \
32570 || exit 1
32571 @endif gdb
32577 .PHONY: all-gdb maybe-all-gdb
32578 maybe-all-gdb:
32579 @if gcc-bootstrap
32580 all-gdb: stage_current
32581 @endif gcc-bootstrap
32582 @if gdb
32583 TARGET-gdb=all
32584 maybe-all-gdb: all-gdb
32585 all-gdb: configure-gdb
32586 @: $(MAKE); $(unstage)
32587 @r=`${PWD_COMMAND}`; export r; \
32588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32589 $(HOST_EXPORTS) \
32590 (cd $(HOST_SUBDIR)/gdb && \
32591 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
32592 @endif gdb
32597 .PHONY: check-gdb maybe-check-gdb
32598 maybe-check-gdb:
32599 @if gdb
32600 maybe-check-gdb: check-gdb
32602 check-gdb:
32603 @: $(MAKE); $(unstage)
32604 @r=`${PWD_COMMAND}`; export r; \
32605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32606 $(HOST_EXPORTS) \
32607 (cd $(HOST_SUBDIR)/gdb && \
32608 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
32610 @endif gdb
32612 .PHONY: install-gdb maybe-install-gdb
32613 maybe-install-gdb:
32614 @if gdb
32615 maybe-install-gdb: install-gdb
32617 install-gdb: installdirs
32618 @: $(MAKE); $(unstage)
32619 @r=`${PWD_COMMAND}`; export r; \
32620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32621 $(HOST_EXPORTS) \
32622 (cd $(HOST_SUBDIR)/gdb && \
32623 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
32625 @endif gdb
32627 # Other targets (info, dvi, pdf, etc.)
32629 .PHONY: maybe-info-gdb info-gdb
32630 maybe-info-gdb:
32631 @if gdb
32632 maybe-info-gdb: info-gdb
32634 info-gdb: \
32635 configure-gdb
32636 @: $(MAKE); $(unstage)
32637 @[ -f ./gdb/Makefile ] || exit 0; \
32638 r=`${PWD_COMMAND}`; export r; \
32639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32640 $(HOST_EXPORTS) \
32641 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32643 done; \
32644 echo "Doing info in gdb" ; \
32645 (cd $(HOST_SUBDIR)/gdb && \
32646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32648 "RANLIB=$${RANLIB}" \
32649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32650 info) \
32651 || exit 1
32653 @endif gdb
32655 .PHONY: maybe-dvi-gdb dvi-gdb
32656 maybe-dvi-gdb:
32657 @if gdb
32658 maybe-dvi-gdb: dvi-gdb
32660 dvi-gdb: \
32661 configure-gdb
32662 @: $(MAKE); $(unstage)
32663 @[ -f ./gdb/Makefile ] || exit 0; \
32664 r=`${PWD_COMMAND}`; export r; \
32665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32666 $(HOST_EXPORTS) \
32667 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32669 done; \
32670 echo "Doing dvi in gdb" ; \
32671 (cd $(HOST_SUBDIR)/gdb && \
32672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32674 "RANLIB=$${RANLIB}" \
32675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32676 dvi) \
32677 || exit 1
32679 @endif gdb
32681 .PHONY: maybe-pdf-gdb pdf-gdb
32682 maybe-pdf-gdb:
32683 @if gdb
32684 maybe-pdf-gdb: pdf-gdb
32686 pdf-gdb: \
32687 configure-gdb
32688 @: $(MAKE); $(unstage)
32689 @[ -f ./gdb/Makefile ] || exit 0; \
32690 r=`${PWD_COMMAND}`; export r; \
32691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32692 $(HOST_EXPORTS) \
32693 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32695 done; \
32696 echo "Doing pdf in gdb" ; \
32697 (cd $(HOST_SUBDIR)/gdb && \
32698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32700 "RANLIB=$${RANLIB}" \
32701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32702 pdf) \
32703 || exit 1
32705 @endif gdb
32707 .PHONY: maybe-html-gdb html-gdb
32708 maybe-html-gdb:
32709 @if gdb
32710 maybe-html-gdb: html-gdb
32712 html-gdb: \
32713 configure-gdb
32714 @: $(MAKE); $(unstage)
32715 @[ -f ./gdb/Makefile ] || exit 0; \
32716 r=`${PWD_COMMAND}`; export r; \
32717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32718 $(HOST_EXPORTS) \
32719 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32721 done; \
32722 echo "Doing html in gdb" ; \
32723 (cd $(HOST_SUBDIR)/gdb && \
32724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32726 "RANLIB=$${RANLIB}" \
32727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32728 html) \
32729 || exit 1
32731 @endif gdb
32733 .PHONY: maybe-TAGS-gdb TAGS-gdb
32734 maybe-TAGS-gdb:
32735 @if gdb
32736 maybe-TAGS-gdb: TAGS-gdb
32738 TAGS-gdb: \
32739 configure-gdb
32740 @: $(MAKE); $(unstage)
32741 @[ -f ./gdb/Makefile ] || exit 0; \
32742 r=`${PWD_COMMAND}`; export r; \
32743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32744 $(HOST_EXPORTS) \
32745 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32747 done; \
32748 echo "Doing TAGS in gdb" ; \
32749 (cd $(HOST_SUBDIR)/gdb && \
32750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32752 "RANLIB=$${RANLIB}" \
32753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32754 TAGS) \
32755 || exit 1
32757 @endif gdb
32759 .PHONY: maybe-install-info-gdb install-info-gdb
32760 maybe-install-info-gdb:
32761 @if gdb
32762 maybe-install-info-gdb: install-info-gdb
32764 install-info-gdb: \
32765 configure-gdb \
32766 info-gdb
32767 @: $(MAKE); $(unstage)
32768 @[ -f ./gdb/Makefile ] || exit 0; \
32769 r=`${PWD_COMMAND}`; export r; \
32770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32771 $(HOST_EXPORTS) \
32772 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32774 done; \
32775 echo "Doing install-info in gdb" ; \
32776 (cd $(HOST_SUBDIR)/gdb && \
32777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32779 "RANLIB=$${RANLIB}" \
32780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32781 install-info) \
32782 || exit 1
32784 @endif gdb
32786 .PHONY: maybe-install-html-gdb install-html-gdb
32787 maybe-install-html-gdb:
32788 @if gdb
32789 maybe-install-html-gdb: install-html-gdb
32791 install-html-gdb: \
32792 configure-gdb \
32793 html-gdb
32794 @: $(MAKE); $(unstage)
32795 @[ -f ./gdb/Makefile ] || exit 0; \
32796 r=`${PWD_COMMAND}`; export r; \
32797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32798 $(HOST_EXPORTS) \
32799 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32801 done; \
32802 echo "Doing install-html in gdb" ; \
32803 (cd $(HOST_SUBDIR)/gdb && \
32804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32806 "RANLIB=$${RANLIB}" \
32807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32808 install-html) \
32809 || exit 1
32811 @endif gdb
32813 .PHONY: maybe-installcheck-gdb installcheck-gdb
32814 maybe-installcheck-gdb:
32815 @if gdb
32816 maybe-installcheck-gdb: installcheck-gdb
32818 installcheck-gdb: \
32819 configure-gdb
32820 @: $(MAKE); $(unstage)
32821 @[ -f ./gdb/Makefile ] || exit 0; \
32822 r=`${PWD_COMMAND}`; export r; \
32823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32824 $(HOST_EXPORTS) \
32825 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32827 done; \
32828 echo "Doing installcheck in gdb" ; \
32829 (cd $(HOST_SUBDIR)/gdb && \
32830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32832 "RANLIB=$${RANLIB}" \
32833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32834 installcheck) \
32835 || exit 1
32837 @endif gdb
32839 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
32840 maybe-mostlyclean-gdb:
32841 @if gdb
32842 maybe-mostlyclean-gdb: mostlyclean-gdb
32844 mostlyclean-gdb:
32845 @: $(MAKE); $(unstage)
32846 @[ -f ./gdb/Makefile ] || exit 0; \
32847 r=`${PWD_COMMAND}`; export r; \
32848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32849 $(HOST_EXPORTS) \
32850 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32852 done; \
32853 echo "Doing mostlyclean in gdb" ; \
32854 (cd $(HOST_SUBDIR)/gdb && \
32855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32857 "RANLIB=$${RANLIB}" \
32858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32859 mostlyclean) \
32860 || exit 1
32862 @endif gdb
32864 .PHONY: maybe-clean-gdb clean-gdb
32865 maybe-clean-gdb:
32866 @if gdb
32867 maybe-clean-gdb: clean-gdb
32869 clean-gdb:
32870 @: $(MAKE); $(unstage)
32871 @[ -f ./gdb/Makefile ] || exit 0; \
32872 r=`${PWD_COMMAND}`; export r; \
32873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32874 $(HOST_EXPORTS) \
32875 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32877 done; \
32878 echo "Doing clean in gdb" ; \
32879 (cd $(HOST_SUBDIR)/gdb && \
32880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32882 "RANLIB=$${RANLIB}" \
32883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32884 clean) \
32885 || exit 1
32887 @endif gdb
32889 .PHONY: maybe-distclean-gdb distclean-gdb
32890 maybe-distclean-gdb:
32891 @if gdb
32892 maybe-distclean-gdb: distclean-gdb
32894 distclean-gdb:
32895 @: $(MAKE); $(unstage)
32896 @[ -f ./gdb/Makefile ] || exit 0; \
32897 r=`${PWD_COMMAND}`; export r; \
32898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32899 $(HOST_EXPORTS) \
32900 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32902 done; \
32903 echo "Doing distclean in gdb" ; \
32904 (cd $(HOST_SUBDIR)/gdb && \
32905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32907 "RANLIB=$${RANLIB}" \
32908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32909 distclean) \
32910 || exit 1
32912 @endif gdb
32914 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
32915 maybe-maintainer-clean-gdb:
32916 @if gdb
32917 maybe-maintainer-clean-gdb: maintainer-clean-gdb
32919 maintainer-clean-gdb:
32920 @: $(MAKE); $(unstage)
32921 @[ -f ./gdb/Makefile ] || exit 0; \
32922 r=`${PWD_COMMAND}`; export r; \
32923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32924 $(HOST_EXPORTS) \
32925 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32927 done; \
32928 echo "Doing maintainer-clean in gdb" ; \
32929 (cd $(HOST_SUBDIR)/gdb && \
32930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32932 "RANLIB=$${RANLIB}" \
32933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32934 maintainer-clean) \
32935 || exit 1
32937 @endif gdb
32941 .PHONY: configure-expect maybe-configure-expect
32942 maybe-configure-expect:
32943 @if gcc-bootstrap
32944 configure-expect: stage_current
32945 @endif gcc-bootstrap
32946 @if expect
32947 maybe-configure-expect: configure-expect
32948 configure-expect:
32949 @: $(MAKE); $(unstage)
32950 @r=`${PWD_COMMAND}`; export r; \
32951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32952 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
32953 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
32954 $(HOST_EXPORTS) \
32955 echo Configuring in $(HOST_SUBDIR)/expect; \
32956 cd "$(HOST_SUBDIR)/expect" || exit 1; \
32957 case $(srcdir) in \
32958 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32959 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
32960 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32961 esac; \
32962 srcdiroption="--srcdir=$${topdir}/expect"; \
32963 libsrcdir="$$s/expect"; \
32964 $(SHELL) $${libsrcdir}/configure \
32965 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32966 --target=${target_alias} $${srcdiroption} \
32967 || exit 1
32968 @endif expect
32974 .PHONY: all-expect maybe-all-expect
32975 maybe-all-expect:
32976 @if gcc-bootstrap
32977 all-expect: stage_current
32978 @endif gcc-bootstrap
32979 @if expect
32980 TARGET-expect=all
32981 maybe-all-expect: all-expect
32982 all-expect: configure-expect
32983 @: $(MAKE); $(unstage)
32984 @r=`${PWD_COMMAND}`; export r; \
32985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32986 $(HOST_EXPORTS) \
32987 (cd $(HOST_SUBDIR)/expect && \
32988 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
32989 @endif expect
32994 .PHONY: check-expect maybe-check-expect
32995 maybe-check-expect:
32996 @if expect
32997 maybe-check-expect: check-expect
32999 check-expect:
33000 @: $(MAKE); $(unstage)
33001 @r=`${PWD_COMMAND}`; export r; \
33002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33003 $(HOST_EXPORTS) \
33004 (cd $(HOST_SUBDIR)/expect && \
33005 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
33007 @endif expect
33009 .PHONY: install-expect maybe-install-expect
33010 maybe-install-expect:
33011 @if expect
33012 maybe-install-expect: install-expect
33014 install-expect: installdirs
33015 @: $(MAKE); $(unstage)
33016 @r=`${PWD_COMMAND}`; export r; \
33017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33018 $(HOST_EXPORTS) \
33019 (cd $(HOST_SUBDIR)/expect && \
33020 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
33022 @endif expect
33024 # Other targets (info, dvi, pdf, etc.)
33026 .PHONY: maybe-info-expect info-expect
33027 maybe-info-expect:
33028 @if expect
33029 maybe-info-expect: info-expect
33031 info-expect: \
33032 configure-expect
33033 @: $(MAKE); $(unstage)
33034 @[ -f ./expect/Makefile ] || exit 0; \
33035 r=`${PWD_COMMAND}`; export r; \
33036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33037 $(HOST_EXPORTS) \
33038 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33040 done; \
33041 echo "Doing info in expect" ; \
33042 (cd $(HOST_SUBDIR)/expect && \
33043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33045 "RANLIB=$${RANLIB}" \
33046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33047 info) \
33048 || exit 1
33050 @endif expect
33052 .PHONY: maybe-dvi-expect dvi-expect
33053 maybe-dvi-expect:
33054 @if expect
33055 maybe-dvi-expect: dvi-expect
33057 dvi-expect: \
33058 configure-expect
33059 @: $(MAKE); $(unstage)
33060 @[ -f ./expect/Makefile ] || exit 0; \
33061 r=`${PWD_COMMAND}`; export r; \
33062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33063 $(HOST_EXPORTS) \
33064 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33066 done; \
33067 echo "Doing dvi in expect" ; \
33068 (cd $(HOST_SUBDIR)/expect && \
33069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33071 "RANLIB=$${RANLIB}" \
33072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33073 dvi) \
33074 || exit 1
33076 @endif expect
33078 .PHONY: maybe-pdf-expect pdf-expect
33079 maybe-pdf-expect:
33080 @if expect
33081 maybe-pdf-expect: pdf-expect
33083 pdf-expect: \
33084 configure-expect
33085 @: $(MAKE); $(unstage)
33086 @[ -f ./expect/Makefile ] || exit 0; \
33087 r=`${PWD_COMMAND}`; export r; \
33088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33089 $(HOST_EXPORTS) \
33090 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33092 done; \
33093 echo "Doing pdf in expect" ; \
33094 (cd $(HOST_SUBDIR)/expect && \
33095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33097 "RANLIB=$${RANLIB}" \
33098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33099 pdf) \
33100 || exit 1
33102 @endif expect
33104 .PHONY: maybe-html-expect html-expect
33105 maybe-html-expect:
33106 @if expect
33107 maybe-html-expect: html-expect
33109 html-expect: \
33110 configure-expect
33111 @: $(MAKE); $(unstage)
33112 @[ -f ./expect/Makefile ] || exit 0; \
33113 r=`${PWD_COMMAND}`; export r; \
33114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33115 $(HOST_EXPORTS) \
33116 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33118 done; \
33119 echo "Doing html in expect" ; \
33120 (cd $(HOST_SUBDIR)/expect && \
33121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33123 "RANLIB=$${RANLIB}" \
33124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33125 html) \
33126 || exit 1
33128 @endif expect
33130 .PHONY: maybe-TAGS-expect TAGS-expect
33131 maybe-TAGS-expect:
33132 @if expect
33133 maybe-TAGS-expect: TAGS-expect
33135 TAGS-expect: \
33136 configure-expect
33137 @: $(MAKE); $(unstage)
33138 @[ -f ./expect/Makefile ] || exit 0; \
33139 r=`${PWD_COMMAND}`; export r; \
33140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33141 $(HOST_EXPORTS) \
33142 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33144 done; \
33145 echo "Doing TAGS in expect" ; \
33146 (cd $(HOST_SUBDIR)/expect && \
33147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33149 "RANLIB=$${RANLIB}" \
33150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33151 TAGS) \
33152 || exit 1
33154 @endif expect
33156 .PHONY: maybe-install-info-expect install-info-expect
33157 maybe-install-info-expect:
33158 @if expect
33159 maybe-install-info-expect: install-info-expect
33161 install-info-expect: \
33162 configure-expect \
33163 info-expect
33164 @: $(MAKE); $(unstage)
33165 @[ -f ./expect/Makefile ] || exit 0; \
33166 r=`${PWD_COMMAND}`; export r; \
33167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33168 $(HOST_EXPORTS) \
33169 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33171 done; \
33172 echo "Doing install-info in expect" ; \
33173 (cd $(HOST_SUBDIR)/expect && \
33174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33176 "RANLIB=$${RANLIB}" \
33177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33178 install-info) \
33179 || exit 1
33181 @endif expect
33183 .PHONY: maybe-install-html-expect install-html-expect
33184 maybe-install-html-expect:
33185 @if expect
33186 maybe-install-html-expect: install-html-expect
33188 install-html-expect: \
33189 configure-expect \
33190 html-expect
33191 @: $(MAKE); $(unstage)
33192 @[ -f ./expect/Makefile ] || exit 0; \
33193 r=`${PWD_COMMAND}`; export r; \
33194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33195 $(HOST_EXPORTS) \
33196 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33198 done; \
33199 echo "Doing install-html in expect" ; \
33200 (cd $(HOST_SUBDIR)/expect && \
33201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33203 "RANLIB=$${RANLIB}" \
33204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33205 install-html) \
33206 || exit 1
33208 @endif expect
33210 .PHONY: maybe-installcheck-expect installcheck-expect
33211 maybe-installcheck-expect:
33212 @if expect
33213 maybe-installcheck-expect: installcheck-expect
33215 installcheck-expect: \
33216 configure-expect
33217 @: $(MAKE); $(unstage)
33218 @[ -f ./expect/Makefile ] || exit 0; \
33219 r=`${PWD_COMMAND}`; export r; \
33220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33221 $(HOST_EXPORTS) \
33222 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33224 done; \
33225 echo "Doing installcheck in expect" ; \
33226 (cd $(HOST_SUBDIR)/expect && \
33227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33229 "RANLIB=$${RANLIB}" \
33230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33231 installcheck) \
33232 || exit 1
33234 @endif expect
33236 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
33237 maybe-mostlyclean-expect:
33238 @if expect
33239 maybe-mostlyclean-expect: mostlyclean-expect
33241 mostlyclean-expect:
33242 @: $(MAKE); $(unstage)
33243 @[ -f ./expect/Makefile ] || exit 0; \
33244 r=`${PWD_COMMAND}`; export r; \
33245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33246 $(HOST_EXPORTS) \
33247 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33249 done; \
33250 echo "Doing mostlyclean in expect" ; \
33251 (cd $(HOST_SUBDIR)/expect && \
33252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33254 "RANLIB=$${RANLIB}" \
33255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33256 mostlyclean) \
33257 || exit 1
33259 @endif expect
33261 .PHONY: maybe-clean-expect clean-expect
33262 maybe-clean-expect:
33263 @if expect
33264 maybe-clean-expect: clean-expect
33266 clean-expect:
33267 @: $(MAKE); $(unstage)
33268 @[ -f ./expect/Makefile ] || exit 0; \
33269 r=`${PWD_COMMAND}`; export r; \
33270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33271 $(HOST_EXPORTS) \
33272 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33274 done; \
33275 echo "Doing clean in expect" ; \
33276 (cd $(HOST_SUBDIR)/expect && \
33277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33279 "RANLIB=$${RANLIB}" \
33280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33281 clean) \
33282 || exit 1
33284 @endif expect
33286 .PHONY: maybe-distclean-expect distclean-expect
33287 maybe-distclean-expect:
33288 @if expect
33289 maybe-distclean-expect: distclean-expect
33291 distclean-expect:
33292 @: $(MAKE); $(unstage)
33293 @[ -f ./expect/Makefile ] || exit 0; \
33294 r=`${PWD_COMMAND}`; export r; \
33295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33296 $(HOST_EXPORTS) \
33297 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33299 done; \
33300 echo "Doing distclean in expect" ; \
33301 (cd $(HOST_SUBDIR)/expect && \
33302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33304 "RANLIB=$${RANLIB}" \
33305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33306 distclean) \
33307 || exit 1
33309 @endif expect
33311 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
33312 maybe-maintainer-clean-expect:
33313 @if expect
33314 maybe-maintainer-clean-expect: maintainer-clean-expect
33316 maintainer-clean-expect:
33317 @: $(MAKE); $(unstage)
33318 @[ -f ./expect/Makefile ] || exit 0; \
33319 r=`${PWD_COMMAND}`; export r; \
33320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33321 $(HOST_EXPORTS) \
33322 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33324 done; \
33325 echo "Doing maintainer-clean in expect" ; \
33326 (cd $(HOST_SUBDIR)/expect && \
33327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33329 "RANLIB=$${RANLIB}" \
33330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33331 maintainer-clean) \
33332 || exit 1
33334 @endif expect
33338 .PHONY: configure-guile maybe-configure-guile
33339 maybe-configure-guile:
33340 @if gcc-bootstrap
33341 configure-guile: stage_current
33342 @endif gcc-bootstrap
33343 @if guile
33344 maybe-configure-guile: configure-guile
33345 configure-guile:
33346 @: $(MAKE); $(unstage)
33347 @r=`${PWD_COMMAND}`; export r; \
33348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33349 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
33350 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
33351 $(HOST_EXPORTS) \
33352 echo Configuring in $(HOST_SUBDIR)/guile; \
33353 cd "$(HOST_SUBDIR)/guile" || exit 1; \
33354 case $(srcdir) in \
33355 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33356 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
33357 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33358 esac; \
33359 srcdiroption="--srcdir=$${topdir}/guile"; \
33360 libsrcdir="$$s/guile"; \
33361 $(SHELL) $${libsrcdir}/configure \
33362 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33363 --target=${target_alias} $${srcdiroption} \
33364 || exit 1
33365 @endif guile
33371 .PHONY: all-guile maybe-all-guile
33372 maybe-all-guile:
33373 @if gcc-bootstrap
33374 all-guile: stage_current
33375 @endif gcc-bootstrap
33376 @if guile
33377 TARGET-guile=all
33378 maybe-all-guile: all-guile
33379 all-guile: configure-guile
33380 @: $(MAKE); $(unstage)
33381 @r=`${PWD_COMMAND}`; export r; \
33382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33383 $(HOST_EXPORTS) \
33384 (cd $(HOST_SUBDIR)/guile && \
33385 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
33386 @endif guile
33391 .PHONY: check-guile maybe-check-guile
33392 maybe-check-guile:
33393 @if guile
33394 maybe-check-guile: check-guile
33396 check-guile:
33397 @: $(MAKE); $(unstage)
33398 @r=`${PWD_COMMAND}`; export r; \
33399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33400 $(HOST_EXPORTS) \
33401 (cd $(HOST_SUBDIR)/guile && \
33402 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
33404 @endif guile
33406 .PHONY: install-guile maybe-install-guile
33407 maybe-install-guile:
33408 @if guile
33409 maybe-install-guile: install-guile
33411 install-guile: installdirs
33412 @: $(MAKE); $(unstage)
33413 @r=`${PWD_COMMAND}`; export r; \
33414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33415 $(HOST_EXPORTS) \
33416 (cd $(HOST_SUBDIR)/guile && \
33417 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
33419 @endif guile
33421 # Other targets (info, dvi, pdf, etc.)
33423 .PHONY: maybe-info-guile info-guile
33424 maybe-info-guile:
33425 @if guile
33426 maybe-info-guile: info-guile
33428 info-guile: \
33429 configure-guile
33430 @: $(MAKE); $(unstage)
33431 @[ -f ./guile/Makefile ] || exit 0; \
33432 r=`${PWD_COMMAND}`; export r; \
33433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33434 $(HOST_EXPORTS) \
33435 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33437 done; \
33438 echo "Doing info in guile" ; \
33439 (cd $(HOST_SUBDIR)/guile && \
33440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33442 "RANLIB=$${RANLIB}" \
33443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33444 info) \
33445 || exit 1
33447 @endif guile
33449 .PHONY: maybe-dvi-guile dvi-guile
33450 maybe-dvi-guile:
33451 @if guile
33452 maybe-dvi-guile: dvi-guile
33454 dvi-guile: \
33455 configure-guile
33456 @: $(MAKE); $(unstage)
33457 @[ -f ./guile/Makefile ] || exit 0; \
33458 r=`${PWD_COMMAND}`; export r; \
33459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33460 $(HOST_EXPORTS) \
33461 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33463 done; \
33464 echo "Doing dvi in guile" ; \
33465 (cd $(HOST_SUBDIR)/guile && \
33466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33468 "RANLIB=$${RANLIB}" \
33469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33470 dvi) \
33471 || exit 1
33473 @endif guile
33475 .PHONY: maybe-pdf-guile pdf-guile
33476 maybe-pdf-guile:
33477 @if guile
33478 maybe-pdf-guile: pdf-guile
33480 pdf-guile: \
33481 configure-guile
33482 @: $(MAKE); $(unstage)
33483 @[ -f ./guile/Makefile ] || exit 0; \
33484 r=`${PWD_COMMAND}`; export r; \
33485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33486 $(HOST_EXPORTS) \
33487 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33489 done; \
33490 echo "Doing pdf in guile" ; \
33491 (cd $(HOST_SUBDIR)/guile && \
33492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33494 "RANLIB=$${RANLIB}" \
33495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33496 pdf) \
33497 || exit 1
33499 @endif guile
33501 .PHONY: maybe-html-guile html-guile
33502 maybe-html-guile:
33503 @if guile
33504 maybe-html-guile: html-guile
33506 html-guile: \
33507 configure-guile
33508 @: $(MAKE); $(unstage)
33509 @[ -f ./guile/Makefile ] || exit 0; \
33510 r=`${PWD_COMMAND}`; export r; \
33511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33512 $(HOST_EXPORTS) \
33513 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33515 done; \
33516 echo "Doing html in guile" ; \
33517 (cd $(HOST_SUBDIR)/guile && \
33518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33520 "RANLIB=$${RANLIB}" \
33521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33522 html) \
33523 || exit 1
33525 @endif guile
33527 .PHONY: maybe-TAGS-guile TAGS-guile
33528 maybe-TAGS-guile:
33529 @if guile
33530 maybe-TAGS-guile: TAGS-guile
33532 TAGS-guile: \
33533 configure-guile
33534 @: $(MAKE); $(unstage)
33535 @[ -f ./guile/Makefile ] || exit 0; \
33536 r=`${PWD_COMMAND}`; export r; \
33537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33538 $(HOST_EXPORTS) \
33539 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33541 done; \
33542 echo "Doing TAGS in guile" ; \
33543 (cd $(HOST_SUBDIR)/guile && \
33544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33546 "RANLIB=$${RANLIB}" \
33547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33548 TAGS) \
33549 || exit 1
33551 @endif guile
33553 .PHONY: maybe-install-info-guile install-info-guile
33554 maybe-install-info-guile:
33555 @if guile
33556 maybe-install-info-guile: install-info-guile
33558 install-info-guile: \
33559 configure-guile \
33560 info-guile
33561 @: $(MAKE); $(unstage)
33562 @[ -f ./guile/Makefile ] || exit 0; \
33563 r=`${PWD_COMMAND}`; export r; \
33564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33565 $(HOST_EXPORTS) \
33566 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33568 done; \
33569 echo "Doing install-info in guile" ; \
33570 (cd $(HOST_SUBDIR)/guile && \
33571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33573 "RANLIB=$${RANLIB}" \
33574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33575 install-info) \
33576 || exit 1
33578 @endif guile
33580 .PHONY: maybe-install-html-guile install-html-guile
33581 maybe-install-html-guile:
33582 @if guile
33583 maybe-install-html-guile: install-html-guile
33585 install-html-guile: \
33586 configure-guile \
33587 html-guile
33588 @: $(MAKE); $(unstage)
33589 @[ -f ./guile/Makefile ] || exit 0; \
33590 r=`${PWD_COMMAND}`; export r; \
33591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33592 $(HOST_EXPORTS) \
33593 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33595 done; \
33596 echo "Doing install-html in guile" ; \
33597 (cd $(HOST_SUBDIR)/guile && \
33598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33600 "RANLIB=$${RANLIB}" \
33601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33602 install-html) \
33603 || exit 1
33605 @endif guile
33607 .PHONY: maybe-installcheck-guile installcheck-guile
33608 maybe-installcheck-guile:
33609 @if guile
33610 maybe-installcheck-guile: installcheck-guile
33612 installcheck-guile: \
33613 configure-guile
33614 @: $(MAKE); $(unstage)
33615 @[ -f ./guile/Makefile ] || exit 0; \
33616 r=`${PWD_COMMAND}`; export r; \
33617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33618 $(HOST_EXPORTS) \
33619 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33621 done; \
33622 echo "Doing installcheck in guile" ; \
33623 (cd $(HOST_SUBDIR)/guile && \
33624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33626 "RANLIB=$${RANLIB}" \
33627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33628 installcheck) \
33629 || exit 1
33631 @endif guile
33633 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
33634 maybe-mostlyclean-guile:
33635 @if guile
33636 maybe-mostlyclean-guile: mostlyclean-guile
33638 mostlyclean-guile:
33639 @: $(MAKE); $(unstage)
33640 @[ -f ./guile/Makefile ] || exit 0; \
33641 r=`${PWD_COMMAND}`; export r; \
33642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33643 $(HOST_EXPORTS) \
33644 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33646 done; \
33647 echo "Doing mostlyclean in guile" ; \
33648 (cd $(HOST_SUBDIR)/guile && \
33649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33651 "RANLIB=$${RANLIB}" \
33652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33653 mostlyclean) \
33654 || exit 1
33656 @endif guile
33658 .PHONY: maybe-clean-guile clean-guile
33659 maybe-clean-guile:
33660 @if guile
33661 maybe-clean-guile: clean-guile
33663 clean-guile:
33664 @: $(MAKE); $(unstage)
33665 @[ -f ./guile/Makefile ] || exit 0; \
33666 r=`${PWD_COMMAND}`; export r; \
33667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33668 $(HOST_EXPORTS) \
33669 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33671 done; \
33672 echo "Doing clean in guile" ; \
33673 (cd $(HOST_SUBDIR)/guile && \
33674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33676 "RANLIB=$${RANLIB}" \
33677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33678 clean) \
33679 || exit 1
33681 @endif guile
33683 .PHONY: maybe-distclean-guile distclean-guile
33684 maybe-distclean-guile:
33685 @if guile
33686 maybe-distclean-guile: distclean-guile
33688 distclean-guile:
33689 @: $(MAKE); $(unstage)
33690 @[ -f ./guile/Makefile ] || exit 0; \
33691 r=`${PWD_COMMAND}`; export r; \
33692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33693 $(HOST_EXPORTS) \
33694 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33696 done; \
33697 echo "Doing distclean in guile" ; \
33698 (cd $(HOST_SUBDIR)/guile && \
33699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33701 "RANLIB=$${RANLIB}" \
33702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33703 distclean) \
33704 || exit 1
33706 @endif guile
33708 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
33709 maybe-maintainer-clean-guile:
33710 @if guile
33711 maybe-maintainer-clean-guile: maintainer-clean-guile
33713 maintainer-clean-guile:
33714 @: $(MAKE); $(unstage)
33715 @[ -f ./guile/Makefile ] || exit 0; \
33716 r=`${PWD_COMMAND}`; export r; \
33717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33718 $(HOST_EXPORTS) \
33719 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33721 done; \
33722 echo "Doing maintainer-clean in guile" ; \
33723 (cd $(HOST_SUBDIR)/guile && \
33724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33726 "RANLIB=$${RANLIB}" \
33727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33728 maintainer-clean) \
33729 || exit 1
33731 @endif guile
33735 .PHONY: configure-tk maybe-configure-tk
33736 maybe-configure-tk:
33737 @if gcc-bootstrap
33738 configure-tk: stage_current
33739 @endif gcc-bootstrap
33740 @if tk
33741 maybe-configure-tk: configure-tk
33742 configure-tk:
33743 @: $(MAKE); $(unstage)
33744 @r=`${PWD_COMMAND}`; export r; \
33745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33746 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
33747 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
33748 $(HOST_EXPORTS) \
33749 echo Configuring in $(HOST_SUBDIR)/tk; \
33750 cd "$(HOST_SUBDIR)/tk" || exit 1; \
33751 case $(srcdir) in \
33752 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33753 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
33754 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33755 esac; \
33756 srcdiroption="--srcdir=$${topdir}/tk"; \
33757 libsrcdir="$$s/tk"; \
33758 $(SHELL) $${libsrcdir}/configure \
33759 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33760 --target=${target_alias} $${srcdiroption} \
33761 || exit 1
33762 @endif tk
33768 .PHONY: all-tk maybe-all-tk
33769 maybe-all-tk:
33770 @if gcc-bootstrap
33771 all-tk: stage_current
33772 @endif gcc-bootstrap
33773 @if tk
33774 TARGET-tk=all
33775 maybe-all-tk: all-tk
33776 all-tk: configure-tk
33777 @: $(MAKE); $(unstage)
33778 @r=`${PWD_COMMAND}`; export r; \
33779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33780 $(HOST_EXPORTS) \
33781 (cd $(HOST_SUBDIR)/tk && \
33782 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
33783 @endif tk
33788 .PHONY: check-tk maybe-check-tk
33789 maybe-check-tk:
33790 @if tk
33791 maybe-check-tk: check-tk
33793 check-tk:
33794 @: $(MAKE); $(unstage)
33795 @r=`${PWD_COMMAND}`; export r; \
33796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33797 $(HOST_EXPORTS) \
33798 (cd $(HOST_SUBDIR)/tk && \
33799 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
33801 @endif tk
33803 .PHONY: install-tk maybe-install-tk
33804 maybe-install-tk:
33805 @if tk
33806 maybe-install-tk: install-tk
33808 install-tk: installdirs
33809 @: $(MAKE); $(unstage)
33810 @r=`${PWD_COMMAND}`; export r; \
33811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33812 $(HOST_EXPORTS) \
33813 (cd $(HOST_SUBDIR)/tk && \
33814 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
33816 @endif tk
33818 # Other targets (info, dvi, pdf, etc.)
33820 .PHONY: maybe-info-tk info-tk
33821 maybe-info-tk:
33822 @if tk
33823 maybe-info-tk: info-tk
33825 info-tk: \
33826 configure-tk
33827 @: $(MAKE); $(unstage)
33828 @[ -f ./tk/Makefile ] || exit 0; \
33829 r=`${PWD_COMMAND}`; export r; \
33830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33831 $(HOST_EXPORTS) \
33832 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33834 done; \
33835 echo "Doing info in tk" ; \
33836 (cd $(HOST_SUBDIR)/tk && \
33837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33839 "RANLIB=$${RANLIB}" \
33840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33841 info) \
33842 || exit 1
33844 @endif tk
33846 .PHONY: maybe-dvi-tk dvi-tk
33847 maybe-dvi-tk:
33848 @if tk
33849 maybe-dvi-tk: dvi-tk
33851 dvi-tk: \
33852 configure-tk
33853 @: $(MAKE); $(unstage)
33854 @[ -f ./tk/Makefile ] || exit 0; \
33855 r=`${PWD_COMMAND}`; export r; \
33856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33857 $(HOST_EXPORTS) \
33858 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33860 done; \
33861 echo "Doing dvi in tk" ; \
33862 (cd $(HOST_SUBDIR)/tk && \
33863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33865 "RANLIB=$${RANLIB}" \
33866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33867 dvi) \
33868 || exit 1
33870 @endif tk
33872 .PHONY: maybe-pdf-tk pdf-tk
33873 maybe-pdf-tk:
33874 @if tk
33875 maybe-pdf-tk: pdf-tk
33877 pdf-tk: \
33878 configure-tk
33879 @: $(MAKE); $(unstage)
33880 @[ -f ./tk/Makefile ] || exit 0; \
33881 r=`${PWD_COMMAND}`; export r; \
33882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33883 $(HOST_EXPORTS) \
33884 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33886 done; \
33887 echo "Doing pdf in tk" ; \
33888 (cd $(HOST_SUBDIR)/tk && \
33889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33891 "RANLIB=$${RANLIB}" \
33892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33893 pdf) \
33894 || exit 1
33896 @endif tk
33898 .PHONY: maybe-html-tk html-tk
33899 maybe-html-tk:
33900 @if tk
33901 maybe-html-tk: html-tk
33903 html-tk: \
33904 configure-tk
33905 @: $(MAKE); $(unstage)
33906 @[ -f ./tk/Makefile ] || exit 0; \
33907 r=`${PWD_COMMAND}`; export r; \
33908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33909 $(HOST_EXPORTS) \
33910 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33912 done; \
33913 echo "Doing html in tk" ; \
33914 (cd $(HOST_SUBDIR)/tk && \
33915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33917 "RANLIB=$${RANLIB}" \
33918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33919 html) \
33920 || exit 1
33922 @endif tk
33924 .PHONY: maybe-TAGS-tk TAGS-tk
33925 maybe-TAGS-tk:
33926 @if tk
33927 maybe-TAGS-tk: TAGS-tk
33929 TAGS-tk: \
33930 configure-tk
33931 @: $(MAKE); $(unstage)
33932 @[ -f ./tk/Makefile ] || exit 0; \
33933 r=`${PWD_COMMAND}`; export r; \
33934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33935 $(HOST_EXPORTS) \
33936 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33938 done; \
33939 echo "Doing TAGS in tk" ; \
33940 (cd $(HOST_SUBDIR)/tk && \
33941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33943 "RANLIB=$${RANLIB}" \
33944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33945 TAGS) \
33946 || exit 1
33948 @endif tk
33950 .PHONY: maybe-install-info-tk install-info-tk
33951 maybe-install-info-tk:
33952 @if tk
33953 maybe-install-info-tk: install-info-tk
33955 install-info-tk: \
33956 configure-tk \
33957 info-tk
33958 @: $(MAKE); $(unstage)
33959 @[ -f ./tk/Makefile ] || exit 0; \
33960 r=`${PWD_COMMAND}`; export r; \
33961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33962 $(HOST_EXPORTS) \
33963 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33965 done; \
33966 echo "Doing install-info in tk" ; \
33967 (cd $(HOST_SUBDIR)/tk && \
33968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33970 "RANLIB=$${RANLIB}" \
33971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33972 install-info) \
33973 || exit 1
33975 @endif tk
33977 .PHONY: maybe-install-html-tk install-html-tk
33978 maybe-install-html-tk:
33979 @if tk
33980 maybe-install-html-tk: install-html-tk
33982 install-html-tk: \
33983 configure-tk \
33984 html-tk
33985 @: $(MAKE); $(unstage)
33986 @[ -f ./tk/Makefile ] || exit 0; \
33987 r=`${PWD_COMMAND}`; export r; \
33988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33989 $(HOST_EXPORTS) \
33990 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33992 done; \
33993 echo "Doing install-html in tk" ; \
33994 (cd $(HOST_SUBDIR)/tk && \
33995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33997 "RANLIB=$${RANLIB}" \
33998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33999 install-html) \
34000 || exit 1
34002 @endif tk
34004 .PHONY: maybe-installcheck-tk installcheck-tk
34005 maybe-installcheck-tk:
34006 @if tk
34007 maybe-installcheck-tk: installcheck-tk
34009 installcheck-tk: \
34010 configure-tk
34011 @: $(MAKE); $(unstage)
34012 @[ -f ./tk/Makefile ] || exit 0; \
34013 r=`${PWD_COMMAND}`; export r; \
34014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34015 $(HOST_EXPORTS) \
34016 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
34017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34018 done; \
34019 echo "Doing installcheck in tk" ; \
34020 (cd $(HOST_SUBDIR)/tk && \
34021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34023 "RANLIB=$${RANLIB}" \
34024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34025 installcheck) \
34026 || exit 1
34028 @endif tk
34030 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
34031 maybe-mostlyclean-tk:
34032 @if tk
34033 maybe-mostlyclean-tk: mostlyclean-tk
34035 mostlyclean-tk:
34036 @: $(MAKE); $(unstage)
34037 @[ -f ./tk/Makefile ] || exit 0; \
34038 r=`${PWD_COMMAND}`; export r; \
34039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34040 $(HOST_EXPORTS) \
34041 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
34042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34043 done; \
34044 echo "Doing mostlyclean in tk" ; \
34045 (cd $(HOST_SUBDIR)/tk && \
34046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34048 "RANLIB=$${RANLIB}" \
34049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34050 mostlyclean) \
34051 || exit 1
34053 @endif tk
34055 .PHONY: maybe-clean-tk clean-tk
34056 maybe-clean-tk:
34057 @if tk
34058 maybe-clean-tk: clean-tk
34060 clean-tk:
34061 @: $(MAKE); $(unstage)
34062 @[ -f ./tk/Makefile ] || exit 0; \
34063 r=`${PWD_COMMAND}`; export r; \
34064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34065 $(HOST_EXPORTS) \
34066 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
34067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34068 done; \
34069 echo "Doing clean in tk" ; \
34070 (cd $(HOST_SUBDIR)/tk && \
34071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34073 "RANLIB=$${RANLIB}" \
34074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34075 clean) \
34076 || exit 1
34078 @endif tk
34080 .PHONY: maybe-distclean-tk distclean-tk
34081 maybe-distclean-tk:
34082 @if tk
34083 maybe-distclean-tk: distclean-tk
34085 distclean-tk:
34086 @: $(MAKE); $(unstage)
34087 @[ -f ./tk/Makefile ] || exit 0; \
34088 r=`${PWD_COMMAND}`; export r; \
34089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34090 $(HOST_EXPORTS) \
34091 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
34092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34093 done; \
34094 echo "Doing distclean in tk" ; \
34095 (cd $(HOST_SUBDIR)/tk && \
34096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34098 "RANLIB=$${RANLIB}" \
34099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34100 distclean) \
34101 || exit 1
34103 @endif tk
34105 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
34106 maybe-maintainer-clean-tk:
34107 @if tk
34108 maybe-maintainer-clean-tk: maintainer-clean-tk
34110 maintainer-clean-tk:
34111 @: $(MAKE); $(unstage)
34112 @[ -f ./tk/Makefile ] || exit 0; \
34113 r=`${PWD_COMMAND}`; export r; \
34114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34115 $(HOST_EXPORTS) \
34116 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
34117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34118 done; \
34119 echo "Doing maintainer-clean in tk" ; \
34120 (cd $(HOST_SUBDIR)/tk && \
34121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34123 "RANLIB=$${RANLIB}" \
34124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34125 maintainer-clean) \
34126 || exit 1
34128 @endif tk
34132 .PHONY: configure-libtermcap maybe-configure-libtermcap
34133 maybe-configure-libtermcap:
34134 @if gcc-bootstrap
34135 configure-libtermcap: stage_current
34136 @endif gcc-bootstrap
34137 @if libtermcap
34138 maybe-configure-libtermcap: configure-libtermcap
34139 configure-libtermcap:
34140 @: $(MAKE); $(unstage)
34141 @r=`${PWD_COMMAND}`; export r; \
34142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34143 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
34144 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
34145 $(HOST_EXPORTS) \
34146 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
34147 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
34148 case $(srcdir) in \
34149 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34150 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
34151 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34152 esac; \
34153 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
34154 libsrcdir="$$s/libtermcap"; \
34155 $(SHELL) $${libsrcdir}/configure \
34156 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34157 --target=${target_alias} $${srcdiroption} \
34158 || exit 1
34159 @endif libtermcap
34165 .PHONY: all-libtermcap maybe-all-libtermcap
34166 maybe-all-libtermcap:
34167 @if gcc-bootstrap
34168 all-libtermcap: stage_current
34169 @endif gcc-bootstrap
34170 @if libtermcap
34171 TARGET-libtermcap=all
34172 maybe-all-libtermcap: all-libtermcap
34173 all-libtermcap: configure-libtermcap
34174 @: $(MAKE); $(unstage)
34175 @r=`${PWD_COMMAND}`; export r; \
34176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34177 $(HOST_EXPORTS) \
34178 (cd $(HOST_SUBDIR)/libtermcap && \
34179 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
34180 @endif libtermcap
34185 .PHONY: check-libtermcap maybe-check-libtermcap
34186 maybe-check-libtermcap:
34187 @if libtermcap
34188 maybe-check-libtermcap: check-libtermcap
34190 check-libtermcap:
34192 @endif libtermcap
34194 .PHONY: install-libtermcap maybe-install-libtermcap
34195 maybe-install-libtermcap:
34196 @if libtermcap
34197 maybe-install-libtermcap: install-libtermcap
34199 install-libtermcap: installdirs
34200 @: $(MAKE); $(unstage)
34201 @r=`${PWD_COMMAND}`; export r; \
34202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34203 $(HOST_EXPORTS) \
34204 (cd $(HOST_SUBDIR)/libtermcap && \
34205 $(MAKE) $(FLAGS_TO_PASS) install)
34207 @endif libtermcap
34209 # Other targets (info, dvi, pdf, etc.)
34211 .PHONY: maybe-info-libtermcap info-libtermcap
34212 maybe-info-libtermcap:
34213 @if libtermcap
34214 maybe-info-libtermcap: info-libtermcap
34216 info-libtermcap: \
34217 configure-libtermcap
34218 @: $(MAKE); $(unstage)
34219 @[ -f ./libtermcap/Makefile ] || exit 0; \
34220 r=`${PWD_COMMAND}`; export r; \
34221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34222 $(HOST_EXPORTS) \
34223 for flag in $(EXTRA_HOST_FLAGS) ; do \
34224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34225 done; \
34226 echo "Doing info in libtermcap" ; \
34227 (cd $(HOST_SUBDIR)/libtermcap && \
34228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34230 "RANLIB=$${RANLIB}" \
34231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34232 info) \
34233 || exit 1
34235 @endif libtermcap
34237 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
34238 maybe-dvi-libtermcap:
34239 @if libtermcap
34240 maybe-dvi-libtermcap: dvi-libtermcap
34242 dvi-libtermcap: \
34243 configure-libtermcap
34244 @: $(MAKE); $(unstage)
34245 @[ -f ./libtermcap/Makefile ] || exit 0; \
34246 r=`${PWD_COMMAND}`; export r; \
34247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34248 $(HOST_EXPORTS) \
34249 for flag in $(EXTRA_HOST_FLAGS) ; do \
34250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34251 done; \
34252 echo "Doing dvi in libtermcap" ; \
34253 (cd $(HOST_SUBDIR)/libtermcap && \
34254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34256 "RANLIB=$${RANLIB}" \
34257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34258 dvi) \
34259 || exit 1
34261 @endif libtermcap
34263 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
34264 maybe-pdf-libtermcap:
34265 @if libtermcap
34266 maybe-pdf-libtermcap: pdf-libtermcap
34268 pdf-libtermcap: \
34269 configure-libtermcap
34270 @: $(MAKE); $(unstage)
34271 @[ -f ./libtermcap/Makefile ] || exit 0; \
34272 r=`${PWD_COMMAND}`; export r; \
34273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34274 $(HOST_EXPORTS) \
34275 for flag in $(EXTRA_HOST_FLAGS) ; do \
34276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34277 done; \
34278 echo "Doing pdf in libtermcap" ; \
34279 (cd $(HOST_SUBDIR)/libtermcap && \
34280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34282 "RANLIB=$${RANLIB}" \
34283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34284 pdf) \
34285 || exit 1
34287 @endif libtermcap
34289 .PHONY: maybe-html-libtermcap html-libtermcap
34290 maybe-html-libtermcap:
34291 @if libtermcap
34292 maybe-html-libtermcap: html-libtermcap
34294 html-libtermcap: \
34295 configure-libtermcap
34296 @: $(MAKE); $(unstage)
34297 @[ -f ./libtermcap/Makefile ] || exit 0; \
34298 r=`${PWD_COMMAND}`; export r; \
34299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34300 $(HOST_EXPORTS) \
34301 for flag in $(EXTRA_HOST_FLAGS) ; do \
34302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34303 done; \
34304 echo "Doing html in libtermcap" ; \
34305 (cd $(HOST_SUBDIR)/libtermcap && \
34306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34308 "RANLIB=$${RANLIB}" \
34309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34310 html) \
34311 || exit 1
34313 @endif libtermcap
34315 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
34316 maybe-TAGS-libtermcap:
34317 @if libtermcap
34318 maybe-TAGS-libtermcap: TAGS-libtermcap
34320 TAGS-libtermcap: \
34321 configure-libtermcap
34322 @: $(MAKE); $(unstage)
34323 @[ -f ./libtermcap/Makefile ] || exit 0; \
34324 r=`${PWD_COMMAND}`; export r; \
34325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34326 $(HOST_EXPORTS) \
34327 for flag in $(EXTRA_HOST_FLAGS) ; do \
34328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34329 done; \
34330 echo "Doing TAGS in libtermcap" ; \
34331 (cd $(HOST_SUBDIR)/libtermcap && \
34332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34334 "RANLIB=$${RANLIB}" \
34335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34336 TAGS) \
34337 || exit 1
34339 @endif libtermcap
34341 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
34342 maybe-install-info-libtermcap:
34343 @if libtermcap
34344 maybe-install-info-libtermcap: install-info-libtermcap
34346 install-info-libtermcap: \
34347 configure-libtermcap \
34348 info-libtermcap
34349 @: $(MAKE); $(unstage)
34350 @[ -f ./libtermcap/Makefile ] || exit 0; \
34351 r=`${PWD_COMMAND}`; export r; \
34352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34353 $(HOST_EXPORTS) \
34354 for flag in $(EXTRA_HOST_FLAGS) ; do \
34355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34356 done; \
34357 echo "Doing install-info in libtermcap" ; \
34358 (cd $(HOST_SUBDIR)/libtermcap && \
34359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34361 "RANLIB=$${RANLIB}" \
34362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34363 install-info) \
34364 || exit 1
34366 @endif libtermcap
34368 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
34369 maybe-install-html-libtermcap:
34370 @if libtermcap
34371 maybe-install-html-libtermcap: install-html-libtermcap
34373 install-html-libtermcap: \
34374 configure-libtermcap \
34375 html-libtermcap
34376 @: $(MAKE); $(unstage)
34377 @[ -f ./libtermcap/Makefile ] || exit 0; \
34378 r=`${PWD_COMMAND}`; export r; \
34379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34380 $(HOST_EXPORTS) \
34381 for flag in $(EXTRA_HOST_FLAGS) ; do \
34382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34383 done; \
34384 echo "Doing install-html in libtermcap" ; \
34385 (cd $(HOST_SUBDIR)/libtermcap && \
34386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34388 "RANLIB=$${RANLIB}" \
34389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34390 install-html) \
34391 || exit 1
34393 @endif libtermcap
34395 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
34396 maybe-installcheck-libtermcap:
34397 @if libtermcap
34398 maybe-installcheck-libtermcap: installcheck-libtermcap
34400 installcheck-libtermcap: \
34401 configure-libtermcap
34402 @: $(MAKE); $(unstage)
34403 @[ -f ./libtermcap/Makefile ] || exit 0; \
34404 r=`${PWD_COMMAND}`; export r; \
34405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34406 $(HOST_EXPORTS) \
34407 for flag in $(EXTRA_HOST_FLAGS) ; do \
34408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34409 done; \
34410 echo "Doing installcheck in libtermcap" ; \
34411 (cd $(HOST_SUBDIR)/libtermcap && \
34412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34414 "RANLIB=$${RANLIB}" \
34415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34416 installcheck) \
34417 || exit 1
34419 @endif libtermcap
34421 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
34422 maybe-mostlyclean-libtermcap:
34423 @if libtermcap
34424 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
34426 # libtermcap doesn't support mostlyclean.
34427 mostlyclean-libtermcap:
34429 @endif libtermcap
34431 .PHONY: maybe-clean-libtermcap clean-libtermcap
34432 maybe-clean-libtermcap:
34433 @if libtermcap
34434 maybe-clean-libtermcap: clean-libtermcap
34436 # libtermcap doesn't support clean.
34437 clean-libtermcap:
34439 @endif libtermcap
34441 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
34442 maybe-distclean-libtermcap:
34443 @if libtermcap
34444 maybe-distclean-libtermcap: distclean-libtermcap
34446 # libtermcap doesn't support distclean.
34447 distclean-libtermcap:
34449 @endif libtermcap
34451 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
34452 maybe-maintainer-clean-libtermcap:
34453 @if libtermcap
34454 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
34456 # libtermcap doesn't support maintainer-clean.
34457 maintainer-clean-libtermcap:
34459 @endif libtermcap
34463 .PHONY: configure-utils maybe-configure-utils
34464 maybe-configure-utils:
34465 @if gcc-bootstrap
34466 configure-utils: stage_current
34467 @endif gcc-bootstrap
34468 @if utils
34469 maybe-configure-utils: configure-utils
34470 configure-utils:
34471 @: $(MAKE); $(unstage)
34472 @r=`${PWD_COMMAND}`; export r; \
34473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34474 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
34475 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
34476 $(HOST_EXPORTS) \
34477 echo Configuring in $(HOST_SUBDIR)/utils; \
34478 cd "$(HOST_SUBDIR)/utils" || exit 1; \
34479 case $(srcdir) in \
34480 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34481 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
34482 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34483 esac; \
34484 srcdiroption="--srcdir=$${topdir}/utils"; \
34485 libsrcdir="$$s/utils"; \
34486 $(SHELL) $${libsrcdir}/configure \
34487 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34488 --target=${target_alias} $${srcdiroption} \
34489 || exit 1
34490 @endif utils
34496 .PHONY: all-utils maybe-all-utils
34497 maybe-all-utils:
34498 @if gcc-bootstrap
34499 all-utils: stage_current
34500 @endif gcc-bootstrap
34501 @if utils
34502 TARGET-utils=all
34503 maybe-all-utils: all-utils
34504 all-utils: configure-utils
34505 @: $(MAKE); $(unstage)
34506 @r=`${PWD_COMMAND}`; export r; \
34507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34508 $(HOST_EXPORTS) \
34509 (cd $(HOST_SUBDIR)/utils && \
34510 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
34511 @endif utils
34516 .PHONY: check-utils maybe-check-utils
34517 maybe-check-utils:
34518 @if utils
34519 maybe-check-utils: check-utils
34521 check-utils:
34523 @endif utils
34525 .PHONY: install-utils maybe-install-utils
34526 maybe-install-utils:
34527 @if utils
34528 maybe-install-utils: install-utils
34530 install-utils: installdirs
34531 @: $(MAKE); $(unstage)
34532 @r=`${PWD_COMMAND}`; export r; \
34533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34534 $(HOST_EXPORTS) \
34535 (cd $(HOST_SUBDIR)/utils && \
34536 $(MAKE) $(FLAGS_TO_PASS) install)
34538 @endif utils
34540 # Other targets (info, dvi, pdf, etc.)
34542 .PHONY: maybe-info-utils info-utils
34543 maybe-info-utils:
34544 @if utils
34545 maybe-info-utils: info-utils
34547 info-utils: \
34548 configure-utils
34549 @: $(MAKE); $(unstage)
34550 @[ -f ./utils/Makefile ] || exit 0; \
34551 r=`${PWD_COMMAND}`; export r; \
34552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34553 $(HOST_EXPORTS) \
34554 for flag in $(EXTRA_HOST_FLAGS) ; do \
34555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34556 done; \
34557 echo "Doing info in utils" ; \
34558 (cd $(HOST_SUBDIR)/utils && \
34559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34561 "RANLIB=$${RANLIB}" \
34562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34563 info) \
34564 || exit 1
34566 @endif utils
34568 .PHONY: maybe-dvi-utils dvi-utils
34569 maybe-dvi-utils:
34570 @if utils
34571 maybe-dvi-utils: dvi-utils
34573 dvi-utils: \
34574 configure-utils
34575 @: $(MAKE); $(unstage)
34576 @[ -f ./utils/Makefile ] || exit 0; \
34577 r=`${PWD_COMMAND}`; export r; \
34578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34579 $(HOST_EXPORTS) \
34580 for flag in $(EXTRA_HOST_FLAGS) ; do \
34581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34582 done; \
34583 echo "Doing dvi in utils" ; \
34584 (cd $(HOST_SUBDIR)/utils && \
34585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34587 "RANLIB=$${RANLIB}" \
34588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34589 dvi) \
34590 || exit 1
34592 @endif utils
34594 .PHONY: maybe-pdf-utils pdf-utils
34595 maybe-pdf-utils:
34596 @if utils
34597 maybe-pdf-utils: pdf-utils
34599 pdf-utils: \
34600 configure-utils
34601 @: $(MAKE); $(unstage)
34602 @[ -f ./utils/Makefile ] || exit 0; \
34603 r=`${PWD_COMMAND}`; export r; \
34604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34605 $(HOST_EXPORTS) \
34606 for flag in $(EXTRA_HOST_FLAGS) ; do \
34607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34608 done; \
34609 echo "Doing pdf in utils" ; \
34610 (cd $(HOST_SUBDIR)/utils && \
34611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34613 "RANLIB=$${RANLIB}" \
34614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34615 pdf) \
34616 || exit 1
34618 @endif utils
34620 .PHONY: maybe-html-utils html-utils
34621 maybe-html-utils:
34622 @if utils
34623 maybe-html-utils: html-utils
34625 html-utils: \
34626 configure-utils
34627 @: $(MAKE); $(unstage)
34628 @[ -f ./utils/Makefile ] || exit 0; \
34629 r=`${PWD_COMMAND}`; export r; \
34630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34631 $(HOST_EXPORTS) \
34632 for flag in $(EXTRA_HOST_FLAGS) ; do \
34633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34634 done; \
34635 echo "Doing html in utils" ; \
34636 (cd $(HOST_SUBDIR)/utils && \
34637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34639 "RANLIB=$${RANLIB}" \
34640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34641 html) \
34642 || exit 1
34644 @endif utils
34646 .PHONY: maybe-TAGS-utils TAGS-utils
34647 maybe-TAGS-utils:
34648 @if utils
34649 maybe-TAGS-utils: TAGS-utils
34651 TAGS-utils: \
34652 configure-utils
34653 @: $(MAKE); $(unstage)
34654 @[ -f ./utils/Makefile ] || exit 0; \
34655 r=`${PWD_COMMAND}`; export r; \
34656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34657 $(HOST_EXPORTS) \
34658 for flag in $(EXTRA_HOST_FLAGS) ; do \
34659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34660 done; \
34661 echo "Doing TAGS in utils" ; \
34662 (cd $(HOST_SUBDIR)/utils && \
34663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34665 "RANLIB=$${RANLIB}" \
34666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34667 TAGS) \
34668 || exit 1
34670 @endif utils
34672 .PHONY: maybe-install-info-utils install-info-utils
34673 maybe-install-info-utils:
34674 @if utils
34675 maybe-install-info-utils: install-info-utils
34677 install-info-utils: \
34678 configure-utils \
34679 info-utils
34680 @: $(MAKE); $(unstage)
34681 @[ -f ./utils/Makefile ] || exit 0; \
34682 r=`${PWD_COMMAND}`; export r; \
34683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34684 $(HOST_EXPORTS) \
34685 for flag in $(EXTRA_HOST_FLAGS) ; do \
34686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34687 done; \
34688 echo "Doing install-info in utils" ; \
34689 (cd $(HOST_SUBDIR)/utils && \
34690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34692 "RANLIB=$${RANLIB}" \
34693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34694 install-info) \
34695 || exit 1
34697 @endif utils
34699 .PHONY: maybe-install-html-utils install-html-utils
34700 maybe-install-html-utils:
34701 @if utils
34702 maybe-install-html-utils: install-html-utils
34704 install-html-utils: \
34705 configure-utils \
34706 html-utils
34707 @: $(MAKE); $(unstage)
34708 @[ -f ./utils/Makefile ] || exit 0; \
34709 r=`${PWD_COMMAND}`; export r; \
34710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34711 $(HOST_EXPORTS) \
34712 for flag in $(EXTRA_HOST_FLAGS) ; do \
34713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34714 done; \
34715 echo "Doing install-html in utils" ; \
34716 (cd $(HOST_SUBDIR)/utils && \
34717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34719 "RANLIB=$${RANLIB}" \
34720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34721 install-html) \
34722 || exit 1
34724 @endif utils
34726 .PHONY: maybe-installcheck-utils installcheck-utils
34727 maybe-installcheck-utils:
34728 @if utils
34729 maybe-installcheck-utils: installcheck-utils
34731 installcheck-utils: \
34732 configure-utils
34733 @: $(MAKE); $(unstage)
34734 @[ -f ./utils/Makefile ] || exit 0; \
34735 r=`${PWD_COMMAND}`; export r; \
34736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34737 $(HOST_EXPORTS) \
34738 for flag in $(EXTRA_HOST_FLAGS) ; do \
34739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34740 done; \
34741 echo "Doing installcheck in utils" ; \
34742 (cd $(HOST_SUBDIR)/utils && \
34743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34745 "RANLIB=$${RANLIB}" \
34746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34747 installcheck) \
34748 || exit 1
34750 @endif utils
34752 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
34753 maybe-mostlyclean-utils:
34754 @if utils
34755 maybe-mostlyclean-utils: mostlyclean-utils
34757 mostlyclean-utils:
34758 @: $(MAKE); $(unstage)
34759 @[ -f ./utils/Makefile ] || exit 0; \
34760 r=`${PWD_COMMAND}`; export r; \
34761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34762 $(HOST_EXPORTS) \
34763 for flag in $(EXTRA_HOST_FLAGS) ; do \
34764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34765 done; \
34766 echo "Doing mostlyclean in utils" ; \
34767 (cd $(HOST_SUBDIR)/utils && \
34768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34770 "RANLIB=$${RANLIB}" \
34771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34772 mostlyclean) \
34773 || exit 1
34775 @endif utils
34777 .PHONY: maybe-clean-utils clean-utils
34778 maybe-clean-utils:
34779 @if utils
34780 maybe-clean-utils: clean-utils
34782 clean-utils:
34783 @: $(MAKE); $(unstage)
34784 @[ -f ./utils/Makefile ] || exit 0; \
34785 r=`${PWD_COMMAND}`; export r; \
34786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34787 $(HOST_EXPORTS) \
34788 for flag in $(EXTRA_HOST_FLAGS) ; do \
34789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34790 done; \
34791 echo "Doing clean in utils" ; \
34792 (cd $(HOST_SUBDIR)/utils && \
34793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34795 "RANLIB=$${RANLIB}" \
34796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34797 clean) \
34798 || exit 1
34800 @endif utils
34802 .PHONY: maybe-distclean-utils distclean-utils
34803 maybe-distclean-utils:
34804 @if utils
34805 maybe-distclean-utils: distclean-utils
34807 distclean-utils:
34808 @: $(MAKE); $(unstage)
34809 @[ -f ./utils/Makefile ] || exit 0; \
34810 r=`${PWD_COMMAND}`; export r; \
34811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34812 $(HOST_EXPORTS) \
34813 for flag in $(EXTRA_HOST_FLAGS) ; do \
34814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34815 done; \
34816 echo "Doing distclean in utils" ; \
34817 (cd $(HOST_SUBDIR)/utils && \
34818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34820 "RANLIB=$${RANLIB}" \
34821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34822 distclean) \
34823 || exit 1
34825 @endif utils
34827 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
34828 maybe-maintainer-clean-utils:
34829 @if utils
34830 maybe-maintainer-clean-utils: maintainer-clean-utils
34832 maintainer-clean-utils:
34833 @: $(MAKE); $(unstage)
34834 @[ -f ./utils/Makefile ] || exit 0; \
34835 r=`${PWD_COMMAND}`; export r; \
34836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34837 $(HOST_EXPORTS) \
34838 for flag in $(EXTRA_HOST_FLAGS) ; do \
34839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34840 done; \
34841 echo "Doing maintainer-clean in utils" ; \
34842 (cd $(HOST_SUBDIR)/utils && \
34843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34845 "RANLIB=$${RANLIB}" \
34846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34847 maintainer-clean) \
34848 || exit 1
34850 @endif utils
34854 .PHONY: configure-gnattools maybe-configure-gnattools
34855 maybe-configure-gnattools:
34856 @if gcc-bootstrap
34857 configure-gnattools: stage_current
34858 @endif gcc-bootstrap
34859 @if gnattools
34860 maybe-configure-gnattools: configure-gnattools
34861 configure-gnattools:
34862 @: $(MAKE); $(unstage)
34863 @r=`${PWD_COMMAND}`; export r; \
34864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34865 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
34866 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
34867 $(HOST_EXPORTS) \
34868 echo Configuring in $(HOST_SUBDIR)/gnattools; \
34869 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
34870 case $(srcdir) in \
34871 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34872 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
34873 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34874 esac; \
34875 srcdiroption="--srcdir=$${topdir}/gnattools"; \
34876 libsrcdir="$$s/gnattools"; \
34877 $(SHELL) $${libsrcdir}/configure \
34878 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34879 --target=${target_alias} $${srcdiroption} \
34880 || exit 1
34881 @endif gnattools
34887 .PHONY: all-gnattools maybe-all-gnattools
34888 maybe-all-gnattools:
34889 @if gcc-bootstrap
34890 all-gnattools: stage_current
34891 @endif gcc-bootstrap
34892 @if gnattools
34893 TARGET-gnattools=all
34894 maybe-all-gnattools: all-gnattools
34895 all-gnattools: configure-gnattools
34896 @: $(MAKE); $(unstage)
34897 @r=`${PWD_COMMAND}`; export r; \
34898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34899 $(HOST_EXPORTS) \
34900 (cd $(HOST_SUBDIR)/gnattools && \
34901 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
34902 @endif gnattools
34907 .PHONY: check-gnattools maybe-check-gnattools
34908 maybe-check-gnattools:
34909 @if gnattools
34910 maybe-check-gnattools: check-gnattools
34912 check-gnattools:
34913 @: $(MAKE); $(unstage)
34914 @r=`${PWD_COMMAND}`; export r; \
34915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34916 $(HOST_EXPORTS) \
34917 (cd $(HOST_SUBDIR)/gnattools && \
34918 $(MAKE) $(FLAGS_TO_PASS) check)
34920 @endif gnattools
34922 .PHONY: install-gnattools maybe-install-gnattools
34923 maybe-install-gnattools:
34924 @if gnattools
34925 maybe-install-gnattools: install-gnattools
34927 install-gnattools: installdirs
34928 @: $(MAKE); $(unstage)
34929 @r=`${PWD_COMMAND}`; export r; \
34930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34931 $(HOST_EXPORTS) \
34932 (cd $(HOST_SUBDIR)/gnattools && \
34933 $(MAKE) $(FLAGS_TO_PASS) install)
34935 @endif gnattools
34937 # Other targets (info, dvi, pdf, etc.)
34939 .PHONY: maybe-info-gnattools info-gnattools
34940 maybe-info-gnattools:
34941 @if gnattools
34942 maybe-info-gnattools: info-gnattools
34944 info-gnattools: \
34945 configure-gnattools
34946 @: $(MAKE); $(unstage)
34947 @[ -f ./gnattools/Makefile ] || exit 0; \
34948 r=`${PWD_COMMAND}`; export r; \
34949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34950 $(HOST_EXPORTS) \
34951 for flag in $(EXTRA_HOST_FLAGS) ; do \
34952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34953 done; \
34954 echo "Doing info in gnattools" ; \
34955 (cd $(HOST_SUBDIR)/gnattools && \
34956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34958 "RANLIB=$${RANLIB}" \
34959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34960 info) \
34961 || exit 1
34963 @endif gnattools
34965 .PHONY: maybe-dvi-gnattools dvi-gnattools
34966 maybe-dvi-gnattools:
34967 @if gnattools
34968 maybe-dvi-gnattools: dvi-gnattools
34970 dvi-gnattools: \
34971 configure-gnattools
34972 @: $(MAKE); $(unstage)
34973 @[ -f ./gnattools/Makefile ] || exit 0; \
34974 r=`${PWD_COMMAND}`; export r; \
34975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34976 $(HOST_EXPORTS) \
34977 for flag in $(EXTRA_HOST_FLAGS) ; do \
34978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34979 done; \
34980 echo "Doing dvi in gnattools" ; \
34981 (cd $(HOST_SUBDIR)/gnattools && \
34982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34984 "RANLIB=$${RANLIB}" \
34985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34986 dvi) \
34987 || exit 1
34989 @endif gnattools
34991 .PHONY: maybe-pdf-gnattools pdf-gnattools
34992 maybe-pdf-gnattools:
34993 @if gnattools
34994 maybe-pdf-gnattools: pdf-gnattools
34996 pdf-gnattools: \
34997 configure-gnattools
34998 @: $(MAKE); $(unstage)
34999 @[ -f ./gnattools/Makefile ] || exit 0; \
35000 r=`${PWD_COMMAND}`; export r; \
35001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35002 $(HOST_EXPORTS) \
35003 for flag in $(EXTRA_HOST_FLAGS) ; do \
35004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35005 done; \
35006 echo "Doing pdf in gnattools" ; \
35007 (cd $(HOST_SUBDIR)/gnattools && \
35008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35010 "RANLIB=$${RANLIB}" \
35011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35012 pdf) \
35013 || exit 1
35015 @endif gnattools
35017 .PHONY: maybe-html-gnattools html-gnattools
35018 maybe-html-gnattools:
35019 @if gnattools
35020 maybe-html-gnattools: html-gnattools
35022 html-gnattools: \
35023 configure-gnattools
35024 @: $(MAKE); $(unstage)
35025 @[ -f ./gnattools/Makefile ] || exit 0; \
35026 r=`${PWD_COMMAND}`; export r; \
35027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35028 $(HOST_EXPORTS) \
35029 for flag in $(EXTRA_HOST_FLAGS) ; do \
35030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35031 done; \
35032 echo "Doing html in gnattools" ; \
35033 (cd $(HOST_SUBDIR)/gnattools && \
35034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35036 "RANLIB=$${RANLIB}" \
35037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35038 html) \
35039 || exit 1
35041 @endif gnattools
35043 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
35044 maybe-TAGS-gnattools:
35045 @if gnattools
35046 maybe-TAGS-gnattools: TAGS-gnattools
35048 TAGS-gnattools: \
35049 configure-gnattools
35050 @: $(MAKE); $(unstage)
35051 @[ -f ./gnattools/Makefile ] || exit 0; \
35052 r=`${PWD_COMMAND}`; export r; \
35053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35054 $(HOST_EXPORTS) \
35055 for flag in $(EXTRA_HOST_FLAGS) ; do \
35056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35057 done; \
35058 echo "Doing TAGS in gnattools" ; \
35059 (cd $(HOST_SUBDIR)/gnattools && \
35060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35062 "RANLIB=$${RANLIB}" \
35063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35064 TAGS) \
35065 || exit 1
35067 @endif gnattools
35069 .PHONY: maybe-install-info-gnattools install-info-gnattools
35070 maybe-install-info-gnattools:
35071 @if gnattools
35072 maybe-install-info-gnattools: install-info-gnattools
35074 install-info-gnattools: \
35075 configure-gnattools \
35076 info-gnattools
35077 @: $(MAKE); $(unstage)
35078 @[ -f ./gnattools/Makefile ] || exit 0; \
35079 r=`${PWD_COMMAND}`; export r; \
35080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35081 $(HOST_EXPORTS) \
35082 for flag in $(EXTRA_HOST_FLAGS) ; do \
35083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35084 done; \
35085 echo "Doing install-info in gnattools" ; \
35086 (cd $(HOST_SUBDIR)/gnattools && \
35087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35089 "RANLIB=$${RANLIB}" \
35090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35091 install-info) \
35092 || exit 1
35094 @endif gnattools
35096 .PHONY: maybe-install-html-gnattools install-html-gnattools
35097 maybe-install-html-gnattools:
35098 @if gnattools
35099 maybe-install-html-gnattools: install-html-gnattools
35101 install-html-gnattools: \
35102 configure-gnattools \
35103 html-gnattools
35104 @: $(MAKE); $(unstage)
35105 @[ -f ./gnattools/Makefile ] || exit 0; \
35106 r=`${PWD_COMMAND}`; export r; \
35107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35108 $(HOST_EXPORTS) \
35109 for flag in $(EXTRA_HOST_FLAGS) ; do \
35110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35111 done; \
35112 echo "Doing install-html in gnattools" ; \
35113 (cd $(HOST_SUBDIR)/gnattools && \
35114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35116 "RANLIB=$${RANLIB}" \
35117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35118 install-html) \
35119 || exit 1
35121 @endif gnattools
35123 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
35124 maybe-installcheck-gnattools:
35125 @if gnattools
35126 maybe-installcheck-gnattools: installcheck-gnattools
35128 installcheck-gnattools: \
35129 configure-gnattools
35130 @: $(MAKE); $(unstage)
35131 @[ -f ./gnattools/Makefile ] || exit 0; \
35132 r=`${PWD_COMMAND}`; export r; \
35133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35134 $(HOST_EXPORTS) \
35135 for flag in $(EXTRA_HOST_FLAGS) ; do \
35136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35137 done; \
35138 echo "Doing installcheck in gnattools" ; \
35139 (cd $(HOST_SUBDIR)/gnattools && \
35140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35142 "RANLIB=$${RANLIB}" \
35143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35144 installcheck) \
35145 || exit 1
35147 @endif gnattools
35149 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
35150 maybe-mostlyclean-gnattools:
35151 @if gnattools
35152 maybe-mostlyclean-gnattools: mostlyclean-gnattools
35154 mostlyclean-gnattools:
35155 @: $(MAKE); $(unstage)
35156 @[ -f ./gnattools/Makefile ] || exit 0; \
35157 r=`${PWD_COMMAND}`; export r; \
35158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35159 $(HOST_EXPORTS) \
35160 for flag in $(EXTRA_HOST_FLAGS) ; do \
35161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35162 done; \
35163 echo "Doing mostlyclean in gnattools" ; \
35164 (cd $(HOST_SUBDIR)/gnattools && \
35165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35167 "RANLIB=$${RANLIB}" \
35168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35169 mostlyclean) \
35170 || exit 1
35172 @endif gnattools
35174 .PHONY: maybe-clean-gnattools clean-gnattools
35175 maybe-clean-gnattools:
35176 @if gnattools
35177 maybe-clean-gnattools: clean-gnattools
35179 clean-gnattools:
35180 @: $(MAKE); $(unstage)
35181 @[ -f ./gnattools/Makefile ] || exit 0; \
35182 r=`${PWD_COMMAND}`; export r; \
35183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35184 $(HOST_EXPORTS) \
35185 for flag in $(EXTRA_HOST_FLAGS) ; do \
35186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35187 done; \
35188 echo "Doing clean in gnattools" ; \
35189 (cd $(HOST_SUBDIR)/gnattools && \
35190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35192 "RANLIB=$${RANLIB}" \
35193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35194 clean) \
35195 || exit 1
35197 @endif gnattools
35199 .PHONY: maybe-distclean-gnattools distclean-gnattools
35200 maybe-distclean-gnattools:
35201 @if gnattools
35202 maybe-distclean-gnattools: distclean-gnattools
35204 distclean-gnattools:
35205 @: $(MAKE); $(unstage)
35206 @[ -f ./gnattools/Makefile ] || exit 0; \
35207 r=`${PWD_COMMAND}`; export r; \
35208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35209 $(HOST_EXPORTS) \
35210 for flag in $(EXTRA_HOST_FLAGS) ; do \
35211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35212 done; \
35213 echo "Doing distclean in gnattools" ; \
35214 (cd $(HOST_SUBDIR)/gnattools && \
35215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35217 "RANLIB=$${RANLIB}" \
35218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35219 distclean) \
35220 || exit 1
35222 @endif gnattools
35224 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
35225 maybe-maintainer-clean-gnattools:
35226 @if gnattools
35227 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
35229 maintainer-clean-gnattools:
35230 @: $(MAKE); $(unstage)
35231 @[ -f ./gnattools/Makefile ] || exit 0; \
35232 r=`${PWD_COMMAND}`; export r; \
35233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35234 $(HOST_EXPORTS) \
35235 for flag in $(EXTRA_HOST_FLAGS) ; do \
35236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35237 done; \
35238 echo "Doing maintainer-clean in gnattools" ; \
35239 (cd $(HOST_SUBDIR)/gnattools && \
35240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35242 "RANLIB=$${RANLIB}" \
35243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35244 maintainer-clean) \
35245 || exit 1
35247 @endif gnattools
35251 # ---------------------------------------
35252 # Modules which run on the target machine
35253 # ---------------------------------------
35258 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
35259 maybe-configure-target-libstdc++-v3:
35260 @if gcc-bootstrap
35261 configure-target-libstdc++-v3: stage_current
35262 @endif gcc-bootstrap
35263 @if target-libstdc++-v3
35264 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
35265 configure-target-libstdc++-v3:
35266 @: $(MAKE); $(unstage)
35267 @r=`${PWD_COMMAND}`; export r; \
35268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35269 echo "Checking multilib configuration for libstdc++-v3..."; \
35270 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
35271 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
35272 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
35273 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
35274 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
35275 else \
35276 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
35277 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
35278 fi; \
35279 else \
35280 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
35281 fi; \
35282 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
35283 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
35284 $(RAW_CXX_TARGET_EXPORTS) \
35285 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
35286 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
35287 case $(srcdir) in \
35288 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35289 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
35290 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35291 esac; \
35292 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
35293 libsrcdir="$$s/libstdc++-v3"; \
35294 rm -f no-such-file || : ; \
35295 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35296 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35297 --target=${target_alias} $${srcdiroption} \
35298 || exit 1
35299 @endif target-libstdc++-v3
35305 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
35306 maybe-all-target-libstdc++-v3:
35307 @if gcc-bootstrap
35308 all-target-libstdc++-v3: stage_current
35309 @endif gcc-bootstrap
35310 @if target-libstdc++-v3
35311 TARGET-target-libstdc++-v3=all
35312 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
35313 all-target-libstdc++-v3: configure-target-libstdc++-v3
35314 @: $(MAKE); $(unstage)
35315 @r=`${PWD_COMMAND}`; export r; \
35316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35317 $(RAW_CXX_TARGET_EXPORTS) \
35318 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35319 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
35320 @endif target-libstdc++-v3
35326 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
35327 maybe-check-target-libstdc++-v3:
35328 @if target-libstdc++-v3
35329 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
35331 check-target-libstdc++-v3:
35332 @: $(MAKE); $(unstage)
35333 @r=`${PWD_COMMAND}`; export r; \
35334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35335 $(RAW_CXX_TARGET_EXPORTS) \
35336 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35337 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
35339 @endif target-libstdc++-v3
35341 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
35342 maybe-install-target-libstdc++-v3:
35343 @if target-libstdc++-v3
35344 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
35346 install-target-libstdc++-v3: installdirs
35347 @: $(MAKE); $(unstage)
35348 @r=`${PWD_COMMAND}`; export r; \
35349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35350 $(RAW_CXX_TARGET_EXPORTS) \
35351 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35352 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35354 @endif target-libstdc++-v3
35356 # Other targets (info, dvi, pdf, etc.)
35358 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
35359 maybe-info-target-libstdc++-v3:
35360 @if target-libstdc++-v3
35361 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
35363 info-target-libstdc++-v3: \
35364 configure-target-libstdc++-v3
35365 @: $(MAKE); $(unstage)
35366 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
35367 r=`${PWD_COMMAND}`; export r; \
35368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35369 $(RAW_CXX_TARGET_EXPORTS) \
35370 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
35371 for flag in $(EXTRA_TARGET_FLAGS); do \
35372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35373 done; \
35374 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35377 "RANLIB=$${RANLIB}" \
35378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35379 info) \
35380 || exit 1
35382 @endif target-libstdc++-v3
35384 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
35385 maybe-dvi-target-libstdc++-v3:
35386 @if target-libstdc++-v3
35387 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
35389 dvi-target-libstdc++-v3: \
35390 configure-target-libstdc++-v3
35391 @: $(MAKE); $(unstage)
35392 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
35393 r=`${PWD_COMMAND}`; export r; \
35394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35395 $(RAW_CXX_TARGET_EXPORTS) \
35396 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
35397 for flag in $(EXTRA_TARGET_FLAGS); do \
35398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35399 done; \
35400 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35403 "RANLIB=$${RANLIB}" \
35404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35405 dvi) \
35406 || exit 1
35408 @endif target-libstdc++-v3
35410 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
35411 maybe-pdf-target-libstdc++-v3:
35412 @if target-libstdc++-v3
35413 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
35415 pdf-target-libstdc++-v3: \
35416 configure-target-libstdc++-v3
35417 @: $(MAKE); $(unstage)
35418 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
35419 r=`${PWD_COMMAND}`; export r; \
35420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35421 $(RAW_CXX_TARGET_EXPORTS) \
35422 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
35423 for flag in $(EXTRA_TARGET_FLAGS); do \
35424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35425 done; \
35426 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35429 "RANLIB=$${RANLIB}" \
35430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35431 pdf) \
35432 || exit 1
35434 @endif target-libstdc++-v3
35436 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
35437 maybe-html-target-libstdc++-v3:
35438 @if target-libstdc++-v3
35439 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
35441 html-target-libstdc++-v3: \
35442 configure-target-libstdc++-v3
35443 @: $(MAKE); $(unstage)
35444 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
35445 r=`${PWD_COMMAND}`; export r; \
35446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35447 $(RAW_CXX_TARGET_EXPORTS) \
35448 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
35449 for flag in $(EXTRA_TARGET_FLAGS); do \
35450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35451 done; \
35452 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35455 "RANLIB=$${RANLIB}" \
35456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35457 html) \
35458 || exit 1
35460 @endif target-libstdc++-v3
35462 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
35463 maybe-TAGS-target-libstdc++-v3:
35464 @if target-libstdc++-v3
35465 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
35467 TAGS-target-libstdc++-v3: \
35468 configure-target-libstdc++-v3
35469 @: $(MAKE); $(unstage)
35470 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
35471 r=`${PWD_COMMAND}`; export r; \
35472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35473 $(RAW_CXX_TARGET_EXPORTS) \
35474 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
35475 for flag in $(EXTRA_TARGET_FLAGS); do \
35476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35477 done; \
35478 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35481 "RANLIB=$${RANLIB}" \
35482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35483 TAGS) \
35484 || exit 1
35486 @endif target-libstdc++-v3
35488 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
35489 maybe-install-info-target-libstdc++-v3:
35490 @if target-libstdc++-v3
35491 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
35493 install-info-target-libstdc++-v3: \
35494 configure-target-libstdc++-v3 \
35495 info-target-libstdc++-v3
35496 @: $(MAKE); $(unstage)
35497 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
35498 r=`${PWD_COMMAND}`; export r; \
35499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35500 $(RAW_CXX_TARGET_EXPORTS) \
35501 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
35502 for flag in $(EXTRA_TARGET_FLAGS); do \
35503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35504 done; \
35505 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35508 "RANLIB=$${RANLIB}" \
35509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35510 install-info) \
35511 || exit 1
35513 @endif target-libstdc++-v3
35515 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
35516 maybe-install-html-target-libstdc++-v3:
35517 @if target-libstdc++-v3
35518 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
35520 install-html-target-libstdc++-v3: \
35521 configure-target-libstdc++-v3 \
35522 html-target-libstdc++-v3
35523 @: $(MAKE); $(unstage)
35524 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
35525 r=`${PWD_COMMAND}`; export r; \
35526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35527 $(RAW_CXX_TARGET_EXPORTS) \
35528 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
35529 for flag in $(EXTRA_TARGET_FLAGS); do \
35530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35531 done; \
35532 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35535 "RANLIB=$${RANLIB}" \
35536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35537 install-html) \
35538 || exit 1
35540 @endif target-libstdc++-v3
35542 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
35543 maybe-installcheck-target-libstdc++-v3:
35544 @if target-libstdc++-v3
35545 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
35547 installcheck-target-libstdc++-v3: \
35548 configure-target-libstdc++-v3
35549 @: $(MAKE); $(unstage)
35550 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
35551 r=`${PWD_COMMAND}`; export r; \
35552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35553 $(RAW_CXX_TARGET_EXPORTS) \
35554 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
35555 for flag in $(EXTRA_TARGET_FLAGS); do \
35556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35557 done; \
35558 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35561 "RANLIB=$${RANLIB}" \
35562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35563 installcheck) \
35564 || exit 1
35566 @endif target-libstdc++-v3
35568 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
35569 maybe-mostlyclean-target-libstdc++-v3:
35570 @if target-libstdc++-v3
35571 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
35573 mostlyclean-target-libstdc++-v3:
35574 @: $(MAKE); $(unstage)
35575 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
35576 r=`${PWD_COMMAND}`; export r; \
35577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35578 $(RAW_CXX_TARGET_EXPORTS) \
35579 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
35580 for flag in $(EXTRA_TARGET_FLAGS); do \
35581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35582 done; \
35583 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35586 "RANLIB=$${RANLIB}" \
35587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35588 mostlyclean) \
35589 || exit 1
35591 @endif target-libstdc++-v3
35593 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
35594 maybe-clean-target-libstdc++-v3:
35595 @if target-libstdc++-v3
35596 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
35598 clean-target-libstdc++-v3:
35599 @: $(MAKE); $(unstage)
35600 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
35601 r=`${PWD_COMMAND}`; export r; \
35602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35603 $(RAW_CXX_TARGET_EXPORTS) \
35604 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
35605 for flag in $(EXTRA_TARGET_FLAGS); do \
35606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35607 done; \
35608 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35611 "RANLIB=$${RANLIB}" \
35612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35613 clean) \
35614 || exit 1
35616 @endif target-libstdc++-v3
35618 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
35619 maybe-distclean-target-libstdc++-v3:
35620 @if target-libstdc++-v3
35621 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
35623 distclean-target-libstdc++-v3:
35624 @: $(MAKE); $(unstage)
35625 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
35626 r=`${PWD_COMMAND}`; export r; \
35627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35628 $(RAW_CXX_TARGET_EXPORTS) \
35629 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
35630 for flag in $(EXTRA_TARGET_FLAGS); do \
35631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35632 done; \
35633 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35636 "RANLIB=$${RANLIB}" \
35637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35638 distclean) \
35639 || exit 1
35641 @endif target-libstdc++-v3
35643 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
35644 maybe-maintainer-clean-target-libstdc++-v3:
35645 @if target-libstdc++-v3
35646 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
35648 maintainer-clean-target-libstdc++-v3:
35649 @: $(MAKE); $(unstage)
35650 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
35651 r=`${PWD_COMMAND}`; export r; \
35652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35653 $(RAW_CXX_TARGET_EXPORTS) \
35654 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
35655 for flag in $(EXTRA_TARGET_FLAGS); do \
35656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35657 done; \
35658 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35661 "RANLIB=$${RANLIB}" \
35662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35663 maintainer-clean) \
35664 || exit 1
35666 @endif target-libstdc++-v3
35672 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
35673 maybe-configure-target-libmudflap:
35674 @if gcc-bootstrap
35675 configure-target-libmudflap: stage_current
35676 @endif gcc-bootstrap
35677 @if target-libmudflap
35678 maybe-configure-target-libmudflap: configure-target-libmudflap
35679 configure-target-libmudflap:
35680 @: $(MAKE); $(unstage)
35681 @r=`${PWD_COMMAND}`; export r; \
35682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35683 echo "Checking multilib configuration for libmudflap..."; \
35684 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
35685 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
35686 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
35687 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
35688 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
35689 else \
35690 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
35691 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
35692 fi; \
35693 else \
35694 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
35695 fi; \
35696 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
35697 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
35698 $(NORMAL_TARGET_EXPORTS) \
35699 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
35700 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
35701 case $(srcdir) in \
35702 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35703 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
35704 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35705 esac; \
35706 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
35707 libsrcdir="$$s/libmudflap"; \
35708 rm -f no-such-file || : ; \
35709 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35710 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35711 --target=${target_alias} $${srcdiroption} \
35712 || exit 1
35713 @endif target-libmudflap
35719 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
35720 maybe-all-target-libmudflap:
35721 @if gcc-bootstrap
35722 all-target-libmudflap: stage_current
35723 @endif gcc-bootstrap
35724 @if target-libmudflap
35725 TARGET-target-libmudflap=all
35726 maybe-all-target-libmudflap: all-target-libmudflap
35727 all-target-libmudflap: configure-target-libmudflap
35728 @: $(MAKE); $(unstage)
35729 @r=`${PWD_COMMAND}`; export r; \
35730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35731 $(NORMAL_TARGET_EXPORTS) \
35732 (cd $(TARGET_SUBDIR)/libmudflap && \
35733 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
35734 @endif target-libmudflap
35740 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
35741 maybe-check-target-libmudflap:
35742 @if target-libmudflap
35743 maybe-check-target-libmudflap: check-target-libmudflap
35745 check-target-libmudflap:
35746 @: $(MAKE); $(unstage)
35747 @r=`${PWD_COMMAND}`; export r; \
35748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35749 $(NORMAL_TARGET_EXPORTS) \
35750 (cd $(TARGET_SUBDIR)/libmudflap && \
35751 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35753 @endif target-libmudflap
35755 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
35756 maybe-install-target-libmudflap:
35757 @if target-libmudflap
35758 maybe-install-target-libmudflap: install-target-libmudflap
35760 install-target-libmudflap: installdirs
35761 @: $(MAKE); $(unstage)
35762 @r=`${PWD_COMMAND}`; export r; \
35763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35764 $(NORMAL_TARGET_EXPORTS) \
35765 (cd $(TARGET_SUBDIR)/libmudflap && \
35766 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35768 @endif target-libmudflap
35770 # Other targets (info, dvi, pdf, etc.)
35772 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
35773 maybe-info-target-libmudflap:
35774 @if target-libmudflap
35775 maybe-info-target-libmudflap: info-target-libmudflap
35777 info-target-libmudflap: \
35778 configure-target-libmudflap
35779 @: $(MAKE); $(unstage)
35780 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
35781 r=`${PWD_COMMAND}`; export r; \
35782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35783 $(NORMAL_TARGET_EXPORTS) \
35784 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
35785 for flag in $(EXTRA_TARGET_FLAGS); do \
35786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35787 done; \
35788 (cd $(TARGET_SUBDIR)/libmudflap && \
35789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35791 "RANLIB=$${RANLIB}" \
35792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35793 info) \
35794 || exit 1
35796 @endif target-libmudflap
35798 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
35799 maybe-dvi-target-libmudflap:
35800 @if target-libmudflap
35801 maybe-dvi-target-libmudflap: dvi-target-libmudflap
35803 dvi-target-libmudflap: \
35804 configure-target-libmudflap
35805 @: $(MAKE); $(unstage)
35806 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
35807 r=`${PWD_COMMAND}`; export r; \
35808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35809 $(NORMAL_TARGET_EXPORTS) \
35810 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
35811 for flag in $(EXTRA_TARGET_FLAGS); do \
35812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35813 done; \
35814 (cd $(TARGET_SUBDIR)/libmudflap && \
35815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35817 "RANLIB=$${RANLIB}" \
35818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35819 dvi) \
35820 || exit 1
35822 @endif target-libmudflap
35824 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
35825 maybe-pdf-target-libmudflap:
35826 @if target-libmudflap
35827 maybe-pdf-target-libmudflap: pdf-target-libmudflap
35829 pdf-target-libmudflap: \
35830 configure-target-libmudflap
35831 @: $(MAKE); $(unstage)
35832 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
35833 r=`${PWD_COMMAND}`; export r; \
35834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35835 $(NORMAL_TARGET_EXPORTS) \
35836 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
35837 for flag in $(EXTRA_TARGET_FLAGS); do \
35838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35839 done; \
35840 (cd $(TARGET_SUBDIR)/libmudflap && \
35841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35843 "RANLIB=$${RANLIB}" \
35844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35845 pdf) \
35846 || exit 1
35848 @endif target-libmudflap
35850 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
35851 maybe-html-target-libmudflap:
35852 @if target-libmudflap
35853 maybe-html-target-libmudflap: html-target-libmudflap
35855 html-target-libmudflap: \
35856 configure-target-libmudflap
35857 @: $(MAKE); $(unstage)
35858 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
35859 r=`${PWD_COMMAND}`; export r; \
35860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35861 $(NORMAL_TARGET_EXPORTS) \
35862 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
35863 for flag in $(EXTRA_TARGET_FLAGS); do \
35864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35865 done; \
35866 (cd $(TARGET_SUBDIR)/libmudflap && \
35867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35869 "RANLIB=$${RANLIB}" \
35870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35871 html) \
35872 || exit 1
35874 @endif target-libmudflap
35876 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
35877 maybe-TAGS-target-libmudflap:
35878 @if target-libmudflap
35879 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
35881 TAGS-target-libmudflap: \
35882 configure-target-libmudflap
35883 @: $(MAKE); $(unstage)
35884 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
35885 r=`${PWD_COMMAND}`; export r; \
35886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35887 $(NORMAL_TARGET_EXPORTS) \
35888 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
35889 for flag in $(EXTRA_TARGET_FLAGS); do \
35890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35891 done; \
35892 (cd $(TARGET_SUBDIR)/libmudflap && \
35893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35895 "RANLIB=$${RANLIB}" \
35896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35897 TAGS) \
35898 || exit 1
35900 @endif target-libmudflap
35902 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
35903 maybe-install-info-target-libmudflap:
35904 @if target-libmudflap
35905 maybe-install-info-target-libmudflap: install-info-target-libmudflap
35907 install-info-target-libmudflap: \
35908 configure-target-libmudflap \
35909 info-target-libmudflap
35910 @: $(MAKE); $(unstage)
35911 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
35912 r=`${PWD_COMMAND}`; export r; \
35913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35914 $(NORMAL_TARGET_EXPORTS) \
35915 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
35916 for flag in $(EXTRA_TARGET_FLAGS); do \
35917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35918 done; \
35919 (cd $(TARGET_SUBDIR)/libmudflap && \
35920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35922 "RANLIB=$${RANLIB}" \
35923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35924 install-info) \
35925 || exit 1
35927 @endif target-libmudflap
35929 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
35930 maybe-install-html-target-libmudflap:
35931 @if target-libmudflap
35932 maybe-install-html-target-libmudflap: install-html-target-libmudflap
35934 install-html-target-libmudflap: \
35935 configure-target-libmudflap \
35936 html-target-libmudflap
35937 @: $(MAKE); $(unstage)
35938 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
35939 r=`${PWD_COMMAND}`; export r; \
35940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35941 $(NORMAL_TARGET_EXPORTS) \
35942 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
35943 for flag in $(EXTRA_TARGET_FLAGS); do \
35944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35945 done; \
35946 (cd $(TARGET_SUBDIR)/libmudflap && \
35947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35949 "RANLIB=$${RANLIB}" \
35950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35951 install-html) \
35952 || exit 1
35954 @endif target-libmudflap
35956 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
35957 maybe-installcheck-target-libmudflap:
35958 @if target-libmudflap
35959 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
35961 installcheck-target-libmudflap: \
35962 configure-target-libmudflap
35963 @: $(MAKE); $(unstage)
35964 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
35965 r=`${PWD_COMMAND}`; export r; \
35966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35967 $(NORMAL_TARGET_EXPORTS) \
35968 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
35969 for flag in $(EXTRA_TARGET_FLAGS); do \
35970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35971 done; \
35972 (cd $(TARGET_SUBDIR)/libmudflap && \
35973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35975 "RANLIB=$${RANLIB}" \
35976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35977 installcheck) \
35978 || exit 1
35980 @endif target-libmudflap
35982 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
35983 maybe-mostlyclean-target-libmudflap:
35984 @if target-libmudflap
35985 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
35987 mostlyclean-target-libmudflap:
35988 @: $(MAKE); $(unstage)
35989 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
35990 r=`${PWD_COMMAND}`; export r; \
35991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35992 $(NORMAL_TARGET_EXPORTS) \
35993 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
35994 for flag in $(EXTRA_TARGET_FLAGS); do \
35995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35996 done; \
35997 (cd $(TARGET_SUBDIR)/libmudflap && \
35998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36000 "RANLIB=$${RANLIB}" \
36001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36002 mostlyclean) \
36003 || exit 1
36005 @endif target-libmudflap
36007 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
36008 maybe-clean-target-libmudflap:
36009 @if target-libmudflap
36010 maybe-clean-target-libmudflap: clean-target-libmudflap
36012 clean-target-libmudflap:
36013 @: $(MAKE); $(unstage)
36014 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
36015 r=`${PWD_COMMAND}`; export r; \
36016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36017 $(NORMAL_TARGET_EXPORTS) \
36018 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
36019 for flag in $(EXTRA_TARGET_FLAGS); do \
36020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36021 done; \
36022 (cd $(TARGET_SUBDIR)/libmudflap && \
36023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36025 "RANLIB=$${RANLIB}" \
36026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36027 clean) \
36028 || exit 1
36030 @endif target-libmudflap
36032 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
36033 maybe-distclean-target-libmudflap:
36034 @if target-libmudflap
36035 maybe-distclean-target-libmudflap: distclean-target-libmudflap
36037 distclean-target-libmudflap:
36038 @: $(MAKE); $(unstage)
36039 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
36040 r=`${PWD_COMMAND}`; export r; \
36041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36042 $(NORMAL_TARGET_EXPORTS) \
36043 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
36044 for flag in $(EXTRA_TARGET_FLAGS); do \
36045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36046 done; \
36047 (cd $(TARGET_SUBDIR)/libmudflap && \
36048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36050 "RANLIB=$${RANLIB}" \
36051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36052 distclean) \
36053 || exit 1
36055 @endif target-libmudflap
36057 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
36058 maybe-maintainer-clean-target-libmudflap:
36059 @if target-libmudflap
36060 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
36062 maintainer-clean-target-libmudflap:
36063 @: $(MAKE); $(unstage)
36064 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
36065 r=`${PWD_COMMAND}`; export r; \
36066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36067 $(NORMAL_TARGET_EXPORTS) \
36068 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
36069 for flag in $(EXTRA_TARGET_FLAGS); do \
36070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36071 done; \
36072 (cd $(TARGET_SUBDIR)/libmudflap && \
36073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36075 "RANLIB=$${RANLIB}" \
36076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36077 maintainer-clean) \
36078 || exit 1
36080 @endif target-libmudflap
36086 .PHONY: configure-target-libssp maybe-configure-target-libssp
36087 maybe-configure-target-libssp:
36088 @if gcc-bootstrap
36089 configure-target-libssp: stage_current
36090 @endif gcc-bootstrap
36091 @if target-libssp
36092 maybe-configure-target-libssp: configure-target-libssp
36093 configure-target-libssp:
36094 @: $(MAKE); $(unstage)
36095 @r=`${PWD_COMMAND}`; export r; \
36096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36097 echo "Checking multilib configuration for libssp..."; \
36098 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
36099 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
36100 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
36101 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
36102 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
36103 else \
36104 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
36105 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
36106 fi; \
36107 else \
36108 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
36109 fi; \
36110 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
36111 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
36112 $(NORMAL_TARGET_EXPORTS) \
36113 echo Configuring in $(TARGET_SUBDIR)/libssp; \
36114 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
36115 case $(srcdir) in \
36116 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36117 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
36118 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36119 esac; \
36120 srcdiroption="--srcdir=$${topdir}/libssp"; \
36121 libsrcdir="$$s/libssp"; \
36122 rm -f no-such-file || : ; \
36123 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36124 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36125 --target=${target_alias} $${srcdiroption} \
36126 || exit 1
36127 @endif target-libssp
36133 .PHONY: all-target-libssp maybe-all-target-libssp
36134 maybe-all-target-libssp:
36135 @if gcc-bootstrap
36136 all-target-libssp: stage_current
36137 @endif gcc-bootstrap
36138 @if target-libssp
36139 TARGET-target-libssp=all
36140 maybe-all-target-libssp: all-target-libssp
36141 all-target-libssp: configure-target-libssp
36142 @: $(MAKE); $(unstage)
36143 @r=`${PWD_COMMAND}`; export r; \
36144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36145 $(NORMAL_TARGET_EXPORTS) \
36146 (cd $(TARGET_SUBDIR)/libssp && \
36147 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
36148 @endif target-libssp
36154 .PHONY: check-target-libssp maybe-check-target-libssp
36155 maybe-check-target-libssp:
36156 @if target-libssp
36157 maybe-check-target-libssp: check-target-libssp
36159 check-target-libssp:
36160 @: $(MAKE); $(unstage)
36161 @r=`${PWD_COMMAND}`; export r; \
36162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36163 $(NORMAL_TARGET_EXPORTS) \
36164 (cd $(TARGET_SUBDIR)/libssp && \
36165 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36167 @endif target-libssp
36169 .PHONY: install-target-libssp maybe-install-target-libssp
36170 maybe-install-target-libssp:
36171 @if target-libssp
36172 maybe-install-target-libssp: install-target-libssp
36174 install-target-libssp: installdirs
36175 @: $(MAKE); $(unstage)
36176 @r=`${PWD_COMMAND}`; export r; \
36177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36178 $(NORMAL_TARGET_EXPORTS) \
36179 (cd $(TARGET_SUBDIR)/libssp && \
36180 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36182 @endif target-libssp
36184 # Other targets (info, dvi, pdf, etc.)
36186 .PHONY: maybe-info-target-libssp info-target-libssp
36187 maybe-info-target-libssp:
36188 @if target-libssp
36189 maybe-info-target-libssp: info-target-libssp
36191 info-target-libssp: \
36192 configure-target-libssp
36193 @: $(MAKE); $(unstage)
36194 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36195 r=`${PWD_COMMAND}`; export r; \
36196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36197 $(NORMAL_TARGET_EXPORTS) \
36198 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
36199 for flag in $(EXTRA_TARGET_FLAGS); do \
36200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36201 done; \
36202 (cd $(TARGET_SUBDIR)/libssp && \
36203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36205 "RANLIB=$${RANLIB}" \
36206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36207 info) \
36208 || exit 1
36210 @endif target-libssp
36212 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
36213 maybe-dvi-target-libssp:
36214 @if target-libssp
36215 maybe-dvi-target-libssp: dvi-target-libssp
36217 dvi-target-libssp: \
36218 configure-target-libssp
36219 @: $(MAKE); $(unstage)
36220 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36221 r=`${PWD_COMMAND}`; export r; \
36222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36223 $(NORMAL_TARGET_EXPORTS) \
36224 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
36225 for flag in $(EXTRA_TARGET_FLAGS); do \
36226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36227 done; \
36228 (cd $(TARGET_SUBDIR)/libssp && \
36229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36231 "RANLIB=$${RANLIB}" \
36232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36233 dvi) \
36234 || exit 1
36236 @endif target-libssp
36238 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
36239 maybe-pdf-target-libssp:
36240 @if target-libssp
36241 maybe-pdf-target-libssp: pdf-target-libssp
36243 pdf-target-libssp: \
36244 configure-target-libssp
36245 @: $(MAKE); $(unstage)
36246 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36247 r=`${PWD_COMMAND}`; export r; \
36248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36249 $(NORMAL_TARGET_EXPORTS) \
36250 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
36251 for flag in $(EXTRA_TARGET_FLAGS); do \
36252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36253 done; \
36254 (cd $(TARGET_SUBDIR)/libssp && \
36255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36257 "RANLIB=$${RANLIB}" \
36258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36259 pdf) \
36260 || exit 1
36262 @endif target-libssp
36264 .PHONY: maybe-html-target-libssp html-target-libssp
36265 maybe-html-target-libssp:
36266 @if target-libssp
36267 maybe-html-target-libssp: html-target-libssp
36269 html-target-libssp: \
36270 configure-target-libssp
36271 @: $(MAKE); $(unstage)
36272 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36273 r=`${PWD_COMMAND}`; export r; \
36274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36275 $(NORMAL_TARGET_EXPORTS) \
36276 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
36277 for flag in $(EXTRA_TARGET_FLAGS); do \
36278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36279 done; \
36280 (cd $(TARGET_SUBDIR)/libssp && \
36281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36283 "RANLIB=$${RANLIB}" \
36284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36285 html) \
36286 || exit 1
36288 @endif target-libssp
36290 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
36291 maybe-TAGS-target-libssp:
36292 @if target-libssp
36293 maybe-TAGS-target-libssp: TAGS-target-libssp
36295 TAGS-target-libssp: \
36296 configure-target-libssp
36297 @: $(MAKE); $(unstage)
36298 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36299 r=`${PWD_COMMAND}`; export r; \
36300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36301 $(NORMAL_TARGET_EXPORTS) \
36302 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
36303 for flag in $(EXTRA_TARGET_FLAGS); do \
36304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36305 done; \
36306 (cd $(TARGET_SUBDIR)/libssp && \
36307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36309 "RANLIB=$${RANLIB}" \
36310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36311 TAGS) \
36312 || exit 1
36314 @endif target-libssp
36316 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
36317 maybe-install-info-target-libssp:
36318 @if target-libssp
36319 maybe-install-info-target-libssp: install-info-target-libssp
36321 install-info-target-libssp: \
36322 configure-target-libssp \
36323 info-target-libssp
36324 @: $(MAKE); $(unstage)
36325 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36326 r=`${PWD_COMMAND}`; export r; \
36327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36328 $(NORMAL_TARGET_EXPORTS) \
36329 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
36330 for flag in $(EXTRA_TARGET_FLAGS); do \
36331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36332 done; \
36333 (cd $(TARGET_SUBDIR)/libssp && \
36334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36336 "RANLIB=$${RANLIB}" \
36337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36338 install-info) \
36339 || exit 1
36341 @endif target-libssp
36343 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
36344 maybe-install-html-target-libssp:
36345 @if target-libssp
36346 maybe-install-html-target-libssp: install-html-target-libssp
36348 install-html-target-libssp: \
36349 configure-target-libssp \
36350 html-target-libssp
36351 @: $(MAKE); $(unstage)
36352 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36353 r=`${PWD_COMMAND}`; export r; \
36354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36355 $(NORMAL_TARGET_EXPORTS) \
36356 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
36357 for flag in $(EXTRA_TARGET_FLAGS); do \
36358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36359 done; \
36360 (cd $(TARGET_SUBDIR)/libssp && \
36361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36363 "RANLIB=$${RANLIB}" \
36364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36365 install-html) \
36366 || exit 1
36368 @endif target-libssp
36370 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
36371 maybe-installcheck-target-libssp:
36372 @if target-libssp
36373 maybe-installcheck-target-libssp: installcheck-target-libssp
36375 installcheck-target-libssp: \
36376 configure-target-libssp
36377 @: $(MAKE); $(unstage)
36378 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36379 r=`${PWD_COMMAND}`; export r; \
36380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36381 $(NORMAL_TARGET_EXPORTS) \
36382 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
36383 for flag in $(EXTRA_TARGET_FLAGS); do \
36384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36385 done; \
36386 (cd $(TARGET_SUBDIR)/libssp && \
36387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36389 "RANLIB=$${RANLIB}" \
36390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36391 installcheck) \
36392 || exit 1
36394 @endif target-libssp
36396 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
36397 maybe-mostlyclean-target-libssp:
36398 @if target-libssp
36399 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
36401 mostlyclean-target-libssp:
36402 @: $(MAKE); $(unstage)
36403 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36404 r=`${PWD_COMMAND}`; export r; \
36405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36406 $(NORMAL_TARGET_EXPORTS) \
36407 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
36408 for flag in $(EXTRA_TARGET_FLAGS); do \
36409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36410 done; \
36411 (cd $(TARGET_SUBDIR)/libssp && \
36412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36414 "RANLIB=$${RANLIB}" \
36415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36416 mostlyclean) \
36417 || exit 1
36419 @endif target-libssp
36421 .PHONY: maybe-clean-target-libssp clean-target-libssp
36422 maybe-clean-target-libssp:
36423 @if target-libssp
36424 maybe-clean-target-libssp: clean-target-libssp
36426 clean-target-libssp:
36427 @: $(MAKE); $(unstage)
36428 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36429 r=`${PWD_COMMAND}`; export r; \
36430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36431 $(NORMAL_TARGET_EXPORTS) \
36432 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
36433 for flag in $(EXTRA_TARGET_FLAGS); do \
36434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36435 done; \
36436 (cd $(TARGET_SUBDIR)/libssp && \
36437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36439 "RANLIB=$${RANLIB}" \
36440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36441 clean) \
36442 || exit 1
36444 @endif target-libssp
36446 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
36447 maybe-distclean-target-libssp:
36448 @if target-libssp
36449 maybe-distclean-target-libssp: distclean-target-libssp
36451 distclean-target-libssp:
36452 @: $(MAKE); $(unstage)
36453 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36454 r=`${PWD_COMMAND}`; export r; \
36455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36456 $(NORMAL_TARGET_EXPORTS) \
36457 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
36458 for flag in $(EXTRA_TARGET_FLAGS); do \
36459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36460 done; \
36461 (cd $(TARGET_SUBDIR)/libssp && \
36462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36464 "RANLIB=$${RANLIB}" \
36465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36466 distclean) \
36467 || exit 1
36469 @endif target-libssp
36471 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
36472 maybe-maintainer-clean-target-libssp:
36473 @if target-libssp
36474 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
36476 maintainer-clean-target-libssp:
36477 @: $(MAKE); $(unstage)
36478 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36479 r=`${PWD_COMMAND}`; export r; \
36480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36481 $(NORMAL_TARGET_EXPORTS) \
36482 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
36483 for flag in $(EXTRA_TARGET_FLAGS); do \
36484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36485 done; \
36486 (cd $(TARGET_SUBDIR)/libssp && \
36487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36489 "RANLIB=$${RANLIB}" \
36490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36491 maintainer-clean) \
36492 || exit 1
36494 @endif target-libssp
36500 .PHONY: configure-target-newlib maybe-configure-target-newlib
36501 maybe-configure-target-newlib:
36502 @if gcc-bootstrap
36503 configure-target-newlib: stage_current
36504 @endif gcc-bootstrap
36505 @if target-newlib
36506 maybe-configure-target-newlib: configure-target-newlib
36507 configure-target-newlib:
36508 @: $(MAKE); $(unstage)
36509 @r=`${PWD_COMMAND}`; export r; \
36510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36511 echo "Checking multilib configuration for newlib..."; \
36512 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
36513 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
36514 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
36515 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
36516 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
36517 else \
36518 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
36519 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
36520 fi; \
36521 else \
36522 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
36523 fi; \
36524 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
36525 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
36526 $(NORMAL_TARGET_EXPORTS) \
36527 echo Configuring in $(TARGET_SUBDIR)/newlib; \
36528 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
36529 case $(srcdir) in \
36530 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36531 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
36532 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36533 esac; \
36534 srcdiroption="--srcdir=$${topdir}/newlib"; \
36535 libsrcdir="$$s/newlib"; \
36536 rm -f no-such-file || : ; \
36537 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36538 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36539 --target=${target_alias} $${srcdiroption} \
36540 || exit 1
36541 @endif target-newlib
36547 .PHONY: all-target-newlib maybe-all-target-newlib
36548 maybe-all-target-newlib:
36549 @if gcc-bootstrap
36550 all-target-newlib: stage_current
36551 @endif gcc-bootstrap
36552 @if target-newlib
36553 TARGET-target-newlib=all
36554 maybe-all-target-newlib: all-target-newlib
36555 all-target-newlib: configure-target-newlib
36556 @: $(MAKE); $(unstage)
36557 @r=`${PWD_COMMAND}`; export r; \
36558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36559 $(NORMAL_TARGET_EXPORTS) \
36560 (cd $(TARGET_SUBDIR)/newlib && \
36561 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
36562 @endif target-newlib
36568 .PHONY: check-target-newlib maybe-check-target-newlib
36569 maybe-check-target-newlib:
36570 @if target-newlib
36571 maybe-check-target-newlib: check-target-newlib
36573 check-target-newlib:
36574 @: $(MAKE); $(unstage)
36575 @r=`${PWD_COMMAND}`; export r; \
36576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36577 $(NORMAL_TARGET_EXPORTS) \
36578 (cd $(TARGET_SUBDIR)/newlib && \
36579 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36581 @endif target-newlib
36583 .PHONY: install-target-newlib maybe-install-target-newlib
36584 maybe-install-target-newlib:
36585 @if target-newlib
36586 maybe-install-target-newlib: install-target-newlib
36588 install-target-newlib: installdirs
36589 @: $(MAKE); $(unstage)
36590 @r=`${PWD_COMMAND}`; export r; \
36591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36592 $(NORMAL_TARGET_EXPORTS) \
36593 (cd $(TARGET_SUBDIR)/newlib && \
36594 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36596 @endif target-newlib
36598 # Other targets (info, dvi, pdf, etc.)
36600 .PHONY: maybe-info-target-newlib info-target-newlib
36601 maybe-info-target-newlib:
36602 @if target-newlib
36603 maybe-info-target-newlib: info-target-newlib
36605 info-target-newlib: \
36606 configure-target-newlib
36607 @: $(MAKE); $(unstage)
36608 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36609 r=`${PWD_COMMAND}`; export r; \
36610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36611 $(NORMAL_TARGET_EXPORTS) \
36612 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
36613 for flag in $(EXTRA_TARGET_FLAGS); do \
36614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36615 done; \
36616 (cd $(TARGET_SUBDIR)/newlib && \
36617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36619 "RANLIB=$${RANLIB}" \
36620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36621 info) \
36622 || exit 1
36624 @endif target-newlib
36626 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
36627 maybe-dvi-target-newlib:
36628 @if target-newlib
36629 maybe-dvi-target-newlib: dvi-target-newlib
36631 dvi-target-newlib: \
36632 configure-target-newlib
36633 @: $(MAKE); $(unstage)
36634 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36635 r=`${PWD_COMMAND}`; export r; \
36636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36637 $(NORMAL_TARGET_EXPORTS) \
36638 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
36639 for flag in $(EXTRA_TARGET_FLAGS); do \
36640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36641 done; \
36642 (cd $(TARGET_SUBDIR)/newlib && \
36643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36645 "RANLIB=$${RANLIB}" \
36646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36647 dvi) \
36648 || exit 1
36650 @endif target-newlib
36652 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
36653 maybe-pdf-target-newlib:
36654 @if target-newlib
36655 maybe-pdf-target-newlib: pdf-target-newlib
36657 pdf-target-newlib: \
36658 configure-target-newlib
36659 @: $(MAKE); $(unstage)
36660 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36661 r=`${PWD_COMMAND}`; export r; \
36662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36663 $(NORMAL_TARGET_EXPORTS) \
36664 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
36665 for flag in $(EXTRA_TARGET_FLAGS); do \
36666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36667 done; \
36668 (cd $(TARGET_SUBDIR)/newlib && \
36669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36671 "RANLIB=$${RANLIB}" \
36672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36673 pdf) \
36674 || exit 1
36676 @endif target-newlib
36678 .PHONY: maybe-html-target-newlib html-target-newlib
36679 maybe-html-target-newlib:
36680 @if target-newlib
36681 maybe-html-target-newlib: html-target-newlib
36683 html-target-newlib: \
36684 configure-target-newlib
36685 @: $(MAKE); $(unstage)
36686 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36687 r=`${PWD_COMMAND}`; export r; \
36688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36689 $(NORMAL_TARGET_EXPORTS) \
36690 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
36691 for flag in $(EXTRA_TARGET_FLAGS); do \
36692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36693 done; \
36694 (cd $(TARGET_SUBDIR)/newlib && \
36695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36697 "RANLIB=$${RANLIB}" \
36698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36699 html) \
36700 || exit 1
36702 @endif target-newlib
36704 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
36705 maybe-TAGS-target-newlib:
36706 @if target-newlib
36707 maybe-TAGS-target-newlib: TAGS-target-newlib
36709 TAGS-target-newlib: \
36710 configure-target-newlib
36711 @: $(MAKE); $(unstage)
36712 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36713 r=`${PWD_COMMAND}`; export r; \
36714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36715 $(NORMAL_TARGET_EXPORTS) \
36716 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
36717 for flag in $(EXTRA_TARGET_FLAGS); do \
36718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36719 done; \
36720 (cd $(TARGET_SUBDIR)/newlib && \
36721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36723 "RANLIB=$${RANLIB}" \
36724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36725 TAGS) \
36726 || exit 1
36728 @endif target-newlib
36730 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
36731 maybe-install-info-target-newlib:
36732 @if target-newlib
36733 maybe-install-info-target-newlib: install-info-target-newlib
36735 install-info-target-newlib: \
36736 configure-target-newlib \
36737 info-target-newlib
36738 @: $(MAKE); $(unstage)
36739 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36740 r=`${PWD_COMMAND}`; export r; \
36741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36742 $(NORMAL_TARGET_EXPORTS) \
36743 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
36744 for flag in $(EXTRA_TARGET_FLAGS); do \
36745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36746 done; \
36747 (cd $(TARGET_SUBDIR)/newlib && \
36748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36750 "RANLIB=$${RANLIB}" \
36751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36752 install-info) \
36753 || exit 1
36755 @endif target-newlib
36757 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
36758 maybe-install-html-target-newlib:
36759 @if target-newlib
36760 maybe-install-html-target-newlib: install-html-target-newlib
36762 install-html-target-newlib: \
36763 configure-target-newlib \
36764 html-target-newlib
36765 @: $(MAKE); $(unstage)
36766 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36767 r=`${PWD_COMMAND}`; export r; \
36768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36769 $(NORMAL_TARGET_EXPORTS) \
36770 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
36771 for flag in $(EXTRA_TARGET_FLAGS); do \
36772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36773 done; \
36774 (cd $(TARGET_SUBDIR)/newlib && \
36775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36777 "RANLIB=$${RANLIB}" \
36778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36779 install-html) \
36780 || exit 1
36782 @endif target-newlib
36784 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
36785 maybe-installcheck-target-newlib:
36786 @if target-newlib
36787 maybe-installcheck-target-newlib: installcheck-target-newlib
36789 installcheck-target-newlib: \
36790 configure-target-newlib
36791 @: $(MAKE); $(unstage)
36792 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36793 r=`${PWD_COMMAND}`; export r; \
36794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36795 $(NORMAL_TARGET_EXPORTS) \
36796 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
36797 for flag in $(EXTRA_TARGET_FLAGS); do \
36798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36799 done; \
36800 (cd $(TARGET_SUBDIR)/newlib && \
36801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36803 "RANLIB=$${RANLIB}" \
36804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36805 installcheck) \
36806 || exit 1
36808 @endif target-newlib
36810 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
36811 maybe-mostlyclean-target-newlib:
36812 @if target-newlib
36813 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
36815 mostlyclean-target-newlib:
36816 @: $(MAKE); $(unstage)
36817 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36818 r=`${PWD_COMMAND}`; export r; \
36819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36820 $(NORMAL_TARGET_EXPORTS) \
36821 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
36822 for flag in $(EXTRA_TARGET_FLAGS); do \
36823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36824 done; \
36825 (cd $(TARGET_SUBDIR)/newlib && \
36826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36828 "RANLIB=$${RANLIB}" \
36829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36830 mostlyclean) \
36831 || exit 1
36833 @endif target-newlib
36835 .PHONY: maybe-clean-target-newlib clean-target-newlib
36836 maybe-clean-target-newlib:
36837 @if target-newlib
36838 maybe-clean-target-newlib: clean-target-newlib
36840 clean-target-newlib:
36841 @: $(MAKE); $(unstage)
36842 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36843 r=`${PWD_COMMAND}`; export r; \
36844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36845 $(NORMAL_TARGET_EXPORTS) \
36846 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
36847 for flag in $(EXTRA_TARGET_FLAGS); do \
36848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36849 done; \
36850 (cd $(TARGET_SUBDIR)/newlib && \
36851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36853 "RANLIB=$${RANLIB}" \
36854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36855 clean) \
36856 || exit 1
36858 @endif target-newlib
36860 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
36861 maybe-distclean-target-newlib:
36862 @if target-newlib
36863 maybe-distclean-target-newlib: distclean-target-newlib
36865 distclean-target-newlib:
36866 @: $(MAKE); $(unstage)
36867 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36868 r=`${PWD_COMMAND}`; export r; \
36869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36870 $(NORMAL_TARGET_EXPORTS) \
36871 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
36872 for flag in $(EXTRA_TARGET_FLAGS); do \
36873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36874 done; \
36875 (cd $(TARGET_SUBDIR)/newlib && \
36876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36878 "RANLIB=$${RANLIB}" \
36879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36880 distclean) \
36881 || exit 1
36883 @endif target-newlib
36885 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
36886 maybe-maintainer-clean-target-newlib:
36887 @if target-newlib
36888 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
36890 maintainer-clean-target-newlib:
36891 @: $(MAKE); $(unstage)
36892 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36893 r=`${PWD_COMMAND}`; export r; \
36894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36895 $(NORMAL_TARGET_EXPORTS) \
36896 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
36897 for flag in $(EXTRA_TARGET_FLAGS); do \
36898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36899 done; \
36900 (cd $(TARGET_SUBDIR)/newlib && \
36901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36903 "RANLIB=$${RANLIB}" \
36904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36905 maintainer-clean) \
36906 || exit 1
36908 @endif target-newlib
36914 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
36915 maybe-configure-target-libgcc:
36916 @if gcc-bootstrap
36917 configure-target-libgcc: stage_current
36918 @endif gcc-bootstrap
36919 @if target-libgcc
36920 maybe-configure-target-libgcc: configure-target-libgcc
36921 configure-target-libgcc:
36922 @r=`${PWD_COMMAND}`; export r; \
36923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36924 echo "Checking multilib configuration for libgcc..."; \
36925 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36926 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36927 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36928 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36929 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36930 else \
36931 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36932 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36933 fi; \
36934 else \
36935 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36936 fi; \
36937 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36938 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36939 $(NORMAL_TARGET_EXPORTS) \
36940 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
36941 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
36942 case $(srcdir) in \
36943 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36944 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36945 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36946 esac; \
36947 srcdiroption="--srcdir=$${topdir}/libgcc"; \
36948 libsrcdir="$$s/libgcc"; \
36949 rm -f no-such-file || : ; \
36950 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36951 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36952 --target=${target_alias} $${srcdiroption} \
36953 || exit 1
36954 @endif target-libgcc
36958 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
36959 maybe-configure-stage1-target-libgcc:
36960 @if target-libgcc-bootstrap
36961 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
36962 configure-stage1-target-libgcc:
36963 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36964 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36965 @r=`${PWD_COMMAND}`; export r; \
36966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36967 echo "Checking multilib configuration for libgcc..."; \
36968 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36969 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36970 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36971 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36972 else \
36973 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36974 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36975 fi; \
36976 else \
36977 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36978 fi; \
36979 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36980 $(NORMAL_TARGET_EXPORTS) \
36981 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
36982 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36983 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36984 case $(srcdir) in \
36985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36986 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36987 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36988 esac; \
36989 srcdiroption="--srcdir=$${topdir}/libgcc"; \
36990 libsrcdir="$$s/libgcc"; \
36991 $(SHELL) $${libsrcdir}/configure \
36992 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36993 --target=${target_alias} $${srcdiroption} \
36995 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
36996 @endif target-libgcc-bootstrap
36998 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
36999 maybe-configure-stage2-target-libgcc:
37000 @if target-libgcc-bootstrap
37001 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
37002 configure-stage2-target-libgcc:
37003 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
37004 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
37005 @r=`${PWD_COMMAND}`; export r; \
37006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37007 echo "Checking multilib configuration for libgcc..."; \
37008 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
37009 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37010 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37011 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
37012 else \
37013 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
37014 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37015 fi; \
37016 else \
37017 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37018 fi; \
37019 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
37020 $(NORMAL_TARGET_EXPORTS) \
37022 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
37023 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
37024 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
37025 case $(srcdir) in \
37026 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37027 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
37028 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37029 esac; \
37030 srcdiroption="--srcdir=$${topdir}/libgcc"; \
37031 libsrcdir="$$s/libgcc"; \
37032 $(SHELL) $${libsrcdir}/configure \
37033 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37034 --target=${target_alias} $${srcdiroption} \
37035 --with-build-libsubdir=$(HOST_SUBDIR) \
37036 @stage2_werror_flag@
37037 @endif target-libgcc-bootstrap
37039 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
37040 maybe-configure-stage3-target-libgcc:
37041 @if target-libgcc-bootstrap
37042 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
37043 configure-stage3-target-libgcc:
37044 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
37045 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
37046 @r=`${PWD_COMMAND}`; export r; \
37047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37048 echo "Checking multilib configuration for libgcc..."; \
37049 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
37050 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37051 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37052 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
37053 else \
37054 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
37055 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37056 fi; \
37057 else \
37058 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37059 fi; \
37060 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
37061 $(NORMAL_TARGET_EXPORTS) \
37063 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
37064 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
37065 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
37066 case $(srcdir) in \
37067 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37068 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
37069 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37070 esac; \
37071 srcdiroption="--srcdir=$${topdir}/libgcc"; \
37072 libsrcdir="$$s/libgcc"; \
37073 $(SHELL) $${libsrcdir}/configure \
37074 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37075 --target=${target_alias} $${srcdiroption} \
37076 --with-build-libsubdir=$(HOST_SUBDIR) \
37077 @stage2_werror_flag@
37078 @endif target-libgcc-bootstrap
37080 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
37081 maybe-configure-stage4-target-libgcc:
37082 @if target-libgcc-bootstrap
37083 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
37084 configure-stage4-target-libgcc:
37085 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
37086 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
37087 @r=`${PWD_COMMAND}`; export r; \
37088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37089 echo "Checking multilib configuration for libgcc..."; \
37090 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
37091 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37092 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37093 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
37094 else \
37095 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
37096 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37097 fi; \
37098 else \
37099 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37100 fi; \
37101 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
37102 $(NORMAL_TARGET_EXPORTS) \
37104 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
37105 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
37106 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
37107 case $(srcdir) in \
37108 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37109 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
37110 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37111 esac; \
37112 srcdiroption="--srcdir=$${topdir}/libgcc"; \
37113 libsrcdir="$$s/libgcc"; \
37114 $(SHELL) $${libsrcdir}/configure \
37115 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37116 --target=${target_alias} $${srcdiroption} \
37117 --with-build-libsubdir=$(HOST_SUBDIR) \
37118 @stage2_werror_flag@
37119 @endif target-libgcc-bootstrap
37121 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
37122 maybe-configure-stageprofile-target-libgcc:
37123 @if target-libgcc-bootstrap
37124 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
37125 configure-stageprofile-target-libgcc:
37126 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
37127 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
37128 @r=`${PWD_COMMAND}`; export r; \
37129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37130 echo "Checking multilib configuration for libgcc..."; \
37131 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
37132 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37133 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37134 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
37135 else \
37136 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
37137 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37138 fi; \
37139 else \
37140 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37141 fi; \
37142 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
37143 $(NORMAL_TARGET_EXPORTS) \
37145 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
37146 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
37147 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
37148 case $(srcdir) in \
37149 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37150 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
37151 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37152 esac; \
37153 srcdiroption="--srcdir=$${topdir}/libgcc"; \
37154 libsrcdir="$$s/libgcc"; \
37155 $(SHELL) $${libsrcdir}/configure \
37156 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37157 --target=${target_alias} $${srcdiroption} \
37158 --with-build-libsubdir=$(HOST_SUBDIR) \
37159 @stage2_werror_flag@
37160 @endif target-libgcc-bootstrap
37162 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
37163 maybe-configure-stagefeedback-target-libgcc:
37164 @if target-libgcc-bootstrap
37165 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
37166 configure-stagefeedback-target-libgcc:
37167 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
37168 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
37169 @r=`${PWD_COMMAND}`; export r; \
37170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37171 echo "Checking multilib configuration for libgcc..."; \
37172 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
37173 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37174 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37175 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
37176 else \
37177 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
37178 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37179 fi; \
37180 else \
37181 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37182 fi; \
37183 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
37184 $(NORMAL_TARGET_EXPORTS) \
37186 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
37187 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
37188 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
37189 case $(srcdir) in \
37190 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37191 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
37192 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37193 esac; \
37194 srcdiroption="--srcdir=$${topdir}/libgcc"; \
37195 libsrcdir="$$s/libgcc"; \
37196 $(SHELL) $${libsrcdir}/configure \
37197 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37198 --target=${target_alias} $${srcdiroption} \
37199 --with-build-libsubdir=$(HOST_SUBDIR) \
37200 @stage2_werror_flag@
37201 @endif target-libgcc-bootstrap
37207 .PHONY: all-target-libgcc maybe-all-target-libgcc
37208 maybe-all-target-libgcc:
37209 @if gcc-bootstrap
37210 all-target-libgcc: stage_current
37211 @endif gcc-bootstrap
37212 @if target-libgcc
37213 TARGET-target-libgcc=all
37214 maybe-all-target-libgcc: all-target-libgcc
37215 all-target-libgcc: configure-target-libgcc
37216 @r=`${PWD_COMMAND}`; export r; \
37217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37218 $(NORMAL_TARGET_EXPORTS) \
37219 (cd $(TARGET_SUBDIR)/libgcc && \
37220 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgcc))
37221 @endif target-libgcc
37225 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
37226 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
37227 maybe-all-stage1-target-libgcc:
37228 maybe-clean-stage1-target-libgcc:
37229 @if target-libgcc-bootstrap
37230 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
37231 all-stage1: all-stage1-target-libgcc
37232 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
37233 all-stage1-target-libgcc: configure-stage1-target-libgcc
37234 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
37235 @r=`${PWD_COMMAND}`; export r; \
37236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37237 $(NORMAL_TARGET_EXPORTS) \
37238 cd $(TARGET_SUBDIR)/libgcc && \
37239 $(MAKE) $(TARGET_FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
37240 $(TARGET-stage1-target-libgcc)
37242 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
37243 clean-stage1: clean-stage1-target-libgcc
37244 clean-stage1-target-libgcc:
37245 @if [ $(current_stage) = stage1 ]; then \
37246 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37247 else \
37248 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
37249 $(MAKE) stage1-start; \
37250 fi; \
37251 cd $(TARGET_SUBDIR)/libgcc && \
37252 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
37253 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
37254 @endif target-libgcc-bootstrap
37257 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
37258 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
37259 maybe-all-stage2-target-libgcc:
37260 maybe-clean-stage2-target-libgcc:
37261 @if target-libgcc-bootstrap
37262 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
37263 all-stage2: all-stage2-target-libgcc
37264 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
37265 all-stage2-target-libgcc: configure-stage2-target-libgcc
37266 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
37267 @r=`${PWD_COMMAND}`; export r; \
37268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37269 $(NORMAL_TARGET_EXPORTS) \
37271 cd $(TARGET_SUBDIR)/libgcc && \
37272 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
37273 $(TARGET-stage2-target-libgcc)
37275 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
37276 clean-stage2: clean-stage2-target-libgcc
37277 clean-stage2-target-libgcc:
37278 @if [ $(current_stage) = stage2 ]; then \
37279 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37280 else \
37281 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
37282 $(MAKE) stage2-start; \
37283 fi; \
37284 cd $(TARGET_SUBDIR)/libgcc && \
37285 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
37287 clean
37288 @endif target-libgcc-bootstrap
37291 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
37292 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
37293 maybe-all-stage3-target-libgcc:
37294 maybe-clean-stage3-target-libgcc:
37295 @if target-libgcc-bootstrap
37296 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
37297 all-stage3: all-stage3-target-libgcc
37298 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
37299 all-stage3-target-libgcc: configure-stage3-target-libgcc
37300 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
37301 @r=`${PWD_COMMAND}`; export r; \
37302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37303 $(NORMAL_TARGET_EXPORTS) \
37305 cd $(TARGET_SUBDIR)/libgcc && \
37306 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
37307 $(TARGET-stage3-target-libgcc)
37309 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
37310 clean-stage3: clean-stage3-target-libgcc
37311 clean-stage3-target-libgcc:
37312 @if [ $(current_stage) = stage3 ]; then \
37313 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37314 else \
37315 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
37316 $(MAKE) stage3-start; \
37317 fi; \
37318 cd $(TARGET_SUBDIR)/libgcc && \
37319 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
37321 clean
37322 @endif target-libgcc-bootstrap
37325 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
37326 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
37327 maybe-all-stage4-target-libgcc:
37328 maybe-clean-stage4-target-libgcc:
37329 @if target-libgcc-bootstrap
37330 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
37331 all-stage4: all-stage4-target-libgcc
37332 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
37333 all-stage4-target-libgcc: configure-stage4-target-libgcc
37334 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
37335 @r=`${PWD_COMMAND}`; export r; \
37336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37337 $(NORMAL_TARGET_EXPORTS) \
37339 cd $(TARGET_SUBDIR)/libgcc && \
37340 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
37341 $(TARGET-stage4-target-libgcc)
37343 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
37344 clean-stage4: clean-stage4-target-libgcc
37345 clean-stage4-target-libgcc:
37346 @if [ $(current_stage) = stage4 ]; then \
37347 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37348 else \
37349 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
37350 $(MAKE) stage4-start; \
37351 fi; \
37352 cd $(TARGET_SUBDIR)/libgcc && \
37353 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
37355 clean
37356 @endif target-libgcc-bootstrap
37359 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
37360 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
37361 maybe-all-stageprofile-target-libgcc:
37362 maybe-clean-stageprofile-target-libgcc:
37363 @if target-libgcc-bootstrap
37364 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
37365 all-stageprofile: all-stageprofile-target-libgcc
37366 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
37367 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
37368 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
37369 @r=`${PWD_COMMAND}`; export r; \
37370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37371 $(NORMAL_TARGET_EXPORTS) \
37373 cd $(TARGET_SUBDIR)/libgcc && \
37374 $(MAKE) $(TARGET_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
37375 $(TARGET-stageprofile-target-libgcc)
37377 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
37378 clean-stageprofile: clean-stageprofile-target-libgcc
37379 clean-stageprofile-target-libgcc:
37380 @if [ $(current_stage) = stageprofile ]; then \
37381 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37382 else \
37383 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
37384 $(MAKE) stageprofile-start; \
37385 fi; \
37386 cd $(TARGET_SUBDIR)/libgcc && \
37387 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
37389 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
37390 @endif target-libgcc-bootstrap
37393 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
37394 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
37395 maybe-all-stagefeedback-target-libgcc:
37396 maybe-clean-stagefeedback-target-libgcc:
37397 @if target-libgcc-bootstrap
37398 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
37399 all-stagefeedback: all-stagefeedback-target-libgcc
37400 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
37401 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
37402 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
37403 @r=`${PWD_COMMAND}`; export r; \
37404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37405 $(NORMAL_TARGET_EXPORTS) \
37407 cd $(TARGET_SUBDIR)/libgcc && \
37408 $(MAKE) $(TARGET_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
37409 $(TARGET-stagefeedback-target-libgcc)
37411 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
37412 clean-stagefeedback: clean-stagefeedback-target-libgcc
37413 clean-stagefeedback-target-libgcc:
37414 @if [ $(current_stage) = stagefeedback ]; then \
37415 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37416 else \
37417 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
37418 $(MAKE) stagefeedback-start; \
37419 fi; \
37420 cd $(TARGET_SUBDIR)/libgcc && \
37421 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
37423 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
37424 @endif target-libgcc-bootstrap
37431 .PHONY: check-target-libgcc maybe-check-target-libgcc
37432 maybe-check-target-libgcc:
37433 @if target-libgcc
37434 maybe-check-target-libgcc: check-target-libgcc
37436 # Dummy target for uncheckable module.
37437 check-target-libgcc:
37439 @endif target-libgcc
37441 .PHONY: install-target-libgcc maybe-install-target-libgcc
37442 maybe-install-target-libgcc:
37443 @if target-libgcc
37444 maybe-install-target-libgcc: install-target-libgcc
37446 install-target-libgcc: installdirs
37447 @: $(MAKE); $(unstage)
37448 @r=`${PWD_COMMAND}`; export r; \
37449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37450 $(NORMAL_TARGET_EXPORTS) \
37451 (cd $(TARGET_SUBDIR)/libgcc && \
37452 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37454 @endif target-libgcc
37456 # Other targets (info, dvi, pdf, etc.)
37458 .PHONY: maybe-info-target-libgcc info-target-libgcc
37459 maybe-info-target-libgcc:
37460 @if target-libgcc
37461 maybe-info-target-libgcc: info-target-libgcc
37463 info-target-libgcc: \
37464 configure-target-libgcc
37465 @: $(MAKE); $(unstage)
37466 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37467 r=`${PWD_COMMAND}`; export r; \
37468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37469 $(NORMAL_TARGET_EXPORTS) \
37470 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
37471 for flag in $(EXTRA_TARGET_FLAGS); do \
37472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37473 done; \
37474 (cd $(TARGET_SUBDIR)/libgcc && \
37475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37477 "RANLIB=$${RANLIB}" \
37478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37479 info) \
37480 || exit 1
37482 @endif target-libgcc
37484 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
37485 maybe-dvi-target-libgcc:
37486 @if target-libgcc
37487 maybe-dvi-target-libgcc: dvi-target-libgcc
37489 dvi-target-libgcc: \
37490 configure-target-libgcc
37491 @: $(MAKE); $(unstage)
37492 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37493 r=`${PWD_COMMAND}`; export r; \
37494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37495 $(NORMAL_TARGET_EXPORTS) \
37496 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
37497 for flag in $(EXTRA_TARGET_FLAGS); do \
37498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37499 done; \
37500 (cd $(TARGET_SUBDIR)/libgcc && \
37501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37503 "RANLIB=$${RANLIB}" \
37504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37505 dvi) \
37506 || exit 1
37508 @endif target-libgcc
37510 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
37511 maybe-pdf-target-libgcc:
37512 @if target-libgcc
37513 maybe-pdf-target-libgcc: pdf-target-libgcc
37515 pdf-target-libgcc: \
37516 configure-target-libgcc
37517 @: $(MAKE); $(unstage)
37518 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37519 r=`${PWD_COMMAND}`; export r; \
37520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37521 $(NORMAL_TARGET_EXPORTS) \
37522 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
37523 for flag in $(EXTRA_TARGET_FLAGS); do \
37524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37525 done; \
37526 (cd $(TARGET_SUBDIR)/libgcc && \
37527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37529 "RANLIB=$${RANLIB}" \
37530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37531 pdf) \
37532 || exit 1
37534 @endif target-libgcc
37536 .PHONY: maybe-html-target-libgcc html-target-libgcc
37537 maybe-html-target-libgcc:
37538 @if target-libgcc
37539 maybe-html-target-libgcc: html-target-libgcc
37541 html-target-libgcc: \
37542 configure-target-libgcc
37543 @: $(MAKE); $(unstage)
37544 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37545 r=`${PWD_COMMAND}`; export r; \
37546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37547 $(NORMAL_TARGET_EXPORTS) \
37548 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
37549 for flag in $(EXTRA_TARGET_FLAGS); do \
37550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37551 done; \
37552 (cd $(TARGET_SUBDIR)/libgcc && \
37553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37555 "RANLIB=$${RANLIB}" \
37556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37557 html) \
37558 || exit 1
37560 @endif target-libgcc
37562 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
37563 maybe-TAGS-target-libgcc:
37564 @if target-libgcc
37565 maybe-TAGS-target-libgcc: TAGS-target-libgcc
37567 TAGS-target-libgcc: \
37568 configure-target-libgcc
37569 @: $(MAKE); $(unstage)
37570 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37571 r=`${PWD_COMMAND}`; export r; \
37572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37573 $(NORMAL_TARGET_EXPORTS) \
37574 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
37575 for flag in $(EXTRA_TARGET_FLAGS); do \
37576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37577 done; \
37578 (cd $(TARGET_SUBDIR)/libgcc && \
37579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37581 "RANLIB=$${RANLIB}" \
37582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37583 TAGS) \
37584 || exit 1
37586 @endif target-libgcc
37588 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
37589 maybe-install-info-target-libgcc:
37590 @if target-libgcc
37591 maybe-install-info-target-libgcc: install-info-target-libgcc
37593 install-info-target-libgcc: \
37594 configure-target-libgcc \
37595 info-target-libgcc
37596 @: $(MAKE); $(unstage)
37597 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37598 r=`${PWD_COMMAND}`; export r; \
37599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37600 $(NORMAL_TARGET_EXPORTS) \
37601 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
37602 for flag in $(EXTRA_TARGET_FLAGS); do \
37603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37604 done; \
37605 (cd $(TARGET_SUBDIR)/libgcc && \
37606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37608 "RANLIB=$${RANLIB}" \
37609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37610 install-info) \
37611 || exit 1
37613 @endif target-libgcc
37615 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
37616 maybe-install-html-target-libgcc:
37617 @if target-libgcc
37618 maybe-install-html-target-libgcc: install-html-target-libgcc
37620 install-html-target-libgcc: \
37621 configure-target-libgcc \
37622 html-target-libgcc
37623 @: $(MAKE); $(unstage)
37624 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37625 r=`${PWD_COMMAND}`; export r; \
37626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37627 $(NORMAL_TARGET_EXPORTS) \
37628 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
37629 for flag in $(EXTRA_TARGET_FLAGS); do \
37630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37631 done; \
37632 (cd $(TARGET_SUBDIR)/libgcc && \
37633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37635 "RANLIB=$${RANLIB}" \
37636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37637 install-html) \
37638 || exit 1
37640 @endif target-libgcc
37642 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
37643 maybe-installcheck-target-libgcc:
37644 @if target-libgcc
37645 maybe-installcheck-target-libgcc: installcheck-target-libgcc
37647 installcheck-target-libgcc: \
37648 configure-target-libgcc
37649 @: $(MAKE); $(unstage)
37650 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37651 r=`${PWD_COMMAND}`; export r; \
37652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37653 $(NORMAL_TARGET_EXPORTS) \
37654 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
37655 for flag in $(EXTRA_TARGET_FLAGS); do \
37656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37657 done; \
37658 (cd $(TARGET_SUBDIR)/libgcc && \
37659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37661 "RANLIB=$${RANLIB}" \
37662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37663 installcheck) \
37664 || exit 1
37666 @endif target-libgcc
37668 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
37669 maybe-mostlyclean-target-libgcc:
37670 @if target-libgcc
37671 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
37673 mostlyclean-target-libgcc:
37674 @: $(MAKE); $(unstage)
37675 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37676 r=`${PWD_COMMAND}`; export r; \
37677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37678 $(NORMAL_TARGET_EXPORTS) \
37679 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
37680 for flag in $(EXTRA_TARGET_FLAGS); do \
37681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37682 done; \
37683 (cd $(TARGET_SUBDIR)/libgcc && \
37684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37686 "RANLIB=$${RANLIB}" \
37687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37688 mostlyclean) \
37689 || exit 1
37691 @endif target-libgcc
37693 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
37694 maybe-clean-target-libgcc:
37695 @if target-libgcc
37696 maybe-clean-target-libgcc: clean-target-libgcc
37698 clean-target-libgcc:
37699 @: $(MAKE); $(unstage)
37700 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37701 r=`${PWD_COMMAND}`; export r; \
37702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37703 $(NORMAL_TARGET_EXPORTS) \
37704 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
37705 for flag in $(EXTRA_TARGET_FLAGS); do \
37706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37707 done; \
37708 (cd $(TARGET_SUBDIR)/libgcc && \
37709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37711 "RANLIB=$${RANLIB}" \
37712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37713 clean) \
37714 || exit 1
37716 @endif target-libgcc
37718 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
37719 maybe-distclean-target-libgcc:
37720 @if target-libgcc
37721 maybe-distclean-target-libgcc: distclean-target-libgcc
37723 distclean-target-libgcc:
37724 @: $(MAKE); $(unstage)
37725 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37726 r=`${PWD_COMMAND}`; export r; \
37727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37728 $(NORMAL_TARGET_EXPORTS) \
37729 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
37730 for flag in $(EXTRA_TARGET_FLAGS); do \
37731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37732 done; \
37733 (cd $(TARGET_SUBDIR)/libgcc && \
37734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37736 "RANLIB=$${RANLIB}" \
37737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37738 distclean) \
37739 || exit 1
37741 @endif target-libgcc
37743 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
37744 maybe-maintainer-clean-target-libgcc:
37745 @if target-libgcc
37746 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
37748 maintainer-clean-target-libgcc:
37749 @: $(MAKE); $(unstage)
37750 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37751 r=`${PWD_COMMAND}`; export r; \
37752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37753 $(NORMAL_TARGET_EXPORTS) \
37754 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
37755 for flag in $(EXTRA_TARGET_FLAGS); do \
37756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37757 done; \
37758 (cd $(TARGET_SUBDIR)/libgcc && \
37759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37761 "RANLIB=$${RANLIB}" \
37762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37763 maintainer-clean) \
37764 || exit 1
37766 @endif target-libgcc
37772 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
37773 maybe-configure-target-libgfortran:
37774 @if gcc-bootstrap
37775 configure-target-libgfortran: stage_current
37776 @endif gcc-bootstrap
37777 @if target-libgfortran
37778 maybe-configure-target-libgfortran: configure-target-libgfortran
37779 configure-target-libgfortran:
37780 @: $(MAKE); $(unstage)
37781 @r=`${PWD_COMMAND}`; export r; \
37782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37783 echo "Checking multilib configuration for libgfortran..."; \
37784 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
37785 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
37786 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
37787 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
37788 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
37789 else \
37790 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
37791 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
37792 fi; \
37793 else \
37794 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
37795 fi; \
37796 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
37797 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
37798 $(NORMAL_TARGET_EXPORTS) \
37799 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
37800 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
37801 case $(srcdir) in \
37802 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37803 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
37804 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37805 esac; \
37806 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
37807 libsrcdir="$$s/libgfortran"; \
37808 rm -f no-such-file || : ; \
37809 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37810 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37811 --target=${target_alias} $${srcdiroption} \
37812 || exit 1
37813 @endif target-libgfortran
37819 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
37820 maybe-all-target-libgfortran:
37821 @if gcc-bootstrap
37822 all-target-libgfortran: stage_current
37823 @endif gcc-bootstrap
37824 @if target-libgfortran
37825 TARGET-target-libgfortran=all
37826 maybe-all-target-libgfortran: all-target-libgfortran
37827 all-target-libgfortran: configure-target-libgfortran
37828 @: $(MAKE); $(unstage)
37829 @r=`${PWD_COMMAND}`; export r; \
37830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37831 $(NORMAL_TARGET_EXPORTS) \
37832 (cd $(TARGET_SUBDIR)/libgfortran && \
37833 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
37834 @endif target-libgfortran
37840 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
37841 maybe-check-target-libgfortran:
37842 @if target-libgfortran
37843 maybe-check-target-libgfortran: check-target-libgfortran
37845 check-target-libgfortran:
37846 @: $(MAKE); $(unstage)
37847 @r=`${PWD_COMMAND}`; export r; \
37848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37849 $(NORMAL_TARGET_EXPORTS) \
37850 (cd $(TARGET_SUBDIR)/libgfortran && \
37851 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37853 @endif target-libgfortran
37855 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
37856 maybe-install-target-libgfortran:
37857 @if target-libgfortran
37858 maybe-install-target-libgfortran: install-target-libgfortran
37860 install-target-libgfortran: installdirs
37861 @: $(MAKE); $(unstage)
37862 @r=`${PWD_COMMAND}`; export r; \
37863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37864 $(NORMAL_TARGET_EXPORTS) \
37865 (cd $(TARGET_SUBDIR)/libgfortran && \
37866 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37868 @endif target-libgfortran
37870 # Other targets (info, dvi, pdf, etc.)
37872 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
37873 maybe-info-target-libgfortran:
37874 @if target-libgfortran
37875 maybe-info-target-libgfortran: info-target-libgfortran
37877 info-target-libgfortran: \
37878 configure-target-libgfortran
37879 @: $(MAKE); $(unstage)
37880 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37881 r=`${PWD_COMMAND}`; export r; \
37882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37883 $(NORMAL_TARGET_EXPORTS) \
37884 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
37885 for flag in $(EXTRA_TARGET_FLAGS); do \
37886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37887 done; \
37888 (cd $(TARGET_SUBDIR)/libgfortran && \
37889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37891 "RANLIB=$${RANLIB}" \
37892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37893 info) \
37894 || exit 1
37896 @endif target-libgfortran
37898 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
37899 maybe-dvi-target-libgfortran:
37900 @if target-libgfortran
37901 maybe-dvi-target-libgfortran: dvi-target-libgfortran
37903 dvi-target-libgfortran: \
37904 configure-target-libgfortran
37905 @: $(MAKE); $(unstage)
37906 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37907 r=`${PWD_COMMAND}`; export r; \
37908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37909 $(NORMAL_TARGET_EXPORTS) \
37910 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
37911 for flag in $(EXTRA_TARGET_FLAGS); do \
37912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37913 done; \
37914 (cd $(TARGET_SUBDIR)/libgfortran && \
37915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37917 "RANLIB=$${RANLIB}" \
37918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37919 dvi) \
37920 || exit 1
37922 @endif target-libgfortran
37924 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
37925 maybe-pdf-target-libgfortran:
37926 @if target-libgfortran
37927 maybe-pdf-target-libgfortran: pdf-target-libgfortran
37929 pdf-target-libgfortran: \
37930 configure-target-libgfortran
37931 @: $(MAKE); $(unstage)
37932 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37933 r=`${PWD_COMMAND}`; export r; \
37934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37935 $(NORMAL_TARGET_EXPORTS) \
37936 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
37937 for flag in $(EXTRA_TARGET_FLAGS); do \
37938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37939 done; \
37940 (cd $(TARGET_SUBDIR)/libgfortran && \
37941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37943 "RANLIB=$${RANLIB}" \
37944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37945 pdf) \
37946 || exit 1
37948 @endif target-libgfortran
37950 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
37951 maybe-html-target-libgfortran:
37952 @if target-libgfortran
37953 maybe-html-target-libgfortran: html-target-libgfortran
37955 html-target-libgfortran: \
37956 configure-target-libgfortran
37957 @: $(MAKE); $(unstage)
37958 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37959 r=`${PWD_COMMAND}`; export r; \
37960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37961 $(NORMAL_TARGET_EXPORTS) \
37962 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
37963 for flag in $(EXTRA_TARGET_FLAGS); do \
37964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37965 done; \
37966 (cd $(TARGET_SUBDIR)/libgfortran && \
37967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37969 "RANLIB=$${RANLIB}" \
37970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37971 html) \
37972 || exit 1
37974 @endif target-libgfortran
37976 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
37977 maybe-TAGS-target-libgfortran:
37978 @if target-libgfortran
37979 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
37981 TAGS-target-libgfortran: \
37982 configure-target-libgfortran
37983 @: $(MAKE); $(unstage)
37984 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37985 r=`${PWD_COMMAND}`; export r; \
37986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37987 $(NORMAL_TARGET_EXPORTS) \
37988 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
37989 for flag in $(EXTRA_TARGET_FLAGS); do \
37990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37991 done; \
37992 (cd $(TARGET_SUBDIR)/libgfortran && \
37993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37995 "RANLIB=$${RANLIB}" \
37996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37997 TAGS) \
37998 || exit 1
38000 @endif target-libgfortran
38002 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
38003 maybe-install-info-target-libgfortran:
38004 @if target-libgfortran
38005 maybe-install-info-target-libgfortran: install-info-target-libgfortran
38007 install-info-target-libgfortran: \
38008 configure-target-libgfortran \
38009 info-target-libgfortran
38010 @: $(MAKE); $(unstage)
38011 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38012 r=`${PWD_COMMAND}`; export r; \
38013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38014 $(NORMAL_TARGET_EXPORTS) \
38015 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
38016 for flag in $(EXTRA_TARGET_FLAGS); do \
38017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38018 done; \
38019 (cd $(TARGET_SUBDIR)/libgfortran && \
38020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38022 "RANLIB=$${RANLIB}" \
38023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38024 install-info) \
38025 || exit 1
38027 @endif target-libgfortran
38029 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
38030 maybe-install-html-target-libgfortran:
38031 @if target-libgfortran
38032 maybe-install-html-target-libgfortran: install-html-target-libgfortran
38034 install-html-target-libgfortran: \
38035 configure-target-libgfortran \
38036 html-target-libgfortran
38037 @: $(MAKE); $(unstage)
38038 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38039 r=`${PWD_COMMAND}`; export r; \
38040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38041 $(NORMAL_TARGET_EXPORTS) \
38042 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
38043 for flag in $(EXTRA_TARGET_FLAGS); do \
38044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38045 done; \
38046 (cd $(TARGET_SUBDIR)/libgfortran && \
38047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38049 "RANLIB=$${RANLIB}" \
38050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38051 install-html) \
38052 || exit 1
38054 @endif target-libgfortran
38056 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
38057 maybe-installcheck-target-libgfortran:
38058 @if target-libgfortran
38059 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
38061 installcheck-target-libgfortran: \
38062 configure-target-libgfortran
38063 @: $(MAKE); $(unstage)
38064 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38065 r=`${PWD_COMMAND}`; export r; \
38066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38067 $(NORMAL_TARGET_EXPORTS) \
38068 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
38069 for flag in $(EXTRA_TARGET_FLAGS); do \
38070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38071 done; \
38072 (cd $(TARGET_SUBDIR)/libgfortran && \
38073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38075 "RANLIB=$${RANLIB}" \
38076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38077 installcheck) \
38078 || exit 1
38080 @endif target-libgfortran
38082 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
38083 maybe-mostlyclean-target-libgfortran:
38084 @if target-libgfortran
38085 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
38087 mostlyclean-target-libgfortran:
38088 @: $(MAKE); $(unstage)
38089 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38090 r=`${PWD_COMMAND}`; export r; \
38091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38092 $(NORMAL_TARGET_EXPORTS) \
38093 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
38094 for flag in $(EXTRA_TARGET_FLAGS); do \
38095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38096 done; \
38097 (cd $(TARGET_SUBDIR)/libgfortran && \
38098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38100 "RANLIB=$${RANLIB}" \
38101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38102 mostlyclean) \
38103 || exit 1
38105 @endif target-libgfortran
38107 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
38108 maybe-clean-target-libgfortran:
38109 @if target-libgfortran
38110 maybe-clean-target-libgfortran: clean-target-libgfortran
38112 clean-target-libgfortran:
38113 @: $(MAKE); $(unstage)
38114 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38115 r=`${PWD_COMMAND}`; export r; \
38116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38117 $(NORMAL_TARGET_EXPORTS) \
38118 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
38119 for flag in $(EXTRA_TARGET_FLAGS); do \
38120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38121 done; \
38122 (cd $(TARGET_SUBDIR)/libgfortran && \
38123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38125 "RANLIB=$${RANLIB}" \
38126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38127 clean) \
38128 || exit 1
38130 @endif target-libgfortran
38132 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
38133 maybe-distclean-target-libgfortran:
38134 @if target-libgfortran
38135 maybe-distclean-target-libgfortran: distclean-target-libgfortran
38137 distclean-target-libgfortran:
38138 @: $(MAKE); $(unstage)
38139 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38140 r=`${PWD_COMMAND}`; export r; \
38141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38142 $(NORMAL_TARGET_EXPORTS) \
38143 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
38144 for flag in $(EXTRA_TARGET_FLAGS); do \
38145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38146 done; \
38147 (cd $(TARGET_SUBDIR)/libgfortran && \
38148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38150 "RANLIB=$${RANLIB}" \
38151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38152 distclean) \
38153 || exit 1
38155 @endif target-libgfortran
38157 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
38158 maybe-maintainer-clean-target-libgfortran:
38159 @if target-libgfortran
38160 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
38162 maintainer-clean-target-libgfortran:
38163 @: $(MAKE); $(unstage)
38164 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38165 r=`${PWD_COMMAND}`; export r; \
38166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38167 $(NORMAL_TARGET_EXPORTS) \
38168 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
38169 for flag in $(EXTRA_TARGET_FLAGS); do \
38170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38171 done; \
38172 (cd $(TARGET_SUBDIR)/libgfortran && \
38173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38175 "RANLIB=$${RANLIB}" \
38176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38177 maintainer-clean) \
38178 || exit 1
38180 @endif target-libgfortran
38186 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
38187 maybe-configure-target-libobjc:
38188 @if gcc-bootstrap
38189 configure-target-libobjc: stage_current
38190 @endif gcc-bootstrap
38191 @if target-libobjc
38192 maybe-configure-target-libobjc: configure-target-libobjc
38193 configure-target-libobjc:
38194 @: $(MAKE); $(unstage)
38195 @r=`${PWD_COMMAND}`; export r; \
38196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38197 echo "Checking multilib configuration for libobjc..."; \
38198 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
38199 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
38200 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
38201 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
38202 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
38203 else \
38204 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
38205 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
38206 fi; \
38207 else \
38208 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
38209 fi; \
38210 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
38211 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
38212 $(NORMAL_TARGET_EXPORTS) \
38213 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
38214 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
38215 case $(srcdir) in \
38216 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38217 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
38218 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38219 esac; \
38220 srcdiroption="--srcdir=$${topdir}/libobjc"; \
38221 libsrcdir="$$s/libobjc"; \
38222 rm -f no-such-file || : ; \
38223 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38224 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38225 --target=${target_alias} $${srcdiroption} \
38226 || exit 1
38227 @endif target-libobjc
38233 .PHONY: all-target-libobjc maybe-all-target-libobjc
38234 maybe-all-target-libobjc:
38235 @if gcc-bootstrap
38236 all-target-libobjc: stage_current
38237 @endif gcc-bootstrap
38238 @if target-libobjc
38239 TARGET-target-libobjc=all
38240 maybe-all-target-libobjc: all-target-libobjc
38241 all-target-libobjc: configure-target-libobjc
38242 @: $(MAKE); $(unstage)
38243 @r=`${PWD_COMMAND}`; export r; \
38244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38245 $(NORMAL_TARGET_EXPORTS) \
38246 (cd $(TARGET_SUBDIR)/libobjc && \
38247 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
38248 @endif target-libobjc
38254 .PHONY: check-target-libobjc maybe-check-target-libobjc
38255 maybe-check-target-libobjc:
38256 @if target-libobjc
38257 maybe-check-target-libobjc: check-target-libobjc
38259 check-target-libobjc:
38260 @: $(MAKE); $(unstage)
38261 @r=`${PWD_COMMAND}`; export r; \
38262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38263 $(NORMAL_TARGET_EXPORTS) \
38264 (cd $(TARGET_SUBDIR)/libobjc && \
38265 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38267 @endif target-libobjc
38269 .PHONY: install-target-libobjc maybe-install-target-libobjc
38270 maybe-install-target-libobjc:
38271 @if target-libobjc
38272 maybe-install-target-libobjc: install-target-libobjc
38274 install-target-libobjc: installdirs
38275 @: $(MAKE); $(unstage)
38276 @r=`${PWD_COMMAND}`; export r; \
38277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38278 $(NORMAL_TARGET_EXPORTS) \
38279 (cd $(TARGET_SUBDIR)/libobjc && \
38280 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38282 @endif target-libobjc
38284 # Other targets (info, dvi, pdf, etc.)
38286 .PHONY: maybe-info-target-libobjc info-target-libobjc
38287 maybe-info-target-libobjc:
38288 @if target-libobjc
38289 maybe-info-target-libobjc: info-target-libobjc
38291 info-target-libobjc: \
38292 configure-target-libobjc
38293 @: $(MAKE); $(unstage)
38294 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38295 r=`${PWD_COMMAND}`; export r; \
38296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38297 $(NORMAL_TARGET_EXPORTS) \
38298 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
38299 for flag in $(EXTRA_TARGET_FLAGS); do \
38300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38301 done; \
38302 (cd $(TARGET_SUBDIR)/libobjc && \
38303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38305 "RANLIB=$${RANLIB}" \
38306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38307 info) \
38308 || exit 1
38310 @endif target-libobjc
38312 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
38313 maybe-dvi-target-libobjc:
38314 @if target-libobjc
38315 maybe-dvi-target-libobjc: dvi-target-libobjc
38317 dvi-target-libobjc: \
38318 configure-target-libobjc
38319 @: $(MAKE); $(unstage)
38320 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38321 r=`${PWD_COMMAND}`; export r; \
38322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38323 $(NORMAL_TARGET_EXPORTS) \
38324 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
38325 for flag in $(EXTRA_TARGET_FLAGS); do \
38326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38327 done; \
38328 (cd $(TARGET_SUBDIR)/libobjc && \
38329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38331 "RANLIB=$${RANLIB}" \
38332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38333 dvi) \
38334 || exit 1
38336 @endif target-libobjc
38338 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
38339 maybe-pdf-target-libobjc:
38340 @if target-libobjc
38341 maybe-pdf-target-libobjc: pdf-target-libobjc
38343 pdf-target-libobjc: \
38344 configure-target-libobjc
38345 @: $(MAKE); $(unstage)
38346 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38347 r=`${PWD_COMMAND}`; export r; \
38348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38349 $(NORMAL_TARGET_EXPORTS) \
38350 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
38351 for flag in $(EXTRA_TARGET_FLAGS); do \
38352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38353 done; \
38354 (cd $(TARGET_SUBDIR)/libobjc && \
38355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38357 "RANLIB=$${RANLIB}" \
38358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38359 pdf) \
38360 || exit 1
38362 @endif target-libobjc
38364 .PHONY: maybe-html-target-libobjc html-target-libobjc
38365 maybe-html-target-libobjc:
38366 @if target-libobjc
38367 maybe-html-target-libobjc: html-target-libobjc
38369 html-target-libobjc: \
38370 configure-target-libobjc
38371 @: $(MAKE); $(unstage)
38372 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38373 r=`${PWD_COMMAND}`; export r; \
38374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38375 $(NORMAL_TARGET_EXPORTS) \
38376 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
38377 for flag in $(EXTRA_TARGET_FLAGS); do \
38378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38379 done; \
38380 (cd $(TARGET_SUBDIR)/libobjc && \
38381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38383 "RANLIB=$${RANLIB}" \
38384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38385 html) \
38386 || exit 1
38388 @endif target-libobjc
38390 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
38391 maybe-TAGS-target-libobjc:
38392 @if target-libobjc
38393 maybe-TAGS-target-libobjc: TAGS-target-libobjc
38395 TAGS-target-libobjc: \
38396 configure-target-libobjc
38397 @: $(MAKE); $(unstage)
38398 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38399 r=`${PWD_COMMAND}`; export r; \
38400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38401 $(NORMAL_TARGET_EXPORTS) \
38402 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
38403 for flag in $(EXTRA_TARGET_FLAGS); do \
38404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38405 done; \
38406 (cd $(TARGET_SUBDIR)/libobjc && \
38407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38409 "RANLIB=$${RANLIB}" \
38410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38411 TAGS) \
38412 || exit 1
38414 @endif target-libobjc
38416 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
38417 maybe-install-info-target-libobjc:
38418 @if target-libobjc
38419 maybe-install-info-target-libobjc: install-info-target-libobjc
38421 install-info-target-libobjc: \
38422 configure-target-libobjc \
38423 info-target-libobjc
38424 @: $(MAKE); $(unstage)
38425 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38426 r=`${PWD_COMMAND}`; export r; \
38427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38428 $(NORMAL_TARGET_EXPORTS) \
38429 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
38430 for flag in $(EXTRA_TARGET_FLAGS); do \
38431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38432 done; \
38433 (cd $(TARGET_SUBDIR)/libobjc && \
38434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38436 "RANLIB=$${RANLIB}" \
38437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38438 install-info) \
38439 || exit 1
38441 @endif target-libobjc
38443 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
38444 maybe-install-html-target-libobjc:
38445 @if target-libobjc
38446 maybe-install-html-target-libobjc: install-html-target-libobjc
38448 install-html-target-libobjc: \
38449 configure-target-libobjc \
38450 html-target-libobjc
38451 @: $(MAKE); $(unstage)
38452 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38453 r=`${PWD_COMMAND}`; export r; \
38454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38455 $(NORMAL_TARGET_EXPORTS) \
38456 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
38457 for flag in $(EXTRA_TARGET_FLAGS); do \
38458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38459 done; \
38460 (cd $(TARGET_SUBDIR)/libobjc && \
38461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38463 "RANLIB=$${RANLIB}" \
38464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38465 install-html) \
38466 || exit 1
38468 @endif target-libobjc
38470 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
38471 maybe-installcheck-target-libobjc:
38472 @if target-libobjc
38473 maybe-installcheck-target-libobjc: installcheck-target-libobjc
38475 installcheck-target-libobjc: \
38476 configure-target-libobjc
38477 @: $(MAKE); $(unstage)
38478 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38479 r=`${PWD_COMMAND}`; export r; \
38480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38481 $(NORMAL_TARGET_EXPORTS) \
38482 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
38483 for flag in $(EXTRA_TARGET_FLAGS); do \
38484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38485 done; \
38486 (cd $(TARGET_SUBDIR)/libobjc && \
38487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38489 "RANLIB=$${RANLIB}" \
38490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38491 installcheck) \
38492 || exit 1
38494 @endif target-libobjc
38496 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
38497 maybe-mostlyclean-target-libobjc:
38498 @if target-libobjc
38499 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
38501 mostlyclean-target-libobjc:
38502 @: $(MAKE); $(unstage)
38503 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38504 r=`${PWD_COMMAND}`; export r; \
38505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38506 $(NORMAL_TARGET_EXPORTS) \
38507 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
38508 for flag in $(EXTRA_TARGET_FLAGS); do \
38509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38510 done; \
38511 (cd $(TARGET_SUBDIR)/libobjc && \
38512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38514 "RANLIB=$${RANLIB}" \
38515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38516 mostlyclean) \
38517 || exit 1
38519 @endif target-libobjc
38521 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
38522 maybe-clean-target-libobjc:
38523 @if target-libobjc
38524 maybe-clean-target-libobjc: clean-target-libobjc
38526 clean-target-libobjc:
38527 @: $(MAKE); $(unstage)
38528 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38529 r=`${PWD_COMMAND}`; export r; \
38530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38531 $(NORMAL_TARGET_EXPORTS) \
38532 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
38533 for flag in $(EXTRA_TARGET_FLAGS); do \
38534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38535 done; \
38536 (cd $(TARGET_SUBDIR)/libobjc && \
38537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38539 "RANLIB=$${RANLIB}" \
38540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38541 clean) \
38542 || exit 1
38544 @endif target-libobjc
38546 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
38547 maybe-distclean-target-libobjc:
38548 @if target-libobjc
38549 maybe-distclean-target-libobjc: distclean-target-libobjc
38551 distclean-target-libobjc:
38552 @: $(MAKE); $(unstage)
38553 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38554 r=`${PWD_COMMAND}`; export r; \
38555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38556 $(NORMAL_TARGET_EXPORTS) \
38557 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
38558 for flag in $(EXTRA_TARGET_FLAGS); do \
38559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38560 done; \
38561 (cd $(TARGET_SUBDIR)/libobjc && \
38562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38564 "RANLIB=$${RANLIB}" \
38565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38566 distclean) \
38567 || exit 1
38569 @endif target-libobjc
38571 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
38572 maybe-maintainer-clean-target-libobjc:
38573 @if target-libobjc
38574 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
38576 maintainer-clean-target-libobjc:
38577 @: $(MAKE); $(unstage)
38578 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38579 r=`${PWD_COMMAND}`; export r; \
38580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38581 $(NORMAL_TARGET_EXPORTS) \
38582 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
38583 for flag in $(EXTRA_TARGET_FLAGS); do \
38584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38585 done; \
38586 (cd $(TARGET_SUBDIR)/libobjc && \
38587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38589 "RANLIB=$${RANLIB}" \
38590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38591 maintainer-clean) \
38592 || exit 1
38594 @endif target-libobjc
38600 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
38601 maybe-configure-target-libtermcap:
38602 @if gcc-bootstrap
38603 configure-target-libtermcap: stage_current
38604 @endif gcc-bootstrap
38605 @if target-libtermcap
38606 maybe-configure-target-libtermcap: configure-target-libtermcap
38607 configure-target-libtermcap:
38608 @: $(MAKE); $(unstage)
38609 @r=`${PWD_COMMAND}`; export r; \
38610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38611 echo "Checking multilib configuration for libtermcap..."; \
38612 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
38613 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
38614 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
38615 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
38616 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
38617 else \
38618 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
38619 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
38620 fi; \
38621 else \
38622 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
38623 fi; \
38624 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
38625 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
38626 $(NORMAL_TARGET_EXPORTS) \
38627 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
38628 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
38629 case $(srcdir) in \
38630 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38631 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
38632 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38633 esac; \
38634 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
38635 libsrcdir="$$s/libtermcap"; \
38636 rm -f no-such-file || : ; \
38637 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38638 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38639 --target=${target_alias} $${srcdiroption} \
38640 || exit 1
38641 @endif target-libtermcap
38647 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
38648 maybe-all-target-libtermcap:
38649 @if gcc-bootstrap
38650 all-target-libtermcap: stage_current
38651 @endif gcc-bootstrap
38652 @if target-libtermcap
38653 TARGET-target-libtermcap=all
38654 maybe-all-target-libtermcap: all-target-libtermcap
38655 all-target-libtermcap: configure-target-libtermcap
38656 @: $(MAKE); $(unstage)
38657 @r=`${PWD_COMMAND}`; export r; \
38658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38659 $(NORMAL_TARGET_EXPORTS) \
38660 (cd $(TARGET_SUBDIR)/libtermcap && \
38661 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
38662 @endif target-libtermcap
38668 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
38669 maybe-check-target-libtermcap:
38670 @if target-libtermcap
38671 maybe-check-target-libtermcap: check-target-libtermcap
38673 # Dummy target for uncheckable module.
38674 check-target-libtermcap:
38676 @endif target-libtermcap
38678 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
38679 maybe-install-target-libtermcap:
38680 @if target-libtermcap
38681 maybe-install-target-libtermcap: install-target-libtermcap
38683 install-target-libtermcap: installdirs
38684 @: $(MAKE); $(unstage)
38685 @r=`${PWD_COMMAND}`; export r; \
38686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38687 $(NORMAL_TARGET_EXPORTS) \
38688 (cd $(TARGET_SUBDIR)/libtermcap && \
38689 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38691 @endif target-libtermcap
38693 # Other targets (info, dvi, pdf, etc.)
38695 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
38696 maybe-info-target-libtermcap:
38697 @if target-libtermcap
38698 maybe-info-target-libtermcap: info-target-libtermcap
38700 info-target-libtermcap: \
38701 configure-target-libtermcap
38702 @: $(MAKE); $(unstage)
38703 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38704 r=`${PWD_COMMAND}`; export r; \
38705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38706 $(NORMAL_TARGET_EXPORTS) \
38707 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
38708 for flag in $(EXTRA_TARGET_FLAGS); do \
38709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38710 done; \
38711 (cd $(TARGET_SUBDIR)/libtermcap && \
38712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38714 "RANLIB=$${RANLIB}" \
38715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38716 info) \
38717 || exit 1
38719 @endif target-libtermcap
38721 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
38722 maybe-dvi-target-libtermcap:
38723 @if target-libtermcap
38724 maybe-dvi-target-libtermcap: dvi-target-libtermcap
38726 dvi-target-libtermcap: \
38727 configure-target-libtermcap
38728 @: $(MAKE); $(unstage)
38729 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38730 r=`${PWD_COMMAND}`; export r; \
38731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38732 $(NORMAL_TARGET_EXPORTS) \
38733 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
38734 for flag in $(EXTRA_TARGET_FLAGS); do \
38735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38736 done; \
38737 (cd $(TARGET_SUBDIR)/libtermcap && \
38738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38740 "RANLIB=$${RANLIB}" \
38741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38742 dvi) \
38743 || exit 1
38745 @endif target-libtermcap
38747 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
38748 maybe-pdf-target-libtermcap:
38749 @if target-libtermcap
38750 maybe-pdf-target-libtermcap: pdf-target-libtermcap
38752 pdf-target-libtermcap: \
38753 configure-target-libtermcap
38754 @: $(MAKE); $(unstage)
38755 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38756 r=`${PWD_COMMAND}`; export r; \
38757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38758 $(NORMAL_TARGET_EXPORTS) \
38759 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
38760 for flag in $(EXTRA_TARGET_FLAGS); do \
38761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38762 done; \
38763 (cd $(TARGET_SUBDIR)/libtermcap && \
38764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38766 "RANLIB=$${RANLIB}" \
38767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38768 pdf) \
38769 || exit 1
38771 @endif target-libtermcap
38773 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
38774 maybe-html-target-libtermcap:
38775 @if target-libtermcap
38776 maybe-html-target-libtermcap: html-target-libtermcap
38778 html-target-libtermcap: \
38779 configure-target-libtermcap
38780 @: $(MAKE); $(unstage)
38781 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38782 r=`${PWD_COMMAND}`; export r; \
38783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38784 $(NORMAL_TARGET_EXPORTS) \
38785 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
38786 for flag in $(EXTRA_TARGET_FLAGS); do \
38787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38788 done; \
38789 (cd $(TARGET_SUBDIR)/libtermcap && \
38790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38792 "RANLIB=$${RANLIB}" \
38793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38794 html) \
38795 || exit 1
38797 @endif target-libtermcap
38799 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
38800 maybe-TAGS-target-libtermcap:
38801 @if target-libtermcap
38802 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
38804 TAGS-target-libtermcap: \
38805 configure-target-libtermcap
38806 @: $(MAKE); $(unstage)
38807 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38808 r=`${PWD_COMMAND}`; export r; \
38809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38810 $(NORMAL_TARGET_EXPORTS) \
38811 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
38812 for flag in $(EXTRA_TARGET_FLAGS); do \
38813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38814 done; \
38815 (cd $(TARGET_SUBDIR)/libtermcap && \
38816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38818 "RANLIB=$${RANLIB}" \
38819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38820 TAGS) \
38821 || exit 1
38823 @endif target-libtermcap
38825 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
38826 maybe-install-info-target-libtermcap:
38827 @if target-libtermcap
38828 maybe-install-info-target-libtermcap: install-info-target-libtermcap
38830 install-info-target-libtermcap: \
38831 configure-target-libtermcap \
38832 info-target-libtermcap
38833 @: $(MAKE); $(unstage)
38834 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38835 r=`${PWD_COMMAND}`; export r; \
38836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38837 $(NORMAL_TARGET_EXPORTS) \
38838 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
38839 for flag in $(EXTRA_TARGET_FLAGS); do \
38840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38841 done; \
38842 (cd $(TARGET_SUBDIR)/libtermcap && \
38843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38845 "RANLIB=$${RANLIB}" \
38846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38847 install-info) \
38848 || exit 1
38850 @endif target-libtermcap
38852 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
38853 maybe-install-html-target-libtermcap:
38854 @if target-libtermcap
38855 maybe-install-html-target-libtermcap: install-html-target-libtermcap
38857 install-html-target-libtermcap: \
38858 configure-target-libtermcap \
38859 html-target-libtermcap
38860 @: $(MAKE); $(unstage)
38861 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38862 r=`${PWD_COMMAND}`; export r; \
38863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38864 $(NORMAL_TARGET_EXPORTS) \
38865 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
38866 for flag in $(EXTRA_TARGET_FLAGS); do \
38867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38868 done; \
38869 (cd $(TARGET_SUBDIR)/libtermcap && \
38870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38872 "RANLIB=$${RANLIB}" \
38873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38874 install-html) \
38875 || exit 1
38877 @endif target-libtermcap
38879 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
38880 maybe-installcheck-target-libtermcap:
38881 @if target-libtermcap
38882 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
38884 installcheck-target-libtermcap: \
38885 configure-target-libtermcap
38886 @: $(MAKE); $(unstage)
38887 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38888 r=`${PWD_COMMAND}`; export r; \
38889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38890 $(NORMAL_TARGET_EXPORTS) \
38891 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
38892 for flag in $(EXTRA_TARGET_FLAGS); do \
38893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38894 done; \
38895 (cd $(TARGET_SUBDIR)/libtermcap && \
38896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38898 "RANLIB=$${RANLIB}" \
38899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38900 installcheck) \
38901 || exit 1
38903 @endif target-libtermcap
38905 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
38906 maybe-mostlyclean-target-libtermcap:
38907 @if target-libtermcap
38908 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
38910 # libtermcap doesn't support mostlyclean.
38911 mostlyclean-target-libtermcap:
38913 @endif target-libtermcap
38915 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
38916 maybe-clean-target-libtermcap:
38917 @if target-libtermcap
38918 maybe-clean-target-libtermcap: clean-target-libtermcap
38920 # libtermcap doesn't support clean.
38921 clean-target-libtermcap:
38923 @endif target-libtermcap
38925 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
38926 maybe-distclean-target-libtermcap:
38927 @if target-libtermcap
38928 maybe-distclean-target-libtermcap: distclean-target-libtermcap
38930 # libtermcap doesn't support distclean.
38931 distclean-target-libtermcap:
38933 @endif target-libtermcap
38935 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
38936 maybe-maintainer-clean-target-libtermcap:
38937 @if target-libtermcap
38938 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
38940 # libtermcap doesn't support maintainer-clean.
38941 maintainer-clean-target-libtermcap:
38943 @endif target-libtermcap
38949 .PHONY: configure-target-winsup maybe-configure-target-winsup
38950 maybe-configure-target-winsup:
38951 @if gcc-bootstrap
38952 configure-target-winsup: stage_current
38953 @endif gcc-bootstrap
38954 @if target-winsup
38955 maybe-configure-target-winsup: configure-target-winsup
38956 configure-target-winsup:
38957 @: $(MAKE); $(unstage)
38958 @r=`${PWD_COMMAND}`; export r; \
38959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38960 echo "Checking multilib configuration for winsup..."; \
38961 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
38962 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
38963 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
38964 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
38965 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
38966 else \
38967 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
38968 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
38969 fi; \
38970 else \
38971 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
38972 fi; \
38973 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
38974 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
38975 $(NORMAL_TARGET_EXPORTS) \
38976 echo Configuring in $(TARGET_SUBDIR)/winsup; \
38977 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
38978 case $(srcdir) in \
38979 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38980 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
38981 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38982 esac; \
38983 srcdiroption="--srcdir=$${topdir}/winsup"; \
38984 libsrcdir="$$s/winsup"; \
38985 rm -f no-such-file || : ; \
38986 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38987 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38988 --target=${target_alias} $${srcdiroption} \
38989 || exit 1
38990 @endif target-winsup
38996 .PHONY: all-target-winsup maybe-all-target-winsup
38997 maybe-all-target-winsup:
38998 @if gcc-bootstrap
38999 all-target-winsup: stage_current
39000 @endif gcc-bootstrap
39001 @if target-winsup
39002 TARGET-target-winsup=all
39003 maybe-all-target-winsup: all-target-winsup
39004 all-target-winsup: configure-target-winsup
39005 @: $(MAKE); $(unstage)
39006 @r=`${PWD_COMMAND}`; export r; \
39007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39008 $(NORMAL_TARGET_EXPORTS) \
39009 (cd $(TARGET_SUBDIR)/winsup && \
39010 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
39011 @endif target-winsup
39017 .PHONY: check-target-winsup maybe-check-target-winsup
39018 maybe-check-target-winsup:
39019 @if target-winsup
39020 maybe-check-target-winsup: check-target-winsup
39022 check-target-winsup:
39023 @: $(MAKE); $(unstage)
39024 @r=`${PWD_COMMAND}`; export r; \
39025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39026 $(NORMAL_TARGET_EXPORTS) \
39027 (cd $(TARGET_SUBDIR)/winsup && \
39028 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39030 @endif target-winsup
39032 .PHONY: install-target-winsup maybe-install-target-winsup
39033 maybe-install-target-winsup:
39034 @if target-winsup
39035 maybe-install-target-winsup: install-target-winsup
39037 install-target-winsup: installdirs
39038 @: $(MAKE); $(unstage)
39039 @r=`${PWD_COMMAND}`; export r; \
39040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39041 $(NORMAL_TARGET_EXPORTS) \
39042 (cd $(TARGET_SUBDIR)/winsup && \
39043 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39045 @endif target-winsup
39047 # Other targets (info, dvi, pdf, etc.)
39049 .PHONY: maybe-info-target-winsup info-target-winsup
39050 maybe-info-target-winsup:
39051 @if target-winsup
39052 maybe-info-target-winsup: info-target-winsup
39054 info-target-winsup: \
39055 configure-target-winsup
39056 @: $(MAKE); $(unstage)
39057 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39058 r=`${PWD_COMMAND}`; export r; \
39059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39060 $(NORMAL_TARGET_EXPORTS) \
39061 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
39062 for flag in $(EXTRA_TARGET_FLAGS); do \
39063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39064 done; \
39065 (cd $(TARGET_SUBDIR)/winsup && \
39066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39068 "RANLIB=$${RANLIB}" \
39069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39070 info) \
39071 || exit 1
39073 @endif target-winsup
39075 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
39076 maybe-dvi-target-winsup:
39077 @if target-winsup
39078 maybe-dvi-target-winsup: dvi-target-winsup
39080 dvi-target-winsup: \
39081 configure-target-winsup
39082 @: $(MAKE); $(unstage)
39083 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39084 r=`${PWD_COMMAND}`; export r; \
39085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39086 $(NORMAL_TARGET_EXPORTS) \
39087 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
39088 for flag in $(EXTRA_TARGET_FLAGS); do \
39089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39090 done; \
39091 (cd $(TARGET_SUBDIR)/winsup && \
39092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39094 "RANLIB=$${RANLIB}" \
39095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39096 dvi) \
39097 || exit 1
39099 @endif target-winsup
39101 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
39102 maybe-pdf-target-winsup:
39103 @if target-winsup
39104 maybe-pdf-target-winsup: pdf-target-winsup
39106 pdf-target-winsup: \
39107 configure-target-winsup
39108 @: $(MAKE); $(unstage)
39109 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39110 r=`${PWD_COMMAND}`; export r; \
39111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39112 $(NORMAL_TARGET_EXPORTS) \
39113 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
39114 for flag in $(EXTRA_TARGET_FLAGS); do \
39115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39116 done; \
39117 (cd $(TARGET_SUBDIR)/winsup && \
39118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39120 "RANLIB=$${RANLIB}" \
39121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39122 pdf) \
39123 || exit 1
39125 @endif target-winsup
39127 .PHONY: maybe-html-target-winsup html-target-winsup
39128 maybe-html-target-winsup:
39129 @if target-winsup
39130 maybe-html-target-winsup: html-target-winsup
39132 html-target-winsup: \
39133 configure-target-winsup
39134 @: $(MAKE); $(unstage)
39135 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39136 r=`${PWD_COMMAND}`; export r; \
39137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39138 $(NORMAL_TARGET_EXPORTS) \
39139 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
39140 for flag in $(EXTRA_TARGET_FLAGS); do \
39141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39142 done; \
39143 (cd $(TARGET_SUBDIR)/winsup && \
39144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39146 "RANLIB=$${RANLIB}" \
39147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39148 html) \
39149 || exit 1
39151 @endif target-winsup
39153 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
39154 maybe-TAGS-target-winsup:
39155 @if target-winsup
39156 maybe-TAGS-target-winsup: TAGS-target-winsup
39158 TAGS-target-winsup: \
39159 configure-target-winsup
39160 @: $(MAKE); $(unstage)
39161 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39162 r=`${PWD_COMMAND}`; export r; \
39163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39164 $(NORMAL_TARGET_EXPORTS) \
39165 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
39166 for flag in $(EXTRA_TARGET_FLAGS); do \
39167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39168 done; \
39169 (cd $(TARGET_SUBDIR)/winsup && \
39170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39172 "RANLIB=$${RANLIB}" \
39173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39174 TAGS) \
39175 || exit 1
39177 @endif target-winsup
39179 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
39180 maybe-install-info-target-winsup:
39181 @if target-winsup
39182 maybe-install-info-target-winsup: install-info-target-winsup
39184 install-info-target-winsup: \
39185 configure-target-winsup \
39186 info-target-winsup
39187 @: $(MAKE); $(unstage)
39188 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39189 r=`${PWD_COMMAND}`; export r; \
39190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39191 $(NORMAL_TARGET_EXPORTS) \
39192 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
39193 for flag in $(EXTRA_TARGET_FLAGS); do \
39194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39195 done; \
39196 (cd $(TARGET_SUBDIR)/winsup && \
39197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39199 "RANLIB=$${RANLIB}" \
39200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39201 install-info) \
39202 || exit 1
39204 @endif target-winsup
39206 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
39207 maybe-install-html-target-winsup:
39208 @if target-winsup
39209 maybe-install-html-target-winsup: install-html-target-winsup
39211 install-html-target-winsup: \
39212 configure-target-winsup \
39213 html-target-winsup
39214 @: $(MAKE); $(unstage)
39215 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39216 r=`${PWD_COMMAND}`; export r; \
39217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39218 $(NORMAL_TARGET_EXPORTS) \
39219 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
39220 for flag in $(EXTRA_TARGET_FLAGS); do \
39221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39222 done; \
39223 (cd $(TARGET_SUBDIR)/winsup && \
39224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39226 "RANLIB=$${RANLIB}" \
39227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39228 install-html) \
39229 || exit 1
39231 @endif target-winsup
39233 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
39234 maybe-installcheck-target-winsup:
39235 @if target-winsup
39236 maybe-installcheck-target-winsup: installcheck-target-winsup
39238 installcheck-target-winsup: \
39239 configure-target-winsup
39240 @: $(MAKE); $(unstage)
39241 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39242 r=`${PWD_COMMAND}`; export r; \
39243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39244 $(NORMAL_TARGET_EXPORTS) \
39245 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
39246 for flag in $(EXTRA_TARGET_FLAGS); do \
39247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39248 done; \
39249 (cd $(TARGET_SUBDIR)/winsup && \
39250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39252 "RANLIB=$${RANLIB}" \
39253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39254 installcheck) \
39255 || exit 1
39257 @endif target-winsup
39259 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
39260 maybe-mostlyclean-target-winsup:
39261 @if target-winsup
39262 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
39264 mostlyclean-target-winsup:
39265 @: $(MAKE); $(unstage)
39266 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39267 r=`${PWD_COMMAND}`; export r; \
39268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39269 $(NORMAL_TARGET_EXPORTS) \
39270 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
39271 for flag in $(EXTRA_TARGET_FLAGS); do \
39272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39273 done; \
39274 (cd $(TARGET_SUBDIR)/winsup && \
39275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39277 "RANLIB=$${RANLIB}" \
39278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39279 mostlyclean) \
39280 || exit 1
39282 @endif target-winsup
39284 .PHONY: maybe-clean-target-winsup clean-target-winsup
39285 maybe-clean-target-winsup:
39286 @if target-winsup
39287 maybe-clean-target-winsup: clean-target-winsup
39289 clean-target-winsup:
39290 @: $(MAKE); $(unstage)
39291 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39292 r=`${PWD_COMMAND}`; export r; \
39293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39294 $(NORMAL_TARGET_EXPORTS) \
39295 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
39296 for flag in $(EXTRA_TARGET_FLAGS); do \
39297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39298 done; \
39299 (cd $(TARGET_SUBDIR)/winsup && \
39300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39302 "RANLIB=$${RANLIB}" \
39303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39304 clean) \
39305 || exit 1
39307 @endif target-winsup
39309 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
39310 maybe-distclean-target-winsup:
39311 @if target-winsup
39312 maybe-distclean-target-winsup: distclean-target-winsup
39314 distclean-target-winsup:
39315 @: $(MAKE); $(unstage)
39316 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39317 r=`${PWD_COMMAND}`; export r; \
39318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39319 $(NORMAL_TARGET_EXPORTS) \
39320 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
39321 for flag in $(EXTRA_TARGET_FLAGS); do \
39322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39323 done; \
39324 (cd $(TARGET_SUBDIR)/winsup && \
39325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39327 "RANLIB=$${RANLIB}" \
39328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39329 distclean) \
39330 || exit 1
39332 @endif target-winsup
39334 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
39335 maybe-maintainer-clean-target-winsup:
39336 @if target-winsup
39337 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
39339 maintainer-clean-target-winsup:
39340 @: $(MAKE); $(unstage)
39341 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39342 r=`${PWD_COMMAND}`; export r; \
39343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39344 $(NORMAL_TARGET_EXPORTS) \
39345 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
39346 for flag in $(EXTRA_TARGET_FLAGS); do \
39347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39348 done; \
39349 (cd $(TARGET_SUBDIR)/winsup && \
39350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39352 "RANLIB=$${RANLIB}" \
39353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39354 maintainer-clean) \
39355 || exit 1
39357 @endif target-winsup
39363 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
39364 maybe-configure-target-libgloss:
39365 @if gcc-bootstrap
39366 configure-target-libgloss: stage_current
39367 @endif gcc-bootstrap
39368 @if target-libgloss
39369 maybe-configure-target-libgloss: configure-target-libgloss
39370 configure-target-libgloss:
39371 @: $(MAKE); $(unstage)
39372 @r=`${PWD_COMMAND}`; export r; \
39373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39374 echo "Checking multilib configuration for libgloss..."; \
39375 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
39376 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
39377 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
39378 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
39379 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
39380 else \
39381 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
39382 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
39383 fi; \
39384 else \
39385 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
39386 fi; \
39387 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
39388 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
39389 $(NORMAL_TARGET_EXPORTS) \
39390 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
39391 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
39392 case $(srcdir) in \
39393 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39394 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
39395 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39396 esac; \
39397 srcdiroption="--srcdir=$${topdir}/libgloss"; \
39398 libsrcdir="$$s/libgloss"; \
39399 rm -f no-such-file || : ; \
39400 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39401 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39402 --target=${target_alias} $${srcdiroption} \
39403 || exit 1
39404 @endif target-libgloss
39410 .PHONY: all-target-libgloss maybe-all-target-libgloss
39411 maybe-all-target-libgloss:
39412 @if gcc-bootstrap
39413 all-target-libgloss: stage_current
39414 @endif gcc-bootstrap
39415 @if target-libgloss
39416 TARGET-target-libgloss=all
39417 maybe-all-target-libgloss: all-target-libgloss
39418 all-target-libgloss: configure-target-libgloss
39419 @: $(MAKE); $(unstage)
39420 @r=`${PWD_COMMAND}`; export r; \
39421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39422 $(NORMAL_TARGET_EXPORTS) \
39423 (cd $(TARGET_SUBDIR)/libgloss && \
39424 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
39425 @endif target-libgloss
39431 .PHONY: check-target-libgloss maybe-check-target-libgloss
39432 maybe-check-target-libgloss:
39433 @if target-libgloss
39434 maybe-check-target-libgloss: check-target-libgloss
39436 # Dummy target for uncheckable module.
39437 check-target-libgloss:
39439 @endif target-libgloss
39441 .PHONY: install-target-libgloss maybe-install-target-libgloss
39442 maybe-install-target-libgloss:
39443 @if target-libgloss
39444 maybe-install-target-libgloss: install-target-libgloss
39446 install-target-libgloss: installdirs
39447 @: $(MAKE); $(unstage)
39448 @r=`${PWD_COMMAND}`; export r; \
39449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39450 $(NORMAL_TARGET_EXPORTS) \
39451 (cd $(TARGET_SUBDIR)/libgloss && \
39452 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39454 @endif target-libgloss
39456 # Other targets (info, dvi, pdf, etc.)
39458 .PHONY: maybe-info-target-libgloss info-target-libgloss
39459 maybe-info-target-libgloss:
39460 @if target-libgloss
39461 maybe-info-target-libgloss: info-target-libgloss
39463 info-target-libgloss: \
39464 configure-target-libgloss
39465 @: $(MAKE); $(unstage)
39466 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39467 r=`${PWD_COMMAND}`; export r; \
39468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39469 $(NORMAL_TARGET_EXPORTS) \
39470 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
39471 for flag in $(EXTRA_TARGET_FLAGS); do \
39472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39473 done; \
39474 (cd $(TARGET_SUBDIR)/libgloss && \
39475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39477 "RANLIB=$${RANLIB}" \
39478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39479 info) \
39480 || exit 1
39482 @endif target-libgloss
39484 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
39485 maybe-dvi-target-libgloss:
39486 @if target-libgloss
39487 maybe-dvi-target-libgloss: dvi-target-libgloss
39489 dvi-target-libgloss: \
39490 configure-target-libgloss
39491 @: $(MAKE); $(unstage)
39492 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39493 r=`${PWD_COMMAND}`; export r; \
39494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39495 $(NORMAL_TARGET_EXPORTS) \
39496 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
39497 for flag in $(EXTRA_TARGET_FLAGS); do \
39498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39499 done; \
39500 (cd $(TARGET_SUBDIR)/libgloss && \
39501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39503 "RANLIB=$${RANLIB}" \
39504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39505 dvi) \
39506 || exit 1
39508 @endif target-libgloss
39510 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
39511 maybe-pdf-target-libgloss:
39512 @if target-libgloss
39513 maybe-pdf-target-libgloss: pdf-target-libgloss
39515 pdf-target-libgloss: \
39516 configure-target-libgloss
39517 @: $(MAKE); $(unstage)
39518 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39519 r=`${PWD_COMMAND}`; export r; \
39520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39521 $(NORMAL_TARGET_EXPORTS) \
39522 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
39523 for flag in $(EXTRA_TARGET_FLAGS); do \
39524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39525 done; \
39526 (cd $(TARGET_SUBDIR)/libgloss && \
39527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39529 "RANLIB=$${RANLIB}" \
39530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39531 pdf) \
39532 || exit 1
39534 @endif target-libgloss
39536 .PHONY: maybe-html-target-libgloss html-target-libgloss
39537 maybe-html-target-libgloss:
39538 @if target-libgloss
39539 maybe-html-target-libgloss: html-target-libgloss
39541 html-target-libgloss: \
39542 configure-target-libgloss
39543 @: $(MAKE); $(unstage)
39544 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39545 r=`${PWD_COMMAND}`; export r; \
39546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39547 $(NORMAL_TARGET_EXPORTS) \
39548 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
39549 for flag in $(EXTRA_TARGET_FLAGS); do \
39550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39551 done; \
39552 (cd $(TARGET_SUBDIR)/libgloss && \
39553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39555 "RANLIB=$${RANLIB}" \
39556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39557 html) \
39558 || exit 1
39560 @endif target-libgloss
39562 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
39563 maybe-TAGS-target-libgloss:
39564 @if target-libgloss
39565 maybe-TAGS-target-libgloss: TAGS-target-libgloss
39567 TAGS-target-libgloss: \
39568 configure-target-libgloss
39569 @: $(MAKE); $(unstage)
39570 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39571 r=`${PWD_COMMAND}`; export r; \
39572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39573 $(NORMAL_TARGET_EXPORTS) \
39574 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
39575 for flag in $(EXTRA_TARGET_FLAGS); do \
39576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39577 done; \
39578 (cd $(TARGET_SUBDIR)/libgloss && \
39579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39581 "RANLIB=$${RANLIB}" \
39582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39583 TAGS) \
39584 || exit 1
39586 @endif target-libgloss
39588 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
39589 maybe-install-info-target-libgloss:
39590 @if target-libgloss
39591 maybe-install-info-target-libgloss: install-info-target-libgloss
39593 install-info-target-libgloss: \
39594 configure-target-libgloss \
39595 info-target-libgloss
39596 @: $(MAKE); $(unstage)
39597 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39598 r=`${PWD_COMMAND}`; export r; \
39599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39600 $(NORMAL_TARGET_EXPORTS) \
39601 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
39602 for flag in $(EXTRA_TARGET_FLAGS); do \
39603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39604 done; \
39605 (cd $(TARGET_SUBDIR)/libgloss && \
39606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39608 "RANLIB=$${RANLIB}" \
39609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39610 install-info) \
39611 || exit 1
39613 @endif target-libgloss
39615 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
39616 maybe-install-html-target-libgloss:
39617 @if target-libgloss
39618 maybe-install-html-target-libgloss: install-html-target-libgloss
39620 install-html-target-libgloss: \
39621 configure-target-libgloss \
39622 html-target-libgloss
39623 @: $(MAKE); $(unstage)
39624 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39625 r=`${PWD_COMMAND}`; export r; \
39626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39627 $(NORMAL_TARGET_EXPORTS) \
39628 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
39629 for flag in $(EXTRA_TARGET_FLAGS); do \
39630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39631 done; \
39632 (cd $(TARGET_SUBDIR)/libgloss && \
39633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39635 "RANLIB=$${RANLIB}" \
39636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39637 install-html) \
39638 || exit 1
39640 @endif target-libgloss
39642 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
39643 maybe-installcheck-target-libgloss:
39644 @if target-libgloss
39645 maybe-installcheck-target-libgloss: installcheck-target-libgloss
39647 installcheck-target-libgloss: \
39648 configure-target-libgloss
39649 @: $(MAKE); $(unstage)
39650 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39651 r=`${PWD_COMMAND}`; export r; \
39652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39653 $(NORMAL_TARGET_EXPORTS) \
39654 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
39655 for flag in $(EXTRA_TARGET_FLAGS); do \
39656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39657 done; \
39658 (cd $(TARGET_SUBDIR)/libgloss && \
39659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39661 "RANLIB=$${RANLIB}" \
39662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39663 installcheck) \
39664 || exit 1
39666 @endif target-libgloss
39668 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
39669 maybe-mostlyclean-target-libgloss:
39670 @if target-libgloss
39671 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
39673 mostlyclean-target-libgloss:
39674 @: $(MAKE); $(unstage)
39675 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39676 r=`${PWD_COMMAND}`; export r; \
39677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39678 $(NORMAL_TARGET_EXPORTS) \
39679 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
39680 for flag in $(EXTRA_TARGET_FLAGS); do \
39681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39682 done; \
39683 (cd $(TARGET_SUBDIR)/libgloss && \
39684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39686 "RANLIB=$${RANLIB}" \
39687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39688 mostlyclean) \
39689 || exit 1
39691 @endif target-libgloss
39693 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
39694 maybe-clean-target-libgloss:
39695 @if target-libgloss
39696 maybe-clean-target-libgloss: clean-target-libgloss
39698 clean-target-libgloss:
39699 @: $(MAKE); $(unstage)
39700 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39701 r=`${PWD_COMMAND}`; export r; \
39702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39703 $(NORMAL_TARGET_EXPORTS) \
39704 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
39705 for flag in $(EXTRA_TARGET_FLAGS); do \
39706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39707 done; \
39708 (cd $(TARGET_SUBDIR)/libgloss && \
39709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39711 "RANLIB=$${RANLIB}" \
39712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39713 clean) \
39714 || exit 1
39716 @endif target-libgloss
39718 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
39719 maybe-distclean-target-libgloss:
39720 @if target-libgloss
39721 maybe-distclean-target-libgloss: distclean-target-libgloss
39723 distclean-target-libgloss:
39724 @: $(MAKE); $(unstage)
39725 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39726 r=`${PWD_COMMAND}`; export r; \
39727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39728 $(NORMAL_TARGET_EXPORTS) \
39729 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
39730 for flag in $(EXTRA_TARGET_FLAGS); do \
39731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39732 done; \
39733 (cd $(TARGET_SUBDIR)/libgloss && \
39734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39736 "RANLIB=$${RANLIB}" \
39737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39738 distclean) \
39739 || exit 1
39741 @endif target-libgloss
39743 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
39744 maybe-maintainer-clean-target-libgloss:
39745 @if target-libgloss
39746 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
39748 maintainer-clean-target-libgloss:
39749 @: $(MAKE); $(unstage)
39750 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39751 r=`${PWD_COMMAND}`; export r; \
39752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39753 $(NORMAL_TARGET_EXPORTS) \
39754 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
39755 for flag in $(EXTRA_TARGET_FLAGS); do \
39756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39757 done; \
39758 (cd $(TARGET_SUBDIR)/libgloss && \
39759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39761 "RANLIB=$${RANLIB}" \
39762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39763 maintainer-clean) \
39764 || exit 1
39766 @endif target-libgloss
39772 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
39773 maybe-configure-target-libiberty:
39774 @if gcc-bootstrap
39775 configure-target-libiberty: stage_current
39776 @endif gcc-bootstrap
39777 @if target-libiberty
39778 maybe-configure-target-libiberty: configure-target-libiberty
39779 configure-target-libiberty:
39780 @: $(MAKE); $(unstage)
39781 @r=`${PWD_COMMAND}`; export r; \
39782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39783 echo "Checking multilib configuration for libiberty..."; \
39784 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
39785 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
39786 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
39787 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
39788 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
39789 else \
39790 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
39791 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
39792 fi; \
39793 else \
39794 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
39795 fi; \
39796 test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
39797 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
39798 $(NORMAL_TARGET_EXPORTS) \
39799 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
39800 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
39801 case $(srcdir) in \
39802 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39803 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
39804 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39805 esac; \
39806 srcdiroption="--srcdir=$${topdir}/libiberty"; \
39807 libsrcdir="$$s/libiberty"; \
39808 rm -f no-such-file || : ; \
39809 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39810 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39811 --target=${target_alias} $${srcdiroption} \
39812 || exit 1
39813 @endif target-libiberty
39819 .PHONY: all-target-libiberty maybe-all-target-libiberty
39820 maybe-all-target-libiberty:
39821 @if gcc-bootstrap
39822 all-target-libiberty: stage_current
39823 @endif gcc-bootstrap
39824 @if target-libiberty
39825 TARGET-target-libiberty=all
39826 maybe-all-target-libiberty: all-target-libiberty
39827 all-target-libiberty: configure-target-libiberty
39828 @: $(MAKE); $(unstage)
39829 @r=`${PWD_COMMAND}`; export r; \
39830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39831 $(NORMAL_TARGET_EXPORTS) \
39832 (cd $(TARGET_SUBDIR)/libiberty && \
39833 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
39834 @endif target-libiberty
39840 .PHONY: check-target-libiberty maybe-check-target-libiberty
39841 maybe-check-target-libiberty:
39842 @if target-libiberty
39843 maybe-check-target-libiberty: check-target-libiberty
39845 check-target-libiberty:
39846 @: $(MAKE); $(unstage)
39847 @r=`${PWD_COMMAND}`; export r; \
39848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39849 $(NORMAL_TARGET_EXPORTS) \
39850 (cd $(TARGET_SUBDIR)/libiberty && \
39851 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39853 @endif target-libiberty
39855 .PHONY: install-target-libiberty maybe-install-target-libiberty
39856 maybe-install-target-libiberty:
39857 @if target-libiberty
39858 maybe-install-target-libiberty: install-target-libiberty
39860 install-target-libiberty: installdirs
39861 @: $(MAKE); $(unstage)
39862 @r=`${PWD_COMMAND}`; export r; \
39863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39864 $(NORMAL_TARGET_EXPORTS) \
39865 (cd $(TARGET_SUBDIR)/libiberty && \
39866 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39868 @endif target-libiberty
39870 # Other targets (info, dvi, pdf, etc.)
39872 .PHONY: maybe-info-target-libiberty info-target-libiberty
39873 maybe-info-target-libiberty:
39874 @if target-libiberty
39875 maybe-info-target-libiberty: info-target-libiberty
39877 info-target-libiberty: \
39878 configure-target-libiberty
39879 @: $(MAKE); $(unstage)
39880 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
39881 r=`${PWD_COMMAND}`; export r; \
39882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39883 $(NORMAL_TARGET_EXPORTS) \
39884 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
39885 for flag in $(EXTRA_TARGET_FLAGS); do \
39886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39887 done; \
39888 (cd $(TARGET_SUBDIR)/libiberty && \
39889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39891 "RANLIB=$${RANLIB}" \
39892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39893 info) \
39894 || exit 1
39896 @endif target-libiberty
39898 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
39899 maybe-dvi-target-libiberty:
39900 @if target-libiberty
39901 maybe-dvi-target-libiberty: dvi-target-libiberty
39903 dvi-target-libiberty: \
39904 configure-target-libiberty
39905 @: $(MAKE); $(unstage)
39906 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
39907 r=`${PWD_COMMAND}`; export r; \
39908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39909 $(NORMAL_TARGET_EXPORTS) \
39910 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
39911 for flag in $(EXTRA_TARGET_FLAGS); do \
39912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39913 done; \
39914 (cd $(TARGET_SUBDIR)/libiberty && \
39915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39917 "RANLIB=$${RANLIB}" \
39918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39919 dvi) \
39920 || exit 1
39922 @endif target-libiberty
39924 .PHONY: maybe-pdf-target-libiberty pdf-target-libiberty
39925 maybe-pdf-target-libiberty:
39926 @if target-libiberty
39927 maybe-pdf-target-libiberty: pdf-target-libiberty
39929 pdf-target-libiberty: \
39930 configure-target-libiberty
39931 @: $(MAKE); $(unstage)
39932 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
39933 r=`${PWD_COMMAND}`; export r; \
39934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39935 $(NORMAL_TARGET_EXPORTS) \
39936 echo "Doing pdf in $(TARGET_SUBDIR)/libiberty" ; \
39937 for flag in $(EXTRA_TARGET_FLAGS); do \
39938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39939 done; \
39940 (cd $(TARGET_SUBDIR)/libiberty && \
39941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39943 "RANLIB=$${RANLIB}" \
39944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39945 pdf) \
39946 || exit 1
39948 @endif target-libiberty
39950 .PHONY: maybe-html-target-libiberty html-target-libiberty
39951 maybe-html-target-libiberty:
39952 @if target-libiberty
39953 maybe-html-target-libiberty: html-target-libiberty
39955 html-target-libiberty: \
39956 configure-target-libiberty
39957 @: $(MAKE); $(unstage)
39958 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
39959 r=`${PWD_COMMAND}`; export r; \
39960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39961 $(NORMAL_TARGET_EXPORTS) \
39962 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
39963 for flag in $(EXTRA_TARGET_FLAGS); do \
39964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39965 done; \
39966 (cd $(TARGET_SUBDIR)/libiberty && \
39967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39969 "RANLIB=$${RANLIB}" \
39970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39971 html) \
39972 || exit 1
39974 @endif target-libiberty
39976 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
39977 maybe-TAGS-target-libiberty:
39978 @if target-libiberty
39979 maybe-TAGS-target-libiberty: TAGS-target-libiberty
39981 TAGS-target-libiberty: \
39982 configure-target-libiberty
39983 @: $(MAKE); $(unstage)
39984 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
39985 r=`${PWD_COMMAND}`; export r; \
39986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39987 $(NORMAL_TARGET_EXPORTS) \
39988 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
39989 for flag in $(EXTRA_TARGET_FLAGS); do \
39990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39991 done; \
39992 (cd $(TARGET_SUBDIR)/libiberty && \
39993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39995 "RANLIB=$${RANLIB}" \
39996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39997 TAGS) \
39998 || exit 1
40000 @endif target-libiberty
40002 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
40003 maybe-install-info-target-libiberty:
40004 @if target-libiberty
40005 maybe-install-info-target-libiberty: install-info-target-libiberty
40007 install-info-target-libiberty: \
40008 configure-target-libiberty \
40009 info-target-libiberty
40010 @: $(MAKE); $(unstage)
40011 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
40012 r=`${PWD_COMMAND}`; export r; \
40013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40014 $(NORMAL_TARGET_EXPORTS) \
40015 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
40016 for flag in $(EXTRA_TARGET_FLAGS); do \
40017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40018 done; \
40019 (cd $(TARGET_SUBDIR)/libiberty && \
40020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40022 "RANLIB=$${RANLIB}" \
40023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40024 install-info) \
40025 || exit 1
40027 @endif target-libiberty
40029 .PHONY: maybe-install-html-target-libiberty install-html-target-libiberty
40030 maybe-install-html-target-libiberty:
40031 @if target-libiberty
40032 maybe-install-html-target-libiberty: install-html-target-libiberty
40034 install-html-target-libiberty: \
40035 configure-target-libiberty \
40036 html-target-libiberty
40037 @: $(MAKE); $(unstage)
40038 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
40039 r=`${PWD_COMMAND}`; export r; \
40040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40041 $(NORMAL_TARGET_EXPORTS) \
40042 echo "Doing install-html in $(TARGET_SUBDIR)/libiberty" ; \
40043 for flag in $(EXTRA_TARGET_FLAGS); do \
40044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40045 done; \
40046 (cd $(TARGET_SUBDIR)/libiberty && \
40047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40049 "RANLIB=$${RANLIB}" \
40050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40051 install-html) \
40052 || exit 1
40054 @endif target-libiberty
40056 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
40057 maybe-installcheck-target-libiberty:
40058 @if target-libiberty
40059 maybe-installcheck-target-libiberty: installcheck-target-libiberty
40061 installcheck-target-libiberty: \
40062 configure-target-libiberty
40063 @: $(MAKE); $(unstage)
40064 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
40065 r=`${PWD_COMMAND}`; export r; \
40066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40067 $(NORMAL_TARGET_EXPORTS) \
40068 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
40069 for flag in $(EXTRA_TARGET_FLAGS); do \
40070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40071 done; \
40072 (cd $(TARGET_SUBDIR)/libiberty && \
40073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40075 "RANLIB=$${RANLIB}" \
40076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40077 installcheck) \
40078 || exit 1
40080 @endif target-libiberty
40082 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
40083 maybe-mostlyclean-target-libiberty:
40084 @if target-libiberty
40085 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
40087 mostlyclean-target-libiberty:
40088 @: $(MAKE); $(unstage)
40089 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
40090 r=`${PWD_COMMAND}`; export r; \
40091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40092 $(NORMAL_TARGET_EXPORTS) \
40093 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
40094 for flag in $(EXTRA_TARGET_FLAGS); do \
40095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40096 done; \
40097 (cd $(TARGET_SUBDIR)/libiberty && \
40098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40100 "RANLIB=$${RANLIB}" \
40101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40102 mostlyclean) \
40103 || exit 1
40105 @endif target-libiberty
40107 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
40108 maybe-clean-target-libiberty:
40109 @if target-libiberty
40110 maybe-clean-target-libiberty: clean-target-libiberty
40112 clean-target-libiberty:
40113 @: $(MAKE); $(unstage)
40114 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
40115 r=`${PWD_COMMAND}`; export r; \
40116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40117 $(NORMAL_TARGET_EXPORTS) \
40118 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
40119 for flag in $(EXTRA_TARGET_FLAGS); do \
40120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40121 done; \
40122 (cd $(TARGET_SUBDIR)/libiberty && \
40123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40125 "RANLIB=$${RANLIB}" \
40126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40127 clean) \
40128 || exit 1
40130 @endif target-libiberty
40132 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
40133 maybe-distclean-target-libiberty:
40134 @if target-libiberty
40135 maybe-distclean-target-libiberty: distclean-target-libiberty
40137 distclean-target-libiberty:
40138 @: $(MAKE); $(unstage)
40139 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
40140 r=`${PWD_COMMAND}`; export r; \
40141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40142 $(NORMAL_TARGET_EXPORTS) \
40143 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
40144 for flag in $(EXTRA_TARGET_FLAGS); do \
40145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40146 done; \
40147 (cd $(TARGET_SUBDIR)/libiberty && \
40148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40150 "RANLIB=$${RANLIB}" \
40151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40152 distclean) \
40153 || exit 1
40155 @endif target-libiberty
40157 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
40158 maybe-maintainer-clean-target-libiberty:
40159 @if target-libiberty
40160 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
40162 maintainer-clean-target-libiberty:
40163 @: $(MAKE); $(unstage)
40164 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
40165 r=`${PWD_COMMAND}`; export r; \
40166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40167 $(NORMAL_TARGET_EXPORTS) \
40168 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
40169 for flag in $(EXTRA_TARGET_FLAGS); do \
40170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40171 done; \
40172 (cd $(TARGET_SUBDIR)/libiberty && \
40173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40175 "RANLIB=$${RANLIB}" \
40176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40177 maintainer-clean) \
40178 || exit 1
40180 @endif target-libiberty
40186 .PHONY: configure-target-gperf maybe-configure-target-gperf
40187 maybe-configure-target-gperf:
40188 @if gcc-bootstrap
40189 configure-target-gperf: stage_current
40190 @endif gcc-bootstrap
40191 @if target-gperf
40192 maybe-configure-target-gperf: configure-target-gperf
40193 configure-target-gperf:
40194 @: $(MAKE); $(unstage)
40195 @r=`${PWD_COMMAND}`; export r; \
40196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40197 echo "Checking multilib configuration for gperf..."; \
40198 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
40199 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
40200 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
40201 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
40202 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
40203 else \
40204 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
40205 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
40206 fi; \
40207 else \
40208 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
40209 fi; \
40210 test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
40211 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
40212 $(NORMAL_TARGET_EXPORTS) \
40213 echo Configuring in $(TARGET_SUBDIR)/gperf; \
40214 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
40215 case $(srcdir) in \
40216 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40217 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
40218 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40219 esac; \
40220 srcdiroption="--srcdir=$${topdir}/gperf"; \
40221 libsrcdir="$$s/gperf"; \
40222 rm -f no-such-file || : ; \
40223 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40224 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40225 --target=${target_alias} $${srcdiroption} \
40226 || exit 1
40227 @endif target-gperf
40233 .PHONY: all-target-gperf maybe-all-target-gperf
40234 maybe-all-target-gperf:
40235 @if gcc-bootstrap
40236 all-target-gperf: stage_current
40237 @endif gcc-bootstrap
40238 @if target-gperf
40239 TARGET-target-gperf=all
40240 maybe-all-target-gperf: all-target-gperf
40241 all-target-gperf: configure-target-gperf
40242 @: $(MAKE); $(unstage)
40243 @r=`${PWD_COMMAND}`; export r; \
40244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40245 $(NORMAL_TARGET_EXPORTS) \
40246 (cd $(TARGET_SUBDIR)/gperf && \
40247 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
40248 @endif target-gperf
40254 .PHONY: check-target-gperf maybe-check-target-gperf
40255 maybe-check-target-gperf:
40256 @if target-gperf
40257 maybe-check-target-gperf: check-target-gperf
40259 check-target-gperf:
40260 @: $(MAKE); $(unstage)
40261 @r=`${PWD_COMMAND}`; export r; \
40262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40263 $(NORMAL_TARGET_EXPORTS) \
40264 (cd $(TARGET_SUBDIR)/gperf && \
40265 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40267 @endif target-gperf
40269 .PHONY: install-target-gperf maybe-install-target-gperf
40270 maybe-install-target-gperf:
40271 @if target-gperf
40272 maybe-install-target-gperf: install-target-gperf
40274 install-target-gperf: installdirs
40275 @: $(MAKE); $(unstage)
40276 @r=`${PWD_COMMAND}`; export r; \
40277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40278 $(NORMAL_TARGET_EXPORTS) \
40279 (cd $(TARGET_SUBDIR)/gperf && \
40280 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40282 @endif target-gperf
40284 # Other targets (info, dvi, pdf, etc.)
40286 .PHONY: maybe-info-target-gperf info-target-gperf
40287 maybe-info-target-gperf:
40288 @if target-gperf
40289 maybe-info-target-gperf: info-target-gperf
40291 info-target-gperf: \
40292 configure-target-gperf
40293 @: $(MAKE); $(unstage)
40294 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
40295 r=`${PWD_COMMAND}`; export r; \
40296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40297 $(NORMAL_TARGET_EXPORTS) \
40298 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
40299 for flag in $(EXTRA_TARGET_FLAGS); do \
40300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40301 done; \
40302 (cd $(TARGET_SUBDIR)/gperf && \
40303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40305 "RANLIB=$${RANLIB}" \
40306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40307 info) \
40308 || exit 1
40310 @endif target-gperf
40312 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
40313 maybe-dvi-target-gperf:
40314 @if target-gperf
40315 maybe-dvi-target-gperf: dvi-target-gperf
40317 dvi-target-gperf: \
40318 configure-target-gperf
40319 @: $(MAKE); $(unstage)
40320 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
40321 r=`${PWD_COMMAND}`; export r; \
40322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40323 $(NORMAL_TARGET_EXPORTS) \
40324 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
40325 for flag in $(EXTRA_TARGET_FLAGS); do \
40326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40327 done; \
40328 (cd $(TARGET_SUBDIR)/gperf && \
40329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40331 "RANLIB=$${RANLIB}" \
40332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40333 dvi) \
40334 || exit 1
40336 @endif target-gperf
40338 .PHONY: maybe-pdf-target-gperf pdf-target-gperf
40339 maybe-pdf-target-gperf:
40340 @if target-gperf
40341 maybe-pdf-target-gperf: pdf-target-gperf
40343 pdf-target-gperf: \
40344 configure-target-gperf
40345 @: $(MAKE); $(unstage)
40346 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
40347 r=`${PWD_COMMAND}`; export r; \
40348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40349 $(NORMAL_TARGET_EXPORTS) \
40350 echo "Doing pdf in $(TARGET_SUBDIR)/gperf" ; \
40351 for flag in $(EXTRA_TARGET_FLAGS); do \
40352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40353 done; \
40354 (cd $(TARGET_SUBDIR)/gperf && \
40355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40357 "RANLIB=$${RANLIB}" \
40358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40359 pdf) \
40360 || exit 1
40362 @endif target-gperf
40364 .PHONY: maybe-html-target-gperf html-target-gperf
40365 maybe-html-target-gperf:
40366 @if target-gperf
40367 maybe-html-target-gperf: html-target-gperf
40369 html-target-gperf: \
40370 configure-target-gperf
40371 @: $(MAKE); $(unstage)
40372 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
40373 r=`${PWD_COMMAND}`; export r; \
40374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40375 $(NORMAL_TARGET_EXPORTS) \
40376 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
40377 for flag in $(EXTRA_TARGET_FLAGS); do \
40378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40379 done; \
40380 (cd $(TARGET_SUBDIR)/gperf && \
40381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40383 "RANLIB=$${RANLIB}" \
40384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40385 html) \
40386 || exit 1
40388 @endif target-gperf
40390 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
40391 maybe-TAGS-target-gperf:
40392 @if target-gperf
40393 maybe-TAGS-target-gperf: TAGS-target-gperf
40395 TAGS-target-gperf: \
40396 configure-target-gperf
40397 @: $(MAKE); $(unstage)
40398 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
40399 r=`${PWD_COMMAND}`; export r; \
40400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40401 $(NORMAL_TARGET_EXPORTS) \
40402 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
40403 for flag in $(EXTRA_TARGET_FLAGS); do \
40404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40405 done; \
40406 (cd $(TARGET_SUBDIR)/gperf && \
40407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40409 "RANLIB=$${RANLIB}" \
40410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40411 TAGS) \
40412 || exit 1
40414 @endif target-gperf
40416 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
40417 maybe-install-info-target-gperf:
40418 @if target-gperf
40419 maybe-install-info-target-gperf: install-info-target-gperf
40421 install-info-target-gperf: \
40422 configure-target-gperf \
40423 info-target-gperf
40424 @: $(MAKE); $(unstage)
40425 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
40426 r=`${PWD_COMMAND}`; export r; \
40427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40428 $(NORMAL_TARGET_EXPORTS) \
40429 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
40430 for flag in $(EXTRA_TARGET_FLAGS); do \
40431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40432 done; \
40433 (cd $(TARGET_SUBDIR)/gperf && \
40434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40436 "RANLIB=$${RANLIB}" \
40437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40438 install-info) \
40439 || exit 1
40441 @endif target-gperf
40443 .PHONY: maybe-install-html-target-gperf install-html-target-gperf
40444 maybe-install-html-target-gperf:
40445 @if target-gperf
40446 maybe-install-html-target-gperf: install-html-target-gperf
40448 install-html-target-gperf: \
40449 configure-target-gperf \
40450 html-target-gperf
40451 @: $(MAKE); $(unstage)
40452 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
40453 r=`${PWD_COMMAND}`; export r; \
40454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40455 $(NORMAL_TARGET_EXPORTS) \
40456 echo "Doing install-html in $(TARGET_SUBDIR)/gperf" ; \
40457 for flag in $(EXTRA_TARGET_FLAGS); do \
40458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40459 done; \
40460 (cd $(TARGET_SUBDIR)/gperf && \
40461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40463 "RANLIB=$${RANLIB}" \
40464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40465 install-html) \
40466 || exit 1
40468 @endif target-gperf
40470 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
40471 maybe-installcheck-target-gperf:
40472 @if target-gperf
40473 maybe-installcheck-target-gperf: installcheck-target-gperf
40475 installcheck-target-gperf: \
40476 configure-target-gperf
40477 @: $(MAKE); $(unstage)
40478 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
40479 r=`${PWD_COMMAND}`; export r; \
40480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40481 $(NORMAL_TARGET_EXPORTS) \
40482 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
40483 for flag in $(EXTRA_TARGET_FLAGS); do \
40484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40485 done; \
40486 (cd $(TARGET_SUBDIR)/gperf && \
40487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40489 "RANLIB=$${RANLIB}" \
40490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40491 installcheck) \
40492 || exit 1
40494 @endif target-gperf
40496 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
40497 maybe-mostlyclean-target-gperf:
40498 @if target-gperf
40499 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
40501 mostlyclean-target-gperf:
40502 @: $(MAKE); $(unstage)
40503 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
40504 r=`${PWD_COMMAND}`; export r; \
40505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40506 $(NORMAL_TARGET_EXPORTS) \
40507 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
40508 for flag in $(EXTRA_TARGET_FLAGS); do \
40509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40510 done; \
40511 (cd $(TARGET_SUBDIR)/gperf && \
40512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40514 "RANLIB=$${RANLIB}" \
40515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40516 mostlyclean) \
40517 || exit 1
40519 @endif target-gperf
40521 .PHONY: maybe-clean-target-gperf clean-target-gperf
40522 maybe-clean-target-gperf:
40523 @if target-gperf
40524 maybe-clean-target-gperf: clean-target-gperf
40526 clean-target-gperf:
40527 @: $(MAKE); $(unstage)
40528 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
40529 r=`${PWD_COMMAND}`; export r; \
40530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40531 $(NORMAL_TARGET_EXPORTS) \
40532 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
40533 for flag in $(EXTRA_TARGET_FLAGS); do \
40534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40535 done; \
40536 (cd $(TARGET_SUBDIR)/gperf && \
40537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40539 "RANLIB=$${RANLIB}" \
40540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40541 clean) \
40542 || exit 1
40544 @endif target-gperf
40546 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
40547 maybe-distclean-target-gperf:
40548 @if target-gperf
40549 maybe-distclean-target-gperf: distclean-target-gperf
40551 distclean-target-gperf:
40552 @: $(MAKE); $(unstage)
40553 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
40554 r=`${PWD_COMMAND}`; export r; \
40555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40556 $(NORMAL_TARGET_EXPORTS) \
40557 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
40558 for flag in $(EXTRA_TARGET_FLAGS); do \
40559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40560 done; \
40561 (cd $(TARGET_SUBDIR)/gperf && \
40562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40564 "RANLIB=$${RANLIB}" \
40565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40566 distclean) \
40567 || exit 1
40569 @endif target-gperf
40571 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
40572 maybe-maintainer-clean-target-gperf:
40573 @if target-gperf
40574 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
40576 maintainer-clean-target-gperf:
40577 @: $(MAKE); $(unstage)
40578 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
40579 r=`${PWD_COMMAND}`; export r; \
40580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40581 $(NORMAL_TARGET_EXPORTS) \
40582 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
40583 for flag in $(EXTRA_TARGET_FLAGS); do \
40584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40585 done; \
40586 (cd $(TARGET_SUBDIR)/gperf && \
40587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40589 "RANLIB=$${RANLIB}" \
40590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40591 maintainer-clean) \
40592 || exit 1
40594 @endif target-gperf
40600 .PHONY: configure-target-examples maybe-configure-target-examples
40601 maybe-configure-target-examples:
40602 @if gcc-bootstrap
40603 configure-target-examples: stage_current
40604 @endif gcc-bootstrap
40605 @if target-examples
40606 maybe-configure-target-examples: configure-target-examples
40607 configure-target-examples:
40608 @: $(MAKE); $(unstage)
40609 @r=`${PWD_COMMAND}`; export r; \
40610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40611 echo "Checking multilib configuration for examples..."; \
40612 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
40613 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
40614 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
40615 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
40616 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
40617 else \
40618 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
40619 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
40620 fi; \
40621 else \
40622 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
40623 fi; \
40624 test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
40625 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
40626 $(NORMAL_TARGET_EXPORTS) \
40627 echo Configuring in $(TARGET_SUBDIR)/examples; \
40628 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
40629 case $(srcdir) in \
40630 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40631 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
40632 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40633 esac; \
40634 srcdiroption="--srcdir=$${topdir}/examples"; \
40635 libsrcdir="$$s/examples"; \
40636 rm -f no-such-file || : ; \
40637 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40638 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40639 --target=${target_alias} $${srcdiroption} \
40640 || exit 1
40641 @endif target-examples
40647 .PHONY: all-target-examples maybe-all-target-examples
40648 maybe-all-target-examples:
40649 @if gcc-bootstrap
40650 all-target-examples: stage_current
40651 @endif gcc-bootstrap
40652 @if target-examples
40653 TARGET-target-examples=all
40654 maybe-all-target-examples: all-target-examples
40655 all-target-examples: configure-target-examples
40656 @: $(MAKE); $(unstage)
40657 @r=`${PWD_COMMAND}`; export r; \
40658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40659 $(NORMAL_TARGET_EXPORTS) \
40660 (cd $(TARGET_SUBDIR)/examples && \
40661 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
40662 @endif target-examples
40668 .PHONY: check-target-examples maybe-check-target-examples
40669 maybe-check-target-examples:
40670 @if target-examples
40671 maybe-check-target-examples: check-target-examples
40673 # Dummy target for uncheckable module.
40674 check-target-examples:
40676 @endif target-examples
40678 .PHONY: install-target-examples maybe-install-target-examples
40679 maybe-install-target-examples:
40680 @if target-examples
40681 maybe-install-target-examples: install-target-examples
40683 # Dummy target for uninstallable.
40684 install-target-examples:
40686 @endif target-examples
40688 # Other targets (info, dvi, pdf, etc.)
40690 .PHONY: maybe-info-target-examples info-target-examples
40691 maybe-info-target-examples:
40692 @if target-examples
40693 maybe-info-target-examples: info-target-examples
40695 info-target-examples: \
40696 configure-target-examples
40697 @: $(MAKE); $(unstage)
40698 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
40699 r=`${PWD_COMMAND}`; export r; \
40700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40701 $(NORMAL_TARGET_EXPORTS) \
40702 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
40703 for flag in $(EXTRA_TARGET_FLAGS); do \
40704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40705 done; \
40706 (cd $(TARGET_SUBDIR)/examples && \
40707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40709 "RANLIB=$${RANLIB}" \
40710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40711 info) \
40712 || exit 1
40714 @endif target-examples
40716 .PHONY: maybe-dvi-target-examples dvi-target-examples
40717 maybe-dvi-target-examples:
40718 @if target-examples
40719 maybe-dvi-target-examples: dvi-target-examples
40721 dvi-target-examples: \
40722 configure-target-examples
40723 @: $(MAKE); $(unstage)
40724 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
40725 r=`${PWD_COMMAND}`; export r; \
40726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40727 $(NORMAL_TARGET_EXPORTS) \
40728 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
40729 for flag in $(EXTRA_TARGET_FLAGS); do \
40730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40731 done; \
40732 (cd $(TARGET_SUBDIR)/examples && \
40733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40735 "RANLIB=$${RANLIB}" \
40736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40737 dvi) \
40738 || exit 1
40740 @endif target-examples
40742 .PHONY: maybe-pdf-target-examples pdf-target-examples
40743 maybe-pdf-target-examples:
40744 @if target-examples
40745 maybe-pdf-target-examples: pdf-target-examples
40747 pdf-target-examples: \
40748 configure-target-examples
40749 @: $(MAKE); $(unstage)
40750 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
40751 r=`${PWD_COMMAND}`; export r; \
40752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40753 $(NORMAL_TARGET_EXPORTS) \
40754 echo "Doing pdf in $(TARGET_SUBDIR)/examples" ; \
40755 for flag in $(EXTRA_TARGET_FLAGS); do \
40756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40757 done; \
40758 (cd $(TARGET_SUBDIR)/examples && \
40759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40761 "RANLIB=$${RANLIB}" \
40762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40763 pdf) \
40764 || exit 1
40766 @endif target-examples
40768 .PHONY: maybe-html-target-examples html-target-examples
40769 maybe-html-target-examples:
40770 @if target-examples
40771 maybe-html-target-examples: html-target-examples
40773 html-target-examples: \
40774 configure-target-examples
40775 @: $(MAKE); $(unstage)
40776 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
40777 r=`${PWD_COMMAND}`; export r; \
40778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40779 $(NORMAL_TARGET_EXPORTS) \
40780 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
40781 for flag in $(EXTRA_TARGET_FLAGS); do \
40782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40783 done; \
40784 (cd $(TARGET_SUBDIR)/examples && \
40785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40787 "RANLIB=$${RANLIB}" \
40788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40789 html) \
40790 || exit 1
40792 @endif target-examples
40794 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
40795 maybe-TAGS-target-examples:
40796 @if target-examples
40797 maybe-TAGS-target-examples: TAGS-target-examples
40799 TAGS-target-examples: \
40800 configure-target-examples
40801 @: $(MAKE); $(unstage)
40802 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
40803 r=`${PWD_COMMAND}`; export r; \
40804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40805 $(NORMAL_TARGET_EXPORTS) \
40806 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
40807 for flag in $(EXTRA_TARGET_FLAGS); do \
40808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40809 done; \
40810 (cd $(TARGET_SUBDIR)/examples && \
40811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40813 "RANLIB=$${RANLIB}" \
40814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40815 TAGS) \
40816 || exit 1
40818 @endif target-examples
40820 .PHONY: maybe-install-info-target-examples install-info-target-examples
40821 maybe-install-info-target-examples:
40822 @if target-examples
40823 maybe-install-info-target-examples: install-info-target-examples
40825 install-info-target-examples: \
40826 configure-target-examples \
40827 info-target-examples
40828 @: $(MAKE); $(unstage)
40829 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
40830 r=`${PWD_COMMAND}`; export r; \
40831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40832 $(NORMAL_TARGET_EXPORTS) \
40833 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
40834 for flag in $(EXTRA_TARGET_FLAGS); do \
40835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40836 done; \
40837 (cd $(TARGET_SUBDIR)/examples && \
40838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40840 "RANLIB=$${RANLIB}" \
40841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40842 install-info) \
40843 || exit 1
40845 @endif target-examples
40847 .PHONY: maybe-install-html-target-examples install-html-target-examples
40848 maybe-install-html-target-examples:
40849 @if target-examples
40850 maybe-install-html-target-examples: install-html-target-examples
40852 install-html-target-examples: \
40853 configure-target-examples \
40854 html-target-examples
40855 @: $(MAKE); $(unstage)
40856 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
40857 r=`${PWD_COMMAND}`; export r; \
40858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40859 $(NORMAL_TARGET_EXPORTS) \
40860 echo "Doing install-html in $(TARGET_SUBDIR)/examples" ; \
40861 for flag in $(EXTRA_TARGET_FLAGS); do \
40862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40863 done; \
40864 (cd $(TARGET_SUBDIR)/examples && \
40865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40867 "RANLIB=$${RANLIB}" \
40868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40869 install-html) \
40870 || exit 1
40872 @endif target-examples
40874 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
40875 maybe-installcheck-target-examples:
40876 @if target-examples
40877 maybe-installcheck-target-examples: installcheck-target-examples
40879 installcheck-target-examples: \
40880 configure-target-examples
40881 @: $(MAKE); $(unstage)
40882 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
40883 r=`${PWD_COMMAND}`; export r; \
40884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40885 $(NORMAL_TARGET_EXPORTS) \
40886 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
40887 for flag in $(EXTRA_TARGET_FLAGS); do \
40888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40889 done; \
40890 (cd $(TARGET_SUBDIR)/examples && \
40891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40893 "RANLIB=$${RANLIB}" \
40894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40895 installcheck) \
40896 || exit 1
40898 @endif target-examples
40900 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
40901 maybe-mostlyclean-target-examples:
40902 @if target-examples
40903 maybe-mostlyclean-target-examples: mostlyclean-target-examples
40905 mostlyclean-target-examples:
40906 @: $(MAKE); $(unstage)
40907 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
40908 r=`${PWD_COMMAND}`; export r; \
40909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40910 $(NORMAL_TARGET_EXPORTS) \
40911 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
40912 for flag in $(EXTRA_TARGET_FLAGS); do \
40913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40914 done; \
40915 (cd $(TARGET_SUBDIR)/examples && \
40916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40918 "RANLIB=$${RANLIB}" \
40919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40920 mostlyclean) \
40921 || exit 1
40923 @endif target-examples
40925 .PHONY: maybe-clean-target-examples clean-target-examples
40926 maybe-clean-target-examples:
40927 @if target-examples
40928 maybe-clean-target-examples: clean-target-examples
40930 clean-target-examples:
40931 @: $(MAKE); $(unstage)
40932 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
40933 r=`${PWD_COMMAND}`; export r; \
40934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40935 $(NORMAL_TARGET_EXPORTS) \
40936 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
40937 for flag in $(EXTRA_TARGET_FLAGS); do \
40938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40939 done; \
40940 (cd $(TARGET_SUBDIR)/examples && \
40941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40943 "RANLIB=$${RANLIB}" \
40944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40945 clean) \
40946 || exit 1
40948 @endif target-examples
40950 .PHONY: maybe-distclean-target-examples distclean-target-examples
40951 maybe-distclean-target-examples:
40952 @if target-examples
40953 maybe-distclean-target-examples: distclean-target-examples
40955 distclean-target-examples:
40956 @: $(MAKE); $(unstage)
40957 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
40958 r=`${PWD_COMMAND}`; export r; \
40959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40960 $(NORMAL_TARGET_EXPORTS) \
40961 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
40962 for flag in $(EXTRA_TARGET_FLAGS); do \
40963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40964 done; \
40965 (cd $(TARGET_SUBDIR)/examples && \
40966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40968 "RANLIB=$${RANLIB}" \
40969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40970 distclean) \
40971 || exit 1
40973 @endif target-examples
40975 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
40976 maybe-maintainer-clean-target-examples:
40977 @if target-examples
40978 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
40980 maintainer-clean-target-examples:
40981 @: $(MAKE); $(unstage)
40982 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
40983 r=`${PWD_COMMAND}`; export r; \
40984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40985 $(NORMAL_TARGET_EXPORTS) \
40986 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
40987 for flag in $(EXTRA_TARGET_FLAGS); do \
40988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40989 done; \
40990 (cd $(TARGET_SUBDIR)/examples && \
40991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40993 "RANLIB=$${RANLIB}" \
40994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40995 maintainer-clean) \
40996 || exit 1
40998 @endif target-examples
41004 .PHONY: configure-target-libffi maybe-configure-target-libffi
41005 maybe-configure-target-libffi:
41006 @if gcc-bootstrap
41007 configure-target-libffi: stage_current
41008 @endif gcc-bootstrap
41009 @if target-libffi
41010 maybe-configure-target-libffi: configure-target-libffi
41011 configure-target-libffi:
41012 @: $(MAKE); $(unstage)
41013 @r=`${PWD_COMMAND}`; export r; \
41014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41015 echo "Checking multilib configuration for libffi..."; \
41016 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
41017 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
41018 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
41019 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
41020 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
41021 else \
41022 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
41023 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
41024 fi; \
41025 else \
41026 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
41027 fi; \
41028 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
41029 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
41030 $(NORMAL_TARGET_EXPORTS) \
41031 echo Configuring in $(TARGET_SUBDIR)/libffi; \
41032 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
41033 case $(srcdir) in \
41034 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41035 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
41036 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41037 esac; \
41038 srcdiroption="--srcdir=$${topdir}/libffi"; \
41039 libsrcdir="$$s/libffi"; \
41040 rm -f no-such-file || : ; \
41041 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41042 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41043 --target=${target_alias} $${srcdiroption} \
41044 || exit 1
41045 @endif target-libffi
41051 .PHONY: all-target-libffi maybe-all-target-libffi
41052 maybe-all-target-libffi:
41053 @if gcc-bootstrap
41054 all-target-libffi: stage_current
41055 @endif gcc-bootstrap
41056 @if target-libffi
41057 TARGET-target-libffi=all
41058 maybe-all-target-libffi: all-target-libffi
41059 all-target-libffi: configure-target-libffi
41060 @: $(MAKE); $(unstage)
41061 @r=`${PWD_COMMAND}`; export r; \
41062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41063 $(NORMAL_TARGET_EXPORTS) \
41064 (cd $(TARGET_SUBDIR)/libffi && \
41065 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
41066 @endif target-libffi
41072 .PHONY: check-target-libffi maybe-check-target-libffi
41073 maybe-check-target-libffi:
41074 @if target-libffi
41075 maybe-check-target-libffi: check-target-libffi
41077 check-target-libffi:
41078 @: $(MAKE); $(unstage)
41079 @r=`${PWD_COMMAND}`; export r; \
41080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41081 $(NORMAL_TARGET_EXPORTS) \
41082 (cd $(TARGET_SUBDIR)/libffi && \
41083 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41085 @endif target-libffi
41087 .PHONY: install-target-libffi maybe-install-target-libffi
41088 maybe-install-target-libffi:
41089 @if target-libffi
41090 maybe-install-target-libffi: install-target-libffi
41092 install-target-libffi: installdirs
41093 @: $(MAKE); $(unstage)
41094 @r=`${PWD_COMMAND}`; export r; \
41095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41096 $(NORMAL_TARGET_EXPORTS) \
41097 (cd $(TARGET_SUBDIR)/libffi && \
41098 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41100 @endif target-libffi
41102 # Other targets (info, dvi, pdf, etc.)
41104 .PHONY: maybe-info-target-libffi info-target-libffi
41105 maybe-info-target-libffi:
41106 @if target-libffi
41107 maybe-info-target-libffi: info-target-libffi
41109 info-target-libffi: \
41110 configure-target-libffi
41111 @: $(MAKE); $(unstage)
41112 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41113 r=`${PWD_COMMAND}`; export r; \
41114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41115 $(NORMAL_TARGET_EXPORTS) \
41116 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
41117 for flag in $(EXTRA_TARGET_FLAGS); do \
41118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41119 done; \
41120 (cd $(TARGET_SUBDIR)/libffi && \
41121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41123 "RANLIB=$${RANLIB}" \
41124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41125 info) \
41126 || exit 1
41128 @endif target-libffi
41130 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
41131 maybe-dvi-target-libffi:
41132 @if target-libffi
41133 maybe-dvi-target-libffi: dvi-target-libffi
41135 dvi-target-libffi: \
41136 configure-target-libffi
41137 @: $(MAKE); $(unstage)
41138 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41139 r=`${PWD_COMMAND}`; export r; \
41140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41141 $(NORMAL_TARGET_EXPORTS) \
41142 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
41143 for flag in $(EXTRA_TARGET_FLAGS); do \
41144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41145 done; \
41146 (cd $(TARGET_SUBDIR)/libffi && \
41147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41149 "RANLIB=$${RANLIB}" \
41150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41151 dvi) \
41152 || exit 1
41154 @endif target-libffi
41156 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
41157 maybe-pdf-target-libffi:
41158 @if target-libffi
41159 maybe-pdf-target-libffi: pdf-target-libffi
41161 pdf-target-libffi: \
41162 configure-target-libffi
41163 @: $(MAKE); $(unstage)
41164 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41165 r=`${PWD_COMMAND}`; export r; \
41166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41167 $(NORMAL_TARGET_EXPORTS) \
41168 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
41169 for flag in $(EXTRA_TARGET_FLAGS); do \
41170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41171 done; \
41172 (cd $(TARGET_SUBDIR)/libffi && \
41173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41175 "RANLIB=$${RANLIB}" \
41176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41177 pdf) \
41178 || exit 1
41180 @endif target-libffi
41182 .PHONY: maybe-html-target-libffi html-target-libffi
41183 maybe-html-target-libffi:
41184 @if target-libffi
41185 maybe-html-target-libffi: html-target-libffi
41187 html-target-libffi: \
41188 configure-target-libffi
41189 @: $(MAKE); $(unstage)
41190 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41191 r=`${PWD_COMMAND}`; export r; \
41192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41193 $(NORMAL_TARGET_EXPORTS) \
41194 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
41195 for flag in $(EXTRA_TARGET_FLAGS); do \
41196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41197 done; \
41198 (cd $(TARGET_SUBDIR)/libffi && \
41199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41201 "RANLIB=$${RANLIB}" \
41202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41203 html) \
41204 || exit 1
41206 @endif target-libffi
41208 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
41209 maybe-TAGS-target-libffi:
41210 @if target-libffi
41211 maybe-TAGS-target-libffi: TAGS-target-libffi
41213 TAGS-target-libffi: \
41214 configure-target-libffi
41215 @: $(MAKE); $(unstage)
41216 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41217 r=`${PWD_COMMAND}`; export r; \
41218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41219 $(NORMAL_TARGET_EXPORTS) \
41220 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
41221 for flag in $(EXTRA_TARGET_FLAGS); do \
41222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41223 done; \
41224 (cd $(TARGET_SUBDIR)/libffi && \
41225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41227 "RANLIB=$${RANLIB}" \
41228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41229 TAGS) \
41230 || exit 1
41232 @endif target-libffi
41234 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
41235 maybe-install-info-target-libffi:
41236 @if target-libffi
41237 maybe-install-info-target-libffi: install-info-target-libffi
41239 install-info-target-libffi: \
41240 configure-target-libffi \
41241 info-target-libffi
41242 @: $(MAKE); $(unstage)
41243 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41244 r=`${PWD_COMMAND}`; export r; \
41245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41246 $(NORMAL_TARGET_EXPORTS) \
41247 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
41248 for flag in $(EXTRA_TARGET_FLAGS); do \
41249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41250 done; \
41251 (cd $(TARGET_SUBDIR)/libffi && \
41252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41254 "RANLIB=$${RANLIB}" \
41255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41256 install-info) \
41257 || exit 1
41259 @endif target-libffi
41261 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
41262 maybe-install-html-target-libffi:
41263 @if target-libffi
41264 maybe-install-html-target-libffi: install-html-target-libffi
41266 install-html-target-libffi: \
41267 configure-target-libffi \
41268 html-target-libffi
41269 @: $(MAKE); $(unstage)
41270 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41271 r=`${PWD_COMMAND}`; export r; \
41272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41273 $(NORMAL_TARGET_EXPORTS) \
41274 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
41275 for flag in $(EXTRA_TARGET_FLAGS); do \
41276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41277 done; \
41278 (cd $(TARGET_SUBDIR)/libffi && \
41279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41281 "RANLIB=$${RANLIB}" \
41282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41283 install-html) \
41284 || exit 1
41286 @endif target-libffi
41288 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
41289 maybe-installcheck-target-libffi:
41290 @if target-libffi
41291 maybe-installcheck-target-libffi: installcheck-target-libffi
41293 installcheck-target-libffi: \
41294 configure-target-libffi
41295 @: $(MAKE); $(unstage)
41296 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41297 r=`${PWD_COMMAND}`; export r; \
41298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41299 $(NORMAL_TARGET_EXPORTS) \
41300 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
41301 for flag in $(EXTRA_TARGET_FLAGS); do \
41302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41303 done; \
41304 (cd $(TARGET_SUBDIR)/libffi && \
41305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41307 "RANLIB=$${RANLIB}" \
41308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41309 installcheck) \
41310 || exit 1
41312 @endif target-libffi
41314 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
41315 maybe-mostlyclean-target-libffi:
41316 @if target-libffi
41317 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
41319 mostlyclean-target-libffi:
41320 @: $(MAKE); $(unstage)
41321 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41322 r=`${PWD_COMMAND}`; export r; \
41323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41324 $(NORMAL_TARGET_EXPORTS) \
41325 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
41326 for flag in $(EXTRA_TARGET_FLAGS); do \
41327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41328 done; \
41329 (cd $(TARGET_SUBDIR)/libffi && \
41330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41332 "RANLIB=$${RANLIB}" \
41333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41334 mostlyclean) \
41335 || exit 1
41337 @endif target-libffi
41339 .PHONY: maybe-clean-target-libffi clean-target-libffi
41340 maybe-clean-target-libffi:
41341 @if target-libffi
41342 maybe-clean-target-libffi: clean-target-libffi
41344 clean-target-libffi:
41345 @: $(MAKE); $(unstage)
41346 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41347 r=`${PWD_COMMAND}`; export r; \
41348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41349 $(NORMAL_TARGET_EXPORTS) \
41350 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
41351 for flag in $(EXTRA_TARGET_FLAGS); do \
41352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41353 done; \
41354 (cd $(TARGET_SUBDIR)/libffi && \
41355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41357 "RANLIB=$${RANLIB}" \
41358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41359 clean) \
41360 || exit 1
41362 @endif target-libffi
41364 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
41365 maybe-distclean-target-libffi:
41366 @if target-libffi
41367 maybe-distclean-target-libffi: distclean-target-libffi
41369 distclean-target-libffi:
41370 @: $(MAKE); $(unstage)
41371 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41372 r=`${PWD_COMMAND}`; export r; \
41373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41374 $(NORMAL_TARGET_EXPORTS) \
41375 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
41376 for flag in $(EXTRA_TARGET_FLAGS); do \
41377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41378 done; \
41379 (cd $(TARGET_SUBDIR)/libffi && \
41380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41382 "RANLIB=$${RANLIB}" \
41383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41384 distclean) \
41385 || exit 1
41387 @endif target-libffi
41389 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
41390 maybe-maintainer-clean-target-libffi:
41391 @if target-libffi
41392 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
41394 maintainer-clean-target-libffi:
41395 @: $(MAKE); $(unstage)
41396 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41397 r=`${PWD_COMMAND}`; export r; \
41398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41399 $(NORMAL_TARGET_EXPORTS) \
41400 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
41401 for flag in $(EXTRA_TARGET_FLAGS); do \
41402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41403 done; \
41404 (cd $(TARGET_SUBDIR)/libffi && \
41405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41407 "RANLIB=$${RANLIB}" \
41408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41409 maintainer-clean) \
41410 || exit 1
41412 @endif target-libffi
41418 .PHONY: configure-target-libjava maybe-configure-target-libjava
41419 maybe-configure-target-libjava:
41420 @if gcc-bootstrap
41421 configure-target-libjava: stage_current
41422 @endif gcc-bootstrap
41423 @if target-libjava
41424 maybe-configure-target-libjava: configure-target-libjava
41425 configure-target-libjava:
41426 @: $(MAKE); $(unstage)
41427 @r=`${PWD_COMMAND}`; export r; \
41428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41429 echo "Checking multilib configuration for libjava..."; \
41430 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
41431 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
41432 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
41433 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
41434 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
41435 else \
41436 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
41437 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
41438 fi; \
41439 else \
41440 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
41441 fi; \
41442 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
41443 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
41444 $(RAW_CXX_TARGET_EXPORTS) \
41445 echo Configuring in $(TARGET_SUBDIR)/libjava; \
41446 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
41447 case $(srcdir) in \
41448 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41449 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
41450 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41451 esac; \
41452 srcdiroption="--srcdir=$${topdir}/libjava"; \
41453 libsrcdir="$$s/libjava"; \
41454 rm -f no-such-file || : ; \
41455 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41456 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41457 --target=${target_alias} $${srcdiroption} \
41458 || exit 1
41459 @endif target-libjava
41465 .PHONY: all-target-libjava maybe-all-target-libjava
41466 maybe-all-target-libjava:
41467 @if gcc-bootstrap
41468 all-target-libjava: stage_current
41469 @endif gcc-bootstrap
41470 @if target-libjava
41471 TARGET-target-libjava=all
41472 maybe-all-target-libjava: all-target-libjava
41473 all-target-libjava: configure-target-libjava
41474 @: $(MAKE); $(unstage)
41475 @r=`${PWD_COMMAND}`; export r; \
41476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41477 $(RAW_CXX_TARGET_EXPORTS) \
41478 (cd $(TARGET_SUBDIR)/libjava && \
41479 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
41480 @endif target-libjava
41486 .PHONY: check-target-libjava maybe-check-target-libjava
41487 maybe-check-target-libjava:
41488 @if target-libjava
41489 maybe-check-target-libjava: check-target-libjava
41491 check-target-libjava:
41492 @: $(MAKE); $(unstage)
41493 @r=`${PWD_COMMAND}`; export r; \
41494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41495 $(RAW_CXX_TARGET_EXPORTS) \
41496 (cd $(TARGET_SUBDIR)/libjava && \
41497 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
41499 @endif target-libjava
41501 .PHONY: install-target-libjava maybe-install-target-libjava
41502 maybe-install-target-libjava:
41503 @if target-libjava
41504 maybe-install-target-libjava: install-target-libjava
41506 install-target-libjava: installdirs
41507 @: $(MAKE); $(unstage)
41508 @r=`${PWD_COMMAND}`; export r; \
41509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41510 $(RAW_CXX_TARGET_EXPORTS) \
41511 (cd $(TARGET_SUBDIR)/libjava && \
41512 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41514 @endif target-libjava
41516 # Other targets (info, dvi, pdf, etc.)
41518 .PHONY: maybe-info-target-libjava info-target-libjava
41519 maybe-info-target-libjava:
41520 @if target-libjava
41521 maybe-info-target-libjava: info-target-libjava
41523 info-target-libjava: \
41524 configure-target-libjava
41525 @: $(MAKE); $(unstage)
41526 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41527 r=`${PWD_COMMAND}`; export r; \
41528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41529 $(RAW_CXX_TARGET_EXPORTS) \
41530 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
41531 for flag in $(EXTRA_TARGET_FLAGS); do \
41532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41533 done; \
41534 (cd $(TARGET_SUBDIR)/libjava && \
41535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41537 "RANLIB=$${RANLIB}" \
41538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41539 info) \
41540 || exit 1
41542 @endif target-libjava
41544 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
41545 maybe-dvi-target-libjava:
41546 @if target-libjava
41547 maybe-dvi-target-libjava: dvi-target-libjava
41549 dvi-target-libjava: \
41550 configure-target-libjava
41551 @: $(MAKE); $(unstage)
41552 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41553 r=`${PWD_COMMAND}`; export r; \
41554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41555 $(RAW_CXX_TARGET_EXPORTS) \
41556 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
41557 for flag in $(EXTRA_TARGET_FLAGS); do \
41558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41559 done; \
41560 (cd $(TARGET_SUBDIR)/libjava && \
41561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41563 "RANLIB=$${RANLIB}" \
41564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41565 dvi) \
41566 || exit 1
41568 @endif target-libjava
41570 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
41571 maybe-pdf-target-libjava:
41572 @if target-libjava
41573 maybe-pdf-target-libjava: pdf-target-libjava
41575 pdf-target-libjava: \
41576 configure-target-libjava
41577 @: $(MAKE); $(unstage)
41578 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41579 r=`${PWD_COMMAND}`; export r; \
41580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41581 $(RAW_CXX_TARGET_EXPORTS) \
41582 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
41583 for flag in $(EXTRA_TARGET_FLAGS); do \
41584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41585 done; \
41586 (cd $(TARGET_SUBDIR)/libjava && \
41587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41589 "RANLIB=$${RANLIB}" \
41590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41591 pdf) \
41592 || exit 1
41594 @endif target-libjava
41596 .PHONY: maybe-html-target-libjava html-target-libjava
41597 maybe-html-target-libjava:
41598 @if target-libjava
41599 maybe-html-target-libjava: html-target-libjava
41601 html-target-libjava: \
41602 configure-target-libjava
41603 @: $(MAKE); $(unstage)
41604 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41605 r=`${PWD_COMMAND}`; export r; \
41606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41607 $(RAW_CXX_TARGET_EXPORTS) \
41608 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
41609 for flag in $(EXTRA_TARGET_FLAGS); do \
41610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41611 done; \
41612 (cd $(TARGET_SUBDIR)/libjava && \
41613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41615 "RANLIB=$${RANLIB}" \
41616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41617 html) \
41618 || exit 1
41620 @endif target-libjava
41622 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
41623 maybe-TAGS-target-libjava:
41624 @if target-libjava
41625 maybe-TAGS-target-libjava: TAGS-target-libjava
41627 TAGS-target-libjava: \
41628 configure-target-libjava
41629 @: $(MAKE); $(unstage)
41630 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41631 r=`${PWD_COMMAND}`; export r; \
41632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41633 $(RAW_CXX_TARGET_EXPORTS) \
41634 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
41635 for flag in $(EXTRA_TARGET_FLAGS); do \
41636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41637 done; \
41638 (cd $(TARGET_SUBDIR)/libjava && \
41639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41641 "RANLIB=$${RANLIB}" \
41642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41643 TAGS) \
41644 || exit 1
41646 @endif target-libjava
41648 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
41649 maybe-install-info-target-libjava:
41650 @if target-libjava
41651 maybe-install-info-target-libjava: install-info-target-libjava
41653 install-info-target-libjava: \
41654 configure-target-libjava \
41655 info-target-libjava
41656 @: $(MAKE); $(unstage)
41657 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41658 r=`${PWD_COMMAND}`; export r; \
41659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41660 $(RAW_CXX_TARGET_EXPORTS) \
41661 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
41662 for flag in $(EXTRA_TARGET_FLAGS); do \
41663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41664 done; \
41665 (cd $(TARGET_SUBDIR)/libjava && \
41666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41668 "RANLIB=$${RANLIB}" \
41669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41670 install-info) \
41671 || exit 1
41673 @endif target-libjava
41675 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
41676 maybe-install-html-target-libjava:
41677 @if target-libjava
41678 maybe-install-html-target-libjava: install-html-target-libjava
41680 install-html-target-libjava: \
41681 configure-target-libjava \
41682 html-target-libjava
41683 @: $(MAKE); $(unstage)
41684 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41685 r=`${PWD_COMMAND}`; export r; \
41686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41687 $(RAW_CXX_TARGET_EXPORTS) \
41688 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
41689 for flag in $(EXTRA_TARGET_FLAGS); do \
41690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41691 done; \
41692 (cd $(TARGET_SUBDIR)/libjava && \
41693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41695 "RANLIB=$${RANLIB}" \
41696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41697 install-html) \
41698 || exit 1
41700 @endif target-libjava
41702 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
41703 maybe-installcheck-target-libjava:
41704 @if target-libjava
41705 maybe-installcheck-target-libjava: installcheck-target-libjava
41707 installcheck-target-libjava: \
41708 configure-target-libjava
41709 @: $(MAKE); $(unstage)
41710 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41711 r=`${PWD_COMMAND}`; export r; \
41712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41713 $(RAW_CXX_TARGET_EXPORTS) \
41714 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
41715 for flag in $(EXTRA_TARGET_FLAGS); do \
41716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41717 done; \
41718 (cd $(TARGET_SUBDIR)/libjava && \
41719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41721 "RANLIB=$${RANLIB}" \
41722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41723 installcheck) \
41724 || exit 1
41726 @endif target-libjava
41728 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
41729 maybe-mostlyclean-target-libjava:
41730 @if target-libjava
41731 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
41733 mostlyclean-target-libjava:
41734 @: $(MAKE); $(unstage)
41735 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41736 r=`${PWD_COMMAND}`; export r; \
41737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41738 $(RAW_CXX_TARGET_EXPORTS) \
41739 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
41740 for flag in $(EXTRA_TARGET_FLAGS); do \
41741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41742 done; \
41743 (cd $(TARGET_SUBDIR)/libjava && \
41744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41746 "RANLIB=$${RANLIB}" \
41747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41748 mostlyclean) \
41749 || exit 1
41751 @endif target-libjava
41753 .PHONY: maybe-clean-target-libjava clean-target-libjava
41754 maybe-clean-target-libjava:
41755 @if target-libjava
41756 maybe-clean-target-libjava: clean-target-libjava
41758 clean-target-libjava:
41759 @: $(MAKE); $(unstage)
41760 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41761 r=`${PWD_COMMAND}`; export r; \
41762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41763 $(RAW_CXX_TARGET_EXPORTS) \
41764 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
41765 for flag in $(EXTRA_TARGET_FLAGS); do \
41766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41767 done; \
41768 (cd $(TARGET_SUBDIR)/libjava && \
41769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41771 "RANLIB=$${RANLIB}" \
41772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41773 clean) \
41774 || exit 1
41776 @endif target-libjava
41778 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
41779 maybe-distclean-target-libjava:
41780 @if target-libjava
41781 maybe-distclean-target-libjava: distclean-target-libjava
41783 distclean-target-libjava:
41784 @: $(MAKE); $(unstage)
41785 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41786 r=`${PWD_COMMAND}`; export r; \
41787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41788 $(RAW_CXX_TARGET_EXPORTS) \
41789 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
41790 for flag in $(EXTRA_TARGET_FLAGS); do \
41791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41792 done; \
41793 (cd $(TARGET_SUBDIR)/libjava && \
41794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41796 "RANLIB=$${RANLIB}" \
41797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41798 distclean) \
41799 || exit 1
41801 @endif target-libjava
41803 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
41804 maybe-maintainer-clean-target-libjava:
41805 @if target-libjava
41806 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
41808 maintainer-clean-target-libjava:
41809 @: $(MAKE); $(unstage)
41810 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41811 r=`${PWD_COMMAND}`; export r; \
41812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41813 $(RAW_CXX_TARGET_EXPORTS) \
41814 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
41815 for flag in $(EXTRA_TARGET_FLAGS); do \
41816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41817 done; \
41818 (cd $(TARGET_SUBDIR)/libjava && \
41819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41821 "RANLIB=$${RANLIB}" \
41822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41823 maintainer-clean) \
41824 || exit 1
41826 @endif target-libjava
41832 .PHONY: configure-target-zlib maybe-configure-target-zlib
41833 maybe-configure-target-zlib:
41834 @if gcc-bootstrap
41835 configure-target-zlib: stage_current
41836 @endif gcc-bootstrap
41837 @if target-zlib
41838 maybe-configure-target-zlib: configure-target-zlib
41839 configure-target-zlib:
41840 @: $(MAKE); $(unstage)
41841 @r=`${PWD_COMMAND}`; export r; \
41842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41843 echo "Checking multilib configuration for zlib..."; \
41844 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
41845 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
41846 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
41847 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
41848 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
41849 else \
41850 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
41851 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
41852 fi; \
41853 else \
41854 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
41855 fi; \
41856 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
41857 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
41858 $(NORMAL_TARGET_EXPORTS) \
41859 echo Configuring in $(TARGET_SUBDIR)/zlib; \
41860 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
41861 case $(srcdir) in \
41862 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41863 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
41864 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41865 esac; \
41866 srcdiroption="--srcdir=$${topdir}/zlib"; \
41867 libsrcdir="$$s/zlib"; \
41868 rm -f no-such-file || : ; \
41869 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41870 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41871 --target=${target_alias} $${srcdiroption} \
41872 || exit 1
41873 @endif target-zlib
41879 .PHONY: all-target-zlib maybe-all-target-zlib
41880 maybe-all-target-zlib:
41881 @if gcc-bootstrap
41882 all-target-zlib: stage_current
41883 @endif gcc-bootstrap
41884 @if target-zlib
41885 TARGET-target-zlib=all
41886 maybe-all-target-zlib: all-target-zlib
41887 all-target-zlib: configure-target-zlib
41888 @: $(MAKE); $(unstage)
41889 @r=`${PWD_COMMAND}`; export r; \
41890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41891 $(NORMAL_TARGET_EXPORTS) \
41892 (cd $(TARGET_SUBDIR)/zlib && \
41893 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
41894 @endif target-zlib
41900 .PHONY: check-target-zlib maybe-check-target-zlib
41901 maybe-check-target-zlib:
41902 @if target-zlib
41903 maybe-check-target-zlib: check-target-zlib
41905 check-target-zlib:
41906 @: $(MAKE); $(unstage)
41907 @r=`${PWD_COMMAND}`; export r; \
41908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41909 $(NORMAL_TARGET_EXPORTS) \
41910 (cd $(TARGET_SUBDIR)/zlib && \
41911 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41913 @endif target-zlib
41915 .PHONY: install-target-zlib maybe-install-target-zlib
41916 maybe-install-target-zlib:
41917 @if target-zlib
41918 maybe-install-target-zlib: install-target-zlib
41920 install-target-zlib: installdirs
41921 @: $(MAKE); $(unstage)
41922 @r=`${PWD_COMMAND}`; export r; \
41923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41924 $(NORMAL_TARGET_EXPORTS) \
41925 (cd $(TARGET_SUBDIR)/zlib && \
41926 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41928 @endif target-zlib
41930 # Other targets (info, dvi, pdf, etc.)
41932 .PHONY: maybe-info-target-zlib info-target-zlib
41933 maybe-info-target-zlib:
41934 @if target-zlib
41935 maybe-info-target-zlib: info-target-zlib
41937 info-target-zlib: \
41938 configure-target-zlib
41939 @: $(MAKE); $(unstage)
41940 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
41941 r=`${PWD_COMMAND}`; export r; \
41942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41943 $(NORMAL_TARGET_EXPORTS) \
41944 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
41945 for flag in $(EXTRA_TARGET_FLAGS); do \
41946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41947 done; \
41948 (cd $(TARGET_SUBDIR)/zlib && \
41949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41951 "RANLIB=$${RANLIB}" \
41952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41953 info) \
41954 || exit 1
41956 @endif target-zlib
41958 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
41959 maybe-dvi-target-zlib:
41960 @if target-zlib
41961 maybe-dvi-target-zlib: dvi-target-zlib
41963 dvi-target-zlib: \
41964 configure-target-zlib
41965 @: $(MAKE); $(unstage)
41966 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
41967 r=`${PWD_COMMAND}`; export r; \
41968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41969 $(NORMAL_TARGET_EXPORTS) \
41970 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
41971 for flag in $(EXTRA_TARGET_FLAGS); do \
41972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41973 done; \
41974 (cd $(TARGET_SUBDIR)/zlib && \
41975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41977 "RANLIB=$${RANLIB}" \
41978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41979 dvi) \
41980 || exit 1
41982 @endif target-zlib
41984 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
41985 maybe-pdf-target-zlib:
41986 @if target-zlib
41987 maybe-pdf-target-zlib: pdf-target-zlib
41989 pdf-target-zlib: \
41990 configure-target-zlib
41991 @: $(MAKE); $(unstage)
41992 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
41993 r=`${PWD_COMMAND}`; export r; \
41994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41995 $(NORMAL_TARGET_EXPORTS) \
41996 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
41997 for flag in $(EXTRA_TARGET_FLAGS); do \
41998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41999 done; \
42000 (cd $(TARGET_SUBDIR)/zlib && \
42001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42003 "RANLIB=$${RANLIB}" \
42004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42005 pdf) \
42006 || exit 1
42008 @endif target-zlib
42010 .PHONY: maybe-html-target-zlib html-target-zlib
42011 maybe-html-target-zlib:
42012 @if target-zlib
42013 maybe-html-target-zlib: html-target-zlib
42015 html-target-zlib: \
42016 configure-target-zlib
42017 @: $(MAKE); $(unstage)
42018 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42019 r=`${PWD_COMMAND}`; export r; \
42020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42021 $(NORMAL_TARGET_EXPORTS) \
42022 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
42023 for flag in $(EXTRA_TARGET_FLAGS); do \
42024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42025 done; \
42026 (cd $(TARGET_SUBDIR)/zlib && \
42027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42029 "RANLIB=$${RANLIB}" \
42030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42031 html) \
42032 || exit 1
42034 @endif target-zlib
42036 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
42037 maybe-TAGS-target-zlib:
42038 @if target-zlib
42039 maybe-TAGS-target-zlib: TAGS-target-zlib
42041 TAGS-target-zlib: \
42042 configure-target-zlib
42043 @: $(MAKE); $(unstage)
42044 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42045 r=`${PWD_COMMAND}`; export r; \
42046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42047 $(NORMAL_TARGET_EXPORTS) \
42048 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
42049 for flag in $(EXTRA_TARGET_FLAGS); do \
42050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42051 done; \
42052 (cd $(TARGET_SUBDIR)/zlib && \
42053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42055 "RANLIB=$${RANLIB}" \
42056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42057 TAGS) \
42058 || exit 1
42060 @endif target-zlib
42062 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
42063 maybe-install-info-target-zlib:
42064 @if target-zlib
42065 maybe-install-info-target-zlib: install-info-target-zlib
42067 install-info-target-zlib: \
42068 configure-target-zlib \
42069 info-target-zlib
42070 @: $(MAKE); $(unstage)
42071 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42072 r=`${PWD_COMMAND}`; export r; \
42073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42074 $(NORMAL_TARGET_EXPORTS) \
42075 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
42076 for flag in $(EXTRA_TARGET_FLAGS); do \
42077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42078 done; \
42079 (cd $(TARGET_SUBDIR)/zlib && \
42080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42082 "RANLIB=$${RANLIB}" \
42083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42084 install-info) \
42085 || exit 1
42087 @endif target-zlib
42089 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
42090 maybe-install-html-target-zlib:
42091 @if target-zlib
42092 maybe-install-html-target-zlib: install-html-target-zlib
42094 install-html-target-zlib: \
42095 configure-target-zlib \
42096 html-target-zlib
42097 @: $(MAKE); $(unstage)
42098 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42099 r=`${PWD_COMMAND}`; export r; \
42100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42101 $(NORMAL_TARGET_EXPORTS) \
42102 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
42103 for flag in $(EXTRA_TARGET_FLAGS); do \
42104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42105 done; \
42106 (cd $(TARGET_SUBDIR)/zlib && \
42107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42109 "RANLIB=$${RANLIB}" \
42110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42111 install-html) \
42112 || exit 1
42114 @endif target-zlib
42116 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
42117 maybe-installcheck-target-zlib:
42118 @if target-zlib
42119 maybe-installcheck-target-zlib: installcheck-target-zlib
42121 installcheck-target-zlib: \
42122 configure-target-zlib
42123 @: $(MAKE); $(unstage)
42124 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42125 r=`${PWD_COMMAND}`; export r; \
42126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42127 $(NORMAL_TARGET_EXPORTS) \
42128 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
42129 for flag in $(EXTRA_TARGET_FLAGS); do \
42130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42131 done; \
42132 (cd $(TARGET_SUBDIR)/zlib && \
42133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42135 "RANLIB=$${RANLIB}" \
42136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42137 installcheck) \
42138 || exit 1
42140 @endif target-zlib
42142 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
42143 maybe-mostlyclean-target-zlib:
42144 @if target-zlib
42145 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
42147 mostlyclean-target-zlib:
42148 @: $(MAKE); $(unstage)
42149 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42150 r=`${PWD_COMMAND}`; export r; \
42151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42152 $(NORMAL_TARGET_EXPORTS) \
42153 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
42154 for flag in $(EXTRA_TARGET_FLAGS); do \
42155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42156 done; \
42157 (cd $(TARGET_SUBDIR)/zlib && \
42158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42160 "RANLIB=$${RANLIB}" \
42161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42162 mostlyclean) \
42163 || exit 1
42165 @endif target-zlib
42167 .PHONY: maybe-clean-target-zlib clean-target-zlib
42168 maybe-clean-target-zlib:
42169 @if target-zlib
42170 maybe-clean-target-zlib: clean-target-zlib
42172 clean-target-zlib:
42173 @: $(MAKE); $(unstage)
42174 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42175 r=`${PWD_COMMAND}`; export r; \
42176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42177 $(NORMAL_TARGET_EXPORTS) \
42178 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
42179 for flag in $(EXTRA_TARGET_FLAGS); do \
42180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42181 done; \
42182 (cd $(TARGET_SUBDIR)/zlib && \
42183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42185 "RANLIB=$${RANLIB}" \
42186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42187 clean) \
42188 || exit 1
42190 @endif target-zlib
42192 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
42193 maybe-distclean-target-zlib:
42194 @if target-zlib
42195 maybe-distclean-target-zlib: distclean-target-zlib
42197 distclean-target-zlib:
42198 @: $(MAKE); $(unstage)
42199 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42200 r=`${PWD_COMMAND}`; export r; \
42201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42202 $(NORMAL_TARGET_EXPORTS) \
42203 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
42204 for flag in $(EXTRA_TARGET_FLAGS); do \
42205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42206 done; \
42207 (cd $(TARGET_SUBDIR)/zlib && \
42208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42210 "RANLIB=$${RANLIB}" \
42211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42212 distclean) \
42213 || exit 1
42215 @endif target-zlib
42217 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
42218 maybe-maintainer-clean-target-zlib:
42219 @if target-zlib
42220 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
42222 maintainer-clean-target-zlib:
42223 @: $(MAKE); $(unstage)
42224 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42225 r=`${PWD_COMMAND}`; export r; \
42226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42227 $(NORMAL_TARGET_EXPORTS) \
42228 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
42229 for flag in $(EXTRA_TARGET_FLAGS); do \
42230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42231 done; \
42232 (cd $(TARGET_SUBDIR)/zlib && \
42233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42235 "RANLIB=$${RANLIB}" \
42236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42237 maintainer-clean) \
42238 || exit 1
42240 @endif target-zlib
42246 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
42247 maybe-configure-target-boehm-gc:
42248 @if gcc-bootstrap
42249 configure-target-boehm-gc: stage_current
42250 @endif gcc-bootstrap
42251 @if target-boehm-gc
42252 maybe-configure-target-boehm-gc: configure-target-boehm-gc
42253 configure-target-boehm-gc:
42254 @: $(MAKE); $(unstage)
42255 @r=`${PWD_COMMAND}`; export r; \
42256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42257 echo "Checking multilib configuration for boehm-gc..."; \
42258 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
42259 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
42260 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
42261 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
42262 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
42263 else \
42264 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
42265 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
42266 fi; \
42267 else \
42268 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
42269 fi; \
42270 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
42271 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
42272 $(NORMAL_TARGET_EXPORTS) \
42273 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
42274 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
42275 case $(srcdir) in \
42276 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42277 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
42278 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42279 esac; \
42280 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
42281 libsrcdir="$$s/boehm-gc"; \
42282 rm -f no-such-file || : ; \
42283 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
42284 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42285 --target=${target_alias} $${srcdiroption} \
42286 || exit 1
42287 @endif target-boehm-gc
42293 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
42294 maybe-all-target-boehm-gc:
42295 @if gcc-bootstrap
42296 all-target-boehm-gc: stage_current
42297 @endif gcc-bootstrap
42298 @if target-boehm-gc
42299 TARGET-target-boehm-gc=all
42300 maybe-all-target-boehm-gc: all-target-boehm-gc
42301 all-target-boehm-gc: configure-target-boehm-gc
42302 @: $(MAKE); $(unstage)
42303 @r=`${PWD_COMMAND}`; export r; \
42304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42305 $(NORMAL_TARGET_EXPORTS) \
42306 (cd $(TARGET_SUBDIR)/boehm-gc && \
42307 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
42308 @endif target-boehm-gc
42314 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
42315 maybe-check-target-boehm-gc:
42316 @if target-boehm-gc
42317 maybe-check-target-boehm-gc: check-target-boehm-gc
42319 check-target-boehm-gc:
42320 @: $(MAKE); $(unstage)
42321 @r=`${PWD_COMMAND}`; export r; \
42322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42323 $(NORMAL_TARGET_EXPORTS) \
42324 (cd $(TARGET_SUBDIR)/boehm-gc && \
42325 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42327 @endif target-boehm-gc
42329 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
42330 maybe-install-target-boehm-gc:
42331 @if target-boehm-gc
42332 maybe-install-target-boehm-gc: install-target-boehm-gc
42334 install-target-boehm-gc: installdirs
42335 @: $(MAKE); $(unstage)
42336 @r=`${PWD_COMMAND}`; export r; \
42337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42338 $(NORMAL_TARGET_EXPORTS) \
42339 (cd $(TARGET_SUBDIR)/boehm-gc && \
42340 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42342 @endif target-boehm-gc
42344 # Other targets (info, dvi, pdf, etc.)
42346 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
42347 maybe-info-target-boehm-gc:
42348 @if target-boehm-gc
42349 maybe-info-target-boehm-gc: info-target-boehm-gc
42351 info-target-boehm-gc: \
42352 configure-target-boehm-gc
42353 @: $(MAKE); $(unstage)
42354 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42355 r=`${PWD_COMMAND}`; export r; \
42356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42357 $(NORMAL_TARGET_EXPORTS) \
42358 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
42359 for flag in $(EXTRA_TARGET_FLAGS); do \
42360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42361 done; \
42362 (cd $(TARGET_SUBDIR)/boehm-gc && \
42363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42365 "RANLIB=$${RANLIB}" \
42366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42367 info) \
42368 || exit 1
42370 @endif target-boehm-gc
42372 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
42373 maybe-dvi-target-boehm-gc:
42374 @if target-boehm-gc
42375 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
42377 dvi-target-boehm-gc: \
42378 configure-target-boehm-gc
42379 @: $(MAKE); $(unstage)
42380 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42381 r=`${PWD_COMMAND}`; export r; \
42382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42383 $(NORMAL_TARGET_EXPORTS) \
42384 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
42385 for flag in $(EXTRA_TARGET_FLAGS); do \
42386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42387 done; \
42388 (cd $(TARGET_SUBDIR)/boehm-gc && \
42389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42391 "RANLIB=$${RANLIB}" \
42392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42393 dvi) \
42394 || exit 1
42396 @endif target-boehm-gc
42398 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
42399 maybe-pdf-target-boehm-gc:
42400 @if target-boehm-gc
42401 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
42403 pdf-target-boehm-gc: \
42404 configure-target-boehm-gc
42405 @: $(MAKE); $(unstage)
42406 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42407 r=`${PWD_COMMAND}`; export r; \
42408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42409 $(NORMAL_TARGET_EXPORTS) \
42410 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
42411 for flag in $(EXTRA_TARGET_FLAGS); do \
42412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42413 done; \
42414 (cd $(TARGET_SUBDIR)/boehm-gc && \
42415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42417 "RANLIB=$${RANLIB}" \
42418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42419 pdf) \
42420 || exit 1
42422 @endif target-boehm-gc
42424 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
42425 maybe-html-target-boehm-gc:
42426 @if target-boehm-gc
42427 maybe-html-target-boehm-gc: html-target-boehm-gc
42429 html-target-boehm-gc: \
42430 configure-target-boehm-gc
42431 @: $(MAKE); $(unstage)
42432 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42433 r=`${PWD_COMMAND}`; export r; \
42434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42435 $(NORMAL_TARGET_EXPORTS) \
42436 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
42437 for flag in $(EXTRA_TARGET_FLAGS); do \
42438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42439 done; \
42440 (cd $(TARGET_SUBDIR)/boehm-gc && \
42441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42443 "RANLIB=$${RANLIB}" \
42444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42445 html) \
42446 || exit 1
42448 @endif target-boehm-gc
42450 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
42451 maybe-TAGS-target-boehm-gc:
42452 @if target-boehm-gc
42453 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
42455 TAGS-target-boehm-gc: \
42456 configure-target-boehm-gc
42457 @: $(MAKE); $(unstage)
42458 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42459 r=`${PWD_COMMAND}`; export r; \
42460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42461 $(NORMAL_TARGET_EXPORTS) \
42462 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
42463 for flag in $(EXTRA_TARGET_FLAGS); do \
42464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42465 done; \
42466 (cd $(TARGET_SUBDIR)/boehm-gc && \
42467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42469 "RANLIB=$${RANLIB}" \
42470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42471 TAGS) \
42472 || exit 1
42474 @endif target-boehm-gc
42476 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
42477 maybe-install-info-target-boehm-gc:
42478 @if target-boehm-gc
42479 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
42481 install-info-target-boehm-gc: \
42482 configure-target-boehm-gc \
42483 info-target-boehm-gc
42484 @: $(MAKE); $(unstage)
42485 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42486 r=`${PWD_COMMAND}`; export r; \
42487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42488 $(NORMAL_TARGET_EXPORTS) \
42489 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
42490 for flag in $(EXTRA_TARGET_FLAGS); do \
42491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42492 done; \
42493 (cd $(TARGET_SUBDIR)/boehm-gc && \
42494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42496 "RANLIB=$${RANLIB}" \
42497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42498 install-info) \
42499 || exit 1
42501 @endif target-boehm-gc
42503 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
42504 maybe-install-html-target-boehm-gc:
42505 @if target-boehm-gc
42506 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
42508 install-html-target-boehm-gc: \
42509 configure-target-boehm-gc \
42510 html-target-boehm-gc
42511 @: $(MAKE); $(unstage)
42512 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42513 r=`${PWD_COMMAND}`; export r; \
42514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42515 $(NORMAL_TARGET_EXPORTS) \
42516 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
42517 for flag in $(EXTRA_TARGET_FLAGS); do \
42518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42519 done; \
42520 (cd $(TARGET_SUBDIR)/boehm-gc && \
42521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42523 "RANLIB=$${RANLIB}" \
42524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42525 install-html) \
42526 || exit 1
42528 @endif target-boehm-gc
42530 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
42531 maybe-installcheck-target-boehm-gc:
42532 @if target-boehm-gc
42533 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
42535 installcheck-target-boehm-gc: \
42536 configure-target-boehm-gc
42537 @: $(MAKE); $(unstage)
42538 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42539 r=`${PWD_COMMAND}`; export r; \
42540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42541 $(NORMAL_TARGET_EXPORTS) \
42542 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
42543 for flag in $(EXTRA_TARGET_FLAGS); do \
42544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42545 done; \
42546 (cd $(TARGET_SUBDIR)/boehm-gc && \
42547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42549 "RANLIB=$${RANLIB}" \
42550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42551 installcheck) \
42552 || exit 1
42554 @endif target-boehm-gc
42556 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
42557 maybe-mostlyclean-target-boehm-gc:
42558 @if target-boehm-gc
42559 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
42561 mostlyclean-target-boehm-gc:
42562 @: $(MAKE); $(unstage)
42563 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42564 r=`${PWD_COMMAND}`; export r; \
42565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42566 $(NORMAL_TARGET_EXPORTS) \
42567 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
42568 for flag in $(EXTRA_TARGET_FLAGS); do \
42569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42570 done; \
42571 (cd $(TARGET_SUBDIR)/boehm-gc && \
42572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42574 "RANLIB=$${RANLIB}" \
42575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42576 mostlyclean) \
42577 || exit 1
42579 @endif target-boehm-gc
42581 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
42582 maybe-clean-target-boehm-gc:
42583 @if target-boehm-gc
42584 maybe-clean-target-boehm-gc: clean-target-boehm-gc
42586 clean-target-boehm-gc:
42587 @: $(MAKE); $(unstage)
42588 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42589 r=`${PWD_COMMAND}`; export r; \
42590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42591 $(NORMAL_TARGET_EXPORTS) \
42592 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
42593 for flag in $(EXTRA_TARGET_FLAGS); do \
42594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42595 done; \
42596 (cd $(TARGET_SUBDIR)/boehm-gc && \
42597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42599 "RANLIB=$${RANLIB}" \
42600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42601 clean) \
42602 || exit 1
42604 @endif target-boehm-gc
42606 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
42607 maybe-distclean-target-boehm-gc:
42608 @if target-boehm-gc
42609 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
42611 distclean-target-boehm-gc:
42612 @: $(MAKE); $(unstage)
42613 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42614 r=`${PWD_COMMAND}`; export r; \
42615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42616 $(NORMAL_TARGET_EXPORTS) \
42617 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
42618 for flag in $(EXTRA_TARGET_FLAGS); do \
42619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42620 done; \
42621 (cd $(TARGET_SUBDIR)/boehm-gc && \
42622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42624 "RANLIB=$${RANLIB}" \
42625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42626 distclean) \
42627 || exit 1
42629 @endif target-boehm-gc
42631 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
42632 maybe-maintainer-clean-target-boehm-gc:
42633 @if target-boehm-gc
42634 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
42636 maintainer-clean-target-boehm-gc:
42637 @: $(MAKE); $(unstage)
42638 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42639 r=`${PWD_COMMAND}`; export r; \
42640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42641 $(NORMAL_TARGET_EXPORTS) \
42642 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
42643 for flag in $(EXTRA_TARGET_FLAGS); do \
42644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42645 done; \
42646 (cd $(TARGET_SUBDIR)/boehm-gc && \
42647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42649 "RANLIB=$${RANLIB}" \
42650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42651 maintainer-clean) \
42652 || exit 1
42654 @endif target-boehm-gc
42660 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
42661 maybe-configure-target-qthreads:
42662 @if gcc-bootstrap
42663 configure-target-qthreads: stage_current
42664 @endif gcc-bootstrap
42665 @if target-qthreads
42666 maybe-configure-target-qthreads: configure-target-qthreads
42667 configure-target-qthreads:
42668 @: $(MAKE); $(unstage)
42669 @r=`${PWD_COMMAND}`; export r; \
42670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42671 echo "Checking multilib configuration for qthreads..."; \
42672 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
42673 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
42674 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
42675 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
42676 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
42677 else \
42678 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
42679 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
42680 fi; \
42681 else \
42682 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
42683 fi; \
42684 test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
42685 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
42686 $(NORMAL_TARGET_EXPORTS) \
42687 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
42688 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
42689 case $(srcdir) in \
42690 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42691 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
42692 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42693 esac; \
42694 srcdiroption="--srcdir=$${topdir}/qthreads"; \
42695 libsrcdir="$$s/qthreads"; \
42696 rm -f no-such-file || : ; \
42697 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
42698 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42699 --target=${target_alias} $${srcdiroption} \
42700 || exit 1
42701 @endif target-qthreads
42707 .PHONY: all-target-qthreads maybe-all-target-qthreads
42708 maybe-all-target-qthreads:
42709 @if gcc-bootstrap
42710 all-target-qthreads: stage_current
42711 @endif gcc-bootstrap
42712 @if target-qthreads
42713 TARGET-target-qthreads=all
42714 maybe-all-target-qthreads: all-target-qthreads
42715 all-target-qthreads: configure-target-qthreads
42716 @: $(MAKE); $(unstage)
42717 @r=`${PWD_COMMAND}`; export r; \
42718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42719 $(NORMAL_TARGET_EXPORTS) \
42720 (cd $(TARGET_SUBDIR)/qthreads && \
42721 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
42722 @endif target-qthreads
42728 .PHONY: check-target-qthreads maybe-check-target-qthreads
42729 maybe-check-target-qthreads:
42730 @if target-qthreads
42731 maybe-check-target-qthreads: check-target-qthreads
42733 check-target-qthreads:
42734 @: $(MAKE); $(unstage)
42735 @r=`${PWD_COMMAND}`; export r; \
42736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42737 $(NORMAL_TARGET_EXPORTS) \
42738 (cd $(TARGET_SUBDIR)/qthreads && \
42739 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42741 @endif target-qthreads
42743 .PHONY: install-target-qthreads maybe-install-target-qthreads
42744 maybe-install-target-qthreads:
42745 @if target-qthreads
42746 maybe-install-target-qthreads: install-target-qthreads
42748 install-target-qthreads: installdirs
42749 @: $(MAKE); $(unstage)
42750 @r=`${PWD_COMMAND}`; export r; \
42751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42752 $(NORMAL_TARGET_EXPORTS) \
42753 (cd $(TARGET_SUBDIR)/qthreads && \
42754 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42756 @endif target-qthreads
42758 # Other targets (info, dvi, pdf, etc.)
42760 .PHONY: maybe-info-target-qthreads info-target-qthreads
42761 maybe-info-target-qthreads:
42762 @if target-qthreads
42763 maybe-info-target-qthreads: info-target-qthreads
42765 info-target-qthreads: \
42766 configure-target-qthreads
42767 @: $(MAKE); $(unstage)
42768 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
42769 r=`${PWD_COMMAND}`; export r; \
42770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42771 $(NORMAL_TARGET_EXPORTS) \
42772 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
42773 for flag in $(EXTRA_TARGET_FLAGS); do \
42774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42775 done; \
42776 (cd $(TARGET_SUBDIR)/qthreads && \
42777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42779 "RANLIB=$${RANLIB}" \
42780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42781 info) \
42782 || exit 1
42784 @endif target-qthreads
42786 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
42787 maybe-dvi-target-qthreads:
42788 @if target-qthreads
42789 maybe-dvi-target-qthreads: dvi-target-qthreads
42791 dvi-target-qthreads: \
42792 configure-target-qthreads
42793 @: $(MAKE); $(unstage)
42794 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
42795 r=`${PWD_COMMAND}`; export r; \
42796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42797 $(NORMAL_TARGET_EXPORTS) \
42798 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
42799 for flag in $(EXTRA_TARGET_FLAGS); do \
42800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42801 done; \
42802 (cd $(TARGET_SUBDIR)/qthreads && \
42803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42805 "RANLIB=$${RANLIB}" \
42806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42807 dvi) \
42808 || exit 1
42810 @endif target-qthreads
42812 .PHONY: maybe-pdf-target-qthreads pdf-target-qthreads
42813 maybe-pdf-target-qthreads:
42814 @if target-qthreads
42815 maybe-pdf-target-qthreads: pdf-target-qthreads
42817 pdf-target-qthreads: \
42818 configure-target-qthreads
42819 @: $(MAKE); $(unstage)
42820 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
42821 r=`${PWD_COMMAND}`; export r; \
42822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42823 $(NORMAL_TARGET_EXPORTS) \
42824 echo "Doing pdf in $(TARGET_SUBDIR)/qthreads" ; \
42825 for flag in $(EXTRA_TARGET_FLAGS); do \
42826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42827 done; \
42828 (cd $(TARGET_SUBDIR)/qthreads && \
42829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42831 "RANLIB=$${RANLIB}" \
42832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42833 pdf) \
42834 || exit 1
42836 @endif target-qthreads
42838 .PHONY: maybe-html-target-qthreads html-target-qthreads
42839 maybe-html-target-qthreads:
42840 @if target-qthreads
42841 maybe-html-target-qthreads: html-target-qthreads
42843 html-target-qthreads: \
42844 configure-target-qthreads
42845 @: $(MAKE); $(unstage)
42846 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
42847 r=`${PWD_COMMAND}`; export r; \
42848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42849 $(NORMAL_TARGET_EXPORTS) \
42850 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
42851 for flag in $(EXTRA_TARGET_FLAGS); do \
42852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42853 done; \
42854 (cd $(TARGET_SUBDIR)/qthreads && \
42855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42857 "RANLIB=$${RANLIB}" \
42858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42859 html) \
42860 || exit 1
42862 @endif target-qthreads
42864 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
42865 maybe-TAGS-target-qthreads:
42866 @if target-qthreads
42867 maybe-TAGS-target-qthreads: TAGS-target-qthreads
42869 TAGS-target-qthreads: \
42870 configure-target-qthreads
42871 @: $(MAKE); $(unstage)
42872 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
42873 r=`${PWD_COMMAND}`; export r; \
42874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42875 $(NORMAL_TARGET_EXPORTS) \
42876 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
42877 for flag in $(EXTRA_TARGET_FLAGS); do \
42878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42879 done; \
42880 (cd $(TARGET_SUBDIR)/qthreads && \
42881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42883 "RANLIB=$${RANLIB}" \
42884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42885 TAGS) \
42886 || exit 1
42888 @endif target-qthreads
42890 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
42891 maybe-install-info-target-qthreads:
42892 @if target-qthreads
42893 maybe-install-info-target-qthreads: install-info-target-qthreads
42895 install-info-target-qthreads: \
42896 configure-target-qthreads \
42897 info-target-qthreads
42898 @: $(MAKE); $(unstage)
42899 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
42900 r=`${PWD_COMMAND}`; export r; \
42901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42902 $(NORMAL_TARGET_EXPORTS) \
42903 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
42904 for flag in $(EXTRA_TARGET_FLAGS); do \
42905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42906 done; \
42907 (cd $(TARGET_SUBDIR)/qthreads && \
42908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42910 "RANLIB=$${RANLIB}" \
42911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42912 install-info) \
42913 || exit 1
42915 @endif target-qthreads
42917 .PHONY: maybe-install-html-target-qthreads install-html-target-qthreads
42918 maybe-install-html-target-qthreads:
42919 @if target-qthreads
42920 maybe-install-html-target-qthreads: install-html-target-qthreads
42922 install-html-target-qthreads: \
42923 configure-target-qthreads \
42924 html-target-qthreads
42925 @: $(MAKE); $(unstage)
42926 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
42927 r=`${PWD_COMMAND}`; export r; \
42928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42929 $(NORMAL_TARGET_EXPORTS) \
42930 echo "Doing install-html in $(TARGET_SUBDIR)/qthreads" ; \
42931 for flag in $(EXTRA_TARGET_FLAGS); do \
42932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42933 done; \
42934 (cd $(TARGET_SUBDIR)/qthreads && \
42935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42937 "RANLIB=$${RANLIB}" \
42938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42939 install-html) \
42940 || exit 1
42942 @endif target-qthreads
42944 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
42945 maybe-installcheck-target-qthreads:
42946 @if target-qthreads
42947 maybe-installcheck-target-qthreads: installcheck-target-qthreads
42949 installcheck-target-qthreads: \
42950 configure-target-qthreads
42951 @: $(MAKE); $(unstage)
42952 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
42953 r=`${PWD_COMMAND}`; export r; \
42954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42955 $(NORMAL_TARGET_EXPORTS) \
42956 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
42957 for flag in $(EXTRA_TARGET_FLAGS); do \
42958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42959 done; \
42960 (cd $(TARGET_SUBDIR)/qthreads && \
42961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42963 "RANLIB=$${RANLIB}" \
42964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42965 installcheck) \
42966 || exit 1
42968 @endif target-qthreads
42970 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
42971 maybe-mostlyclean-target-qthreads:
42972 @if target-qthreads
42973 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
42975 mostlyclean-target-qthreads:
42976 @: $(MAKE); $(unstage)
42977 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
42978 r=`${PWD_COMMAND}`; export r; \
42979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42980 $(NORMAL_TARGET_EXPORTS) \
42981 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
42982 for flag in $(EXTRA_TARGET_FLAGS); do \
42983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42984 done; \
42985 (cd $(TARGET_SUBDIR)/qthreads && \
42986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42988 "RANLIB=$${RANLIB}" \
42989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42990 mostlyclean) \
42991 || exit 1
42993 @endif target-qthreads
42995 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
42996 maybe-clean-target-qthreads:
42997 @if target-qthreads
42998 maybe-clean-target-qthreads: clean-target-qthreads
43000 clean-target-qthreads:
43001 @: $(MAKE); $(unstage)
43002 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
43003 r=`${PWD_COMMAND}`; export r; \
43004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43005 $(NORMAL_TARGET_EXPORTS) \
43006 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
43007 for flag in $(EXTRA_TARGET_FLAGS); do \
43008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43009 done; \
43010 (cd $(TARGET_SUBDIR)/qthreads && \
43011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43013 "RANLIB=$${RANLIB}" \
43014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43015 clean) \
43016 || exit 1
43018 @endif target-qthreads
43020 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
43021 maybe-distclean-target-qthreads:
43022 @if target-qthreads
43023 maybe-distclean-target-qthreads: distclean-target-qthreads
43025 distclean-target-qthreads:
43026 @: $(MAKE); $(unstage)
43027 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
43028 r=`${PWD_COMMAND}`; export r; \
43029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43030 $(NORMAL_TARGET_EXPORTS) \
43031 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
43032 for flag in $(EXTRA_TARGET_FLAGS); do \
43033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43034 done; \
43035 (cd $(TARGET_SUBDIR)/qthreads && \
43036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43038 "RANLIB=$${RANLIB}" \
43039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43040 distclean) \
43041 || exit 1
43043 @endif target-qthreads
43045 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
43046 maybe-maintainer-clean-target-qthreads:
43047 @if target-qthreads
43048 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
43050 maintainer-clean-target-qthreads:
43051 @: $(MAKE); $(unstage)
43052 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
43053 r=`${PWD_COMMAND}`; export r; \
43054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43055 $(NORMAL_TARGET_EXPORTS) \
43056 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
43057 for flag in $(EXTRA_TARGET_FLAGS); do \
43058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43059 done; \
43060 (cd $(TARGET_SUBDIR)/qthreads && \
43061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43063 "RANLIB=$${RANLIB}" \
43064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43065 maintainer-clean) \
43066 || exit 1
43068 @endif target-qthreads
43074 .PHONY: configure-target-rda maybe-configure-target-rda
43075 maybe-configure-target-rda:
43076 @if gcc-bootstrap
43077 configure-target-rda: stage_current
43078 @endif gcc-bootstrap
43079 @if target-rda
43080 maybe-configure-target-rda: configure-target-rda
43081 configure-target-rda:
43082 @: $(MAKE); $(unstage)
43083 @r=`${PWD_COMMAND}`; export r; \
43084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43085 echo "Checking multilib configuration for rda..."; \
43086 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
43087 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
43088 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
43089 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
43090 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
43091 else \
43092 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
43093 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
43094 fi; \
43095 else \
43096 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
43097 fi; \
43098 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
43099 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
43100 $(NORMAL_TARGET_EXPORTS) \
43101 echo Configuring in $(TARGET_SUBDIR)/rda; \
43102 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
43103 case $(srcdir) in \
43104 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43105 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
43106 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43107 esac; \
43108 srcdiroption="--srcdir=$${topdir}/rda"; \
43109 libsrcdir="$$s/rda"; \
43110 rm -f no-such-file || : ; \
43111 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
43112 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43113 --target=${target_alias} $${srcdiroption} \
43114 || exit 1
43115 @endif target-rda
43121 .PHONY: all-target-rda maybe-all-target-rda
43122 maybe-all-target-rda:
43123 @if gcc-bootstrap
43124 all-target-rda: stage_current
43125 @endif gcc-bootstrap
43126 @if target-rda
43127 TARGET-target-rda=all
43128 maybe-all-target-rda: all-target-rda
43129 all-target-rda: configure-target-rda
43130 @: $(MAKE); $(unstage)
43131 @r=`${PWD_COMMAND}`; export r; \
43132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43133 $(NORMAL_TARGET_EXPORTS) \
43134 (cd $(TARGET_SUBDIR)/rda && \
43135 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
43136 @endif target-rda
43142 .PHONY: check-target-rda maybe-check-target-rda
43143 maybe-check-target-rda:
43144 @if target-rda
43145 maybe-check-target-rda: check-target-rda
43147 check-target-rda:
43148 @: $(MAKE); $(unstage)
43149 @r=`${PWD_COMMAND}`; export r; \
43150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43151 $(NORMAL_TARGET_EXPORTS) \
43152 (cd $(TARGET_SUBDIR)/rda && \
43153 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43155 @endif target-rda
43157 .PHONY: install-target-rda maybe-install-target-rda
43158 maybe-install-target-rda:
43159 @if target-rda
43160 maybe-install-target-rda: install-target-rda
43162 install-target-rda: installdirs
43163 @: $(MAKE); $(unstage)
43164 @r=`${PWD_COMMAND}`; export r; \
43165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43166 $(NORMAL_TARGET_EXPORTS) \
43167 (cd $(TARGET_SUBDIR)/rda && \
43168 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43170 @endif target-rda
43172 # Other targets (info, dvi, pdf, etc.)
43174 .PHONY: maybe-info-target-rda info-target-rda
43175 maybe-info-target-rda:
43176 @if target-rda
43177 maybe-info-target-rda: info-target-rda
43179 info-target-rda: \
43180 configure-target-rda
43181 @: $(MAKE); $(unstage)
43182 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43183 r=`${PWD_COMMAND}`; export r; \
43184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43185 $(NORMAL_TARGET_EXPORTS) \
43186 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
43187 for flag in $(EXTRA_TARGET_FLAGS); do \
43188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43189 done; \
43190 (cd $(TARGET_SUBDIR)/rda && \
43191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43193 "RANLIB=$${RANLIB}" \
43194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43195 info) \
43196 || exit 1
43198 @endif target-rda
43200 .PHONY: maybe-dvi-target-rda dvi-target-rda
43201 maybe-dvi-target-rda:
43202 @if target-rda
43203 maybe-dvi-target-rda: dvi-target-rda
43205 dvi-target-rda: \
43206 configure-target-rda
43207 @: $(MAKE); $(unstage)
43208 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43209 r=`${PWD_COMMAND}`; export r; \
43210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43211 $(NORMAL_TARGET_EXPORTS) \
43212 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
43213 for flag in $(EXTRA_TARGET_FLAGS); do \
43214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43215 done; \
43216 (cd $(TARGET_SUBDIR)/rda && \
43217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43219 "RANLIB=$${RANLIB}" \
43220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43221 dvi) \
43222 || exit 1
43224 @endif target-rda
43226 .PHONY: maybe-pdf-target-rda pdf-target-rda
43227 maybe-pdf-target-rda:
43228 @if target-rda
43229 maybe-pdf-target-rda: pdf-target-rda
43231 pdf-target-rda: \
43232 configure-target-rda
43233 @: $(MAKE); $(unstage)
43234 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43235 r=`${PWD_COMMAND}`; export r; \
43236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43237 $(NORMAL_TARGET_EXPORTS) \
43238 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
43239 for flag in $(EXTRA_TARGET_FLAGS); do \
43240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43241 done; \
43242 (cd $(TARGET_SUBDIR)/rda && \
43243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43245 "RANLIB=$${RANLIB}" \
43246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43247 pdf) \
43248 || exit 1
43250 @endif target-rda
43252 .PHONY: maybe-html-target-rda html-target-rda
43253 maybe-html-target-rda:
43254 @if target-rda
43255 maybe-html-target-rda: html-target-rda
43257 html-target-rda: \
43258 configure-target-rda
43259 @: $(MAKE); $(unstage)
43260 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43261 r=`${PWD_COMMAND}`; export r; \
43262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43263 $(NORMAL_TARGET_EXPORTS) \
43264 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
43265 for flag in $(EXTRA_TARGET_FLAGS); do \
43266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43267 done; \
43268 (cd $(TARGET_SUBDIR)/rda && \
43269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43271 "RANLIB=$${RANLIB}" \
43272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43273 html) \
43274 || exit 1
43276 @endif target-rda
43278 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
43279 maybe-TAGS-target-rda:
43280 @if target-rda
43281 maybe-TAGS-target-rda: TAGS-target-rda
43283 TAGS-target-rda: \
43284 configure-target-rda
43285 @: $(MAKE); $(unstage)
43286 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43287 r=`${PWD_COMMAND}`; export r; \
43288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43289 $(NORMAL_TARGET_EXPORTS) \
43290 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
43291 for flag in $(EXTRA_TARGET_FLAGS); do \
43292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43293 done; \
43294 (cd $(TARGET_SUBDIR)/rda && \
43295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43297 "RANLIB=$${RANLIB}" \
43298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43299 TAGS) \
43300 || exit 1
43302 @endif target-rda
43304 .PHONY: maybe-install-info-target-rda install-info-target-rda
43305 maybe-install-info-target-rda:
43306 @if target-rda
43307 maybe-install-info-target-rda: install-info-target-rda
43309 install-info-target-rda: \
43310 configure-target-rda \
43311 info-target-rda
43312 @: $(MAKE); $(unstage)
43313 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43314 r=`${PWD_COMMAND}`; export r; \
43315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43316 $(NORMAL_TARGET_EXPORTS) \
43317 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
43318 for flag in $(EXTRA_TARGET_FLAGS); do \
43319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43320 done; \
43321 (cd $(TARGET_SUBDIR)/rda && \
43322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43324 "RANLIB=$${RANLIB}" \
43325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43326 install-info) \
43327 || exit 1
43329 @endif target-rda
43331 .PHONY: maybe-install-html-target-rda install-html-target-rda
43332 maybe-install-html-target-rda:
43333 @if target-rda
43334 maybe-install-html-target-rda: install-html-target-rda
43336 install-html-target-rda: \
43337 configure-target-rda \
43338 html-target-rda
43339 @: $(MAKE); $(unstage)
43340 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43341 r=`${PWD_COMMAND}`; export r; \
43342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43343 $(NORMAL_TARGET_EXPORTS) \
43344 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
43345 for flag in $(EXTRA_TARGET_FLAGS); do \
43346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43347 done; \
43348 (cd $(TARGET_SUBDIR)/rda && \
43349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43351 "RANLIB=$${RANLIB}" \
43352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43353 install-html) \
43354 || exit 1
43356 @endif target-rda
43358 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
43359 maybe-installcheck-target-rda:
43360 @if target-rda
43361 maybe-installcheck-target-rda: installcheck-target-rda
43363 installcheck-target-rda: \
43364 configure-target-rda
43365 @: $(MAKE); $(unstage)
43366 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43367 r=`${PWD_COMMAND}`; export r; \
43368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43369 $(NORMAL_TARGET_EXPORTS) \
43370 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
43371 for flag in $(EXTRA_TARGET_FLAGS); do \
43372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43373 done; \
43374 (cd $(TARGET_SUBDIR)/rda && \
43375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43377 "RANLIB=$${RANLIB}" \
43378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43379 installcheck) \
43380 || exit 1
43382 @endif target-rda
43384 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
43385 maybe-mostlyclean-target-rda:
43386 @if target-rda
43387 maybe-mostlyclean-target-rda: mostlyclean-target-rda
43389 mostlyclean-target-rda:
43390 @: $(MAKE); $(unstage)
43391 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43392 r=`${PWD_COMMAND}`; export r; \
43393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43394 $(NORMAL_TARGET_EXPORTS) \
43395 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
43396 for flag in $(EXTRA_TARGET_FLAGS); do \
43397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43398 done; \
43399 (cd $(TARGET_SUBDIR)/rda && \
43400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43402 "RANLIB=$${RANLIB}" \
43403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43404 mostlyclean) \
43405 || exit 1
43407 @endif target-rda
43409 .PHONY: maybe-clean-target-rda clean-target-rda
43410 maybe-clean-target-rda:
43411 @if target-rda
43412 maybe-clean-target-rda: clean-target-rda
43414 clean-target-rda:
43415 @: $(MAKE); $(unstage)
43416 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43417 r=`${PWD_COMMAND}`; export r; \
43418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43419 $(NORMAL_TARGET_EXPORTS) \
43420 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
43421 for flag in $(EXTRA_TARGET_FLAGS); do \
43422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43423 done; \
43424 (cd $(TARGET_SUBDIR)/rda && \
43425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43427 "RANLIB=$${RANLIB}" \
43428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43429 clean) \
43430 || exit 1
43432 @endif target-rda
43434 .PHONY: maybe-distclean-target-rda distclean-target-rda
43435 maybe-distclean-target-rda:
43436 @if target-rda
43437 maybe-distclean-target-rda: distclean-target-rda
43439 distclean-target-rda:
43440 @: $(MAKE); $(unstage)
43441 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43442 r=`${PWD_COMMAND}`; export r; \
43443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43444 $(NORMAL_TARGET_EXPORTS) \
43445 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
43446 for flag in $(EXTRA_TARGET_FLAGS); do \
43447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43448 done; \
43449 (cd $(TARGET_SUBDIR)/rda && \
43450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43452 "RANLIB=$${RANLIB}" \
43453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43454 distclean) \
43455 || exit 1
43457 @endif target-rda
43459 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
43460 maybe-maintainer-clean-target-rda:
43461 @if target-rda
43462 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
43464 maintainer-clean-target-rda:
43465 @: $(MAKE); $(unstage)
43466 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43467 r=`${PWD_COMMAND}`; export r; \
43468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43469 $(NORMAL_TARGET_EXPORTS) \
43470 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
43471 for flag in $(EXTRA_TARGET_FLAGS); do \
43472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43473 done; \
43474 (cd $(TARGET_SUBDIR)/rda && \
43475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43477 "RANLIB=$${RANLIB}" \
43478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43479 maintainer-clean) \
43480 || exit 1
43482 @endif target-rda
43488 .PHONY: configure-target-libada maybe-configure-target-libada
43489 maybe-configure-target-libada:
43490 @if gcc-bootstrap
43491 configure-target-libada: stage_current
43492 @endif gcc-bootstrap
43493 @if target-libada
43494 maybe-configure-target-libada: configure-target-libada
43495 configure-target-libada:
43496 @: $(MAKE); $(unstage)
43497 @r=`${PWD_COMMAND}`; export r; \
43498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43499 echo "Checking multilib configuration for libada..."; \
43500 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
43501 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
43502 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
43503 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
43504 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
43505 else \
43506 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
43507 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
43508 fi; \
43509 else \
43510 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
43511 fi; \
43512 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
43513 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
43514 $(NORMAL_TARGET_EXPORTS) \
43515 echo Configuring in $(TARGET_SUBDIR)/libada; \
43516 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
43517 case $(srcdir) in \
43518 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43519 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
43520 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43521 esac; \
43522 srcdiroption="--srcdir=$${topdir}/libada"; \
43523 libsrcdir="$$s/libada"; \
43524 rm -f no-such-file || : ; \
43525 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
43526 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43527 --target=${target_alias} $${srcdiroption} \
43528 || exit 1
43529 @endif target-libada
43535 .PHONY: all-target-libada maybe-all-target-libada
43536 maybe-all-target-libada:
43537 @if gcc-bootstrap
43538 all-target-libada: stage_current
43539 @endif gcc-bootstrap
43540 @if target-libada
43541 TARGET-target-libada=all
43542 maybe-all-target-libada: all-target-libada
43543 all-target-libada: configure-target-libada
43544 @: $(MAKE); $(unstage)
43545 @r=`${PWD_COMMAND}`; export r; \
43546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43547 $(NORMAL_TARGET_EXPORTS) \
43548 (cd $(TARGET_SUBDIR)/libada && \
43549 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
43550 @endif target-libada
43556 .PHONY: check-target-libada maybe-check-target-libada
43557 maybe-check-target-libada:
43558 @if target-libada
43559 maybe-check-target-libada: check-target-libada
43561 check-target-libada:
43562 @: $(MAKE); $(unstage)
43563 @r=`${PWD_COMMAND}`; export r; \
43564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43565 $(NORMAL_TARGET_EXPORTS) \
43566 (cd $(TARGET_SUBDIR)/libada && \
43567 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43569 @endif target-libada
43571 .PHONY: install-target-libada maybe-install-target-libada
43572 maybe-install-target-libada:
43573 @if target-libada
43574 maybe-install-target-libada: install-target-libada
43576 install-target-libada: installdirs
43577 @: $(MAKE); $(unstage)
43578 @r=`${PWD_COMMAND}`; export r; \
43579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43580 $(NORMAL_TARGET_EXPORTS) \
43581 (cd $(TARGET_SUBDIR)/libada && \
43582 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43584 @endif target-libada
43586 # Other targets (info, dvi, pdf, etc.)
43588 .PHONY: maybe-info-target-libada info-target-libada
43589 maybe-info-target-libada:
43590 @if target-libada
43591 maybe-info-target-libada: info-target-libada
43593 info-target-libada: \
43594 configure-target-libada
43595 @: $(MAKE); $(unstage)
43596 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43597 r=`${PWD_COMMAND}`; export r; \
43598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43599 $(NORMAL_TARGET_EXPORTS) \
43600 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
43601 for flag in $(EXTRA_TARGET_FLAGS); do \
43602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43603 done; \
43604 (cd $(TARGET_SUBDIR)/libada && \
43605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43607 "RANLIB=$${RANLIB}" \
43608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43609 info) \
43610 || exit 1
43612 @endif target-libada
43614 .PHONY: maybe-dvi-target-libada dvi-target-libada
43615 maybe-dvi-target-libada:
43616 @if target-libada
43617 maybe-dvi-target-libada: dvi-target-libada
43619 dvi-target-libada: \
43620 configure-target-libada
43621 @: $(MAKE); $(unstage)
43622 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43623 r=`${PWD_COMMAND}`; export r; \
43624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43625 $(NORMAL_TARGET_EXPORTS) \
43626 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
43627 for flag in $(EXTRA_TARGET_FLAGS); do \
43628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43629 done; \
43630 (cd $(TARGET_SUBDIR)/libada && \
43631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43633 "RANLIB=$${RANLIB}" \
43634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43635 dvi) \
43636 || exit 1
43638 @endif target-libada
43640 .PHONY: maybe-pdf-target-libada pdf-target-libada
43641 maybe-pdf-target-libada:
43642 @if target-libada
43643 maybe-pdf-target-libada: pdf-target-libada
43645 pdf-target-libada: \
43646 configure-target-libada
43647 @: $(MAKE); $(unstage)
43648 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43649 r=`${PWD_COMMAND}`; export r; \
43650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43651 $(NORMAL_TARGET_EXPORTS) \
43652 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
43653 for flag in $(EXTRA_TARGET_FLAGS); do \
43654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43655 done; \
43656 (cd $(TARGET_SUBDIR)/libada && \
43657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43659 "RANLIB=$${RANLIB}" \
43660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43661 pdf) \
43662 || exit 1
43664 @endif target-libada
43666 .PHONY: maybe-html-target-libada html-target-libada
43667 maybe-html-target-libada:
43668 @if target-libada
43669 maybe-html-target-libada: html-target-libada
43671 html-target-libada: \
43672 configure-target-libada
43673 @: $(MAKE); $(unstage)
43674 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43675 r=`${PWD_COMMAND}`; export r; \
43676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43677 $(NORMAL_TARGET_EXPORTS) \
43678 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
43679 for flag in $(EXTRA_TARGET_FLAGS); do \
43680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43681 done; \
43682 (cd $(TARGET_SUBDIR)/libada && \
43683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43685 "RANLIB=$${RANLIB}" \
43686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43687 html) \
43688 || exit 1
43690 @endif target-libada
43692 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
43693 maybe-TAGS-target-libada:
43694 @if target-libada
43695 maybe-TAGS-target-libada: TAGS-target-libada
43697 TAGS-target-libada: \
43698 configure-target-libada
43699 @: $(MAKE); $(unstage)
43700 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43701 r=`${PWD_COMMAND}`; export r; \
43702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43703 $(NORMAL_TARGET_EXPORTS) \
43704 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
43705 for flag in $(EXTRA_TARGET_FLAGS); do \
43706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43707 done; \
43708 (cd $(TARGET_SUBDIR)/libada && \
43709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43711 "RANLIB=$${RANLIB}" \
43712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43713 TAGS) \
43714 || exit 1
43716 @endif target-libada
43718 .PHONY: maybe-install-info-target-libada install-info-target-libada
43719 maybe-install-info-target-libada:
43720 @if target-libada
43721 maybe-install-info-target-libada: install-info-target-libada
43723 install-info-target-libada: \
43724 configure-target-libada \
43725 info-target-libada
43726 @: $(MAKE); $(unstage)
43727 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43728 r=`${PWD_COMMAND}`; export r; \
43729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43730 $(NORMAL_TARGET_EXPORTS) \
43731 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
43732 for flag in $(EXTRA_TARGET_FLAGS); do \
43733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43734 done; \
43735 (cd $(TARGET_SUBDIR)/libada && \
43736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43738 "RANLIB=$${RANLIB}" \
43739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43740 install-info) \
43741 || exit 1
43743 @endif target-libada
43745 .PHONY: maybe-install-html-target-libada install-html-target-libada
43746 maybe-install-html-target-libada:
43747 @if target-libada
43748 maybe-install-html-target-libada: install-html-target-libada
43750 install-html-target-libada: \
43751 configure-target-libada \
43752 html-target-libada
43753 @: $(MAKE); $(unstage)
43754 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43755 r=`${PWD_COMMAND}`; export r; \
43756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43757 $(NORMAL_TARGET_EXPORTS) \
43758 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
43759 for flag in $(EXTRA_TARGET_FLAGS); do \
43760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43761 done; \
43762 (cd $(TARGET_SUBDIR)/libada && \
43763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43765 "RANLIB=$${RANLIB}" \
43766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43767 install-html) \
43768 || exit 1
43770 @endif target-libada
43772 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
43773 maybe-installcheck-target-libada:
43774 @if target-libada
43775 maybe-installcheck-target-libada: installcheck-target-libada
43777 installcheck-target-libada: \
43778 configure-target-libada
43779 @: $(MAKE); $(unstage)
43780 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43781 r=`${PWD_COMMAND}`; export r; \
43782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43783 $(NORMAL_TARGET_EXPORTS) \
43784 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
43785 for flag in $(EXTRA_TARGET_FLAGS); do \
43786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43787 done; \
43788 (cd $(TARGET_SUBDIR)/libada && \
43789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43791 "RANLIB=$${RANLIB}" \
43792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43793 installcheck) \
43794 || exit 1
43796 @endif target-libada
43798 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
43799 maybe-mostlyclean-target-libada:
43800 @if target-libada
43801 maybe-mostlyclean-target-libada: mostlyclean-target-libada
43803 mostlyclean-target-libada:
43804 @: $(MAKE); $(unstage)
43805 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43806 r=`${PWD_COMMAND}`; export r; \
43807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43808 $(NORMAL_TARGET_EXPORTS) \
43809 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
43810 for flag in $(EXTRA_TARGET_FLAGS); do \
43811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43812 done; \
43813 (cd $(TARGET_SUBDIR)/libada && \
43814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43816 "RANLIB=$${RANLIB}" \
43817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43818 mostlyclean) \
43819 || exit 1
43821 @endif target-libada
43823 .PHONY: maybe-clean-target-libada clean-target-libada
43824 maybe-clean-target-libada:
43825 @if target-libada
43826 maybe-clean-target-libada: clean-target-libada
43828 clean-target-libada:
43829 @: $(MAKE); $(unstage)
43830 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43831 r=`${PWD_COMMAND}`; export r; \
43832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43833 $(NORMAL_TARGET_EXPORTS) \
43834 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
43835 for flag in $(EXTRA_TARGET_FLAGS); do \
43836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43837 done; \
43838 (cd $(TARGET_SUBDIR)/libada && \
43839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43841 "RANLIB=$${RANLIB}" \
43842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43843 clean) \
43844 || exit 1
43846 @endif target-libada
43848 .PHONY: maybe-distclean-target-libada distclean-target-libada
43849 maybe-distclean-target-libada:
43850 @if target-libada
43851 maybe-distclean-target-libada: distclean-target-libada
43853 distclean-target-libada:
43854 @: $(MAKE); $(unstage)
43855 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43856 r=`${PWD_COMMAND}`; export r; \
43857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43858 $(NORMAL_TARGET_EXPORTS) \
43859 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
43860 for flag in $(EXTRA_TARGET_FLAGS); do \
43861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43862 done; \
43863 (cd $(TARGET_SUBDIR)/libada && \
43864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43866 "RANLIB=$${RANLIB}" \
43867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43868 distclean) \
43869 || exit 1
43871 @endif target-libada
43873 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
43874 maybe-maintainer-clean-target-libada:
43875 @if target-libada
43876 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
43878 maintainer-clean-target-libada:
43879 @: $(MAKE); $(unstage)
43880 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43881 r=`${PWD_COMMAND}`; export r; \
43882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43883 $(NORMAL_TARGET_EXPORTS) \
43884 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
43885 for flag in $(EXTRA_TARGET_FLAGS); do \
43886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43887 done; \
43888 (cd $(TARGET_SUBDIR)/libada && \
43889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43891 "RANLIB=$${RANLIB}" \
43892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43893 maintainer-clean) \
43894 || exit 1
43896 @endif target-libada
43902 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
43903 maybe-configure-target-libgomp:
43904 @if gcc-bootstrap
43905 configure-target-libgomp: stage_current
43906 @endif gcc-bootstrap
43907 @if target-libgomp
43908 maybe-configure-target-libgomp: configure-target-libgomp
43909 configure-target-libgomp:
43910 @: $(MAKE); $(unstage)
43911 @r=`${PWD_COMMAND}`; export r; \
43912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43913 echo "Checking multilib configuration for libgomp..."; \
43914 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43915 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43916 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43917 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43918 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43919 else \
43920 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43921 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43922 fi; \
43923 else \
43924 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43925 fi; \
43926 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43927 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43928 $(NORMAL_TARGET_EXPORTS) \
43929 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
43930 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
43931 case $(srcdir) in \
43932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43933 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43935 esac; \
43936 srcdiroption="--srcdir=$${topdir}/libgomp"; \
43937 libsrcdir="$$s/libgomp"; \
43938 rm -f no-such-file || : ; \
43939 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
43940 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43941 --target=${target_alias} $${srcdiroption} \
43942 || exit 1
43943 @endif target-libgomp
43949 .PHONY: all-target-libgomp maybe-all-target-libgomp
43950 maybe-all-target-libgomp:
43951 @if gcc-bootstrap
43952 all-target-libgomp: stage_current
43953 @endif gcc-bootstrap
43954 @if target-libgomp
43955 TARGET-target-libgomp=all
43956 maybe-all-target-libgomp: all-target-libgomp
43957 all-target-libgomp: configure-target-libgomp
43958 @: $(MAKE); $(unstage)
43959 @r=`${PWD_COMMAND}`; export r; \
43960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43961 $(NORMAL_TARGET_EXPORTS) \
43962 (cd $(TARGET_SUBDIR)/libgomp && \
43963 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgomp))
43964 @endif target-libgomp
43970 .PHONY: check-target-libgomp maybe-check-target-libgomp
43971 maybe-check-target-libgomp:
43972 @if target-libgomp
43973 maybe-check-target-libgomp: check-target-libgomp
43975 check-target-libgomp:
43976 @: $(MAKE); $(unstage)
43977 @r=`${PWD_COMMAND}`; export r; \
43978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43979 $(NORMAL_TARGET_EXPORTS) \
43980 (cd $(TARGET_SUBDIR)/libgomp && \
43981 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43983 @endif target-libgomp
43985 .PHONY: install-target-libgomp maybe-install-target-libgomp
43986 maybe-install-target-libgomp:
43987 @if target-libgomp
43988 maybe-install-target-libgomp: install-target-libgomp
43990 install-target-libgomp: installdirs
43991 @: $(MAKE); $(unstage)
43992 @r=`${PWD_COMMAND}`; export r; \
43993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43994 $(NORMAL_TARGET_EXPORTS) \
43995 (cd $(TARGET_SUBDIR)/libgomp && \
43996 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43998 @endif target-libgomp
44000 # Other targets (info, dvi, pdf, etc.)
44002 .PHONY: maybe-info-target-libgomp info-target-libgomp
44003 maybe-info-target-libgomp:
44004 @if target-libgomp
44005 maybe-info-target-libgomp: info-target-libgomp
44007 info-target-libgomp: \
44008 configure-target-libgomp
44009 @: $(MAKE); $(unstage)
44010 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44011 r=`${PWD_COMMAND}`; export r; \
44012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44013 $(NORMAL_TARGET_EXPORTS) \
44014 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
44015 for flag in $(EXTRA_TARGET_FLAGS); do \
44016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44017 done; \
44018 (cd $(TARGET_SUBDIR)/libgomp && \
44019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44021 "RANLIB=$${RANLIB}" \
44022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44023 info) \
44024 || exit 1
44026 @endif target-libgomp
44028 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
44029 maybe-dvi-target-libgomp:
44030 @if target-libgomp
44031 maybe-dvi-target-libgomp: dvi-target-libgomp
44033 dvi-target-libgomp: \
44034 configure-target-libgomp
44035 @: $(MAKE); $(unstage)
44036 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44037 r=`${PWD_COMMAND}`; export r; \
44038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44039 $(NORMAL_TARGET_EXPORTS) \
44040 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
44041 for flag in $(EXTRA_TARGET_FLAGS); do \
44042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44043 done; \
44044 (cd $(TARGET_SUBDIR)/libgomp && \
44045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44047 "RANLIB=$${RANLIB}" \
44048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44049 dvi) \
44050 || exit 1
44052 @endif target-libgomp
44054 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
44055 maybe-pdf-target-libgomp:
44056 @if target-libgomp
44057 maybe-pdf-target-libgomp: pdf-target-libgomp
44059 pdf-target-libgomp: \
44060 configure-target-libgomp
44061 @: $(MAKE); $(unstage)
44062 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44063 r=`${PWD_COMMAND}`; export r; \
44064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44065 $(NORMAL_TARGET_EXPORTS) \
44066 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
44067 for flag in $(EXTRA_TARGET_FLAGS); do \
44068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44069 done; \
44070 (cd $(TARGET_SUBDIR)/libgomp && \
44071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44073 "RANLIB=$${RANLIB}" \
44074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44075 pdf) \
44076 || exit 1
44078 @endif target-libgomp
44080 .PHONY: maybe-html-target-libgomp html-target-libgomp
44081 maybe-html-target-libgomp:
44082 @if target-libgomp
44083 maybe-html-target-libgomp: html-target-libgomp
44085 html-target-libgomp: \
44086 configure-target-libgomp
44087 @: $(MAKE); $(unstage)
44088 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44089 r=`${PWD_COMMAND}`; export r; \
44090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44091 $(NORMAL_TARGET_EXPORTS) \
44092 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
44093 for flag in $(EXTRA_TARGET_FLAGS); do \
44094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44095 done; \
44096 (cd $(TARGET_SUBDIR)/libgomp && \
44097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44099 "RANLIB=$${RANLIB}" \
44100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44101 html) \
44102 || exit 1
44104 @endif target-libgomp
44106 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
44107 maybe-TAGS-target-libgomp:
44108 @if target-libgomp
44109 maybe-TAGS-target-libgomp: TAGS-target-libgomp
44111 TAGS-target-libgomp: \
44112 configure-target-libgomp
44113 @: $(MAKE); $(unstage)
44114 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44115 r=`${PWD_COMMAND}`; export r; \
44116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44117 $(NORMAL_TARGET_EXPORTS) \
44118 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
44119 for flag in $(EXTRA_TARGET_FLAGS); do \
44120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44121 done; \
44122 (cd $(TARGET_SUBDIR)/libgomp && \
44123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44125 "RANLIB=$${RANLIB}" \
44126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44127 TAGS) \
44128 || exit 1
44130 @endif target-libgomp
44132 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
44133 maybe-install-info-target-libgomp:
44134 @if target-libgomp
44135 maybe-install-info-target-libgomp: install-info-target-libgomp
44137 install-info-target-libgomp: \
44138 configure-target-libgomp \
44139 info-target-libgomp
44140 @: $(MAKE); $(unstage)
44141 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44142 r=`${PWD_COMMAND}`; export r; \
44143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44144 $(NORMAL_TARGET_EXPORTS) \
44145 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
44146 for flag in $(EXTRA_TARGET_FLAGS); do \
44147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44148 done; \
44149 (cd $(TARGET_SUBDIR)/libgomp && \
44150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44152 "RANLIB=$${RANLIB}" \
44153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44154 install-info) \
44155 || exit 1
44157 @endif target-libgomp
44159 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
44160 maybe-install-html-target-libgomp:
44161 @if target-libgomp
44162 maybe-install-html-target-libgomp: install-html-target-libgomp
44164 install-html-target-libgomp: \
44165 configure-target-libgomp \
44166 html-target-libgomp
44167 @: $(MAKE); $(unstage)
44168 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44169 r=`${PWD_COMMAND}`; export r; \
44170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44171 $(NORMAL_TARGET_EXPORTS) \
44172 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
44173 for flag in $(EXTRA_TARGET_FLAGS); do \
44174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44175 done; \
44176 (cd $(TARGET_SUBDIR)/libgomp && \
44177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44179 "RANLIB=$${RANLIB}" \
44180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44181 install-html) \
44182 || exit 1
44184 @endif target-libgomp
44186 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
44187 maybe-installcheck-target-libgomp:
44188 @if target-libgomp
44189 maybe-installcheck-target-libgomp: installcheck-target-libgomp
44191 installcheck-target-libgomp: \
44192 configure-target-libgomp
44193 @: $(MAKE); $(unstage)
44194 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44195 r=`${PWD_COMMAND}`; export r; \
44196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44197 $(NORMAL_TARGET_EXPORTS) \
44198 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
44199 for flag in $(EXTRA_TARGET_FLAGS); do \
44200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44201 done; \
44202 (cd $(TARGET_SUBDIR)/libgomp && \
44203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44205 "RANLIB=$${RANLIB}" \
44206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44207 installcheck) \
44208 || exit 1
44210 @endif target-libgomp
44212 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
44213 maybe-mostlyclean-target-libgomp:
44214 @if target-libgomp
44215 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
44217 mostlyclean-target-libgomp:
44218 @: $(MAKE); $(unstage)
44219 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44220 r=`${PWD_COMMAND}`; export r; \
44221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44222 $(NORMAL_TARGET_EXPORTS) \
44223 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
44224 for flag in $(EXTRA_TARGET_FLAGS); do \
44225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44226 done; \
44227 (cd $(TARGET_SUBDIR)/libgomp && \
44228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44230 "RANLIB=$${RANLIB}" \
44231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44232 mostlyclean) \
44233 || exit 1
44235 @endif target-libgomp
44237 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
44238 maybe-clean-target-libgomp:
44239 @if target-libgomp
44240 maybe-clean-target-libgomp: clean-target-libgomp
44242 clean-target-libgomp:
44243 @: $(MAKE); $(unstage)
44244 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44245 r=`${PWD_COMMAND}`; export r; \
44246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44247 $(NORMAL_TARGET_EXPORTS) \
44248 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
44249 for flag in $(EXTRA_TARGET_FLAGS); do \
44250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44251 done; \
44252 (cd $(TARGET_SUBDIR)/libgomp && \
44253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44255 "RANLIB=$${RANLIB}" \
44256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44257 clean) \
44258 || exit 1
44260 @endif target-libgomp
44262 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
44263 maybe-distclean-target-libgomp:
44264 @if target-libgomp
44265 maybe-distclean-target-libgomp: distclean-target-libgomp
44267 distclean-target-libgomp:
44268 @: $(MAKE); $(unstage)
44269 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44270 r=`${PWD_COMMAND}`; export r; \
44271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44272 $(NORMAL_TARGET_EXPORTS) \
44273 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
44274 for flag in $(EXTRA_TARGET_FLAGS); do \
44275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44276 done; \
44277 (cd $(TARGET_SUBDIR)/libgomp && \
44278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44280 "RANLIB=$${RANLIB}" \
44281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44282 distclean) \
44283 || exit 1
44285 @endif target-libgomp
44287 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
44288 maybe-maintainer-clean-target-libgomp:
44289 @if target-libgomp
44290 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
44292 maintainer-clean-target-libgomp:
44293 @: $(MAKE); $(unstage)
44294 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44295 r=`${PWD_COMMAND}`; export r; \
44296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44297 $(NORMAL_TARGET_EXPORTS) \
44298 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
44299 for flag in $(EXTRA_TARGET_FLAGS); do \
44300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44301 done; \
44302 (cd $(TARGET_SUBDIR)/libgomp && \
44303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44305 "RANLIB=$${RANLIB}" \
44306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44307 maintainer-clean) \
44308 || exit 1
44310 @endif target-libgomp
44314 # ----------
44315 # GCC module
44316 # ----------
44318 @if gcc-no-bootstrap
44319 .PHONY: cross
44320 cross: all-build all-gas all-ld
44321 @r=`${PWD_COMMAND}`; export r; \
44322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44323 $(HOST_EXPORTS) \
44324 echo "Building the C and C++ compiler"; \
44325 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
44326 @r=`${PWD_COMMAND}`; export r; \
44327 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
44328 echo "Building runtime libraries"; \
44329 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
44330 @endif gcc-no-bootstrap
44332 @if gcc
44333 .PHONY: check-gcc-c++
44334 check-gcc-c++:
44335 @if [ -f ./gcc/Makefile ] ; then \
44336 r=`${PWD_COMMAND}`; export r; \
44337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44338 $(HOST_EXPORTS) \
44339 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
44340 else \
44341 true; \
44344 .PHONY: check-c++
44345 check-c++: check-target-libstdc++-v3 check-gcc-c++
44347 # Install the gcc headers files, but not the fixed include files,
44348 # which Cygnus is not allowed to distribute. This rule is very
44349 # dependent on the workings of the gcc Makefile.in.
44350 .PHONY: gcc-no-fixedincludes
44351 gcc-no-fixedincludes:
44352 @if [ -f ./gcc/Makefile ]; then \
44353 rm -rf gcc/tmp-include; \
44354 mv gcc/include gcc/tmp-include 2>/dev/null; \
44355 mkdir gcc/include; \
44356 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
44357 touch gcc/stmp-fixinc gcc/include/fixed; \
44358 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
44359 r=`${PWD_COMMAND}`; export r; \
44360 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
44361 $(HOST_EXPORTS) \
44362 (cd ./gcc && \
44363 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
44364 rm -rf gcc/include; \
44365 mv gcc/tmp-include gcc/include 2>/dev/null; \
44366 else true; fi
44367 @endif gcc
44369 # ---------------------
44370 # GCC bootstrap support
44371 # ---------------------
44373 # We track the current stage (the one in 'gcc') in the stage_current file.
44374 # stage_last instead tracks the stage that was built last. These targets
44375 # are dummy when toplevel bootstrap is not active.
44377 # While making host and target tools, symlinks to the final stage must be
44378 # there, so $(unstage) should be run at various points. To avoid excessive
44379 # recursive invocations of make, we "inline" them using a variable. These
44380 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
44381 # to avoid warnings from the GNU Make job server.
44383 unstage = :
44384 stage = :
44385 current_stage = ""
44387 @if gcc-bootstrap
44388 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
44389 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
44390 current_stage = "`cat stage_current 2> /dev/null`"
44391 @endif gcc-bootstrap
44393 .PHONY: unstage stage
44394 unstage:
44395 @: $(MAKE); $(unstage)
44396 stage:
44397 @: $(MAKE); $(stage)
44399 # Disable commands for lean bootstrap.
44400 LEAN = false
44402 # We name the build directories for the various stages "stage1-gcc",
44403 # "stage2-gcc","stage3-gcc", etc.
44405 # Since the 'compare' process will fail (on debugging information) if any
44406 # directory names are different, we need to link the gcc directory for
44407 # the previous stage to a constant name ('prev-gcc'), and to make the name of
44408 # the build directories constant as well. For the latter, we use naked names
44409 # like 'gcc', because the scripts in that directory assume it. We use
44410 # mv on platforms where symlinks to directories do not work or are not
44411 # reliable.
44413 # 'touch' doesn't work right on some platforms.
44414 STAMP = echo timestamp >
44416 # We only want to compare .o files, so set this!
44417 objext = .o
44420 .PHONY: stage1-start stage1-end
44422 stage1-start::
44423 @: $(MAKE); $(stage); \
44424 echo stage1 > stage_current ; \
44425 echo stage1 > stage_last; \
44426 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
44427 @if bfd
44428 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
44429 mkdir stage1-bfd; \
44430 mv stage1-bfd bfd
44431 @endif bfd
44432 @if opcodes
44433 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
44434 mkdir stage1-opcodes; \
44435 mv stage1-opcodes opcodes
44436 @endif opcodes
44437 @if binutils
44438 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
44439 mkdir stage1-binutils; \
44440 mv stage1-binutils binutils
44441 @endif binutils
44442 @if gas
44443 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
44444 mkdir stage1-gas; \
44445 mv stage1-gas gas
44446 @endif gas
44447 @if gcc
44448 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
44449 mkdir stage1-gcc; \
44450 mv stage1-gcc gcc
44451 @endif gcc
44452 @if gmp
44453 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
44454 mkdir stage1-gmp; \
44455 mv stage1-gmp gmp
44456 @endif gmp
44457 @if mpfr
44458 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
44459 mkdir stage1-mpfr; \
44460 mv stage1-mpfr mpfr
44461 @endif mpfr
44462 @if intl
44463 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
44464 mkdir stage1-intl; \
44465 mv stage1-intl intl
44466 @endif intl
44467 @if ld
44468 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
44469 mkdir stage1-ld; \
44470 mv stage1-ld ld
44471 @endif ld
44472 @if libcpp
44473 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
44474 mkdir stage1-libcpp; \
44475 mv stage1-libcpp libcpp
44476 @endif libcpp
44477 @if libdecnumber
44478 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
44479 mkdir stage1-libdecnumber; \
44480 mv stage1-libdecnumber libdecnumber
44481 @endif libdecnumber
44482 @if libiberty
44483 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
44484 mkdir stage1-libiberty; \
44485 mv stage1-libiberty libiberty
44486 @endif libiberty
44487 @if zlib
44488 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
44489 mkdir stage1-zlib; \
44490 mv stage1-zlib zlib
44491 @endif zlib
44492 @[ -d stage1-$(TARGET_SUBDIR) ] || \
44493 mkdir stage1-$(TARGET_SUBDIR); \
44494 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
44496 stage1-end::
44497 @if bfd
44498 @if test -d $(HOST_SUBDIR)/bfd ; then \
44499 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
44501 @endif bfd
44502 @if opcodes
44503 @if test -d $(HOST_SUBDIR)/opcodes ; then \
44504 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
44506 @endif opcodes
44507 @if binutils
44508 @if test -d $(HOST_SUBDIR)/binutils ; then \
44509 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
44511 @endif binutils
44512 @if gas
44513 @if test -d $(HOST_SUBDIR)/gas ; then \
44514 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
44516 @endif gas
44517 @if gcc
44518 @if test -d $(HOST_SUBDIR)/gcc ; then \
44519 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
44521 @endif gcc
44522 @if gmp
44523 @if test -d $(HOST_SUBDIR)/gmp ; then \
44524 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
44526 @endif gmp
44527 @if mpfr
44528 @if test -d $(HOST_SUBDIR)/mpfr ; then \
44529 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
44531 @endif mpfr
44532 @if intl
44533 @if test -d $(HOST_SUBDIR)/intl ; then \
44534 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
44536 @endif intl
44537 @if ld
44538 @if test -d $(HOST_SUBDIR)/ld ; then \
44539 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
44541 @endif ld
44542 @if libcpp
44543 @if test -d $(HOST_SUBDIR)/libcpp ; then \
44544 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
44546 @endif libcpp
44547 @if libdecnumber
44548 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
44549 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
44551 @endif libdecnumber
44552 @if libiberty
44553 @if test -d $(HOST_SUBDIR)/libiberty ; then \
44554 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
44556 @endif libiberty
44557 @if zlib
44558 @if test -d $(HOST_SUBDIR)/zlib ; then \
44559 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
44561 @endif zlib
44562 @if test -d $(TARGET_SUBDIR) ; then \
44563 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
44565 rm -f stage_current
44567 # Bubble a bugfix through all the stages up to stage 1. They are
44568 # remade, but not reconfigured. The next stage (if any) will not be
44569 # reconfigured as well.
44570 .PHONY: stage1-bubble
44571 stage1-bubble::
44572 @r=`${PWD_COMMAND}`; export r; \
44573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44574 if test -f stage1-lean ; then \
44575 echo Skipping rebuild of stage1 ; \
44576 else \
44577 $(MAKE) stage1-start; \
44578 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
44581 .PHONY: all-stage1 clean-stage1
44582 do-clean: clean-stage1
44584 # FIXME: Will not need to be conditional when toplevel bootstrap is the
44585 # only possibility, but now it conflicts with no-bootstrap rules
44586 @if gcc-bootstrap
44591 # Rules to wipe a stage and all the following ones, also used for cleanstrap
44593 .PHONY: distclean-stage1
44594 distclean-stage1::
44595 @: $(MAKE); $(stage)
44596 rm -rf stage1-*
44599 @endif gcc-bootstrap
44602 .PHONY: stage2-start stage2-end
44604 stage2-start::
44605 @: $(MAKE); $(stage); \
44606 echo stage2 > stage_current ; \
44607 echo stage2 > stage_last; \
44608 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
44609 @if bfd
44610 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
44611 mkdir stage2-bfd; \
44612 mv stage2-bfd bfd ; \
44613 mv stage1-bfd prev-bfd || test -f stage1-lean
44614 @endif bfd
44615 @if opcodes
44616 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
44617 mkdir stage2-opcodes; \
44618 mv stage2-opcodes opcodes ; \
44619 mv stage1-opcodes prev-opcodes || test -f stage1-lean
44620 @endif opcodes
44621 @if binutils
44622 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
44623 mkdir stage2-binutils; \
44624 mv stage2-binutils binutils ; \
44625 mv stage1-binutils prev-binutils || test -f stage1-lean
44626 @endif binutils
44627 @if gas
44628 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
44629 mkdir stage2-gas; \
44630 mv stage2-gas gas ; \
44631 mv stage1-gas prev-gas || test -f stage1-lean
44632 @endif gas
44633 @if gcc
44634 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
44635 mkdir stage2-gcc; \
44636 mv stage2-gcc gcc ; \
44637 mv stage1-gcc prev-gcc || test -f stage1-lean
44638 @endif gcc
44639 @if gmp
44640 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
44641 mkdir stage2-gmp; \
44642 mv stage2-gmp gmp ; \
44643 mv stage1-gmp prev-gmp || test -f stage1-lean
44644 @endif gmp
44645 @if mpfr
44646 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
44647 mkdir stage2-mpfr; \
44648 mv stage2-mpfr mpfr ; \
44649 mv stage1-mpfr prev-mpfr || test -f stage1-lean
44650 @endif mpfr
44651 @if intl
44652 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
44653 mkdir stage2-intl; \
44654 mv stage2-intl intl ; \
44655 mv stage1-intl prev-intl || test -f stage1-lean
44656 @endif intl
44657 @if ld
44658 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
44659 mkdir stage2-ld; \
44660 mv stage2-ld ld ; \
44661 mv stage1-ld prev-ld || test -f stage1-lean
44662 @endif ld
44663 @if libcpp
44664 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
44665 mkdir stage2-libcpp; \
44666 mv stage2-libcpp libcpp ; \
44667 mv stage1-libcpp prev-libcpp || test -f stage1-lean
44668 @endif libcpp
44669 @if libdecnumber
44670 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
44671 mkdir stage2-libdecnumber; \
44672 mv stage2-libdecnumber libdecnumber ; \
44673 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
44674 @endif libdecnumber
44675 @if libiberty
44676 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
44677 mkdir stage2-libiberty; \
44678 mv stage2-libiberty libiberty ; \
44679 mv stage1-libiberty prev-libiberty || test -f stage1-lean
44680 @endif libiberty
44681 @if zlib
44682 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
44683 mkdir stage2-zlib; \
44684 mv stage2-zlib zlib ; \
44685 mv stage1-zlib prev-zlib || test -f stage1-lean
44686 @endif zlib
44687 @[ -d stage2-$(TARGET_SUBDIR) ] || \
44688 mkdir stage2-$(TARGET_SUBDIR); \
44689 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
44690 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
44692 stage2-end::
44693 @if bfd
44694 @if test -d $(HOST_SUBDIR)/bfd ; then \
44695 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
44696 mv prev-bfd stage1-bfd ; : ; \
44698 @endif bfd
44699 @if opcodes
44700 @if test -d $(HOST_SUBDIR)/opcodes ; then \
44701 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
44702 mv prev-opcodes stage1-opcodes ; : ; \
44704 @endif opcodes
44705 @if binutils
44706 @if test -d $(HOST_SUBDIR)/binutils ; then \
44707 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
44708 mv prev-binutils stage1-binutils ; : ; \
44710 @endif binutils
44711 @if gas
44712 @if test -d $(HOST_SUBDIR)/gas ; then \
44713 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
44714 mv prev-gas stage1-gas ; : ; \
44716 @endif gas
44717 @if gcc
44718 @if test -d $(HOST_SUBDIR)/gcc ; then \
44719 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
44720 mv prev-gcc stage1-gcc ; : ; \
44722 @endif gcc
44723 @if gmp
44724 @if test -d $(HOST_SUBDIR)/gmp ; then \
44725 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
44726 mv prev-gmp stage1-gmp ; : ; \
44728 @endif gmp
44729 @if mpfr
44730 @if test -d $(HOST_SUBDIR)/mpfr ; then \
44731 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
44732 mv prev-mpfr stage1-mpfr ; : ; \
44734 @endif mpfr
44735 @if intl
44736 @if test -d $(HOST_SUBDIR)/intl ; then \
44737 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
44738 mv prev-intl stage1-intl ; : ; \
44740 @endif intl
44741 @if ld
44742 @if test -d $(HOST_SUBDIR)/ld ; then \
44743 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
44744 mv prev-ld stage1-ld ; : ; \
44746 @endif ld
44747 @if libcpp
44748 @if test -d $(HOST_SUBDIR)/libcpp ; then \
44749 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
44750 mv prev-libcpp stage1-libcpp ; : ; \
44752 @endif libcpp
44753 @if libdecnumber
44754 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
44755 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
44756 mv prev-libdecnumber stage1-libdecnumber ; : ; \
44758 @endif libdecnumber
44759 @if libiberty
44760 @if test -d $(HOST_SUBDIR)/libiberty ; then \
44761 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
44762 mv prev-libiberty stage1-libiberty ; : ; \
44764 @endif libiberty
44765 @if zlib
44766 @if test -d $(HOST_SUBDIR)/zlib ; then \
44767 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
44768 mv prev-zlib stage1-zlib ; : ; \
44770 @endif zlib
44771 @if test -d $(TARGET_SUBDIR) ; then \
44772 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
44773 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
44775 rm -f stage_current
44777 # Bubble a bugfix through all the stages up to stage 2. They are
44778 # remade, but not reconfigured. The next stage (if any) will not be
44779 # reconfigured as well.
44780 .PHONY: stage2-bubble
44781 stage2-bubble:: stage1-bubble
44782 @r=`${PWD_COMMAND}`; export r; \
44783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44784 if test -f stage2-lean || test -f stage1-lean ; then \
44785 echo Skipping rebuild of stage2 ; \
44786 else \
44787 $(MAKE) stage2-start; \
44788 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
44791 .PHONY: all-stage2 clean-stage2
44792 do-clean: clean-stage2
44794 # FIXME: Will not need to be conditional when toplevel bootstrap is the
44795 # only possibility, but now it conflicts with no-bootstrap rules
44796 @if gcc-bootstrap
44800 .PHONY: bootstrap2 bootstrap2-lean
44801 bootstrap2:
44802 echo stage2 > stage_final
44803 @r=`${PWD_COMMAND}`; export r; \
44804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44805 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
44806 @: $(MAKE); $(unstage)
44807 @r=`${PWD_COMMAND}`; export r; \
44808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44809 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
44811 bootstrap2-lean:
44812 echo stage2 > stage_final
44813 @r=`${PWD_COMMAND}`; export r; \
44814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44815 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
44816 @: $(MAKE); $(unstage)
44817 @r=`${PWD_COMMAND}`; export r; \
44818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44819 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
44822 # Rules to wipe a stage and all the following ones, also used for cleanstrap
44823 distclean-stage1:: distclean-stage2
44824 .PHONY: distclean-stage2
44825 distclean-stage2::
44826 @: $(MAKE); $(stage)
44827 rm -rf stage2-*
44830 @endif gcc-bootstrap
44833 .PHONY: stage3-start stage3-end
44835 stage3-start::
44836 @: $(MAKE); $(stage); \
44837 echo stage3 > stage_current ; \
44838 echo stage3 > stage_last; \
44839 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
44840 @if bfd
44841 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
44842 mkdir stage3-bfd; \
44843 mv stage3-bfd bfd ; \
44844 mv stage2-bfd prev-bfd || test -f stage2-lean
44845 @endif bfd
44846 @if opcodes
44847 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
44848 mkdir stage3-opcodes; \
44849 mv stage3-opcodes opcodes ; \
44850 mv stage2-opcodes prev-opcodes || test -f stage2-lean
44851 @endif opcodes
44852 @if binutils
44853 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
44854 mkdir stage3-binutils; \
44855 mv stage3-binutils binutils ; \
44856 mv stage2-binutils prev-binutils || test -f stage2-lean
44857 @endif binutils
44858 @if gas
44859 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
44860 mkdir stage3-gas; \
44861 mv stage3-gas gas ; \
44862 mv stage2-gas prev-gas || test -f stage2-lean
44863 @endif gas
44864 @if gcc
44865 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
44866 mkdir stage3-gcc; \
44867 mv stage3-gcc gcc ; \
44868 mv stage2-gcc prev-gcc || test -f stage2-lean
44869 @endif gcc
44870 @if gmp
44871 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
44872 mkdir stage3-gmp; \
44873 mv stage3-gmp gmp ; \
44874 mv stage2-gmp prev-gmp || test -f stage2-lean
44875 @endif gmp
44876 @if mpfr
44877 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
44878 mkdir stage3-mpfr; \
44879 mv stage3-mpfr mpfr ; \
44880 mv stage2-mpfr prev-mpfr || test -f stage2-lean
44881 @endif mpfr
44882 @if intl
44883 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
44884 mkdir stage3-intl; \
44885 mv stage3-intl intl ; \
44886 mv stage2-intl prev-intl || test -f stage2-lean
44887 @endif intl
44888 @if ld
44889 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
44890 mkdir stage3-ld; \
44891 mv stage3-ld ld ; \
44892 mv stage2-ld prev-ld || test -f stage2-lean
44893 @endif ld
44894 @if libcpp
44895 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
44896 mkdir stage3-libcpp; \
44897 mv stage3-libcpp libcpp ; \
44898 mv stage2-libcpp prev-libcpp || test -f stage2-lean
44899 @endif libcpp
44900 @if libdecnumber
44901 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
44902 mkdir stage3-libdecnumber; \
44903 mv stage3-libdecnumber libdecnumber ; \
44904 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
44905 @endif libdecnumber
44906 @if libiberty
44907 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
44908 mkdir stage3-libiberty; \
44909 mv stage3-libiberty libiberty ; \
44910 mv stage2-libiberty prev-libiberty || test -f stage2-lean
44911 @endif libiberty
44912 @if zlib
44913 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
44914 mkdir stage3-zlib; \
44915 mv stage3-zlib zlib ; \
44916 mv stage2-zlib prev-zlib || test -f stage2-lean
44917 @endif zlib
44918 @[ -d stage3-$(TARGET_SUBDIR) ] || \
44919 mkdir stage3-$(TARGET_SUBDIR); \
44920 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
44921 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
44923 stage3-end::
44924 @if bfd
44925 @if test -d $(HOST_SUBDIR)/bfd ; then \
44926 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
44927 mv prev-bfd stage2-bfd ; : ; \
44929 @endif bfd
44930 @if opcodes
44931 @if test -d $(HOST_SUBDIR)/opcodes ; then \
44932 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
44933 mv prev-opcodes stage2-opcodes ; : ; \
44935 @endif opcodes
44936 @if binutils
44937 @if test -d $(HOST_SUBDIR)/binutils ; then \
44938 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
44939 mv prev-binutils stage2-binutils ; : ; \
44941 @endif binutils
44942 @if gas
44943 @if test -d $(HOST_SUBDIR)/gas ; then \
44944 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
44945 mv prev-gas stage2-gas ; : ; \
44947 @endif gas
44948 @if gcc
44949 @if test -d $(HOST_SUBDIR)/gcc ; then \
44950 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
44951 mv prev-gcc stage2-gcc ; : ; \
44953 @endif gcc
44954 @if gmp
44955 @if test -d $(HOST_SUBDIR)/gmp ; then \
44956 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
44957 mv prev-gmp stage2-gmp ; : ; \
44959 @endif gmp
44960 @if mpfr
44961 @if test -d $(HOST_SUBDIR)/mpfr ; then \
44962 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
44963 mv prev-mpfr stage2-mpfr ; : ; \
44965 @endif mpfr
44966 @if intl
44967 @if test -d $(HOST_SUBDIR)/intl ; then \
44968 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
44969 mv prev-intl stage2-intl ; : ; \
44971 @endif intl
44972 @if ld
44973 @if test -d $(HOST_SUBDIR)/ld ; then \
44974 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
44975 mv prev-ld stage2-ld ; : ; \
44977 @endif ld
44978 @if libcpp
44979 @if test -d $(HOST_SUBDIR)/libcpp ; then \
44980 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
44981 mv prev-libcpp stage2-libcpp ; : ; \
44983 @endif libcpp
44984 @if libdecnumber
44985 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
44986 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
44987 mv prev-libdecnumber stage2-libdecnumber ; : ; \
44989 @endif libdecnumber
44990 @if libiberty
44991 @if test -d $(HOST_SUBDIR)/libiberty ; then \
44992 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
44993 mv prev-libiberty stage2-libiberty ; : ; \
44995 @endif libiberty
44996 @if zlib
44997 @if test -d $(HOST_SUBDIR)/zlib ; then \
44998 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
44999 mv prev-zlib stage2-zlib ; : ; \
45001 @endif zlib
45002 @if test -d $(TARGET_SUBDIR) ; then \
45003 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
45004 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
45006 rm -f stage_current
45008 # Bubble a bugfix through all the stages up to stage 3. They are
45009 # remade, but not reconfigured. The next stage (if any) will not be
45010 # reconfigured as well.
45011 .PHONY: stage3-bubble
45012 stage3-bubble:: stage2-bubble
45013 @r=`${PWD_COMMAND}`; export r; \
45014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45015 if test -f stage3-lean || test -f stage2-lean ; then \
45016 echo Skipping rebuild of stage3 ; \
45017 else \
45018 $(MAKE) stage3-start; \
45019 if $(LEAN); then \
45020 rm -rf stage1-* ; \
45021 $(STAMP) stage1-lean ; \
45022 fi; \
45023 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
45025 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
45027 .PHONY: all-stage3 clean-stage3
45028 do-clean: clean-stage3
45030 # FIXME: Will not need to be conditional when toplevel bootstrap is the
45031 # only possibility, but now it conflicts with no-bootstrap rules
45032 @if gcc-bootstrap
45034 compare:
45035 @r=`${PWD_COMMAND}`; export r; \
45036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45037 if test -f stage2-lean; then \
45038 echo Cannot compare object files as stage 2 was deleted. ; \
45039 exit 0 ; \
45040 fi; \
45041 : $(MAKE); $(stage); \
45042 rm -f .bad_compare ; \
45043 echo Comparing stages 2 and 3 ; \
45044 cd stage3-gcc; \
45045 files=`find . -name "*$(objext)" -print` ; \
45046 cd .. ; \
45047 for file in $${files} ; do \
45048 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
45049 @do_compare@ > /dev/null 2>&1; \
45050 if test $$? -eq 1; then \
45051 case $$file in \
45052 ./cc*-checksum$(objext) | ./libgcc/* ) \
45053 echo warning: $$file differs ;; \
45054 *) \
45055 echo $$file differs >> .bad_compare ;; \
45056 esac ; \
45057 fi ; \
45058 done ; \
45059 if [ -f .bad_compare ]; then \
45060 echo "Bootstrap comparison failure!"; \
45061 cat .bad_compare; \
45062 exit 1; \
45063 else \
45064 echo Comparison successful.; \
45065 fi ; \
45066 $(STAMP) compare
45067 if $(LEAN); then \
45068 rm -rf stage2-*; \
45069 $(STAMP) stage2-lean; \
45074 .PHONY: bootstrap bootstrap-lean
45075 bootstrap:
45076 echo stage3 > stage_final
45077 @r=`${PWD_COMMAND}`; export r; \
45078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45079 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
45080 @: $(MAKE); $(unstage)
45081 @r=`${PWD_COMMAND}`; export r; \
45082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45083 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45085 bootstrap-lean:
45086 echo stage3 > stage_final
45087 @r=`${PWD_COMMAND}`; export r; \
45088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45089 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
45090 @: $(MAKE); $(unstage)
45091 @r=`${PWD_COMMAND}`; export r; \
45092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45093 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45096 # Rules to wipe a stage and all the following ones, also used for cleanstrap
45097 distclean-stage2:: distclean-stage3
45098 .PHONY: distclean-stage3
45099 distclean-stage3::
45100 @: $(MAKE); $(stage)
45101 rm -rf stage3-* compare
45104 .PHONY: cleanstrap
45105 cleanstrap: distclean bootstrap
45107 @endif gcc-bootstrap
45110 .PHONY: stage4-start stage4-end
45112 stage4-start::
45113 @: $(MAKE); $(stage); \
45114 echo stage4 > stage_current ; \
45115 echo stage4 > stage_last; \
45116 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
45117 @if bfd
45118 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
45119 mkdir stage4-bfd; \
45120 mv stage4-bfd bfd ; \
45121 mv stage3-bfd prev-bfd || test -f stage3-lean
45122 @endif bfd
45123 @if opcodes
45124 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
45125 mkdir stage4-opcodes; \
45126 mv stage4-opcodes opcodes ; \
45127 mv stage3-opcodes prev-opcodes || test -f stage3-lean
45128 @endif opcodes
45129 @if binutils
45130 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
45131 mkdir stage4-binutils; \
45132 mv stage4-binutils binutils ; \
45133 mv stage3-binutils prev-binutils || test -f stage3-lean
45134 @endif binutils
45135 @if gas
45136 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
45137 mkdir stage4-gas; \
45138 mv stage4-gas gas ; \
45139 mv stage3-gas prev-gas || test -f stage3-lean
45140 @endif gas
45141 @if gcc
45142 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
45143 mkdir stage4-gcc; \
45144 mv stage4-gcc gcc ; \
45145 mv stage3-gcc prev-gcc || test -f stage3-lean
45146 @endif gcc
45147 @if gmp
45148 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
45149 mkdir stage4-gmp; \
45150 mv stage4-gmp gmp ; \
45151 mv stage3-gmp prev-gmp || test -f stage3-lean
45152 @endif gmp
45153 @if mpfr
45154 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
45155 mkdir stage4-mpfr; \
45156 mv stage4-mpfr mpfr ; \
45157 mv stage3-mpfr prev-mpfr || test -f stage3-lean
45158 @endif mpfr
45159 @if intl
45160 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
45161 mkdir stage4-intl; \
45162 mv stage4-intl intl ; \
45163 mv stage3-intl prev-intl || test -f stage3-lean
45164 @endif intl
45165 @if ld
45166 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
45167 mkdir stage4-ld; \
45168 mv stage4-ld ld ; \
45169 mv stage3-ld prev-ld || test -f stage3-lean
45170 @endif ld
45171 @if libcpp
45172 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
45173 mkdir stage4-libcpp; \
45174 mv stage4-libcpp libcpp ; \
45175 mv stage3-libcpp prev-libcpp || test -f stage3-lean
45176 @endif libcpp
45177 @if libdecnumber
45178 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
45179 mkdir stage4-libdecnumber; \
45180 mv stage4-libdecnumber libdecnumber ; \
45181 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
45182 @endif libdecnumber
45183 @if libiberty
45184 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
45185 mkdir stage4-libiberty; \
45186 mv stage4-libiberty libiberty ; \
45187 mv stage3-libiberty prev-libiberty || test -f stage3-lean
45188 @endif libiberty
45189 @if zlib
45190 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
45191 mkdir stage4-zlib; \
45192 mv stage4-zlib zlib ; \
45193 mv stage3-zlib prev-zlib || test -f stage3-lean
45194 @endif zlib
45195 @[ -d stage4-$(TARGET_SUBDIR) ] || \
45196 mkdir stage4-$(TARGET_SUBDIR); \
45197 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
45198 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
45200 stage4-end::
45201 @if bfd
45202 @if test -d $(HOST_SUBDIR)/bfd ; then \
45203 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
45204 mv prev-bfd stage3-bfd ; : ; \
45206 @endif bfd
45207 @if opcodes
45208 @if test -d $(HOST_SUBDIR)/opcodes ; then \
45209 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
45210 mv prev-opcodes stage3-opcodes ; : ; \
45212 @endif opcodes
45213 @if binutils
45214 @if test -d $(HOST_SUBDIR)/binutils ; then \
45215 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
45216 mv prev-binutils stage3-binutils ; : ; \
45218 @endif binutils
45219 @if gas
45220 @if test -d $(HOST_SUBDIR)/gas ; then \
45221 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
45222 mv prev-gas stage3-gas ; : ; \
45224 @endif gas
45225 @if gcc
45226 @if test -d $(HOST_SUBDIR)/gcc ; then \
45227 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
45228 mv prev-gcc stage3-gcc ; : ; \
45230 @endif gcc
45231 @if gmp
45232 @if test -d $(HOST_SUBDIR)/gmp ; then \
45233 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
45234 mv prev-gmp stage3-gmp ; : ; \
45236 @endif gmp
45237 @if mpfr
45238 @if test -d $(HOST_SUBDIR)/mpfr ; then \
45239 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
45240 mv prev-mpfr stage3-mpfr ; : ; \
45242 @endif mpfr
45243 @if intl
45244 @if test -d $(HOST_SUBDIR)/intl ; then \
45245 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
45246 mv prev-intl stage3-intl ; : ; \
45248 @endif intl
45249 @if ld
45250 @if test -d $(HOST_SUBDIR)/ld ; then \
45251 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
45252 mv prev-ld stage3-ld ; : ; \
45254 @endif ld
45255 @if libcpp
45256 @if test -d $(HOST_SUBDIR)/libcpp ; then \
45257 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
45258 mv prev-libcpp stage3-libcpp ; : ; \
45260 @endif libcpp
45261 @if libdecnumber
45262 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
45263 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
45264 mv prev-libdecnumber stage3-libdecnumber ; : ; \
45266 @endif libdecnumber
45267 @if libiberty
45268 @if test -d $(HOST_SUBDIR)/libiberty ; then \
45269 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
45270 mv prev-libiberty stage3-libiberty ; : ; \
45272 @endif libiberty
45273 @if zlib
45274 @if test -d $(HOST_SUBDIR)/zlib ; then \
45275 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
45276 mv prev-zlib stage3-zlib ; : ; \
45278 @endif zlib
45279 @if test -d $(TARGET_SUBDIR) ; then \
45280 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
45281 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
45283 rm -f stage_current
45285 # Bubble a bugfix through all the stages up to stage 4. They are
45286 # remade, but not reconfigured. The next stage (if any) will not be
45287 # reconfigured as well.
45288 .PHONY: stage4-bubble
45289 stage4-bubble:: stage3-bubble
45290 @r=`${PWD_COMMAND}`; export r; \
45291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45292 if test -f stage4-lean || test -f stage3-lean ; then \
45293 echo Skipping rebuild of stage4 ; \
45294 else \
45295 $(MAKE) stage4-start; \
45296 if $(LEAN); then \
45297 rm -rf stage2-* ; \
45298 $(STAMP) stage2-lean ; \
45299 fi; \
45300 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
45302 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
45304 .PHONY: all-stage4 clean-stage4
45305 do-clean: clean-stage4
45307 # FIXME: Will not need to be conditional when toplevel bootstrap is the
45308 # only possibility, but now it conflicts with no-bootstrap rules
45309 @if gcc-bootstrap
45311 compare3:
45312 @r=`${PWD_COMMAND}`; export r; \
45313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45314 if test -f stage3-lean; then \
45315 echo Cannot compare object files as stage 3 was deleted. ; \
45316 exit 0 ; \
45317 fi; \
45318 : $(MAKE); $(stage); \
45319 rm -f .bad_compare ; \
45320 echo Comparing stages 3 and 4 ; \
45321 cd stage4-gcc; \
45322 files=`find . -name "*$(objext)" -print` ; \
45323 cd .. ; \
45324 for file in $${files} ; do \
45325 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
45326 @do_compare@ > /dev/null 2>&1; \
45327 if test $$? -eq 1; then \
45328 case $$file in \
45329 ./cc*-checksum$(objext) | ./libgcc/* ) \
45330 echo warning: $$file differs ;; \
45331 *) \
45332 echo $$file differs >> .bad_compare ;; \
45333 esac ; \
45334 fi ; \
45335 done ; \
45336 if [ -f .bad_compare ]; then \
45337 echo "Bootstrap comparison failure!"; \
45338 cat .bad_compare; \
45339 exit 1; \
45340 else \
45341 echo Comparison successful.; \
45342 fi ; \
45343 $(STAMP) compare3
45344 if $(LEAN); then \
45345 rm -rf stage3-*; \
45346 $(STAMP) stage3-lean; \
45351 .PHONY: bootstrap4 bootstrap4-lean
45352 bootstrap4:
45353 echo stage4 > stage_final
45354 @r=`${PWD_COMMAND}`; export r; \
45355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45356 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
45357 @: $(MAKE); $(unstage)
45358 @r=`${PWD_COMMAND}`; export r; \
45359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45360 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45362 bootstrap4-lean:
45363 echo stage4 > stage_final
45364 @r=`${PWD_COMMAND}`; export r; \
45365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45366 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
45367 @: $(MAKE); $(unstage)
45368 @r=`${PWD_COMMAND}`; export r; \
45369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45370 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45373 # Rules to wipe a stage and all the following ones, also used for cleanstrap
45374 distclean-stage3:: distclean-stage4
45375 .PHONY: distclean-stage4
45376 distclean-stage4::
45377 @: $(MAKE); $(stage)
45378 rm -rf stage4-* compare3
45381 @endif gcc-bootstrap
45384 .PHONY: stageprofile-start stageprofile-end
45386 stageprofile-start::
45387 @: $(MAKE); $(stage); \
45388 echo stageprofile > stage_current ; \
45389 echo stageprofile > stage_last; \
45390 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
45391 @if bfd
45392 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
45393 mkdir stageprofile-bfd; \
45394 mv stageprofile-bfd bfd ; \
45395 mv stage1-bfd prev-bfd || test -f stage1-lean
45396 @endif bfd
45397 @if opcodes
45398 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
45399 mkdir stageprofile-opcodes; \
45400 mv stageprofile-opcodes opcodes ; \
45401 mv stage1-opcodes prev-opcodes || test -f stage1-lean
45402 @endif opcodes
45403 @if binutils
45404 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
45405 mkdir stageprofile-binutils; \
45406 mv stageprofile-binutils binutils ; \
45407 mv stage1-binutils prev-binutils || test -f stage1-lean
45408 @endif binutils
45409 @if gas
45410 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
45411 mkdir stageprofile-gas; \
45412 mv stageprofile-gas gas ; \
45413 mv stage1-gas prev-gas || test -f stage1-lean
45414 @endif gas
45415 @if gcc
45416 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
45417 mkdir stageprofile-gcc; \
45418 mv stageprofile-gcc gcc ; \
45419 mv stage1-gcc prev-gcc || test -f stage1-lean
45420 @endif gcc
45421 @if gmp
45422 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
45423 mkdir stageprofile-gmp; \
45424 mv stageprofile-gmp gmp ; \
45425 mv stage1-gmp prev-gmp || test -f stage1-lean
45426 @endif gmp
45427 @if mpfr
45428 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
45429 mkdir stageprofile-mpfr; \
45430 mv stageprofile-mpfr mpfr ; \
45431 mv stage1-mpfr prev-mpfr || test -f stage1-lean
45432 @endif mpfr
45433 @if intl
45434 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
45435 mkdir stageprofile-intl; \
45436 mv stageprofile-intl intl ; \
45437 mv stage1-intl prev-intl || test -f stage1-lean
45438 @endif intl
45439 @if ld
45440 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
45441 mkdir stageprofile-ld; \
45442 mv stageprofile-ld ld ; \
45443 mv stage1-ld prev-ld || test -f stage1-lean
45444 @endif ld
45445 @if libcpp
45446 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
45447 mkdir stageprofile-libcpp; \
45448 mv stageprofile-libcpp libcpp ; \
45449 mv stage1-libcpp prev-libcpp || test -f stage1-lean
45450 @endif libcpp
45451 @if libdecnumber
45452 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
45453 mkdir stageprofile-libdecnumber; \
45454 mv stageprofile-libdecnumber libdecnumber ; \
45455 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
45456 @endif libdecnumber
45457 @if libiberty
45458 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
45459 mkdir stageprofile-libiberty; \
45460 mv stageprofile-libiberty libiberty ; \
45461 mv stage1-libiberty prev-libiberty || test -f stage1-lean
45462 @endif libiberty
45463 @if zlib
45464 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
45465 mkdir stageprofile-zlib; \
45466 mv stageprofile-zlib zlib ; \
45467 mv stage1-zlib prev-zlib || test -f stage1-lean
45468 @endif zlib
45469 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
45470 mkdir stageprofile-$(TARGET_SUBDIR); \
45471 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
45472 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
45474 stageprofile-end::
45475 @if bfd
45476 @if test -d $(HOST_SUBDIR)/bfd ; then \
45477 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
45478 mv prev-bfd stage1-bfd ; : ; \
45480 @endif bfd
45481 @if opcodes
45482 @if test -d $(HOST_SUBDIR)/opcodes ; then \
45483 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
45484 mv prev-opcodes stage1-opcodes ; : ; \
45486 @endif opcodes
45487 @if binutils
45488 @if test -d $(HOST_SUBDIR)/binutils ; then \
45489 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
45490 mv prev-binutils stage1-binutils ; : ; \
45492 @endif binutils
45493 @if gas
45494 @if test -d $(HOST_SUBDIR)/gas ; then \
45495 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
45496 mv prev-gas stage1-gas ; : ; \
45498 @endif gas
45499 @if gcc
45500 @if test -d $(HOST_SUBDIR)/gcc ; then \
45501 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
45502 mv prev-gcc stage1-gcc ; : ; \
45504 @endif gcc
45505 @if gmp
45506 @if test -d $(HOST_SUBDIR)/gmp ; then \
45507 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
45508 mv prev-gmp stage1-gmp ; : ; \
45510 @endif gmp
45511 @if mpfr
45512 @if test -d $(HOST_SUBDIR)/mpfr ; then \
45513 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
45514 mv prev-mpfr stage1-mpfr ; : ; \
45516 @endif mpfr
45517 @if intl
45518 @if test -d $(HOST_SUBDIR)/intl ; then \
45519 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
45520 mv prev-intl stage1-intl ; : ; \
45522 @endif intl
45523 @if ld
45524 @if test -d $(HOST_SUBDIR)/ld ; then \
45525 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
45526 mv prev-ld stage1-ld ; : ; \
45528 @endif ld
45529 @if libcpp
45530 @if test -d $(HOST_SUBDIR)/libcpp ; then \
45531 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
45532 mv prev-libcpp stage1-libcpp ; : ; \
45534 @endif libcpp
45535 @if libdecnumber
45536 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
45537 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
45538 mv prev-libdecnumber stage1-libdecnumber ; : ; \
45540 @endif libdecnumber
45541 @if libiberty
45542 @if test -d $(HOST_SUBDIR)/libiberty ; then \
45543 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
45544 mv prev-libiberty stage1-libiberty ; : ; \
45546 @endif libiberty
45547 @if zlib
45548 @if test -d $(HOST_SUBDIR)/zlib ; then \
45549 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
45550 mv prev-zlib stage1-zlib ; : ; \
45552 @endif zlib
45553 @if test -d $(TARGET_SUBDIR) ; then \
45554 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
45555 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
45557 rm -f stage_current
45559 # Bubble a bugfix through all the stages up to stage profile. They are
45560 # remade, but not reconfigured. The next stage (if any) will not be
45561 # reconfigured as well.
45562 .PHONY: stageprofile-bubble
45563 stageprofile-bubble:: stage1-bubble
45564 @r=`${PWD_COMMAND}`; export r; \
45565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45566 if test -f stageprofile-lean || test -f stage1-lean ; then \
45567 echo Skipping rebuild of stageprofile ; \
45568 else \
45569 $(MAKE) stageprofile-start; \
45570 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
45573 .PHONY: all-stageprofile clean-stageprofile
45574 do-clean: clean-stageprofile
45576 # FIXME: Will not need to be conditional when toplevel bootstrap is the
45577 # only possibility, but now it conflicts with no-bootstrap rules
45578 @if gcc-bootstrap
45583 # Rules to wipe a stage and all the following ones, also used for cleanstrap
45584 distclean-stage1:: distclean-stageprofile
45585 .PHONY: distclean-stageprofile
45586 distclean-stageprofile::
45587 @: $(MAKE); $(stage)
45588 rm -rf stageprofile-*
45591 @endif gcc-bootstrap
45594 .PHONY: stagefeedback-start stagefeedback-end
45596 stagefeedback-start::
45597 @: $(MAKE); $(stage); \
45598 echo stagefeedback > stage_current ; \
45599 echo stagefeedback > stage_last; \
45600 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
45601 @if bfd
45602 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
45603 mkdir stagefeedback-bfd; \
45604 mv stagefeedback-bfd bfd ; \
45605 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
45606 @endif bfd
45607 @if opcodes
45608 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
45609 mkdir stagefeedback-opcodes; \
45610 mv stagefeedback-opcodes opcodes ; \
45611 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
45612 @endif opcodes
45613 @if binutils
45614 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
45615 mkdir stagefeedback-binutils; \
45616 mv stagefeedback-binutils binutils ; \
45617 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
45618 @endif binutils
45619 @if gas
45620 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
45621 mkdir stagefeedback-gas; \
45622 mv stagefeedback-gas gas ; \
45623 mv stageprofile-gas prev-gas || test -f stageprofile-lean
45624 @endif gas
45625 @if gcc
45626 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
45627 mkdir stagefeedback-gcc; \
45628 mv stagefeedback-gcc gcc ; \
45629 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
45630 @endif gcc
45631 @if gmp
45632 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
45633 mkdir stagefeedback-gmp; \
45634 mv stagefeedback-gmp gmp ; \
45635 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
45636 @endif gmp
45637 @if mpfr
45638 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
45639 mkdir stagefeedback-mpfr; \
45640 mv stagefeedback-mpfr mpfr ; \
45641 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
45642 @endif mpfr
45643 @if intl
45644 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
45645 mkdir stagefeedback-intl; \
45646 mv stagefeedback-intl intl ; \
45647 mv stageprofile-intl prev-intl || test -f stageprofile-lean
45648 @endif intl
45649 @if ld
45650 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
45651 mkdir stagefeedback-ld; \
45652 mv stagefeedback-ld ld ; \
45653 mv stageprofile-ld prev-ld || test -f stageprofile-lean
45654 @endif ld
45655 @if libcpp
45656 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
45657 mkdir stagefeedback-libcpp; \
45658 mv stagefeedback-libcpp libcpp ; \
45659 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
45660 @endif libcpp
45661 @if libdecnumber
45662 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
45663 mkdir stagefeedback-libdecnumber; \
45664 mv stagefeedback-libdecnumber libdecnumber ; \
45665 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
45666 @endif libdecnumber
45667 @if libiberty
45668 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
45669 mkdir stagefeedback-libiberty; \
45670 mv stagefeedback-libiberty libiberty ; \
45671 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
45672 @endif libiberty
45673 @if zlib
45674 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
45675 mkdir stagefeedback-zlib; \
45676 mv stagefeedback-zlib zlib ; \
45677 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
45678 @endif zlib
45679 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
45680 mkdir stagefeedback-$(TARGET_SUBDIR); \
45681 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
45682 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
45684 stagefeedback-end::
45685 @if bfd
45686 @if test -d $(HOST_SUBDIR)/bfd ; then \
45687 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
45688 mv prev-bfd stageprofile-bfd ; : ; \
45690 @endif bfd
45691 @if opcodes
45692 @if test -d $(HOST_SUBDIR)/opcodes ; then \
45693 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
45694 mv prev-opcodes stageprofile-opcodes ; : ; \
45696 @endif opcodes
45697 @if binutils
45698 @if test -d $(HOST_SUBDIR)/binutils ; then \
45699 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
45700 mv prev-binutils stageprofile-binutils ; : ; \
45702 @endif binutils
45703 @if gas
45704 @if test -d $(HOST_SUBDIR)/gas ; then \
45705 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
45706 mv prev-gas stageprofile-gas ; : ; \
45708 @endif gas
45709 @if gcc
45710 @if test -d $(HOST_SUBDIR)/gcc ; then \
45711 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
45712 mv prev-gcc stageprofile-gcc ; : ; \
45714 @endif gcc
45715 @if gmp
45716 @if test -d $(HOST_SUBDIR)/gmp ; then \
45717 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
45718 mv prev-gmp stageprofile-gmp ; : ; \
45720 @endif gmp
45721 @if mpfr
45722 @if test -d $(HOST_SUBDIR)/mpfr ; then \
45723 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
45724 mv prev-mpfr stageprofile-mpfr ; : ; \
45726 @endif mpfr
45727 @if intl
45728 @if test -d $(HOST_SUBDIR)/intl ; then \
45729 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
45730 mv prev-intl stageprofile-intl ; : ; \
45732 @endif intl
45733 @if ld
45734 @if test -d $(HOST_SUBDIR)/ld ; then \
45735 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
45736 mv prev-ld stageprofile-ld ; : ; \
45738 @endif ld
45739 @if libcpp
45740 @if test -d $(HOST_SUBDIR)/libcpp ; then \
45741 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
45742 mv prev-libcpp stageprofile-libcpp ; : ; \
45744 @endif libcpp
45745 @if libdecnumber
45746 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
45747 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
45748 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
45750 @endif libdecnumber
45751 @if libiberty
45752 @if test -d $(HOST_SUBDIR)/libiberty ; then \
45753 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
45754 mv prev-libiberty stageprofile-libiberty ; : ; \
45756 @endif libiberty
45757 @if zlib
45758 @if test -d $(HOST_SUBDIR)/zlib ; then \
45759 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
45760 mv prev-zlib stageprofile-zlib ; : ; \
45762 @endif zlib
45763 @if test -d $(TARGET_SUBDIR) ; then \
45764 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
45765 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
45767 rm -f stage_current
45769 # Bubble a bugfix through all the stages up to stage feedback. They are
45770 # remade, but not reconfigured. The next stage (if any) will not be
45771 # reconfigured as well.
45772 .PHONY: stagefeedback-bubble
45773 stagefeedback-bubble:: stageprofile-bubble
45774 @r=`${PWD_COMMAND}`; export r; \
45775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45776 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
45777 echo Skipping rebuild of stagefeedback ; \
45778 else \
45779 $(MAKE) stagefeedback-start; \
45780 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
45783 .PHONY: all-stagefeedback clean-stagefeedback
45784 do-clean: clean-stagefeedback
45786 # FIXME: Will not need to be conditional when toplevel bootstrap is the
45787 # only possibility, but now it conflicts with no-bootstrap rules
45788 @if gcc-bootstrap
45792 .PHONY: profiledbootstrap profiledbootstrap-lean
45793 profiledbootstrap:
45794 echo stagefeedback > stage_final
45795 @r=`${PWD_COMMAND}`; export r; \
45796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45797 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
45798 @: $(MAKE); $(unstage)
45799 @r=`${PWD_COMMAND}`; export r; \
45800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45801 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45803 profiledbootstrap-lean:
45804 echo stagefeedback > stage_final
45805 @r=`${PWD_COMMAND}`; export r; \
45806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45807 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
45808 @: $(MAKE); $(unstage)
45809 @r=`${PWD_COMMAND}`; export r; \
45810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45811 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45814 # Rules to wipe a stage and all the following ones, also used for cleanstrap
45815 distclean-stageprofile:: distclean-stagefeedback
45816 .PHONY: distclean-stagefeedback
45817 distclean-stagefeedback::
45818 @: $(MAKE); $(stage)
45819 rm -rf stagefeedback-*
45822 @endif gcc-bootstrap
45826 stageprofile-end::
45827 $(MAKE) distclean-stagefeedback
45829 stagefeedback-start::
45830 @r=`${PWD_COMMAND}`; export r; \
45831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45832 for i in prev-*; do \
45833 j=`echo $$i | sed s/^prev-//` ; \
45834 cd $$r/$$i && \
45835 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
45836 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
45837 done
45839 @if gcc-bootstrap
45840 do-distclean: distclean-stage1
45842 # Provide a GCC build when we're building target libraries. This does
45843 # not work as a dependency, just as the minimum necessary to avoid errors.
45844 stage_last:
45845 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
45847 # Same as unstage, but not phony and defaulting to stage1-start. We place
45848 # it in the dependency so that for example `make -j3 all-gcc' works.
45849 stage_current:
45850 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
45852 .PHONY: restrap
45853 restrap:
45854 @: $(MAKE); $(stage)
45855 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
45856 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
45857 @endif gcc-bootstrap
45859 # --------------------------------------
45860 # Dependencies between different modules
45861 # --------------------------------------
45863 # Generic dependencies for target modules on host stuff, especially gcc
45864 @if gcc-bootstrap
45865 configure-target-libstdc++-v3: stage_last
45866 configure-target-libmudflap: stage_last
45867 configure-target-libssp: stage_last
45868 configure-target-newlib: stage_last
45869 configure-stage1-target-libgcc: maybe-all-stage1-gcc
45870 configure-stage2-target-libgcc: maybe-all-stage2-gcc
45871 configure-stage3-target-libgcc: maybe-all-stage3-gcc
45872 configure-stage4-target-libgcc: maybe-all-stage4-gcc
45873 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
45874 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
45875 configure-target-libgfortran: stage_last
45876 configure-target-libobjc: stage_last
45877 configure-target-libtermcap: stage_last
45878 configure-target-winsup: stage_last
45879 configure-target-libgloss: stage_last
45880 configure-target-libiberty: stage_last
45881 configure-target-gperf: stage_last
45882 configure-target-examples: stage_last
45883 configure-target-libffi: stage_last
45884 configure-target-libjava: stage_last
45885 configure-target-zlib: stage_last
45886 configure-target-boehm-gc: stage_last
45887 configure-target-qthreads: stage_last
45888 configure-target-rda: stage_last
45889 configure-target-libada: stage_last
45890 configure-target-libgomp: stage_last
45891 @endif gcc-bootstrap
45893 @if gcc-no-bootstrap
45894 configure-target-libstdc++-v3: maybe-all-gcc
45895 configure-target-libmudflap: maybe-all-gcc
45896 configure-target-libssp: maybe-all-gcc
45897 configure-target-newlib: maybe-all-gcc
45898 configure-target-libgcc: maybe-all-gcc
45899 configure-target-libgfortran: maybe-all-gcc
45900 configure-target-libobjc: maybe-all-gcc
45901 configure-target-libtermcap: maybe-all-gcc
45902 configure-target-winsup: maybe-all-gcc
45903 configure-target-libgloss: maybe-all-gcc
45904 configure-target-libiberty: maybe-all-gcc
45905 configure-target-gperf: maybe-all-gcc
45906 configure-target-examples: maybe-all-gcc
45907 configure-target-libffi: maybe-all-gcc
45908 configure-target-libjava: maybe-all-gcc
45909 configure-target-zlib: maybe-all-gcc
45910 configure-target-boehm-gc: maybe-all-gcc
45911 configure-target-qthreads: maybe-all-gcc
45912 configure-target-rda: maybe-all-gcc
45913 configure-target-libada: maybe-all-gcc
45914 configure-target-libgomp: maybe-all-gcc
45915 @endif gcc-no-bootstrap
45918 # There are two types of dependencies here: 'hard' dependencies, where one
45919 # module simply won't build without the other; and 'soft' dependencies, where
45920 # if the depended-on module is missing, the depending module will do without
45921 # or find a substitute somewhere (perhaps installed). Soft dependencies
45922 # are made here to depend on a 'maybe-' target. If you're not sure,
45923 # it's safer to use a soft dependency.
45930 # With all the machinery above in place, it is pretty easy to generate
45931 # dependencies. Host dependencies are a bit more complex because we have
45932 # to check for bootstrap/prebootstrap dependencies. To resolve
45933 # prebootstrap dependencies, prebootstrap modules are gathered in
45934 # a hash table.
45935 all-build-bison: maybe-all-build-texinfo
45936 all-build-byacc: maybe-all-build-texinfo
45937 all-build-flex: maybe-all-build-texinfo
45938 all-build-flex: maybe-all-build-bison
45939 all-build-flex: maybe-all-build-byacc
45940 all-build-flex: maybe-all-build-m4
45941 all-build-libiberty: maybe-all-build-texinfo
45942 all-build-m4: maybe-all-build-texinfo
45943 all-build-fixincludes: maybe-all-build-libiberty
45944 configure-gcc: maybe-configure-intl
45946 configure-stage1-gcc: maybe-configure-stage1-intl
45947 configure-stage2-gcc: maybe-configure-stage2-intl
45948 configure-stage3-gcc: maybe-configure-stage3-intl
45949 configure-stage4-gcc: maybe-configure-stage4-intl
45950 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
45951 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
45952 configure-gcc: maybe-all-binutils
45954 configure-stage1-gcc: maybe-all-stage1-binutils
45955 configure-stage2-gcc: maybe-all-stage2-binutils
45956 configure-stage3-gcc: maybe-all-stage3-binutils
45957 configure-stage4-gcc: maybe-all-stage4-binutils
45958 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
45959 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
45960 configure-gcc: maybe-all-gas
45962 configure-stage1-gcc: maybe-all-stage1-gas
45963 configure-stage2-gcc: maybe-all-stage2-gas
45964 configure-stage3-gcc: maybe-all-stage3-gas
45965 configure-stage4-gcc: maybe-all-stage4-gas
45966 configure-stageprofile-gcc: maybe-all-stageprofile-gas
45967 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
45968 configure-gcc: maybe-all-ld
45970 configure-stage1-gcc: maybe-all-stage1-ld
45971 configure-stage2-gcc: maybe-all-stage2-ld
45972 configure-stage3-gcc: maybe-all-stage3-ld
45973 configure-stage4-gcc: maybe-all-stage4-ld
45974 configure-stageprofile-gcc: maybe-all-stageprofile-ld
45975 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
45976 all-gcc: all-libiberty
45978 all-stage1-gcc: all-stage1-libiberty
45979 all-stage2-gcc: all-stage2-libiberty
45980 all-stage3-gcc: all-stage3-libiberty
45981 all-stage4-gcc: all-stage4-libiberty
45982 all-stageprofile-gcc: all-stageprofile-libiberty
45983 all-stagefeedback-gcc: all-stagefeedback-libiberty
45984 all-gcc: maybe-all-gmp
45986 all-stage1-gcc: maybe-all-stage1-gmp
45987 all-stage2-gcc: maybe-all-stage2-gmp
45988 all-stage3-gcc: maybe-all-stage3-gmp
45989 all-stage4-gcc: maybe-all-stage4-gmp
45990 all-stageprofile-gcc: maybe-all-stageprofile-gmp
45991 all-stagefeedback-gcc: maybe-all-stagefeedback-gmp
45992 all-gcc: maybe-all-intl
45994 all-stage1-gcc: maybe-all-stage1-intl
45995 all-stage2-gcc: maybe-all-stage2-intl
45996 all-stage3-gcc: maybe-all-stage3-intl
45997 all-stage4-gcc: maybe-all-stage4-intl
45998 all-stageprofile-gcc: maybe-all-stageprofile-intl
45999 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
46000 all-gcc: maybe-all-mpfr
46002 all-stage1-gcc: maybe-all-stage1-mpfr
46003 all-stage2-gcc: maybe-all-stage2-mpfr
46004 all-stage3-gcc: maybe-all-stage3-mpfr
46005 all-stage4-gcc: maybe-all-stage4-mpfr
46006 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
46007 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
46008 all-gcc: maybe-all-build-texinfo
46010 all-stage1-gcc: maybe-all-build-texinfo
46011 all-stage2-gcc: maybe-all-build-texinfo
46012 all-stage3-gcc: maybe-all-build-texinfo
46013 all-stage4-gcc: maybe-all-build-texinfo
46014 all-stageprofile-gcc: maybe-all-build-texinfo
46015 all-stagefeedback-gcc: maybe-all-build-texinfo
46016 all-gcc: maybe-all-build-bison
46018 all-stage1-gcc: maybe-all-build-bison
46019 all-stage2-gcc: maybe-all-build-bison
46020 all-stage3-gcc: maybe-all-build-bison
46021 all-stage4-gcc: maybe-all-build-bison
46022 all-stageprofile-gcc: maybe-all-build-bison
46023 all-stagefeedback-gcc: maybe-all-build-bison
46024 all-gcc: maybe-all-build-byacc
46026 all-stage1-gcc: maybe-all-build-byacc
46027 all-stage2-gcc: maybe-all-build-byacc
46028 all-stage3-gcc: maybe-all-build-byacc
46029 all-stage4-gcc: maybe-all-build-byacc
46030 all-stageprofile-gcc: maybe-all-build-byacc
46031 all-stagefeedback-gcc: maybe-all-build-byacc
46032 all-gcc: maybe-all-build-flex
46034 all-stage1-gcc: maybe-all-build-flex
46035 all-stage2-gcc: maybe-all-build-flex
46036 all-stage3-gcc: maybe-all-build-flex
46037 all-stage4-gcc: maybe-all-build-flex
46038 all-stageprofile-gcc: maybe-all-build-flex
46039 all-stagefeedback-gcc: maybe-all-build-flex
46040 all-gcc: maybe-all-build-libiberty
46042 all-stage1-gcc: maybe-all-build-libiberty
46043 all-stage2-gcc: maybe-all-build-libiberty
46044 all-stage3-gcc: maybe-all-build-libiberty
46045 all-stage4-gcc: maybe-all-build-libiberty
46046 all-stageprofile-gcc: maybe-all-build-libiberty
46047 all-stagefeedback-gcc: maybe-all-build-libiberty
46048 all-gcc: maybe-all-build-fixincludes
46050 all-stage1-gcc: maybe-all-build-fixincludes
46051 all-stage2-gcc: maybe-all-build-fixincludes
46052 all-stage3-gcc: maybe-all-build-fixincludes
46053 all-stage4-gcc: maybe-all-build-fixincludes
46054 all-stageprofile-gcc: maybe-all-build-fixincludes
46055 all-stagefeedback-gcc: maybe-all-build-fixincludes
46056 all-gcc: maybe-all-zlib
46058 all-stage1-gcc: maybe-all-stage1-zlib
46059 all-stage2-gcc: maybe-all-stage2-zlib
46060 all-stage3-gcc: maybe-all-stage3-zlib
46061 all-stage4-gcc: maybe-all-stage4-zlib
46062 all-stageprofile-gcc: maybe-all-stageprofile-zlib
46063 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
46064 all-gcc: all-libcpp
46066 all-stage1-gcc: all-stage1-libcpp
46067 all-stage2-gcc: all-stage2-libcpp
46068 all-stage3-gcc: all-stage3-libcpp
46069 all-stage4-gcc: all-stage4-libcpp
46070 all-stageprofile-gcc: all-stageprofile-libcpp
46071 all-stagefeedback-gcc: all-stagefeedback-libcpp
46072 all-gcc: all-libdecnumber
46074 all-stage1-gcc: all-stage1-libdecnumber
46075 all-stage2-gcc: all-stage2-libdecnumber
46076 all-stage3-gcc: all-stage3-libdecnumber
46077 all-stage4-gcc: all-stage4-libdecnumber
46078 all-stageprofile-gcc: all-stageprofile-libdecnumber
46079 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
46080 all-gcc: maybe-all-libiberty
46082 all-stage1-gcc: maybe-all-stage1-libiberty
46083 all-stage2-gcc: maybe-all-stage2-libiberty
46084 all-stage3-gcc: maybe-all-stage3-libiberty
46085 all-stage4-gcc: maybe-all-stage4-libiberty
46086 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
46087 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
46088 all-gcc: maybe-all-fixincludes
46089 install-gcc: maybe-install-fixincludes
46090 configure-libcpp: configure-libiberty
46092 configure-stage1-libcpp: configure-stage1-libiberty
46093 configure-stage2-libcpp: configure-stage2-libiberty
46094 configure-stage3-libcpp: configure-stage3-libiberty
46095 configure-stage4-libcpp: configure-stage4-libiberty
46096 configure-stageprofile-libcpp: configure-stageprofile-libiberty
46097 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
46098 configure-libcpp: maybe-configure-intl
46100 configure-stage1-libcpp: maybe-configure-stage1-intl
46101 configure-stage2-libcpp: maybe-configure-stage2-intl
46102 configure-stage3-libcpp: maybe-configure-stage3-intl
46103 configure-stage4-libcpp: maybe-configure-stage4-intl
46104 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
46105 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
46106 all-libcpp: all-libiberty
46108 all-stage1-libcpp: all-stage1-libiberty
46109 all-stage2-libcpp: all-stage2-libiberty
46110 all-stage3-libcpp: all-stage3-libiberty
46111 all-stage4-libcpp: all-stage4-libiberty
46112 all-stageprofile-libcpp: all-stageprofile-libiberty
46113 all-stagefeedback-libcpp: all-stagefeedback-libiberty
46114 all-libcpp: maybe-all-intl
46116 all-stage1-libcpp: maybe-all-stage1-intl
46117 all-stage2-libcpp: maybe-all-stage2-intl
46118 all-stage3-libcpp: maybe-all-stage3-intl
46119 all-stage4-libcpp: maybe-all-stage4-intl
46120 all-stageprofile-libcpp: maybe-all-stageprofile-intl
46121 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
46122 all-fixincludes: maybe-all-libiberty
46123 all-gnattools: maybe-all-target-libada
46124 configure-mpfr: maybe-all-gmp
46126 configure-stage1-mpfr: maybe-all-stage1-gmp
46127 configure-stage2-mpfr: maybe-all-stage2-gmp
46128 configure-stage3-mpfr: maybe-all-stage3-gmp
46129 configure-stage4-mpfr: maybe-all-stage4-gmp
46130 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
46131 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
46132 configure-gdb: maybe-configure-intl
46133 configure-gdb: maybe-configure-sim
46134 all-gdb: maybe-all-intl
46135 all-gdb: maybe-all-libiberty
46136 all-gdb: maybe-all-opcodes
46137 all-gdb: maybe-all-bfd
46138 all-gdb: maybe-all-readline
46139 all-gdb: maybe-all-build-bison
46140 all-gdb: maybe-all-build-byacc
46141 all-gdb: maybe-all-sim
46142 configure-libgui: maybe-configure-tcl
46143 configure-libgui: maybe-configure-tk
46144 all-libgui: maybe-all-tcl
46145 all-libgui: maybe-all-tk
46146 all-libgui: maybe-all-itcl
46147 configure-bfd: configure-libiberty
46149 configure-stage1-bfd: configure-stage1-libiberty
46150 configure-stage2-bfd: configure-stage2-libiberty
46151 configure-stage3-bfd: configure-stage3-libiberty
46152 configure-stage4-bfd: configure-stage4-libiberty
46153 configure-stageprofile-bfd: configure-stageprofile-libiberty
46154 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
46155 configure-bfd: maybe-configure-intl
46157 configure-stage1-bfd: maybe-configure-stage1-intl
46158 configure-stage2-bfd: maybe-configure-stage2-intl
46159 configure-stage3-bfd: maybe-configure-stage3-intl
46160 configure-stage4-bfd: maybe-configure-stage4-intl
46161 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
46162 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
46163 all-bfd: maybe-all-libiberty
46165 all-stage1-bfd: maybe-all-stage1-libiberty
46166 all-stage2-bfd: maybe-all-stage2-libiberty
46167 all-stage3-bfd: maybe-all-stage3-libiberty
46168 all-stage4-bfd: maybe-all-stage4-libiberty
46169 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
46170 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
46171 all-bfd: maybe-all-intl
46173 all-stage1-bfd: maybe-all-stage1-intl
46174 all-stage2-bfd: maybe-all-stage2-intl
46175 all-stage3-bfd: maybe-all-stage3-intl
46176 all-stage4-bfd: maybe-all-stage4-intl
46177 all-stageprofile-bfd: maybe-all-stageprofile-intl
46178 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
46179 configure-binutils: maybe-configure-intl
46181 configure-stage1-binutils: maybe-configure-stage1-intl
46182 configure-stage2-binutils: maybe-configure-stage2-intl
46183 configure-stage3-binutils: maybe-configure-stage3-intl
46184 configure-stage4-binutils: maybe-configure-stage4-intl
46185 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
46186 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
46187 all-binutils: maybe-all-libiberty
46189 all-stage1-binutils: maybe-all-stage1-libiberty
46190 all-stage2-binutils: maybe-all-stage2-libiberty
46191 all-stage3-binutils: maybe-all-stage3-libiberty
46192 all-stage4-binutils: maybe-all-stage4-libiberty
46193 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
46194 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
46195 all-binutils: maybe-all-opcodes
46197 all-stage1-binutils: maybe-all-stage1-opcodes
46198 all-stage2-binutils: maybe-all-stage2-opcodes
46199 all-stage3-binutils: maybe-all-stage3-opcodes
46200 all-stage4-binutils: maybe-all-stage4-opcodes
46201 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
46202 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
46203 all-binutils: maybe-all-bfd
46205 all-stage1-binutils: maybe-all-stage1-bfd
46206 all-stage2-binutils: maybe-all-stage2-bfd
46207 all-stage3-binutils: maybe-all-stage3-bfd
46208 all-stage4-binutils: maybe-all-stage4-bfd
46209 all-stageprofile-binutils: maybe-all-stageprofile-bfd
46210 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
46211 all-binutils: maybe-all-build-flex
46213 all-stage1-binutils: maybe-all-build-flex
46214 all-stage2-binutils: maybe-all-build-flex
46215 all-stage3-binutils: maybe-all-build-flex
46216 all-stage4-binutils: maybe-all-build-flex
46217 all-stageprofile-binutils: maybe-all-build-flex
46218 all-stagefeedback-binutils: maybe-all-build-flex
46219 all-binutils: maybe-all-build-bison
46221 all-stage1-binutils: maybe-all-build-bison
46222 all-stage2-binutils: maybe-all-build-bison
46223 all-stage3-binutils: maybe-all-build-bison
46224 all-stage4-binutils: maybe-all-build-bison
46225 all-stageprofile-binutils: maybe-all-build-bison
46226 all-stagefeedback-binutils: maybe-all-build-bison
46227 all-binutils: maybe-all-build-byacc
46229 all-stage1-binutils: maybe-all-build-byacc
46230 all-stage2-binutils: maybe-all-build-byacc
46231 all-stage3-binutils: maybe-all-build-byacc
46232 all-stage4-binutils: maybe-all-build-byacc
46233 all-stageprofile-binutils: maybe-all-build-byacc
46234 all-stagefeedback-binutils: maybe-all-build-byacc
46235 all-binutils: maybe-all-intl
46237 all-stage1-binutils: maybe-all-stage1-intl
46238 all-stage2-binutils: maybe-all-stage2-intl
46239 all-stage3-binutils: maybe-all-stage3-intl
46240 all-stage4-binutils: maybe-all-stage4-intl
46241 all-stageprofile-binutils: maybe-all-stageprofile-intl
46242 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
46243 install-binutils: maybe-install-opcodes
46244 install-opcodes: maybe-install-bfd
46245 configure-gas: maybe-configure-intl
46247 configure-stage1-gas: maybe-configure-stage1-intl
46248 configure-stage2-gas: maybe-configure-stage2-intl
46249 configure-stage3-gas: maybe-configure-stage3-intl
46250 configure-stage4-gas: maybe-configure-stage4-intl
46251 configure-stageprofile-gas: maybe-configure-stageprofile-intl
46252 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
46253 all-gas: maybe-all-libiberty
46255 all-stage1-gas: maybe-all-stage1-libiberty
46256 all-stage2-gas: maybe-all-stage2-libiberty
46257 all-stage3-gas: maybe-all-stage3-libiberty
46258 all-stage4-gas: maybe-all-stage4-libiberty
46259 all-stageprofile-gas: maybe-all-stageprofile-libiberty
46260 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
46261 all-gas: maybe-all-opcodes
46263 all-stage1-gas: maybe-all-stage1-opcodes
46264 all-stage2-gas: maybe-all-stage2-opcodes
46265 all-stage3-gas: maybe-all-stage3-opcodes
46266 all-stage4-gas: maybe-all-stage4-opcodes
46267 all-stageprofile-gas: maybe-all-stageprofile-opcodes
46268 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
46269 all-gas: maybe-all-bfd
46271 all-stage1-gas: maybe-all-stage1-bfd
46272 all-stage2-gas: maybe-all-stage2-bfd
46273 all-stage3-gas: maybe-all-stage3-bfd
46274 all-stage4-gas: maybe-all-stage4-bfd
46275 all-stageprofile-gas: maybe-all-stageprofile-bfd
46276 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
46277 all-gas: maybe-all-intl
46279 all-stage1-gas: maybe-all-stage1-intl
46280 all-stage2-gas: maybe-all-stage2-intl
46281 all-stage3-gas: maybe-all-stage3-intl
46282 all-stage4-gas: maybe-all-stage4-intl
46283 all-stageprofile-gas: maybe-all-stageprofile-intl
46284 all-stagefeedback-gas: maybe-all-stagefeedback-intl
46285 configure-gprof: maybe-configure-intl
46286 all-gprof: maybe-all-libiberty
46287 all-gprof: maybe-all-bfd
46288 all-gprof: maybe-all-opcodes
46289 all-gprof: maybe-all-intl
46290 configure-ld: maybe-configure-intl
46292 configure-stage1-ld: maybe-configure-stage1-intl
46293 configure-stage2-ld: maybe-configure-stage2-intl
46294 configure-stage3-ld: maybe-configure-stage3-intl
46295 configure-stage4-ld: maybe-configure-stage4-intl
46296 configure-stageprofile-ld: maybe-configure-stageprofile-intl
46297 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
46298 all-ld: maybe-all-libiberty
46300 all-stage1-ld: maybe-all-stage1-libiberty
46301 all-stage2-ld: maybe-all-stage2-libiberty
46302 all-stage3-ld: maybe-all-stage3-libiberty
46303 all-stage4-ld: maybe-all-stage4-libiberty
46304 all-stageprofile-ld: maybe-all-stageprofile-libiberty
46305 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
46306 all-ld: maybe-all-bfd
46308 all-stage1-ld: maybe-all-stage1-bfd
46309 all-stage2-ld: maybe-all-stage2-bfd
46310 all-stage3-ld: maybe-all-stage3-bfd
46311 all-stage4-ld: maybe-all-stage4-bfd
46312 all-stageprofile-ld: maybe-all-stageprofile-bfd
46313 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
46314 all-ld: maybe-all-opcodes
46316 all-stage1-ld: maybe-all-stage1-opcodes
46317 all-stage2-ld: maybe-all-stage2-opcodes
46318 all-stage3-ld: maybe-all-stage3-opcodes
46319 all-stage4-ld: maybe-all-stage4-opcodes
46320 all-stageprofile-ld: maybe-all-stageprofile-opcodes
46321 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
46322 all-ld: maybe-all-build-bison
46324 all-stage1-ld: maybe-all-build-bison
46325 all-stage2-ld: maybe-all-build-bison
46326 all-stage3-ld: maybe-all-build-bison
46327 all-stage4-ld: maybe-all-build-bison
46328 all-stageprofile-ld: maybe-all-build-bison
46329 all-stagefeedback-ld: maybe-all-build-bison
46330 all-ld: maybe-all-build-byacc
46332 all-stage1-ld: maybe-all-build-byacc
46333 all-stage2-ld: maybe-all-build-byacc
46334 all-stage3-ld: maybe-all-build-byacc
46335 all-stage4-ld: maybe-all-build-byacc
46336 all-stageprofile-ld: maybe-all-build-byacc
46337 all-stagefeedback-ld: maybe-all-build-byacc
46338 all-ld: maybe-all-build-flex
46340 all-stage1-ld: maybe-all-build-flex
46341 all-stage2-ld: maybe-all-build-flex
46342 all-stage3-ld: maybe-all-build-flex
46343 all-stage4-ld: maybe-all-build-flex
46344 all-stageprofile-ld: maybe-all-build-flex
46345 all-stagefeedback-ld: maybe-all-build-flex
46346 all-ld: maybe-all-intl
46348 all-stage1-ld: maybe-all-stage1-intl
46349 all-stage2-ld: maybe-all-stage2-intl
46350 all-stage3-ld: maybe-all-stage3-intl
46351 all-stage4-ld: maybe-all-stage4-intl
46352 all-stageprofile-ld: maybe-all-stageprofile-intl
46353 all-stagefeedback-ld: maybe-all-stagefeedback-intl
46354 configure-opcodes: maybe-configure-intl
46356 configure-stage1-opcodes: maybe-configure-stage1-intl
46357 configure-stage2-opcodes: maybe-configure-stage2-intl
46358 configure-stage3-opcodes: maybe-configure-stage3-intl
46359 configure-stage4-opcodes: maybe-configure-stage4-intl
46360 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
46361 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
46362 all-opcodes: maybe-all-bfd
46364 all-stage1-opcodes: maybe-all-stage1-bfd
46365 all-stage2-opcodes: maybe-all-stage2-bfd
46366 all-stage3-opcodes: maybe-all-stage3-bfd
46367 all-stage4-opcodes: maybe-all-stage4-bfd
46368 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
46369 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
46370 all-opcodes: maybe-all-libiberty
46372 all-stage1-opcodes: maybe-all-stage1-libiberty
46373 all-stage2-opcodes: maybe-all-stage2-libiberty
46374 all-stage3-opcodes: maybe-all-stage3-libiberty
46375 all-stage4-opcodes: maybe-all-stage4-libiberty
46376 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
46377 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
46378 all-opcodes: maybe-all-intl
46380 all-stage1-opcodes: maybe-all-stage1-intl
46381 all-stage2-opcodes: maybe-all-stage2-intl
46382 all-stage3-opcodes: maybe-all-stage3-intl
46383 all-stage4-opcodes: maybe-all-stage4-intl
46384 all-stageprofile-opcodes: maybe-all-stageprofile-intl
46385 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
46386 all-dejagnu: maybe-all-tcl
46387 all-dejagnu: maybe-all-expect
46388 all-dejagnu: maybe-all-tk
46389 configure-expect: maybe-configure-tcl
46390 configure-expect: maybe-configure-tk
46391 all-expect: maybe-all-tcl
46392 all-expect: maybe-all-tk
46393 configure-itcl: maybe-configure-tcl
46394 configure-itcl: maybe-configure-tk
46395 all-itcl: maybe-all-tcl
46396 all-itcl: maybe-all-tk
46397 install-itcl: maybe-install-tcl
46398 configure-tk: maybe-configure-tcl
46399 all-tk: maybe-all-tcl
46400 all-sid: maybe-all-libiberty
46401 all-sid: maybe-all-bfd
46402 all-sid: maybe-all-opcodes
46403 all-sid: maybe-all-tcl
46404 all-sid: maybe-all-tk
46405 install-sid: maybe-install-tcl
46406 install-sid: maybe-install-tk
46407 configure-sim: maybe-configure-intl
46408 all-sim: maybe-all-intl
46409 all-sim: maybe-all-libiberty
46410 all-sim: maybe-all-bfd
46411 all-sim: maybe-all-opcodes
46412 all-sim: maybe-all-readline
46413 all-sim: maybe-configure-gdb
46414 all-fastjar: maybe-all-zlib
46415 all-fastjar: maybe-all-build-texinfo
46416 all-fastjar: maybe-all-libiberty
46417 all-autoconf: maybe-all-m4
46418 all-autoconf: maybe-all-build-texinfo
46419 all-automake: maybe-all-m4
46420 all-automake: maybe-all-build-texinfo
46421 all-automake: maybe-all-autoconf
46422 all-bison: maybe-all-intl
46423 all-bison: maybe-all-build-texinfo
46424 all-diff: maybe-all-intl
46425 all-diff: maybe-all-build-texinfo
46426 all-fileutils: maybe-all-intl
46427 all-fileutils: maybe-all-build-texinfo
46428 all-flex: maybe-all-build-bison
46429 all-flex: maybe-all-build-byacc
46430 all-flex: maybe-all-intl
46431 all-flex: maybe-all-m4
46432 all-flex: maybe-all-build-texinfo
46433 all-gzip: maybe-all-intl
46434 all-gzip: maybe-all-zlib
46435 all-gzip: maybe-all-build-texinfo
46436 all-hello: maybe-all-intl
46437 all-hello: maybe-all-build-texinfo
46438 all-m4: maybe-all-intl
46439 all-m4: maybe-all-build-texinfo
46440 all-make: maybe-all-intl
46441 all-make: maybe-all-build-texinfo
46442 all-patch: maybe-all-build-texinfo
46443 all-make: maybe-all-build-texinfo
46444 all-prms: maybe-all-libiberty
46445 all-recode: maybe-all-build-texinfo
46446 all-sed: maybe-all-build-texinfo
46447 all-send-pr: maybe-all-prms
46448 all-tar: maybe-all-build-texinfo
46449 all-uudecode: maybe-all-build-texinfo
46450 configure-target-boehm-gc: maybe-configure-target-qthreads
46451 configure-target-fastjar: maybe-configure-target-zlib
46452 all-target-fastjar: maybe-all-target-zlib
46453 all-target-fastjar: maybe-all-target-libiberty
46454 configure-target-libjava: maybe-configure-target-zlib
46455 configure-target-libjava: maybe-configure-target-boehm-gc
46456 configure-target-libjava: maybe-configure-target-qthreads
46457 configure-target-libjava: maybe-configure-target-libffi
46458 all-target-libjava: maybe-all-fastjar
46459 all-target-libjava: maybe-all-target-zlib
46460 all-target-libjava: maybe-all-target-boehm-gc
46461 all-target-libjava: maybe-all-target-qthreads
46462 all-target-libjava: maybe-all-target-libffi
46463 configure-target-libobjc: maybe-configure-target-boehm-gc
46464 all-target-libobjc: maybe-all-target-libiberty
46465 all-target-libobjc: maybe-all-target-boehm-gc
46466 all-target-libstdc++-v3: maybe-all-target-libiberty
46467 all-target-libgloss: maybe-configure-target-newlib
46468 all-target-winsup: maybe-all-target-libiberty
46469 all-target-winsup: maybe-all-target-libtermcap
46472 # Dependencies for target modules on other target modules are
46473 # described by lang_env_dependencies; the defaults apply to anything
46474 # not mentioned there.
46477 @if gcc-bootstrap
46478 @endif gcc-bootstrap
46480 @if gcc-no-bootstrap
46481 configure-target-libstdc++-v3: maybe-all-target-libgcc
46482 configure-target-libmudflap: maybe-all-target-libgcc
46483 configure-target-libssp: maybe-all-target-libgcc
46484 configure-target-newlib: maybe-all-target-libgcc
46485 configure-target-libgfortran: maybe-all-target-libgcc
46486 configure-target-libobjc: maybe-all-target-libgcc
46487 configure-target-libtermcap: maybe-all-target-libgcc
46488 configure-target-winsup: maybe-all-target-libgcc
46489 configure-target-libgloss: maybe-all-target-libgcc
46490 configure-target-libiberty: maybe-all-target-libgcc
46491 configure-target-gperf: maybe-all-target-libgcc
46492 configure-target-examples: maybe-all-target-libgcc
46493 configure-target-libffi: maybe-all-target-libgcc
46494 configure-target-libjava: maybe-all-target-libgcc
46495 configure-target-zlib: maybe-all-target-libgcc
46496 configure-target-boehm-gc: maybe-all-target-libgcc
46497 configure-target-qthreads: maybe-all-target-libgcc
46498 configure-target-rda: maybe-all-target-libgcc
46499 configure-target-libada: maybe-all-target-libgcc
46500 configure-target-libgomp: maybe-all-target-libgcc
46501 @endif gcc-no-bootstrap
46504 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
46506 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
46508 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
46512 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
46514 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
46516 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
46518 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
46522 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
46523 configure-target-gperf: maybe-all-target-libstdc++-v3
46525 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
46527 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
46529 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
46530 configure-target-libjava: maybe-all-target-libstdc++-v3
46532 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
46534 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
46536 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
46538 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
46540 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
46542 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
46545 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
46546 GDB_TK = @GDB_TK@
46547 INSTALL_GDB_TK = @INSTALL_GDB_TK@
46548 configure-gdb: $(CONFIGURE_GDB_TK)
46549 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
46550 install-gdb: $(INSTALL_GDB_TK)
46552 # Serialization dependencies. Host configures don't work well in parallel to
46553 # each other, due to contention over config.cache. Target configures and
46554 # build configures are similar.
46555 @serialization_dependencies@
46557 # --------------------------------
46558 # Regenerating top level configury
46559 # --------------------------------
46561 # Rebuilding Makefile.in, using autogen.
46562 AUTOGEN = autogen
46563 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
46564 cd $(srcdir) && $(AUTOGEN) Makefile.def
46566 # Rebuilding Makefile.
46567 Makefile: $(srcdir)/Makefile.in config.status
46568 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
46570 config.status: configure
46571 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
46573 # Rebuilding configure.
46574 AUTOCONF = autoconf
46575 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4
46576 cd $(srcdir) && $(AUTOCONF)
46578 # ------------------------------
46579 # Special directives to GNU Make
46580 # ------------------------------
46582 # Don't pass command-line variables to submakes.
46583 .NOEXPORT:
46584 MAKEOVERRIDES=
46586 # end of Makefile.in