* configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
[binutils.git] / Makefile.in
blob432f03dd16ad521112d89f22a96402b3e6ad9405
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation
8 # This file is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 # -------------------------------
24 # Standard Autoconf-set variables
25 # -------------------------------
26 VPATH=@srcdir@
28 build_alias=@build_alias@
29 build=@build@
30 host_alias=@host_alias@
31 host=@host@
32 target_alias=@target_alias@
33 target=@target@
35 program_transform_name = @program_transform_name@
37 prefix = @prefix@
38 exec_prefix = @exec_prefix@
40 srcdir = @srcdir@
42 bindir = @bindir@
43 sbindir = @sbindir@
44 libexecdir = @libexecdir@
45 datadir = @datadir@
46 sysconfdir = @sysconfdir@
47 sharedstatedir = @sharedstatedir@
48 localstatedir = @localstatedir@
49 libdir = @libdir@
50 includedir = @includedir@
51 oldincludedir = @oldincludedir@
52 infodir = @infodir@
53 datarootdir = @datarootdir@
54 docdir = @docdir@
55 htmldir = @htmldir@
56 mandir = @mandir@
57 man1dir = $(mandir)/man1
58 man2dir = $(mandir)/man2
59 man3dir = $(mandir)/man3
60 man4dir = $(mandir)/man4
61 man5dir = $(mandir)/man5
62 man6dir = $(mandir)/man6
63 man7dir = $(mandir)/man7
64 man8dir = $(mandir)/man8
65 man9dir = $(mandir)/man9
67 INSTALL = @INSTALL@
68 INSTALL_PROGRAM = @INSTALL_PROGRAM@
69 INSTALL_SCRIPT = @INSTALL_SCRIPT@
70 INSTALL_DATA = @INSTALL_DATA@
71 LN = @LN@
72 LN_S = @LN_S@
74 # -------------------------------------------------
75 # Miscellaneous non-standard autoconf-set variables
76 # -------------------------------------------------
78 # The gcc driver likes to know the arguments it was configured with.
79 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
81 tooldir = @tooldir@
82 build_tooldir = @build_tooldir@
84 GDB_NLM_DEPS =
86 # This is the name of the environment variable used for the path to
87 # the libraries.
88 RPATH_ENVVAR = @RPATH_ENVVAR@
90 # Build programs are put under this directory.
91 BUILD_SUBDIR = @build_subdir@
92 # This is set by the configure script to the arguments to use when configuring
93 # directories built for the build system.
94 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
96 # This is the list of variables to export in the environment when
97 # configuring any subdirectory. It must also be exported whenever
98 # recursing into a build directory in case that directory's Makefile
99 # re-runs configure.
100 BASE_EXPORTS = \
101 FLEX="$(FLEX)"; export FLEX; \
102 LEX="$(LEX)"; export LEX; \
103 BISON="$(BISON)"; export BISON; \
104 YACC="$(YACC)"; export YACC; \
105 M4="$(M4)"; export M4; \
106 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
108 # This is the list of variables to export in the environment when
109 # configuring subdirectories for the build system.
110 BUILD_EXPORTS = \
111 $(BASE_EXPORTS) \
112 AR="$(AR_FOR_BUILD)"; export AR; \
113 AS="$(AS_FOR_BUILD)"; export AS; \
114 CC="$(CC_FOR_BUILD)"; export CC; \
115 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
116 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
117 CXX="$(CXX_FOR_BUILD)"; export CXX; \
118 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
119 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
120 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
121 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
122 LD="$(LD_FOR_BUILD)"; export LD; \
123 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
124 NM="$(NM_FOR_BUILD)"; export NM; \
125 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
126 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
128 # This is the list of directories to built for the host system.
129 SUBDIRS = @configdirs@
130 # This is set by the configure script to the arguments to use when configuring
131 # directories built for the host system.
132 HOST_CONFIGARGS = @host_configargs@
133 # Host programs are put under this directory, which is . except if building
134 # with srcdir=..
135 HOST_SUBDIR = @host_subdir@
136 # This is the list of variables to export in the environment when
137 # configuring subdirectories for the host system. We need to pass
138 # some to the GCC configure because of its hybrid host/target nature.
139 HOST_EXPORTS = \
140 $(BASE_EXPORTS) \
141 CC="$(CC)"; export CC; \
142 CFLAGS="$(CFLAGS)"; export CFLAGS; \
143 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
144 CXX="$(CXX)"; export CXX; \
145 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
146 AR="$(AR)"; export AR; \
147 AS="$(AS)"; export AS; \
148 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
149 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
150 LD="$(LD)"; export LD; \
151 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
152 NM="$(NM)"; export NM; \
153 RANLIB="$(RANLIB)"; export RANLIB; \
154 WINDRES="$(WINDRES)"; export WINDRES; \
155 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
156 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
157 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
158 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
159 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
160 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
161 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
162 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
163 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
164 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
165 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
166 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
167 @if gcc-bootstrap
168 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
169 @endif gcc-bootstrap
170 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
172 # Similar, for later GCC stages.
173 POSTSTAGE1_HOST_EXPORTS = \
174 $(HOST_EXPORTS) \
175 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
176 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
177 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
178 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
179 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
180 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
181 CFLAGS="$(BOOT_CFLAGS)"; export CFLAGS; \
182 LDFLAGS="$(BOOT_LDFLAGS)"; export LDFLAGS;
184 # Target libraries are put under this directory:
185 TARGET_SUBDIR = @target_subdir@
186 # This is set by the configure script to the arguments to use when configuring
187 # directories built for the target.
188 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
189 # This is the list of variables to export in the environment when
190 # configuring subdirectories for the host system.
191 BASE_TARGET_EXPORTS = \
192 $(BASE_EXPORTS) \
193 AR="$(AR_FOR_TARGET)"; export AR; \
194 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
195 CC="$(CC_FOR_TARGET)"; export CC; \
196 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
197 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
198 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
199 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
200 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
201 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
202 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
203 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
204 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
205 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
206 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
207 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
208 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
209 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
210 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
211 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
213 RAW_CXX_TARGET_EXPORTS = \
214 $(BASE_TARGET_EXPORTS) \
215 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
216 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
218 NORMAL_TARGET_EXPORTS = \
219 $(BASE_TARGET_EXPORTS) \
220 CXX="$(CXX_FOR_TARGET)"; export CXX;
222 # Where to find GMP
223 HOST_GMPLIBS = @gmplibs@
224 HOST_GMPINC = @gmpinc@
226 # ----------------------------------------------
227 # Programs producing files for the BUILD machine
228 # ----------------------------------------------
230 SHELL = @config_shell@
232 # pwd command to use. Allow user to override default by setting PWDCMD in
233 # the environment to account for automounters. The make variable must not
234 # be called PWDCMD, otherwise the value set here is passed to make
235 # subprocesses and overrides the setting from the user's environment.
236 # Don't use PWD since it is a common shell environment variable and we
237 # don't want to corrupt it.
238 PWD_COMMAND = $${PWDCMD-pwd}
240 # compilers to use to create programs which must be run in the build
241 # environment.
242 CC_FOR_BUILD = @CC_FOR_BUILD@
243 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
245 CXX_FOR_BUILD = $(CXX)
247 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
248 # here so that they can be overridden by Makefile fragments.
249 BUILD_PREFIX = @BUILD_PREFIX@
250 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
252 # Flags to pass to stage2 and later makes. They are defined
253 # here so that they can be overridden by Makefile fragments.
254 BOOT_CFLAGS= -g -O2
255 BOOT_LDFLAGS=
257 BISON = @BISON@
258 YACC = @YACC@
259 FLEX = @FLEX@
260 LEX = @LEX@
261 M4 = @M4@
262 MAKEINFO = @MAKEINFO@
263 EXPECT = @EXPECT@
264 RUNTEST = @RUNTEST@
266 # This just becomes part of the MAKEINFO definition passed down to
267 # sub-makes. It lets flags be given on the command line while still
268 # using the makeinfo from the object tree.
269 # (Default to avoid splitting info files by setting the threshold high.)
270 MAKEINFOFLAGS = --split-size=5000000
272 # ---------------------------------------------
273 # Programs producing files for the HOST machine
274 # ---------------------------------------------
276 AS = @AS@
277 AR = @AR@
278 AR_FLAGS = rc
279 CC = @CC@
280 CXX = @CXX@
281 DLLTOOL = @DLLTOOL@
282 LD = @LD@
283 LIPO = @LIPO@
284 NM = @NM@
285 OBJDUMP = @OBJDUMP@
286 RANLIB = @RANLIB@
287 STRIP = @STRIP@
288 WINDRES = @WINDRES@
290 CFLAGS = @CFLAGS@
291 LDFLAGS =
292 LIBCFLAGS = $(CFLAGS)
293 CXXFLAGS = @CXXFLAGS@
294 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
295 PICFLAG =
297 # -----------------------------------------------
298 # Programs producing files for the TARGET machine
299 # -----------------------------------------------
301 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
303 AR_FOR_TARGET=@AR_FOR_TARGET@
304 AS_FOR_TARGET=@AS_FOR_TARGET@
305 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
307 # If GCC_FOR_TARGET is not overriden on the command line, then this
308 # variable is passed down to the gcc Makefile, where it is used to
309 # build libgcc2.a. We define it here so that it can itself be
310 # overridden on the command line.
311 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
312 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
313 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
314 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
315 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
316 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
317 LD_FOR_TARGET=@LD_FOR_TARGET@
319 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
320 NM_FOR_TARGET=@NM_FOR_TARGET@
321 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
322 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
323 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
324 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
326 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
327 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
328 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
330 # During gcc bootstrap, if we use some random cc for stage1 then
331 # CFLAGS will be just -g. We want to ensure that TARGET libraries
332 # (which we know are built with gcc) are built with optimizations so
333 # prepend -O2 when setting CFLAGS_FOR_TARGET.
334 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
335 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
336 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
337 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
338 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
339 LDFLAGS_FOR_TARGET =
340 PICFLAG_FOR_TARGET =
342 # ------------------------------------
343 # Miscellaneous targets and flag lists
344 # ------------------------------------
346 # The first rule in the file had better be this one. Don't put any above it.
347 # This lives here to allow makefile fragments to contain dependencies.
348 all:
350 #### host and target specific makefile fragments come in here.
351 @target_makefile_frag@
352 @alphaieee_frag@
353 @ospace_frag@
354 @host_makefile_frag@
357 # This is the list of directories that may be needed in RPATH_ENVVAR
358 # so that prorgams built for the target machine work.
359 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
361 @if target-libstdc++-v3
362 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
363 @endif target-libstdc++-v3
365 @if target-libmudflap
366 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
367 @endif target-libmudflap
369 @if target-libssp
370 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
371 @endif target-libssp
373 @if target-libgomp
374 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
375 @endif target-libgomp
379 # This is the list of directories that may be needed in RPATH_ENVVAR
380 # so that programs built for the host machine work.
381 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
383 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
384 @if gcc
385 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
386 @endif gcc
389 @if bfd
390 HOST_LIB_PATH_bfd = \
391 $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
392 @endif bfd
394 @if opcodes
395 HOST_LIB_PATH_opcodes = \
396 $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
397 @endif opcodes
400 # Flags to pass down to all sub-makes.
401 BASE_FLAGS_TO_PASS = \
402 "DESTDIR=$(DESTDIR)" \
403 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
404 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
405 "bindir=$(bindir)" \
406 "datadir=$(datadir)" \
407 "exec_prefix=$(exec_prefix)" \
408 "includedir=$(includedir)" \
409 "datarootdir=$(datarootdir)" \
410 "docdir=$(docdir)" \
411 "infodir=$(infodir)" \
412 "htmldir=$(htmldir)" \
413 "libdir=$(libdir)" \
414 "libexecdir=$(libexecdir)" \
415 "lispdir=$(lispdir)" \
416 "localstatedir=$(localstatedir)" \
417 "mandir=$(mandir)" \
418 "oldincludedir=$(oldincludedir)" \
419 "prefix=$(prefix)" \
420 "sbindir=$(sbindir)" \
421 "sharedstatedir=$(sharedstatedir)" \
422 "sysconfdir=$(sysconfdir)" \
423 "tooldir=$(tooldir)" \
424 "build_tooldir=$(build_tooldir)" \
425 "target_alias=$(target_alias)" \
426 "BISON=$(BISON)" \
427 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
428 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
429 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
430 "EXPECT=$(EXPECT)" \
431 "FLEX=$(FLEX)" \
432 "INSTALL=$(INSTALL)" \
433 "INSTALL_DATA=$(INSTALL_DATA)" \
434 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
435 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
436 "LEX=$(LEX)" \
437 "M4=$(M4)" \
438 "MAKE=$(MAKE)" \
439 "RUNTEST=$(RUNTEST)" \
440 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
441 "SHELL=$(SHELL)" \
442 "YACC=$(YACC)" \
443 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
444 "AR_FLAGS=$(AR_FLAGS)" \
445 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
446 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
447 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
448 "CFLAGS=$(CFLAGS)" \
449 "CXXFLAGS=$(CXXFLAGS)" \
450 "LDFLAGS=$(LDFLAGS)" \
451 "LIBCFLAGS=$(LIBCFLAGS)" \
452 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
453 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
454 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
455 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
456 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
457 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
458 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
459 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
460 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
461 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
462 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
463 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
464 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
465 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
466 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
467 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
468 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
469 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
470 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
471 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
472 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
473 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
474 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
475 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
476 "LEAN=$(LEAN)" \
477 "CONFIG_SHELL=$(SHELL)" \
478 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
480 # We leave this in just in case, but it is not needed anymore.
481 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
483 # Flags to pass down to most sub-makes, in which we're building with
484 # the host environment.
485 EXTRA_HOST_FLAGS = \
486 'AR=$(AR)' \
487 'AS=$(AS)' \
488 'CC=$(CC)' \
489 'CXX=$(CXX)' \
490 'DLLTOOL=$(DLLTOOL)' \
491 'LD=$(LD)' \
492 'LIPO=$(LIPO)' \
493 'NM=$(NM)' \
494 'OBJDUMP=$(OBJDUMP)' \
495 'RANLIB=$(RANLIB)' \
496 'STRIP=$(STRIP)' \
497 'WINDRES=$(WINDRES)'
499 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
501 # Flags that are concerned with the location of the X11 include files
502 # and library files
504 # NOTE: until the top-level is getting the values via autoconf, it only
505 # causes problems to have this top-level Makefile overriding the autoconf-set
506 # values in child directories. Only variables that don't conflict with
507 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
509 X11_FLAGS_TO_PASS = \
510 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
511 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
513 # Flags to pass down to makes which are built with the target environment.
514 # The double $ decreases the length of the command line; those variables
515 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
516 # COMPILER_ prefixed variables are not passed down so we expand them here.
517 EXTRA_TARGET_FLAGS = \
518 'AR=$$(AR_FOR_TARGET)' \
519 'AS=$(COMPILER_AS_FOR_TARGET)' \
520 'CC=$$(CC_FOR_TARGET)' \
521 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
522 'CXX=$$(CXX_FOR_TARGET)' \
523 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
524 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
525 'LD=$(COMPILER_LD_FOR_TARGET)' \
526 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
527 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
528 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
529 'NM=$(COMPILER_NM_FOR_TARGET)' \
530 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
531 'RANLIB=$$(RANLIB_FOR_TARGET)' \
532 'WINDRES=$$(WINDRES_FOR_TARGET)'
534 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
536 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
537 # unfortunately needs the native compiler and the target ar and
538 # ranlib.
539 # If any variables are added here, they must be added to do-*, below.
540 # The BUILD_* variables are a special case, which are used for the gcc
541 # cross-building scheme.
542 EXTRA_GCC_FLAGS = \
543 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
544 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
545 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
546 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
547 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
548 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
550 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
552 .PHONY: configure-host
553 configure-host: \
554 maybe-configure-ash \
555 maybe-configure-autoconf \
556 maybe-configure-automake \
557 maybe-configure-bash \
558 maybe-configure-bfd \
559 maybe-configure-opcodes \
560 maybe-configure-binutils \
561 maybe-configure-bison \
562 maybe-configure-byacc \
563 maybe-configure-bzip2 \
564 maybe-configure-dejagnu \
565 maybe-configure-diff \
566 maybe-configure-dosutils \
567 maybe-configure-etc \
568 maybe-configure-fastjar \
569 maybe-configure-fileutils \
570 maybe-configure-findutils \
571 maybe-configure-find \
572 maybe-configure-fixincludes \
573 maybe-configure-flex \
574 maybe-configure-gas \
575 maybe-configure-gcc \
576 maybe-configure-gawk \
577 maybe-configure-gettext \
578 maybe-configure-gnuserv \
579 maybe-configure-gprof \
580 maybe-configure-gzip \
581 maybe-configure-hello \
582 maybe-configure-indent \
583 maybe-configure-intl \
584 maybe-configure-tcl \
585 maybe-configure-itcl \
586 maybe-configure-ld \
587 maybe-configure-libcpp \
588 maybe-configure-libdecnumber \
589 maybe-configure-libgui \
590 maybe-configure-libiberty \
591 maybe-configure-libtool \
592 maybe-configure-m4 \
593 maybe-configure-make \
594 maybe-configure-mmalloc \
595 maybe-configure-patch \
596 maybe-configure-perl \
597 maybe-configure-prms \
598 maybe-configure-rcs \
599 maybe-configure-readline \
600 maybe-configure-release \
601 maybe-configure-recode \
602 maybe-configure-sed \
603 maybe-configure-send-pr \
604 maybe-configure-shellutils \
605 maybe-configure-sid \
606 maybe-configure-sim \
607 maybe-configure-tar \
608 maybe-configure-texinfo \
609 maybe-configure-textutils \
610 maybe-configure-time \
611 maybe-configure-uudecode \
612 maybe-configure-wdiff \
613 maybe-configure-zip \
614 maybe-configure-zlib \
615 maybe-configure-gdb \
616 maybe-configure-expect \
617 maybe-configure-guile \
618 maybe-configure-tk \
619 maybe-configure-libtermcap \
620 maybe-configure-utils \
621 maybe-configure-gnattools
622 .PHONY: configure-target
623 configure-target: \
624 maybe-configure-target-libstdc++-v3 \
625 maybe-configure-target-libmudflap \
626 maybe-configure-target-libssp \
627 maybe-configure-target-newlib \
628 maybe-configure-target-libgfortran \
629 maybe-configure-target-libobjc \
630 maybe-configure-target-libtermcap \
631 maybe-configure-target-winsup \
632 maybe-configure-target-libgloss \
633 maybe-configure-target-libiberty \
634 maybe-configure-target-gperf \
635 maybe-configure-target-examples \
636 maybe-configure-target-libffi \
637 maybe-configure-target-libjava \
638 maybe-configure-target-zlib \
639 maybe-configure-target-boehm-gc \
640 maybe-configure-target-qthreads \
641 maybe-configure-target-rda \
642 maybe-configure-target-libada \
643 maybe-configure-target-libgomp
645 # The target built for a native non-bootstrap build.
646 .PHONY: all
647 all:
648 @if gcc-bootstrap
649 [ -f stage_final ] || echo stage3 > stage_final
650 @r=`${PWD_COMMAND}`; export r; \
651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
652 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
653 @endif gcc-bootstrap
654 @: $(MAKE); $(unstage)
655 @r=`${PWD_COMMAND}`; export r; \
656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
657 if [ -f stage_last ]; then \
658 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
659 else \
660 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
663 .PHONY: all-build
665 all-build: maybe-all-build-libiberty
666 all-build: maybe-all-build-bison
667 all-build: maybe-all-build-byacc
668 all-build: maybe-all-build-flex
669 all-build: maybe-all-build-m4
670 all-build: maybe-all-build-texinfo
671 all-build: maybe-all-build-fixincludes
673 .PHONY: all-host
675 all-host: maybe-all-ash
676 all-host: maybe-all-autoconf
677 all-host: maybe-all-automake
678 all-host: maybe-all-bash
679 @if bfd-no-bootstrap
680 all-host: maybe-all-bfd
681 @endif bfd-no-bootstrap
682 @if opcodes-no-bootstrap
683 all-host: maybe-all-opcodes
684 @endif opcodes-no-bootstrap
685 @if binutils-no-bootstrap
686 all-host: maybe-all-binutils
687 @endif binutils-no-bootstrap
688 all-host: maybe-all-bison
689 all-host: maybe-all-byacc
690 all-host: maybe-all-bzip2
691 all-host: maybe-all-dejagnu
692 all-host: maybe-all-diff
693 all-host: maybe-all-dosutils
694 all-host: maybe-all-etc
695 all-host: maybe-all-fastjar
696 all-host: maybe-all-fileutils
697 all-host: maybe-all-findutils
698 all-host: maybe-all-find
699 all-host: maybe-all-fixincludes
700 all-host: maybe-all-flex
701 @if gas-no-bootstrap
702 all-host: maybe-all-gas
703 @endif gas-no-bootstrap
704 @if gcc-no-bootstrap
705 all-host: maybe-all-gcc
706 @endif gcc-no-bootstrap
707 all-host: maybe-all-gawk
708 all-host: maybe-all-gettext
709 all-host: maybe-all-gnuserv
710 all-host: maybe-all-gprof
711 all-host: maybe-all-gzip
712 all-host: maybe-all-hello
713 all-host: maybe-all-indent
714 @if intl-no-bootstrap
715 all-host: maybe-all-intl
716 @endif intl-no-bootstrap
717 all-host: maybe-all-tcl
718 all-host: maybe-all-itcl
719 @if ld-no-bootstrap
720 all-host: maybe-all-ld
721 @endif ld-no-bootstrap
722 @if libcpp-no-bootstrap
723 all-host: maybe-all-libcpp
724 @endif libcpp-no-bootstrap
725 @if libdecnumber-no-bootstrap
726 all-host: maybe-all-libdecnumber
727 @endif libdecnumber-no-bootstrap
728 all-host: maybe-all-libgui
729 @if libiberty-no-bootstrap
730 all-host: maybe-all-libiberty
731 @endif libiberty-no-bootstrap
732 all-host: maybe-all-libtool
733 all-host: maybe-all-m4
734 all-host: maybe-all-make
735 all-host: maybe-all-mmalloc
736 all-host: maybe-all-patch
737 all-host: maybe-all-perl
738 all-host: maybe-all-prms
739 all-host: maybe-all-rcs
740 all-host: maybe-all-readline
741 all-host: maybe-all-release
742 all-host: maybe-all-recode
743 all-host: maybe-all-sed
744 all-host: maybe-all-send-pr
745 all-host: maybe-all-shellutils
746 all-host: maybe-all-sid
747 all-host: maybe-all-sim
748 all-host: maybe-all-tar
749 all-host: maybe-all-texinfo
750 all-host: maybe-all-textutils
751 all-host: maybe-all-time
752 all-host: maybe-all-uudecode
753 all-host: maybe-all-wdiff
754 all-host: maybe-all-zip
755 @if zlib-no-bootstrap
756 all-host: maybe-all-zlib
757 @endif zlib-no-bootstrap
758 all-host: maybe-all-gdb
759 all-host: maybe-all-expect
760 all-host: maybe-all-guile
761 all-host: maybe-all-tk
762 all-host: maybe-all-libtermcap
763 all-host: maybe-all-utils
764 all-host: maybe-all-gnattools
766 .PHONY: all-target
768 all-target: maybe-all-target-libstdc++-v3
769 all-target: maybe-all-target-libmudflap
770 all-target: maybe-all-target-libssp
771 all-target: maybe-all-target-newlib
772 all-target: maybe-all-target-libgfortran
773 all-target: maybe-all-target-libobjc
774 all-target: maybe-all-target-libtermcap
775 all-target: maybe-all-target-winsup
776 all-target: maybe-all-target-libgloss
777 all-target: maybe-all-target-libiberty
778 all-target: maybe-all-target-gperf
779 all-target: maybe-all-target-examples
780 all-target: maybe-all-target-libffi
781 all-target: maybe-all-target-libjava
782 all-target: maybe-all-target-zlib
783 all-target: maybe-all-target-boehm-gc
784 all-target: maybe-all-target-qthreads
785 all-target: maybe-all-target-rda
786 all-target: maybe-all-target-libada
787 all-target: maybe-all-target-libgomp
789 # Do a target for all the subdirectories. A ``make do-X'' will do a
790 # ``make X'' in all subdirectories (because, in general, there is a
791 # dependency (below) of X upon do-X, a ``make X'' will also do this,
792 # but it may do additional work as well).
794 .PHONY: do-info
795 do-info:
796 @: $(MAKE); $(unstage)
797 @r=`${PWD_COMMAND}`; export r; \
798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
799 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
800 info-target
803 .PHONY: info-host
805 info-host: maybe-info-ash
806 info-host: maybe-info-autoconf
807 info-host: maybe-info-automake
808 info-host: maybe-info-bash
809 info-host: maybe-info-bfd
810 info-host: maybe-info-opcodes
811 info-host: maybe-info-binutils
812 info-host: maybe-info-bison
813 info-host: maybe-info-byacc
814 info-host: maybe-info-bzip2
815 info-host: maybe-info-dejagnu
816 info-host: maybe-info-diff
817 info-host: maybe-info-dosutils
818 info-host: maybe-info-etc
819 info-host: maybe-info-fastjar
820 info-host: maybe-info-fileutils
821 info-host: maybe-info-findutils
822 info-host: maybe-info-find
823 info-host: maybe-info-fixincludes
824 info-host: maybe-info-flex
825 info-host: maybe-info-gas
826 info-host: maybe-info-gcc
827 info-host: maybe-info-gawk
828 info-host: maybe-info-gettext
829 info-host: maybe-info-gnuserv
830 info-host: maybe-info-gprof
831 info-host: maybe-info-gzip
832 info-host: maybe-info-hello
833 info-host: maybe-info-indent
834 info-host: maybe-info-intl
835 info-host: maybe-info-tcl
836 info-host: maybe-info-itcl
837 info-host: maybe-info-ld
838 info-host: maybe-info-libcpp
839 info-host: maybe-info-libdecnumber
840 info-host: maybe-info-libgui
841 info-host: maybe-info-libiberty
842 info-host: maybe-info-libtool
843 info-host: maybe-info-m4
844 info-host: maybe-info-make
845 info-host: maybe-info-mmalloc
846 info-host: maybe-info-patch
847 info-host: maybe-info-perl
848 info-host: maybe-info-prms
849 info-host: maybe-info-rcs
850 info-host: maybe-info-readline
851 info-host: maybe-info-release
852 info-host: maybe-info-recode
853 info-host: maybe-info-sed
854 info-host: maybe-info-send-pr
855 info-host: maybe-info-shellutils
856 info-host: maybe-info-sid
857 info-host: maybe-info-sim
858 info-host: maybe-info-tar
859 info-host: maybe-info-texinfo
860 info-host: maybe-info-textutils
861 info-host: maybe-info-time
862 info-host: maybe-info-uudecode
863 info-host: maybe-info-wdiff
864 info-host: maybe-info-zip
865 info-host: maybe-info-zlib
866 info-host: maybe-info-gdb
867 info-host: maybe-info-expect
868 info-host: maybe-info-guile
869 info-host: maybe-info-tk
870 info-host: maybe-info-libtermcap
871 info-host: maybe-info-utils
872 info-host: maybe-info-gnattools
874 .PHONY: info-target
876 info-target: maybe-info-target-libstdc++-v3
877 info-target: maybe-info-target-libmudflap
878 info-target: maybe-info-target-libssp
879 info-target: maybe-info-target-newlib
880 info-target: maybe-info-target-libgfortran
881 info-target: maybe-info-target-libobjc
882 info-target: maybe-info-target-libtermcap
883 info-target: maybe-info-target-winsup
884 info-target: maybe-info-target-libgloss
885 info-target: maybe-info-target-libiberty
886 info-target: maybe-info-target-gperf
887 info-target: maybe-info-target-examples
888 info-target: maybe-info-target-libffi
889 info-target: maybe-info-target-libjava
890 info-target: maybe-info-target-zlib
891 info-target: maybe-info-target-boehm-gc
892 info-target: maybe-info-target-qthreads
893 info-target: maybe-info-target-rda
894 info-target: maybe-info-target-libada
895 info-target: maybe-info-target-libgomp
897 .PHONY: do-dvi
898 do-dvi:
899 @: $(MAKE); $(unstage)
900 @r=`${PWD_COMMAND}`; export r; \
901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
902 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
903 dvi-target
906 .PHONY: dvi-host
908 dvi-host: maybe-dvi-ash
909 dvi-host: maybe-dvi-autoconf
910 dvi-host: maybe-dvi-automake
911 dvi-host: maybe-dvi-bash
912 dvi-host: maybe-dvi-bfd
913 dvi-host: maybe-dvi-opcodes
914 dvi-host: maybe-dvi-binutils
915 dvi-host: maybe-dvi-bison
916 dvi-host: maybe-dvi-byacc
917 dvi-host: maybe-dvi-bzip2
918 dvi-host: maybe-dvi-dejagnu
919 dvi-host: maybe-dvi-diff
920 dvi-host: maybe-dvi-dosutils
921 dvi-host: maybe-dvi-etc
922 dvi-host: maybe-dvi-fastjar
923 dvi-host: maybe-dvi-fileutils
924 dvi-host: maybe-dvi-findutils
925 dvi-host: maybe-dvi-find
926 dvi-host: maybe-dvi-fixincludes
927 dvi-host: maybe-dvi-flex
928 dvi-host: maybe-dvi-gas
929 dvi-host: maybe-dvi-gcc
930 dvi-host: maybe-dvi-gawk
931 dvi-host: maybe-dvi-gettext
932 dvi-host: maybe-dvi-gnuserv
933 dvi-host: maybe-dvi-gprof
934 dvi-host: maybe-dvi-gzip
935 dvi-host: maybe-dvi-hello
936 dvi-host: maybe-dvi-indent
937 dvi-host: maybe-dvi-intl
938 dvi-host: maybe-dvi-tcl
939 dvi-host: maybe-dvi-itcl
940 dvi-host: maybe-dvi-ld
941 dvi-host: maybe-dvi-libcpp
942 dvi-host: maybe-dvi-libdecnumber
943 dvi-host: maybe-dvi-libgui
944 dvi-host: maybe-dvi-libiberty
945 dvi-host: maybe-dvi-libtool
946 dvi-host: maybe-dvi-m4
947 dvi-host: maybe-dvi-make
948 dvi-host: maybe-dvi-mmalloc
949 dvi-host: maybe-dvi-patch
950 dvi-host: maybe-dvi-perl
951 dvi-host: maybe-dvi-prms
952 dvi-host: maybe-dvi-rcs
953 dvi-host: maybe-dvi-readline
954 dvi-host: maybe-dvi-release
955 dvi-host: maybe-dvi-recode
956 dvi-host: maybe-dvi-sed
957 dvi-host: maybe-dvi-send-pr
958 dvi-host: maybe-dvi-shellutils
959 dvi-host: maybe-dvi-sid
960 dvi-host: maybe-dvi-sim
961 dvi-host: maybe-dvi-tar
962 dvi-host: maybe-dvi-texinfo
963 dvi-host: maybe-dvi-textutils
964 dvi-host: maybe-dvi-time
965 dvi-host: maybe-dvi-uudecode
966 dvi-host: maybe-dvi-wdiff
967 dvi-host: maybe-dvi-zip
968 dvi-host: maybe-dvi-zlib
969 dvi-host: maybe-dvi-gdb
970 dvi-host: maybe-dvi-expect
971 dvi-host: maybe-dvi-guile
972 dvi-host: maybe-dvi-tk
973 dvi-host: maybe-dvi-libtermcap
974 dvi-host: maybe-dvi-utils
975 dvi-host: maybe-dvi-gnattools
977 .PHONY: dvi-target
979 dvi-target: maybe-dvi-target-libstdc++-v3
980 dvi-target: maybe-dvi-target-libmudflap
981 dvi-target: maybe-dvi-target-libssp
982 dvi-target: maybe-dvi-target-newlib
983 dvi-target: maybe-dvi-target-libgfortran
984 dvi-target: maybe-dvi-target-libobjc
985 dvi-target: maybe-dvi-target-libtermcap
986 dvi-target: maybe-dvi-target-winsup
987 dvi-target: maybe-dvi-target-libgloss
988 dvi-target: maybe-dvi-target-libiberty
989 dvi-target: maybe-dvi-target-gperf
990 dvi-target: maybe-dvi-target-examples
991 dvi-target: maybe-dvi-target-libffi
992 dvi-target: maybe-dvi-target-libjava
993 dvi-target: maybe-dvi-target-zlib
994 dvi-target: maybe-dvi-target-boehm-gc
995 dvi-target: maybe-dvi-target-qthreads
996 dvi-target: maybe-dvi-target-rda
997 dvi-target: maybe-dvi-target-libada
998 dvi-target: maybe-dvi-target-libgomp
1000 .PHONY: do-html
1001 do-html:
1002 @: $(MAKE); $(unstage)
1003 @r=`${PWD_COMMAND}`; export r; \
1004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1005 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1006 html-target
1009 .PHONY: html-host
1011 html-host: maybe-html-ash
1012 html-host: maybe-html-autoconf
1013 html-host: maybe-html-automake
1014 html-host: maybe-html-bash
1015 html-host: maybe-html-bfd
1016 html-host: maybe-html-opcodes
1017 html-host: maybe-html-binutils
1018 html-host: maybe-html-bison
1019 html-host: maybe-html-byacc
1020 html-host: maybe-html-bzip2
1021 html-host: maybe-html-dejagnu
1022 html-host: maybe-html-diff
1023 html-host: maybe-html-dosutils
1024 html-host: maybe-html-etc
1025 html-host: maybe-html-fastjar
1026 html-host: maybe-html-fileutils
1027 html-host: maybe-html-findutils
1028 html-host: maybe-html-find
1029 html-host: maybe-html-fixincludes
1030 html-host: maybe-html-flex
1031 html-host: maybe-html-gas
1032 html-host: maybe-html-gcc
1033 html-host: maybe-html-gawk
1034 html-host: maybe-html-gettext
1035 html-host: maybe-html-gnuserv
1036 html-host: maybe-html-gprof
1037 html-host: maybe-html-gzip
1038 html-host: maybe-html-hello
1039 html-host: maybe-html-indent
1040 html-host: maybe-html-intl
1041 html-host: maybe-html-tcl
1042 html-host: maybe-html-itcl
1043 html-host: maybe-html-ld
1044 html-host: maybe-html-libcpp
1045 html-host: maybe-html-libdecnumber
1046 html-host: maybe-html-libgui
1047 html-host: maybe-html-libiberty
1048 html-host: maybe-html-libtool
1049 html-host: maybe-html-m4
1050 html-host: maybe-html-make
1051 html-host: maybe-html-mmalloc
1052 html-host: maybe-html-patch
1053 html-host: maybe-html-perl
1054 html-host: maybe-html-prms
1055 html-host: maybe-html-rcs
1056 html-host: maybe-html-readline
1057 html-host: maybe-html-release
1058 html-host: maybe-html-recode
1059 html-host: maybe-html-sed
1060 html-host: maybe-html-send-pr
1061 html-host: maybe-html-shellutils
1062 html-host: maybe-html-sid
1063 html-host: maybe-html-sim
1064 html-host: maybe-html-tar
1065 html-host: maybe-html-texinfo
1066 html-host: maybe-html-textutils
1067 html-host: maybe-html-time
1068 html-host: maybe-html-uudecode
1069 html-host: maybe-html-wdiff
1070 html-host: maybe-html-zip
1071 html-host: maybe-html-zlib
1072 html-host: maybe-html-gdb
1073 html-host: maybe-html-expect
1074 html-host: maybe-html-guile
1075 html-host: maybe-html-tk
1076 html-host: maybe-html-libtermcap
1077 html-host: maybe-html-utils
1078 html-host: maybe-html-gnattools
1080 .PHONY: html-target
1082 html-target: maybe-html-target-libstdc++-v3
1083 html-target: maybe-html-target-libmudflap
1084 html-target: maybe-html-target-libssp
1085 html-target: maybe-html-target-newlib
1086 html-target: maybe-html-target-libgfortran
1087 html-target: maybe-html-target-libobjc
1088 html-target: maybe-html-target-libtermcap
1089 html-target: maybe-html-target-winsup
1090 html-target: maybe-html-target-libgloss
1091 html-target: maybe-html-target-libiberty
1092 html-target: maybe-html-target-gperf
1093 html-target: maybe-html-target-examples
1094 html-target: maybe-html-target-libffi
1095 html-target: maybe-html-target-libjava
1096 html-target: maybe-html-target-zlib
1097 html-target: maybe-html-target-boehm-gc
1098 html-target: maybe-html-target-qthreads
1099 html-target: maybe-html-target-rda
1100 html-target: maybe-html-target-libada
1101 html-target: maybe-html-target-libgomp
1103 .PHONY: do-TAGS
1104 do-TAGS:
1105 @: $(MAKE); $(unstage)
1106 @r=`${PWD_COMMAND}`; export r; \
1107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1108 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1109 TAGS-target
1112 .PHONY: TAGS-host
1114 TAGS-host: maybe-TAGS-ash
1115 TAGS-host: maybe-TAGS-autoconf
1116 TAGS-host: maybe-TAGS-automake
1117 TAGS-host: maybe-TAGS-bash
1118 TAGS-host: maybe-TAGS-bfd
1119 TAGS-host: maybe-TAGS-opcodes
1120 TAGS-host: maybe-TAGS-binutils
1121 TAGS-host: maybe-TAGS-bison
1122 TAGS-host: maybe-TAGS-byacc
1123 TAGS-host: maybe-TAGS-bzip2
1124 TAGS-host: maybe-TAGS-dejagnu
1125 TAGS-host: maybe-TAGS-diff
1126 TAGS-host: maybe-TAGS-dosutils
1127 TAGS-host: maybe-TAGS-etc
1128 TAGS-host: maybe-TAGS-fastjar
1129 TAGS-host: maybe-TAGS-fileutils
1130 TAGS-host: maybe-TAGS-findutils
1131 TAGS-host: maybe-TAGS-find
1132 TAGS-host: maybe-TAGS-fixincludes
1133 TAGS-host: maybe-TAGS-flex
1134 TAGS-host: maybe-TAGS-gas
1135 TAGS-host: maybe-TAGS-gcc
1136 TAGS-host: maybe-TAGS-gawk
1137 TAGS-host: maybe-TAGS-gettext
1138 TAGS-host: maybe-TAGS-gnuserv
1139 TAGS-host: maybe-TAGS-gprof
1140 TAGS-host: maybe-TAGS-gzip
1141 TAGS-host: maybe-TAGS-hello
1142 TAGS-host: maybe-TAGS-indent
1143 TAGS-host: maybe-TAGS-intl
1144 TAGS-host: maybe-TAGS-tcl
1145 TAGS-host: maybe-TAGS-itcl
1146 TAGS-host: maybe-TAGS-ld
1147 TAGS-host: maybe-TAGS-libcpp
1148 TAGS-host: maybe-TAGS-libdecnumber
1149 TAGS-host: maybe-TAGS-libgui
1150 TAGS-host: maybe-TAGS-libiberty
1151 TAGS-host: maybe-TAGS-libtool
1152 TAGS-host: maybe-TAGS-m4
1153 TAGS-host: maybe-TAGS-make
1154 TAGS-host: maybe-TAGS-mmalloc
1155 TAGS-host: maybe-TAGS-patch
1156 TAGS-host: maybe-TAGS-perl
1157 TAGS-host: maybe-TAGS-prms
1158 TAGS-host: maybe-TAGS-rcs
1159 TAGS-host: maybe-TAGS-readline
1160 TAGS-host: maybe-TAGS-release
1161 TAGS-host: maybe-TAGS-recode
1162 TAGS-host: maybe-TAGS-sed
1163 TAGS-host: maybe-TAGS-send-pr
1164 TAGS-host: maybe-TAGS-shellutils
1165 TAGS-host: maybe-TAGS-sid
1166 TAGS-host: maybe-TAGS-sim
1167 TAGS-host: maybe-TAGS-tar
1168 TAGS-host: maybe-TAGS-texinfo
1169 TAGS-host: maybe-TAGS-textutils
1170 TAGS-host: maybe-TAGS-time
1171 TAGS-host: maybe-TAGS-uudecode
1172 TAGS-host: maybe-TAGS-wdiff
1173 TAGS-host: maybe-TAGS-zip
1174 TAGS-host: maybe-TAGS-zlib
1175 TAGS-host: maybe-TAGS-gdb
1176 TAGS-host: maybe-TAGS-expect
1177 TAGS-host: maybe-TAGS-guile
1178 TAGS-host: maybe-TAGS-tk
1179 TAGS-host: maybe-TAGS-libtermcap
1180 TAGS-host: maybe-TAGS-utils
1181 TAGS-host: maybe-TAGS-gnattools
1183 .PHONY: TAGS-target
1185 TAGS-target: maybe-TAGS-target-libstdc++-v3
1186 TAGS-target: maybe-TAGS-target-libmudflap
1187 TAGS-target: maybe-TAGS-target-libssp
1188 TAGS-target: maybe-TAGS-target-newlib
1189 TAGS-target: maybe-TAGS-target-libgfortran
1190 TAGS-target: maybe-TAGS-target-libobjc
1191 TAGS-target: maybe-TAGS-target-libtermcap
1192 TAGS-target: maybe-TAGS-target-winsup
1193 TAGS-target: maybe-TAGS-target-libgloss
1194 TAGS-target: maybe-TAGS-target-libiberty
1195 TAGS-target: maybe-TAGS-target-gperf
1196 TAGS-target: maybe-TAGS-target-examples
1197 TAGS-target: maybe-TAGS-target-libffi
1198 TAGS-target: maybe-TAGS-target-libjava
1199 TAGS-target: maybe-TAGS-target-zlib
1200 TAGS-target: maybe-TAGS-target-boehm-gc
1201 TAGS-target: maybe-TAGS-target-qthreads
1202 TAGS-target: maybe-TAGS-target-rda
1203 TAGS-target: maybe-TAGS-target-libada
1204 TAGS-target: maybe-TAGS-target-libgomp
1206 .PHONY: do-install-info
1207 do-install-info:
1208 @: $(MAKE); $(unstage)
1209 @r=`${PWD_COMMAND}`; export r; \
1210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1211 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1212 install-info-target
1215 .PHONY: install-info-host
1217 install-info-host: maybe-install-info-ash
1218 install-info-host: maybe-install-info-autoconf
1219 install-info-host: maybe-install-info-automake
1220 install-info-host: maybe-install-info-bash
1221 install-info-host: maybe-install-info-bfd
1222 install-info-host: maybe-install-info-opcodes
1223 install-info-host: maybe-install-info-binutils
1224 install-info-host: maybe-install-info-bison
1225 install-info-host: maybe-install-info-byacc
1226 install-info-host: maybe-install-info-bzip2
1227 install-info-host: maybe-install-info-dejagnu
1228 install-info-host: maybe-install-info-diff
1229 install-info-host: maybe-install-info-dosutils
1230 install-info-host: maybe-install-info-etc
1231 install-info-host: maybe-install-info-fastjar
1232 install-info-host: maybe-install-info-fileutils
1233 install-info-host: maybe-install-info-findutils
1234 install-info-host: maybe-install-info-find
1235 install-info-host: maybe-install-info-fixincludes
1236 install-info-host: maybe-install-info-flex
1237 install-info-host: maybe-install-info-gas
1238 install-info-host: maybe-install-info-gcc
1239 install-info-host: maybe-install-info-gawk
1240 install-info-host: maybe-install-info-gettext
1241 install-info-host: maybe-install-info-gnuserv
1242 install-info-host: maybe-install-info-gprof
1243 install-info-host: maybe-install-info-gzip
1244 install-info-host: maybe-install-info-hello
1245 install-info-host: maybe-install-info-indent
1246 install-info-host: maybe-install-info-intl
1247 install-info-host: maybe-install-info-tcl
1248 install-info-host: maybe-install-info-itcl
1249 install-info-host: maybe-install-info-ld
1250 install-info-host: maybe-install-info-libcpp
1251 install-info-host: maybe-install-info-libdecnumber
1252 install-info-host: maybe-install-info-libgui
1253 install-info-host: maybe-install-info-libiberty
1254 install-info-host: maybe-install-info-libtool
1255 install-info-host: maybe-install-info-m4
1256 install-info-host: maybe-install-info-make
1257 install-info-host: maybe-install-info-mmalloc
1258 install-info-host: maybe-install-info-patch
1259 install-info-host: maybe-install-info-perl
1260 install-info-host: maybe-install-info-prms
1261 install-info-host: maybe-install-info-rcs
1262 install-info-host: maybe-install-info-readline
1263 install-info-host: maybe-install-info-release
1264 install-info-host: maybe-install-info-recode
1265 install-info-host: maybe-install-info-sed
1266 install-info-host: maybe-install-info-send-pr
1267 install-info-host: maybe-install-info-shellutils
1268 install-info-host: maybe-install-info-sid
1269 install-info-host: maybe-install-info-sim
1270 install-info-host: maybe-install-info-tar
1271 install-info-host: maybe-install-info-texinfo
1272 install-info-host: maybe-install-info-textutils
1273 install-info-host: maybe-install-info-time
1274 install-info-host: maybe-install-info-uudecode
1275 install-info-host: maybe-install-info-wdiff
1276 install-info-host: maybe-install-info-zip
1277 install-info-host: maybe-install-info-zlib
1278 install-info-host: maybe-install-info-gdb
1279 install-info-host: maybe-install-info-expect
1280 install-info-host: maybe-install-info-guile
1281 install-info-host: maybe-install-info-tk
1282 install-info-host: maybe-install-info-libtermcap
1283 install-info-host: maybe-install-info-utils
1284 install-info-host: maybe-install-info-gnattools
1286 .PHONY: install-info-target
1288 install-info-target: maybe-install-info-target-libstdc++-v3
1289 install-info-target: maybe-install-info-target-libmudflap
1290 install-info-target: maybe-install-info-target-libssp
1291 install-info-target: maybe-install-info-target-newlib
1292 install-info-target: maybe-install-info-target-libgfortran
1293 install-info-target: maybe-install-info-target-libobjc
1294 install-info-target: maybe-install-info-target-libtermcap
1295 install-info-target: maybe-install-info-target-winsup
1296 install-info-target: maybe-install-info-target-libgloss
1297 install-info-target: maybe-install-info-target-libiberty
1298 install-info-target: maybe-install-info-target-gperf
1299 install-info-target: maybe-install-info-target-examples
1300 install-info-target: maybe-install-info-target-libffi
1301 install-info-target: maybe-install-info-target-libjava
1302 install-info-target: maybe-install-info-target-zlib
1303 install-info-target: maybe-install-info-target-boehm-gc
1304 install-info-target: maybe-install-info-target-qthreads
1305 install-info-target: maybe-install-info-target-rda
1306 install-info-target: maybe-install-info-target-libada
1307 install-info-target: maybe-install-info-target-libgomp
1309 .PHONY: do-install-html
1310 do-install-html:
1311 @: $(MAKE); $(unstage)
1312 @r=`${PWD_COMMAND}`; export r; \
1313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1314 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1315 install-html-target
1318 .PHONY: install-html-host
1320 install-html-host: maybe-install-html-ash
1321 install-html-host: maybe-install-html-autoconf
1322 install-html-host: maybe-install-html-automake
1323 install-html-host: maybe-install-html-bash
1324 install-html-host: maybe-install-html-bfd
1325 install-html-host: maybe-install-html-opcodes
1326 install-html-host: maybe-install-html-binutils
1327 install-html-host: maybe-install-html-bison
1328 install-html-host: maybe-install-html-byacc
1329 install-html-host: maybe-install-html-bzip2
1330 install-html-host: maybe-install-html-dejagnu
1331 install-html-host: maybe-install-html-diff
1332 install-html-host: maybe-install-html-dosutils
1333 install-html-host: maybe-install-html-etc
1334 install-html-host: maybe-install-html-fastjar
1335 install-html-host: maybe-install-html-fileutils
1336 install-html-host: maybe-install-html-findutils
1337 install-html-host: maybe-install-html-find
1338 install-html-host: maybe-install-html-fixincludes
1339 install-html-host: maybe-install-html-flex
1340 install-html-host: maybe-install-html-gas
1341 install-html-host: maybe-install-html-gcc
1342 install-html-host: maybe-install-html-gawk
1343 install-html-host: maybe-install-html-gettext
1344 install-html-host: maybe-install-html-gnuserv
1345 install-html-host: maybe-install-html-gprof
1346 install-html-host: maybe-install-html-gzip
1347 install-html-host: maybe-install-html-hello
1348 install-html-host: maybe-install-html-indent
1349 install-html-host: maybe-install-html-intl
1350 install-html-host: maybe-install-html-tcl
1351 install-html-host: maybe-install-html-itcl
1352 install-html-host: maybe-install-html-ld
1353 install-html-host: maybe-install-html-libcpp
1354 install-html-host: maybe-install-html-libdecnumber
1355 install-html-host: maybe-install-html-libgui
1356 install-html-host: maybe-install-html-libiberty
1357 install-html-host: maybe-install-html-libtool
1358 install-html-host: maybe-install-html-m4
1359 install-html-host: maybe-install-html-make
1360 install-html-host: maybe-install-html-mmalloc
1361 install-html-host: maybe-install-html-patch
1362 install-html-host: maybe-install-html-perl
1363 install-html-host: maybe-install-html-prms
1364 install-html-host: maybe-install-html-rcs
1365 install-html-host: maybe-install-html-readline
1366 install-html-host: maybe-install-html-release
1367 install-html-host: maybe-install-html-recode
1368 install-html-host: maybe-install-html-sed
1369 install-html-host: maybe-install-html-send-pr
1370 install-html-host: maybe-install-html-shellutils
1371 install-html-host: maybe-install-html-sid
1372 install-html-host: maybe-install-html-sim
1373 install-html-host: maybe-install-html-tar
1374 install-html-host: maybe-install-html-texinfo
1375 install-html-host: maybe-install-html-textutils
1376 install-html-host: maybe-install-html-time
1377 install-html-host: maybe-install-html-uudecode
1378 install-html-host: maybe-install-html-wdiff
1379 install-html-host: maybe-install-html-zip
1380 install-html-host: maybe-install-html-zlib
1381 install-html-host: maybe-install-html-gdb
1382 install-html-host: maybe-install-html-expect
1383 install-html-host: maybe-install-html-guile
1384 install-html-host: maybe-install-html-tk
1385 install-html-host: maybe-install-html-libtermcap
1386 install-html-host: maybe-install-html-utils
1387 install-html-host: maybe-install-html-gnattools
1389 .PHONY: install-html-target
1391 install-html-target: maybe-install-html-target-libstdc++-v3
1392 install-html-target: maybe-install-html-target-libmudflap
1393 install-html-target: maybe-install-html-target-libssp
1394 install-html-target: maybe-install-html-target-newlib
1395 install-html-target: maybe-install-html-target-libgfortran
1396 install-html-target: maybe-install-html-target-libobjc
1397 install-html-target: maybe-install-html-target-libtermcap
1398 install-html-target: maybe-install-html-target-winsup
1399 install-html-target: maybe-install-html-target-libgloss
1400 install-html-target: maybe-install-html-target-libiberty
1401 install-html-target: maybe-install-html-target-gperf
1402 install-html-target: maybe-install-html-target-examples
1403 install-html-target: maybe-install-html-target-libffi
1404 install-html-target: maybe-install-html-target-libjava
1405 install-html-target: maybe-install-html-target-zlib
1406 install-html-target: maybe-install-html-target-boehm-gc
1407 install-html-target: maybe-install-html-target-qthreads
1408 install-html-target: maybe-install-html-target-rda
1409 install-html-target: maybe-install-html-target-libada
1410 install-html-target: maybe-install-html-target-libgomp
1412 .PHONY: do-installcheck
1413 do-installcheck:
1414 @: $(MAKE); $(unstage)
1415 @r=`${PWD_COMMAND}`; export r; \
1416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1417 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1418 installcheck-target
1421 .PHONY: installcheck-host
1423 installcheck-host: maybe-installcheck-ash
1424 installcheck-host: maybe-installcheck-autoconf
1425 installcheck-host: maybe-installcheck-automake
1426 installcheck-host: maybe-installcheck-bash
1427 installcheck-host: maybe-installcheck-bfd
1428 installcheck-host: maybe-installcheck-opcodes
1429 installcheck-host: maybe-installcheck-binutils
1430 installcheck-host: maybe-installcheck-bison
1431 installcheck-host: maybe-installcheck-byacc
1432 installcheck-host: maybe-installcheck-bzip2
1433 installcheck-host: maybe-installcheck-dejagnu
1434 installcheck-host: maybe-installcheck-diff
1435 installcheck-host: maybe-installcheck-dosutils
1436 installcheck-host: maybe-installcheck-etc
1437 installcheck-host: maybe-installcheck-fastjar
1438 installcheck-host: maybe-installcheck-fileutils
1439 installcheck-host: maybe-installcheck-findutils
1440 installcheck-host: maybe-installcheck-find
1441 installcheck-host: maybe-installcheck-fixincludes
1442 installcheck-host: maybe-installcheck-flex
1443 installcheck-host: maybe-installcheck-gas
1444 installcheck-host: maybe-installcheck-gcc
1445 installcheck-host: maybe-installcheck-gawk
1446 installcheck-host: maybe-installcheck-gettext
1447 installcheck-host: maybe-installcheck-gnuserv
1448 installcheck-host: maybe-installcheck-gprof
1449 installcheck-host: maybe-installcheck-gzip
1450 installcheck-host: maybe-installcheck-hello
1451 installcheck-host: maybe-installcheck-indent
1452 installcheck-host: maybe-installcheck-intl
1453 installcheck-host: maybe-installcheck-tcl
1454 installcheck-host: maybe-installcheck-itcl
1455 installcheck-host: maybe-installcheck-ld
1456 installcheck-host: maybe-installcheck-libcpp
1457 installcheck-host: maybe-installcheck-libdecnumber
1458 installcheck-host: maybe-installcheck-libgui
1459 installcheck-host: maybe-installcheck-libiberty
1460 installcheck-host: maybe-installcheck-libtool
1461 installcheck-host: maybe-installcheck-m4
1462 installcheck-host: maybe-installcheck-make
1463 installcheck-host: maybe-installcheck-mmalloc
1464 installcheck-host: maybe-installcheck-patch
1465 installcheck-host: maybe-installcheck-perl
1466 installcheck-host: maybe-installcheck-prms
1467 installcheck-host: maybe-installcheck-rcs
1468 installcheck-host: maybe-installcheck-readline
1469 installcheck-host: maybe-installcheck-release
1470 installcheck-host: maybe-installcheck-recode
1471 installcheck-host: maybe-installcheck-sed
1472 installcheck-host: maybe-installcheck-send-pr
1473 installcheck-host: maybe-installcheck-shellutils
1474 installcheck-host: maybe-installcheck-sid
1475 installcheck-host: maybe-installcheck-sim
1476 installcheck-host: maybe-installcheck-tar
1477 installcheck-host: maybe-installcheck-texinfo
1478 installcheck-host: maybe-installcheck-textutils
1479 installcheck-host: maybe-installcheck-time
1480 installcheck-host: maybe-installcheck-uudecode
1481 installcheck-host: maybe-installcheck-wdiff
1482 installcheck-host: maybe-installcheck-zip
1483 installcheck-host: maybe-installcheck-zlib
1484 installcheck-host: maybe-installcheck-gdb
1485 installcheck-host: maybe-installcheck-expect
1486 installcheck-host: maybe-installcheck-guile
1487 installcheck-host: maybe-installcheck-tk
1488 installcheck-host: maybe-installcheck-libtermcap
1489 installcheck-host: maybe-installcheck-utils
1490 installcheck-host: maybe-installcheck-gnattools
1492 .PHONY: installcheck-target
1494 installcheck-target: maybe-installcheck-target-libstdc++-v3
1495 installcheck-target: maybe-installcheck-target-libmudflap
1496 installcheck-target: maybe-installcheck-target-libssp
1497 installcheck-target: maybe-installcheck-target-newlib
1498 installcheck-target: maybe-installcheck-target-libgfortran
1499 installcheck-target: maybe-installcheck-target-libobjc
1500 installcheck-target: maybe-installcheck-target-libtermcap
1501 installcheck-target: maybe-installcheck-target-winsup
1502 installcheck-target: maybe-installcheck-target-libgloss
1503 installcheck-target: maybe-installcheck-target-libiberty
1504 installcheck-target: maybe-installcheck-target-gperf
1505 installcheck-target: maybe-installcheck-target-examples
1506 installcheck-target: maybe-installcheck-target-libffi
1507 installcheck-target: maybe-installcheck-target-libjava
1508 installcheck-target: maybe-installcheck-target-zlib
1509 installcheck-target: maybe-installcheck-target-boehm-gc
1510 installcheck-target: maybe-installcheck-target-qthreads
1511 installcheck-target: maybe-installcheck-target-rda
1512 installcheck-target: maybe-installcheck-target-libada
1513 installcheck-target: maybe-installcheck-target-libgomp
1515 .PHONY: do-mostlyclean
1516 do-mostlyclean:
1517 @: $(MAKE); $(unstage)
1518 @r=`${PWD_COMMAND}`; export r; \
1519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1520 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1521 mostlyclean-target
1524 .PHONY: mostlyclean-host
1526 mostlyclean-host: maybe-mostlyclean-ash
1527 mostlyclean-host: maybe-mostlyclean-autoconf
1528 mostlyclean-host: maybe-mostlyclean-automake
1529 mostlyclean-host: maybe-mostlyclean-bash
1530 mostlyclean-host: maybe-mostlyclean-bfd
1531 mostlyclean-host: maybe-mostlyclean-opcodes
1532 mostlyclean-host: maybe-mostlyclean-binutils
1533 mostlyclean-host: maybe-mostlyclean-bison
1534 mostlyclean-host: maybe-mostlyclean-byacc
1535 mostlyclean-host: maybe-mostlyclean-bzip2
1536 mostlyclean-host: maybe-mostlyclean-dejagnu
1537 mostlyclean-host: maybe-mostlyclean-diff
1538 mostlyclean-host: maybe-mostlyclean-dosutils
1539 mostlyclean-host: maybe-mostlyclean-etc
1540 mostlyclean-host: maybe-mostlyclean-fastjar
1541 mostlyclean-host: maybe-mostlyclean-fileutils
1542 mostlyclean-host: maybe-mostlyclean-findutils
1543 mostlyclean-host: maybe-mostlyclean-find
1544 mostlyclean-host: maybe-mostlyclean-fixincludes
1545 mostlyclean-host: maybe-mostlyclean-flex
1546 mostlyclean-host: maybe-mostlyclean-gas
1547 mostlyclean-host: maybe-mostlyclean-gcc
1548 mostlyclean-host: maybe-mostlyclean-gawk
1549 mostlyclean-host: maybe-mostlyclean-gettext
1550 mostlyclean-host: maybe-mostlyclean-gnuserv
1551 mostlyclean-host: maybe-mostlyclean-gprof
1552 mostlyclean-host: maybe-mostlyclean-gzip
1553 mostlyclean-host: maybe-mostlyclean-hello
1554 mostlyclean-host: maybe-mostlyclean-indent
1555 mostlyclean-host: maybe-mostlyclean-intl
1556 mostlyclean-host: maybe-mostlyclean-tcl
1557 mostlyclean-host: maybe-mostlyclean-itcl
1558 mostlyclean-host: maybe-mostlyclean-ld
1559 mostlyclean-host: maybe-mostlyclean-libcpp
1560 mostlyclean-host: maybe-mostlyclean-libdecnumber
1561 mostlyclean-host: maybe-mostlyclean-libgui
1562 mostlyclean-host: maybe-mostlyclean-libiberty
1563 mostlyclean-host: maybe-mostlyclean-libtool
1564 mostlyclean-host: maybe-mostlyclean-m4
1565 mostlyclean-host: maybe-mostlyclean-make
1566 mostlyclean-host: maybe-mostlyclean-mmalloc
1567 mostlyclean-host: maybe-mostlyclean-patch
1568 mostlyclean-host: maybe-mostlyclean-perl
1569 mostlyclean-host: maybe-mostlyclean-prms
1570 mostlyclean-host: maybe-mostlyclean-rcs
1571 mostlyclean-host: maybe-mostlyclean-readline
1572 mostlyclean-host: maybe-mostlyclean-release
1573 mostlyclean-host: maybe-mostlyclean-recode
1574 mostlyclean-host: maybe-mostlyclean-sed
1575 mostlyclean-host: maybe-mostlyclean-send-pr
1576 mostlyclean-host: maybe-mostlyclean-shellutils
1577 mostlyclean-host: maybe-mostlyclean-sid
1578 mostlyclean-host: maybe-mostlyclean-sim
1579 mostlyclean-host: maybe-mostlyclean-tar
1580 mostlyclean-host: maybe-mostlyclean-texinfo
1581 mostlyclean-host: maybe-mostlyclean-textutils
1582 mostlyclean-host: maybe-mostlyclean-time
1583 mostlyclean-host: maybe-mostlyclean-uudecode
1584 mostlyclean-host: maybe-mostlyclean-wdiff
1585 mostlyclean-host: maybe-mostlyclean-zip
1586 mostlyclean-host: maybe-mostlyclean-zlib
1587 mostlyclean-host: maybe-mostlyclean-gdb
1588 mostlyclean-host: maybe-mostlyclean-expect
1589 mostlyclean-host: maybe-mostlyclean-guile
1590 mostlyclean-host: maybe-mostlyclean-tk
1591 mostlyclean-host: maybe-mostlyclean-libtermcap
1592 mostlyclean-host: maybe-mostlyclean-utils
1593 mostlyclean-host: maybe-mostlyclean-gnattools
1595 .PHONY: mostlyclean-target
1597 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1598 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1599 mostlyclean-target: maybe-mostlyclean-target-libssp
1600 mostlyclean-target: maybe-mostlyclean-target-newlib
1601 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1602 mostlyclean-target: maybe-mostlyclean-target-libobjc
1603 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1604 mostlyclean-target: maybe-mostlyclean-target-winsup
1605 mostlyclean-target: maybe-mostlyclean-target-libgloss
1606 mostlyclean-target: maybe-mostlyclean-target-libiberty
1607 mostlyclean-target: maybe-mostlyclean-target-gperf
1608 mostlyclean-target: maybe-mostlyclean-target-examples
1609 mostlyclean-target: maybe-mostlyclean-target-libffi
1610 mostlyclean-target: maybe-mostlyclean-target-libjava
1611 mostlyclean-target: maybe-mostlyclean-target-zlib
1612 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1613 mostlyclean-target: maybe-mostlyclean-target-qthreads
1614 mostlyclean-target: maybe-mostlyclean-target-rda
1615 mostlyclean-target: maybe-mostlyclean-target-libada
1616 mostlyclean-target: maybe-mostlyclean-target-libgomp
1618 .PHONY: do-clean
1619 do-clean:
1620 @: $(MAKE); $(unstage)
1621 @r=`${PWD_COMMAND}`; export r; \
1622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1623 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1624 clean-target
1627 .PHONY: clean-host
1629 clean-host: maybe-clean-ash
1630 clean-host: maybe-clean-autoconf
1631 clean-host: maybe-clean-automake
1632 clean-host: maybe-clean-bash
1633 clean-host: maybe-clean-bfd
1634 clean-host: maybe-clean-opcodes
1635 clean-host: maybe-clean-binutils
1636 clean-host: maybe-clean-bison
1637 clean-host: maybe-clean-byacc
1638 clean-host: maybe-clean-bzip2
1639 clean-host: maybe-clean-dejagnu
1640 clean-host: maybe-clean-diff
1641 clean-host: maybe-clean-dosutils
1642 clean-host: maybe-clean-etc
1643 clean-host: maybe-clean-fastjar
1644 clean-host: maybe-clean-fileutils
1645 clean-host: maybe-clean-findutils
1646 clean-host: maybe-clean-find
1647 clean-host: maybe-clean-fixincludes
1648 clean-host: maybe-clean-flex
1649 clean-host: maybe-clean-gas
1650 clean-host: maybe-clean-gcc
1651 clean-host: maybe-clean-gawk
1652 clean-host: maybe-clean-gettext
1653 clean-host: maybe-clean-gnuserv
1654 clean-host: maybe-clean-gprof
1655 clean-host: maybe-clean-gzip
1656 clean-host: maybe-clean-hello
1657 clean-host: maybe-clean-indent
1658 clean-host: maybe-clean-intl
1659 clean-host: maybe-clean-tcl
1660 clean-host: maybe-clean-itcl
1661 clean-host: maybe-clean-ld
1662 clean-host: maybe-clean-libcpp
1663 clean-host: maybe-clean-libdecnumber
1664 clean-host: maybe-clean-libgui
1665 clean-host: maybe-clean-libiberty
1666 clean-host: maybe-clean-libtool
1667 clean-host: maybe-clean-m4
1668 clean-host: maybe-clean-make
1669 clean-host: maybe-clean-mmalloc
1670 clean-host: maybe-clean-patch
1671 clean-host: maybe-clean-perl
1672 clean-host: maybe-clean-prms
1673 clean-host: maybe-clean-rcs
1674 clean-host: maybe-clean-readline
1675 clean-host: maybe-clean-release
1676 clean-host: maybe-clean-recode
1677 clean-host: maybe-clean-sed
1678 clean-host: maybe-clean-send-pr
1679 clean-host: maybe-clean-shellutils
1680 clean-host: maybe-clean-sid
1681 clean-host: maybe-clean-sim
1682 clean-host: maybe-clean-tar
1683 clean-host: maybe-clean-texinfo
1684 clean-host: maybe-clean-textutils
1685 clean-host: maybe-clean-time
1686 clean-host: maybe-clean-uudecode
1687 clean-host: maybe-clean-wdiff
1688 clean-host: maybe-clean-zip
1689 clean-host: maybe-clean-zlib
1690 clean-host: maybe-clean-gdb
1691 clean-host: maybe-clean-expect
1692 clean-host: maybe-clean-guile
1693 clean-host: maybe-clean-tk
1694 clean-host: maybe-clean-libtermcap
1695 clean-host: maybe-clean-utils
1696 clean-host: maybe-clean-gnattools
1698 .PHONY: clean-target
1700 clean-target: maybe-clean-target-libstdc++-v3
1701 clean-target: maybe-clean-target-libmudflap
1702 clean-target: maybe-clean-target-libssp
1703 clean-target: maybe-clean-target-newlib
1704 clean-target: maybe-clean-target-libgfortran
1705 clean-target: maybe-clean-target-libobjc
1706 clean-target: maybe-clean-target-libtermcap
1707 clean-target: maybe-clean-target-winsup
1708 clean-target: maybe-clean-target-libgloss
1709 clean-target: maybe-clean-target-libiberty
1710 clean-target: maybe-clean-target-gperf
1711 clean-target: maybe-clean-target-examples
1712 clean-target: maybe-clean-target-libffi
1713 clean-target: maybe-clean-target-libjava
1714 clean-target: maybe-clean-target-zlib
1715 clean-target: maybe-clean-target-boehm-gc
1716 clean-target: maybe-clean-target-qthreads
1717 clean-target: maybe-clean-target-rda
1718 clean-target: maybe-clean-target-libada
1719 clean-target: maybe-clean-target-libgomp
1721 .PHONY: do-distclean
1722 do-distclean:
1723 @: $(MAKE); $(unstage)
1724 @r=`${PWD_COMMAND}`; export r; \
1725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1726 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1727 distclean-target
1730 .PHONY: distclean-host
1732 distclean-host: maybe-distclean-ash
1733 distclean-host: maybe-distclean-autoconf
1734 distclean-host: maybe-distclean-automake
1735 distclean-host: maybe-distclean-bash
1736 distclean-host: maybe-distclean-bfd
1737 distclean-host: maybe-distclean-opcodes
1738 distclean-host: maybe-distclean-binutils
1739 distclean-host: maybe-distclean-bison
1740 distclean-host: maybe-distclean-byacc
1741 distclean-host: maybe-distclean-bzip2
1742 distclean-host: maybe-distclean-dejagnu
1743 distclean-host: maybe-distclean-diff
1744 distclean-host: maybe-distclean-dosutils
1745 distclean-host: maybe-distclean-etc
1746 distclean-host: maybe-distclean-fastjar
1747 distclean-host: maybe-distclean-fileutils
1748 distclean-host: maybe-distclean-findutils
1749 distclean-host: maybe-distclean-find
1750 distclean-host: maybe-distclean-fixincludes
1751 distclean-host: maybe-distclean-flex
1752 distclean-host: maybe-distclean-gas
1753 distclean-host: maybe-distclean-gcc
1754 distclean-host: maybe-distclean-gawk
1755 distclean-host: maybe-distclean-gettext
1756 distclean-host: maybe-distclean-gnuserv
1757 distclean-host: maybe-distclean-gprof
1758 distclean-host: maybe-distclean-gzip
1759 distclean-host: maybe-distclean-hello
1760 distclean-host: maybe-distclean-indent
1761 distclean-host: maybe-distclean-intl
1762 distclean-host: maybe-distclean-tcl
1763 distclean-host: maybe-distclean-itcl
1764 distclean-host: maybe-distclean-ld
1765 distclean-host: maybe-distclean-libcpp
1766 distclean-host: maybe-distclean-libdecnumber
1767 distclean-host: maybe-distclean-libgui
1768 distclean-host: maybe-distclean-libiberty
1769 distclean-host: maybe-distclean-libtool
1770 distclean-host: maybe-distclean-m4
1771 distclean-host: maybe-distclean-make
1772 distclean-host: maybe-distclean-mmalloc
1773 distclean-host: maybe-distclean-patch
1774 distclean-host: maybe-distclean-perl
1775 distclean-host: maybe-distclean-prms
1776 distclean-host: maybe-distclean-rcs
1777 distclean-host: maybe-distclean-readline
1778 distclean-host: maybe-distclean-release
1779 distclean-host: maybe-distclean-recode
1780 distclean-host: maybe-distclean-sed
1781 distclean-host: maybe-distclean-send-pr
1782 distclean-host: maybe-distclean-shellutils
1783 distclean-host: maybe-distclean-sid
1784 distclean-host: maybe-distclean-sim
1785 distclean-host: maybe-distclean-tar
1786 distclean-host: maybe-distclean-texinfo
1787 distclean-host: maybe-distclean-textutils
1788 distclean-host: maybe-distclean-time
1789 distclean-host: maybe-distclean-uudecode
1790 distclean-host: maybe-distclean-wdiff
1791 distclean-host: maybe-distclean-zip
1792 distclean-host: maybe-distclean-zlib
1793 distclean-host: maybe-distclean-gdb
1794 distclean-host: maybe-distclean-expect
1795 distclean-host: maybe-distclean-guile
1796 distclean-host: maybe-distclean-tk
1797 distclean-host: maybe-distclean-libtermcap
1798 distclean-host: maybe-distclean-utils
1799 distclean-host: maybe-distclean-gnattools
1801 .PHONY: distclean-target
1803 distclean-target: maybe-distclean-target-libstdc++-v3
1804 distclean-target: maybe-distclean-target-libmudflap
1805 distclean-target: maybe-distclean-target-libssp
1806 distclean-target: maybe-distclean-target-newlib
1807 distclean-target: maybe-distclean-target-libgfortran
1808 distclean-target: maybe-distclean-target-libobjc
1809 distclean-target: maybe-distclean-target-libtermcap
1810 distclean-target: maybe-distclean-target-winsup
1811 distclean-target: maybe-distclean-target-libgloss
1812 distclean-target: maybe-distclean-target-libiberty
1813 distclean-target: maybe-distclean-target-gperf
1814 distclean-target: maybe-distclean-target-examples
1815 distclean-target: maybe-distclean-target-libffi
1816 distclean-target: maybe-distclean-target-libjava
1817 distclean-target: maybe-distclean-target-zlib
1818 distclean-target: maybe-distclean-target-boehm-gc
1819 distclean-target: maybe-distclean-target-qthreads
1820 distclean-target: maybe-distclean-target-rda
1821 distclean-target: maybe-distclean-target-libada
1822 distclean-target: maybe-distclean-target-libgomp
1824 .PHONY: do-maintainer-clean
1825 do-maintainer-clean:
1826 @: $(MAKE); $(unstage)
1827 @r=`${PWD_COMMAND}`; export r; \
1828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1829 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1830 maintainer-clean-target
1833 .PHONY: maintainer-clean-host
1835 maintainer-clean-host: maybe-maintainer-clean-ash
1836 maintainer-clean-host: maybe-maintainer-clean-autoconf
1837 maintainer-clean-host: maybe-maintainer-clean-automake
1838 maintainer-clean-host: maybe-maintainer-clean-bash
1839 maintainer-clean-host: maybe-maintainer-clean-bfd
1840 maintainer-clean-host: maybe-maintainer-clean-opcodes
1841 maintainer-clean-host: maybe-maintainer-clean-binutils
1842 maintainer-clean-host: maybe-maintainer-clean-bison
1843 maintainer-clean-host: maybe-maintainer-clean-byacc
1844 maintainer-clean-host: maybe-maintainer-clean-bzip2
1845 maintainer-clean-host: maybe-maintainer-clean-dejagnu
1846 maintainer-clean-host: maybe-maintainer-clean-diff
1847 maintainer-clean-host: maybe-maintainer-clean-dosutils
1848 maintainer-clean-host: maybe-maintainer-clean-etc
1849 maintainer-clean-host: maybe-maintainer-clean-fastjar
1850 maintainer-clean-host: maybe-maintainer-clean-fileutils
1851 maintainer-clean-host: maybe-maintainer-clean-findutils
1852 maintainer-clean-host: maybe-maintainer-clean-find
1853 maintainer-clean-host: maybe-maintainer-clean-fixincludes
1854 maintainer-clean-host: maybe-maintainer-clean-flex
1855 maintainer-clean-host: maybe-maintainer-clean-gas
1856 maintainer-clean-host: maybe-maintainer-clean-gcc
1857 maintainer-clean-host: maybe-maintainer-clean-gawk
1858 maintainer-clean-host: maybe-maintainer-clean-gettext
1859 maintainer-clean-host: maybe-maintainer-clean-gnuserv
1860 maintainer-clean-host: maybe-maintainer-clean-gprof
1861 maintainer-clean-host: maybe-maintainer-clean-gzip
1862 maintainer-clean-host: maybe-maintainer-clean-hello
1863 maintainer-clean-host: maybe-maintainer-clean-indent
1864 maintainer-clean-host: maybe-maintainer-clean-intl
1865 maintainer-clean-host: maybe-maintainer-clean-tcl
1866 maintainer-clean-host: maybe-maintainer-clean-itcl
1867 maintainer-clean-host: maybe-maintainer-clean-ld
1868 maintainer-clean-host: maybe-maintainer-clean-libcpp
1869 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
1870 maintainer-clean-host: maybe-maintainer-clean-libgui
1871 maintainer-clean-host: maybe-maintainer-clean-libiberty
1872 maintainer-clean-host: maybe-maintainer-clean-libtool
1873 maintainer-clean-host: maybe-maintainer-clean-m4
1874 maintainer-clean-host: maybe-maintainer-clean-make
1875 maintainer-clean-host: maybe-maintainer-clean-mmalloc
1876 maintainer-clean-host: maybe-maintainer-clean-patch
1877 maintainer-clean-host: maybe-maintainer-clean-perl
1878 maintainer-clean-host: maybe-maintainer-clean-prms
1879 maintainer-clean-host: maybe-maintainer-clean-rcs
1880 maintainer-clean-host: maybe-maintainer-clean-readline
1881 maintainer-clean-host: maybe-maintainer-clean-release
1882 maintainer-clean-host: maybe-maintainer-clean-recode
1883 maintainer-clean-host: maybe-maintainer-clean-sed
1884 maintainer-clean-host: maybe-maintainer-clean-send-pr
1885 maintainer-clean-host: maybe-maintainer-clean-shellutils
1886 maintainer-clean-host: maybe-maintainer-clean-sid
1887 maintainer-clean-host: maybe-maintainer-clean-sim
1888 maintainer-clean-host: maybe-maintainer-clean-tar
1889 maintainer-clean-host: maybe-maintainer-clean-texinfo
1890 maintainer-clean-host: maybe-maintainer-clean-textutils
1891 maintainer-clean-host: maybe-maintainer-clean-time
1892 maintainer-clean-host: maybe-maintainer-clean-uudecode
1893 maintainer-clean-host: maybe-maintainer-clean-wdiff
1894 maintainer-clean-host: maybe-maintainer-clean-zip
1895 maintainer-clean-host: maybe-maintainer-clean-zlib
1896 maintainer-clean-host: maybe-maintainer-clean-gdb
1897 maintainer-clean-host: maybe-maintainer-clean-expect
1898 maintainer-clean-host: maybe-maintainer-clean-guile
1899 maintainer-clean-host: maybe-maintainer-clean-tk
1900 maintainer-clean-host: maybe-maintainer-clean-libtermcap
1901 maintainer-clean-host: maybe-maintainer-clean-utils
1902 maintainer-clean-host: maybe-maintainer-clean-gnattools
1904 .PHONY: maintainer-clean-target
1906 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
1907 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
1908 maintainer-clean-target: maybe-maintainer-clean-target-libssp
1909 maintainer-clean-target: maybe-maintainer-clean-target-newlib
1910 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
1911 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
1912 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
1913 maintainer-clean-target: maybe-maintainer-clean-target-winsup
1914 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
1915 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
1916 maintainer-clean-target: maybe-maintainer-clean-target-gperf
1917 maintainer-clean-target: maybe-maintainer-clean-target-examples
1918 maintainer-clean-target: maybe-maintainer-clean-target-libffi
1919 maintainer-clean-target: maybe-maintainer-clean-target-libjava
1920 maintainer-clean-target: maybe-maintainer-clean-target-zlib
1921 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
1922 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
1923 maintainer-clean-target: maybe-maintainer-clean-target-rda
1924 maintainer-clean-target: maybe-maintainer-clean-target-libada
1925 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
1928 # Here are the targets which correspond to the do-X targets.
1930 .PHONY: info installcheck dvi html install-info install-html
1931 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1932 .PHONY: local-clean local-distclean local-maintainer-clean
1933 info: do-info
1934 installcheck: do-installcheck
1935 dvi: do-dvi
1936 html: do-html
1938 # Make sure makeinfo is built before we do a `make info', if we're
1939 # in fact building texinfo.
1940 do-info: maybe-all-texinfo
1942 install-info: do-install-info dir.info
1943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1944 if [ -f dir.info ] ; then \
1945 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1946 else true ; fi
1948 install-html: do-install-html
1950 local-clean:
1951 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1953 local-distclean:
1954 -rm -f Makefile config.status config.cache mh-frag mt-frag
1955 -rm -f maybedep.tmp serdep.tmp
1956 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1957 rm -rf $(TARGET_SUBDIR); \
1958 else true; fi
1959 -rm -rf $(BUILD_SUBDIR)
1960 -if [ "$(HOST_SUBDIR)" != "." ]; then \
1961 rm -rf $(HOST_SUBDIR); \
1962 else true; fi
1963 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1964 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1965 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1966 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1967 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1969 local-maintainer-clean:
1970 @echo "This command is intended for maintainers to use;"
1971 @echo "it deletes files that may require special tools to rebuild."
1973 clean: do-clean local-clean
1974 mostlyclean: do-mostlyclean local-clean
1975 distclean: do-distclean local-clean local-distclean
1976 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1977 maintainer-clean: local-distclean
1978 realclean: maintainer-clean
1980 # Extra dependency for clean-target, owing to the mixed nature of gcc.
1981 clean-target: clean-target-libgcc
1982 clean-target-libgcc:
1983 test ! -d gcc || (cd gcc && $(MAKE) $@)
1985 # Check target.
1987 .PHONY: check do-check
1988 check: do-check
1990 # Only include modules actually being configured and built.
1991 .PHONY: check-host
1992 check-host: \
1993 maybe-check-ash \
1994 maybe-check-autoconf \
1995 maybe-check-automake \
1996 maybe-check-bash \
1997 maybe-check-bfd \
1998 maybe-check-opcodes \
1999 maybe-check-binutils \
2000 maybe-check-bison \
2001 maybe-check-byacc \
2002 maybe-check-bzip2 \
2003 maybe-check-dejagnu \
2004 maybe-check-diff \
2005 maybe-check-dosutils \
2006 maybe-check-etc \
2007 maybe-check-fastjar \
2008 maybe-check-fileutils \
2009 maybe-check-findutils \
2010 maybe-check-find \
2011 maybe-check-fixincludes \
2012 maybe-check-flex \
2013 maybe-check-gas \
2014 maybe-check-gcc \
2015 maybe-check-gawk \
2016 maybe-check-gettext \
2017 maybe-check-gnuserv \
2018 maybe-check-gprof \
2019 maybe-check-gzip \
2020 maybe-check-hello \
2021 maybe-check-indent \
2022 maybe-check-intl \
2023 maybe-check-tcl \
2024 maybe-check-itcl \
2025 maybe-check-ld \
2026 maybe-check-libcpp \
2027 maybe-check-libdecnumber \
2028 maybe-check-libgui \
2029 maybe-check-libiberty \
2030 maybe-check-libtool \
2031 maybe-check-m4 \
2032 maybe-check-make \
2033 maybe-check-mmalloc \
2034 maybe-check-patch \
2035 maybe-check-perl \
2036 maybe-check-prms \
2037 maybe-check-rcs \
2038 maybe-check-readline \
2039 maybe-check-release \
2040 maybe-check-recode \
2041 maybe-check-sed \
2042 maybe-check-send-pr \
2043 maybe-check-shellutils \
2044 maybe-check-sid \
2045 maybe-check-sim \
2046 maybe-check-tar \
2047 maybe-check-texinfo \
2048 maybe-check-textutils \
2049 maybe-check-time \
2050 maybe-check-uudecode \
2051 maybe-check-wdiff \
2052 maybe-check-zip \
2053 maybe-check-zlib \
2054 maybe-check-gdb \
2055 maybe-check-expect \
2056 maybe-check-guile \
2057 maybe-check-tk \
2058 maybe-check-libtermcap \
2059 maybe-check-utils \
2060 maybe-check-gnattools
2062 .PHONY: check-target
2063 check-target: \
2064 maybe-check-target-libstdc++-v3 \
2065 maybe-check-target-libmudflap \
2066 maybe-check-target-libssp \
2067 maybe-check-target-newlib \
2068 maybe-check-target-libgfortran \
2069 maybe-check-target-libobjc \
2070 maybe-check-target-libtermcap \
2071 maybe-check-target-winsup \
2072 maybe-check-target-libgloss \
2073 maybe-check-target-libiberty \
2074 maybe-check-target-gperf \
2075 maybe-check-target-examples \
2076 maybe-check-target-libffi \
2077 maybe-check-target-libjava \
2078 maybe-check-target-zlib \
2079 maybe-check-target-boehm-gc \
2080 maybe-check-target-qthreads \
2081 maybe-check-target-rda \
2082 maybe-check-target-libada \
2083 maybe-check-target-libgomp
2085 do-check:
2086 @: $(MAKE); $(unstage)
2087 @r=`${PWD_COMMAND}`; export r; \
2088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2089 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2091 # Automated reporting of test results.
2093 warning.log: build.log
2094 $(srcdir)/contrib/warn_summary build.log > $@
2096 mail-report.log:
2097 if test x'$(BOOT_CFLAGS)' != x''; then \
2098 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2099 fi; \
2100 $(srcdir)/contrib/test_summary -t >$@
2101 chmod +x $@
2102 echo If you really want to send e-mail, run ./$@ now
2104 mail-report-with-warnings.log: warning.log
2105 if test x'$(BOOT_CFLAGS)' != x''; then \
2106 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2107 fi; \
2108 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2109 chmod +x $@
2110 echo If you really want to send e-mail, run ./$@ now
2112 # Installation targets.
2114 .PHONY: install uninstall
2115 install:
2116 @: $(MAKE); $(unstage)
2117 @r=`${PWD_COMMAND}`; export r; \
2118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2119 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2121 .PHONY: install-host-nogcc
2122 install-host-nogcc: \
2123 maybe-install-ash \
2124 maybe-install-autoconf \
2125 maybe-install-automake \
2126 maybe-install-bash \
2127 maybe-install-bfd \
2128 maybe-install-opcodes \
2129 maybe-install-binutils \
2130 maybe-install-bison \
2131 maybe-install-byacc \
2132 maybe-install-bzip2 \
2133 maybe-install-dejagnu \
2134 maybe-install-diff \
2135 maybe-install-dosutils \
2136 maybe-install-etc \
2137 maybe-install-fastjar \
2138 maybe-install-fileutils \
2139 maybe-install-findutils \
2140 maybe-install-find \
2141 maybe-install-fixincludes \
2142 maybe-install-flex \
2143 maybe-install-gas \
2144 maybe-install-gawk \
2145 maybe-install-gettext \
2146 maybe-install-gnuserv \
2147 maybe-install-gprof \
2148 maybe-install-gzip \
2149 maybe-install-hello \
2150 maybe-install-indent \
2151 maybe-install-intl \
2152 maybe-install-tcl \
2153 maybe-install-itcl \
2154 maybe-install-ld \
2155 maybe-install-libcpp \
2156 maybe-install-libdecnumber \
2157 maybe-install-libgui \
2158 maybe-install-libiberty \
2159 maybe-install-libtool \
2160 maybe-install-m4 \
2161 maybe-install-make \
2162 maybe-install-mmalloc \
2163 maybe-install-patch \
2164 maybe-install-perl \
2165 maybe-install-prms \
2166 maybe-install-rcs \
2167 maybe-install-readline \
2168 maybe-install-release \
2169 maybe-install-recode \
2170 maybe-install-sed \
2171 maybe-install-send-pr \
2172 maybe-install-shellutils \
2173 maybe-install-sid \
2174 maybe-install-sim \
2175 maybe-install-tar \
2176 maybe-install-texinfo \
2177 maybe-install-textutils \
2178 maybe-install-time \
2179 maybe-install-uudecode \
2180 maybe-install-wdiff \
2181 maybe-install-zip \
2182 maybe-install-zlib \
2183 maybe-install-gdb \
2184 maybe-install-expect \
2185 maybe-install-guile \
2186 maybe-install-tk \
2187 maybe-install-libtermcap \
2188 maybe-install-utils \
2189 maybe-install-gnattools
2191 .PHONY: install-host
2192 install-host: \
2193 maybe-install-ash \
2194 maybe-install-autoconf \
2195 maybe-install-automake \
2196 maybe-install-bash \
2197 maybe-install-bfd \
2198 maybe-install-opcodes \
2199 maybe-install-binutils \
2200 maybe-install-bison \
2201 maybe-install-byacc \
2202 maybe-install-bzip2 \
2203 maybe-install-dejagnu \
2204 maybe-install-diff \
2205 maybe-install-dosutils \
2206 maybe-install-etc \
2207 maybe-install-fastjar \
2208 maybe-install-fileutils \
2209 maybe-install-findutils \
2210 maybe-install-find \
2211 maybe-install-fixincludes \
2212 maybe-install-flex \
2213 maybe-install-gas \
2214 maybe-install-gcc \
2215 maybe-install-gawk \
2216 maybe-install-gettext \
2217 maybe-install-gnuserv \
2218 maybe-install-gprof \
2219 maybe-install-gzip \
2220 maybe-install-hello \
2221 maybe-install-indent \
2222 maybe-install-intl \
2223 maybe-install-tcl \
2224 maybe-install-itcl \
2225 maybe-install-ld \
2226 maybe-install-libcpp \
2227 maybe-install-libdecnumber \
2228 maybe-install-libgui \
2229 maybe-install-libiberty \
2230 maybe-install-libtool \
2231 maybe-install-m4 \
2232 maybe-install-make \
2233 maybe-install-mmalloc \
2234 maybe-install-patch \
2235 maybe-install-perl \
2236 maybe-install-prms \
2237 maybe-install-rcs \
2238 maybe-install-readline \
2239 maybe-install-release \
2240 maybe-install-recode \
2241 maybe-install-sed \
2242 maybe-install-send-pr \
2243 maybe-install-shellutils \
2244 maybe-install-sid \
2245 maybe-install-sim \
2246 maybe-install-tar \
2247 maybe-install-texinfo \
2248 maybe-install-textutils \
2249 maybe-install-time \
2250 maybe-install-uudecode \
2251 maybe-install-wdiff \
2252 maybe-install-zip \
2253 maybe-install-zlib \
2254 maybe-install-gdb \
2255 maybe-install-expect \
2256 maybe-install-guile \
2257 maybe-install-tk \
2258 maybe-install-libtermcap \
2259 maybe-install-utils \
2260 maybe-install-gnattools
2262 .PHONY: install-target
2263 install-target: \
2264 maybe-install-target-libstdc++-v3 \
2265 maybe-install-target-libmudflap \
2266 maybe-install-target-libssp \
2267 maybe-install-target-newlib \
2268 maybe-install-target-libgfortran \
2269 maybe-install-target-libobjc \
2270 maybe-install-target-libtermcap \
2271 maybe-install-target-winsup \
2272 maybe-install-target-libgloss \
2273 maybe-install-target-libiberty \
2274 maybe-install-target-gperf \
2275 maybe-install-target-examples \
2276 maybe-install-target-libffi \
2277 maybe-install-target-libjava \
2278 maybe-install-target-zlib \
2279 maybe-install-target-boehm-gc \
2280 maybe-install-target-qthreads \
2281 maybe-install-target-rda \
2282 maybe-install-target-libada \
2283 maybe-install-target-libgomp
2285 uninstall:
2286 @echo "the uninstall target is not supported in this tree"
2288 .PHONY: install.all
2289 install.all: install-no-fixedincludes
2290 @if [ -f ./gcc/Makefile ] ; then \
2291 r=`${PWD_COMMAND}` ; export r ; \
2292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2293 $(HOST_EXPORTS) \
2294 (cd ./gcc && \
2295 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2296 else \
2297 true ; \
2300 # install-no-fixedincludes is used because Cygnus can not distribute
2301 # the fixed header files.
2302 .PHONY: install-no-fixedincludes
2303 install-no-fixedincludes: installdirs install-host-nogcc \
2304 install-target gcc-no-fixedincludes
2306 ### other supporting targets
2308 MAKEDIRS= \
2309 $(DESTDIR)$(prefix) \
2310 $(DESTDIR)$(exec_prefix)
2311 .PHONY: installdirs
2312 installdirs: mkinstalldirs
2313 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2315 dir.info: do-install-info
2316 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2317 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2318 mv -f dir.info.new dir.info ; \
2319 else true ; \
2322 dist:
2323 @echo "Building a full distribution of this tree isn't done"
2324 @echo "via 'make dist'. Check out the etc/ subdirectory"
2326 etags tags: TAGS
2328 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2329 # ability to use several tags files at once, so there is probably no need
2330 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2331 # (if we felt like it) have this Makefile write a piece of elisp which
2332 # the user could load to tell emacs19 where all the TAGS files we just
2333 # built are.
2334 TAGS: do-TAGS
2336 # ------------------------------------
2337 # Macros for configure and all targets
2338 # ------------------------------------
2344 # --------------------------------------
2345 # Modules which run on the build machine
2346 # --------------------------------------
2349 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2350 maybe-configure-build-libiberty:
2351 @if gcc-bootstrap
2352 configure-build-libiberty: stage_current
2353 @endif gcc-bootstrap
2354 @if build-libiberty
2355 maybe-configure-build-libiberty: configure-build-libiberty
2356 configure-build-libiberty:
2357 @: $(MAKE); $(unstage)
2358 @r=`${PWD_COMMAND}`; export r; \
2359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2360 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2361 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2362 $(BUILD_EXPORTS) \
2363 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2364 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2365 case $(srcdir) in \
2366 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2367 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2368 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2369 esac; \
2370 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2371 libsrcdir="$$s/libiberty"; \
2372 rm -f no-such-file || : ; \
2373 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2374 $(BUILD_CONFIGARGS) $${srcdiroption} \
2375 || exit 1
2376 @endif build-libiberty
2382 .PHONY: all-build-libiberty maybe-all-build-libiberty
2383 maybe-all-build-libiberty:
2384 @if gcc-bootstrap
2385 all-build-libiberty: stage_current
2386 @endif gcc-bootstrap
2387 @if build-libiberty
2388 TARGET-build-libiberty=all
2389 maybe-all-build-libiberty: all-build-libiberty
2390 all-build-libiberty: configure-build-libiberty
2391 @: $(MAKE); $(unstage)
2392 @r=`${PWD_COMMAND}`; export r; \
2393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2394 $(BUILD_EXPORTS) \
2395 (cd $(BUILD_SUBDIR)/libiberty && \
2396 $(MAKE) $(TARGET-build-libiberty))
2397 @endif build-libiberty
2403 .PHONY: configure-build-bison maybe-configure-build-bison
2404 maybe-configure-build-bison:
2405 @if gcc-bootstrap
2406 configure-build-bison: stage_current
2407 @endif gcc-bootstrap
2408 @if build-bison
2409 maybe-configure-build-bison: configure-build-bison
2410 configure-build-bison:
2411 @: $(MAKE); $(unstage)
2412 @r=`${PWD_COMMAND}`; export r; \
2413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2414 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2415 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2416 $(BUILD_EXPORTS) \
2417 echo Configuring in $(BUILD_SUBDIR)/bison; \
2418 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2419 case $(srcdir) in \
2420 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2421 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2422 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2423 esac; \
2424 srcdiroption="--srcdir=$${topdir}/bison"; \
2425 libsrcdir="$$s/bison"; \
2426 rm -f no-such-file || : ; \
2427 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2428 $(BUILD_CONFIGARGS) $${srcdiroption} \
2429 || exit 1
2430 @endif build-bison
2436 .PHONY: all-build-bison maybe-all-build-bison
2437 maybe-all-build-bison:
2438 @if gcc-bootstrap
2439 all-build-bison: stage_current
2440 @endif gcc-bootstrap
2441 @if build-bison
2442 TARGET-build-bison=all
2443 maybe-all-build-bison: all-build-bison
2444 all-build-bison: configure-build-bison
2445 @: $(MAKE); $(unstage)
2446 @r=`${PWD_COMMAND}`; export r; \
2447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2448 $(BUILD_EXPORTS) \
2449 (cd $(BUILD_SUBDIR)/bison && \
2450 $(MAKE) $(TARGET-build-bison))
2451 @endif build-bison
2457 .PHONY: configure-build-byacc maybe-configure-build-byacc
2458 maybe-configure-build-byacc:
2459 @if gcc-bootstrap
2460 configure-build-byacc: stage_current
2461 @endif gcc-bootstrap
2462 @if build-byacc
2463 maybe-configure-build-byacc: configure-build-byacc
2464 configure-build-byacc:
2465 @: $(MAKE); $(unstage)
2466 @r=`${PWD_COMMAND}`; export r; \
2467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2468 test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2469 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2470 $(BUILD_EXPORTS) \
2471 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2472 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2473 case $(srcdir) in \
2474 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2475 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2476 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2477 esac; \
2478 srcdiroption="--srcdir=$${topdir}/byacc"; \
2479 libsrcdir="$$s/byacc"; \
2480 rm -f no-such-file || : ; \
2481 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2482 $(BUILD_CONFIGARGS) $${srcdiroption} \
2483 || exit 1
2484 @endif build-byacc
2490 .PHONY: all-build-byacc maybe-all-build-byacc
2491 maybe-all-build-byacc:
2492 @if gcc-bootstrap
2493 all-build-byacc: stage_current
2494 @endif gcc-bootstrap
2495 @if build-byacc
2496 TARGET-build-byacc=all
2497 maybe-all-build-byacc: all-build-byacc
2498 all-build-byacc: configure-build-byacc
2499 @: $(MAKE); $(unstage)
2500 @r=`${PWD_COMMAND}`; export r; \
2501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2502 $(BUILD_EXPORTS) \
2503 (cd $(BUILD_SUBDIR)/byacc && \
2504 $(MAKE) $(TARGET-build-byacc))
2505 @endif build-byacc
2511 .PHONY: configure-build-flex maybe-configure-build-flex
2512 maybe-configure-build-flex:
2513 @if gcc-bootstrap
2514 configure-build-flex: stage_current
2515 @endif gcc-bootstrap
2516 @if build-flex
2517 maybe-configure-build-flex: configure-build-flex
2518 configure-build-flex:
2519 @: $(MAKE); $(unstage)
2520 @r=`${PWD_COMMAND}`; export r; \
2521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2522 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2523 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2524 $(BUILD_EXPORTS) \
2525 echo Configuring in $(BUILD_SUBDIR)/flex; \
2526 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2527 case $(srcdir) in \
2528 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2529 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2530 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2531 esac; \
2532 srcdiroption="--srcdir=$${topdir}/flex"; \
2533 libsrcdir="$$s/flex"; \
2534 rm -f no-such-file || : ; \
2535 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2536 $(BUILD_CONFIGARGS) $${srcdiroption} \
2537 || exit 1
2538 @endif build-flex
2544 .PHONY: all-build-flex maybe-all-build-flex
2545 maybe-all-build-flex:
2546 @if gcc-bootstrap
2547 all-build-flex: stage_current
2548 @endif gcc-bootstrap
2549 @if build-flex
2550 TARGET-build-flex=all
2551 maybe-all-build-flex: all-build-flex
2552 all-build-flex: configure-build-flex
2553 @: $(MAKE); $(unstage)
2554 @r=`${PWD_COMMAND}`; export r; \
2555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2556 $(BUILD_EXPORTS) \
2557 (cd $(BUILD_SUBDIR)/flex && \
2558 $(MAKE) $(TARGET-build-flex))
2559 @endif build-flex
2565 .PHONY: configure-build-m4 maybe-configure-build-m4
2566 maybe-configure-build-m4:
2567 @if gcc-bootstrap
2568 configure-build-m4: stage_current
2569 @endif gcc-bootstrap
2570 @if build-m4
2571 maybe-configure-build-m4: configure-build-m4
2572 configure-build-m4:
2573 @: $(MAKE); $(unstage)
2574 @r=`${PWD_COMMAND}`; export r; \
2575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2576 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2577 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2578 $(BUILD_EXPORTS) \
2579 echo Configuring in $(BUILD_SUBDIR)/m4; \
2580 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2581 case $(srcdir) in \
2582 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2583 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2584 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2585 esac; \
2586 srcdiroption="--srcdir=$${topdir}/m4"; \
2587 libsrcdir="$$s/m4"; \
2588 rm -f no-such-file || : ; \
2589 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2590 $(BUILD_CONFIGARGS) $${srcdiroption} \
2591 || exit 1
2592 @endif build-m4
2598 .PHONY: all-build-m4 maybe-all-build-m4
2599 maybe-all-build-m4:
2600 @if gcc-bootstrap
2601 all-build-m4: stage_current
2602 @endif gcc-bootstrap
2603 @if build-m4
2604 TARGET-build-m4=all
2605 maybe-all-build-m4: all-build-m4
2606 all-build-m4: configure-build-m4
2607 @: $(MAKE); $(unstage)
2608 @r=`${PWD_COMMAND}`; export r; \
2609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2610 $(BUILD_EXPORTS) \
2611 (cd $(BUILD_SUBDIR)/m4 && \
2612 $(MAKE) $(TARGET-build-m4))
2613 @endif build-m4
2619 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2620 maybe-configure-build-texinfo:
2621 @if gcc-bootstrap
2622 configure-build-texinfo: stage_current
2623 @endif gcc-bootstrap
2624 @if build-texinfo
2625 maybe-configure-build-texinfo: configure-build-texinfo
2626 configure-build-texinfo:
2627 @: $(MAKE); $(unstage)
2628 @r=`${PWD_COMMAND}`; export r; \
2629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2630 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2631 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2632 $(BUILD_EXPORTS) \
2633 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2634 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2635 case $(srcdir) in \
2636 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2637 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2638 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2639 esac; \
2640 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2641 libsrcdir="$$s/texinfo"; \
2642 rm -f no-such-file || : ; \
2643 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2644 $(BUILD_CONFIGARGS) $${srcdiroption} \
2645 || exit 1
2646 @endif build-texinfo
2652 .PHONY: all-build-texinfo maybe-all-build-texinfo
2653 maybe-all-build-texinfo:
2654 @if gcc-bootstrap
2655 all-build-texinfo: stage_current
2656 @endif gcc-bootstrap
2657 @if build-texinfo
2658 TARGET-build-texinfo=all
2659 maybe-all-build-texinfo: all-build-texinfo
2660 all-build-texinfo: configure-build-texinfo
2661 @: $(MAKE); $(unstage)
2662 @r=`${PWD_COMMAND}`; export r; \
2663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2664 $(BUILD_EXPORTS) \
2665 (cd $(BUILD_SUBDIR)/texinfo && \
2666 $(MAKE) $(TARGET-build-texinfo))
2667 @endif build-texinfo
2673 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2674 maybe-configure-build-fixincludes:
2675 @if gcc-bootstrap
2676 configure-build-fixincludes: stage_current
2677 @endif gcc-bootstrap
2678 @if build-fixincludes
2679 maybe-configure-build-fixincludes: configure-build-fixincludes
2680 configure-build-fixincludes:
2681 @: $(MAKE); $(unstage)
2682 @r=`${PWD_COMMAND}`; export r; \
2683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2684 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2685 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2686 $(BUILD_EXPORTS) \
2687 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2688 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2689 case $(srcdir) in \
2690 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2691 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2692 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2693 esac; \
2694 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2695 libsrcdir="$$s/fixincludes"; \
2696 rm -f no-such-file || : ; \
2697 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2698 $(BUILD_CONFIGARGS) $${srcdiroption} \
2699 || exit 1
2700 @endif build-fixincludes
2706 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2707 maybe-all-build-fixincludes:
2708 @if gcc-bootstrap
2709 all-build-fixincludes: stage_current
2710 @endif gcc-bootstrap
2711 @if build-fixincludes
2712 TARGET-build-fixincludes=all
2713 maybe-all-build-fixincludes: all-build-fixincludes
2714 all-build-fixincludes: configure-build-fixincludes
2715 @: $(MAKE); $(unstage)
2716 @r=`${PWD_COMMAND}`; export r; \
2717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2718 $(BUILD_EXPORTS) \
2719 (cd $(BUILD_SUBDIR)/fixincludes && \
2720 $(MAKE) $(TARGET-build-fixincludes))
2721 @endif build-fixincludes
2727 # --------------------------------------
2728 # Modules which run on the host machine
2729 # --------------------------------------
2732 .PHONY: configure-ash maybe-configure-ash
2733 maybe-configure-ash:
2734 @if gcc-bootstrap
2735 configure-ash: stage_current
2736 @endif gcc-bootstrap
2737 @if ash
2738 maybe-configure-ash: configure-ash
2739 configure-ash:
2740 @: $(MAKE); $(unstage)
2741 @r=`${PWD_COMMAND}`; export r; \
2742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2743 test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2744 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2745 $(HOST_EXPORTS) \
2746 echo Configuring in $(HOST_SUBDIR)/ash; \
2747 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2748 case $(srcdir) in \
2749 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2750 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2751 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2752 esac; \
2753 srcdiroption="--srcdir=$${topdir}/ash"; \
2754 libsrcdir="$$s/ash"; \
2755 $(SHELL) $${libsrcdir}/configure \
2756 $(HOST_CONFIGARGS) $${srcdiroption} \
2757 || exit 1
2758 @endif ash
2764 .PHONY: all-ash maybe-all-ash
2765 maybe-all-ash:
2766 @if gcc-bootstrap
2767 all-ash: stage_current
2768 @endif gcc-bootstrap
2769 @if ash
2770 TARGET-ash=all
2771 maybe-all-ash: all-ash
2772 all-ash: configure-ash
2773 @: $(MAKE); $(unstage)
2774 @r=`${PWD_COMMAND}`; export r; \
2775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2776 $(HOST_EXPORTS) \
2777 (cd $(HOST_SUBDIR)/ash && \
2778 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2779 @endif ash
2784 .PHONY: check-ash maybe-check-ash
2785 maybe-check-ash:
2786 @if ash
2787 maybe-check-ash: check-ash
2789 check-ash:
2790 @: $(MAKE); $(unstage)
2791 @r=`${PWD_COMMAND}`; export r; \
2792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2793 $(HOST_EXPORTS) \
2794 (cd $(HOST_SUBDIR)/ash && \
2795 $(MAKE) $(FLAGS_TO_PASS) check)
2797 @endif ash
2799 .PHONY: install-ash maybe-install-ash
2800 maybe-install-ash:
2801 @if ash
2802 maybe-install-ash: install-ash
2804 install-ash: installdirs
2805 @: $(MAKE); $(unstage)
2806 @r=`${PWD_COMMAND}`; export r; \
2807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2808 $(HOST_EXPORTS) \
2809 (cd $(HOST_SUBDIR)/ash && \
2810 $(MAKE) $(FLAGS_TO_PASS) install)
2812 @endif ash
2814 # Other targets (info, dvi, etc.)
2816 .PHONY: maybe-info-ash info-ash
2817 maybe-info-ash:
2818 @if ash
2819 maybe-info-ash: info-ash
2821 info-ash: \
2822 configure-ash
2823 @: $(MAKE); $(unstage)
2824 @[ -f ./ash/Makefile ] || exit 0; \
2825 r=`${PWD_COMMAND}`; export r; \
2826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2827 $(HOST_EXPORTS) \
2828 for flag in $(EXTRA_HOST_FLAGS) ; do \
2829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2830 done; \
2831 echo "Doing info in ash" ; \
2832 (cd $(HOST_SUBDIR)/ash && \
2833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2835 "RANLIB=$${RANLIB}" \
2836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2837 info) \
2838 || exit 1
2840 @endif ash
2842 .PHONY: maybe-dvi-ash dvi-ash
2843 maybe-dvi-ash:
2844 @if ash
2845 maybe-dvi-ash: dvi-ash
2847 dvi-ash: \
2848 configure-ash
2849 @: $(MAKE); $(unstage)
2850 @[ -f ./ash/Makefile ] || exit 0; \
2851 r=`${PWD_COMMAND}`; export r; \
2852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2853 $(HOST_EXPORTS) \
2854 for flag in $(EXTRA_HOST_FLAGS) ; do \
2855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2856 done; \
2857 echo "Doing dvi in ash" ; \
2858 (cd $(HOST_SUBDIR)/ash && \
2859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2861 "RANLIB=$${RANLIB}" \
2862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2863 dvi) \
2864 || exit 1
2866 @endif ash
2868 .PHONY: maybe-html-ash html-ash
2869 maybe-html-ash:
2870 @if ash
2871 maybe-html-ash: html-ash
2873 html-ash: \
2874 configure-ash
2875 @: $(MAKE); $(unstage)
2876 @[ -f ./ash/Makefile ] || exit 0; \
2877 r=`${PWD_COMMAND}`; export r; \
2878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2879 $(HOST_EXPORTS) \
2880 for flag in $(EXTRA_HOST_FLAGS) ; do \
2881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2882 done; \
2883 echo "Doing html in ash" ; \
2884 (cd $(HOST_SUBDIR)/ash && \
2885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2887 "RANLIB=$${RANLIB}" \
2888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2889 html) \
2890 || exit 1
2892 @endif ash
2894 .PHONY: maybe-TAGS-ash TAGS-ash
2895 maybe-TAGS-ash:
2896 @if ash
2897 maybe-TAGS-ash: TAGS-ash
2899 TAGS-ash: \
2900 configure-ash
2901 @: $(MAKE); $(unstage)
2902 @[ -f ./ash/Makefile ] || exit 0; \
2903 r=`${PWD_COMMAND}`; export r; \
2904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2905 $(HOST_EXPORTS) \
2906 for flag in $(EXTRA_HOST_FLAGS) ; do \
2907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2908 done; \
2909 echo "Doing TAGS in ash" ; \
2910 (cd $(HOST_SUBDIR)/ash && \
2911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2913 "RANLIB=$${RANLIB}" \
2914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2915 TAGS) \
2916 || exit 1
2918 @endif ash
2920 .PHONY: maybe-install-info-ash install-info-ash
2921 maybe-install-info-ash:
2922 @if ash
2923 maybe-install-info-ash: install-info-ash
2925 install-info-ash: \
2926 configure-ash \
2927 info-ash
2928 @: $(MAKE); $(unstage)
2929 @[ -f ./ash/Makefile ] || exit 0; \
2930 r=`${PWD_COMMAND}`; export r; \
2931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2932 $(HOST_EXPORTS) \
2933 for flag in $(EXTRA_HOST_FLAGS) ; do \
2934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2935 done; \
2936 echo "Doing install-info in ash" ; \
2937 (cd $(HOST_SUBDIR)/ash && \
2938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2940 "RANLIB=$${RANLIB}" \
2941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2942 install-info) \
2943 || exit 1
2945 @endif ash
2947 .PHONY: maybe-install-html-ash install-html-ash
2948 maybe-install-html-ash:
2949 @if ash
2950 maybe-install-html-ash: install-html-ash
2952 install-html-ash: \
2953 configure-ash \
2954 html-ash
2955 @: $(MAKE); $(unstage)
2956 @[ -f ./ash/Makefile ] || exit 0; \
2957 r=`${PWD_COMMAND}`; export r; \
2958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2959 $(HOST_EXPORTS) \
2960 for flag in $(EXTRA_HOST_FLAGS) ; do \
2961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2962 done; \
2963 echo "Doing install-html in ash" ; \
2964 (cd $(HOST_SUBDIR)/ash && \
2965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2967 "RANLIB=$${RANLIB}" \
2968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2969 install-html) \
2970 || exit 1
2972 @endif ash
2974 .PHONY: maybe-installcheck-ash installcheck-ash
2975 maybe-installcheck-ash:
2976 @if ash
2977 maybe-installcheck-ash: installcheck-ash
2979 installcheck-ash: \
2980 configure-ash
2981 @: $(MAKE); $(unstage)
2982 @[ -f ./ash/Makefile ] || exit 0; \
2983 r=`${PWD_COMMAND}`; export r; \
2984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2985 $(HOST_EXPORTS) \
2986 for flag in $(EXTRA_HOST_FLAGS) ; do \
2987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2988 done; \
2989 echo "Doing installcheck in ash" ; \
2990 (cd $(HOST_SUBDIR)/ash && \
2991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2993 "RANLIB=$${RANLIB}" \
2994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2995 installcheck) \
2996 || exit 1
2998 @endif ash
3000 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
3001 maybe-mostlyclean-ash:
3002 @if ash
3003 maybe-mostlyclean-ash: mostlyclean-ash
3005 mostlyclean-ash:
3006 @: $(MAKE); $(unstage)
3007 @[ -f ./ash/Makefile ] || exit 0; \
3008 r=`${PWD_COMMAND}`; export r; \
3009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3010 $(HOST_EXPORTS) \
3011 for flag in $(EXTRA_HOST_FLAGS) ; do \
3012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3013 done; \
3014 echo "Doing mostlyclean in ash" ; \
3015 (cd $(HOST_SUBDIR)/ash && \
3016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3018 "RANLIB=$${RANLIB}" \
3019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3020 mostlyclean) \
3021 || exit 1
3023 @endif ash
3025 .PHONY: maybe-clean-ash clean-ash
3026 maybe-clean-ash:
3027 @if ash
3028 maybe-clean-ash: clean-ash
3030 clean-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 clean 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 clean) \
3046 || exit 1
3048 @endif ash
3050 .PHONY: maybe-distclean-ash distclean-ash
3051 maybe-distclean-ash:
3052 @if ash
3053 maybe-distclean-ash: distclean-ash
3055 distclean-ash:
3056 @: $(MAKE); $(unstage)
3057 @[ -f ./ash/Makefile ] || exit 0; \
3058 r=`${PWD_COMMAND}`; export r; \
3059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3060 $(HOST_EXPORTS) \
3061 for flag in $(EXTRA_HOST_FLAGS) ; do \
3062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3063 done; \
3064 echo "Doing distclean in ash" ; \
3065 (cd $(HOST_SUBDIR)/ash && \
3066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3068 "RANLIB=$${RANLIB}" \
3069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3070 distclean) \
3071 || exit 1
3073 @endif ash
3075 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
3076 maybe-maintainer-clean-ash:
3077 @if ash
3078 maybe-maintainer-clean-ash: maintainer-clean-ash
3080 maintainer-clean-ash:
3081 @: $(MAKE); $(unstage)
3082 @[ -f ./ash/Makefile ] || exit 0; \
3083 r=`${PWD_COMMAND}`; export r; \
3084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3085 $(HOST_EXPORTS) \
3086 for flag in $(EXTRA_HOST_FLAGS) ; do \
3087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3088 done; \
3089 echo "Doing maintainer-clean in ash" ; \
3090 (cd $(HOST_SUBDIR)/ash && \
3091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3093 "RANLIB=$${RANLIB}" \
3094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3095 maintainer-clean) \
3096 || exit 1
3098 @endif ash
3102 .PHONY: configure-autoconf maybe-configure-autoconf
3103 maybe-configure-autoconf:
3104 @if gcc-bootstrap
3105 configure-autoconf: stage_current
3106 @endif gcc-bootstrap
3107 @if autoconf
3108 maybe-configure-autoconf: configure-autoconf
3109 configure-autoconf:
3110 @: $(MAKE); $(unstage)
3111 @r=`${PWD_COMMAND}`; export r; \
3112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3113 test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
3114 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
3115 $(HOST_EXPORTS) \
3116 echo Configuring in $(HOST_SUBDIR)/autoconf; \
3117 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
3118 case $(srcdir) in \
3119 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3120 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
3121 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3122 esac; \
3123 srcdiroption="--srcdir=$${topdir}/autoconf"; \
3124 libsrcdir="$$s/autoconf"; \
3125 $(SHELL) $${libsrcdir}/configure \
3126 $(HOST_CONFIGARGS) $${srcdiroption} \
3127 || exit 1
3128 @endif autoconf
3134 .PHONY: all-autoconf maybe-all-autoconf
3135 maybe-all-autoconf:
3136 @if gcc-bootstrap
3137 all-autoconf: stage_current
3138 @endif gcc-bootstrap
3139 @if autoconf
3140 TARGET-autoconf=all
3141 maybe-all-autoconf: all-autoconf
3142 all-autoconf: configure-autoconf
3143 @: $(MAKE); $(unstage)
3144 @r=`${PWD_COMMAND}`; export r; \
3145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3146 $(HOST_EXPORTS) \
3147 (cd $(HOST_SUBDIR)/autoconf && \
3148 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
3149 @endif autoconf
3154 .PHONY: check-autoconf maybe-check-autoconf
3155 maybe-check-autoconf:
3156 @if autoconf
3157 maybe-check-autoconf: check-autoconf
3159 check-autoconf:
3160 @: $(MAKE); $(unstage)
3161 @r=`${PWD_COMMAND}`; export r; \
3162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3163 $(HOST_EXPORTS) \
3164 (cd $(HOST_SUBDIR)/autoconf && \
3165 $(MAKE) $(FLAGS_TO_PASS) check)
3167 @endif autoconf
3169 .PHONY: install-autoconf maybe-install-autoconf
3170 maybe-install-autoconf:
3171 @if autoconf
3172 maybe-install-autoconf: install-autoconf
3174 install-autoconf: installdirs
3175 @: $(MAKE); $(unstage)
3176 @r=`${PWD_COMMAND}`; export r; \
3177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3178 $(HOST_EXPORTS) \
3179 (cd $(HOST_SUBDIR)/autoconf && \
3180 $(MAKE) $(FLAGS_TO_PASS) install)
3182 @endif autoconf
3184 # Other targets (info, dvi, etc.)
3186 .PHONY: maybe-info-autoconf info-autoconf
3187 maybe-info-autoconf:
3188 @if autoconf
3189 maybe-info-autoconf: info-autoconf
3191 info-autoconf: \
3192 configure-autoconf
3193 @: $(MAKE); $(unstage)
3194 @[ -f ./autoconf/Makefile ] || exit 0; \
3195 r=`${PWD_COMMAND}`; export r; \
3196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3197 $(HOST_EXPORTS) \
3198 for flag in $(EXTRA_HOST_FLAGS) ; do \
3199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3200 done; \
3201 echo "Doing info in autoconf" ; \
3202 (cd $(HOST_SUBDIR)/autoconf && \
3203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3205 "RANLIB=$${RANLIB}" \
3206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3207 info) \
3208 || exit 1
3210 @endif autoconf
3212 .PHONY: maybe-dvi-autoconf dvi-autoconf
3213 maybe-dvi-autoconf:
3214 @if autoconf
3215 maybe-dvi-autoconf: dvi-autoconf
3217 dvi-autoconf: \
3218 configure-autoconf
3219 @: $(MAKE); $(unstage)
3220 @[ -f ./autoconf/Makefile ] || exit 0; \
3221 r=`${PWD_COMMAND}`; export r; \
3222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3223 $(HOST_EXPORTS) \
3224 for flag in $(EXTRA_HOST_FLAGS) ; do \
3225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3226 done; \
3227 echo "Doing dvi in autoconf" ; \
3228 (cd $(HOST_SUBDIR)/autoconf && \
3229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3231 "RANLIB=$${RANLIB}" \
3232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3233 dvi) \
3234 || exit 1
3236 @endif autoconf
3238 .PHONY: maybe-html-autoconf html-autoconf
3239 maybe-html-autoconf:
3240 @if autoconf
3241 maybe-html-autoconf: html-autoconf
3243 html-autoconf: \
3244 configure-autoconf
3245 @: $(MAKE); $(unstage)
3246 @[ -f ./autoconf/Makefile ] || exit 0; \
3247 r=`${PWD_COMMAND}`; export r; \
3248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3249 $(HOST_EXPORTS) \
3250 for flag in $(EXTRA_HOST_FLAGS) ; do \
3251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3252 done; \
3253 echo "Doing html in autoconf" ; \
3254 (cd $(HOST_SUBDIR)/autoconf && \
3255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3257 "RANLIB=$${RANLIB}" \
3258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3259 html) \
3260 || exit 1
3262 @endif autoconf
3264 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3265 maybe-TAGS-autoconf:
3266 @if autoconf
3267 maybe-TAGS-autoconf: TAGS-autoconf
3269 TAGS-autoconf: \
3270 configure-autoconf
3271 @: $(MAKE); $(unstage)
3272 @[ -f ./autoconf/Makefile ] || exit 0; \
3273 r=`${PWD_COMMAND}`; export r; \
3274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3275 $(HOST_EXPORTS) \
3276 for flag in $(EXTRA_HOST_FLAGS) ; do \
3277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3278 done; \
3279 echo "Doing TAGS in autoconf" ; \
3280 (cd $(HOST_SUBDIR)/autoconf && \
3281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3283 "RANLIB=$${RANLIB}" \
3284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3285 TAGS) \
3286 || exit 1
3288 @endif autoconf
3290 .PHONY: maybe-install-info-autoconf install-info-autoconf
3291 maybe-install-info-autoconf:
3292 @if autoconf
3293 maybe-install-info-autoconf: install-info-autoconf
3295 install-info-autoconf: \
3296 configure-autoconf \
3297 info-autoconf
3298 @: $(MAKE); $(unstage)
3299 @[ -f ./autoconf/Makefile ] || exit 0; \
3300 r=`${PWD_COMMAND}`; export r; \
3301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3302 $(HOST_EXPORTS) \
3303 for flag in $(EXTRA_HOST_FLAGS) ; do \
3304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3305 done; \
3306 echo "Doing install-info in autoconf" ; \
3307 (cd $(HOST_SUBDIR)/autoconf && \
3308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3310 "RANLIB=$${RANLIB}" \
3311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3312 install-info) \
3313 || exit 1
3315 @endif autoconf
3317 .PHONY: maybe-install-html-autoconf install-html-autoconf
3318 maybe-install-html-autoconf:
3319 @if autoconf
3320 maybe-install-html-autoconf: install-html-autoconf
3322 install-html-autoconf: \
3323 configure-autoconf \
3324 html-autoconf
3325 @: $(MAKE); $(unstage)
3326 @[ -f ./autoconf/Makefile ] || exit 0; \
3327 r=`${PWD_COMMAND}`; export r; \
3328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3329 $(HOST_EXPORTS) \
3330 for flag in $(EXTRA_HOST_FLAGS) ; do \
3331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3332 done; \
3333 echo "Doing install-html in autoconf" ; \
3334 (cd $(HOST_SUBDIR)/autoconf && \
3335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3337 "RANLIB=$${RANLIB}" \
3338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3339 install-html) \
3340 || exit 1
3342 @endif autoconf
3344 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3345 maybe-installcheck-autoconf:
3346 @if autoconf
3347 maybe-installcheck-autoconf: installcheck-autoconf
3349 installcheck-autoconf: \
3350 configure-autoconf
3351 @: $(MAKE); $(unstage)
3352 @[ -f ./autoconf/Makefile ] || exit 0; \
3353 r=`${PWD_COMMAND}`; export r; \
3354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3355 $(HOST_EXPORTS) \
3356 for flag in $(EXTRA_HOST_FLAGS) ; do \
3357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3358 done; \
3359 echo "Doing installcheck in autoconf" ; \
3360 (cd $(HOST_SUBDIR)/autoconf && \
3361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3363 "RANLIB=$${RANLIB}" \
3364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3365 installcheck) \
3366 || exit 1
3368 @endif autoconf
3370 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3371 maybe-mostlyclean-autoconf:
3372 @if autoconf
3373 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3375 mostlyclean-autoconf:
3376 @: $(MAKE); $(unstage)
3377 @[ -f ./autoconf/Makefile ] || exit 0; \
3378 r=`${PWD_COMMAND}`; export r; \
3379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3380 $(HOST_EXPORTS) \
3381 for flag in $(EXTRA_HOST_FLAGS) ; do \
3382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3383 done; \
3384 echo "Doing mostlyclean in autoconf" ; \
3385 (cd $(HOST_SUBDIR)/autoconf && \
3386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3388 "RANLIB=$${RANLIB}" \
3389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3390 mostlyclean) \
3391 || exit 1
3393 @endif autoconf
3395 .PHONY: maybe-clean-autoconf clean-autoconf
3396 maybe-clean-autoconf:
3397 @if autoconf
3398 maybe-clean-autoconf: clean-autoconf
3400 clean-autoconf:
3401 @: $(MAKE); $(unstage)
3402 @[ -f ./autoconf/Makefile ] || exit 0; \
3403 r=`${PWD_COMMAND}`; export r; \
3404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3405 $(HOST_EXPORTS) \
3406 for flag in $(EXTRA_HOST_FLAGS) ; do \
3407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3408 done; \
3409 echo "Doing clean in autoconf" ; \
3410 (cd $(HOST_SUBDIR)/autoconf && \
3411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3413 "RANLIB=$${RANLIB}" \
3414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3415 clean) \
3416 || exit 1
3418 @endif autoconf
3420 .PHONY: maybe-distclean-autoconf distclean-autoconf
3421 maybe-distclean-autoconf:
3422 @if autoconf
3423 maybe-distclean-autoconf: distclean-autoconf
3425 distclean-autoconf:
3426 @: $(MAKE); $(unstage)
3427 @[ -f ./autoconf/Makefile ] || exit 0; \
3428 r=`${PWD_COMMAND}`; export r; \
3429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3430 $(HOST_EXPORTS) \
3431 for flag in $(EXTRA_HOST_FLAGS) ; do \
3432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3433 done; \
3434 echo "Doing distclean in autoconf" ; \
3435 (cd $(HOST_SUBDIR)/autoconf && \
3436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3438 "RANLIB=$${RANLIB}" \
3439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3440 distclean) \
3441 || exit 1
3443 @endif autoconf
3445 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3446 maybe-maintainer-clean-autoconf:
3447 @if autoconf
3448 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3450 maintainer-clean-autoconf:
3451 @: $(MAKE); $(unstage)
3452 @[ -f ./autoconf/Makefile ] || exit 0; \
3453 r=`${PWD_COMMAND}`; export r; \
3454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3455 $(HOST_EXPORTS) \
3456 for flag in $(EXTRA_HOST_FLAGS) ; do \
3457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3458 done; \
3459 echo "Doing maintainer-clean in autoconf" ; \
3460 (cd $(HOST_SUBDIR)/autoconf && \
3461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3463 "RANLIB=$${RANLIB}" \
3464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3465 maintainer-clean) \
3466 || exit 1
3468 @endif autoconf
3472 .PHONY: configure-automake maybe-configure-automake
3473 maybe-configure-automake:
3474 @if gcc-bootstrap
3475 configure-automake: stage_current
3476 @endif gcc-bootstrap
3477 @if automake
3478 maybe-configure-automake: configure-automake
3479 configure-automake:
3480 @: $(MAKE); $(unstage)
3481 @r=`${PWD_COMMAND}`; export r; \
3482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3483 test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3484 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3485 $(HOST_EXPORTS) \
3486 echo Configuring in $(HOST_SUBDIR)/automake; \
3487 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3488 case $(srcdir) in \
3489 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3490 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3491 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3492 esac; \
3493 srcdiroption="--srcdir=$${topdir}/automake"; \
3494 libsrcdir="$$s/automake"; \
3495 $(SHELL) $${libsrcdir}/configure \
3496 $(HOST_CONFIGARGS) $${srcdiroption} \
3497 || exit 1
3498 @endif automake
3504 .PHONY: all-automake maybe-all-automake
3505 maybe-all-automake:
3506 @if gcc-bootstrap
3507 all-automake: stage_current
3508 @endif gcc-bootstrap
3509 @if automake
3510 TARGET-automake=all
3511 maybe-all-automake: all-automake
3512 all-automake: configure-automake
3513 @: $(MAKE); $(unstage)
3514 @r=`${PWD_COMMAND}`; export r; \
3515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3516 $(HOST_EXPORTS) \
3517 (cd $(HOST_SUBDIR)/automake && \
3518 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3519 @endif automake
3524 .PHONY: check-automake maybe-check-automake
3525 maybe-check-automake:
3526 @if automake
3527 maybe-check-automake: check-automake
3529 check-automake:
3530 @: $(MAKE); $(unstage)
3531 @r=`${PWD_COMMAND}`; export r; \
3532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3533 $(HOST_EXPORTS) \
3534 (cd $(HOST_SUBDIR)/automake && \
3535 $(MAKE) $(FLAGS_TO_PASS) check)
3537 @endif automake
3539 .PHONY: install-automake maybe-install-automake
3540 maybe-install-automake:
3541 @if automake
3542 maybe-install-automake: install-automake
3544 install-automake: installdirs
3545 @: $(MAKE); $(unstage)
3546 @r=`${PWD_COMMAND}`; export r; \
3547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3548 $(HOST_EXPORTS) \
3549 (cd $(HOST_SUBDIR)/automake && \
3550 $(MAKE) $(FLAGS_TO_PASS) install)
3552 @endif automake
3554 # Other targets (info, dvi, etc.)
3556 .PHONY: maybe-info-automake info-automake
3557 maybe-info-automake:
3558 @if automake
3559 maybe-info-automake: info-automake
3561 info-automake: \
3562 configure-automake
3563 @: $(MAKE); $(unstage)
3564 @[ -f ./automake/Makefile ] || exit 0; \
3565 r=`${PWD_COMMAND}`; export r; \
3566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3567 $(HOST_EXPORTS) \
3568 for flag in $(EXTRA_HOST_FLAGS) ; do \
3569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3570 done; \
3571 echo "Doing info in automake" ; \
3572 (cd $(HOST_SUBDIR)/automake && \
3573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3575 "RANLIB=$${RANLIB}" \
3576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3577 info) \
3578 || exit 1
3580 @endif automake
3582 .PHONY: maybe-dvi-automake dvi-automake
3583 maybe-dvi-automake:
3584 @if automake
3585 maybe-dvi-automake: dvi-automake
3587 dvi-automake: \
3588 configure-automake
3589 @: $(MAKE); $(unstage)
3590 @[ -f ./automake/Makefile ] || exit 0; \
3591 r=`${PWD_COMMAND}`; export r; \
3592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3593 $(HOST_EXPORTS) \
3594 for flag in $(EXTRA_HOST_FLAGS) ; do \
3595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3596 done; \
3597 echo "Doing dvi in automake" ; \
3598 (cd $(HOST_SUBDIR)/automake && \
3599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3601 "RANLIB=$${RANLIB}" \
3602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3603 dvi) \
3604 || exit 1
3606 @endif automake
3608 .PHONY: maybe-html-automake html-automake
3609 maybe-html-automake:
3610 @if automake
3611 maybe-html-automake: html-automake
3613 html-automake: \
3614 configure-automake
3615 @: $(MAKE); $(unstage)
3616 @[ -f ./automake/Makefile ] || exit 0; \
3617 r=`${PWD_COMMAND}`; export r; \
3618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3619 $(HOST_EXPORTS) \
3620 for flag in $(EXTRA_HOST_FLAGS) ; do \
3621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3622 done; \
3623 echo "Doing html in automake" ; \
3624 (cd $(HOST_SUBDIR)/automake && \
3625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3627 "RANLIB=$${RANLIB}" \
3628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3629 html) \
3630 || exit 1
3632 @endif automake
3634 .PHONY: maybe-TAGS-automake TAGS-automake
3635 maybe-TAGS-automake:
3636 @if automake
3637 maybe-TAGS-automake: TAGS-automake
3639 TAGS-automake: \
3640 configure-automake
3641 @: $(MAKE); $(unstage)
3642 @[ -f ./automake/Makefile ] || exit 0; \
3643 r=`${PWD_COMMAND}`; export r; \
3644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3645 $(HOST_EXPORTS) \
3646 for flag in $(EXTRA_HOST_FLAGS) ; do \
3647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3648 done; \
3649 echo "Doing TAGS in automake" ; \
3650 (cd $(HOST_SUBDIR)/automake && \
3651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3653 "RANLIB=$${RANLIB}" \
3654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3655 TAGS) \
3656 || exit 1
3658 @endif automake
3660 .PHONY: maybe-install-info-automake install-info-automake
3661 maybe-install-info-automake:
3662 @if automake
3663 maybe-install-info-automake: install-info-automake
3665 install-info-automake: \
3666 configure-automake \
3667 info-automake
3668 @: $(MAKE); $(unstage)
3669 @[ -f ./automake/Makefile ] || exit 0; \
3670 r=`${PWD_COMMAND}`; export r; \
3671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3672 $(HOST_EXPORTS) \
3673 for flag in $(EXTRA_HOST_FLAGS) ; do \
3674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3675 done; \
3676 echo "Doing install-info in automake" ; \
3677 (cd $(HOST_SUBDIR)/automake && \
3678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3680 "RANLIB=$${RANLIB}" \
3681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3682 install-info) \
3683 || exit 1
3685 @endif automake
3687 .PHONY: maybe-install-html-automake install-html-automake
3688 maybe-install-html-automake:
3689 @if automake
3690 maybe-install-html-automake: install-html-automake
3692 install-html-automake: \
3693 configure-automake \
3694 html-automake
3695 @: $(MAKE); $(unstage)
3696 @[ -f ./automake/Makefile ] || exit 0; \
3697 r=`${PWD_COMMAND}`; export r; \
3698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3699 $(HOST_EXPORTS) \
3700 for flag in $(EXTRA_HOST_FLAGS) ; do \
3701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3702 done; \
3703 echo "Doing install-html in automake" ; \
3704 (cd $(HOST_SUBDIR)/automake && \
3705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3707 "RANLIB=$${RANLIB}" \
3708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3709 install-html) \
3710 || exit 1
3712 @endif automake
3714 .PHONY: maybe-installcheck-automake installcheck-automake
3715 maybe-installcheck-automake:
3716 @if automake
3717 maybe-installcheck-automake: installcheck-automake
3719 installcheck-automake: \
3720 configure-automake
3721 @: $(MAKE); $(unstage)
3722 @[ -f ./automake/Makefile ] || exit 0; \
3723 r=`${PWD_COMMAND}`; export r; \
3724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3725 $(HOST_EXPORTS) \
3726 for flag in $(EXTRA_HOST_FLAGS) ; do \
3727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3728 done; \
3729 echo "Doing installcheck in automake" ; \
3730 (cd $(HOST_SUBDIR)/automake && \
3731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3733 "RANLIB=$${RANLIB}" \
3734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3735 installcheck) \
3736 || exit 1
3738 @endif automake
3740 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3741 maybe-mostlyclean-automake:
3742 @if automake
3743 maybe-mostlyclean-automake: mostlyclean-automake
3745 mostlyclean-automake:
3746 @: $(MAKE); $(unstage)
3747 @[ -f ./automake/Makefile ] || exit 0; \
3748 r=`${PWD_COMMAND}`; export r; \
3749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3750 $(HOST_EXPORTS) \
3751 for flag in $(EXTRA_HOST_FLAGS) ; do \
3752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3753 done; \
3754 echo "Doing mostlyclean in automake" ; \
3755 (cd $(HOST_SUBDIR)/automake && \
3756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3758 "RANLIB=$${RANLIB}" \
3759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3760 mostlyclean) \
3761 || exit 1
3763 @endif automake
3765 .PHONY: maybe-clean-automake clean-automake
3766 maybe-clean-automake:
3767 @if automake
3768 maybe-clean-automake: clean-automake
3770 clean-automake:
3771 @: $(MAKE); $(unstage)
3772 @[ -f ./automake/Makefile ] || exit 0; \
3773 r=`${PWD_COMMAND}`; export r; \
3774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3775 $(HOST_EXPORTS) \
3776 for flag in $(EXTRA_HOST_FLAGS) ; do \
3777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3778 done; \
3779 echo "Doing clean in automake" ; \
3780 (cd $(HOST_SUBDIR)/automake && \
3781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3783 "RANLIB=$${RANLIB}" \
3784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3785 clean) \
3786 || exit 1
3788 @endif automake
3790 .PHONY: maybe-distclean-automake distclean-automake
3791 maybe-distclean-automake:
3792 @if automake
3793 maybe-distclean-automake: distclean-automake
3795 distclean-automake:
3796 @: $(MAKE); $(unstage)
3797 @[ -f ./automake/Makefile ] || exit 0; \
3798 r=`${PWD_COMMAND}`; export r; \
3799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3800 $(HOST_EXPORTS) \
3801 for flag in $(EXTRA_HOST_FLAGS) ; do \
3802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3803 done; \
3804 echo "Doing distclean in automake" ; \
3805 (cd $(HOST_SUBDIR)/automake && \
3806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3808 "RANLIB=$${RANLIB}" \
3809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3810 distclean) \
3811 || exit 1
3813 @endif automake
3815 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3816 maybe-maintainer-clean-automake:
3817 @if automake
3818 maybe-maintainer-clean-automake: maintainer-clean-automake
3820 maintainer-clean-automake:
3821 @: $(MAKE); $(unstage)
3822 @[ -f ./automake/Makefile ] || exit 0; \
3823 r=`${PWD_COMMAND}`; export r; \
3824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3825 $(HOST_EXPORTS) \
3826 for flag in $(EXTRA_HOST_FLAGS) ; do \
3827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3828 done; \
3829 echo "Doing maintainer-clean in automake" ; \
3830 (cd $(HOST_SUBDIR)/automake && \
3831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3833 "RANLIB=$${RANLIB}" \
3834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3835 maintainer-clean) \
3836 || exit 1
3838 @endif automake
3842 .PHONY: configure-bash maybe-configure-bash
3843 maybe-configure-bash:
3844 @if gcc-bootstrap
3845 configure-bash: stage_current
3846 @endif gcc-bootstrap
3847 @if bash
3848 maybe-configure-bash: configure-bash
3849 configure-bash:
3850 @: $(MAKE); $(unstage)
3851 @r=`${PWD_COMMAND}`; export r; \
3852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3853 test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3854 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3855 $(HOST_EXPORTS) \
3856 echo Configuring in $(HOST_SUBDIR)/bash; \
3857 cd "$(HOST_SUBDIR)/bash" || exit 1; \
3858 case $(srcdir) in \
3859 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3860 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3861 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3862 esac; \
3863 srcdiroption="--srcdir=$${topdir}/bash"; \
3864 libsrcdir="$$s/bash"; \
3865 $(SHELL) $${libsrcdir}/configure \
3866 $(HOST_CONFIGARGS) $${srcdiroption} \
3867 || exit 1
3868 @endif bash
3874 .PHONY: all-bash maybe-all-bash
3875 maybe-all-bash:
3876 @if gcc-bootstrap
3877 all-bash: stage_current
3878 @endif gcc-bootstrap
3879 @if bash
3880 TARGET-bash=all
3881 maybe-all-bash: all-bash
3882 all-bash: configure-bash
3883 @: $(MAKE); $(unstage)
3884 @r=`${PWD_COMMAND}`; export r; \
3885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3886 $(HOST_EXPORTS) \
3887 (cd $(HOST_SUBDIR)/bash && \
3888 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3889 @endif bash
3894 .PHONY: check-bash maybe-check-bash
3895 maybe-check-bash:
3896 @if bash
3897 maybe-check-bash: check-bash
3899 check-bash:
3900 @: $(MAKE); $(unstage)
3901 @r=`${PWD_COMMAND}`; export r; \
3902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3903 $(HOST_EXPORTS) \
3904 (cd $(HOST_SUBDIR)/bash && \
3905 $(MAKE) $(FLAGS_TO_PASS) check)
3907 @endif bash
3909 .PHONY: install-bash maybe-install-bash
3910 maybe-install-bash:
3911 @if bash
3912 maybe-install-bash: install-bash
3914 install-bash: installdirs
3915 @: $(MAKE); $(unstage)
3916 @r=`${PWD_COMMAND}`; export r; \
3917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3918 $(HOST_EXPORTS) \
3919 (cd $(HOST_SUBDIR)/bash && \
3920 $(MAKE) $(FLAGS_TO_PASS) install)
3922 @endif bash
3924 # Other targets (info, dvi, etc.)
3926 .PHONY: maybe-info-bash info-bash
3927 maybe-info-bash:
3928 @if bash
3929 maybe-info-bash: info-bash
3931 info-bash: \
3932 configure-bash
3933 @: $(MAKE); $(unstage)
3934 @[ -f ./bash/Makefile ] || exit 0; \
3935 r=`${PWD_COMMAND}`; export r; \
3936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3937 $(HOST_EXPORTS) \
3938 for flag in $(EXTRA_HOST_FLAGS) ; do \
3939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3940 done; \
3941 echo "Doing info in bash" ; \
3942 (cd $(HOST_SUBDIR)/bash && \
3943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3945 "RANLIB=$${RANLIB}" \
3946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3947 info) \
3948 || exit 1
3950 @endif bash
3952 .PHONY: maybe-dvi-bash dvi-bash
3953 maybe-dvi-bash:
3954 @if bash
3955 maybe-dvi-bash: dvi-bash
3957 dvi-bash: \
3958 configure-bash
3959 @: $(MAKE); $(unstage)
3960 @[ -f ./bash/Makefile ] || exit 0; \
3961 r=`${PWD_COMMAND}`; export r; \
3962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3963 $(HOST_EXPORTS) \
3964 for flag in $(EXTRA_HOST_FLAGS) ; do \
3965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3966 done; \
3967 echo "Doing dvi in bash" ; \
3968 (cd $(HOST_SUBDIR)/bash && \
3969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3971 "RANLIB=$${RANLIB}" \
3972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3973 dvi) \
3974 || exit 1
3976 @endif bash
3978 .PHONY: maybe-html-bash html-bash
3979 maybe-html-bash:
3980 @if bash
3981 maybe-html-bash: html-bash
3983 html-bash: \
3984 configure-bash
3985 @: $(MAKE); $(unstage)
3986 @[ -f ./bash/Makefile ] || exit 0; \
3987 r=`${PWD_COMMAND}`; export r; \
3988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3989 $(HOST_EXPORTS) \
3990 for flag in $(EXTRA_HOST_FLAGS) ; do \
3991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3992 done; \
3993 echo "Doing html in bash" ; \
3994 (cd $(HOST_SUBDIR)/bash && \
3995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3997 "RANLIB=$${RANLIB}" \
3998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3999 html) \
4000 || exit 1
4002 @endif bash
4004 .PHONY: maybe-TAGS-bash TAGS-bash
4005 maybe-TAGS-bash:
4006 @if bash
4007 maybe-TAGS-bash: TAGS-bash
4009 TAGS-bash: \
4010 configure-bash
4011 @: $(MAKE); $(unstage)
4012 @[ -f ./bash/Makefile ] || exit 0; \
4013 r=`${PWD_COMMAND}`; export r; \
4014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4015 $(HOST_EXPORTS) \
4016 for flag in $(EXTRA_HOST_FLAGS) ; do \
4017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4018 done; \
4019 echo "Doing TAGS in bash" ; \
4020 (cd $(HOST_SUBDIR)/bash && \
4021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4023 "RANLIB=$${RANLIB}" \
4024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4025 TAGS) \
4026 || exit 1
4028 @endif bash
4030 .PHONY: maybe-install-info-bash install-info-bash
4031 maybe-install-info-bash:
4032 @if bash
4033 maybe-install-info-bash: install-info-bash
4035 install-info-bash: \
4036 configure-bash \
4037 info-bash
4038 @: $(MAKE); $(unstage)
4039 @[ -f ./bash/Makefile ] || exit 0; \
4040 r=`${PWD_COMMAND}`; export r; \
4041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4042 $(HOST_EXPORTS) \
4043 for flag in $(EXTRA_HOST_FLAGS) ; do \
4044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4045 done; \
4046 echo "Doing install-info in bash" ; \
4047 (cd $(HOST_SUBDIR)/bash && \
4048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4050 "RANLIB=$${RANLIB}" \
4051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4052 install-info) \
4053 || exit 1
4055 @endif bash
4057 .PHONY: maybe-install-html-bash install-html-bash
4058 maybe-install-html-bash:
4059 @if bash
4060 maybe-install-html-bash: install-html-bash
4062 install-html-bash: \
4063 configure-bash \
4064 html-bash
4065 @: $(MAKE); $(unstage)
4066 @[ -f ./bash/Makefile ] || exit 0; \
4067 r=`${PWD_COMMAND}`; export r; \
4068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4069 $(HOST_EXPORTS) \
4070 for flag in $(EXTRA_HOST_FLAGS) ; do \
4071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4072 done; \
4073 echo "Doing install-html in bash" ; \
4074 (cd $(HOST_SUBDIR)/bash && \
4075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4077 "RANLIB=$${RANLIB}" \
4078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4079 install-html) \
4080 || exit 1
4082 @endif bash
4084 .PHONY: maybe-installcheck-bash installcheck-bash
4085 maybe-installcheck-bash:
4086 @if bash
4087 maybe-installcheck-bash: installcheck-bash
4089 installcheck-bash: \
4090 configure-bash
4091 @: $(MAKE); $(unstage)
4092 @[ -f ./bash/Makefile ] || exit 0; \
4093 r=`${PWD_COMMAND}`; export r; \
4094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4095 $(HOST_EXPORTS) \
4096 for flag in $(EXTRA_HOST_FLAGS) ; do \
4097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4098 done; \
4099 echo "Doing installcheck in bash" ; \
4100 (cd $(HOST_SUBDIR)/bash && \
4101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4103 "RANLIB=$${RANLIB}" \
4104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4105 installcheck) \
4106 || exit 1
4108 @endif bash
4110 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
4111 maybe-mostlyclean-bash:
4112 @if bash
4113 maybe-mostlyclean-bash: mostlyclean-bash
4115 mostlyclean-bash:
4116 @: $(MAKE); $(unstage)
4117 @[ -f ./bash/Makefile ] || exit 0; \
4118 r=`${PWD_COMMAND}`; export r; \
4119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4120 $(HOST_EXPORTS) \
4121 for flag in $(EXTRA_HOST_FLAGS) ; do \
4122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4123 done; \
4124 echo "Doing mostlyclean in bash" ; \
4125 (cd $(HOST_SUBDIR)/bash && \
4126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4128 "RANLIB=$${RANLIB}" \
4129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4130 mostlyclean) \
4131 || exit 1
4133 @endif bash
4135 .PHONY: maybe-clean-bash clean-bash
4136 maybe-clean-bash:
4137 @if bash
4138 maybe-clean-bash: clean-bash
4140 clean-bash:
4141 @: $(MAKE); $(unstage)
4142 @[ -f ./bash/Makefile ] || exit 0; \
4143 r=`${PWD_COMMAND}`; export r; \
4144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4145 $(HOST_EXPORTS) \
4146 for flag in $(EXTRA_HOST_FLAGS) ; do \
4147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4148 done; \
4149 echo "Doing clean in bash" ; \
4150 (cd $(HOST_SUBDIR)/bash && \
4151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4153 "RANLIB=$${RANLIB}" \
4154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4155 clean) \
4156 || exit 1
4158 @endif bash
4160 .PHONY: maybe-distclean-bash distclean-bash
4161 maybe-distclean-bash:
4162 @if bash
4163 maybe-distclean-bash: distclean-bash
4165 distclean-bash:
4166 @: $(MAKE); $(unstage)
4167 @[ -f ./bash/Makefile ] || exit 0; \
4168 r=`${PWD_COMMAND}`; export r; \
4169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4170 $(HOST_EXPORTS) \
4171 for flag in $(EXTRA_HOST_FLAGS) ; do \
4172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4173 done; \
4174 echo "Doing distclean in bash" ; \
4175 (cd $(HOST_SUBDIR)/bash && \
4176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4178 "RANLIB=$${RANLIB}" \
4179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4180 distclean) \
4181 || exit 1
4183 @endif bash
4185 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
4186 maybe-maintainer-clean-bash:
4187 @if bash
4188 maybe-maintainer-clean-bash: maintainer-clean-bash
4190 maintainer-clean-bash:
4191 @: $(MAKE); $(unstage)
4192 @[ -f ./bash/Makefile ] || exit 0; \
4193 r=`${PWD_COMMAND}`; export r; \
4194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4195 $(HOST_EXPORTS) \
4196 for flag in $(EXTRA_HOST_FLAGS) ; do \
4197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4198 done; \
4199 echo "Doing maintainer-clean in bash" ; \
4200 (cd $(HOST_SUBDIR)/bash && \
4201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4203 "RANLIB=$${RANLIB}" \
4204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4205 maintainer-clean) \
4206 || exit 1
4208 @endif bash
4212 .PHONY: configure-bfd maybe-configure-bfd
4213 maybe-configure-bfd:
4214 @if gcc-bootstrap
4215 configure-bfd: stage_current
4216 @endif gcc-bootstrap
4217 @if bfd
4218 maybe-configure-bfd: configure-bfd
4219 configure-bfd:
4220 @r=`${PWD_COMMAND}`; export r; \
4221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4222 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4223 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4224 $(HOST_EXPORTS) \
4225 echo Configuring in $(HOST_SUBDIR)/bfd; \
4226 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
4227 case $(srcdir) in \
4228 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4229 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4230 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4231 esac; \
4232 srcdiroption="--srcdir=$${topdir}/bfd"; \
4233 libsrcdir="$$s/bfd"; \
4234 $(SHELL) $${libsrcdir}/configure \
4235 $(HOST_CONFIGARGS) $${srcdiroption} \
4236 || exit 1
4237 @endif bfd
4241 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
4242 maybe-configure-stage1-bfd:
4243 @if bfd-bootstrap
4244 maybe-configure-stage1-bfd: configure-stage1-bfd
4245 configure-stage1-bfd:
4246 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4247 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4248 @r=`${PWD_COMMAND}`; export r; \
4249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4250 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4251 $(HOST_EXPORTS) \
4252 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
4253 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4254 cd $(HOST_SUBDIR)/bfd || exit 1; \
4255 case $(srcdir) in \
4256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4257 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4259 esac; \
4260 srcdiroption="--srcdir=$${topdir}/bfd"; \
4261 libsrcdir="$$s/bfd"; \
4262 $(SHELL) $${libsrcdir}/configure \
4263 $(HOST_CONFIGARGS) $${srcdiroption} \
4264 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4265 @endif bfd-bootstrap
4267 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
4268 maybe-configure-stage2-bfd:
4269 @if bfd-bootstrap
4270 maybe-configure-stage2-bfd: configure-stage2-bfd
4271 configure-stage2-bfd:
4272 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4273 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4274 @r=`${PWD_COMMAND}`; export r; \
4275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4276 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4277 $(HOST_EXPORTS) \
4278 $(POSTSTAGE1_HOST_EXPORTS) \
4279 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4280 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4281 cd $(HOST_SUBDIR)/bfd || exit 1; \
4282 case $(srcdir) in \
4283 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4284 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4285 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4286 esac; \
4287 srcdiroption="--srcdir=$${topdir}/bfd"; \
4288 libsrcdir="$$s/bfd"; \
4289 $(SHELL) $${libsrcdir}/configure \
4290 $(HOST_CONFIGARGS) $${srcdiroption} \
4291 @stage2_werror_flag@
4292 @endif bfd-bootstrap
4294 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
4295 maybe-configure-stage3-bfd:
4296 @if bfd-bootstrap
4297 maybe-configure-stage3-bfd: configure-stage3-bfd
4298 configure-stage3-bfd:
4299 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4300 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4301 @r=`${PWD_COMMAND}`; export r; \
4302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4303 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4304 $(HOST_EXPORTS) \
4305 $(POSTSTAGE1_HOST_EXPORTS) \
4306 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4307 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4308 cd $(HOST_SUBDIR)/bfd || exit 1; \
4309 case $(srcdir) in \
4310 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4311 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4312 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4313 esac; \
4314 srcdiroption="--srcdir=$${topdir}/bfd"; \
4315 libsrcdir="$$s/bfd"; \
4316 $(SHELL) $${libsrcdir}/configure \
4317 $(HOST_CONFIGARGS) $${srcdiroption} \
4318 @stage2_werror_flag@
4319 @endif bfd-bootstrap
4321 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4322 maybe-configure-stage4-bfd:
4323 @if bfd-bootstrap
4324 maybe-configure-stage4-bfd: configure-stage4-bfd
4325 configure-stage4-bfd:
4326 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4327 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4328 @r=`${PWD_COMMAND}`; export r; \
4329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4330 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4331 $(HOST_EXPORTS) \
4332 $(POSTSTAGE1_HOST_EXPORTS) \
4333 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4334 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4335 cd $(HOST_SUBDIR)/bfd || exit 1; \
4336 case $(srcdir) in \
4337 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4338 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4339 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4340 esac; \
4341 srcdiroption="--srcdir=$${topdir}/bfd"; \
4342 libsrcdir="$$s/bfd"; \
4343 $(SHELL) $${libsrcdir}/configure \
4344 $(HOST_CONFIGARGS) $${srcdiroption} \
4345 @stage2_werror_flag@
4346 @endif bfd-bootstrap
4348 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4349 maybe-configure-stageprofile-bfd:
4350 @if bfd-bootstrap
4351 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4352 configure-stageprofile-bfd:
4353 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4354 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4355 @r=`${PWD_COMMAND}`; export r; \
4356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4357 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4358 $(HOST_EXPORTS) \
4359 $(POSTSTAGE1_HOST_EXPORTS) \
4360 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4361 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4362 cd $(HOST_SUBDIR)/bfd || exit 1; \
4363 case $(srcdir) in \
4364 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4365 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4366 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4367 esac; \
4368 srcdiroption="--srcdir=$${topdir}/bfd"; \
4369 libsrcdir="$$s/bfd"; \
4370 $(SHELL) $${libsrcdir}/configure \
4371 $(HOST_CONFIGARGS) $${srcdiroption} \
4372 @stage2_werror_flag@
4373 @endif bfd-bootstrap
4375 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4376 maybe-configure-stagefeedback-bfd:
4377 @if bfd-bootstrap
4378 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4379 configure-stagefeedback-bfd:
4380 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4381 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4382 @r=`${PWD_COMMAND}`; export r; \
4383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4384 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4385 $(HOST_EXPORTS) \
4386 $(POSTSTAGE1_HOST_EXPORTS) \
4387 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4388 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4389 cd $(HOST_SUBDIR)/bfd || exit 1; \
4390 case $(srcdir) in \
4391 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4392 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4393 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4394 esac; \
4395 srcdiroption="--srcdir=$${topdir}/bfd"; \
4396 libsrcdir="$$s/bfd"; \
4397 $(SHELL) $${libsrcdir}/configure \
4398 $(HOST_CONFIGARGS) $${srcdiroption} \
4399 @stage2_werror_flag@
4400 @endif bfd-bootstrap
4406 .PHONY: all-bfd maybe-all-bfd
4407 maybe-all-bfd:
4408 @if gcc-bootstrap
4409 all-bfd: stage_current
4410 @endif gcc-bootstrap
4411 @if bfd
4412 TARGET-bfd=all
4413 maybe-all-bfd: all-bfd
4414 all-bfd: configure-bfd
4415 @r=`${PWD_COMMAND}`; export r; \
4416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4417 $(HOST_EXPORTS) \
4418 (cd $(HOST_SUBDIR)/bfd && \
4419 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4420 @endif bfd
4424 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4425 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4426 maybe-all-stage1-bfd:
4427 maybe-clean-stage1-bfd:
4428 @if bfd-bootstrap
4429 maybe-all-stage1-bfd: all-stage1-bfd
4430 all-stage1: all-stage1-bfd
4431 TARGET-stage1-bfd = $(TARGET-bfd)
4432 all-stage1-bfd: configure-stage1-bfd
4433 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4434 @r=`${PWD_COMMAND}`; export r; \
4435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4436 $(HOST_EXPORTS) \
4437 cd $(HOST_SUBDIR)/bfd && \
4438 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
4439 $(TARGET-stage1-bfd)
4441 maybe-clean-stage1-bfd: clean-stage1-bfd
4442 clean-stage1: clean-stage1-bfd
4443 clean-stage1-bfd:
4444 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \
4445 || exit 0 ; \
4446 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
4447 cd $(HOST_SUBDIR)/bfd && \
4448 $(MAKE) $(FLAGS_TO_PASS) \
4449 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
4450 @endif bfd-bootstrap
4453 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4454 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4455 maybe-all-stage2-bfd:
4456 maybe-clean-stage2-bfd:
4457 @if bfd-bootstrap
4458 maybe-all-stage2-bfd: all-stage2-bfd
4459 all-stage2: all-stage2-bfd
4460 TARGET-stage2-bfd = $(TARGET-bfd)
4461 all-stage2-bfd: configure-stage2-bfd
4462 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4463 @r=`${PWD_COMMAND}`; export r; \
4464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4465 $(HOST_EXPORTS) \
4466 $(POSTSTAGE1_HOST_EXPORTS) \
4467 cd $(HOST_SUBDIR)/bfd && \
4468 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4469 $(TARGET-stage2-bfd)
4471 maybe-clean-stage2-bfd: clean-stage2-bfd
4472 clean-stage2: clean-stage2-bfd
4473 clean-stage2-bfd:
4474 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \
4475 || exit 0 ; \
4476 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
4477 cd $(HOST_SUBDIR)/bfd && \
4478 $(MAKE) $(FLAGS_TO_PASS) \
4479 $(POSTSTAGE1_FLAGS_TO_PASS) \
4480 clean
4481 @endif bfd-bootstrap
4484 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4485 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4486 maybe-all-stage3-bfd:
4487 maybe-clean-stage3-bfd:
4488 @if bfd-bootstrap
4489 maybe-all-stage3-bfd: all-stage3-bfd
4490 all-stage3: all-stage3-bfd
4491 TARGET-stage3-bfd = $(TARGET-bfd)
4492 all-stage3-bfd: configure-stage3-bfd
4493 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4494 @r=`${PWD_COMMAND}`; export r; \
4495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4496 $(HOST_EXPORTS) \
4497 $(POSTSTAGE1_HOST_EXPORTS) \
4498 cd $(HOST_SUBDIR)/bfd && \
4499 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4500 $(TARGET-stage3-bfd)
4502 maybe-clean-stage3-bfd: clean-stage3-bfd
4503 clean-stage3: clean-stage3-bfd
4504 clean-stage3-bfd:
4505 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] \
4506 || exit 0 ; \
4507 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
4508 cd $(HOST_SUBDIR)/bfd && \
4509 $(MAKE) $(FLAGS_TO_PASS) \
4510 $(POSTSTAGE1_FLAGS_TO_PASS) \
4511 clean
4512 @endif bfd-bootstrap
4515 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4516 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4517 maybe-all-stage4-bfd:
4518 maybe-clean-stage4-bfd:
4519 @if bfd-bootstrap
4520 maybe-all-stage4-bfd: all-stage4-bfd
4521 all-stage4: all-stage4-bfd
4522 TARGET-stage4-bfd = $(TARGET-bfd)
4523 all-stage4-bfd: configure-stage4-bfd
4524 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4525 @r=`${PWD_COMMAND}`; export r; \
4526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4527 $(HOST_EXPORTS) \
4528 $(POSTSTAGE1_HOST_EXPORTS) \
4529 cd $(HOST_SUBDIR)/bfd && \
4530 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4531 $(TARGET-stage4-bfd)
4533 maybe-clean-stage4-bfd: clean-stage4-bfd
4534 clean-stage4: clean-stage4-bfd
4535 clean-stage4-bfd:
4536 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] \
4537 || exit 0 ; \
4538 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
4539 cd $(HOST_SUBDIR)/bfd && \
4540 $(MAKE) $(FLAGS_TO_PASS) \
4541 $(POSTSTAGE1_FLAGS_TO_PASS) \
4542 clean
4543 @endif bfd-bootstrap
4546 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4547 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4548 maybe-all-stageprofile-bfd:
4549 maybe-clean-stageprofile-bfd:
4550 @if bfd-bootstrap
4551 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4552 all-stageprofile: all-stageprofile-bfd
4553 TARGET-stageprofile-bfd = $(TARGET-bfd)
4554 all-stageprofile-bfd: configure-stageprofile-bfd
4555 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4556 @r=`${PWD_COMMAND}`; export r; \
4557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4558 $(HOST_EXPORTS) \
4559 $(POSTSTAGE1_HOST_EXPORTS) \
4560 cd $(HOST_SUBDIR)/bfd && \
4561 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4562 $(TARGET-stageprofile-bfd)
4564 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4565 clean-stageprofile: clean-stageprofile-bfd
4566 clean-stageprofile-bfd:
4567 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] \
4568 || exit 0 ; \
4569 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
4570 cd $(HOST_SUBDIR)/bfd && \
4571 $(MAKE) $(FLAGS_TO_PASS) \
4572 $(POSTSTAGE1_FLAGS_TO_PASS) \
4573 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4574 @endif bfd-bootstrap
4577 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4578 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4579 maybe-all-stagefeedback-bfd:
4580 maybe-clean-stagefeedback-bfd:
4581 @if bfd-bootstrap
4582 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4583 all-stagefeedback: all-stagefeedback-bfd
4584 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4585 all-stagefeedback-bfd: configure-stagefeedback-bfd
4586 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4587 @r=`${PWD_COMMAND}`; export r; \
4588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4589 $(HOST_EXPORTS) \
4590 $(POSTSTAGE1_HOST_EXPORTS) \
4591 cd $(HOST_SUBDIR)/bfd && \
4592 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4593 $(TARGET-stagefeedback-bfd)
4595 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4596 clean-stagefeedback: clean-stagefeedback-bfd
4597 clean-stagefeedback-bfd:
4598 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] \
4599 || exit 0 ; \
4600 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
4601 cd $(HOST_SUBDIR)/bfd && \
4602 $(MAKE) $(FLAGS_TO_PASS) \
4603 $(POSTSTAGE1_FLAGS_TO_PASS) \
4604 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4605 @endif bfd-bootstrap
4611 .PHONY: check-bfd maybe-check-bfd
4612 maybe-check-bfd:
4613 @if bfd
4614 maybe-check-bfd: check-bfd
4616 check-bfd:
4617 @: $(MAKE); $(unstage)
4618 @r=`${PWD_COMMAND}`; export r; \
4619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4620 $(HOST_EXPORTS) \
4621 (cd $(HOST_SUBDIR)/bfd && \
4622 $(MAKE) $(FLAGS_TO_PASS) check)
4624 @endif bfd
4626 .PHONY: install-bfd maybe-install-bfd
4627 maybe-install-bfd:
4628 @if bfd
4629 maybe-install-bfd: install-bfd
4631 install-bfd: installdirs
4632 @: $(MAKE); $(unstage)
4633 @r=`${PWD_COMMAND}`; export r; \
4634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4635 $(HOST_EXPORTS) \
4636 (cd $(HOST_SUBDIR)/bfd && \
4637 $(MAKE) $(FLAGS_TO_PASS) install)
4639 @endif bfd
4641 # Other targets (info, dvi, etc.)
4643 .PHONY: maybe-info-bfd info-bfd
4644 maybe-info-bfd:
4645 @if bfd
4646 maybe-info-bfd: info-bfd
4648 info-bfd: \
4649 configure-bfd
4650 @[ -f ./bfd/Makefile ] || exit 0; \
4651 r=`${PWD_COMMAND}`; export r; \
4652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4653 $(HOST_EXPORTS) \
4654 for flag in $(EXTRA_HOST_FLAGS) ; do \
4655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4656 done; \
4657 echo "Doing info in bfd" ; \
4658 (cd $(HOST_SUBDIR)/bfd && \
4659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4661 "RANLIB=$${RANLIB}" \
4662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4663 info) \
4664 || exit 1
4666 @endif bfd
4668 .PHONY: maybe-dvi-bfd dvi-bfd
4669 maybe-dvi-bfd:
4670 @if bfd
4671 maybe-dvi-bfd: dvi-bfd
4673 dvi-bfd: \
4674 configure-bfd
4675 @[ -f ./bfd/Makefile ] || exit 0; \
4676 r=`${PWD_COMMAND}`; export r; \
4677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4678 $(HOST_EXPORTS) \
4679 for flag in $(EXTRA_HOST_FLAGS) ; do \
4680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4681 done; \
4682 echo "Doing dvi in bfd" ; \
4683 (cd $(HOST_SUBDIR)/bfd && \
4684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4686 "RANLIB=$${RANLIB}" \
4687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4688 dvi) \
4689 || exit 1
4691 @endif bfd
4693 .PHONY: maybe-html-bfd html-bfd
4694 maybe-html-bfd:
4695 @if bfd
4696 maybe-html-bfd: html-bfd
4698 html-bfd: \
4699 configure-bfd
4700 @[ -f ./bfd/Makefile ] || exit 0; \
4701 r=`${PWD_COMMAND}`; export r; \
4702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4703 $(HOST_EXPORTS) \
4704 for flag in $(EXTRA_HOST_FLAGS) ; do \
4705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4706 done; \
4707 echo "Doing html in bfd" ; \
4708 (cd $(HOST_SUBDIR)/bfd && \
4709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4711 "RANLIB=$${RANLIB}" \
4712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4713 html) \
4714 || exit 1
4716 @endif bfd
4718 .PHONY: maybe-TAGS-bfd TAGS-bfd
4719 maybe-TAGS-bfd:
4720 @if bfd
4721 maybe-TAGS-bfd: TAGS-bfd
4723 TAGS-bfd: \
4724 configure-bfd
4725 @[ -f ./bfd/Makefile ] || exit 0; \
4726 r=`${PWD_COMMAND}`; export r; \
4727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4728 $(HOST_EXPORTS) \
4729 for flag in $(EXTRA_HOST_FLAGS) ; do \
4730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4731 done; \
4732 echo "Doing TAGS in bfd" ; \
4733 (cd $(HOST_SUBDIR)/bfd && \
4734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4736 "RANLIB=$${RANLIB}" \
4737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4738 TAGS) \
4739 || exit 1
4741 @endif bfd
4743 .PHONY: maybe-install-info-bfd install-info-bfd
4744 maybe-install-info-bfd:
4745 @if bfd
4746 maybe-install-info-bfd: install-info-bfd
4748 install-info-bfd: \
4749 configure-bfd \
4750 info-bfd
4751 @[ -f ./bfd/Makefile ] || exit 0; \
4752 r=`${PWD_COMMAND}`; export r; \
4753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4754 $(HOST_EXPORTS) \
4755 for flag in $(EXTRA_HOST_FLAGS) ; do \
4756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4757 done; \
4758 echo "Doing install-info in bfd" ; \
4759 (cd $(HOST_SUBDIR)/bfd && \
4760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4762 "RANLIB=$${RANLIB}" \
4763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4764 install-info) \
4765 || exit 1
4767 @endif bfd
4769 .PHONY: maybe-install-html-bfd install-html-bfd
4770 maybe-install-html-bfd:
4771 @if bfd
4772 maybe-install-html-bfd: install-html-bfd
4774 install-html-bfd: \
4775 configure-bfd \
4776 html-bfd
4777 @[ -f ./bfd/Makefile ] || exit 0; \
4778 r=`${PWD_COMMAND}`; export r; \
4779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4780 $(HOST_EXPORTS) \
4781 for flag in $(EXTRA_HOST_FLAGS) ; do \
4782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4783 done; \
4784 echo "Doing install-html in bfd" ; \
4785 (cd $(HOST_SUBDIR)/bfd && \
4786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4788 "RANLIB=$${RANLIB}" \
4789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4790 install-html) \
4791 || exit 1
4793 @endif bfd
4795 .PHONY: maybe-installcheck-bfd installcheck-bfd
4796 maybe-installcheck-bfd:
4797 @if bfd
4798 maybe-installcheck-bfd: installcheck-bfd
4800 installcheck-bfd: \
4801 configure-bfd
4802 @[ -f ./bfd/Makefile ] || exit 0; \
4803 r=`${PWD_COMMAND}`; export r; \
4804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4805 $(HOST_EXPORTS) \
4806 for flag in $(EXTRA_HOST_FLAGS) ; do \
4807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4808 done; \
4809 echo "Doing installcheck in bfd" ; \
4810 (cd $(HOST_SUBDIR)/bfd && \
4811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4813 "RANLIB=$${RANLIB}" \
4814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4815 installcheck) \
4816 || exit 1
4818 @endif bfd
4820 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4821 maybe-mostlyclean-bfd:
4822 @if bfd
4823 maybe-mostlyclean-bfd: mostlyclean-bfd
4825 mostlyclean-bfd:
4826 @[ -f ./bfd/Makefile ] || exit 0; \
4827 r=`${PWD_COMMAND}`; export r; \
4828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4829 $(HOST_EXPORTS) \
4830 for flag in $(EXTRA_HOST_FLAGS) ; do \
4831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4832 done; \
4833 echo "Doing mostlyclean in bfd" ; \
4834 (cd $(HOST_SUBDIR)/bfd && \
4835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4837 "RANLIB=$${RANLIB}" \
4838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4839 mostlyclean) \
4840 || exit 1
4842 @endif bfd
4844 .PHONY: maybe-clean-bfd clean-bfd
4845 maybe-clean-bfd:
4846 @if bfd
4847 maybe-clean-bfd: clean-bfd
4849 clean-bfd:
4850 @[ -f ./bfd/Makefile ] || exit 0; \
4851 r=`${PWD_COMMAND}`; export r; \
4852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4853 $(HOST_EXPORTS) \
4854 for flag in $(EXTRA_HOST_FLAGS) ; do \
4855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4856 done; \
4857 echo "Doing clean in bfd" ; \
4858 (cd $(HOST_SUBDIR)/bfd && \
4859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4861 "RANLIB=$${RANLIB}" \
4862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4863 clean) \
4864 || exit 1
4866 @endif bfd
4868 .PHONY: maybe-distclean-bfd distclean-bfd
4869 maybe-distclean-bfd:
4870 @if bfd
4871 maybe-distclean-bfd: distclean-bfd
4873 distclean-bfd:
4874 @[ -f ./bfd/Makefile ] || exit 0; \
4875 r=`${PWD_COMMAND}`; export r; \
4876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4877 $(HOST_EXPORTS) \
4878 for flag in $(EXTRA_HOST_FLAGS) ; do \
4879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4880 done; \
4881 echo "Doing distclean in bfd" ; \
4882 (cd $(HOST_SUBDIR)/bfd && \
4883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4885 "RANLIB=$${RANLIB}" \
4886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4887 distclean) \
4888 || exit 1
4890 @endif bfd
4892 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4893 maybe-maintainer-clean-bfd:
4894 @if bfd
4895 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4897 maintainer-clean-bfd:
4898 @[ -f ./bfd/Makefile ] || exit 0; \
4899 r=`${PWD_COMMAND}`; export r; \
4900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4901 $(HOST_EXPORTS) \
4902 for flag in $(EXTRA_HOST_FLAGS) ; do \
4903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4904 done; \
4905 echo "Doing maintainer-clean in bfd" ; \
4906 (cd $(HOST_SUBDIR)/bfd && \
4907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4909 "RANLIB=$${RANLIB}" \
4910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4911 maintainer-clean) \
4912 || exit 1
4914 @endif bfd
4918 .PHONY: configure-opcodes maybe-configure-opcodes
4919 maybe-configure-opcodes:
4920 @if gcc-bootstrap
4921 configure-opcodes: stage_current
4922 @endif gcc-bootstrap
4923 @if opcodes
4924 maybe-configure-opcodes: configure-opcodes
4925 configure-opcodes:
4926 @r=`${PWD_COMMAND}`; export r; \
4927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4928 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4929 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4930 $(HOST_EXPORTS) \
4931 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4932 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4933 case $(srcdir) in \
4934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4935 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4937 esac; \
4938 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4939 libsrcdir="$$s/opcodes"; \
4940 $(SHELL) $${libsrcdir}/configure \
4941 $(HOST_CONFIGARGS) $${srcdiroption} \
4942 || exit 1
4943 @endif opcodes
4947 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4948 maybe-configure-stage1-opcodes:
4949 @if opcodes-bootstrap
4950 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4951 configure-stage1-opcodes:
4952 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4953 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4954 @r=`${PWD_COMMAND}`; export r; \
4955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4956 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4957 $(HOST_EXPORTS) \
4958 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4959 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4960 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4961 case $(srcdir) in \
4962 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4963 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4964 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4965 esac; \
4966 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4967 libsrcdir="$$s/opcodes"; \
4968 $(SHELL) $${libsrcdir}/configure \
4969 $(HOST_CONFIGARGS) $${srcdiroption} \
4970 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4971 @endif opcodes-bootstrap
4973 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4974 maybe-configure-stage2-opcodes:
4975 @if opcodes-bootstrap
4976 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4977 configure-stage2-opcodes:
4978 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4979 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4980 @r=`${PWD_COMMAND}`; export r; \
4981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4982 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4983 $(HOST_EXPORTS) \
4984 $(POSTSTAGE1_HOST_EXPORTS) \
4985 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4986 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4987 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4988 case $(srcdir) in \
4989 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4990 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4991 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4992 esac; \
4993 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4994 libsrcdir="$$s/opcodes"; \
4995 $(SHELL) $${libsrcdir}/configure \
4996 $(HOST_CONFIGARGS) $${srcdiroption} \
4997 @stage2_werror_flag@
4998 @endif opcodes-bootstrap
5000 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
5001 maybe-configure-stage3-opcodes:
5002 @if opcodes-bootstrap
5003 maybe-configure-stage3-opcodes: configure-stage3-opcodes
5004 configure-stage3-opcodes:
5005 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5006 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5007 @r=`${PWD_COMMAND}`; export r; \
5008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5009 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5010 $(HOST_EXPORTS) \
5011 $(POSTSTAGE1_HOST_EXPORTS) \
5012 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
5013 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5014 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5015 case $(srcdir) in \
5016 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5017 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5018 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5019 esac; \
5020 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5021 libsrcdir="$$s/opcodes"; \
5022 $(SHELL) $${libsrcdir}/configure \
5023 $(HOST_CONFIGARGS) $${srcdiroption} \
5024 @stage2_werror_flag@
5025 @endif opcodes-bootstrap
5027 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
5028 maybe-configure-stage4-opcodes:
5029 @if opcodes-bootstrap
5030 maybe-configure-stage4-opcodes: configure-stage4-opcodes
5031 configure-stage4-opcodes:
5032 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5033 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5034 @r=`${PWD_COMMAND}`; export r; \
5035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5036 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5037 $(HOST_EXPORTS) \
5038 $(POSTSTAGE1_HOST_EXPORTS) \
5039 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
5040 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5041 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5042 case $(srcdir) in \
5043 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5044 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5045 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5046 esac; \
5047 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5048 libsrcdir="$$s/opcodes"; \
5049 $(SHELL) $${libsrcdir}/configure \
5050 $(HOST_CONFIGARGS) $${srcdiroption} \
5051 @stage2_werror_flag@
5052 @endif opcodes-bootstrap
5054 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
5055 maybe-configure-stageprofile-opcodes:
5056 @if opcodes-bootstrap
5057 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
5058 configure-stageprofile-opcodes:
5059 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5060 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5061 @r=`${PWD_COMMAND}`; export r; \
5062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5063 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5064 $(HOST_EXPORTS) \
5065 $(POSTSTAGE1_HOST_EXPORTS) \
5066 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
5067 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5068 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5069 case $(srcdir) in \
5070 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5071 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5072 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5073 esac; \
5074 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5075 libsrcdir="$$s/opcodes"; \
5076 $(SHELL) $${libsrcdir}/configure \
5077 $(HOST_CONFIGARGS) $${srcdiroption} \
5078 @stage2_werror_flag@
5079 @endif opcodes-bootstrap
5081 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
5082 maybe-configure-stagefeedback-opcodes:
5083 @if opcodes-bootstrap
5084 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
5085 configure-stagefeedback-opcodes:
5086 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5087 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5088 @r=`${PWD_COMMAND}`; export r; \
5089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5090 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5091 $(HOST_EXPORTS) \
5092 $(POSTSTAGE1_HOST_EXPORTS) \
5093 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
5094 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5095 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5096 case $(srcdir) in \
5097 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5098 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5099 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5100 esac; \
5101 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5102 libsrcdir="$$s/opcodes"; \
5103 $(SHELL) $${libsrcdir}/configure \
5104 $(HOST_CONFIGARGS) $${srcdiroption} \
5105 @stage2_werror_flag@
5106 @endif opcodes-bootstrap
5112 .PHONY: all-opcodes maybe-all-opcodes
5113 maybe-all-opcodes:
5114 @if gcc-bootstrap
5115 all-opcodes: stage_current
5116 @endif gcc-bootstrap
5117 @if opcodes
5118 TARGET-opcodes=all
5119 maybe-all-opcodes: all-opcodes
5120 all-opcodes: configure-opcodes
5121 @r=`${PWD_COMMAND}`; export r; \
5122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5123 $(HOST_EXPORTS) \
5124 (cd $(HOST_SUBDIR)/opcodes && \
5125 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
5126 @endif opcodes
5130 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
5131 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
5132 maybe-all-stage1-opcodes:
5133 maybe-clean-stage1-opcodes:
5134 @if opcodes-bootstrap
5135 maybe-all-stage1-opcodes: all-stage1-opcodes
5136 all-stage1: all-stage1-opcodes
5137 TARGET-stage1-opcodes = $(TARGET-opcodes)
5138 all-stage1-opcodes: configure-stage1-opcodes
5139 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5140 @r=`${PWD_COMMAND}`; export r; \
5141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5142 $(HOST_EXPORTS) \
5143 cd $(HOST_SUBDIR)/opcodes && \
5144 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
5145 $(TARGET-stage1-opcodes)
5147 maybe-clean-stage1-opcodes: clean-stage1-opcodes
5148 clean-stage1: clean-stage1-opcodes
5149 clean-stage1-opcodes:
5150 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] \
5151 || exit 0 ; \
5152 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
5153 cd $(HOST_SUBDIR)/opcodes && \
5154 $(MAKE) $(FLAGS_TO_PASS) \
5155 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
5156 @endif opcodes-bootstrap
5159 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
5160 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
5161 maybe-all-stage2-opcodes:
5162 maybe-clean-stage2-opcodes:
5163 @if opcodes-bootstrap
5164 maybe-all-stage2-opcodes: all-stage2-opcodes
5165 all-stage2: all-stage2-opcodes
5166 TARGET-stage2-opcodes = $(TARGET-opcodes)
5167 all-stage2-opcodes: configure-stage2-opcodes
5168 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5169 @r=`${PWD_COMMAND}`; export r; \
5170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5171 $(HOST_EXPORTS) \
5172 $(POSTSTAGE1_HOST_EXPORTS) \
5173 cd $(HOST_SUBDIR)/opcodes && \
5174 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5175 $(TARGET-stage2-opcodes)
5177 maybe-clean-stage2-opcodes: clean-stage2-opcodes
5178 clean-stage2: clean-stage2-opcodes
5179 clean-stage2-opcodes:
5180 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] \
5181 || exit 0 ; \
5182 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
5183 cd $(HOST_SUBDIR)/opcodes && \
5184 $(MAKE) $(FLAGS_TO_PASS) \
5185 $(POSTSTAGE1_FLAGS_TO_PASS) \
5186 clean
5187 @endif opcodes-bootstrap
5190 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
5191 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
5192 maybe-all-stage3-opcodes:
5193 maybe-clean-stage3-opcodes:
5194 @if opcodes-bootstrap
5195 maybe-all-stage3-opcodes: all-stage3-opcodes
5196 all-stage3: all-stage3-opcodes
5197 TARGET-stage3-opcodes = $(TARGET-opcodes)
5198 all-stage3-opcodes: configure-stage3-opcodes
5199 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5200 @r=`${PWD_COMMAND}`; export r; \
5201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5202 $(HOST_EXPORTS) \
5203 $(POSTSTAGE1_HOST_EXPORTS) \
5204 cd $(HOST_SUBDIR)/opcodes && \
5205 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5206 $(TARGET-stage3-opcodes)
5208 maybe-clean-stage3-opcodes: clean-stage3-opcodes
5209 clean-stage3: clean-stage3-opcodes
5210 clean-stage3-opcodes:
5211 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] \
5212 || exit 0 ; \
5213 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
5214 cd $(HOST_SUBDIR)/opcodes && \
5215 $(MAKE) $(FLAGS_TO_PASS) \
5216 $(POSTSTAGE1_FLAGS_TO_PASS) \
5217 clean
5218 @endif opcodes-bootstrap
5221 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
5222 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
5223 maybe-all-stage4-opcodes:
5224 maybe-clean-stage4-opcodes:
5225 @if opcodes-bootstrap
5226 maybe-all-stage4-opcodes: all-stage4-opcodes
5227 all-stage4: all-stage4-opcodes
5228 TARGET-stage4-opcodes = $(TARGET-opcodes)
5229 all-stage4-opcodes: configure-stage4-opcodes
5230 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5231 @r=`${PWD_COMMAND}`; export r; \
5232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5233 $(HOST_EXPORTS) \
5234 $(POSTSTAGE1_HOST_EXPORTS) \
5235 cd $(HOST_SUBDIR)/opcodes && \
5236 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5237 $(TARGET-stage4-opcodes)
5239 maybe-clean-stage4-opcodes: clean-stage4-opcodes
5240 clean-stage4: clean-stage4-opcodes
5241 clean-stage4-opcodes:
5242 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] \
5243 || exit 0 ; \
5244 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
5245 cd $(HOST_SUBDIR)/opcodes && \
5246 $(MAKE) $(FLAGS_TO_PASS) \
5247 $(POSTSTAGE1_FLAGS_TO_PASS) \
5248 clean
5249 @endif opcodes-bootstrap
5252 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
5253 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
5254 maybe-all-stageprofile-opcodes:
5255 maybe-clean-stageprofile-opcodes:
5256 @if opcodes-bootstrap
5257 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
5258 all-stageprofile: all-stageprofile-opcodes
5259 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
5260 all-stageprofile-opcodes: configure-stageprofile-opcodes
5261 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5262 @r=`${PWD_COMMAND}`; export r; \
5263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5264 $(HOST_EXPORTS) \
5265 $(POSTSTAGE1_HOST_EXPORTS) \
5266 cd $(HOST_SUBDIR)/opcodes && \
5267 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5268 $(TARGET-stageprofile-opcodes)
5270 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
5271 clean-stageprofile: clean-stageprofile-opcodes
5272 clean-stageprofile-opcodes:
5273 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] \
5274 || exit 0 ; \
5275 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
5276 cd $(HOST_SUBDIR)/opcodes && \
5277 $(MAKE) $(FLAGS_TO_PASS) \
5278 $(POSTSTAGE1_FLAGS_TO_PASS) \
5279 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5280 @endif opcodes-bootstrap
5283 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
5284 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
5285 maybe-all-stagefeedback-opcodes:
5286 maybe-clean-stagefeedback-opcodes:
5287 @if opcodes-bootstrap
5288 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
5289 all-stagefeedback: all-stagefeedback-opcodes
5290 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
5291 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
5292 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5293 @r=`${PWD_COMMAND}`; export r; \
5294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5295 $(HOST_EXPORTS) \
5296 $(POSTSTAGE1_HOST_EXPORTS) \
5297 cd $(HOST_SUBDIR)/opcodes && \
5298 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5299 $(TARGET-stagefeedback-opcodes)
5301 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5302 clean-stagefeedback: clean-stagefeedback-opcodes
5303 clean-stagefeedback-opcodes:
5304 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] \
5305 || exit 0 ; \
5306 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
5307 cd $(HOST_SUBDIR)/opcodes && \
5308 $(MAKE) $(FLAGS_TO_PASS) \
5309 $(POSTSTAGE1_FLAGS_TO_PASS) \
5310 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5311 @endif opcodes-bootstrap
5317 .PHONY: check-opcodes maybe-check-opcodes
5318 maybe-check-opcodes:
5319 @if opcodes
5320 maybe-check-opcodes: check-opcodes
5322 check-opcodes:
5323 @: $(MAKE); $(unstage)
5324 @r=`${PWD_COMMAND}`; export r; \
5325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5326 $(HOST_EXPORTS) \
5327 (cd $(HOST_SUBDIR)/opcodes && \
5328 $(MAKE) $(FLAGS_TO_PASS) check)
5330 @endif opcodes
5332 .PHONY: install-opcodes maybe-install-opcodes
5333 maybe-install-opcodes:
5334 @if opcodes
5335 maybe-install-opcodes: install-opcodes
5337 install-opcodes: installdirs
5338 @: $(MAKE); $(unstage)
5339 @r=`${PWD_COMMAND}`; export r; \
5340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5341 $(HOST_EXPORTS) \
5342 (cd $(HOST_SUBDIR)/opcodes && \
5343 $(MAKE) $(FLAGS_TO_PASS) install)
5345 @endif opcodes
5347 # Other targets (info, dvi, etc.)
5349 .PHONY: maybe-info-opcodes info-opcodes
5350 maybe-info-opcodes:
5351 @if opcodes
5352 maybe-info-opcodes: info-opcodes
5354 info-opcodes: \
5355 configure-opcodes
5356 @[ -f ./opcodes/Makefile ] || exit 0; \
5357 r=`${PWD_COMMAND}`; export r; \
5358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5359 $(HOST_EXPORTS) \
5360 for flag in $(EXTRA_HOST_FLAGS) ; do \
5361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5362 done; \
5363 echo "Doing info in opcodes" ; \
5364 (cd $(HOST_SUBDIR)/opcodes && \
5365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5367 "RANLIB=$${RANLIB}" \
5368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5369 info) \
5370 || exit 1
5372 @endif opcodes
5374 .PHONY: maybe-dvi-opcodes dvi-opcodes
5375 maybe-dvi-opcodes:
5376 @if opcodes
5377 maybe-dvi-opcodes: dvi-opcodes
5379 dvi-opcodes: \
5380 configure-opcodes
5381 @[ -f ./opcodes/Makefile ] || exit 0; \
5382 r=`${PWD_COMMAND}`; export r; \
5383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5384 $(HOST_EXPORTS) \
5385 for flag in $(EXTRA_HOST_FLAGS) ; do \
5386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5387 done; \
5388 echo "Doing dvi in opcodes" ; \
5389 (cd $(HOST_SUBDIR)/opcodes && \
5390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5392 "RANLIB=$${RANLIB}" \
5393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5394 dvi) \
5395 || exit 1
5397 @endif opcodes
5399 .PHONY: maybe-html-opcodes html-opcodes
5400 maybe-html-opcodes:
5401 @if opcodes
5402 maybe-html-opcodes: html-opcodes
5404 html-opcodes: \
5405 configure-opcodes
5406 @[ -f ./opcodes/Makefile ] || exit 0; \
5407 r=`${PWD_COMMAND}`; export r; \
5408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5409 $(HOST_EXPORTS) \
5410 for flag in $(EXTRA_HOST_FLAGS) ; do \
5411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5412 done; \
5413 echo "Doing html in opcodes" ; \
5414 (cd $(HOST_SUBDIR)/opcodes && \
5415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5417 "RANLIB=$${RANLIB}" \
5418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5419 html) \
5420 || exit 1
5422 @endif opcodes
5424 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5425 maybe-TAGS-opcodes:
5426 @if opcodes
5427 maybe-TAGS-opcodes: TAGS-opcodes
5429 TAGS-opcodes: \
5430 configure-opcodes
5431 @[ -f ./opcodes/Makefile ] || exit 0; \
5432 r=`${PWD_COMMAND}`; export r; \
5433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5434 $(HOST_EXPORTS) \
5435 for flag in $(EXTRA_HOST_FLAGS) ; do \
5436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5437 done; \
5438 echo "Doing TAGS in opcodes" ; \
5439 (cd $(HOST_SUBDIR)/opcodes && \
5440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5442 "RANLIB=$${RANLIB}" \
5443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5444 TAGS) \
5445 || exit 1
5447 @endif opcodes
5449 .PHONY: maybe-install-info-opcodes install-info-opcodes
5450 maybe-install-info-opcodes:
5451 @if opcodes
5452 maybe-install-info-opcodes: install-info-opcodes
5454 install-info-opcodes: \
5455 configure-opcodes \
5456 info-opcodes
5457 @[ -f ./opcodes/Makefile ] || exit 0; \
5458 r=`${PWD_COMMAND}`; export r; \
5459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5460 $(HOST_EXPORTS) \
5461 for flag in $(EXTRA_HOST_FLAGS) ; do \
5462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5463 done; \
5464 echo "Doing install-info in opcodes" ; \
5465 (cd $(HOST_SUBDIR)/opcodes && \
5466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5468 "RANLIB=$${RANLIB}" \
5469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5470 install-info) \
5471 || exit 1
5473 @endif opcodes
5475 .PHONY: maybe-install-html-opcodes install-html-opcodes
5476 maybe-install-html-opcodes:
5477 @if opcodes
5478 maybe-install-html-opcodes: install-html-opcodes
5480 install-html-opcodes: \
5481 configure-opcodes \
5482 html-opcodes
5483 @[ -f ./opcodes/Makefile ] || exit 0; \
5484 r=`${PWD_COMMAND}`; export r; \
5485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5486 $(HOST_EXPORTS) \
5487 for flag in $(EXTRA_HOST_FLAGS) ; do \
5488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5489 done; \
5490 echo "Doing install-html in opcodes" ; \
5491 (cd $(HOST_SUBDIR)/opcodes && \
5492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5494 "RANLIB=$${RANLIB}" \
5495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5496 install-html) \
5497 || exit 1
5499 @endif opcodes
5501 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5502 maybe-installcheck-opcodes:
5503 @if opcodes
5504 maybe-installcheck-opcodes: installcheck-opcodes
5506 installcheck-opcodes: \
5507 configure-opcodes
5508 @[ -f ./opcodes/Makefile ] || exit 0; \
5509 r=`${PWD_COMMAND}`; export r; \
5510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5511 $(HOST_EXPORTS) \
5512 for flag in $(EXTRA_HOST_FLAGS) ; do \
5513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5514 done; \
5515 echo "Doing installcheck in opcodes" ; \
5516 (cd $(HOST_SUBDIR)/opcodes && \
5517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5519 "RANLIB=$${RANLIB}" \
5520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5521 installcheck) \
5522 || exit 1
5524 @endif opcodes
5526 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5527 maybe-mostlyclean-opcodes:
5528 @if opcodes
5529 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5531 mostlyclean-opcodes:
5532 @[ -f ./opcodes/Makefile ] || exit 0; \
5533 r=`${PWD_COMMAND}`; export r; \
5534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5535 $(HOST_EXPORTS) \
5536 for flag in $(EXTRA_HOST_FLAGS) ; do \
5537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5538 done; \
5539 echo "Doing mostlyclean in opcodes" ; \
5540 (cd $(HOST_SUBDIR)/opcodes && \
5541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5543 "RANLIB=$${RANLIB}" \
5544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5545 mostlyclean) \
5546 || exit 1
5548 @endif opcodes
5550 .PHONY: maybe-clean-opcodes clean-opcodes
5551 maybe-clean-opcodes:
5552 @if opcodes
5553 maybe-clean-opcodes: clean-opcodes
5555 clean-opcodes:
5556 @[ -f ./opcodes/Makefile ] || exit 0; \
5557 r=`${PWD_COMMAND}`; export r; \
5558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5559 $(HOST_EXPORTS) \
5560 for flag in $(EXTRA_HOST_FLAGS) ; do \
5561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5562 done; \
5563 echo "Doing clean in opcodes" ; \
5564 (cd $(HOST_SUBDIR)/opcodes && \
5565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5567 "RANLIB=$${RANLIB}" \
5568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5569 clean) \
5570 || exit 1
5572 @endif opcodes
5574 .PHONY: maybe-distclean-opcodes distclean-opcodes
5575 maybe-distclean-opcodes:
5576 @if opcodes
5577 maybe-distclean-opcodes: distclean-opcodes
5579 distclean-opcodes:
5580 @[ -f ./opcodes/Makefile ] || exit 0; \
5581 r=`${PWD_COMMAND}`; export r; \
5582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5583 $(HOST_EXPORTS) \
5584 for flag in $(EXTRA_HOST_FLAGS) ; do \
5585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5586 done; \
5587 echo "Doing distclean in opcodes" ; \
5588 (cd $(HOST_SUBDIR)/opcodes && \
5589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5591 "RANLIB=$${RANLIB}" \
5592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5593 distclean) \
5594 || exit 1
5596 @endif opcodes
5598 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5599 maybe-maintainer-clean-opcodes:
5600 @if opcodes
5601 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5603 maintainer-clean-opcodes:
5604 @[ -f ./opcodes/Makefile ] || exit 0; \
5605 r=`${PWD_COMMAND}`; export r; \
5606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5607 $(HOST_EXPORTS) \
5608 for flag in $(EXTRA_HOST_FLAGS) ; do \
5609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5610 done; \
5611 echo "Doing maintainer-clean in opcodes" ; \
5612 (cd $(HOST_SUBDIR)/opcodes && \
5613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5615 "RANLIB=$${RANLIB}" \
5616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5617 maintainer-clean) \
5618 || exit 1
5620 @endif opcodes
5624 .PHONY: configure-binutils maybe-configure-binutils
5625 maybe-configure-binutils:
5626 @if gcc-bootstrap
5627 configure-binutils: stage_current
5628 @endif gcc-bootstrap
5629 @if binutils
5630 maybe-configure-binutils: configure-binutils
5631 configure-binutils:
5632 @r=`${PWD_COMMAND}`; export r; \
5633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5634 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5635 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5636 $(HOST_EXPORTS) \
5637 echo Configuring in $(HOST_SUBDIR)/binutils; \
5638 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5639 case $(srcdir) in \
5640 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5641 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5642 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5643 esac; \
5644 srcdiroption="--srcdir=$${topdir}/binutils"; \
5645 libsrcdir="$$s/binutils"; \
5646 $(SHELL) $${libsrcdir}/configure \
5647 $(HOST_CONFIGARGS) $${srcdiroption} \
5648 || exit 1
5649 @endif binutils
5653 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5654 maybe-configure-stage1-binutils:
5655 @if binutils-bootstrap
5656 maybe-configure-stage1-binutils: configure-stage1-binutils
5657 configure-stage1-binutils:
5658 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5659 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5660 @r=`${PWD_COMMAND}`; export r; \
5661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5662 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5663 $(HOST_EXPORTS) \
5664 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5665 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5666 cd $(HOST_SUBDIR)/binutils || exit 1; \
5667 case $(srcdir) in \
5668 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5669 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5670 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5671 esac; \
5672 srcdiroption="--srcdir=$${topdir}/binutils"; \
5673 libsrcdir="$$s/binutils"; \
5674 $(SHELL) $${libsrcdir}/configure \
5675 $(HOST_CONFIGARGS) $${srcdiroption} \
5676 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5677 @endif binutils-bootstrap
5679 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5680 maybe-configure-stage2-binutils:
5681 @if binutils-bootstrap
5682 maybe-configure-stage2-binutils: configure-stage2-binutils
5683 configure-stage2-binutils:
5684 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5685 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5686 @r=`${PWD_COMMAND}`; export r; \
5687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5688 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5689 $(HOST_EXPORTS) \
5690 $(POSTSTAGE1_HOST_EXPORTS) \
5691 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
5692 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5693 cd $(HOST_SUBDIR)/binutils || exit 1; \
5694 case $(srcdir) in \
5695 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5696 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5697 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5698 esac; \
5699 srcdiroption="--srcdir=$${topdir}/binutils"; \
5700 libsrcdir="$$s/binutils"; \
5701 $(SHELL) $${libsrcdir}/configure \
5702 $(HOST_CONFIGARGS) $${srcdiroption} \
5703 @stage2_werror_flag@
5704 @endif binutils-bootstrap
5706 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5707 maybe-configure-stage3-binutils:
5708 @if binutils-bootstrap
5709 maybe-configure-stage3-binutils: configure-stage3-binutils
5710 configure-stage3-binutils:
5711 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5712 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5713 @r=`${PWD_COMMAND}`; export r; \
5714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5715 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5716 $(HOST_EXPORTS) \
5717 $(POSTSTAGE1_HOST_EXPORTS) \
5718 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
5719 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5720 cd $(HOST_SUBDIR)/binutils || exit 1; \
5721 case $(srcdir) in \
5722 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5723 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5724 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5725 esac; \
5726 srcdiroption="--srcdir=$${topdir}/binutils"; \
5727 libsrcdir="$$s/binutils"; \
5728 $(SHELL) $${libsrcdir}/configure \
5729 $(HOST_CONFIGARGS) $${srcdiroption} \
5730 @stage2_werror_flag@
5731 @endif binutils-bootstrap
5733 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5734 maybe-configure-stage4-binutils:
5735 @if binutils-bootstrap
5736 maybe-configure-stage4-binutils: configure-stage4-binutils
5737 configure-stage4-binutils:
5738 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5739 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5740 @r=`${PWD_COMMAND}`; export r; \
5741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5742 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5743 $(HOST_EXPORTS) \
5744 $(POSTSTAGE1_HOST_EXPORTS) \
5745 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
5746 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5747 cd $(HOST_SUBDIR)/binutils || exit 1; \
5748 case $(srcdir) in \
5749 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5750 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5751 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5752 esac; \
5753 srcdiroption="--srcdir=$${topdir}/binutils"; \
5754 libsrcdir="$$s/binutils"; \
5755 $(SHELL) $${libsrcdir}/configure \
5756 $(HOST_CONFIGARGS) $${srcdiroption} \
5757 @stage2_werror_flag@
5758 @endif binutils-bootstrap
5760 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5761 maybe-configure-stageprofile-binutils:
5762 @if binutils-bootstrap
5763 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5764 configure-stageprofile-binutils:
5765 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5766 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5767 @r=`${PWD_COMMAND}`; export r; \
5768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5769 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5770 $(HOST_EXPORTS) \
5771 $(POSTSTAGE1_HOST_EXPORTS) \
5772 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5773 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5774 cd $(HOST_SUBDIR)/binutils || exit 1; \
5775 case $(srcdir) in \
5776 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5777 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5778 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5779 esac; \
5780 srcdiroption="--srcdir=$${topdir}/binutils"; \
5781 libsrcdir="$$s/binutils"; \
5782 $(SHELL) $${libsrcdir}/configure \
5783 $(HOST_CONFIGARGS) $${srcdiroption} \
5784 @stage2_werror_flag@
5785 @endif binutils-bootstrap
5787 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5788 maybe-configure-stagefeedback-binutils:
5789 @if binutils-bootstrap
5790 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5791 configure-stagefeedback-binutils:
5792 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5793 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5794 @r=`${PWD_COMMAND}`; export r; \
5795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5796 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5797 $(HOST_EXPORTS) \
5798 $(POSTSTAGE1_HOST_EXPORTS) \
5799 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5800 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5801 cd $(HOST_SUBDIR)/binutils || exit 1; \
5802 case $(srcdir) in \
5803 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5804 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5805 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5806 esac; \
5807 srcdiroption="--srcdir=$${topdir}/binutils"; \
5808 libsrcdir="$$s/binutils"; \
5809 $(SHELL) $${libsrcdir}/configure \
5810 $(HOST_CONFIGARGS) $${srcdiroption} \
5811 @stage2_werror_flag@
5812 @endif binutils-bootstrap
5818 .PHONY: all-binutils maybe-all-binutils
5819 maybe-all-binutils:
5820 @if gcc-bootstrap
5821 all-binutils: stage_current
5822 @endif gcc-bootstrap
5823 @if binutils
5824 TARGET-binutils=all
5825 maybe-all-binutils: all-binutils
5826 all-binutils: configure-binutils
5827 @r=`${PWD_COMMAND}`; export r; \
5828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5829 $(HOST_EXPORTS) \
5830 (cd $(HOST_SUBDIR)/binutils && \
5831 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
5832 @endif binutils
5836 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5837 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5838 maybe-all-stage1-binutils:
5839 maybe-clean-stage1-binutils:
5840 @if binutils-bootstrap
5841 maybe-all-stage1-binutils: all-stage1-binutils
5842 all-stage1: all-stage1-binutils
5843 TARGET-stage1-binutils = $(TARGET-binutils)
5844 all-stage1-binutils: configure-stage1-binutils
5845 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5846 @r=`${PWD_COMMAND}`; export r; \
5847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5848 $(HOST_EXPORTS) \
5849 cd $(HOST_SUBDIR)/binutils && \
5850 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
5851 $(TARGET-stage1-binutils)
5853 maybe-clean-stage1-binutils: clean-stage1-binutils
5854 clean-stage1: clean-stage1-binutils
5855 clean-stage1-binutils:
5856 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] \
5857 || exit 0 ; \
5858 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
5859 cd $(HOST_SUBDIR)/binutils && \
5860 $(MAKE) $(FLAGS_TO_PASS) \
5861 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
5862 @endif binutils-bootstrap
5865 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5866 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5867 maybe-all-stage2-binutils:
5868 maybe-clean-stage2-binutils:
5869 @if binutils-bootstrap
5870 maybe-all-stage2-binutils: all-stage2-binutils
5871 all-stage2: all-stage2-binutils
5872 TARGET-stage2-binutils = $(TARGET-binutils)
5873 all-stage2-binutils: configure-stage2-binutils
5874 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5875 @r=`${PWD_COMMAND}`; export r; \
5876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5877 $(HOST_EXPORTS) \
5878 $(POSTSTAGE1_HOST_EXPORTS) \
5879 cd $(HOST_SUBDIR)/binutils && \
5880 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5881 $(TARGET-stage2-binutils)
5883 maybe-clean-stage2-binutils: clean-stage2-binutils
5884 clean-stage2: clean-stage2-binutils
5885 clean-stage2-binutils:
5886 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] \
5887 || exit 0 ; \
5888 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
5889 cd $(HOST_SUBDIR)/binutils && \
5890 $(MAKE) $(FLAGS_TO_PASS) \
5891 $(POSTSTAGE1_FLAGS_TO_PASS) \
5892 clean
5893 @endif binutils-bootstrap
5896 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5897 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5898 maybe-all-stage3-binutils:
5899 maybe-clean-stage3-binutils:
5900 @if binutils-bootstrap
5901 maybe-all-stage3-binutils: all-stage3-binutils
5902 all-stage3: all-stage3-binutils
5903 TARGET-stage3-binutils = $(TARGET-binutils)
5904 all-stage3-binutils: configure-stage3-binutils
5905 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5906 @r=`${PWD_COMMAND}`; export r; \
5907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5908 $(HOST_EXPORTS) \
5909 $(POSTSTAGE1_HOST_EXPORTS) \
5910 cd $(HOST_SUBDIR)/binutils && \
5911 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5912 $(TARGET-stage3-binutils)
5914 maybe-clean-stage3-binutils: clean-stage3-binutils
5915 clean-stage3: clean-stage3-binutils
5916 clean-stage3-binutils:
5917 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] \
5918 || exit 0 ; \
5919 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
5920 cd $(HOST_SUBDIR)/binutils && \
5921 $(MAKE) $(FLAGS_TO_PASS) \
5922 $(POSTSTAGE1_FLAGS_TO_PASS) \
5923 clean
5924 @endif binutils-bootstrap
5927 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5928 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5929 maybe-all-stage4-binutils:
5930 maybe-clean-stage4-binutils:
5931 @if binutils-bootstrap
5932 maybe-all-stage4-binutils: all-stage4-binutils
5933 all-stage4: all-stage4-binutils
5934 TARGET-stage4-binutils = $(TARGET-binutils)
5935 all-stage4-binutils: configure-stage4-binutils
5936 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5937 @r=`${PWD_COMMAND}`; export r; \
5938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5939 $(HOST_EXPORTS) \
5940 $(POSTSTAGE1_HOST_EXPORTS) \
5941 cd $(HOST_SUBDIR)/binutils && \
5942 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5943 $(TARGET-stage4-binutils)
5945 maybe-clean-stage4-binutils: clean-stage4-binutils
5946 clean-stage4: clean-stage4-binutils
5947 clean-stage4-binutils:
5948 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] \
5949 || exit 0 ; \
5950 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
5951 cd $(HOST_SUBDIR)/binutils && \
5952 $(MAKE) $(FLAGS_TO_PASS) \
5953 $(POSTSTAGE1_FLAGS_TO_PASS) \
5954 clean
5955 @endif binutils-bootstrap
5958 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5959 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5960 maybe-all-stageprofile-binutils:
5961 maybe-clean-stageprofile-binutils:
5962 @if binutils-bootstrap
5963 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5964 all-stageprofile: all-stageprofile-binutils
5965 TARGET-stageprofile-binutils = $(TARGET-binutils)
5966 all-stageprofile-binutils: configure-stageprofile-binutils
5967 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5968 @r=`${PWD_COMMAND}`; export r; \
5969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5970 $(HOST_EXPORTS) \
5971 $(POSTSTAGE1_HOST_EXPORTS) \
5972 cd $(HOST_SUBDIR)/binutils && \
5973 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5974 $(TARGET-stageprofile-binutils)
5976 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5977 clean-stageprofile: clean-stageprofile-binutils
5978 clean-stageprofile-binutils:
5979 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] \
5980 || exit 0 ; \
5981 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
5982 cd $(HOST_SUBDIR)/binutils && \
5983 $(MAKE) $(FLAGS_TO_PASS) \
5984 $(POSTSTAGE1_FLAGS_TO_PASS) \
5985 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5986 @endif binutils-bootstrap
5989 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5990 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5991 maybe-all-stagefeedback-binutils:
5992 maybe-clean-stagefeedback-binutils:
5993 @if binutils-bootstrap
5994 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5995 all-stagefeedback: all-stagefeedback-binutils
5996 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5997 all-stagefeedback-binutils: configure-stagefeedback-binutils
5998 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5999 @r=`${PWD_COMMAND}`; export r; \
6000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6001 $(HOST_EXPORTS) \
6002 $(POSTSTAGE1_HOST_EXPORTS) \
6003 cd $(HOST_SUBDIR)/binutils && \
6004 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
6005 $(TARGET-stagefeedback-binutils)
6007 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
6008 clean-stagefeedback: clean-stagefeedback-binutils
6009 clean-stagefeedback-binutils:
6010 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] \
6011 || exit 0 ; \
6012 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
6013 cd $(HOST_SUBDIR)/binutils && \
6014 $(MAKE) $(FLAGS_TO_PASS) \
6015 $(POSTSTAGE1_FLAGS_TO_PASS) \
6016 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
6017 @endif binutils-bootstrap
6023 .PHONY: check-binutils maybe-check-binutils
6024 maybe-check-binutils:
6025 @if binutils
6026 maybe-check-binutils: check-binutils
6028 check-binutils:
6029 @: $(MAKE); $(unstage)
6030 @r=`${PWD_COMMAND}`; export r; \
6031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6032 $(HOST_EXPORTS) \
6033 (cd $(HOST_SUBDIR)/binutils && \
6034 $(MAKE) $(FLAGS_TO_PASS) check)
6036 @endif binutils
6038 .PHONY: install-binutils maybe-install-binutils
6039 maybe-install-binutils:
6040 @if binutils
6041 maybe-install-binutils: install-binutils
6043 install-binutils: installdirs
6044 @: $(MAKE); $(unstage)
6045 @r=`${PWD_COMMAND}`; export r; \
6046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6047 $(HOST_EXPORTS) \
6048 (cd $(HOST_SUBDIR)/binutils && \
6049 $(MAKE) $(FLAGS_TO_PASS) install)
6051 @endif binutils
6053 # Other targets (info, dvi, etc.)
6055 .PHONY: maybe-info-binutils info-binutils
6056 maybe-info-binutils:
6057 @if binutils
6058 maybe-info-binutils: info-binutils
6060 info-binutils: \
6061 configure-binutils
6062 @[ -f ./binutils/Makefile ] || exit 0; \
6063 r=`${PWD_COMMAND}`; export r; \
6064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6065 $(HOST_EXPORTS) \
6066 for flag in $(EXTRA_HOST_FLAGS) ; do \
6067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6068 done; \
6069 echo "Doing info in binutils" ; \
6070 (cd $(HOST_SUBDIR)/binutils && \
6071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6073 "RANLIB=$${RANLIB}" \
6074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6075 info) \
6076 || exit 1
6078 @endif binutils
6080 .PHONY: maybe-dvi-binutils dvi-binutils
6081 maybe-dvi-binutils:
6082 @if binutils
6083 maybe-dvi-binutils: dvi-binutils
6085 dvi-binutils: \
6086 configure-binutils
6087 @[ -f ./binutils/Makefile ] || exit 0; \
6088 r=`${PWD_COMMAND}`; export r; \
6089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6090 $(HOST_EXPORTS) \
6091 for flag in $(EXTRA_HOST_FLAGS) ; do \
6092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6093 done; \
6094 echo "Doing dvi in binutils" ; \
6095 (cd $(HOST_SUBDIR)/binutils && \
6096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6098 "RANLIB=$${RANLIB}" \
6099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6100 dvi) \
6101 || exit 1
6103 @endif binutils
6105 .PHONY: maybe-html-binutils html-binutils
6106 maybe-html-binutils:
6107 @if binutils
6108 maybe-html-binutils: html-binutils
6110 html-binutils: \
6111 configure-binutils
6112 @[ -f ./binutils/Makefile ] || exit 0; \
6113 r=`${PWD_COMMAND}`; export r; \
6114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6115 $(HOST_EXPORTS) \
6116 for flag in $(EXTRA_HOST_FLAGS) ; do \
6117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6118 done; \
6119 echo "Doing html in binutils" ; \
6120 (cd $(HOST_SUBDIR)/binutils && \
6121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6123 "RANLIB=$${RANLIB}" \
6124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6125 html) \
6126 || exit 1
6128 @endif binutils
6130 .PHONY: maybe-TAGS-binutils TAGS-binutils
6131 maybe-TAGS-binutils:
6132 @if binutils
6133 maybe-TAGS-binutils: TAGS-binutils
6135 TAGS-binutils: \
6136 configure-binutils
6137 @[ -f ./binutils/Makefile ] || exit 0; \
6138 r=`${PWD_COMMAND}`; export r; \
6139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6140 $(HOST_EXPORTS) \
6141 for flag in $(EXTRA_HOST_FLAGS) ; do \
6142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6143 done; \
6144 echo "Doing TAGS in binutils" ; \
6145 (cd $(HOST_SUBDIR)/binutils && \
6146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6148 "RANLIB=$${RANLIB}" \
6149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6150 TAGS) \
6151 || exit 1
6153 @endif binutils
6155 .PHONY: maybe-install-info-binutils install-info-binutils
6156 maybe-install-info-binutils:
6157 @if binutils
6158 maybe-install-info-binutils: install-info-binutils
6160 install-info-binutils: \
6161 configure-binutils \
6162 info-binutils
6163 @[ -f ./binutils/Makefile ] || exit 0; \
6164 r=`${PWD_COMMAND}`; export r; \
6165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6166 $(HOST_EXPORTS) \
6167 for flag in $(EXTRA_HOST_FLAGS) ; do \
6168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6169 done; \
6170 echo "Doing install-info in binutils" ; \
6171 (cd $(HOST_SUBDIR)/binutils && \
6172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6174 "RANLIB=$${RANLIB}" \
6175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6176 install-info) \
6177 || exit 1
6179 @endif binutils
6181 .PHONY: maybe-install-html-binutils install-html-binutils
6182 maybe-install-html-binutils:
6183 @if binutils
6184 maybe-install-html-binutils: install-html-binutils
6186 install-html-binutils: \
6187 configure-binutils \
6188 html-binutils
6189 @[ -f ./binutils/Makefile ] || exit 0; \
6190 r=`${PWD_COMMAND}`; export r; \
6191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6192 $(HOST_EXPORTS) \
6193 for flag in $(EXTRA_HOST_FLAGS) ; do \
6194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6195 done; \
6196 echo "Doing install-html in binutils" ; \
6197 (cd $(HOST_SUBDIR)/binutils && \
6198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6200 "RANLIB=$${RANLIB}" \
6201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6202 install-html) \
6203 || exit 1
6205 @endif binutils
6207 .PHONY: maybe-installcheck-binutils installcheck-binutils
6208 maybe-installcheck-binutils:
6209 @if binutils
6210 maybe-installcheck-binutils: installcheck-binutils
6212 installcheck-binutils: \
6213 configure-binutils
6214 @[ -f ./binutils/Makefile ] || exit 0; \
6215 r=`${PWD_COMMAND}`; export r; \
6216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6217 $(HOST_EXPORTS) \
6218 for flag in $(EXTRA_HOST_FLAGS) ; do \
6219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6220 done; \
6221 echo "Doing installcheck in binutils" ; \
6222 (cd $(HOST_SUBDIR)/binutils && \
6223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6225 "RANLIB=$${RANLIB}" \
6226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6227 installcheck) \
6228 || exit 1
6230 @endif binutils
6232 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6233 maybe-mostlyclean-binutils:
6234 @if binutils
6235 maybe-mostlyclean-binutils: mostlyclean-binutils
6237 mostlyclean-binutils:
6238 @[ -f ./binutils/Makefile ] || exit 0; \
6239 r=`${PWD_COMMAND}`; export r; \
6240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6241 $(HOST_EXPORTS) \
6242 for flag in $(EXTRA_HOST_FLAGS) ; do \
6243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6244 done; \
6245 echo "Doing mostlyclean in binutils" ; \
6246 (cd $(HOST_SUBDIR)/binutils && \
6247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6249 "RANLIB=$${RANLIB}" \
6250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6251 mostlyclean) \
6252 || exit 1
6254 @endif binutils
6256 .PHONY: maybe-clean-binutils clean-binutils
6257 maybe-clean-binutils:
6258 @if binutils
6259 maybe-clean-binutils: clean-binutils
6261 clean-binutils:
6262 @[ -f ./binutils/Makefile ] || exit 0; \
6263 r=`${PWD_COMMAND}`; export r; \
6264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6265 $(HOST_EXPORTS) \
6266 for flag in $(EXTRA_HOST_FLAGS) ; do \
6267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6268 done; \
6269 echo "Doing clean in binutils" ; \
6270 (cd $(HOST_SUBDIR)/binutils && \
6271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6273 "RANLIB=$${RANLIB}" \
6274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6275 clean) \
6276 || exit 1
6278 @endif binutils
6280 .PHONY: maybe-distclean-binutils distclean-binutils
6281 maybe-distclean-binutils:
6282 @if binutils
6283 maybe-distclean-binutils: distclean-binutils
6285 distclean-binutils:
6286 @[ -f ./binutils/Makefile ] || exit 0; \
6287 r=`${PWD_COMMAND}`; export r; \
6288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6289 $(HOST_EXPORTS) \
6290 for flag in $(EXTRA_HOST_FLAGS) ; do \
6291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6292 done; \
6293 echo "Doing distclean in binutils" ; \
6294 (cd $(HOST_SUBDIR)/binutils && \
6295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6297 "RANLIB=$${RANLIB}" \
6298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6299 distclean) \
6300 || exit 1
6302 @endif binutils
6304 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6305 maybe-maintainer-clean-binutils:
6306 @if binutils
6307 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6309 maintainer-clean-binutils:
6310 @[ -f ./binutils/Makefile ] || exit 0; \
6311 r=`${PWD_COMMAND}`; export r; \
6312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6313 $(HOST_EXPORTS) \
6314 for flag in $(EXTRA_HOST_FLAGS) ; do \
6315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6316 done; \
6317 echo "Doing maintainer-clean in binutils" ; \
6318 (cd $(HOST_SUBDIR)/binutils && \
6319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6321 "RANLIB=$${RANLIB}" \
6322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6323 maintainer-clean) \
6324 || exit 1
6326 @endif binutils
6330 .PHONY: configure-bison maybe-configure-bison
6331 maybe-configure-bison:
6332 @if gcc-bootstrap
6333 configure-bison: stage_current
6334 @endif gcc-bootstrap
6335 @if bison
6336 maybe-configure-bison: configure-bison
6337 configure-bison:
6338 @: $(MAKE); $(unstage)
6339 @r=`${PWD_COMMAND}`; export r; \
6340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6341 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6342 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
6343 $(HOST_EXPORTS) \
6344 echo Configuring in $(HOST_SUBDIR)/bison; \
6345 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6346 case $(srcdir) in \
6347 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6348 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6349 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6350 esac; \
6351 srcdiroption="--srcdir=$${topdir}/bison"; \
6352 libsrcdir="$$s/bison"; \
6353 $(SHELL) $${libsrcdir}/configure \
6354 $(HOST_CONFIGARGS) $${srcdiroption} \
6355 || exit 1
6356 @endif bison
6362 .PHONY: all-bison maybe-all-bison
6363 maybe-all-bison:
6364 @if gcc-bootstrap
6365 all-bison: stage_current
6366 @endif gcc-bootstrap
6367 @if bison
6368 TARGET-bison=all
6369 maybe-all-bison: all-bison
6370 all-bison: configure-bison
6371 @: $(MAKE); $(unstage)
6372 @r=`${PWD_COMMAND}`; export r; \
6373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6374 $(HOST_EXPORTS) \
6375 (cd $(HOST_SUBDIR)/bison && \
6376 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
6377 @endif bison
6382 .PHONY: check-bison maybe-check-bison
6383 maybe-check-bison:
6384 @if bison
6385 maybe-check-bison: check-bison
6387 # This module is only tested in a native toolchain.
6388 check-bison:
6389 @: $(MAKE); $(unstage)
6390 @if [ '$(host)' = '$(target)' ] ; then \
6391 r=`${PWD_COMMAND}`; export r; \
6392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6393 $(HOST_EXPORTS) \
6394 (cd $(HOST_SUBDIR)/bison && \
6395 $(MAKE) $(FLAGS_TO_PASS) check); \
6398 @endif bison
6400 .PHONY: install-bison maybe-install-bison
6401 maybe-install-bison:
6402 @if bison
6403 maybe-install-bison: install-bison
6405 install-bison: installdirs
6406 @: $(MAKE); $(unstage)
6407 @r=`${PWD_COMMAND}`; export r; \
6408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6409 $(HOST_EXPORTS) \
6410 (cd $(HOST_SUBDIR)/bison && \
6411 $(MAKE) $(FLAGS_TO_PASS) install)
6413 @endif bison
6415 # Other targets (info, dvi, etc.)
6417 .PHONY: maybe-info-bison info-bison
6418 maybe-info-bison:
6419 @if bison
6420 maybe-info-bison: info-bison
6422 info-bison: \
6423 configure-bison
6424 @: $(MAKE); $(unstage)
6425 @[ -f ./bison/Makefile ] || exit 0; \
6426 r=`${PWD_COMMAND}`; export r; \
6427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6428 $(HOST_EXPORTS) \
6429 for flag in $(EXTRA_HOST_FLAGS) ; do \
6430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6431 done; \
6432 echo "Doing info in bison" ; \
6433 (cd $(HOST_SUBDIR)/bison && \
6434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6436 "RANLIB=$${RANLIB}" \
6437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6438 info) \
6439 || exit 1
6441 @endif bison
6443 .PHONY: maybe-dvi-bison dvi-bison
6444 maybe-dvi-bison:
6445 @if bison
6446 maybe-dvi-bison: dvi-bison
6448 dvi-bison: \
6449 configure-bison
6450 @: $(MAKE); $(unstage)
6451 @[ -f ./bison/Makefile ] || exit 0; \
6452 r=`${PWD_COMMAND}`; export r; \
6453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6454 $(HOST_EXPORTS) \
6455 for flag in $(EXTRA_HOST_FLAGS) ; do \
6456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6457 done; \
6458 echo "Doing dvi in bison" ; \
6459 (cd $(HOST_SUBDIR)/bison && \
6460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6462 "RANLIB=$${RANLIB}" \
6463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6464 dvi) \
6465 || exit 1
6467 @endif bison
6469 .PHONY: maybe-html-bison html-bison
6470 maybe-html-bison:
6471 @if bison
6472 maybe-html-bison: html-bison
6474 html-bison: \
6475 configure-bison
6476 @: $(MAKE); $(unstage)
6477 @[ -f ./bison/Makefile ] || exit 0; \
6478 r=`${PWD_COMMAND}`; export r; \
6479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6480 $(HOST_EXPORTS) \
6481 for flag in $(EXTRA_HOST_FLAGS) ; do \
6482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6483 done; \
6484 echo "Doing html in bison" ; \
6485 (cd $(HOST_SUBDIR)/bison && \
6486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6488 "RANLIB=$${RANLIB}" \
6489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6490 html) \
6491 || exit 1
6493 @endif bison
6495 .PHONY: maybe-TAGS-bison TAGS-bison
6496 maybe-TAGS-bison:
6497 @if bison
6498 maybe-TAGS-bison: TAGS-bison
6500 TAGS-bison: \
6501 configure-bison
6502 @: $(MAKE); $(unstage)
6503 @[ -f ./bison/Makefile ] || exit 0; \
6504 r=`${PWD_COMMAND}`; export r; \
6505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6506 $(HOST_EXPORTS) \
6507 for flag in $(EXTRA_HOST_FLAGS) ; do \
6508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6509 done; \
6510 echo "Doing TAGS in bison" ; \
6511 (cd $(HOST_SUBDIR)/bison && \
6512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6514 "RANLIB=$${RANLIB}" \
6515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6516 TAGS) \
6517 || exit 1
6519 @endif bison
6521 .PHONY: maybe-install-info-bison install-info-bison
6522 maybe-install-info-bison:
6523 @if bison
6524 maybe-install-info-bison: install-info-bison
6526 install-info-bison: \
6527 configure-bison \
6528 info-bison
6529 @: $(MAKE); $(unstage)
6530 @[ -f ./bison/Makefile ] || exit 0; \
6531 r=`${PWD_COMMAND}`; export r; \
6532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6533 $(HOST_EXPORTS) \
6534 for flag in $(EXTRA_HOST_FLAGS) ; do \
6535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6536 done; \
6537 echo "Doing install-info in bison" ; \
6538 (cd $(HOST_SUBDIR)/bison && \
6539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6541 "RANLIB=$${RANLIB}" \
6542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6543 install-info) \
6544 || exit 1
6546 @endif bison
6548 .PHONY: maybe-install-html-bison install-html-bison
6549 maybe-install-html-bison:
6550 @if bison
6551 maybe-install-html-bison: install-html-bison
6553 install-html-bison: \
6554 configure-bison \
6555 html-bison
6556 @: $(MAKE); $(unstage)
6557 @[ -f ./bison/Makefile ] || exit 0; \
6558 r=`${PWD_COMMAND}`; export r; \
6559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6560 $(HOST_EXPORTS) \
6561 for flag in $(EXTRA_HOST_FLAGS) ; do \
6562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6563 done; \
6564 echo "Doing install-html in bison" ; \
6565 (cd $(HOST_SUBDIR)/bison && \
6566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6568 "RANLIB=$${RANLIB}" \
6569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6570 install-html) \
6571 || exit 1
6573 @endif bison
6575 .PHONY: maybe-installcheck-bison installcheck-bison
6576 maybe-installcheck-bison:
6577 @if bison
6578 maybe-installcheck-bison: installcheck-bison
6580 installcheck-bison: \
6581 configure-bison
6582 @: $(MAKE); $(unstage)
6583 @[ -f ./bison/Makefile ] || exit 0; \
6584 r=`${PWD_COMMAND}`; export r; \
6585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6586 $(HOST_EXPORTS) \
6587 for flag in $(EXTRA_HOST_FLAGS) ; do \
6588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6589 done; \
6590 echo "Doing installcheck in bison" ; \
6591 (cd $(HOST_SUBDIR)/bison && \
6592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6594 "RANLIB=$${RANLIB}" \
6595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6596 installcheck) \
6597 || exit 1
6599 @endif bison
6601 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6602 maybe-mostlyclean-bison:
6603 @if bison
6604 maybe-mostlyclean-bison: mostlyclean-bison
6606 mostlyclean-bison:
6607 @: $(MAKE); $(unstage)
6608 @[ -f ./bison/Makefile ] || exit 0; \
6609 r=`${PWD_COMMAND}`; export r; \
6610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6611 $(HOST_EXPORTS) \
6612 for flag in $(EXTRA_HOST_FLAGS) ; do \
6613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6614 done; \
6615 echo "Doing mostlyclean in bison" ; \
6616 (cd $(HOST_SUBDIR)/bison && \
6617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6619 "RANLIB=$${RANLIB}" \
6620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6621 mostlyclean) \
6622 || exit 1
6624 @endif bison
6626 .PHONY: maybe-clean-bison clean-bison
6627 maybe-clean-bison:
6628 @if bison
6629 maybe-clean-bison: clean-bison
6631 clean-bison:
6632 @: $(MAKE); $(unstage)
6633 @[ -f ./bison/Makefile ] || exit 0; \
6634 r=`${PWD_COMMAND}`; export r; \
6635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6636 $(HOST_EXPORTS) \
6637 for flag in $(EXTRA_HOST_FLAGS) ; do \
6638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6639 done; \
6640 echo "Doing clean in bison" ; \
6641 (cd $(HOST_SUBDIR)/bison && \
6642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6644 "RANLIB=$${RANLIB}" \
6645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6646 clean) \
6647 || exit 1
6649 @endif bison
6651 .PHONY: maybe-distclean-bison distclean-bison
6652 maybe-distclean-bison:
6653 @if bison
6654 maybe-distclean-bison: distclean-bison
6656 distclean-bison:
6657 @: $(MAKE); $(unstage)
6658 @[ -f ./bison/Makefile ] || exit 0; \
6659 r=`${PWD_COMMAND}`; export r; \
6660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6661 $(HOST_EXPORTS) \
6662 for flag in $(EXTRA_HOST_FLAGS) ; do \
6663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6664 done; \
6665 echo "Doing distclean in bison" ; \
6666 (cd $(HOST_SUBDIR)/bison && \
6667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6669 "RANLIB=$${RANLIB}" \
6670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6671 distclean) \
6672 || exit 1
6674 @endif bison
6676 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6677 maybe-maintainer-clean-bison:
6678 @if bison
6679 maybe-maintainer-clean-bison: maintainer-clean-bison
6681 maintainer-clean-bison:
6682 @: $(MAKE); $(unstage)
6683 @[ -f ./bison/Makefile ] || exit 0; \
6684 r=`${PWD_COMMAND}`; export r; \
6685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6686 $(HOST_EXPORTS) \
6687 for flag in $(EXTRA_HOST_FLAGS) ; do \
6688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6689 done; \
6690 echo "Doing maintainer-clean in bison" ; \
6691 (cd $(HOST_SUBDIR)/bison && \
6692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6694 "RANLIB=$${RANLIB}" \
6695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6696 maintainer-clean) \
6697 || exit 1
6699 @endif bison
6703 .PHONY: configure-byacc maybe-configure-byacc
6704 maybe-configure-byacc:
6705 @if gcc-bootstrap
6706 configure-byacc: stage_current
6707 @endif gcc-bootstrap
6708 @if byacc
6709 maybe-configure-byacc: configure-byacc
6710 configure-byacc:
6711 @: $(MAKE); $(unstage)
6712 @r=`${PWD_COMMAND}`; export r; \
6713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6714 test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
6715 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
6716 $(HOST_EXPORTS) \
6717 echo Configuring in $(HOST_SUBDIR)/byacc; \
6718 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
6719 case $(srcdir) in \
6720 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6721 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
6722 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6723 esac; \
6724 srcdiroption="--srcdir=$${topdir}/byacc"; \
6725 libsrcdir="$$s/byacc"; \
6726 $(SHELL) $${libsrcdir}/configure \
6727 $(HOST_CONFIGARGS) $${srcdiroption} \
6728 || exit 1
6729 @endif byacc
6735 .PHONY: all-byacc maybe-all-byacc
6736 maybe-all-byacc:
6737 @if gcc-bootstrap
6738 all-byacc: stage_current
6739 @endif gcc-bootstrap
6740 @if byacc
6741 TARGET-byacc=all
6742 maybe-all-byacc: all-byacc
6743 all-byacc: configure-byacc
6744 @: $(MAKE); $(unstage)
6745 @r=`${PWD_COMMAND}`; export r; \
6746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6747 $(HOST_EXPORTS) \
6748 (cd $(HOST_SUBDIR)/byacc && \
6749 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
6750 @endif byacc
6755 .PHONY: check-byacc maybe-check-byacc
6756 maybe-check-byacc:
6757 @if byacc
6758 maybe-check-byacc: check-byacc
6760 # This module is only tested in a native toolchain.
6761 check-byacc:
6762 @: $(MAKE); $(unstage)
6763 @if [ '$(host)' = '$(target)' ] ; then \
6764 r=`${PWD_COMMAND}`; export r; \
6765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6766 $(HOST_EXPORTS) \
6767 (cd $(HOST_SUBDIR)/byacc && \
6768 $(MAKE) $(FLAGS_TO_PASS) check); \
6771 @endif byacc
6773 .PHONY: install-byacc maybe-install-byacc
6774 maybe-install-byacc:
6775 @if byacc
6776 maybe-install-byacc: install-byacc
6778 install-byacc: installdirs
6779 @: $(MAKE); $(unstage)
6780 @r=`${PWD_COMMAND}`; export r; \
6781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6782 $(HOST_EXPORTS) \
6783 (cd $(HOST_SUBDIR)/byacc && \
6784 $(MAKE) $(FLAGS_TO_PASS) install)
6786 @endif byacc
6788 # Other targets (info, dvi, etc.)
6790 .PHONY: maybe-info-byacc info-byacc
6791 maybe-info-byacc:
6792 @if byacc
6793 maybe-info-byacc: info-byacc
6795 info-byacc: \
6796 configure-byacc
6797 @: $(MAKE); $(unstage)
6798 @[ -f ./byacc/Makefile ] || exit 0; \
6799 r=`${PWD_COMMAND}`; export r; \
6800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6801 $(HOST_EXPORTS) \
6802 for flag in $(EXTRA_HOST_FLAGS) ; do \
6803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6804 done; \
6805 echo "Doing info in byacc" ; \
6806 (cd $(HOST_SUBDIR)/byacc && \
6807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6809 "RANLIB=$${RANLIB}" \
6810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6811 info) \
6812 || exit 1
6814 @endif byacc
6816 .PHONY: maybe-dvi-byacc dvi-byacc
6817 maybe-dvi-byacc:
6818 @if byacc
6819 maybe-dvi-byacc: dvi-byacc
6821 dvi-byacc: \
6822 configure-byacc
6823 @: $(MAKE); $(unstage)
6824 @[ -f ./byacc/Makefile ] || exit 0; \
6825 r=`${PWD_COMMAND}`; export r; \
6826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6827 $(HOST_EXPORTS) \
6828 for flag in $(EXTRA_HOST_FLAGS) ; do \
6829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6830 done; \
6831 echo "Doing dvi in byacc" ; \
6832 (cd $(HOST_SUBDIR)/byacc && \
6833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6835 "RANLIB=$${RANLIB}" \
6836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6837 dvi) \
6838 || exit 1
6840 @endif byacc
6842 .PHONY: maybe-html-byacc html-byacc
6843 maybe-html-byacc:
6844 @if byacc
6845 maybe-html-byacc: html-byacc
6847 html-byacc: \
6848 configure-byacc
6849 @: $(MAKE); $(unstage)
6850 @[ -f ./byacc/Makefile ] || exit 0; \
6851 r=`${PWD_COMMAND}`; export r; \
6852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6853 $(HOST_EXPORTS) \
6854 for flag in $(EXTRA_HOST_FLAGS) ; do \
6855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6856 done; \
6857 echo "Doing html in byacc" ; \
6858 (cd $(HOST_SUBDIR)/byacc && \
6859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6861 "RANLIB=$${RANLIB}" \
6862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6863 html) \
6864 || exit 1
6866 @endif byacc
6868 .PHONY: maybe-TAGS-byacc TAGS-byacc
6869 maybe-TAGS-byacc:
6870 @if byacc
6871 maybe-TAGS-byacc: TAGS-byacc
6873 TAGS-byacc: \
6874 configure-byacc
6875 @: $(MAKE); $(unstage)
6876 @[ -f ./byacc/Makefile ] || exit 0; \
6877 r=`${PWD_COMMAND}`; export r; \
6878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6879 $(HOST_EXPORTS) \
6880 for flag in $(EXTRA_HOST_FLAGS) ; do \
6881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6882 done; \
6883 echo "Doing TAGS in byacc" ; \
6884 (cd $(HOST_SUBDIR)/byacc && \
6885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6887 "RANLIB=$${RANLIB}" \
6888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6889 TAGS) \
6890 || exit 1
6892 @endif byacc
6894 .PHONY: maybe-install-info-byacc install-info-byacc
6895 maybe-install-info-byacc:
6896 @if byacc
6897 maybe-install-info-byacc: install-info-byacc
6899 install-info-byacc: \
6900 configure-byacc \
6901 info-byacc
6902 @: $(MAKE); $(unstage)
6903 @[ -f ./byacc/Makefile ] || exit 0; \
6904 r=`${PWD_COMMAND}`; export r; \
6905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6906 $(HOST_EXPORTS) \
6907 for flag in $(EXTRA_HOST_FLAGS) ; do \
6908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6909 done; \
6910 echo "Doing install-info in byacc" ; \
6911 (cd $(HOST_SUBDIR)/byacc && \
6912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6914 "RANLIB=$${RANLIB}" \
6915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6916 install-info) \
6917 || exit 1
6919 @endif byacc
6921 .PHONY: maybe-install-html-byacc install-html-byacc
6922 maybe-install-html-byacc:
6923 @if byacc
6924 maybe-install-html-byacc: install-html-byacc
6926 install-html-byacc: \
6927 configure-byacc \
6928 html-byacc
6929 @: $(MAKE); $(unstage)
6930 @[ -f ./byacc/Makefile ] || exit 0; \
6931 r=`${PWD_COMMAND}`; export r; \
6932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6933 $(HOST_EXPORTS) \
6934 for flag in $(EXTRA_HOST_FLAGS) ; do \
6935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6936 done; \
6937 echo "Doing install-html in byacc" ; \
6938 (cd $(HOST_SUBDIR)/byacc && \
6939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6941 "RANLIB=$${RANLIB}" \
6942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6943 install-html) \
6944 || exit 1
6946 @endif byacc
6948 .PHONY: maybe-installcheck-byacc installcheck-byacc
6949 maybe-installcheck-byacc:
6950 @if byacc
6951 maybe-installcheck-byacc: installcheck-byacc
6953 installcheck-byacc: \
6954 configure-byacc
6955 @: $(MAKE); $(unstage)
6956 @[ -f ./byacc/Makefile ] || exit 0; \
6957 r=`${PWD_COMMAND}`; export r; \
6958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6959 $(HOST_EXPORTS) \
6960 for flag in $(EXTRA_HOST_FLAGS) ; do \
6961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6962 done; \
6963 echo "Doing installcheck in byacc" ; \
6964 (cd $(HOST_SUBDIR)/byacc && \
6965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6967 "RANLIB=$${RANLIB}" \
6968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6969 installcheck) \
6970 || exit 1
6972 @endif byacc
6974 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
6975 maybe-mostlyclean-byacc:
6976 @if byacc
6977 maybe-mostlyclean-byacc: mostlyclean-byacc
6979 mostlyclean-byacc:
6980 @: $(MAKE); $(unstage)
6981 @[ -f ./byacc/Makefile ] || exit 0; \
6982 r=`${PWD_COMMAND}`; export r; \
6983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6984 $(HOST_EXPORTS) \
6985 for flag in $(EXTRA_HOST_FLAGS) ; do \
6986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6987 done; \
6988 echo "Doing mostlyclean in byacc" ; \
6989 (cd $(HOST_SUBDIR)/byacc && \
6990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6992 "RANLIB=$${RANLIB}" \
6993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6994 mostlyclean) \
6995 || exit 1
6997 @endif byacc
6999 .PHONY: maybe-clean-byacc clean-byacc
7000 maybe-clean-byacc:
7001 @if byacc
7002 maybe-clean-byacc: clean-byacc
7004 clean-byacc:
7005 @: $(MAKE); $(unstage)
7006 @[ -f ./byacc/Makefile ] || exit 0; \
7007 r=`${PWD_COMMAND}`; export r; \
7008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7009 $(HOST_EXPORTS) \
7010 for flag in $(EXTRA_HOST_FLAGS) ; do \
7011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7012 done; \
7013 echo "Doing clean in byacc" ; \
7014 (cd $(HOST_SUBDIR)/byacc && \
7015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7017 "RANLIB=$${RANLIB}" \
7018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7019 clean) \
7020 || exit 1
7022 @endif byacc
7024 .PHONY: maybe-distclean-byacc distclean-byacc
7025 maybe-distclean-byacc:
7026 @if byacc
7027 maybe-distclean-byacc: distclean-byacc
7029 distclean-byacc:
7030 @: $(MAKE); $(unstage)
7031 @[ -f ./byacc/Makefile ] || exit 0; \
7032 r=`${PWD_COMMAND}`; export r; \
7033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7034 $(HOST_EXPORTS) \
7035 for flag in $(EXTRA_HOST_FLAGS) ; do \
7036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7037 done; \
7038 echo "Doing distclean in byacc" ; \
7039 (cd $(HOST_SUBDIR)/byacc && \
7040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7042 "RANLIB=$${RANLIB}" \
7043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7044 distclean) \
7045 || exit 1
7047 @endif byacc
7049 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
7050 maybe-maintainer-clean-byacc:
7051 @if byacc
7052 maybe-maintainer-clean-byacc: maintainer-clean-byacc
7054 maintainer-clean-byacc:
7055 @: $(MAKE); $(unstage)
7056 @[ -f ./byacc/Makefile ] || exit 0; \
7057 r=`${PWD_COMMAND}`; export r; \
7058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7059 $(HOST_EXPORTS) \
7060 for flag in $(EXTRA_HOST_FLAGS) ; do \
7061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7062 done; \
7063 echo "Doing maintainer-clean in byacc" ; \
7064 (cd $(HOST_SUBDIR)/byacc && \
7065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7067 "RANLIB=$${RANLIB}" \
7068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7069 maintainer-clean) \
7070 || exit 1
7072 @endif byacc
7076 .PHONY: configure-bzip2 maybe-configure-bzip2
7077 maybe-configure-bzip2:
7078 @if gcc-bootstrap
7079 configure-bzip2: stage_current
7080 @endif gcc-bootstrap
7081 @if bzip2
7082 maybe-configure-bzip2: configure-bzip2
7083 configure-bzip2:
7084 @: $(MAKE); $(unstage)
7085 @r=`${PWD_COMMAND}`; export r; \
7086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7087 test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
7088 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
7089 $(HOST_EXPORTS) \
7090 echo Configuring in $(HOST_SUBDIR)/bzip2; \
7091 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
7092 case $(srcdir) in \
7093 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7094 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
7095 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7096 esac; \
7097 srcdiroption="--srcdir=$${topdir}/bzip2"; \
7098 libsrcdir="$$s/bzip2"; \
7099 $(SHELL) $${libsrcdir}/configure \
7100 $(HOST_CONFIGARGS) $${srcdiroption} \
7101 || exit 1
7102 @endif bzip2
7108 .PHONY: all-bzip2 maybe-all-bzip2
7109 maybe-all-bzip2:
7110 @if gcc-bootstrap
7111 all-bzip2: stage_current
7112 @endif gcc-bootstrap
7113 @if bzip2
7114 TARGET-bzip2=all
7115 maybe-all-bzip2: all-bzip2
7116 all-bzip2: configure-bzip2
7117 @: $(MAKE); $(unstage)
7118 @r=`${PWD_COMMAND}`; export r; \
7119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7120 $(HOST_EXPORTS) \
7121 (cd $(HOST_SUBDIR)/bzip2 && \
7122 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
7123 @endif bzip2
7128 .PHONY: check-bzip2 maybe-check-bzip2
7129 maybe-check-bzip2:
7130 @if bzip2
7131 maybe-check-bzip2: check-bzip2
7133 check-bzip2:
7134 @: $(MAKE); $(unstage)
7135 @r=`${PWD_COMMAND}`; export r; \
7136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7137 $(HOST_EXPORTS) \
7138 (cd $(HOST_SUBDIR)/bzip2 && \
7139 $(MAKE) $(FLAGS_TO_PASS) check)
7141 @endif bzip2
7143 .PHONY: install-bzip2 maybe-install-bzip2
7144 maybe-install-bzip2:
7145 @if bzip2
7146 maybe-install-bzip2: install-bzip2
7148 install-bzip2: installdirs
7149 @: $(MAKE); $(unstage)
7150 @r=`${PWD_COMMAND}`; export r; \
7151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7152 $(HOST_EXPORTS) \
7153 (cd $(HOST_SUBDIR)/bzip2 && \
7154 $(MAKE) $(FLAGS_TO_PASS) install)
7156 @endif bzip2
7158 # Other targets (info, dvi, etc.)
7160 .PHONY: maybe-info-bzip2 info-bzip2
7161 maybe-info-bzip2:
7162 @if bzip2
7163 maybe-info-bzip2: info-bzip2
7165 info-bzip2: \
7166 configure-bzip2
7167 @: $(MAKE); $(unstage)
7168 @[ -f ./bzip2/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 info in bzip2" ; \
7176 (cd $(HOST_SUBDIR)/bzip2 && \
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 info) \
7182 || exit 1
7184 @endif bzip2
7186 .PHONY: maybe-dvi-bzip2 dvi-bzip2
7187 maybe-dvi-bzip2:
7188 @if bzip2
7189 maybe-dvi-bzip2: dvi-bzip2
7191 dvi-bzip2: \
7192 configure-bzip2
7193 @: $(MAKE); $(unstage)
7194 @[ -f ./bzip2/Makefile ] || exit 0; \
7195 r=`${PWD_COMMAND}`; export r; \
7196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7197 $(HOST_EXPORTS) \
7198 for flag in $(EXTRA_HOST_FLAGS) ; do \
7199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7200 done; \
7201 echo "Doing dvi in bzip2" ; \
7202 (cd $(HOST_SUBDIR)/bzip2 && \
7203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7205 "RANLIB=$${RANLIB}" \
7206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7207 dvi) \
7208 || exit 1
7210 @endif bzip2
7212 .PHONY: maybe-html-bzip2 html-bzip2
7213 maybe-html-bzip2:
7214 @if bzip2
7215 maybe-html-bzip2: html-bzip2
7217 html-bzip2: \
7218 configure-bzip2
7219 @: $(MAKE); $(unstage)
7220 @[ -f ./bzip2/Makefile ] || exit 0; \
7221 r=`${PWD_COMMAND}`; export r; \
7222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7223 $(HOST_EXPORTS) \
7224 for flag in $(EXTRA_HOST_FLAGS) ; do \
7225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7226 done; \
7227 echo "Doing html in bzip2" ; \
7228 (cd $(HOST_SUBDIR)/bzip2 && \
7229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7231 "RANLIB=$${RANLIB}" \
7232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7233 html) \
7234 || exit 1
7236 @endif bzip2
7238 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
7239 maybe-TAGS-bzip2:
7240 @if bzip2
7241 maybe-TAGS-bzip2: TAGS-bzip2
7243 TAGS-bzip2: \
7244 configure-bzip2
7245 @: $(MAKE); $(unstage)
7246 @[ -f ./bzip2/Makefile ] || exit 0; \
7247 r=`${PWD_COMMAND}`; export r; \
7248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7249 $(HOST_EXPORTS) \
7250 for flag in $(EXTRA_HOST_FLAGS) ; do \
7251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7252 done; \
7253 echo "Doing TAGS in bzip2" ; \
7254 (cd $(HOST_SUBDIR)/bzip2 && \
7255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7257 "RANLIB=$${RANLIB}" \
7258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7259 TAGS) \
7260 || exit 1
7262 @endif bzip2
7264 .PHONY: maybe-install-info-bzip2 install-info-bzip2
7265 maybe-install-info-bzip2:
7266 @if bzip2
7267 maybe-install-info-bzip2: install-info-bzip2
7269 install-info-bzip2: \
7270 configure-bzip2 \
7271 info-bzip2
7272 @: $(MAKE); $(unstage)
7273 @[ -f ./bzip2/Makefile ] || exit 0; \
7274 r=`${PWD_COMMAND}`; export r; \
7275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7276 $(HOST_EXPORTS) \
7277 for flag in $(EXTRA_HOST_FLAGS) ; do \
7278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7279 done; \
7280 echo "Doing install-info in bzip2" ; \
7281 (cd $(HOST_SUBDIR)/bzip2 && \
7282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7284 "RANLIB=$${RANLIB}" \
7285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7286 install-info) \
7287 || exit 1
7289 @endif bzip2
7291 .PHONY: maybe-install-html-bzip2 install-html-bzip2
7292 maybe-install-html-bzip2:
7293 @if bzip2
7294 maybe-install-html-bzip2: install-html-bzip2
7296 install-html-bzip2: \
7297 configure-bzip2 \
7298 html-bzip2
7299 @: $(MAKE); $(unstage)
7300 @[ -f ./bzip2/Makefile ] || exit 0; \
7301 r=`${PWD_COMMAND}`; export r; \
7302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7303 $(HOST_EXPORTS) \
7304 for flag in $(EXTRA_HOST_FLAGS) ; do \
7305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7306 done; \
7307 echo "Doing install-html in bzip2" ; \
7308 (cd $(HOST_SUBDIR)/bzip2 && \
7309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7311 "RANLIB=$${RANLIB}" \
7312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7313 install-html) \
7314 || exit 1
7316 @endif bzip2
7318 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
7319 maybe-installcheck-bzip2:
7320 @if bzip2
7321 maybe-installcheck-bzip2: installcheck-bzip2
7323 installcheck-bzip2: \
7324 configure-bzip2
7325 @: $(MAKE); $(unstage)
7326 @[ -f ./bzip2/Makefile ] || exit 0; \
7327 r=`${PWD_COMMAND}`; export r; \
7328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7329 $(HOST_EXPORTS) \
7330 for flag in $(EXTRA_HOST_FLAGS) ; do \
7331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7332 done; \
7333 echo "Doing installcheck in bzip2" ; \
7334 (cd $(HOST_SUBDIR)/bzip2 && \
7335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7337 "RANLIB=$${RANLIB}" \
7338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7339 installcheck) \
7340 || exit 1
7342 @endif bzip2
7344 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
7345 maybe-mostlyclean-bzip2:
7346 @if bzip2
7347 maybe-mostlyclean-bzip2: mostlyclean-bzip2
7349 mostlyclean-bzip2:
7350 @: $(MAKE); $(unstage)
7351 @[ -f ./bzip2/Makefile ] || exit 0; \
7352 r=`${PWD_COMMAND}`; export r; \
7353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7354 $(HOST_EXPORTS) \
7355 for flag in $(EXTRA_HOST_FLAGS) ; do \
7356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7357 done; \
7358 echo "Doing mostlyclean in bzip2" ; \
7359 (cd $(HOST_SUBDIR)/bzip2 && \
7360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7362 "RANLIB=$${RANLIB}" \
7363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7364 mostlyclean) \
7365 || exit 1
7367 @endif bzip2
7369 .PHONY: maybe-clean-bzip2 clean-bzip2
7370 maybe-clean-bzip2:
7371 @if bzip2
7372 maybe-clean-bzip2: clean-bzip2
7374 clean-bzip2:
7375 @: $(MAKE); $(unstage)
7376 @[ -f ./bzip2/Makefile ] || exit 0; \
7377 r=`${PWD_COMMAND}`; export r; \
7378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7379 $(HOST_EXPORTS) \
7380 for flag in $(EXTRA_HOST_FLAGS) ; do \
7381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7382 done; \
7383 echo "Doing clean in bzip2" ; \
7384 (cd $(HOST_SUBDIR)/bzip2 && \
7385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7387 "RANLIB=$${RANLIB}" \
7388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7389 clean) \
7390 || exit 1
7392 @endif bzip2
7394 .PHONY: maybe-distclean-bzip2 distclean-bzip2
7395 maybe-distclean-bzip2:
7396 @if bzip2
7397 maybe-distclean-bzip2: distclean-bzip2
7399 distclean-bzip2:
7400 @: $(MAKE); $(unstage)
7401 @[ -f ./bzip2/Makefile ] || exit 0; \
7402 r=`${PWD_COMMAND}`; export r; \
7403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7404 $(HOST_EXPORTS) \
7405 for flag in $(EXTRA_HOST_FLAGS) ; do \
7406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7407 done; \
7408 echo "Doing distclean in bzip2" ; \
7409 (cd $(HOST_SUBDIR)/bzip2 && \
7410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7412 "RANLIB=$${RANLIB}" \
7413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7414 distclean) \
7415 || exit 1
7417 @endif bzip2
7419 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
7420 maybe-maintainer-clean-bzip2:
7421 @if bzip2
7422 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
7424 maintainer-clean-bzip2:
7425 @: $(MAKE); $(unstage)
7426 @[ -f ./bzip2/Makefile ] || exit 0; \
7427 r=`${PWD_COMMAND}`; export r; \
7428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7429 $(HOST_EXPORTS) \
7430 for flag in $(EXTRA_HOST_FLAGS) ; do \
7431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7432 done; \
7433 echo "Doing maintainer-clean in bzip2" ; \
7434 (cd $(HOST_SUBDIR)/bzip2 && \
7435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7437 "RANLIB=$${RANLIB}" \
7438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7439 maintainer-clean) \
7440 || exit 1
7442 @endif bzip2
7446 .PHONY: configure-dejagnu maybe-configure-dejagnu
7447 maybe-configure-dejagnu:
7448 @if gcc-bootstrap
7449 configure-dejagnu: stage_current
7450 @endif gcc-bootstrap
7451 @if dejagnu
7452 maybe-configure-dejagnu: configure-dejagnu
7453 configure-dejagnu:
7454 @: $(MAKE); $(unstage)
7455 @r=`${PWD_COMMAND}`; export r; \
7456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7457 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7458 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
7459 $(HOST_EXPORTS) \
7460 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7461 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7462 case $(srcdir) in \
7463 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7464 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7465 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7466 esac; \
7467 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
7468 libsrcdir="$$s/dejagnu"; \
7469 $(SHELL) $${libsrcdir}/configure \
7470 $(HOST_CONFIGARGS) $${srcdiroption} \
7471 || exit 1
7472 @endif dejagnu
7478 .PHONY: all-dejagnu maybe-all-dejagnu
7479 maybe-all-dejagnu:
7480 @if gcc-bootstrap
7481 all-dejagnu: stage_current
7482 @endif gcc-bootstrap
7483 @if dejagnu
7484 TARGET-dejagnu=all
7485 maybe-all-dejagnu: all-dejagnu
7486 all-dejagnu: configure-dejagnu
7487 @: $(MAKE); $(unstage)
7488 @r=`${PWD_COMMAND}`; export r; \
7489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7490 $(HOST_EXPORTS) \
7491 (cd $(HOST_SUBDIR)/dejagnu && \
7492 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
7493 @endif dejagnu
7498 .PHONY: check-dejagnu maybe-check-dejagnu
7499 maybe-check-dejagnu:
7500 @if dejagnu
7501 maybe-check-dejagnu: check-dejagnu
7503 check-dejagnu:
7504 @: $(MAKE); $(unstage)
7505 @r=`${PWD_COMMAND}`; export r; \
7506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7507 $(HOST_EXPORTS) \
7508 (cd $(HOST_SUBDIR)/dejagnu && \
7509 $(MAKE) $(FLAGS_TO_PASS) check)
7511 @endif dejagnu
7513 .PHONY: install-dejagnu maybe-install-dejagnu
7514 maybe-install-dejagnu:
7515 @if dejagnu
7516 maybe-install-dejagnu: install-dejagnu
7518 install-dejagnu: installdirs
7519 @: $(MAKE); $(unstage)
7520 @r=`${PWD_COMMAND}`; export r; \
7521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7522 $(HOST_EXPORTS) \
7523 (cd $(HOST_SUBDIR)/dejagnu && \
7524 $(MAKE) $(FLAGS_TO_PASS) install)
7526 @endif dejagnu
7528 # Other targets (info, dvi, etc.)
7530 .PHONY: maybe-info-dejagnu info-dejagnu
7531 maybe-info-dejagnu:
7532 @if dejagnu
7533 maybe-info-dejagnu: info-dejagnu
7535 info-dejagnu: \
7536 configure-dejagnu
7537 @: $(MAKE); $(unstage)
7538 @[ -f ./dejagnu/Makefile ] || exit 0; \
7539 r=`${PWD_COMMAND}`; export r; \
7540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7541 $(HOST_EXPORTS) \
7542 for flag in $(EXTRA_HOST_FLAGS) ; do \
7543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7544 done; \
7545 echo "Doing info in dejagnu" ; \
7546 (cd $(HOST_SUBDIR)/dejagnu && \
7547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7549 "RANLIB=$${RANLIB}" \
7550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7551 info) \
7552 || exit 1
7554 @endif dejagnu
7556 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7557 maybe-dvi-dejagnu:
7558 @if dejagnu
7559 maybe-dvi-dejagnu: dvi-dejagnu
7561 dvi-dejagnu: \
7562 configure-dejagnu
7563 @: $(MAKE); $(unstage)
7564 @[ -f ./dejagnu/Makefile ] || exit 0; \
7565 r=`${PWD_COMMAND}`; export r; \
7566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7567 $(HOST_EXPORTS) \
7568 for flag in $(EXTRA_HOST_FLAGS) ; do \
7569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7570 done; \
7571 echo "Doing dvi in dejagnu" ; \
7572 (cd $(HOST_SUBDIR)/dejagnu && \
7573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7575 "RANLIB=$${RANLIB}" \
7576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7577 dvi) \
7578 || exit 1
7580 @endif dejagnu
7582 .PHONY: maybe-html-dejagnu html-dejagnu
7583 maybe-html-dejagnu:
7584 @if dejagnu
7585 maybe-html-dejagnu: html-dejagnu
7587 html-dejagnu: \
7588 configure-dejagnu
7589 @: $(MAKE); $(unstage)
7590 @[ -f ./dejagnu/Makefile ] || exit 0; \
7591 r=`${PWD_COMMAND}`; export r; \
7592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7593 $(HOST_EXPORTS) \
7594 for flag in $(EXTRA_HOST_FLAGS) ; do \
7595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7596 done; \
7597 echo "Doing html in dejagnu" ; \
7598 (cd $(HOST_SUBDIR)/dejagnu && \
7599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7601 "RANLIB=$${RANLIB}" \
7602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7603 html) \
7604 || exit 1
7606 @endif dejagnu
7608 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7609 maybe-TAGS-dejagnu:
7610 @if dejagnu
7611 maybe-TAGS-dejagnu: TAGS-dejagnu
7613 TAGS-dejagnu: \
7614 configure-dejagnu
7615 @: $(MAKE); $(unstage)
7616 @[ -f ./dejagnu/Makefile ] || exit 0; \
7617 r=`${PWD_COMMAND}`; export r; \
7618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7619 $(HOST_EXPORTS) \
7620 for flag in $(EXTRA_HOST_FLAGS) ; do \
7621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7622 done; \
7623 echo "Doing TAGS in dejagnu" ; \
7624 (cd $(HOST_SUBDIR)/dejagnu && \
7625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7627 "RANLIB=$${RANLIB}" \
7628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7629 TAGS) \
7630 || exit 1
7632 @endif dejagnu
7634 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7635 maybe-install-info-dejagnu:
7636 @if dejagnu
7637 maybe-install-info-dejagnu: install-info-dejagnu
7639 install-info-dejagnu: \
7640 configure-dejagnu \
7641 info-dejagnu
7642 @: $(MAKE); $(unstage)
7643 @[ -f ./dejagnu/Makefile ] || exit 0; \
7644 r=`${PWD_COMMAND}`; export r; \
7645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7646 $(HOST_EXPORTS) \
7647 for flag in $(EXTRA_HOST_FLAGS) ; do \
7648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7649 done; \
7650 echo "Doing install-info in dejagnu" ; \
7651 (cd $(HOST_SUBDIR)/dejagnu && \
7652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7654 "RANLIB=$${RANLIB}" \
7655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7656 install-info) \
7657 || exit 1
7659 @endif dejagnu
7661 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
7662 maybe-install-html-dejagnu:
7663 @if dejagnu
7664 maybe-install-html-dejagnu: install-html-dejagnu
7666 install-html-dejagnu: \
7667 configure-dejagnu \
7668 html-dejagnu
7669 @: $(MAKE); $(unstage)
7670 @[ -f ./dejagnu/Makefile ] || exit 0; \
7671 r=`${PWD_COMMAND}`; export r; \
7672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7673 $(HOST_EXPORTS) \
7674 for flag in $(EXTRA_HOST_FLAGS) ; do \
7675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7676 done; \
7677 echo "Doing install-html in dejagnu" ; \
7678 (cd $(HOST_SUBDIR)/dejagnu && \
7679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7681 "RANLIB=$${RANLIB}" \
7682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7683 install-html) \
7684 || exit 1
7686 @endif dejagnu
7688 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7689 maybe-installcheck-dejagnu:
7690 @if dejagnu
7691 maybe-installcheck-dejagnu: installcheck-dejagnu
7693 installcheck-dejagnu: \
7694 configure-dejagnu
7695 @: $(MAKE); $(unstage)
7696 @[ -f ./dejagnu/Makefile ] || exit 0; \
7697 r=`${PWD_COMMAND}`; export r; \
7698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7699 $(HOST_EXPORTS) \
7700 for flag in $(EXTRA_HOST_FLAGS) ; do \
7701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7702 done; \
7703 echo "Doing installcheck in dejagnu" ; \
7704 (cd $(HOST_SUBDIR)/dejagnu && \
7705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7707 "RANLIB=$${RANLIB}" \
7708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7709 installcheck) \
7710 || exit 1
7712 @endif dejagnu
7714 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7715 maybe-mostlyclean-dejagnu:
7716 @if dejagnu
7717 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7719 mostlyclean-dejagnu:
7720 @: $(MAKE); $(unstage)
7721 @[ -f ./dejagnu/Makefile ] || exit 0; \
7722 r=`${PWD_COMMAND}`; export r; \
7723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7724 $(HOST_EXPORTS) \
7725 for flag in $(EXTRA_HOST_FLAGS) ; do \
7726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7727 done; \
7728 echo "Doing mostlyclean in dejagnu" ; \
7729 (cd $(HOST_SUBDIR)/dejagnu && \
7730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7732 "RANLIB=$${RANLIB}" \
7733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7734 mostlyclean) \
7735 || exit 1
7737 @endif dejagnu
7739 .PHONY: maybe-clean-dejagnu clean-dejagnu
7740 maybe-clean-dejagnu:
7741 @if dejagnu
7742 maybe-clean-dejagnu: clean-dejagnu
7744 clean-dejagnu:
7745 @: $(MAKE); $(unstage)
7746 @[ -f ./dejagnu/Makefile ] || exit 0; \
7747 r=`${PWD_COMMAND}`; export r; \
7748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7749 $(HOST_EXPORTS) \
7750 for flag in $(EXTRA_HOST_FLAGS) ; do \
7751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7752 done; \
7753 echo "Doing clean in dejagnu" ; \
7754 (cd $(HOST_SUBDIR)/dejagnu && \
7755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7757 "RANLIB=$${RANLIB}" \
7758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7759 clean) \
7760 || exit 1
7762 @endif dejagnu
7764 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7765 maybe-distclean-dejagnu:
7766 @if dejagnu
7767 maybe-distclean-dejagnu: distclean-dejagnu
7769 distclean-dejagnu:
7770 @: $(MAKE); $(unstage)
7771 @[ -f ./dejagnu/Makefile ] || exit 0; \
7772 r=`${PWD_COMMAND}`; export r; \
7773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7774 $(HOST_EXPORTS) \
7775 for flag in $(EXTRA_HOST_FLAGS) ; do \
7776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7777 done; \
7778 echo "Doing distclean in dejagnu" ; \
7779 (cd $(HOST_SUBDIR)/dejagnu && \
7780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7782 "RANLIB=$${RANLIB}" \
7783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7784 distclean) \
7785 || exit 1
7787 @endif dejagnu
7789 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7790 maybe-maintainer-clean-dejagnu:
7791 @if dejagnu
7792 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7794 maintainer-clean-dejagnu:
7795 @: $(MAKE); $(unstage)
7796 @[ -f ./dejagnu/Makefile ] || exit 0; \
7797 r=`${PWD_COMMAND}`; export r; \
7798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7799 $(HOST_EXPORTS) \
7800 for flag in $(EXTRA_HOST_FLAGS) ; do \
7801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7802 done; \
7803 echo "Doing maintainer-clean in dejagnu" ; \
7804 (cd $(HOST_SUBDIR)/dejagnu && \
7805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7807 "RANLIB=$${RANLIB}" \
7808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7809 maintainer-clean) \
7810 || exit 1
7812 @endif dejagnu
7816 .PHONY: configure-diff maybe-configure-diff
7817 maybe-configure-diff:
7818 @if gcc-bootstrap
7819 configure-diff: stage_current
7820 @endif gcc-bootstrap
7821 @if diff
7822 maybe-configure-diff: configure-diff
7823 configure-diff:
7824 @: $(MAKE); $(unstage)
7825 @r=`${PWD_COMMAND}`; export r; \
7826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7827 test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
7828 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
7829 $(HOST_EXPORTS) \
7830 echo Configuring in $(HOST_SUBDIR)/diff; \
7831 cd "$(HOST_SUBDIR)/diff" || exit 1; \
7832 case $(srcdir) in \
7833 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7834 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
7835 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7836 esac; \
7837 srcdiroption="--srcdir=$${topdir}/diff"; \
7838 libsrcdir="$$s/diff"; \
7839 $(SHELL) $${libsrcdir}/configure \
7840 $(HOST_CONFIGARGS) $${srcdiroption} \
7841 || exit 1
7842 @endif diff
7848 .PHONY: all-diff maybe-all-diff
7849 maybe-all-diff:
7850 @if gcc-bootstrap
7851 all-diff: stage_current
7852 @endif gcc-bootstrap
7853 @if diff
7854 TARGET-diff=all
7855 maybe-all-diff: all-diff
7856 all-diff: configure-diff
7857 @: $(MAKE); $(unstage)
7858 @r=`${PWD_COMMAND}`; export r; \
7859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7860 $(HOST_EXPORTS) \
7861 (cd $(HOST_SUBDIR)/diff && \
7862 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
7863 @endif diff
7868 .PHONY: check-diff maybe-check-diff
7869 maybe-check-diff:
7870 @if diff
7871 maybe-check-diff: check-diff
7873 check-diff:
7874 @: $(MAKE); $(unstage)
7875 @r=`${PWD_COMMAND}`; export r; \
7876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7877 $(HOST_EXPORTS) \
7878 (cd $(HOST_SUBDIR)/diff && \
7879 $(MAKE) $(FLAGS_TO_PASS) check)
7881 @endif diff
7883 .PHONY: install-diff maybe-install-diff
7884 maybe-install-diff:
7885 @if diff
7886 maybe-install-diff: install-diff
7888 install-diff: installdirs
7889 @: $(MAKE); $(unstage)
7890 @r=`${PWD_COMMAND}`; export r; \
7891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7892 $(HOST_EXPORTS) \
7893 (cd $(HOST_SUBDIR)/diff && \
7894 $(MAKE) $(FLAGS_TO_PASS) install)
7896 @endif diff
7898 # Other targets (info, dvi, etc.)
7900 .PHONY: maybe-info-diff info-diff
7901 maybe-info-diff:
7902 @if diff
7903 maybe-info-diff: info-diff
7905 info-diff: \
7906 configure-diff
7907 @: $(MAKE); $(unstage)
7908 @[ -f ./diff/Makefile ] || exit 0; \
7909 r=`${PWD_COMMAND}`; export r; \
7910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7911 $(HOST_EXPORTS) \
7912 for flag in $(EXTRA_HOST_FLAGS) ; do \
7913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7914 done; \
7915 echo "Doing info in diff" ; \
7916 (cd $(HOST_SUBDIR)/diff && \
7917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7919 "RANLIB=$${RANLIB}" \
7920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7921 info) \
7922 || exit 1
7924 @endif diff
7926 .PHONY: maybe-dvi-diff dvi-diff
7927 maybe-dvi-diff:
7928 @if diff
7929 maybe-dvi-diff: dvi-diff
7931 dvi-diff: \
7932 configure-diff
7933 @: $(MAKE); $(unstage)
7934 @[ -f ./diff/Makefile ] || exit 0; \
7935 r=`${PWD_COMMAND}`; export r; \
7936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7937 $(HOST_EXPORTS) \
7938 for flag in $(EXTRA_HOST_FLAGS) ; do \
7939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7940 done; \
7941 echo "Doing dvi in diff" ; \
7942 (cd $(HOST_SUBDIR)/diff && \
7943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7945 "RANLIB=$${RANLIB}" \
7946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7947 dvi) \
7948 || exit 1
7950 @endif diff
7952 .PHONY: maybe-html-diff html-diff
7953 maybe-html-diff:
7954 @if diff
7955 maybe-html-diff: html-diff
7957 html-diff: \
7958 configure-diff
7959 @: $(MAKE); $(unstage)
7960 @[ -f ./diff/Makefile ] || exit 0; \
7961 r=`${PWD_COMMAND}`; export r; \
7962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7963 $(HOST_EXPORTS) \
7964 for flag in $(EXTRA_HOST_FLAGS) ; do \
7965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7966 done; \
7967 echo "Doing html in diff" ; \
7968 (cd $(HOST_SUBDIR)/diff && \
7969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7971 "RANLIB=$${RANLIB}" \
7972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7973 html) \
7974 || exit 1
7976 @endif diff
7978 .PHONY: maybe-TAGS-diff TAGS-diff
7979 maybe-TAGS-diff:
7980 @if diff
7981 maybe-TAGS-diff: TAGS-diff
7983 TAGS-diff: \
7984 configure-diff
7985 @: $(MAKE); $(unstage)
7986 @[ -f ./diff/Makefile ] || exit 0; \
7987 r=`${PWD_COMMAND}`; export r; \
7988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7989 $(HOST_EXPORTS) \
7990 for flag in $(EXTRA_HOST_FLAGS) ; do \
7991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7992 done; \
7993 echo "Doing TAGS in diff" ; \
7994 (cd $(HOST_SUBDIR)/diff && \
7995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7997 "RANLIB=$${RANLIB}" \
7998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7999 TAGS) \
8000 || exit 1
8002 @endif diff
8004 .PHONY: maybe-install-info-diff install-info-diff
8005 maybe-install-info-diff:
8006 @if diff
8007 maybe-install-info-diff: install-info-diff
8009 install-info-diff: \
8010 configure-diff \
8011 info-diff
8012 @: $(MAKE); $(unstage)
8013 @[ -f ./diff/Makefile ] || exit 0; \
8014 r=`${PWD_COMMAND}`; export r; \
8015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8016 $(HOST_EXPORTS) \
8017 for flag in $(EXTRA_HOST_FLAGS) ; do \
8018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8019 done; \
8020 echo "Doing install-info in diff" ; \
8021 (cd $(HOST_SUBDIR)/diff && \
8022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8024 "RANLIB=$${RANLIB}" \
8025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8026 install-info) \
8027 || exit 1
8029 @endif diff
8031 .PHONY: maybe-install-html-diff install-html-diff
8032 maybe-install-html-diff:
8033 @if diff
8034 maybe-install-html-diff: install-html-diff
8036 install-html-diff: \
8037 configure-diff \
8038 html-diff
8039 @: $(MAKE); $(unstage)
8040 @[ -f ./diff/Makefile ] || exit 0; \
8041 r=`${PWD_COMMAND}`; export r; \
8042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8043 $(HOST_EXPORTS) \
8044 for flag in $(EXTRA_HOST_FLAGS) ; do \
8045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8046 done; \
8047 echo "Doing install-html in diff" ; \
8048 (cd $(HOST_SUBDIR)/diff && \
8049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8051 "RANLIB=$${RANLIB}" \
8052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8053 install-html) \
8054 || exit 1
8056 @endif diff
8058 .PHONY: maybe-installcheck-diff installcheck-diff
8059 maybe-installcheck-diff:
8060 @if diff
8061 maybe-installcheck-diff: installcheck-diff
8063 installcheck-diff: \
8064 configure-diff
8065 @: $(MAKE); $(unstage)
8066 @[ -f ./diff/Makefile ] || exit 0; \
8067 r=`${PWD_COMMAND}`; export r; \
8068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8069 $(HOST_EXPORTS) \
8070 for flag in $(EXTRA_HOST_FLAGS) ; do \
8071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8072 done; \
8073 echo "Doing installcheck in diff" ; \
8074 (cd $(HOST_SUBDIR)/diff && \
8075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8077 "RANLIB=$${RANLIB}" \
8078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8079 installcheck) \
8080 || exit 1
8082 @endif diff
8084 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
8085 maybe-mostlyclean-diff:
8086 @if diff
8087 maybe-mostlyclean-diff: mostlyclean-diff
8089 mostlyclean-diff:
8090 @: $(MAKE); $(unstage)
8091 @[ -f ./diff/Makefile ] || exit 0; \
8092 r=`${PWD_COMMAND}`; export r; \
8093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8094 $(HOST_EXPORTS) \
8095 for flag in $(EXTRA_HOST_FLAGS) ; do \
8096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8097 done; \
8098 echo "Doing mostlyclean in diff" ; \
8099 (cd $(HOST_SUBDIR)/diff && \
8100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8102 "RANLIB=$${RANLIB}" \
8103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8104 mostlyclean) \
8105 || exit 1
8107 @endif diff
8109 .PHONY: maybe-clean-diff clean-diff
8110 maybe-clean-diff:
8111 @if diff
8112 maybe-clean-diff: clean-diff
8114 clean-diff:
8115 @: $(MAKE); $(unstage)
8116 @[ -f ./diff/Makefile ] || exit 0; \
8117 r=`${PWD_COMMAND}`; export r; \
8118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8119 $(HOST_EXPORTS) \
8120 for flag in $(EXTRA_HOST_FLAGS) ; do \
8121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8122 done; \
8123 echo "Doing clean in diff" ; \
8124 (cd $(HOST_SUBDIR)/diff && \
8125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8127 "RANLIB=$${RANLIB}" \
8128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8129 clean) \
8130 || exit 1
8132 @endif diff
8134 .PHONY: maybe-distclean-diff distclean-diff
8135 maybe-distclean-diff:
8136 @if diff
8137 maybe-distclean-diff: distclean-diff
8139 distclean-diff:
8140 @: $(MAKE); $(unstage)
8141 @[ -f ./diff/Makefile ] || exit 0; \
8142 r=`${PWD_COMMAND}`; export r; \
8143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8144 $(HOST_EXPORTS) \
8145 for flag in $(EXTRA_HOST_FLAGS) ; do \
8146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8147 done; \
8148 echo "Doing distclean in diff" ; \
8149 (cd $(HOST_SUBDIR)/diff && \
8150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8152 "RANLIB=$${RANLIB}" \
8153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8154 distclean) \
8155 || exit 1
8157 @endif diff
8159 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
8160 maybe-maintainer-clean-diff:
8161 @if diff
8162 maybe-maintainer-clean-diff: maintainer-clean-diff
8164 maintainer-clean-diff:
8165 @: $(MAKE); $(unstage)
8166 @[ -f ./diff/Makefile ] || exit 0; \
8167 r=`${PWD_COMMAND}`; export r; \
8168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8169 $(HOST_EXPORTS) \
8170 for flag in $(EXTRA_HOST_FLAGS) ; do \
8171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8172 done; \
8173 echo "Doing maintainer-clean in diff" ; \
8174 (cd $(HOST_SUBDIR)/diff && \
8175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8177 "RANLIB=$${RANLIB}" \
8178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8179 maintainer-clean) \
8180 || exit 1
8182 @endif diff
8186 .PHONY: configure-dosutils maybe-configure-dosutils
8187 maybe-configure-dosutils:
8188 @if gcc-bootstrap
8189 configure-dosutils: stage_current
8190 @endif gcc-bootstrap
8191 @if dosutils
8192 maybe-configure-dosutils: configure-dosutils
8193 configure-dosutils:
8194 @: $(MAKE); $(unstage)
8195 @r=`${PWD_COMMAND}`; export r; \
8196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8197 test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
8198 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
8199 $(HOST_EXPORTS) \
8200 echo Configuring in $(HOST_SUBDIR)/dosutils; \
8201 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
8202 case $(srcdir) in \
8203 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8204 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
8205 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8206 esac; \
8207 srcdiroption="--srcdir=$${topdir}/dosutils"; \
8208 libsrcdir="$$s/dosutils"; \
8209 $(SHELL) $${libsrcdir}/configure \
8210 $(HOST_CONFIGARGS) $${srcdiroption} \
8211 || exit 1
8212 @endif dosutils
8218 .PHONY: all-dosutils maybe-all-dosutils
8219 maybe-all-dosutils:
8220 @if gcc-bootstrap
8221 all-dosutils: stage_current
8222 @endif gcc-bootstrap
8223 @if dosutils
8224 TARGET-dosutils=all
8225 maybe-all-dosutils: all-dosutils
8226 all-dosutils: configure-dosutils
8227 @: $(MAKE); $(unstage)
8228 @r=`${PWD_COMMAND}`; export r; \
8229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8230 $(HOST_EXPORTS) \
8231 (cd $(HOST_SUBDIR)/dosutils && \
8232 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
8233 @endif dosutils
8238 .PHONY: check-dosutils maybe-check-dosutils
8239 maybe-check-dosutils:
8240 @if dosutils
8241 maybe-check-dosutils: check-dosutils
8243 check-dosutils:
8245 @endif dosutils
8247 .PHONY: install-dosutils maybe-install-dosutils
8248 maybe-install-dosutils:
8249 @if dosutils
8250 maybe-install-dosutils: install-dosutils
8252 install-dosutils: installdirs
8253 @: $(MAKE); $(unstage)
8254 @r=`${PWD_COMMAND}`; export r; \
8255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8256 $(HOST_EXPORTS) \
8257 (cd $(HOST_SUBDIR)/dosutils && \
8258 $(MAKE) $(FLAGS_TO_PASS) install)
8260 @endif dosutils
8262 # Other targets (info, dvi, etc.)
8264 .PHONY: maybe-info-dosutils info-dosutils
8265 maybe-info-dosutils:
8266 @if dosutils
8267 maybe-info-dosutils: info-dosutils
8269 info-dosutils: \
8270 configure-dosutils
8271 @: $(MAKE); $(unstage)
8272 @[ -f ./dosutils/Makefile ] || exit 0; \
8273 r=`${PWD_COMMAND}`; export r; \
8274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8275 $(HOST_EXPORTS) \
8276 for flag in $(EXTRA_HOST_FLAGS) ; do \
8277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8278 done; \
8279 echo "Doing info in dosutils" ; \
8280 (cd $(HOST_SUBDIR)/dosutils && \
8281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8283 "RANLIB=$${RANLIB}" \
8284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8285 info) \
8286 || exit 1
8288 @endif dosutils
8290 .PHONY: maybe-dvi-dosutils dvi-dosutils
8291 maybe-dvi-dosutils:
8292 @if dosutils
8293 maybe-dvi-dosutils: dvi-dosutils
8295 dvi-dosutils: \
8296 configure-dosutils
8297 @: $(MAKE); $(unstage)
8298 @[ -f ./dosutils/Makefile ] || exit 0; \
8299 r=`${PWD_COMMAND}`; export r; \
8300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8301 $(HOST_EXPORTS) \
8302 for flag in $(EXTRA_HOST_FLAGS) ; do \
8303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8304 done; \
8305 echo "Doing dvi in dosutils" ; \
8306 (cd $(HOST_SUBDIR)/dosutils && \
8307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8309 "RANLIB=$${RANLIB}" \
8310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8311 dvi) \
8312 || exit 1
8314 @endif dosutils
8316 .PHONY: maybe-html-dosutils html-dosutils
8317 maybe-html-dosutils:
8318 @if dosutils
8319 maybe-html-dosutils: html-dosutils
8321 html-dosutils: \
8322 configure-dosutils
8323 @: $(MAKE); $(unstage)
8324 @[ -f ./dosutils/Makefile ] || exit 0; \
8325 r=`${PWD_COMMAND}`; export r; \
8326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8327 $(HOST_EXPORTS) \
8328 for flag in $(EXTRA_HOST_FLAGS) ; do \
8329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8330 done; \
8331 echo "Doing html in dosutils" ; \
8332 (cd $(HOST_SUBDIR)/dosutils && \
8333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8335 "RANLIB=$${RANLIB}" \
8336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8337 html) \
8338 || exit 1
8340 @endif dosutils
8342 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
8343 maybe-TAGS-dosutils:
8344 @if dosutils
8345 maybe-TAGS-dosutils: TAGS-dosutils
8347 TAGS-dosutils: \
8348 configure-dosutils
8349 @: $(MAKE); $(unstage)
8350 @[ -f ./dosutils/Makefile ] || exit 0; \
8351 r=`${PWD_COMMAND}`; export r; \
8352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8353 $(HOST_EXPORTS) \
8354 for flag in $(EXTRA_HOST_FLAGS) ; do \
8355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8356 done; \
8357 echo "Doing TAGS in dosutils" ; \
8358 (cd $(HOST_SUBDIR)/dosutils && \
8359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8361 "RANLIB=$${RANLIB}" \
8362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8363 TAGS) \
8364 || exit 1
8366 @endif dosutils
8368 .PHONY: maybe-install-info-dosutils install-info-dosutils
8369 maybe-install-info-dosutils:
8370 @if dosutils
8371 maybe-install-info-dosutils: install-info-dosutils
8373 install-info-dosutils: \
8374 configure-dosutils \
8375 info-dosutils
8376 @: $(MAKE); $(unstage)
8377 @[ -f ./dosutils/Makefile ] || exit 0; \
8378 r=`${PWD_COMMAND}`; export r; \
8379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8380 $(HOST_EXPORTS) \
8381 for flag in $(EXTRA_HOST_FLAGS) ; do \
8382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8383 done; \
8384 echo "Doing install-info in dosutils" ; \
8385 (cd $(HOST_SUBDIR)/dosutils && \
8386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8388 "RANLIB=$${RANLIB}" \
8389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8390 install-info) \
8391 || exit 1
8393 @endif dosutils
8395 .PHONY: maybe-install-html-dosutils install-html-dosutils
8396 maybe-install-html-dosutils:
8397 @if dosutils
8398 maybe-install-html-dosutils: install-html-dosutils
8400 install-html-dosutils: \
8401 configure-dosutils \
8402 html-dosutils
8403 @: $(MAKE); $(unstage)
8404 @[ -f ./dosutils/Makefile ] || exit 0; \
8405 r=`${PWD_COMMAND}`; export r; \
8406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8407 $(HOST_EXPORTS) \
8408 for flag in $(EXTRA_HOST_FLAGS) ; do \
8409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8410 done; \
8411 echo "Doing install-html in dosutils" ; \
8412 (cd $(HOST_SUBDIR)/dosutils && \
8413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8415 "RANLIB=$${RANLIB}" \
8416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8417 install-html) \
8418 || exit 1
8420 @endif dosutils
8422 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
8423 maybe-installcheck-dosutils:
8424 @if dosutils
8425 maybe-installcheck-dosutils: installcheck-dosutils
8427 installcheck-dosutils: \
8428 configure-dosutils
8429 @: $(MAKE); $(unstage)
8430 @[ -f ./dosutils/Makefile ] || exit 0; \
8431 r=`${PWD_COMMAND}`; export r; \
8432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8433 $(HOST_EXPORTS) \
8434 for flag in $(EXTRA_HOST_FLAGS) ; do \
8435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8436 done; \
8437 echo "Doing installcheck in dosutils" ; \
8438 (cd $(HOST_SUBDIR)/dosutils && \
8439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8441 "RANLIB=$${RANLIB}" \
8442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8443 installcheck) \
8444 || exit 1
8446 @endif dosutils
8448 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
8449 maybe-mostlyclean-dosutils:
8450 @if dosutils
8451 maybe-mostlyclean-dosutils: mostlyclean-dosutils
8453 mostlyclean-dosutils:
8454 @: $(MAKE); $(unstage)
8455 @[ -f ./dosutils/Makefile ] || exit 0; \
8456 r=`${PWD_COMMAND}`; export r; \
8457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8458 $(HOST_EXPORTS) \
8459 for flag in $(EXTRA_HOST_FLAGS) ; do \
8460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8461 done; \
8462 echo "Doing mostlyclean in dosutils" ; \
8463 (cd $(HOST_SUBDIR)/dosutils && \
8464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8466 "RANLIB=$${RANLIB}" \
8467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8468 mostlyclean) \
8469 || exit 1
8471 @endif dosutils
8473 .PHONY: maybe-clean-dosutils clean-dosutils
8474 maybe-clean-dosutils:
8475 @if dosutils
8476 maybe-clean-dosutils: clean-dosutils
8478 clean-dosutils:
8479 @: $(MAKE); $(unstage)
8480 @[ -f ./dosutils/Makefile ] || exit 0; \
8481 r=`${PWD_COMMAND}`; export r; \
8482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8483 $(HOST_EXPORTS) \
8484 for flag in $(EXTRA_HOST_FLAGS) ; do \
8485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8486 done; \
8487 echo "Doing clean in dosutils" ; \
8488 (cd $(HOST_SUBDIR)/dosutils && \
8489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8491 "RANLIB=$${RANLIB}" \
8492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8493 clean) \
8494 || exit 1
8496 @endif dosutils
8498 .PHONY: maybe-distclean-dosutils distclean-dosutils
8499 maybe-distclean-dosutils:
8500 @if dosutils
8501 maybe-distclean-dosutils: distclean-dosutils
8503 distclean-dosutils:
8504 @: $(MAKE); $(unstage)
8505 @[ -f ./dosutils/Makefile ] || exit 0; \
8506 r=`${PWD_COMMAND}`; export r; \
8507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8508 $(HOST_EXPORTS) \
8509 for flag in $(EXTRA_HOST_FLAGS) ; do \
8510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8511 done; \
8512 echo "Doing distclean in dosutils" ; \
8513 (cd $(HOST_SUBDIR)/dosutils && \
8514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8516 "RANLIB=$${RANLIB}" \
8517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8518 distclean) \
8519 || exit 1
8521 @endif dosutils
8523 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
8524 maybe-maintainer-clean-dosutils:
8525 @if dosutils
8526 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
8528 maintainer-clean-dosutils:
8529 @: $(MAKE); $(unstage)
8530 @[ -f ./dosutils/Makefile ] || exit 0; \
8531 r=`${PWD_COMMAND}`; export r; \
8532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8533 $(HOST_EXPORTS) \
8534 for flag in $(EXTRA_HOST_FLAGS) ; do \
8535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8536 done; \
8537 echo "Doing maintainer-clean in dosutils" ; \
8538 (cd $(HOST_SUBDIR)/dosutils && \
8539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8541 "RANLIB=$${RANLIB}" \
8542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8543 maintainer-clean) \
8544 || exit 1
8546 @endif dosutils
8550 .PHONY: configure-etc maybe-configure-etc
8551 maybe-configure-etc:
8552 @if gcc-bootstrap
8553 configure-etc: stage_current
8554 @endif gcc-bootstrap
8555 @if etc
8556 maybe-configure-etc: configure-etc
8557 configure-etc:
8558 @: $(MAKE); $(unstage)
8559 @r=`${PWD_COMMAND}`; export r; \
8560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8561 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
8562 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
8563 $(HOST_EXPORTS) \
8564 echo Configuring in $(HOST_SUBDIR)/etc; \
8565 cd "$(HOST_SUBDIR)/etc" || exit 1; \
8566 case $(srcdir) in \
8567 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8568 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
8569 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8570 esac; \
8571 srcdiroption="--srcdir=$${topdir}/etc"; \
8572 libsrcdir="$$s/etc"; \
8573 $(SHELL) $${libsrcdir}/configure \
8574 $(HOST_CONFIGARGS) $${srcdiroption} \
8575 || exit 1
8576 @endif etc
8582 .PHONY: all-etc maybe-all-etc
8583 maybe-all-etc:
8584 @if gcc-bootstrap
8585 all-etc: stage_current
8586 @endif gcc-bootstrap
8587 @if etc
8588 TARGET-etc=all
8589 maybe-all-etc: all-etc
8590 all-etc: configure-etc
8591 @: $(MAKE); $(unstage)
8592 @r=`${PWD_COMMAND}`; export r; \
8593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8594 $(HOST_EXPORTS) \
8595 (cd $(HOST_SUBDIR)/etc && \
8596 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
8597 @endif etc
8602 .PHONY: check-etc maybe-check-etc
8603 maybe-check-etc:
8604 @if etc
8605 maybe-check-etc: check-etc
8607 check-etc:
8608 @: $(MAKE); $(unstage)
8609 @r=`${PWD_COMMAND}`; export r; \
8610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8611 $(HOST_EXPORTS) \
8612 (cd $(HOST_SUBDIR)/etc && \
8613 $(MAKE) $(FLAGS_TO_PASS) check)
8615 @endif etc
8617 .PHONY: install-etc maybe-install-etc
8618 maybe-install-etc:
8619 @if etc
8620 maybe-install-etc: install-etc
8622 install-etc: installdirs
8623 @: $(MAKE); $(unstage)
8624 @r=`${PWD_COMMAND}`; export r; \
8625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8626 $(HOST_EXPORTS) \
8627 (cd $(HOST_SUBDIR)/etc && \
8628 $(MAKE) $(FLAGS_TO_PASS) install)
8630 @endif etc
8632 # Other targets (info, dvi, etc.)
8634 .PHONY: maybe-info-etc info-etc
8635 maybe-info-etc:
8636 @if etc
8637 maybe-info-etc: info-etc
8639 info-etc: \
8640 configure-etc
8641 @: $(MAKE); $(unstage)
8642 @[ -f ./etc/Makefile ] || exit 0; \
8643 r=`${PWD_COMMAND}`; export r; \
8644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8645 $(HOST_EXPORTS) \
8646 for flag in $(EXTRA_HOST_FLAGS) ; do \
8647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8648 done; \
8649 echo "Doing info in etc" ; \
8650 (cd $(HOST_SUBDIR)/etc && \
8651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8653 "RANLIB=$${RANLIB}" \
8654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8655 info) \
8656 || exit 1
8658 @endif etc
8660 .PHONY: maybe-dvi-etc dvi-etc
8661 maybe-dvi-etc:
8662 @if etc
8663 maybe-dvi-etc: dvi-etc
8665 dvi-etc: \
8666 configure-etc
8667 @: $(MAKE); $(unstage)
8668 @[ -f ./etc/Makefile ] || exit 0; \
8669 r=`${PWD_COMMAND}`; export r; \
8670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8671 $(HOST_EXPORTS) \
8672 for flag in $(EXTRA_HOST_FLAGS) ; do \
8673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8674 done; \
8675 echo "Doing dvi in etc" ; \
8676 (cd $(HOST_SUBDIR)/etc && \
8677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8679 "RANLIB=$${RANLIB}" \
8680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8681 dvi) \
8682 || exit 1
8684 @endif etc
8686 .PHONY: maybe-html-etc html-etc
8687 maybe-html-etc:
8688 @if etc
8689 maybe-html-etc: html-etc
8691 html-etc: \
8692 configure-etc
8693 @: $(MAKE); $(unstage)
8694 @[ -f ./etc/Makefile ] || exit 0; \
8695 r=`${PWD_COMMAND}`; export r; \
8696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8697 $(HOST_EXPORTS) \
8698 for flag in $(EXTRA_HOST_FLAGS) ; do \
8699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8700 done; \
8701 echo "Doing html in etc" ; \
8702 (cd $(HOST_SUBDIR)/etc && \
8703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8705 "RANLIB=$${RANLIB}" \
8706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8707 html) \
8708 || exit 1
8710 @endif etc
8712 .PHONY: maybe-TAGS-etc TAGS-etc
8713 maybe-TAGS-etc:
8714 @if etc
8715 maybe-TAGS-etc: TAGS-etc
8717 TAGS-etc: \
8718 configure-etc
8719 @: $(MAKE); $(unstage)
8720 @[ -f ./etc/Makefile ] || exit 0; \
8721 r=`${PWD_COMMAND}`; export r; \
8722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8723 $(HOST_EXPORTS) \
8724 for flag in $(EXTRA_HOST_FLAGS) ; do \
8725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8726 done; \
8727 echo "Doing TAGS in etc" ; \
8728 (cd $(HOST_SUBDIR)/etc && \
8729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8731 "RANLIB=$${RANLIB}" \
8732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8733 TAGS) \
8734 || exit 1
8736 @endif etc
8738 .PHONY: maybe-install-info-etc install-info-etc
8739 maybe-install-info-etc:
8740 @if etc
8741 maybe-install-info-etc: install-info-etc
8743 install-info-etc: \
8744 configure-etc \
8745 info-etc
8746 @: $(MAKE); $(unstage)
8747 @[ -f ./etc/Makefile ] || exit 0; \
8748 r=`${PWD_COMMAND}`; export r; \
8749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8750 $(HOST_EXPORTS) \
8751 for flag in $(EXTRA_HOST_FLAGS) ; do \
8752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8753 done; \
8754 echo "Doing install-info in etc" ; \
8755 (cd $(HOST_SUBDIR)/etc && \
8756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8758 "RANLIB=$${RANLIB}" \
8759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8760 install-info) \
8761 || exit 1
8763 @endif etc
8765 .PHONY: maybe-install-html-etc install-html-etc
8766 maybe-install-html-etc:
8767 @if etc
8768 maybe-install-html-etc: install-html-etc
8770 install-html-etc: \
8771 configure-etc \
8772 html-etc
8773 @: $(MAKE); $(unstage)
8774 @[ -f ./etc/Makefile ] || exit 0; \
8775 r=`${PWD_COMMAND}`; export r; \
8776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8777 $(HOST_EXPORTS) \
8778 for flag in $(EXTRA_HOST_FLAGS) ; do \
8779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8780 done; \
8781 echo "Doing install-html in etc" ; \
8782 (cd $(HOST_SUBDIR)/etc && \
8783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8785 "RANLIB=$${RANLIB}" \
8786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8787 install-html) \
8788 || exit 1
8790 @endif etc
8792 .PHONY: maybe-installcheck-etc installcheck-etc
8793 maybe-installcheck-etc:
8794 @if etc
8795 maybe-installcheck-etc: installcheck-etc
8797 installcheck-etc: \
8798 configure-etc
8799 @: $(MAKE); $(unstage)
8800 @[ -f ./etc/Makefile ] || exit 0; \
8801 r=`${PWD_COMMAND}`; export r; \
8802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8803 $(HOST_EXPORTS) \
8804 for flag in $(EXTRA_HOST_FLAGS) ; do \
8805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8806 done; \
8807 echo "Doing installcheck in etc" ; \
8808 (cd $(HOST_SUBDIR)/etc && \
8809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8811 "RANLIB=$${RANLIB}" \
8812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8813 installcheck) \
8814 || exit 1
8816 @endif etc
8818 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8819 maybe-mostlyclean-etc:
8820 @if etc
8821 maybe-mostlyclean-etc: mostlyclean-etc
8823 mostlyclean-etc:
8824 @: $(MAKE); $(unstage)
8825 @[ -f ./etc/Makefile ] || exit 0; \
8826 r=`${PWD_COMMAND}`; export r; \
8827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8828 $(HOST_EXPORTS) \
8829 for flag in $(EXTRA_HOST_FLAGS) ; do \
8830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8831 done; \
8832 echo "Doing mostlyclean in etc" ; \
8833 (cd $(HOST_SUBDIR)/etc && \
8834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8836 "RANLIB=$${RANLIB}" \
8837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8838 mostlyclean) \
8839 || exit 1
8841 @endif etc
8843 .PHONY: maybe-clean-etc clean-etc
8844 maybe-clean-etc:
8845 @if etc
8846 maybe-clean-etc: clean-etc
8848 clean-etc:
8849 @: $(MAKE); $(unstage)
8850 @[ -f ./etc/Makefile ] || exit 0; \
8851 r=`${PWD_COMMAND}`; export r; \
8852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8853 $(HOST_EXPORTS) \
8854 for flag in $(EXTRA_HOST_FLAGS) ; do \
8855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8856 done; \
8857 echo "Doing clean in etc" ; \
8858 (cd $(HOST_SUBDIR)/etc && \
8859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8861 "RANLIB=$${RANLIB}" \
8862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8863 clean) \
8864 || exit 1
8866 @endif etc
8868 .PHONY: maybe-distclean-etc distclean-etc
8869 maybe-distclean-etc:
8870 @if etc
8871 maybe-distclean-etc: distclean-etc
8873 distclean-etc:
8874 @: $(MAKE); $(unstage)
8875 @[ -f ./etc/Makefile ] || exit 0; \
8876 r=`${PWD_COMMAND}`; export r; \
8877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8878 $(HOST_EXPORTS) \
8879 for flag in $(EXTRA_HOST_FLAGS) ; do \
8880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8881 done; \
8882 echo "Doing distclean in etc" ; \
8883 (cd $(HOST_SUBDIR)/etc && \
8884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8886 "RANLIB=$${RANLIB}" \
8887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8888 distclean) \
8889 || exit 1
8891 @endif etc
8893 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8894 maybe-maintainer-clean-etc:
8895 @if etc
8896 maybe-maintainer-clean-etc: maintainer-clean-etc
8898 maintainer-clean-etc:
8899 @: $(MAKE); $(unstage)
8900 @[ -f ./etc/Makefile ] || exit 0; \
8901 r=`${PWD_COMMAND}`; export r; \
8902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8903 $(HOST_EXPORTS) \
8904 for flag in $(EXTRA_HOST_FLAGS) ; do \
8905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8906 done; \
8907 echo "Doing maintainer-clean in etc" ; \
8908 (cd $(HOST_SUBDIR)/etc && \
8909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8911 "RANLIB=$${RANLIB}" \
8912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8913 maintainer-clean) \
8914 || exit 1
8916 @endif etc
8920 .PHONY: configure-fastjar maybe-configure-fastjar
8921 maybe-configure-fastjar:
8922 @if gcc-bootstrap
8923 configure-fastjar: stage_current
8924 @endif gcc-bootstrap
8925 @if fastjar
8926 maybe-configure-fastjar: configure-fastjar
8927 configure-fastjar:
8928 @: $(MAKE); $(unstage)
8929 @r=`${PWD_COMMAND}`; export r; \
8930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8931 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8932 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
8933 $(HOST_EXPORTS) \
8934 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8935 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8936 case $(srcdir) in \
8937 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8938 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8939 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8940 esac; \
8941 srcdiroption="--srcdir=$${topdir}/fastjar"; \
8942 libsrcdir="$$s/fastjar"; \
8943 $(SHELL) $${libsrcdir}/configure \
8944 $(HOST_CONFIGARGS) $${srcdiroption} \
8945 || exit 1
8946 @endif fastjar
8952 .PHONY: all-fastjar maybe-all-fastjar
8953 maybe-all-fastjar:
8954 @if gcc-bootstrap
8955 all-fastjar: stage_current
8956 @endif gcc-bootstrap
8957 @if fastjar
8958 TARGET-fastjar=all
8959 maybe-all-fastjar: all-fastjar
8960 all-fastjar: configure-fastjar
8961 @: $(MAKE); $(unstage)
8962 @r=`${PWD_COMMAND}`; export r; \
8963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8964 $(HOST_EXPORTS) \
8965 (cd $(HOST_SUBDIR)/fastjar && \
8966 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
8967 @endif fastjar
8972 .PHONY: check-fastjar maybe-check-fastjar
8973 maybe-check-fastjar:
8974 @if fastjar
8975 maybe-check-fastjar: check-fastjar
8977 # This module is only tested in a native toolchain.
8978 check-fastjar:
8979 @: $(MAKE); $(unstage)
8980 @if [ '$(host)' = '$(target)' ] ; then \
8981 r=`${PWD_COMMAND}`; export r; \
8982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8983 $(HOST_EXPORTS) \
8984 (cd $(HOST_SUBDIR)/fastjar && \
8985 $(MAKE) $(FLAGS_TO_PASS) check); \
8988 @endif fastjar
8990 .PHONY: install-fastjar maybe-install-fastjar
8991 maybe-install-fastjar:
8992 @if fastjar
8993 maybe-install-fastjar: install-fastjar
8995 install-fastjar: installdirs
8996 @: $(MAKE); $(unstage)
8997 @r=`${PWD_COMMAND}`; export r; \
8998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8999 $(HOST_EXPORTS) \
9000 (cd $(HOST_SUBDIR)/fastjar && \
9001 $(MAKE) $(FLAGS_TO_PASS) install)
9003 @endif fastjar
9005 # Other targets (info, dvi, etc.)
9007 .PHONY: maybe-info-fastjar info-fastjar
9008 maybe-info-fastjar:
9009 @if fastjar
9010 maybe-info-fastjar: info-fastjar
9012 info-fastjar: \
9013 configure-fastjar
9014 @: $(MAKE); $(unstage)
9015 @[ -f ./fastjar/Makefile ] || exit 0; \
9016 r=`${PWD_COMMAND}`; export r; \
9017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9018 $(HOST_EXPORTS) \
9019 for flag in $(EXTRA_HOST_FLAGS) ; do \
9020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9021 done; \
9022 echo "Doing info in fastjar" ; \
9023 (cd $(HOST_SUBDIR)/fastjar && \
9024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9026 "RANLIB=$${RANLIB}" \
9027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9028 info) \
9029 || exit 1
9031 @endif fastjar
9033 .PHONY: maybe-dvi-fastjar dvi-fastjar
9034 maybe-dvi-fastjar:
9035 @if fastjar
9036 maybe-dvi-fastjar: dvi-fastjar
9038 dvi-fastjar: \
9039 configure-fastjar
9040 @: $(MAKE); $(unstage)
9041 @[ -f ./fastjar/Makefile ] || exit 0; \
9042 r=`${PWD_COMMAND}`; export r; \
9043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9044 $(HOST_EXPORTS) \
9045 for flag in $(EXTRA_HOST_FLAGS) ; do \
9046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9047 done; \
9048 echo "Doing dvi in fastjar" ; \
9049 (cd $(HOST_SUBDIR)/fastjar && \
9050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9052 "RANLIB=$${RANLIB}" \
9053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9054 dvi) \
9055 || exit 1
9057 @endif fastjar
9059 .PHONY: maybe-html-fastjar html-fastjar
9060 maybe-html-fastjar:
9061 @if fastjar
9062 maybe-html-fastjar: html-fastjar
9064 html-fastjar: \
9065 configure-fastjar
9066 @: $(MAKE); $(unstage)
9067 @[ -f ./fastjar/Makefile ] || exit 0; \
9068 r=`${PWD_COMMAND}`; export r; \
9069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9070 $(HOST_EXPORTS) \
9071 for flag in $(EXTRA_HOST_FLAGS) ; do \
9072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9073 done; \
9074 echo "Doing html in fastjar" ; \
9075 (cd $(HOST_SUBDIR)/fastjar && \
9076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9078 "RANLIB=$${RANLIB}" \
9079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9080 html) \
9081 || exit 1
9083 @endif fastjar
9085 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
9086 maybe-TAGS-fastjar:
9087 @if fastjar
9088 maybe-TAGS-fastjar: TAGS-fastjar
9090 TAGS-fastjar: \
9091 configure-fastjar
9092 @: $(MAKE); $(unstage)
9093 @[ -f ./fastjar/Makefile ] || exit 0; \
9094 r=`${PWD_COMMAND}`; export r; \
9095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9096 $(HOST_EXPORTS) \
9097 for flag in $(EXTRA_HOST_FLAGS) ; do \
9098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9099 done; \
9100 echo "Doing TAGS in fastjar" ; \
9101 (cd $(HOST_SUBDIR)/fastjar && \
9102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9104 "RANLIB=$${RANLIB}" \
9105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9106 TAGS) \
9107 || exit 1
9109 @endif fastjar
9111 .PHONY: maybe-install-info-fastjar install-info-fastjar
9112 maybe-install-info-fastjar:
9113 @if fastjar
9114 maybe-install-info-fastjar: install-info-fastjar
9116 install-info-fastjar: \
9117 configure-fastjar \
9118 info-fastjar
9119 @: $(MAKE); $(unstage)
9120 @[ -f ./fastjar/Makefile ] || exit 0; \
9121 r=`${PWD_COMMAND}`; export r; \
9122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9123 $(HOST_EXPORTS) \
9124 for flag in $(EXTRA_HOST_FLAGS) ; do \
9125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9126 done; \
9127 echo "Doing install-info in fastjar" ; \
9128 (cd $(HOST_SUBDIR)/fastjar && \
9129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9131 "RANLIB=$${RANLIB}" \
9132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9133 install-info) \
9134 || exit 1
9136 @endif fastjar
9138 .PHONY: maybe-install-html-fastjar install-html-fastjar
9139 maybe-install-html-fastjar:
9140 @if fastjar
9141 maybe-install-html-fastjar: install-html-fastjar
9143 install-html-fastjar: \
9144 configure-fastjar \
9145 html-fastjar
9146 @: $(MAKE); $(unstage)
9147 @[ -f ./fastjar/Makefile ] || exit 0; \
9148 r=`${PWD_COMMAND}`; export r; \
9149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9150 $(HOST_EXPORTS) \
9151 for flag in $(EXTRA_HOST_FLAGS) ; do \
9152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9153 done; \
9154 echo "Doing install-html in fastjar" ; \
9155 (cd $(HOST_SUBDIR)/fastjar && \
9156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9158 "RANLIB=$${RANLIB}" \
9159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9160 install-html) \
9161 || exit 1
9163 @endif fastjar
9165 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
9166 maybe-installcheck-fastjar:
9167 @if fastjar
9168 maybe-installcheck-fastjar: installcheck-fastjar
9170 installcheck-fastjar: \
9171 configure-fastjar
9172 @: $(MAKE); $(unstage)
9173 @[ -f ./fastjar/Makefile ] || exit 0; \
9174 r=`${PWD_COMMAND}`; export r; \
9175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9176 $(HOST_EXPORTS) \
9177 for flag in $(EXTRA_HOST_FLAGS) ; do \
9178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9179 done; \
9180 echo "Doing installcheck in fastjar" ; \
9181 (cd $(HOST_SUBDIR)/fastjar && \
9182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9184 "RANLIB=$${RANLIB}" \
9185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9186 installcheck) \
9187 || exit 1
9189 @endif fastjar
9191 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
9192 maybe-mostlyclean-fastjar:
9193 @if fastjar
9194 maybe-mostlyclean-fastjar: mostlyclean-fastjar
9196 mostlyclean-fastjar:
9197 @: $(MAKE); $(unstage)
9198 @[ -f ./fastjar/Makefile ] || exit 0; \
9199 r=`${PWD_COMMAND}`; export r; \
9200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9201 $(HOST_EXPORTS) \
9202 for flag in $(EXTRA_HOST_FLAGS) ; do \
9203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9204 done; \
9205 echo "Doing mostlyclean in fastjar" ; \
9206 (cd $(HOST_SUBDIR)/fastjar && \
9207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9209 "RANLIB=$${RANLIB}" \
9210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9211 mostlyclean) \
9212 || exit 1
9214 @endif fastjar
9216 .PHONY: maybe-clean-fastjar clean-fastjar
9217 maybe-clean-fastjar:
9218 @if fastjar
9219 maybe-clean-fastjar: clean-fastjar
9221 clean-fastjar:
9222 @: $(MAKE); $(unstage)
9223 @[ -f ./fastjar/Makefile ] || exit 0; \
9224 r=`${PWD_COMMAND}`; export r; \
9225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9226 $(HOST_EXPORTS) \
9227 for flag in $(EXTRA_HOST_FLAGS) ; do \
9228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9229 done; \
9230 echo "Doing clean in fastjar" ; \
9231 (cd $(HOST_SUBDIR)/fastjar && \
9232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9234 "RANLIB=$${RANLIB}" \
9235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9236 clean) \
9237 || exit 1
9239 @endif fastjar
9241 .PHONY: maybe-distclean-fastjar distclean-fastjar
9242 maybe-distclean-fastjar:
9243 @if fastjar
9244 maybe-distclean-fastjar: distclean-fastjar
9246 distclean-fastjar:
9247 @: $(MAKE); $(unstage)
9248 @[ -f ./fastjar/Makefile ] || exit 0; \
9249 r=`${PWD_COMMAND}`; export r; \
9250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9251 $(HOST_EXPORTS) \
9252 for flag in $(EXTRA_HOST_FLAGS) ; do \
9253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9254 done; \
9255 echo "Doing distclean in fastjar" ; \
9256 (cd $(HOST_SUBDIR)/fastjar && \
9257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9259 "RANLIB=$${RANLIB}" \
9260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9261 distclean) \
9262 || exit 1
9264 @endif fastjar
9266 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
9267 maybe-maintainer-clean-fastjar:
9268 @if fastjar
9269 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
9271 maintainer-clean-fastjar:
9272 @: $(MAKE); $(unstage)
9273 @[ -f ./fastjar/Makefile ] || exit 0; \
9274 r=`${PWD_COMMAND}`; export r; \
9275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9276 $(HOST_EXPORTS) \
9277 for flag in $(EXTRA_HOST_FLAGS) ; do \
9278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9279 done; \
9280 echo "Doing maintainer-clean in fastjar" ; \
9281 (cd $(HOST_SUBDIR)/fastjar && \
9282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9284 "RANLIB=$${RANLIB}" \
9285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9286 maintainer-clean) \
9287 || exit 1
9289 @endif fastjar
9293 .PHONY: configure-fileutils maybe-configure-fileutils
9294 maybe-configure-fileutils:
9295 @if gcc-bootstrap
9296 configure-fileutils: stage_current
9297 @endif gcc-bootstrap
9298 @if fileutils
9299 maybe-configure-fileutils: configure-fileutils
9300 configure-fileutils:
9301 @: $(MAKE); $(unstage)
9302 @r=`${PWD_COMMAND}`; export r; \
9303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9304 test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
9305 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
9306 $(HOST_EXPORTS) \
9307 echo Configuring in $(HOST_SUBDIR)/fileutils; \
9308 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
9309 case $(srcdir) in \
9310 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9311 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
9312 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9313 esac; \
9314 srcdiroption="--srcdir=$${topdir}/fileutils"; \
9315 libsrcdir="$$s/fileutils"; \
9316 $(SHELL) $${libsrcdir}/configure \
9317 $(HOST_CONFIGARGS) $${srcdiroption} \
9318 || exit 1
9319 @endif fileutils
9325 .PHONY: all-fileutils maybe-all-fileutils
9326 maybe-all-fileutils:
9327 @if gcc-bootstrap
9328 all-fileutils: stage_current
9329 @endif gcc-bootstrap
9330 @if fileutils
9331 TARGET-fileutils=all
9332 maybe-all-fileutils: all-fileutils
9333 all-fileutils: configure-fileutils
9334 @: $(MAKE); $(unstage)
9335 @r=`${PWD_COMMAND}`; export r; \
9336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9337 $(HOST_EXPORTS) \
9338 (cd $(HOST_SUBDIR)/fileutils && \
9339 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
9340 @endif fileutils
9345 .PHONY: check-fileutils maybe-check-fileutils
9346 maybe-check-fileutils:
9347 @if fileutils
9348 maybe-check-fileutils: check-fileutils
9350 check-fileutils:
9351 @: $(MAKE); $(unstage)
9352 @r=`${PWD_COMMAND}`; export r; \
9353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9354 $(HOST_EXPORTS) \
9355 (cd $(HOST_SUBDIR)/fileutils && \
9356 $(MAKE) $(FLAGS_TO_PASS) check)
9358 @endif fileutils
9360 .PHONY: install-fileutils maybe-install-fileutils
9361 maybe-install-fileutils:
9362 @if fileutils
9363 maybe-install-fileutils: install-fileutils
9365 install-fileutils: installdirs
9366 @: $(MAKE); $(unstage)
9367 @r=`${PWD_COMMAND}`; export r; \
9368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9369 $(HOST_EXPORTS) \
9370 (cd $(HOST_SUBDIR)/fileutils && \
9371 $(MAKE) $(FLAGS_TO_PASS) install)
9373 @endif fileutils
9375 # Other targets (info, dvi, etc.)
9377 .PHONY: maybe-info-fileutils info-fileutils
9378 maybe-info-fileutils:
9379 @if fileutils
9380 maybe-info-fileutils: info-fileutils
9382 info-fileutils: \
9383 configure-fileutils
9384 @: $(MAKE); $(unstage)
9385 @[ -f ./fileutils/Makefile ] || exit 0; \
9386 r=`${PWD_COMMAND}`; export r; \
9387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9388 $(HOST_EXPORTS) \
9389 for flag in $(EXTRA_HOST_FLAGS) ; do \
9390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9391 done; \
9392 echo "Doing info in fileutils" ; \
9393 (cd $(HOST_SUBDIR)/fileutils && \
9394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9396 "RANLIB=$${RANLIB}" \
9397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9398 info) \
9399 || exit 1
9401 @endif fileutils
9403 .PHONY: maybe-dvi-fileutils dvi-fileutils
9404 maybe-dvi-fileutils:
9405 @if fileutils
9406 maybe-dvi-fileutils: dvi-fileutils
9408 dvi-fileutils: \
9409 configure-fileutils
9410 @: $(MAKE); $(unstage)
9411 @[ -f ./fileutils/Makefile ] || exit 0; \
9412 r=`${PWD_COMMAND}`; export r; \
9413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9414 $(HOST_EXPORTS) \
9415 for flag in $(EXTRA_HOST_FLAGS) ; do \
9416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9417 done; \
9418 echo "Doing dvi in fileutils" ; \
9419 (cd $(HOST_SUBDIR)/fileutils && \
9420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9422 "RANLIB=$${RANLIB}" \
9423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9424 dvi) \
9425 || exit 1
9427 @endif fileutils
9429 .PHONY: maybe-html-fileutils html-fileutils
9430 maybe-html-fileutils:
9431 @if fileutils
9432 maybe-html-fileutils: html-fileutils
9434 html-fileutils: \
9435 configure-fileutils
9436 @: $(MAKE); $(unstage)
9437 @[ -f ./fileutils/Makefile ] || exit 0; \
9438 r=`${PWD_COMMAND}`; export r; \
9439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9440 $(HOST_EXPORTS) \
9441 for flag in $(EXTRA_HOST_FLAGS) ; do \
9442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9443 done; \
9444 echo "Doing html in fileutils" ; \
9445 (cd $(HOST_SUBDIR)/fileutils && \
9446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9448 "RANLIB=$${RANLIB}" \
9449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9450 html) \
9451 || exit 1
9453 @endif fileutils
9455 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
9456 maybe-TAGS-fileutils:
9457 @if fileutils
9458 maybe-TAGS-fileutils: TAGS-fileutils
9460 TAGS-fileutils: \
9461 configure-fileutils
9462 @: $(MAKE); $(unstage)
9463 @[ -f ./fileutils/Makefile ] || exit 0; \
9464 r=`${PWD_COMMAND}`; export r; \
9465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9466 $(HOST_EXPORTS) \
9467 for flag in $(EXTRA_HOST_FLAGS) ; do \
9468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9469 done; \
9470 echo "Doing TAGS in fileutils" ; \
9471 (cd $(HOST_SUBDIR)/fileutils && \
9472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9474 "RANLIB=$${RANLIB}" \
9475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9476 TAGS) \
9477 || exit 1
9479 @endif fileutils
9481 .PHONY: maybe-install-info-fileutils install-info-fileutils
9482 maybe-install-info-fileutils:
9483 @if fileutils
9484 maybe-install-info-fileutils: install-info-fileutils
9486 install-info-fileutils: \
9487 configure-fileutils \
9488 info-fileutils
9489 @: $(MAKE); $(unstage)
9490 @[ -f ./fileutils/Makefile ] || exit 0; \
9491 r=`${PWD_COMMAND}`; export r; \
9492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9493 $(HOST_EXPORTS) \
9494 for flag in $(EXTRA_HOST_FLAGS) ; do \
9495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9496 done; \
9497 echo "Doing install-info in fileutils" ; \
9498 (cd $(HOST_SUBDIR)/fileutils && \
9499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9501 "RANLIB=$${RANLIB}" \
9502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9503 install-info) \
9504 || exit 1
9506 @endif fileutils
9508 .PHONY: maybe-install-html-fileutils install-html-fileutils
9509 maybe-install-html-fileutils:
9510 @if fileutils
9511 maybe-install-html-fileutils: install-html-fileutils
9513 install-html-fileutils: \
9514 configure-fileutils \
9515 html-fileutils
9516 @: $(MAKE); $(unstage)
9517 @[ -f ./fileutils/Makefile ] || exit 0; \
9518 r=`${PWD_COMMAND}`; export r; \
9519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9520 $(HOST_EXPORTS) \
9521 for flag in $(EXTRA_HOST_FLAGS) ; do \
9522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9523 done; \
9524 echo "Doing install-html in fileutils" ; \
9525 (cd $(HOST_SUBDIR)/fileutils && \
9526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9528 "RANLIB=$${RANLIB}" \
9529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9530 install-html) \
9531 || exit 1
9533 @endif fileutils
9535 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
9536 maybe-installcheck-fileutils:
9537 @if fileutils
9538 maybe-installcheck-fileutils: installcheck-fileutils
9540 installcheck-fileutils: \
9541 configure-fileutils
9542 @: $(MAKE); $(unstage)
9543 @[ -f ./fileutils/Makefile ] || exit 0; \
9544 r=`${PWD_COMMAND}`; export r; \
9545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9546 $(HOST_EXPORTS) \
9547 for flag in $(EXTRA_HOST_FLAGS) ; do \
9548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9549 done; \
9550 echo "Doing installcheck in fileutils" ; \
9551 (cd $(HOST_SUBDIR)/fileutils && \
9552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9554 "RANLIB=$${RANLIB}" \
9555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9556 installcheck) \
9557 || exit 1
9559 @endif fileutils
9561 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
9562 maybe-mostlyclean-fileutils:
9563 @if fileutils
9564 maybe-mostlyclean-fileutils: mostlyclean-fileutils
9566 mostlyclean-fileutils:
9567 @: $(MAKE); $(unstage)
9568 @[ -f ./fileutils/Makefile ] || exit 0; \
9569 r=`${PWD_COMMAND}`; export r; \
9570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9571 $(HOST_EXPORTS) \
9572 for flag in $(EXTRA_HOST_FLAGS) ; do \
9573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9574 done; \
9575 echo "Doing mostlyclean in fileutils" ; \
9576 (cd $(HOST_SUBDIR)/fileutils && \
9577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9579 "RANLIB=$${RANLIB}" \
9580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9581 mostlyclean) \
9582 || exit 1
9584 @endif fileutils
9586 .PHONY: maybe-clean-fileutils clean-fileutils
9587 maybe-clean-fileutils:
9588 @if fileutils
9589 maybe-clean-fileutils: clean-fileutils
9591 clean-fileutils:
9592 @: $(MAKE); $(unstage)
9593 @[ -f ./fileutils/Makefile ] || exit 0; \
9594 r=`${PWD_COMMAND}`; export r; \
9595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9596 $(HOST_EXPORTS) \
9597 for flag in $(EXTRA_HOST_FLAGS) ; do \
9598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9599 done; \
9600 echo "Doing clean in fileutils" ; \
9601 (cd $(HOST_SUBDIR)/fileutils && \
9602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9604 "RANLIB=$${RANLIB}" \
9605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9606 clean) \
9607 || exit 1
9609 @endif fileutils
9611 .PHONY: maybe-distclean-fileutils distclean-fileutils
9612 maybe-distclean-fileutils:
9613 @if fileutils
9614 maybe-distclean-fileutils: distclean-fileutils
9616 distclean-fileutils:
9617 @: $(MAKE); $(unstage)
9618 @[ -f ./fileutils/Makefile ] || exit 0; \
9619 r=`${PWD_COMMAND}`; export r; \
9620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9621 $(HOST_EXPORTS) \
9622 for flag in $(EXTRA_HOST_FLAGS) ; do \
9623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9624 done; \
9625 echo "Doing distclean in fileutils" ; \
9626 (cd $(HOST_SUBDIR)/fileutils && \
9627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9629 "RANLIB=$${RANLIB}" \
9630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9631 distclean) \
9632 || exit 1
9634 @endif fileutils
9636 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
9637 maybe-maintainer-clean-fileutils:
9638 @if fileutils
9639 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
9641 maintainer-clean-fileutils:
9642 @: $(MAKE); $(unstage)
9643 @[ -f ./fileutils/Makefile ] || exit 0; \
9644 r=`${PWD_COMMAND}`; export r; \
9645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9646 $(HOST_EXPORTS) \
9647 for flag in $(EXTRA_HOST_FLAGS) ; do \
9648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9649 done; \
9650 echo "Doing maintainer-clean in fileutils" ; \
9651 (cd $(HOST_SUBDIR)/fileutils && \
9652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9654 "RANLIB=$${RANLIB}" \
9655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9656 maintainer-clean) \
9657 || exit 1
9659 @endif fileutils
9663 .PHONY: configure-findutils maybe-configure-findutils
9664 maybe-configure-findutils:
9665 @if gcc-bootstrap
9666 configure-findutils: stage_current
9667 @endif gcc-bootstrap
9668 @if findutils
9669 maybe-configure-findutils: configure-findutils
9670 configure-findutils:
9671 @: $(MAKE); $(unstage)
9672 @r=`${PWD_COMMAND}`; export r; \
9673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9674 test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
9675 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
9676 $(HOST_EXPORTS) \
9677 echo Configuring in $(HOST_SUBDIR)/findutils; \
9678 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
9679 case $(srcdir) in \
9680 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9681 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
9682 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9683 esac; \
9684 srcdiroption="--srcdir=$${topdir}/findutils"; \
9685 libsrcdir="$$s/findutils"; \
9686 $(SHELL) $${libsrcdir}/configure \
9687 $(HOST_CONFIGARGS) $${srcdiroption} \
9688 || exit 1
9689 @endif findutils
9695 .PHONY: all-findutils maybe-all-findutils
9696 maybe-all-findutils:
9697 @if gcc-bootstrap
9698 all-findutils: stage_current
9699 @endif gcc-bootstrap
9700 @if findutils
9701 TARGET-findutils=all
9702 maybe-all-findutils: all-findutils
9703 all-findutils: configure-findutils
9704 @: $(MAKE); $(unstage)
9705 @r=`${PWD_COMMAND}`; export r; \
9706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9707 $(HOST_EXPORTS) \
9708 (cd $(HOST_SUBDIR)/findutils && \
9709 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
9710 @endif findutils
9715 .PHONY: check-findutils maybe-check-findutils
9716 maybe-check-findutils:
9717 @if findutils
9718 maybe-check-findutils: check-findutils
9720 check-findutils:
9721 @: $(MAKE); $(unstage)
9722 @r=`${PWD_COMMAND}`; export r; \
9723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9724 $(HOST_EXPORTS) \
9725 (cd $(HOST_SUBDIR)/findutils && \
9726 $(MAKE) $(FLAGS_TO_PASS) check)
9728 @endif findutils
9730 .PHONY: install-findutils maybe-install-findutils
9731 maybe-install-findutils:
9732 @if findutils
9733 maybe-install-findutils: install-findutils
9735 install-findutils: installdirs
9736 @: $(MAKE); $(unstage)
9737 @r=`${PWD_COMMAND}`; export r; \
9738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9739 $(HOST_EXPORTS) \
9740 (cd $(HOST_SUBDIR)/findutils && \
9741 $(MAKE) $(FLAGS_TO_PASS) install)
9743 @endif findutils
9745 # Other targets (info, dvi, etc.)
9747 .PHONY: maybe-info-findutils info-findutils
9748 maybe-info-findutils:
9749 @if findutils
9750 maybe-info-findutils: info-findutils
9752 info-findutils: \
9753 configure-findutils
9754 @: $(MAKE); $(unstage)
9755 @[ -f ./findutils/Makefile ] || exit 0; \
9756 r=`${PWD_COMMAND}`; export r; \
9757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9758 $(HOST_EXPORTS) \
9759 for flag in $(EXTRA_HOST_FLAGS) ; do \
9760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9761 done; \
9762 echo "Doing info in findutils" ; \
9763 (cd $(HOST_SUBDIR)/findutils && \
9764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9766 "RANLIB=$${RANLIB}" \
9767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9768 info) \
9769 || exit 1
9771 @endif findutils
9773 .PHONY: maybe-dvi-findutils dvi-findutils
9774 maybe-dvi-findutils:
9775 @if findutils
9776 maybe-dvi-findutils: dvi-findutils
9778 dvi-findutils: \
9779 configure-findutils
9780 @: $(MAKE); $(unstage)
9781 @[ -f ./findutils/Makefile ] || exit 0; \
9782 r=`${PWD_COMMAND}`; export r; \
9783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9784 $(HOST_EXPORTS) \
9785 for flag in $(EXTRA_HOST_FLAGS) ; do \
9786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9787 done; \
9788 echo "Doing dvi in findutils" ; \
9789 (cd $(HOST_SUBDIR)/findutils && \
9790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9792 "RANLIB=$${RANLIB}" \
9793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9794 dvi) \
9795 || exit 1
9797 @endif findutils
9799 .PHONY: maybe-html-findutils html-findutils
9800 maybe-html-findutils:
9801 @if findutils
9802 maybe-html-findutils: html-findutils
9804 html-findutils: \
9805 configure-findutils
9806 @: $(MAKE); $(unstage)
9807 @[ -f ./findutils/Makefile ] || exit 0; \
9808 r=`${PWD_COMMAND}`; export r; \
9809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9810 $(HOST_EXPORTS) \
9811 for flag in $(EXTRA_HOST_FLAGS) ; do \
9812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9813 done; \
9814 echo "Doing html in findutils" ; \
9815 (cd $(HOST_SUBDIR)/findutils && \
9816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9818 "RANLIB=$${RANLIB}" \
9819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9820 html) \
9821 || exit 1
9823 @endif findutils
9825 .PHONY: maybe-TAGS-findutils TAGS-findutils
9826 maybe-TAGS-findutils:
9827 @if findutils
9828 maybe-TAGS-findutils: TAGS-findutils
9830 TAGS-findutils: \
9831 configure-findutils
9832 @: $(MAKE); $(unstage)
9833 @[ -f ./findutils/Makefile ] || exit 0; \
9834 r=`${PWD_COMMAND}`; export r; \
9835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9836 $(HOST_EXPORTS) \
9837 for flag in $(EXTRA_HOST_FLAGS) ; do \
9838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9839 done; \
9840 echo "Doing TAGS in findutils" ; \
9841 (cd $(HOST_SUBDIR)/findutils && \
9842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9844 "RANLIB=$${RANLIB}" \
9845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9846 TAGS) \
9847 || exit 1
9849 @endif findutils
9851 .PHONY: maybe-install-info-findutils install-info-findutils
9852 maybe-install-info-findutils:
9853 @if findutils
9854 maybe-install-info-findutils: install-info-findutils
9856 install-info-findutils: \
9857 configure-findutils \
9858 info-findutils
9859 @: $(MAKE); $(unstage)
9860 @[ -f ./findutils/Makefile ] || exit 0; \
9861 r=`${PWD_COMMAND}`; export r; \
9862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9863 $(HOST_EXPORTS) \
9864 for flag in $(EXTRA_HOST_FLAGS) ; do \
9865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9866 done; \
9867 echo "Doing install-info in findutils" ; \
9868 (cd $(HOST_SUBDIR)/findutils && \
9869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9871 "RANLIB=$${RANLIB}" \
9872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9873 install-info) \
9874 || exit 1
9876 @endif findutils
9878 .PHONY: maybe-install-html-findutils install-html-findutils
9879 maybe-install-html-findutils:
9880 @if findutils
9881 maybe-install-html-findutils: install-html-findutils
9883 install-html-findutils: \
9884 configure-findutils \
9885 html-findutils
9886 @: $(MAKE); $(unstage)
9887 @[ -f ./findutils/Makefile ] || exit 0; \
9888 r=`${PWD_COMMAND}`; export r; \
9889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9890 $(HOST_EXPORTS) \
9891 for flag in $(EXTRA_HOST_FLAGS) ; do \
9892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9893 done; \
9894 echo "Doing install-html in findutils" ; \
9895 (cd $(HOST_SUBDIR)/findutils && \
9896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9898 "RANLIB=$${RANLIB}" \
9899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9900 install-html) \
9901 || exit 1
9903 @endif findutils
9905 .PHONY: maybe-installcheck-findutils installcheck-findutils
9906 maybe-installcheck-findutils:
9907 @if findutils
9908 maybe-installcheck-findutils: installcheck-findutils
9910 installcheck-findutils: \
9911 configure-findutils
9912 @: $(MAKE); $(unstage)
9913 @[ -f ./findutils/Makefile ] || exit 0; \
9914 r=`${PWD_COMMAND}`; export r; \
9915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9916 $(HOST_EXPORTS) \
9917 for flag in $(EXTRA_HOST_FLAGS) ; do \
9918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9919 done; \
9920 echo "Doing installcheck in findutils" ; \
9921 (cd $(HOST_SUBDIR)/findutils && \
9922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9924 "RANLIB=$${RANLIB}" \
9925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9926 installcheck) \
9927 || exit 1
9929 @endif findutils
9931 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
9932 maybe-mostlyclean-findutils:
9933 @if findutils
9934 maybe-mostlyclean-findutils: mostlyclean-findutils
9936 mostlyclean-findutils:
9937 @: $(MAKE); $(unstage)
9938 @[ -f ./findutils/Makefile ] || exit 0; \
9939 r=`${PWD_COMMAND}`; export r; \
9940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9941 $(HOST_EXPORTS) \
9942 for flag in $(EXTRA_HOST_FLAGS) ; do \
9943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9944 done; \
9945 echo "Doing mostlyclean in findutils" ; \
9946 (cd $(HOST_SUBDIR)/findutils && \
9947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9949 "RANLIB=$${RANLIB}" \
9950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9951 mostlyclean) \
9952 || exit 1
9954 @endif findutils
9956 .PHONY: maybe-clean-findutils clean-findutils
9957 maybe-clean-findutils:
9958 @if findutils
9959 maybe-clean-findutils: clean-findutils
9961 clean-findutils:
9962 @: $(MAKE); $(unstage)
9963 @[ -f ./findutils/Makefile ] || exit 0; \
9964 r=`${PWD_COMMAND}`; export r; \
9965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9966 $(HOST_EXPORTS) \
9967 for flag in $(EXTRA_HOST_FLAGS) ; do \
9968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9969 done; \
9970 echo "Doing clean in findutils" ; \
9971 (cd $(HOST_SUBDIR)/findutils && \
9972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9974 "RANLIB=$${RANLIB}" \
9975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9976 clean) \
9977 || exit 1
9979 @endif findutils
9981 .PHONY: maybe-distclean-findutils distclean-findutils
9982 maybe-distclean-findutils:
9983 @if findutils
9984 maybe-distclean-findutils: distclean-findutils
9986 distclean-findutils:
9987 @: $(MAKE); $(unstage)
9988 @[ -f ./findutils/Makefile ] || exit 0; \
9989 r=`${PWD_COMMAND}`; export r; \
9990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9991 $(HOST_EXPORTS) \
9992 for flag in $(EXTRA_HOST_FLAGS) ; do \
9993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9994 done; \
9995 echo "Doing distclean in findutils" ; \
9996 (cd $(HOST_SUBDIR)/findutils && \
9997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9999 "RANLIB=$${RANLIB}" \
10000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10001 distclean) \
10002 || exit 1
10004 @endif findutils
10006 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
10007 maybe-maintainer-clean-findutils:
10008 @if findutils
10009 maybe-maintainer-clean-findutils: maintainer-clean-findutils
10011 maintainer-clean-findutils:
10012 @: $(MAKE); $(unstage)
10013 @[ -f ./findutils/Makefile ] || exit 0; \
10014 r=`${PWD_COMMAND}`; export r; \
10015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10016 $(HOST_EXPORTS) \
10017 for flag in $(EXTRA_HOST_FLAGS) ; do \
10018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10019 done; \
10020 echo "Doing maintainer-clean in findutils" ; \
10021 (cd $(HOST_SUBDIR)/findutils && \
10022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10024 "RANLIB=$${RANLIB}" \
10025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10026 maintainer-clean) \
10027 || exit 1
10029 @endif findutils
10033 .PHONY: configure-find maybe-configure-find
10034 maybe-configure-find:
10035 @if gcc-bootstrap
10036 configure-find: stage_current
10037 @endif gcc-bootstrap
10038 @if find
10039 maybe-configure-find: configure-find
10040 configure-find:
10041 @: $(MAKE); $(unstage)
10042 @r=`${PWD_COMMAND}`; export r; \
10043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10044 test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
10045 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
10046 $(HOST_EXPORTS) \
10047 echo Configuring in $(HOST_SUBDIR)/find; \
10048 cd "$(HOST_SUBDIR)/find" || exit 1; \
10049 case $(srcdir) in \
10050 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10051 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
10052 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10053 esac; \
10054 srcdiroption="--srcdir=$${topdir}/find"; \
10055 libsrcdir="$$s/find"; \
10056 $(SHELL) $${libsrcdir}/configure \
10057 $(HOST_CONFIGARGS) $${srcdiroption} \
10058 || exit 1
10059 @endif find
10065 .PHONY: all-find maybe-all-find
10066 maybe-all-find:
10067 @if gcc-bootstrap
10068 all-find: stage_current
10069 @endif gcc-bootstrap
10070 @if find
10071 TARGET-find=all
10072 maybe-all-find: all-find
10073 all-find: configure-find
10074 @: $(MAKE); $(unstage)
10075 @r=`${PWD_COMMAND}`; export r; \
10076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10077 $(HOST_EXPORTS) \
10078 (cd $(HOST_SUBDIR)/find && \
10079 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
10080 @endif find
10085 .PHONY: check-find maybe-check-find
10086 maybe-check-find:
10087 @if find
10088 maybe-check-find: check-find
10090 check-find:
10091 @: $(MAKE); $(unstage)
10092 @r=`${PWD_COMMAND}`; export r; \
10093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10094 $(HOST_EXPORTS) \
10095 (cd $(HOST_SUBDIR)/find && \
10096 $(MAKE) $(FLAGS_TO_PASS) check)
10098 @endif find
10100 .PHONY: install-find maybe-install-find
10101 maybe-install-find:
10102 @if find
10103 maybe-install-find: install-find
10105 install-find: installdirs
10106 @: $(MAKE); $(unstage)
10107 @r=`${PWD_COMMAND}`; export r; \
10108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10109 $(HOST_EXPORTS) \
10110 (cd $(HOST_SUBDIR)/find && \
10111 $(MAKE) $(FLAGS_TO_PASS) install)
10113 @endif find
10115 # Other targets (info, dvi, etc.)
10117 .PHONY: maybe-info-find info-find
10118 maybe-info-find:
10119 @if find
10120 maybe-info-find: info-find
10122 info-find: \
10123 configure-find
10124 @: $(MAKE); $(unstage)
10125 @[ -f ./find/Makefile ] || exit 0; \
10126 r=`${PWD_COMMAND}`; export r; \
10127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10128 $(HOST_EXPORTS) \
10129 for flag in $(EXTRA_HOST_FLAGS) ; do \
10130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10131 done; \
10132 echo "Doing info in find" ; \
10133 (cd $(HOST_SUBDIR)/find && \
10134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10136 "RANLIB=$${RANLIB}" \
10137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10138 info) \
10139 || exit 1
10141 @endif find
10143 .PHONY: maybe-dvi-find dvi-find
10144 maybe-dvi-find:
10145 @if find
10146 maybe-dvi-find: dvi-find
10148 dvi-find: \
10149 configure-find
10150 @: $(MAKE); $(unstage)
10151 @[ -f ./find/Makefile ] || exit 0; \
10152 r=`${PWD_COMMAND}`; export r; \
10153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10154 $(HOST_EXPORTS) \
10155 for flag in $(EXTRA_HOST_FLAGS) ; do \
10156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10157 done; \
10158 echo "Doing dvi in find" ; \
10159 (cd $(HOST_SUBDIR)/find && \
10160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10162 "RANLIB=$${RANLIB}" \
10163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10164 dvi) \
10165 || exit 1
10167 @endif find
10169 .PHONY: maybe-html-find html-find
10170 maybe-html-find:
10171 @if find
10172 maybe-html-find: html-find
10174 html-find: \
10175 configure-find
10176 @: $(MAKE); $(unstage)
10177 @[ -f ./find/Makefile ] || exit 0; \
10178 r=`${PWD_COMMAND}`; export r; \
10179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10180 $(HOST_EXPORTS) \
10181 for flag in $(EXTRA_HOST_FLAGS) ; do \
10182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10183 done; \
10184 echo "Doing html in find" ; \
10185 (cd $(HOST_SUBDIR)/find && \
10186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10188 "RANLIB=$${RANLIB}" \
10189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10190 html) \
10191 || exit 1
10193 @endif find
10195 .PHONY: maybe-TAGS-find TAGS-find
10196 maybe-TAGS-find:
10197 @if find
10198 maybe-TAGS-find: TAGS-find
10200 TAGS-find: \
10201 configure-find
10202 @: $(MAKE); $(unstage)
10203 @[ -f ./find/Makefile ] || exit 0; \
10204 r=`${PWD_COMMAND}`; export r; \
10205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10206 $(HOST_EXPORTS) \
10207 for flag in $(EXTRA_HOST_FLAGS) ; do \
10208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10209 done; \
10210 echo "Doing TAGS in find" ; \
10211 (cd $(HOST_SUBDIR)/find && \
10212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10214 "RANLIB=$${RANLIB}" \
10215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10216 TAGS) \
10217 || exit 1
10219 @endif find
10221 .PHONY: maybe-install-info-find install-info-find
10222 maybe-install-info-find:
10223 @if find
10224 maybe-install-info-find: install-info-find
10226 install-info-find: \
10227 configure-find \
10228 info-find
10229 @: $(MAKE); $(unstage)
10230 @[ -f ./find/Makefile ] || exit 0; \
10231 r=`${PWD_COMMAND}`; export r; \
10232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10233 $(HOST_EXPORTS) \
10234 for flag in $(EXTRA_HOST_FLAGS) ; do \
10235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10236 done; \
10237 echo "Doing install-info in find" ; \
10238 (cd $(HOST_SUBDIR)/find && \
10239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10241 "RANLIB=$${RANLIB}" \
10242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10243 install-info) \
10244 || exit 1
10246 @endif find
10248 .PHONY: maybe-install-html-find install-html-find
10249 maybe-install-html-find:
10250 @if find
10251 maybe-install-html-find: install-html-find
10253 install-html-find: \
10254 configure-find \
10255 html-find
10256 @: $(MAKE); $(unstage)
10257 @[ -f ./find/Makefile ] || exit 0; \
10258 r=`${PWD_COMMAND}`; export r; \
10259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10260 $(HOST_EXPORTS) \
10261 for flag in $(EXTRA_HOST_FLAGS) ; do \
10262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10263 done; \
10264 echo "Doing install-html in find" ; \
10265 (cd $(HOST_SUBDIR)/find && \
10266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10268 "RANLIB=$${RANLIB}" \
10269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10270 install-html) \
10271 || exit 1
10273 @endif find
10275 .PHONY: maybe-installcheck-find installcheck-find
10276 maybe-installcheck-find:
10277 @if find
10278 maybe-installcheck-find: installcheck-find
10280 installcheck-find: \
10281 configure-find
10282 @: $(MAKE); $(unstage)
10283 @[ -f ./find/Makefile ] || exit 0; \
10284 r=`${PWD_COMMAND}`; export r; \
10285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10286 $(HOST_EXPORTS) \
10287 for flag in $(EXTRA_HOST_FLAGS) ; do \
10288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10289 done; \
10290 echo "Doing installcheck in find" ; \
10291 (cd $(HOST_SUBDIR)/find && \
10292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10294 "RANLIB=$${RANLIB}" \
10295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10296 installcheck) \
10297 || exit 1
10299 @endif find
10301 .PHONY: maybe-mostlyclean-find mostlyclean-find
10302 maybe-mostlyclean-find:
10303 @if find
10304 maybe-mostlyclean-find: mostlyclean-find
10306 mostlyclean-find:
10307 @: $(MAKE); $(unstage)
10308 @[ -f ./find/Makefile ] || exit 0; \
10309 r=`${PWD_COMMAND}`; export r; \
10310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10311 $(HOST_EXPORTS) \
10312 for flag in $(EXTRA_HOST_FLAGS) ; do \
10313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10314 done; \
10315 echo "Doing mostlyclean in find" ; \
10316 (cd $(HOST_SUBDIR)/find && \
10317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10319 "RANLIB=$${RANLIB}" \
10320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10321 mostlyclean) \
10322 || exit 1
10324 @endif find
10326 .PHONY: maybe-clean-find clean-find
10327 maybe-clean-find:
10328 @if find
10329 maybe-clean-find: clean-find
10331 clean-find:
10332 @: $(MAKE); $(unstage)
10333 @[ -f ./find/Makefile ] || exit 0; \
10334 r=`${PWD_COMMAND}`; export r; \
10335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10336 $(HOST_EXPORTS) \
10337 for flag in $(EXTRA_HOST_FLAGS) ; do \
10338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10339 done; \
10340 echo "Doing clean in find" ; \
10341 (cd $(HOST_SUBDIR)/find && \
10342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10344 "RANLIB=$${RANLIB}" \
10345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10346 clean) \
10347 || exit 1
10349 @endif find
10351 .PHONY: maybe-distclean-find distclean-find
10352 maybe-distclean-find:
10353 @if find
10354 maybe-distclean-find: distclean-find
10356 distclean-find:
10357 @: $(MAKE); $(unstage)
10358 @[ -f ./find/Makefile ] || exit 0; \
10359 r=`${PWD_COMMAND}`; export r; \
10360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10361 $(HOST_EXPORTS) \
10362 for flag in $(EXTRA_HOST_FLAGS) ; do \
10363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10364 done; \
10365 echo "Doing distclean in find" ; \
10366 (cd $(HOST_SUBDIR)/find && \
10367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10369 "RANLIB=$${RANLIB}" \
10370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10371 distclean) \
10372 || exit 1
10374 @endif find
10376 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
10377 maybe-maintainer-clean-find:
10378 @if find
10379 maybe-maintainer-clean-find: maintainer-clean-find
10381 maintainer-clean-find:
10382 @: $(MAKE); $(unstage)
10383 @[ -f ./find/Makefile ] || exit 0; \
10384 r=`${PWD_COMMAND}`; export r; \
10385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10386 $(HOST_EXPORTS) \
10387 for flag in $(EXTRA_HOST_FLAGS) ; do \
10388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10389 done; \
10390 echo "Doing maintainer-clean in find" ; \
10391 (cd $(HOST_SUBDIR)/find && \
10392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10394 "RANLIB=$${RANLIB}" \
10395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10396 maintainer-clean) \
10397 || exit 1
10399 @endif find
10403 .PHONY: configure-fixincludes maybe-configure-fixincludes
10404 maybe-configure-fixincludes:
10405 @if gcc-bootstrap
10406 configure-fixincludes: stage_current
10407 @endif gcc-bootstrap
10408 @if fixincludes
10409 maybe-configure-fixincludes: configure-fixincludes
10410 configure-fixincludes:
10411 @: $(MAKE); $(unstage)
10412 @r=`${PWD_COMMAND}`; export r; \
10413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10414 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
10415 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
10416 $(HOST_EXPORTS) \
10417 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
10418 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
10419 case $(srcdir) in \
10420 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10421 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
10422 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10423 esac; \
10424 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
10425 libsrcdir="$$s/fixincludes"; \
10426 $(SHELL) $${libsrcdir}/configure \
10427 $(HOST_CONFIGARGS) $${srcdiroption} \
10428 || exit 1
10429 @endif fixincludes
10435 .PHONY: all-fixincludes maybe-all-fixincludes
10436 maybe-all-fixincludes:
10437 @if gcc-bootstrap
10438 all-fixincludes: stage_current
10439 @endif gcc-bootstrap
10440 @if fixincludes
10441 TARGET-fixincludes=all
10442 maybe-all-fixincludes: all-fixincludes
10443 all-fixincludes: configure-fixincludes
10444 @: $(MAKE); $(unstage)
10445 @r=`${PWD_COMMAND}`; export r; \
10446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10447 $(HOST_EXPORTS) \
10448 (cd $(HOST_SUBDIR)/fixincludes && \
10449 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
10450 @endif fixincludes
10455 .PHONY: check-fixincludes maybe-check-fixincludes
10456 maybe-check-fixincludes:
10457 @if fixincludes
10458 maybe-check-fixincludes: check-fixincludes
10460 check-fixincludes:
10461 @: $(MAKE); $(unstage)
10462 @r=`${PWD_COMMAND}`; export r; \
10463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10464 $(HOST_EXPORTS) \
10465 (cd $(HOST_SUBDIR)/fixincludes && \
10466 $(MAKE) $(FLAGS_TO_PASS) check)
10468 @endif fixincludes
10470 .PHONY: install-fixincludes maybe-install-fixincludes
10471 maybe-install-fixincludes:
10472 @if fixincludes
10473 maybe-install-fixincludes: install-fixincludes
10475 install-fixincludes: installdirs
10476 @: $(MAKE); $(unstage)
10477 @r=`${PWD_COMMAND}`; export r; \
10478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10479 $(HOST_EXPORTS) \
10480 (cd $(HOST_SUBDIR)/fixincludes && \
10481 $(MAKE) $(FLAGS_TO_PASS) install)
10483 @endif fixincludes
10485 # Other targets (info, dvi, etc.)
10487 .PHONY: maybe-info-fixincludes info-fixincludes
10488 maybe-info-fixincludes:
10489 @if fixincludes
10490 maybe-info-fixincludes: info-fixincludes
10492 # fixincludes doesn't support info.
10493 info-fixincludes:
10495 @endif fixincludes
10497 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
10498 maybe-dvi-fixincludes:
10499 @if fixincludes
10500 maybe-dvi-fixincludes: dvi-fixincludes
10502 # fixincludes doesn't support dvi.
10503 dvi-fixincludes:
10505 @endif fixincludes
10507 .PHONY: maybe-html-fixincludes html-fixincludes
10508 maybe-html-fixincludes:
10509 @if fixincludes
10510 maybe-html-fixincludes: html-fixincludes
10512 html-fixincludes: \
10513 configure-fixincludes
10514 @: $(MAKE); $(unstage)
10515 @[ -f ./fixincludes/Makefile ] || exit 0; \
10516 r=`${PWD_COMMAND}`; export r; \
10517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10518 $(HOST_EXPORTS) \
10519 for flag in $(EXTRA_HOST_FLAGS) ; do \
10520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10521 done; \
10522 echo "Doing html in fixincludes" ; \
10523 (cd $(HOST_SUBDIR)/fixincludes && \
10524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10526 "RANLIB=$${RANLIB}" \
10527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10528 html) \
10529 || exit 1
10531 @endif fixincludes
10533 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
10534 maybe-TAGS-fixincludes:
10535 @if fixincludes
10536 maybe-TAGS-fixincludes: TAGS-fixincludes
10538 # fixincludes doesn't support TAGS.
10539 TAGS-fixincludes:
10541 @endif fixincludes
10543 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
10544 maybe-install-info-fixincludes:
10545 @if fixincludes
10546 maybe-install-info-fixincludes: install-info-fixincludes
10548 # fixincludes doesn't support install-info.
10549 install-info-fixincludes:
10551 @endif fixincludes
10553 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
10554 maybe-install-html-fixincludes:
10555 @if fixincludes
10556 maybe-install-html-fixincludes: install-html-fixincludes
10558 install-html-fixincludes: \
10559 configure-fixincludes \
10560 html-fixincludes
10561 @: $(MAKE); $(unstage)
10562 @[ -f ./fixincludes/Makefile ] || exit 0; \
10563 r=`${PWD_COMMAND}`; export r; \
10564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10565 $(HOST_EXPORTS) \
10566 for flag in $(EXTRA_HOST_FLAGS) ; do \
10567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10568 done; \
10569 echo "Doing install-html in fixincludes" ; \
10570 (cd $(HOST_SUBDIR)/fixincludes && \
10571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10573 "RANLIB=$${RANLIB}" \
10574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10575 install-html) \
10576 || exit 1
10578 @endif fixincludes
10580 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
10581 maybe-installcheck-fixincludes:
10582 @if fixincludes
10583 maybe-installcheck-fixincludes: installcheck-fixincludes
10585 # fixincludes doesn't support installcheck.
10586 installcheck-fixincludes:
10588 @endif fixincludes
10590 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
10591 maybe-mostlyclean-fixincludes:
10592 @if fixincludes
10593 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
10595 mostlyclean-fixincludes:
10596 @: $(MAKE); $(unstage)
10597 @[ -f ./fixincludes/Makefile ] || exit 0; \
10598 r=`${PWD_COMMAND}`; export r; \
10599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10600 $(HOST_EXPORTS) \
10601 for flag in $(EXTRA_HOST_FLAGS) ; do \
10602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10603 done; \
10604 echo "Doing mostlyclean in fixincludes" ; \
10605 (cd $(HOST_SUBDIR)/fixincludes && \
10606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10608 "RANLIB=$${RANLIB}" \
10609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10610 mostlyclean) \
10611 || exit 1
10613 @endif fixincludes
10615 .PHONY: maybe-clean-fixincludes clean-fixincludes
10616 maybe-clean-fixincludes:
10617 @if fixincludes
10618 maybe-clean-fixincludes: clean-fixincludes
10620 clean-fixincludes:
10621 @: $(MAKE); $(unstage)
10622 @[ -f ./fixincludes/Makefile ] || exit 0; \
10623 r=`${PWD_COMMAND}`; export r; \
10624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10625 $(HOST_EXPORTS) \
10626 for flag in $(EXTRA_HOST_FLAGS) ; do \
10627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10628 done; \
10629 echo "Doing clean in fixincludes" ; \
10630 (cd $(HOST_SUBDIR)/fixincludes && \
10631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10633 "RANLIB=$${RANLIB}" \
10634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10635 clean) \
10636 || exit 1
10638 @endif fixincludes
10640 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
10641 maybe-distclean-fixincludes:
10642 @if fixincludes
10643 maybe-distclean-fixincludes: distclean-fixincludes
10645 distclean-fixincludes:
10646 @: $(MAKE); $(unstage)
10647 @[ -f ./fixincludes/Makefile ] || exit 0; \
10648 r=`${PWD_COMMAND}`; export r; \
10649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10650 $(HOST_EXPORTS) \
10651 for flag in $(EXTRA_HOST_FLAGS) ; do \
10652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10653 done; \
10654 echo "Doing distclean in fixincludes" ; \
10655 (cd $(HOST_SUBDIR)/fixincludes && \
10656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10658 "RANLIB=$${RANLIB}" \
10659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10660 distclean) \
10661 || exit 1
10663 @endif fixincludes
10665 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
10666 maybe-maintainer-clean-fixincludes:
10667 @if fixincludes
10668 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
10670 maintainer-clean-fixincludes:
10671 @: $(MAKE); $(unstage)
10672 @[ -f ./fixincludes/Makefile ] || exit 0; \
10673 r=`${PWD_COMMAND}`; export r; \
10674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10675 $(HOST_EXPORTS) \
10676 for flag in $(EXTRA_HOST_FLAGS) ; do \
10677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10678 done; \
10679 echo "Doing maintainer-clean in fixincludes" ; \
10680 (cd $(HOST_SUBDIR)/fixincludes && \
10681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10683 "RANLIB=$${RANLIB}" \
10684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10685 maintainer-clean) \
10686 || exit 1
10688 @endif fixincludes
10692 .PHONY: configure-flex maybe-configure-flex
10693 maybe-configure-flex:
10694 @if gcc-bootstrap
10695 configure-flex: stage_current
10696 @endif gcc-bootstrap
10697 @if flex
10698 maybe-configure-flex: configure-flex
10699 configure-flex:
10700 @: $(MAKE); $(unstage)
10701 @r=`${PWD_COMMAND}`; export r; \
10702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10703 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
10704 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
10705 $(HOST_EXPORTS) \
10706 echo Configuring in $(HOST_SUBDIR)/flex; \
10707 cd "$(HOST_SUBDIR)/flex" || exit 1; \
10708 case $(srcdir) in \
10709 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10710 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
10711 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10712 esac; \
10713 srcdiroption="--srcdir=$${topdir}/flex"; \
10714 libsrcdir="$$s/flex"; \
10715 $(SHELL) $${libsrcdir}/configure \
10716 $(HOST_CONFIGARGS) $${srcdiroption} \
10717 || exit 1
10718 @endif flex
10724 .PHONY: all-flex maybe-all-flex
10725 maybe-all-flex:
10726 @if gcc-bootstrap
10727 all-flex: stage_current
10728 @endif gcc-bootstrap
10729 @if flex
10730 TARGET-flex=all
10731 maybe-all-flex: all-flex
10732 all-flex: configure-flex
10733 @: $(MAKE); $(unstage)
10734 @r=`${PWD_COMMAND}`; export r; \
10735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10736 $(HOST_EXPORTS) \
10737 (cd $(HOST_SUBDIR)/flex && \
10738 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
10739 @endif flex
10744 .PHONY: check-flex maybe-check-flex
10745 maybe-check-flex:
10746 @if flex
10747 maybe-check-flex: check-flex
10749 # This module is only tested in a native toolchain.
10750 check-flex:
10751 @: $(MAKE); $(unstage)
10752 @if [ '$(host)' = '$(target)' ] ; then \
10753 r=`${PWD_COMMAND}`; export r; \
10754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10755 $(HOST_EXPORTS) \
10756 (cd $(HOST_SUBDIR)/flex && \
10757 $(MAKE) $(FLAGS_TO_PASS) check); \
10760 @endif flex
10762 .PHONY: install-flex maybe-install-flex
10763 maybe-install-flex:
10764 @if flex
10765 maybe-install-flex: install-flex
10767 install-flex: installdirs
10768 @: $(MAKE); $(unstage)
10769 @r=`${PWD_COMMAND}`; export r; \
10770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10771 $(HOST_EXPORTS) \
10772 (cd $(HOST_SUBDIR)/flex && \
10773 $(MAKE) $(FLAGS_TO_PASS) install)
10775 @endif flex
10777 # Other targets (info, dvi, etc.)
10779 .PHONY: maybe-info-flex info-flex
10780 maybe-info-flex:
10781 @if flex
10782 maybe-info-flex: info-flex
10784 info-flex: \
10785 configure-flex
10786 @: $(MAKE); $(unstage)
10787 @[ -f ./flex/Makefile ] || exit 0; \
10788 r=`${PWD_COMMAND}`; export r; \
10789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10790 $(HOST_EXPORTS) \
10791 for flag in $(EXTRA_HOST_FLAGS) ; do \
10792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10793 done; \
10794 echo "Doing info in flex" ; \
10795 (cd $(HOST_SUBDIR)/flex && \
10796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10798 "RANLIB=$${RANLIB}" \
10799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10800 info) \
10801 || exit 1
10803 @endif flex
10805 .PHONY: maybe-dvi-flex dvi-flex
10806 maybe-dvi-flex:
10807 @if flex
10808 maybe-dvi-flex: dvi-flex
10810 dvi-flex: \
10811 configure-flex
10812 @: $(MAKE); $(unstage)
10813 @[ -f ./flex/Makefile ] || exit 0; \
10814 r=`${PWD_COMMAND}`; export r; \
10815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10816 $(HOST_EXPORTS) \
10817 for flag in $(EXTRA_HOST_FLAGS) ; do \
10818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10819 done; \
10820 echo "Doing dvi in flex" ; \
10821 (cd $(HOST_SUBDIR)/flex && \
10822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10824 "RANLIB=$${RANLIB}" \
10825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10826 dvi) \
10827 || exit 1
10829 @endif flex
10831 .PHONY: maybe-html-flex html-flex
10832 maybe-html-flex:
10833 @if flex
10834 maybe-html-flex: html-flex
10836 html-flex: \
10837 configure-flex
10838 @: $(MAKE); $(unstage)
10839 @[ -f ./flex/Makefile ] || exit 0; \
10840 r=`${PWD_COMMAND}`; export r; \
10841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10842 $(HOST_EXPORTS) \
10843 for flag in $(EXTRA_HOST_FLAGS) ; do \
10844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10845 done; \
10846 echo "Doing html in flex" ; \
10847 (cd $(HOST_SUBDIR)/flex && \
10848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10850 "RANLIB=$${RANLIB}" \
10851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10852 html) \
10853 || exit 1
10855 @endif flex
10857 .PHONY: maybe-TAGS-flex TAGS-flex
10858 maybe-TAGS-flex:
10859 @if flex
10860 maybe-TAGS-flex: TAGS-flex
10862 TAGS-flex: \
10863 configure-flex
10864 @: $(MAKE); $(unstage)
10865 @[ -f ./flex/Makefile ] || exit 0; \
10866 r=`${PWD_COMMAND}`; export r; \
10867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10868 $(HOST_EXPORTS) \
10869 for flag in $(EXTRA_HOST_FLAGS) ; do \
10870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10871 done; \
10872 echo "Doing TAGS in flex" ; \
10873 (cd $(HOST_SUBDIR)/flex && \
10874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10876 "RANLIB=$${RANLIB}" \
10877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10878 TAGS) \
10879 || exit 1
10881 @endif flex
10883 .PHONY: maybe-install-info-flex install-info-flex
10884 maybe-install-info-flex:
10885 @if flex
10886 maybe-install-info-flex: install-info-flex
10888 install-info-flex: \
10889 configure-flex \
10890 info-flex
10891 @: $(MAKE); $(unstage)
10892 @[ -f ./flex/Makefile ] || exit 0; \
10893 r=`${PWD_COMMAND}`; export r; \
10894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10895 $(HOST_EXPORTS) \
10896 for flag in $(EXTRA_HOST_FLAGS) ; do \
10897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10898 done; \
10899 echo "Doing install-info in flex" ; \
10900 (cd $(HOST_SUBDIR)/flex && \
10901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10903 "RANLIB=$${RANLIB}" \
10904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10905 install-info) \
10906 || exit 1
10908 @endif flex
10910 .PHONY: maybe-install-html-flex install-html-flex
10911 maybe-install-html-flex:
10912 @if flex
10913 maybe-install-html-flex: install-html-flex
10915 install-html-flex: \
10916 configure-flex \
10917 html-flex
10918 @: $(MAKE); $(unstage)
10919 @[ -f ./flex/Makefile ] || exit 0; \
10920 r=`${PWD_COMMAND}`; export r; \
10921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10922 $(HOST_EXPORTS) \
10923 for flag in $(EXTRA_HOST_FLAGS) ; do \
10924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10925 done; \
10926 echo "Doing install-html in flex" ; \
10927 (cd $(HOST_SUBDIR)/flex && \
10928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10930 "RANLIB=$${RANLIB}" \
10931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10932 install-html) \
10933 || exit 1
10935 @endif flex
10937 .PHONY: maybe-installcheck-flex installcheck-flex
10938 maybe-installcheck-flex:
10939 @if flex
10940 maybe-installcheck-flex: installcheck-flex
10942 installcheck-flex: \
10943 configure-flex
10944 @: $(MAKE); $(unstage)
10945 @[ -f ./flex/Makefile ] || exit 0; \
10946 r=`${PWD_COMMAND}`; export r; \
10947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10948 $(HOST_EXPORTS) \
10949 for flag in $(EXTRA_HOST_FLAGS) ; do \
10950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10951 done; \
10952 echo "Doing installcheck in flex" ; \
10953 (cd $(HOST_SUBDIR)/flex && \
10954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10956 "RANLIB=$${RANLIB}" \
10957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10958 installcheck) \
10959 || exit 1
10961 @endif flex
10963 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10964 maybe-mostlyclean-flex:
10965 @if flex
10966 maybe-mostlyclean-flex: mostlyclean-flex
10968 mostlyclean-flex:
10969 @: $(MAKE); $(unstage)
10970 @[ -f ./flex/Makefile ] || exit 0; \
10971 r=`${PWD_COMMAND}`; export r; \
10972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10973 $(HOST_EXPORTS) \
10974 for flag in $(EXTRA_HOST_FLAGS) ; do \
10975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10976 done; \
10977 echo "Doing mostlyclean in flex" ; \
10978 (cd $(HOST_SUBDIR)/flex && \
10979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10981 "RANLIB=$${RANLIB}" \
10982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10983 mostlyclean) \
10984 || exit 1
10986 @endif flex
10988 .PHONY: maybe-clean-flex clean-flex
10989 maybe-clean-flex:
10990 @if flex
10991 maybe-clean-flex: clean-flex
10993 clean-flex:
10994 @: $(MAKE); $(unstage)
10995 @[ -f ./flex/Makefile ] || exit 0; \
10996 r=`${PWD_COMMAND}`; export r; \
10997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10998 $(HOST_EXPORTS) \
10999 for flag in $(EXTRA_HOST_FLAGS) ; do \
11000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11001 done; \
11002 echo "Doing clean in flex" ; \
11003 (cd $(HOST_SUBDIR)/flex && \
11004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11006 "RANLIB=$${RANLIB}" \
11007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11008 clean) \
11009 || exit 1
11011 @endif flex
11013 .PHONY: maybe-distclean-flex distclean-flex
11014 maybe-distclean-flex:
11015 @if flex
11016 maybe-distclean-flex: distclean-flex
11018 distclean-flex:
11019 @: $(MAKE); $(unstage)
11020 @[ -f ./flex/Makefile ] || exit 0; \
11021 r=`${PWD_COMMAND}`; export r; \
11022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11023 $(HOST_EXPORTS) \
11024 for flag in $(EXTRA_HOST_FLAGS) ; do \
11025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11026 done; \
11027 echo "Doing distclean in flex" ; \
11028 (cd $(HOST_SUBDIR)/flex && \
11029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11031 "RANLIB=$${RANLIB}" \
11032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11033 distclean) \
11034 || exit 1
11036 @endif flex
11038 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
11039 maybe-maintainer-clean-flex:
11040 @if flex
11041 maybe-maintainer-clean-flex: maintainer-clean-flex
11043 maintainer-clean-flex:
11044 @: $(MAKE); $(unstage)
11045 @[ -f ./flex/Makefile ] || exit 0; \
11046 r=`${PWD_COMMAND}`; export r; \
11047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11048 $(HOST_EXPORTS) \
11049 for flag in $(EXTRA_HOST_FLAGS) ; do \
11050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11051 done; \
11052 echo "Doing maintainer-clean in flex" ; \
11053 (cd $(HOST_SUBDIR)/flex && \
11054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11056 "RANLIB=$${RANLIB}" \
11057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11058 maintainer-clean) \
11059 || exit 1
11061 @endif flex
11065 .PHONY: configure-gas maybe-configure-gas
11066 maybe-configure-gas:
11067 @if gcc-bootstrap
11068 configure-gas: stage_current
11069 @endif gcc-bootstrap
11070 @if gas
11071 maybe-configure-gas: configure-gas
11072 configure-gas:
11073 @r=`${PWD_COMMAND}`; export r; \
11074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11075 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11076 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11077 $(HOST_EXPORTS) \
11078 echo Configuring in $(HOST_SUBDIR)/gas; \
11079 cd "$(HOST_SUBDIR)/gas" || exit 1; \
11080 case $(srcdir) in \
11081 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11082 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11083 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11084 esac; \
11085 srcdiroption="--srcdir=$${topdir}/gas"; \
11086 libsrcdir="$$s/gas"; \
11087 $(SHELL) $${libsrcdir}/configure \
11088 $(HOST_CONFIGARGS) $${srcdiroption} \
11089 || exit 1
11090 @endif gas
11094 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
11095 maybe-configure-stage1-gas:
11096 @if gas-bootstrap
11097 maybe-configure-stage1-gas: configure-stage1-gas
11098 configure-stage1-gas:
11099 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11100 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11101 @r=`${PWD_COMMAND}`; export r; \
11102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11103 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11104 $(HOST_EXPORTS) \
11105 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
11106 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11107 cd $(HOST_SUBDIR)/gas || exit 1; \
11108 case $(srcdir) in \
11109 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11110 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11111 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11112 esac; \
11113 srcdiroption="--srcdir=$${topdir}/gas"; \
11114 libsrcdir="$$s/gas"; \
11115 $(SHELL) $${libsrcdir}/configure \
11116 $(HOST_CONFIGARGS) $${srcdiroption} \
11117 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
11118 @endif gas-bootstrap
11120 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
11121 maybe-configure-stage2-gas:
11122 @if gas-bootstrap
11123 maybe-configure-stage2-gas: configure-stage2-gas
11124 configure-stage2-gas:
11125 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11126 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11127 @r=`${PWD_COMMAND}`; export r; \
11128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11129 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11130 $(HOST_EXPORTS) \
11131 $(POSTSTAGE1_HOST_EXPORTS) \
11132 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
11133 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11134 cd $(HOST_SUBDIR)/gas || exit 1; \
11135 case $(srcdir) in \
11136 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11137 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11138 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11139 esac; \
11140 srcdiroption="--srcdir=$${topdir}/gas"; \
11141 libsrcdir="$$s/gas"; \
11142 $(SHELL) $${libsrcdir}/configure \
11143 $(HOST_CONFIGARGS) $${srcdiroption} \
11144 @stage2_werror_flag@
11145 @endif gas-bootstrap
11147 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
11148 maybe-configure-stage3-gas:
11149 @if gas-bootstrap
11150 maybe-configure-stage3-gas: configure-stage3-gas
11151 configure-stage3-gas:
11152 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11153 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11154 @r=`${PWD_COMMAND}`; export r; \
11155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11156 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11157 $(HOST_EXPORTS) \
11158 $(POSTSTAGE1_HOST_EXPORTS) \
11159 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
11160 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11161 cd $(HOST_SUBDIR)/gas || exit 1; \
11162 case $(srcdir) in \
11163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11164 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11166 esac; \
11167 srcdiroption="--srcdir=$${topdir}/gas"; \
11168 libsrcdir="$$s/gas"; \
11169 $(SHELL) $${libsrcdir}/configure \
11170 $(HOST_CONFIGARGS) $${srcdiroption} \
11171 @stage2_werror_flag@
11172 @endif gas-bootstrap
11174 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
11175 maybe-configure-stage4-gas:
11176 @if gas-bootstrap
11177 maybe-configure-stage4-gas: configure-stage4-gas
11178 configure-stage4-gas:
11179 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11180 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11181 @r=`${PWD_COMMAND}`; export r; \
11182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11183 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11184 $(HOST_EXPORTS) \
11185 $(POSTSTAGE1_HOST_EXPORTS) \
11186 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
11187 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11188 cd $(HOST_SUBDIR)/gas || exit 1; \
11189 case $(srcdir) in \
11190 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11191 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11192 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11193 esac; \
11194 srcdiroption="--srcdir=$${topdir}/gas"; \
11195 libsrcdir="$$s/gas"; \
11196 $(SHELL) $${libsrcdir}/configure \
11197 $(HOST_CONFIGARGS) $${srcdiroption} \
11198 @stage2_werror_flag@
11199 @endif gas-bootstrap
11201 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
11202 maybe-configure-stageprofile-gas:
11203 @if gas-bootstrap
11204 maybe-configure-stageprofile-gas: configure-stageprofile-gas
11205 configure-stageprofile-gas:
11206 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11207 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11208 @r=`${PWD_COMMAND}`; export r; \
11209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11210 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11211 $(HOST_EXPORTS) \
11212 $(POSTSTAGE1_HOST_EXPORTS) \
11213 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
11214 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11215 cd $(HOST_SUBDIR)/gas || exit 1; \
11216 case $(srcdir) in \
11217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11218 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11220 esac; \
11221 srcdiroption="--srcdir=$${topdir}/gas"; \
11222 libsrcdir="$$s/gas"; \
11223 $(SHELL) $${libsrcdir}/configure \
11224 $(HOST_CONFIGARGS) $${srcdiroption} \
11225 @stage2_werror_flag@
11226 @endif gas-bootstrap
11228 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
11229 maybe-configure-stagefeedback-gas:
11230 @if gas-bootstrap
11231 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
11232 configure-stagefeedback-gas:
11233 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11234 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11235 @r=`${PWD_COMMAND}`; export r; \
11236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11237 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11238 $(HOST_EXPORTS) \
11239 $(POSTSTAGE1_HOST_EXPORTS) \
11240 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
11241 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11242 cd $(HOST_SUBDIR)/gas || exit 1; \
11243 case $(srcdir) in \
11244 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11245 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11246 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11247 esac; \
11248 srcdiroption="--srcdir=$${topdir}/gas"; \
11249 libsrcdir="$$s/gas"; \
11250 $(SHELL) $${libsrcdir}/configure \
11251 $(HOST_CONFIGARGS) $${srcdiroption} \
11252 @stage2_werror_flag@
11253 @endif gas-bootstrap
11259 .PHONY: all-gas maybe-all-gas
11260 maybe-all-gas:
11261 @if gcc-bootstrap
11262 all-gas: stage_current
11263 @endif gcc-bootstrap
11264 @if gas
11265 TARGET-gas=all
11266 maybe-all-gas: all-gas
11267 all-gas: configure-gas
11268 @r=`${PWD_COMMAND}`; export r; \
11269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11270 $(HOST_EXPORTS) \
11271 (cd $(HOST_SUBDIR)/gas && \
11272 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
11273 @endif gas
11277 .PHONY: all-stage1-gas maybe-all-stage1-gas
11278 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
11279 maybe-all-stage1-gas:
11280 maybe-clean-stage1-gas:
11281 @if gas-bootstrap
11282 maybe-all-stage1-gas: all-stage1-gas
11283 all-stage1: all-stage1-gas
11284 TARGET-stage1-gas = $(TARGET-gas)
11285 all-stage1-gas: configure-stage1-gas
11286 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11287 @r=`${PWD_COMMAND}`; export r; \
11288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11289 $(HOST_EXPORTS) \
11290 cd $(HOST_SUBDIR)/gas && \
11291 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
11292 $(TARGET-stage1-gas)
11294 maybe-clean-stage1-gas: clean-stage1-gas
11295 clean-stage1: clean-stage1-gas
11296 clean-stage1-gas:
11297 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] \
11298 || exit 0 ; \
11299 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
11300 cd $(HOST_SUBDIR)/gas && \
11301 $(MAKE) $(FLAGS_TO_PASS) \
11302 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
11303 @endif gas-bootstrap
11306 .PHONY: all-stage2-gas maybe-all-stage2-gas
11307 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
11308 maybe-all-stage2-gas:
11309 maybe-clean-stage2-gas:
11310 @if gas-bootstrap
11311 maybe-all-stage2-gas: all-stage2-gas
11312 all-stage2: all-stage2-gas
11313 TARGET-stage2-gas = $(TARGET-gas)
11314 all-stage2-gas: configure-stage2-gas
11315 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11316 @r=`${PWD_COMMAND}`; export r; \
11317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11318 $(HOST_EXPORTS) \
11319 $(POSTSTAGE1_HOST_EXPORTS) \
11320 cd $(HOST_SUBDIR)/gas && \
11321 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11322 $(TARGET-stage2-gas)
11324 maybe-clean-stage2-gas: clean-stage2-gas
11325 clean-stage2: clean-stage2-gas
11326 clean-stage2-gas:
11327 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] \
11328 || exit 0 ; \
11329 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
11330 cd $(HOST_SUBDIR)/gas && \
11331 $(MAKE) $(FLAGS_TO_PASS) \
11332 $(POSTSTAGE1_FLAGS_TO_PASS) \
11333 clean
11334 @endif gas-bootstrap
11337 .PHONY: all-stage3-gas maybe-all-stage3-gas
11338 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
11339 maybe-all-stage3-gas:
11340 maybe-clean-stage3-gas:
11341 @if gas-bootstrap
11342 maybe-all-stage3-gas: all-stage3-gas
11343 all-stage3: all-stage3-gas
11344 TARGET-stage3-gas = $(TARGET-gas)
11345 all-stage3-gas: configure-stage3-gas
11346 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11347 @r=`${PWD_COMMAND}`; export r; \
11348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11349 $(HOST_EXPORTS) \
11350 $(POSTSTAGE1_HOST_EXPORTS) \
11351 cd $(HOST_SUBDIR)/gas && \
11352 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11353 $(TARGET-stage3-gas)
11355 maybe-clean-stage3-gas: clean-stage3-gas
11356 clean-stage3: clean-stage3-gas
11357 clean-stage3-gas:
11358 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] \
11359 || exit 0 ; \
11360 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
11361 cd $(HOST_SUBDIR)/gas && \
11362 $(MAKE) $(FLAGS_TO_PASS) \
11363 $(POSTSTAGE1_FLAGS_TO_PASS) \
11364 clean
11365 @endif gas-bootstrap
11368 .PHONY: all-stage4-gas maybe-all-stage4-gas
11369 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
11370 maybe-all-stage4-gas:
11371 maybe-clean-stage4-gas:
11372 @if gas-bootstrap
11373 maybe-all-stage4-gas: all-stage4-gas
11374 all-stage4: all-stage4-gas
11375 TARGET-stage4-gas = $(TARGET-gas)
11376 all-stage4-gas: configure-stage4-gas
11377 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11378 @r=`${PWD_COMMAND}`; export r; \
11379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11380 $(HOST_EXPORTS) \
11381 $(POSTSTAGE1_HOST_EXPORTS) \
11382 cd $(HOST_SUBDIR)/gas && \
11383 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11384 $(TARGET-stage4-gas)
11386 maybe-clean-stage4-gas: clean-stage4-gas
11387 clean-stage4: clean-stage4-gas
11388 clean-stage4-gas:
11389 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] \
11390 || exit 0 ; \
11391 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
11392 cd $(HOST_SUBDIR)/gas && \
11393 $(MAKE) $(FLAGS_TO_PASS) \
11394 $(POSTSTAGE1_FLAGS_TO_PASS) \
11395 clean
11396 @endif gas-bootstrap
11399 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
11400 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
11401 maybe-all-stageprofile-gas:
11402 maybe-clean-stageprofile-gas:
11403 @if gas-bootstrap
11404 maybe-all-stageprofile-gas: all-stageprofile-gas
11405 all-stageprofile: all-stageprofile-gas
11406 TARGET-stageprofile-gas = $(TARGET-gas)
11407 all-stageprofile-gas: configure-stageprofile-gas
11408 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11409 @r=`${PWD_COMMAND}`; export r; \
11410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11411 $(HOST_EXPORTS) \
11412 $(POSTSTAGE1_HOST_EXPORTS) \
11413 cd $(HOST_SUBDIR)/gas && \
11414 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
11415 $(TARGET-stageprofile-gas)
11417 maybe-clean-stageprofile-gas: clean-stageprofile-gas
11418 clean-stageprofile: clean-stageprofile-gas
11419 clean-stageprofile-gas:
11420 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] \
11421 || exit 0 ; \
11422 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
11423 cd $(HOST_SUBDIR)/gas && \
11424 $(MAKE) $(FLAGS_TO_PASS) \
11425 $(POSTSTAGE1_FLAGS_TO_PASS) \
11426 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
11427 @endif gas-bootstrap
11430 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
11431 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
11432 maybe-all-stagefeedback-gas:
11433 maybe-clean-stagefeedback-gas:
11434 @if gas-bootstrap
11435 maybe-all-stagefeedback-gas: all-stagefeedback-gas
11436 all-stagefeedback: all-stagefeedback-gas
11437 TARGET-stagefeedback-gas = $(TARGET-gas)
11438 all-stagefeedback-gas: configure-stagefeedback-gas
11439 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11440 @r=`${PWD_COMMAND}`; export r; \
11441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11442 $(HOST_EXPORTS) \
11443 $(POSTSTAGE1_HOST_EXPORTS) \
11444 cd $(HOST_SUBDIR)/gas && \
11445 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
11446 $(TARGET-stagefeedback-gas)
11448 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
11449 clean-stagefeedback: clean-stagefeedback-gas
11450 clean-stagefeedback-gas:
11451 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] \
11452 || exit 0 ; \
11453 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
11454 cd $(HOST_SUBDIR)/gas && \
11455 $(MAKE) $(FLAGS_TO_PASS) \
11456 $(POSTSTAGE1_FLAGS_TO_PASS) \
11457 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
11458 @endif gas-bootstrap
11464 .PHONY: check-gas maybe-check-gas
11465 maybe-check-gas:
11466 @if gas
11467 maybe-check-gas: check-gas
11469 check-gas:
11470 @: $(MAKE); $(unstage)
11471 @r=`${PWD_COMMAND}`; export r; \
11472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11473 $(HOST_EXPORTS) \
11474 (cd $(HOST_SUBDIR)/gas && \
11475 $(MAKE) $(FLAGS_TO_PASS) check)
11477 @endif gas
11479 .PHONY: install-gas maybe-install-gas
11480 maybe-install-gas:
11481 @if gas
11482 maybe-install-gas: install-gas
11484 install-gas: installdirs
11485 @: $(MAKE); $(unstage)
11486 @r=`${PWD_COMMAND}`; export r; \
11487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11488 $(HOST_EXPORTS) \
11489 (cd $(HOST_SUBDIR)/gas && \
11490 $(MAKE) $(FLAGS_TO_PASS) install)
11492 @endif gas
11494 # Other targets (info, dvi, etc.)
11496 .PHONY: maybe-info-gas info-gas
11497 maybe-info-gas:
11498 @if gas
11499 maybe-info-gas: info-gas
11501 info-gas: \
11502 configure-gas
11503 @[ -f ./gas/Makefile ] || exit 0; \
11504 r=`${PWD_COMMAND}`; export r; \
11505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11506 $(HOST_EXPORTS) \
11507 for flag in $(EXTRA_HOST_FLAGS) ; do \
11508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11509 done; \
11510 echo "Doing info in gas" ; \
11511 (cd $(HOST_SUBDIR)/gas && \
11512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11514 "RANLIB=$${RANLIB}" \
11515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11516 info) \
11517 || exit 1
11519 @endif gas
11521 .PHONY: maybe-dvi-gas dvi-gas
11522 maybe-dvi-gas:
11523 @if gas
11524 maybe-dvi-gas: dvi-gas
11526 dvi-gas: \
11527 configure-gas
11528 @[ -f ./gas/Makefile ] || exit 0; \
11529 r=`${PWD_COMMAND}`; export r; \
11530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11531 $(HOST_EXPORTS) \
11532 for flag in $(EXTRA_HOST_FLAGS) ; do \
11533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11534 done; \
11535 echo "Doing dvi in gas" ; \
11536 (cd $(HOST_SUBDIR)/gas && \
11537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11539 "RANLIB=$${RANLIB}" \
11540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11541 dvi) \
11542 || exit 1
11544 @endif gas
11546 .PHONY: maybe-html-gas html-gas
11547 maybe-html-gas:
11548 @if gas
11549 maybe-html-gas: html-gas
11551 html-gas: \
11552 configure-gas
11553 @[ -f ./gas/Makefile ] || exit 0; \
11554 r=`${PWD_COMMAND}`; export r; \
11555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11556 $(HOST_EXPORTS) \
11557 for flag in $(EXTRA_HOST_FLAGS) ; do \
11558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11559 done; \
11560 echo "Doing html in gas" ; \
11561 (cd $(HOST_SUBDIR)/gas && \
11562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11564 "RANLIB=$${RANLIB}" \
11565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11566 html) \
11567 || exit 1
11569 @endif gas
11571 .PHONY: maybe-TAGS-gas TAGS-gas
11572 maybe-TAGS-gas:
11573 @if gas
11574 maybe-TAGS-gas: TAGS-gas
11576 TAGS-gas: \
11577 configure-gas
11578 @[ -f ./gas/Makefile ] || exit 0; \
11579 r=`${PWD_COMMAND}`; export r; \
11580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11581 $(HOST_EXPORTS) \
11582 for flag in $(EXTRA_HOST_FLAGS) ; do \
11583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11584 done; \
11585 echo "Doing TAGS in gas" ; \
11586 (cd $(HOST_SUBDIR)/gas && \
11587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11589 "RANLIB=$${RANLIB}" \
11590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11591 TAGS) \
11592 || exit 1
11594 @endif gas
11596 .PHONY: maybe-install-info-gas install-info-gas
11597 maybe-install-info-gas:
11598 @if gas
11599 maybe-install-info-gas: install-info-gas
11601 install-info-gas: \
11602 configure-gas \
11603 info-gas
11604 @[ -f ./gas/Makefile ] || exit 0; \
11605 r=`${PWD_COMMAND}`; export r; \
11606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11607 $(HOST_EXPORTS) \
11608 for flag in $(EXTRA_HOST_FLAGS) ; do \
11609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11610 done; \
11611 echo "Doing install-info in gas" ; \
11612 (cd $(HOST_SUBDIR)/gas && \
11613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11615 "RANLIB=$${RANLIB}" \
11616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11617 install-info) \
11618 || exit 1
11620 @endif gas
11622 .PHONY: maybe-install-html-gas install-html-gas
11623 maybe-install-html-gas:
11624 @if gas
11625 maybe-install-html-gas: install-html-gas
11627 install-html-gas: \
11628 configure-gas \
11629 html-gas
11630 @[ -f ./gas/Makefile ] || exit 0; \
11631 r=`${PWD_COMMAND}`; export r; \
11632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11633 $(HOST_EXPORTS) \
11634 for flag in $(EXTRA_HOST_FLAGS) ; do \
11635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11636 done; \
11637 echo "Doing install-html in gas" ; \
11638 (cd $(HOST_SUBDIR)/gas && \
11639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11641 "RANLIB=$${RANLIB}" \
11642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11643 install-html) \
11644 || exit 1
11646 @endif gas
11648 .PHONY: maybe-installcheck-gas installcheck-gas
11649 maybe-installcheck-gas:
11650 @if gas
11651 maybe-installcheck-gas: installcheck-gas
11653 installcheck-gas: \
11654 configure-gas
11655 @[ -f ./gas/Makefile ] || exit 0; \
11656 r=`${PWD_COMMAND}`; export r; \
11657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11658 $(HOST_EXPORTS) \
11659 for flag in $(EXTRA_HOST_FLAGS) ; do \
11660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11661 done; \
11662 echo "Doing installcheck in gas" ; \
11663 (cd $(HOST_SUBDIR)/gas && \
11664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11666 "RANLIB=$${RANLIB}" \
11667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11668 installcheck) \
11669 || exit 1
11671 @endif gas
11673 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
11674 maybe-mostlyclean-gas:
11675 @if gas
11676 maybe-mostlyclean-gas: mostlyclean-gas
11678 mostlyclean-gas:
11679 @[ -f ./gas/Makefile ] || exit 0; \
11680 r=`${PWD_COMMAND}`; export r; \
11681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11682 $(HOST_EXPORTS) \
11683 for flag in $(EXTRA_HOST_FLAGS) ; do \
11684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11685 done; \
11686 echo "Doing mostlyclean in gas" ; \
11687 (cd $(HOST_SUBDIR)/gas && \
11688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11690 "RANLIB=$${RANLIB}" \
11691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11692 mostlyclean) \
11693 || exit 1
11695 @endif gas
11697 .PHONY: maybe-clean-gas clean-gas
11698 maybe-clean-gas:
11699 @if gas
11700 maybe-clean-gas: clean-gas
11702 clean-gas:
11703 @[ -f ./gas/Makefile ] || exit 0; \
11704 r=`${PWD_COMMAND}`; export r; \
11705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11706 $(HOST_EXPORTS) \
11707 for flag in $(EXTRA_HOST_FLAGS) ; do \
11708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11709 done; \
11710 echo "Doing clean in gas" ; \
11711 (cd $(HOST_SUBDIR)/gas && \
11712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11714 "RANLIB=$${RANLIB}" \
11715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11716 clean) \
11717 || exit 1
11719 @endif gas
11721 .PHONY: maybe-distclean-gas distclean-gas
11722 maybe-distclean-gas:
11723 @if gas
11724 maybe-distclean-gas: distclean-gas
11726 distclean-gas:
11727 @[ -f ./gas/Makefile ] || exit 0; \
11728 r=`${PWD_COMMAND}`; export r; \
11729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11730 $(HOST_EXPORTS) \
11731 for flag in $(EXTRA_HOST_FLAGS) ; do \
11732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11733 done; \
11734 echo "Doing distclean in gas" ; \
11735 (cd $(HOST_SUBDIR)/gas && \
11736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11738 "RANLIB=$${RANLIB}" \
11739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11740 distclean) \
11741 || exit 1
11743 @endif gas
11745 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
11746 maybe-maintainer-clean-gas:
11747 @if gas
11748 maybe-maintainer-clean-gas: maintainer-clean-gas
11750 maintainer-clean-gas:
11751 @[ -f ./gas/Makefile ] || exit 0; \
11752 r=`${PWD_COMMAND}`; export r; \
11753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11754 $(HOST_EXPORTS) \
11755 for flag in $(EXTRA_HOST_FLAGS) ; do \
11756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11757 done; \
11758 echo "Doing maintainer-clean in gas" ; \
11759 (cd $(HOST_SUBDIR)/gas && \
11760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11762 "RANLIB=$${RANLIB}" \
11763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11764 maintainer-clean) \
11765 || exit 1
11767 @endif gas
11771 .PHONY: configure-gcc maybe-configure-gcc
11772 maybe-configure-gcc:
11773 @if gcc-bootstrap
11774 configure-gcc: stage_current
11775 @endif gcc-bootstrap
11776 @if gcc
11777 maybe-configure-gcc: configure-gcc
11778 configure-gcc:
11779 @r=`${PWD_COMMAND}`; export r; \
11780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11781 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11782 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11783 $(HOST_EXPORTS) \
11784 echo Configuring in $(HOST_SUBDIR)/gcc; \
11785 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
11786 case $(srcdir) in \
11787 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11788 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11789 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11790 esac; \
11791 srcdiroption="--srcdir=$${topdir}/gcc"; \
11792 libsrcdir="$$s/gcc"; \
11793 $(SHELL) $${libsrcdir}/configure \
11794 $(HOST_CONFIGARGS) $${srcdiroption} \
11795 || exit 1
11796 @endif gcc
11800 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
11801 maybe-configure-stage1-gcc:
11802 @if gcc-bootstrap
11803 maybe-configure-stage1-gcc: configure-stage1-gcc
11804 configure-stage1-gcc:
11805 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11806 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11807 @r=`${PWD_COMMAND}`; export r; \
11808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11809 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11810 $(HOST_EXPORTS) \
11811 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
11812 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11813 cd $(HOST_SUBDIR)/gcc || exit 1; \
11814 case $(srcdir) in \
11815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11816 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11818 esac; \
11819 srcdiroption="--srcdir=$${topdir}/gcc"; \
11820 libsrcdir="$$s/gcc"; \
11821 $(SHELL) $${libsrcdir}/configure \
11822 $(HOST_CONFIGARGS) $${srcdiroption} \
11823 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
11824 @endif gcc-bootstrap
11826 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
11827 maybe-configure-stage2-gcc:
11828 @if gcc-bootstrap
11829 maybe-configure-stage2-gcc: configure-stage2-gcc
11830 configure-stage2-gcc:
11831 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11832 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11833 @r=`${PWD_COMMAND}`; export r; \
11834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11835 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11836 $(HOST_EXPORTS) \
11837 $(POSTSTAGE1_HOST_EXPORTS) \
11838 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
11839 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11840 cd $(HOST_SUBDIR)/gcc || exit 1; \
11841 case $(srcdir) in \
11842 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11843 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11844 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11845 esac; \
11846 srcdiroption="--srcdir=$${topdir}/gcc"; \
11847 libsrcdir="$$s/gcc"; \
11848 $(SHELL) $${libsrcdir}/configure \
11849 $(HOST_CONFIGARGS) $${srcdiroption} \
11850 @stage2_werror_flag@
11851 @endif gcc-bootstrap
11853 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
11854 maybe-configure-stage3-gcc:
11855 @if gcc-bootstrap
11856 maybe-configure-stage3-gcc: configure-stage3-gcc
11857 configure-stage3-gcc:
11858 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11859 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11860 @r=`${PWD_COMMAND}`; export r; \
11861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11862 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11863 $(HOST_EXPORTS) \
11864 $(POSTSTAGE1_HOST_EXPORTS) \
11865 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
11866 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11867 cd $(HOST_SUBDIR)/gcc || exit 1; \
11868 case $(srcdir) in \
11869 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11870 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11871 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11872 esac; \
11873 srcdiroption="--srcdir=$${topdir}/gcc"; \
11874 libsrcdir="$$s/gcc"; \
11875 $(SHELL) $${libsrcdir}/configure \
11876 $(HOST_CONFIGARGS) $${srcdiroption} \
11877 @stage2_werror_flag@
11878 @endif gcc-bootstrap
11880 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
11881 maybe-configure-stage4-gcc:
11882 @if gcc-bootstrap
11883 maybe-configure-stage4-gcc: configure-stage4-gcc
11884 configure-stage4-gcc:
11885 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11886 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11887 @r=`${PWD_COMMAND}`; export r; \
11888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11889 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11890 $(HOST_EXPORTS) \
11891 $(POSTSTAGE1_HOST_EXPORTS) \
11892 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
11893 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11894 cd $(HOST_SUBDIR)/gcc || exit 1; \
11895 case $(srcdir) in \
11896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11897 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11899 esac; \
11900 srcdiroption="--srcdir=$${topdir}/gcc"; \
11901 libsrcdir="$$s/gcc"; \
11902 $(SHELL) $${libsrcdir}/configure \
11903 $(HOST_CONFIGARGS) $${srcdiroption} \
11904 @stage2_werror_flag@
11905 @endif gcc-bootstrap
11907 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
11908 maybe-configure-stageprofile-gcc:
11909 @if gcc-bootstrap
11910 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
11911 configure-stageprofile-gcc:
11912 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11913 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11914 @r=`${PWD_COMMAND}`; export r; \
11915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11916 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11917 $(HOST_EXPORTS) \
11918 $(POSTSTAGE1_HOST_EXPORTS) \
11919 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
11920 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11921 cd $(HOST_SUBDIR)/gcc || exit 1; \
11922 case $(srcdir) in \
11923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11924 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11926 esac; \
11927 srcdiroption="--srcdir=$${topdir}/gcc"; \
11928 libsrcdir="$$s/gcc"; \
11929 $(SHELL) $${libsrcdir}/configure \
11930 $(HOST_CONFIGARGS) $${srcdiroption} \
11931 @stage2_werror_flag@
11932 @endif gcc-bootstrap
11934 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11935 maybe-configure-stagefeedback-gcc:
11936 @if gcc-bootstrap
11937 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11938 configure-stagefeedback-gcc:
11939 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11940 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11941 @r=`${PWD_COMMAND}`; export r; \
11942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11943 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11944 $(HOST_EXPORTS) \
11945 $(POSTSTAGE1_HOST_EXPORTS) \
11946 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
11947 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11948 cd $(HOST_SUBDIR)/gcc || exit 1; \
11949 case $(srcdir) in \
11950 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11951 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11952 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11953 esac; \
11954 srcdiroption="--srcdir=$${topdir}/gcc"; \
11955 libsrcdir="$$s/gcc"; \
11956 $(SHELL) $${libsrcdir}/configure \
11957 $(HOST_CONFIGARGS) $${srcdiroption} \
11958 @stage2_werror_flag@
11959 @endif gcc-bootstrap
11965 .PHONY: all-gcc maybe-all-gcc
11966 maybe-all-gcc:
11967 @if gcc-bootstrap
11968 all-gcc: stage_current
11969 @endif gcc-bootstrap
11970 @if gcc
11971 TARGET-gcc=`if [ -f stage_last ]; then echo quickstrap ; else echo all; fi`
11972 maybe-all-gcc: all-gcc
11973 all-gcc: configure-gcc
11974 @r=`${PWD_COMMAND}`; export r; \
11975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11976 $(HOST_EXPORTS) \
11977 (cd $(HOST_SUBDIR)/gcc && \
11978 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
11979 @endif gcc
11983 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11984 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11985 maybe-all-stage1-gcc:
11986 maybe-clean-stage1-gcc:
11987 @if gcc-bootstrap
11988 maybe-all-stage1-gcc: all-stage1-gcc
11989 all-stage1: all-stage1-gcc
11990 TARGET-stage1-gcc = $(TARGET-gcc)
11991 all-stage1-gcc: configure-stage1-gcc
11992 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11993 @r=`${PWD_COMMAND}`; export r; \
11994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11995 $(HOST_EXPORTS) \
11996 cd $(HOST_SUBDIR)/gcc && \
11997 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
11998 $(TARGET-stage1-gcc)
12000 maybe-clean-stage1-gcc: clean-stage1-gcc
12001 clean-stage1: clean-stage1-gcc
12002 clean-stage1-gcc:
12003 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] \
12004 || exit 0 ; \
12005 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
12006 cd $(HOST_SUBDIR)/gcc && \
12007 $(MAKE) $(FLAGS_TO_PASS) \
12008 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
12009 @endif gcc-bootstrap
12012 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
12013 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
12014 maybe-all-stage2-gcc:
12015 maybe-clean-stage2-gcc:
12016 @if gcc-bootstrap
12017 maybe-all-stage2-gcc: all-stage2-gcc
12018 all-stage2: all-stage2-gcc
12019 TARGET-stage2-gcc = $(TARGET-gcc)
12020 all-stage2-gcc: configure-stage2-gcc
12021 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12022 @r=`${PWD_COMMAND}`; export r; \
12023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12024 $(HOST_EXPORTS) \
12025 $(POSTSTAGE1_HOST_EXPORTS) \
12026 cd $(HOST_SUBDIR)/gcc && \
12027 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12028 $(TARGET-stage2-gcc)
12030 maybe-clean-stage2-gcc: clean-stage2-gcc
12031 clean-stage2: clean-stage2-gcc
12032 clean-stage2-gcc:
12033 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] \
12034 || exit 0 ; \
12035 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
12036 cd $(HOST_SUBDIR)/gcc && \
12037 $(MAKE) $(FLAGS_TO_PASS) \
12038 $(POSTSTAGE1_FLAGS_TO_PASS) \
12039 $(EXTRA_GCC_FLAGS) clean
12040 @endif gcc-bootstrap
12043 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
12044 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
12045 maybe-all-stage3-gcc:
12046 maybe-clean-stage3-gcc:
12047 @if gcc-bootstrap
12048 maybe-all-stage3-gcc: all-stage3-gcc
12049 all-stage3: all-stage3-gcc
12050 TARGET-stage3-gcc = $(TARGET-gcc)
12051 all-stage3-gcc: configure-stage3-gcc
12052 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12053 @r=`${PWD_COMMAND}`; export r; \
12054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12055 $(HOST_EXPORTS) \
12056 $(POSTSTAGE1_HOST_EXPORTS) \
12057 cd $(HOST_SUBDIR)/gcc && \
12058 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12059 $(TARGET-stage3-gcc)
12061 maybe-clean-stage3-gcc: clean-stage3-gcc
12062 clean-stage3: clean-stage3-gcc
12063 clean-stage3-gcc:
12064 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] \
12065 || exit 0 ; \
12066 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
12067 cd $(HOST_SUBDIR)/gcc && \
12068 $(MAKE) $(FLAGS_TO_PASS) \
12069 $(POSTSTAGE1_FLAGS_TO_PASS) \
12070 $(EXTRA_GCC_FLAGS) clean
12071 @endif gcc-bootstrap
12074 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
12075 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
12076 maybe-all-stage4-gcc:
12077 maybe-clean-stage4-gcc:
12078 @if gcc-bootstrap
12079 maybe-all-stage4-gcc: all-stage4-gcc
12080 all-stage4: all-stage4-gcc
12081 TARGET-stage4-gcc = $(TARGET-gcc)
12082 all-stage4-gcc: configure-stage4-gcc
12083 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12084 @r=`${PWD_COMMAND}`; export r; \
12085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12086 $(HOST_EXPORTS) \
12087 $(POSTSTAGE1_HOST_EXPORTS) \
12088 cd $(HOST_SUBDIR)/gcc && \
12089 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12090 $(TARGET-stage4-gcc)
12092 maybe-clean-stage4-gcc: clean-stage4-gcc
12093 clean-stage4: clean-stage4-gcc
12094 clean-stage4-gcc:
12095 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] \
12096 || exit 0 ; \
12097 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
12098 cd $(HOST_SUBDIR)/gcc && \
12099 $(MAKE) $(FLAGS_TO_PASS) \
12100 $(POSTSTAGE1_FLAGS_TO_PASS) \
12101 $(EXTRA_GCC_FLAGS) clean
12102 @endif gcc-bootstrap
12105 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
12106 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
12107 maybe-all-stageprofile-gcc:
12108 maybe-clean-stageprofile-gcc:
12109 @if gcc-bootstrap
12110 maybe-all-stageprofile-gcc: all-stageprofile-gcc
12111 all-stageprofile: all-stageprofile-gcc
12112 TARGET-stageprofile-gcc = $(TARGET-gcc)
12113 all-stageprofile-gcc: configure-stageprofile-gcc
12114 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12115 @r=`${PWD_COMMAND}`; export r; \
12116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12117 $(HOST_EXPORTS) \
12118 $(POSTSTAGE1_HOST_EXPORTS) \
12119 cd $(HOST_SUBDIR)/gcc && \
12120 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
12121 $(TARGET-stageprofile-gcc)
12123 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
12124 clean-stageprofile: clean-stageprofile-gcc
12125 clean-stageprofile-gcc:
12126 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] \
12127 || exit 0 ; \
12128 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
12129 cd $(HOST_SUBDIR)/gcc && \
12130 $(MAKE) $(FLAGS_TO_PASS) \
12131 $(POSTSTAGE1_FLAGS_TO_PASS) \
12132 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
12133 @endif gcc-bootstrap
12136 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
12137 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
12138 maybe-all-stagefeedback-gcc:
12139 maybe-clean-stagefeedback-gcc:
12140 @if gcc-bootstrap
12141 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
12142 all-stagefeedback: all-stagefeedback-gcc
12143 TARGET-stagefeedback-gcc = $(TARGET-gcc)
12144 all-stagefeedback-gcc: configure-stagefeedback-gcc
12145 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12146 @r=`${PWD_COMMAND}`; export r; \
12147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12148 $(HOST_EXPORTS) \
12149 $(POSTSTAGE1_HOST_EXPORTS) \
12150 cd $(HOST_SUBDIR)/gcc && \
12151 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
12152 $(TARGET-stagefeedback-gcc)
12154 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
12155 clean-stagefeedback: clean-stagefeedback-gcc
12156 clean-stagefeedback-gcc:
12157 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] \
12158 || exit 0 ; \
12159 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
12160 cd $(HOST_SUBDIR)/gcc && \
12161 $(MAKE) $(FLAGS_TO_PASS) \
12162 $(POSTSTAGE1_FLAGS_TO_PASS) \
12163 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
12164 @endif gcc-bootstrap
12170 .PHONY: check-gcc maybe-check-gcc
12171 maybe-check-gcc:
12172 @if gcc
12173 maybe-check-gcc: check-gcc
12175 check-gcc:
12176 @: $(MAKE); $(unstage)
12177 @r=`${PWD_COMMAND}`; export r; \
12178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12179 $(HOST_EXPORTS) \
12180 (cd $(HOST_SUBDIR)/gcc && \
12181 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
12183 @endif gcc
12185 .PHONY: install-gcc maybe-install-gcc
12186 maybe-install-gcc:
12187 @if gcc
12188 maybe-install-gcc: install-gcc
12190 install-gcc: installdirs
12191 @: $(MAKE); $(unstage)
12192 @r=`${PWD_COMMAND}`; export r; \
12193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12194 $(HOST_EXPORTS) \
12195 (cd $(HOST_SUBDIR)/gcc && \
12196 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
12198 @endif gcc
12200 # Other targets (info, dvi, etc.)
12202 .PHONY: maybe-info-gcc info-gcc
12203 maybe-info-gcc:
12204 @if gcc
12205 maybe-info-gcc: info-gcc
12207 info-gcc: \
12208 configure-gcc
12209 @[ -f ./gcc/Makefile ] || exit 0; \
12210 r=`${PWD_COMMAND}`; export r; \
12211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12212 $(HOST_EXPORTS) \
12213 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12215 done; \
12216 echo "Doing info in gcc" ; \
12217 (cd $(HOST_SUBDIR)/gcc && \
12218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12220 "RANLIB=$${RANLIB}" \
12221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12222 info) \
12223 || exit 1
12225 @endif gcc
12227 .PHONY: maybe-dvi-gcc dvi-gcc
12228 maybe-dvi-gcc:
12229 @if gcc
12230 maybe-dvi-gcc: dvi-gcc
12232 dvi-gcc: \
12233 configure-gcc
12234 @[ -f ./gcc/Makefile ] || exit 0; \
12235 r=`${PWD_COMMAND}`; export r; \
12236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12237 $(HOST_EXPORTS) \
12238 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12240 done; \
12241 echo "Doing dvi in gcc" ; \
12242 (cd $(HOST_SUBDIR)/gcc && \
12243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12245 "RANLIB=$${RANLIB}" \
12246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12247 dvi) \
12248 || exit 1
12250 @endif gcc
12252 .PHONY: maybe-html-gcc html-gcc
12253 maybe-html-gcc:
12254 @if gcc
12255 maybe-html-gcc: html-gcc
12257 html-gcc: \
12258 configure-gcc
12259 @[ -f ./gcc/Makefile ] || exit 0; \
12260 r=`${PWD_COMMAND}`; export r; \
12261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12262 $(HOST_EXPORTS) \
12263 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12265 done; \
12266 echo "Doing html in gcc" ; \
12267 (cd $(HOST_SUBDIR)/gcc && \
12268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12270 "RANLIB=$${RANLIB}" \
12271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12272 html) \
12273 || exit 1
12275 @endif gcc
12277 .PHONY: maybe-TAGS-gcc TAGS-gcc
12278 maybe-TAGS-gcc:
12279 @if gcc
12280 maybe-TAGS-gcc: TAGS-gcc
12282 TAGS-gcc: \
12283 configure-gcc
12284 @[ -f ./gcc/Makefile ] || exit 0; \
12285 r=`${PWD_COMMAND}`; export r; \
12286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12287 $(HOST_EXPORTS) \
12288 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12290 done; \
12291 echo "Doing TAGS in gcc" ; \
12292 (cd $(HOST_SUBDIR)/gcc && \
12293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12295 "RANLIB=$${RANLIB}" \
12296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12297 TAGS) \
12298 || exit 1
12300 @endif gcc
12302 .PHONY: maybe-install-info-gcc install-info-gcc
12303 maybe-install-info-gcc:
12304 @if gcc
12305 maybe-install-info-gcc: install-info-gcc
12307 install-info-gcc: \
12308 configure-gcc \
12309 info-gcc
12310 @[ -f ./gcc/Makefile ] || exit 0; \
12311 r=`${PWD_COMMAND}`; export r; \
12312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12313 $(HOST_EXPORTS) \
12314 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12316 done; \
12317 echo "Doing install-info in gcc" ; \
12318 (cd $(HOST_SUBDIR)/gcc && \
12319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12321 "RANLIB=$${RANLIB}" \
12322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12323 install-info) \
12324 || exit 1
12326 @endif gcc
12328 .PHONY: maybe-install-html-gcc install-html-gcc
12329 maybe-install-html-gcc:
12330 @if gcc
12331 maybe-install-html-gcc: install-html-gcc
12333 install-html-gcc: \
12334 configure-gcc \
12335 html-gcc
12336 @[ -f ./gcc/Makefile ] || exit 0; \
12337 r=`${PWD_COMMAND}`; export r; \
12338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12339 $(HOST_EXPORTS) \
12340 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12342 done; \
12343 echo "Doing install-html in gcc" ; \
12344 (cd $(HOST_SUBDIR)/gcc && \
12345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12347 "RANLIB=$${RANLIB}" \
12348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12349 install-html) \
12350 || exit 1
12352 @endif gcc
12354 .PHONY: maybe-installcheck-gcc installcheck-gcc
12355 maybe-installcheck-gcc:
12356 @if gcc
12357 maybe-installcheck-gcc: installcheck-gcc
12359 installcheck-gcc: \
12360 configure-gcc
12361 @[ -f ./gcc/Makefile ] || exit 0; \
12362 r=`${PWD_COMMAND}`; export r; \
12363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12364 $(HOST_EXPORTS) \
12365 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12367 done; \
12368 echo "Doing installcheck in gcc" ; \
12369 (cd $(HOST_SUBDIR)/gcc && \
12370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12372 "RANLIB=$${RANLIB}" \
12373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12374 installcheck) \
12375 || exit 1
12377 @endif gcc
12379 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
12380 maybe-mostlyclean-gcc:
12381 @if gcc
12382 maybe-mostlyclean-gcc: mostlyclean-gcc
12384 mostlyclean-gcc:
12385 @[ -f ./gcc/Makefile ] || exit 0; \
12386 r=`${PWD_COMMAND}`; export r; \
12387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12388 $(HOST_EXPORTS) \
12389 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12391 done; \
12392 echo "Doing mostlyclean in gcc" ; \
12393 (cd $(HOST_SUBDIR)/gcc && \
12394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12396 "RANLIB=$${RANLIB}" \
12397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12398 mostlyclean) \
12399 || exit 1
12401 @endif gcc
12403 .PHONY: maybe-clean-gcc clean-gcc
12404 maybe-clean-gcc:
12405 @if gcc
12406 maybe-clean-gcc: clean-gcc
12408 clean-gcc:
12409 @[ -f ./gcc/Makefile ] || exit 0; \
12410 r=`${PWD_COMMAND}`; export r; \
12411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12412 $(HOST_EXPORTS) \
12413 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12415 done; \
12416 echo "Doing clean in gcc" ; \
12417 (cd $(HOST_SUBDIR)/gcc && \
12418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12420 "RANLIB=$${RANLIB}" \
12421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12422 clean) \
12423 || exit 1
12425 @endif gcc
12427 .PHONY: maybe-distclean-gcc distclean-gcc
12428 maybe-distclean-gcc:
12429 @if gcc
12430 maybe-distclean-gcc: distclean-gcc
12432 distclean-gcc:
12433 @[ -f ./gcc/Makefile ] || exit 0; \
12434 r=`${PWD_COMMAND}`; export r; \
12435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12436 $(HOST_EXPORTS) \
12437 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12439 done; \
12440 echo "Doing distclean in gcc" ; \
12441 (cd $(HOST_SUBDIR)/gcc && \
12442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12444 "RANLIB=$${RANLIB}" \
12445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12446 distclean) \
12447 || exit 1
12449 @endif gcc
12451 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
12452 maybe-maintainer-clean-gcc:
12453 @if gcc
12454 maybe-maintainer-clean-gcc: maintainer-clean-gcc
12456 maintainer-clean-gcc:
12457 @[ -f ./gcc/Makefile ] || exit 0; \
12458 r=`${PWD_COMMAND}`; export r; \
12459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12460 $(HOST_EXPORTS) \
12461 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12463 done; \
12464 echo "Doing maintainer-clean in gcc" ; \
12465 (cd $(HOST_SUBDIR)/gcc && \
12466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12468 "RANLIB=$${RANLIB}" \
12469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12470 maintainer-clean) \
12471 || exit 1
12473 @endif gcc
12477 .PHONY: configure-gawk maybe-configure-gawk
12478 maybe-configure-gawk:
12479 @if gcc-bootstrap
12480 configure-gawk: stage_current
12481 @endif gcc-bootstrap
12482 @if gawk
12483 maybe-configure-gawk: configure-gawk
12484 configure-gawk:
12485 @: $(MAKE); $(unstage)
12486 @r=`${PWD_COMMAND}`; export r; \
12487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12488 test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
12489 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
12490 $(HOST_EXPORTS) \
12491 echo Configuring in $(HOST_SUBDIR)/gawk; \
12492 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
12493 case $(srcdir) in \
12494 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12495 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
12496 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12497 esac; \
12498 srcdiroption="--srcdir=$${topdir}/gawk"; \
12499 libsrcdir="$$s/gawk"; \
12500 $(SHELL) $${libsrcdir}/configure \
12501 $(HOST_CONFIGARGS) $${srcdiroption} \
12502 || exit 1
12503 @endif gawk
12509 .PHONY: all-gawk maybe-all-gawk
12510 maybe-all-gawk:
12511 @if gcc-bootstrap
12512 all-gawk: stage_current
12513 @endif gcc-bootstrap
12514 @if gawk
12515 TARGET-gawk=all
12516 maybe-all-gawk: all-gawk
12517 all-gawk: configure-gawk
12518 @: $(MAKE); $(unstage)
12519 @r=`${PWD_COMMAND}`; export r; \
12520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12521 $(HOST_EXPORTS) \
12522 (cd $(HOST_SUBDIR)/gawk && \
12523 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
12524 @endif gawk
12529 .PHONY: check-gawk maybe-check-gawk
12530 maybe-check-gawk:
12531 @if gawk
12532 maybe-check-gawk: check-gawk
12534 check-gawk:
12535 @: $(MAKE); $(unstage)
12536 @r=`${PWD_COMMAND}`; export r; \
12537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12538 $(HOST_EXPORTS) \
12539 (cd $(HOST_SUBDIR)/gawk && \
12540 $(MAKE) $(FLAGS_TO_PASS) check)
12542 @endif gawk
12544 .PHONY: install-gawk maybe-install-gawk
12545 maybe-install-gawk:
12546 @if gawk
12547 maybe-install-gawk: install-gawk
12549 install-gawk: installdirs
12550 @: $(MAKE); $(unstage)
12551 @r=`${PWD_COMMAND}`; export r; \
12552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12553 $(HOST_EXPORTS) \
12554 (cd $(HOST_SUBDIR)/gawk && \
12555 $(MAKE) $(FLAGS_TO_PASS) install)
12557 @endif gawk
12559 # Other targets (info, dvi, etc.)
12561 .PHONY: maybe-info-gawk info-gawk
12562 maybe-info-gawk:
12563 @if gawk
12564 maybe-info-gawk: info-gawk
12566 info-gawk: \
12567 configure-gawk
12568 @: $(MAKE); $(unstage)
12569 @[ -f ./gawk/Makefile ] || exit 0; \
12570 r=`${PWD_COMMAND}`; export r; \
12571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12572 $(HOST_EXPORTS) \
12573 for flag in $(EXTRA_HOST_FLAGS) ; do \
12574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12575 done; \
12576 echo "Doing info in gawk" ; \
12577 (cd $(HOST_SUBDIR)/gawk && \
12578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12580 "RANLIB=$${RANLIB}" \
12581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12582 info) \
12583 || exit 1
12585 @endif gawk
12587 .PHONY: maybe-dvi-gawk dvi-gawk
12588 maybe-dvi-gawk:
12589 @if gawk
12590 maybe-dvi-gawk: dvi-gawk
12592 dvi-gawk: \
12593 configure-gawk
12594 @: $(MAKE); $(unstage)
12595 @[ -f ./gawk/Makefile ] || exit 0; \
12596 r=`${PWD_COMMAND}`; export r; \
12597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12598 $(HOST_EXPORTS) \
12599 for flag in $(EXTRA_HOST_FLAGS) ; do \
12600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12601 done; \
12602 echo "Doing dvi in gawk" ; \
12603 (cd $(HOST_SUBDIR)/gawk && \
12604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12606 "RANLIB=$${RANLIB}" \
12607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12608 dvi) \
12609 || exit 1
12611 @endif gawk
12613 .PHONY: maybe-html-gawk html-gawk
12614 maybe-html-gawk:
12615 @if gawk
12616 maybe-html-gawk: html-gawk
12618 html-gawk: \
12619 configure-gawk
12620 @: $(MAKE); $(unstage)
12621 @[ -f ./gawk/Makefile ] || exit 0; \
12622 r=`${PWD_COMMAND}`; export r; \
12623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12624 $(HOST_EXPORTS) \
12625 for flag in $(EXTRA_HOST_FLAGS) ; do \
12626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12627 done; \
12628 echo "Doing html in gawk" ; \
12629 (cd $(HOST_SUBDIR)/gawk && \
12630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12632 "RANLIB=$${RANLIB}" \
12633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12634 html) \
12635 || exit 1
12637 @endif gawk
12639 .PHONY: maybe-TAGS-gawk TAGS-gawk
12640 maybe-TAGS-gawk:
12641 @if gawk
12642 maybe-TAGS-gawk: TAGS-gawk
12644 TAGS-gawk: \
12645 configure-gawk
12646 @: $(MAKE); $(unstage)
12647 @[ -f ./gawk/Makefile ] || exit 0; \
12648 r=`${PWD_COMMAND}`; export r; \
12649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12650 $(HOST_EXPORTS) \
12651 for flag in $(EXTRA_HOST_FLAGS) ; do \
12652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12653 done; \
12654 echo "Doing TAGS in gawk" ; \
12655 (cd $(HOST_SUBDIR)/gawk && \
12656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12658 "RANLIB=$${RANLIB}" \
12659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12660 TAGS) \
12661 || exit 1
12663 @endif gawk
12665 .PHONY: maybe-install-info-gawk install-info-gawk
12666 maybe-install-info-gawk:
12667 @if gawk
12668 maybe-install-info-gawk: install-info-gawk
12670 install-info-gawk: \
12671 configure-gawk \
12672 info-gawk
12673 @: $(MAKE); $(unstage)
12674 @[ -f ./gawk/Makefile ] || exit 0; \
12675 r=`${PWD_COMMAND}`; export r; \
12676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12677 $(HOST_EXPORTS) \
12678 for flag in $(EXTRA_HOST_FLAGS) ; do \
12679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12680 done; \
12681 echo "Doing install-info in gawk" ; \
12682 (cd $(HOST_SUBDIR)/gawk && \
12683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12685 "RANLIB=$${RANLIB}" \
12686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12687 install-info) \
12688 || exit 1
12690 @endif gawk
12692 .PHONY: maybe-install-html-gawk install-html-gawk
12693 maybe-install-html-gawk:
12694 @if gawk
12695 maybe-install-html-gawk: install-html-gawk
12697 install-html-gawk: \
12698 configure-gawk \
12699 html-gawk
12700 @: $(MAKE); $(unstage)
12701 @[ -f ./gawk/Makefile ] || exit 0; \
12702 r=`${PWD_COMMAND}`; export r; \
12703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12704 $(HOST_EXPORTS) \
12705 for flag in $(EXTRA_HOST_FLAGS) ; do \
12706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12707 done; \
12708 echo "Doing install-html in gawk" ; \
12709 (cd $(HOST_SUBDIR)/gawk && \
12710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12712 "RANLIB=$${RANLIB}" \
12713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12714 install-html) \
12715 || exit 1
12717 @endif gawk
12719 .PHONY: maybe-installcheck-gawk installcheck-gawk
12720 maybe-installcheck-gawk:
12721 @if gawk
12722 maybe-installcheck-gawk: installcheck-gawk
12724 installcheck-gawk: \
12725 configure-gawk
12726 @: $(MAKE); $(unstage)
12727 @[ -f ./gawk/Makefile ] || exit 0; \
12728 r=`${PWD_COMMAND}`; export r; \
12729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12730 $(HOST_EXPORTS) \
12731 for flag in $(EXTRA_HOST_FLAGS) ; do \
12732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12733 done; \
12734 echo "Doing installcheck in gawk" ; \
12735 (cd $(HOST_SUBDIR)/gawk && \
12736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12738 "RANLIB=$${RANLIB}" \
12739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12740 installcheck) \
12741 || exit 1
12743 @endif gawk
12745 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
12746 maybe-mostlyclean-gawk:
12747 @if gawk
12748 maybe-mostlyclean-gawk: mostlyclean-gawk
12750 mostlyclean-gawk:
12751 @: $(MAKE); $(unstage)
12752 @[ -f ./gawk/Makefile ] || exit 0; \
12753 r=`${PWD_COMMAND}`; export r; \
12754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12755 $(HOST_EXPORTS) \
12756 for flag in $(EXTRA_HOST_FLAGS) ; do \
12757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12758 done; \
12759 echo "Doing mostlyclean in gawk" ; \
12760 (cd $(HOST_SUBDIR)/gawk && \
12761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12763 "RANLIB=$${RANLIB}" \
12764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12765 mostlyclean) \
12766 || exit 1
12768 @endif gawk
12770 .PHONY: maybe-clean-gawk clean-gawk
12771 maybe-clean-gawk:
12772 @if gawk
12773 maybe-clean-gawk: clean-gawk
12775 clean-gawk:
12776 @: $(MAKE); $(unstage)
12777 @[ -f ./gawk/Makefile ] || exit 0; \
12778 r=`${PWD_COMMAND}`; export r; \
12779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12780 $(HOST_EXPORTS) \
12781 for flag in $(EXTRA_HOST_FLAGS) ; do \
12782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12783 done; \
12784 echo "Doing clean in gawk" ; \
12785 (cd $(HOST_SUBDIR)/gawk && \
12786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12788 "RANLIB=$${RANLIB}" \
12789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12790 clean) \
12791 || exit 1
12793 @endif gawk
12795 .PHONY: maybe-distclean-gawk distclean-gawk
12796 maybe-distclean-gawk:
12797 @if gawk
12798 maybe-distclean-gawk: distclean-gawk
12800 distclean-gawk:
12801 @: $(MAKE); $(unstage)
12802 @[ -f ./gawk/Makefile ] || exit 0; \
12803 r=`${PWD_COMMAND}`; export r; \
12804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12805 $(HOST_EXPORTS) \
12806 for flag in $(EXTRA_HOST_FLAGS) ; do \
12807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12808 done; \
12809 echo "Doing distclean in gawk" ; \
12810 (cd $(HOST_SUBDIR)/gawk && \
12811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12813 "RANLIB=$${RANLIB}" \
12814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12815 distclean) \
12816 || exit 1
12818 @endif gawk
12820 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
12821 maybe-maintainer-clean-gawk:
12822 @if gawk
12823 maybe-maintainer-clean-gawk: maintainer-clean-gawk
12825 maintainer-clean-gawk:
12826 @: $(MAKE); $(unstage)
12827 @[ -f ./gawk/Makefile ] || exit 0; \
12828 r=`${PWD_COMMAND}`; export r; \
12829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12830 $(HOST_EXPORTS) \
12831 for flag in $(EXTRA_HOST_FLAGS) ; do \
12832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12833 done; \
12834 echo "Doing maintainer-clean in gawk" ; \
12835 (cd $(HOST_SUBDIR)/gawk && \
12836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12838 "RANLIB=$${RANLIB}" \
12839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12840 maintainer-clean) \
12841 || exit 1
12843 @endif gawk
12847 .PHONY: configure-gettext maybe-configure-gettext
12848 maybe-configure-gettext:
12849 @if gcc-bootstrap
12850 configure-gettext: stage_current
12851 @endif gcc-bootstrap
12852 @if gettext
12853 maybe-configure-gettext: configure-gettext
12854 configure-gettext:
12855 @: $(MAKE); $(unstage)
12856 @r=`${PWD_COMMAND}`; export r; \
12857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12858 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
12859 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
12860 $(HOST_EXPORTS) \
12861 echo Configuring in $(HOST_SUBDIR)/gettext; \
12862 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
12863 case $(srcdir) in \
12864 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12865 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
12866 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12867 esac; \
12868 srcdiroption="--srcdir=$${topdir}/gettext"; \
12869 libsrcdir="$$s/gettext"; \
12870 $(SHELL) $${libsrcdir}/configure \
12871 $(HOST_CONFIGARGS) $${srcdiroption} \
12872 || exit 1
12873 @endif gettext
12879 .PHONY: all-gettext maybe-all-gettext
12880 maybe-all-gettext:
12881 @if gcc-bootstrap
12882 all-gettext: stage_current
12883 @endif gcc-bootstrap
12884 @if gettext
12885 TARGET-gettext=all
12886 maybe-all-gettext: all-gettext
12887 all-gettext: configure-gettext
12888 @: $(MAKE); $(unstage)
12889 @r=`${PWD_COMMAND}`; export r; \
12890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12891 $(HOST_EXPORTS) \
12892 (cd $(HOST_SUBDIR)/gettext && \
12893 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
12894 @endif gettext
12899 .PHONY: check-gettext maybe-check-gettext
12900 maybe-check-gettext:
12901 @if gettext
12902 maybe-check-gettext: check-gettext
12904 check-gettext:
12905 @: $(MAKE); $(unstage)
12906 @r=`${PWD_COMMAND}`; export r; \
12907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12908 $(HOST_EXPORTS) \
12909 (cd $(HOST_SUBDIR)/gettext && \
12910 $(MAKE) $(FLAGS_TO_PASS) check)
12912 @endif gettext
12914 .PHONY: install-gettext maybe-install-gettext
12915 maybe-install-gettext:
12916 @if gettext
12917 maybe-install-gettext: install-gettext
12919 install-gettext: installdirs
12920 @: $(MAKE); $(unstage)
12921 @r=`${PWD_COMMAND}`; export r; \
12922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12923 $(HOST_EXPORTS) \
12924 (cd $(HOST_SUBDIR)/gettext && \
12925 $(MAKE) $(FLAGS_TO_PASS) install)
12927 @endif gettext
12929 # Other targets (info, dvi, etc.)
12931 .PHONY: maybe-info-gettext info-gettext
12932 maybe-info-gettext:
12933 @if gettext
12934 maybe-info-gettext: info-gettext
12936 info-gettext: \
12937 configure-gettext
12938 @: $(MAKE); $(unstage)
12939 @[ -f ./gettext/Makefile ] || exit 0; \
12940 r=`${PWD_COMMAND}`; export r; \
12941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12942 $(HOST_EXPORTS) \
12943 for flag in $(EXTRA_HOST_FLAGS) ; do \
12944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12945 done; \
12946 echo "Doing info in gettext" ; \
12947 (cd $(HOST_SUBDIR)/gettext && \
12948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12950 "RANLIB=$${RANLIB}" \
12951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12952 info) \
12953 || exit 1
12955 @endif gettext
12957 .PHONY: maybe-dvi-gettext dvi-gettext
12958 maybe-dvi-gettext:
12959 @if gettext
12960 maybe-dvi-gettext: dvi-gettext
12962 dvi-gettext: \
12963 configure-gettext
12964 @: $(MAKE); $(unstage)
12965 @[ -f ./gettext/Makefile ] || exit 0; \
12966 r=`${PWD_COMMAND}`; export r; \
12967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12968 $(HOST_EXPORTS) \
12969 for flag in $(EXTRA_HOST_FLAGS) ; do \
12970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12971 done; \
12972 echo "Doing dvi in gettext" ; \
12973 (cd $(HOST_SUBDIR)/gettext && \
12974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12976 "RANLIB=$${RANLIB}" \
12977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12978 dvi) \
12979 || exit 1
12981 @endif gettext
12983 .PHONY: maybe-html-gettext html-gettext
12984 maybe-html-gettext:
12985 @if gettext
12986 maybe-html-gettext: html-gettext
12988 html-gettext: \
12989 configure-gettext
12990 @: $(MAKE); $(unstage)
12991 @[ -f ./gettext/Makefile ] || exit 0; \
12992 r=`${PWD_COMMAND}`; export r; \
12993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12994 $(HOST_EXPORTS) \
12995 for flag in $(EXTRA_HOST_FLAGS) ; do \
12996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12997 done; \
12998 echo "Doing html in gettext" ; \
12999 (cd $(HOST_SUBDIR)/gettext && \
13000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13002 "RANLIB=$${RANLIB}" \
13003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13004 html) \
13005 || exit 1
13007 @endif gettext
13009 .PHONY: maybe-TAGS-gettext TAGS-gettext
13010 maybe-TAGS-gettext:
13011 @if gettext
13012 maybe-TAGS-gettext: TAGS-gettext
13014 TAGS-gettext: \
13015 configure-gettext
13016 @: $(MAKE); $(unstage)
13017 @[ -f ./gettext/Makefile ] || exit 0; \
13018 r=`${PWD_COMMAND}`; export r; \
13019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13020 $(HOST_EXPORTS) \
13021 for flag in $(EXTRA_HOST_FLAGS) ; do \
13022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13023 done; \
13024 echo "Doing TAGS in gettext" ; \
13025 (cd $(HOST_SUBDIR)/gettext && \
13026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13028 "RANLIB=$${RANLIB}" \
13029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13030 TAGS) \
13031 || exit 1
13033 @endif gettext
13035 .PHONY: maybe-install-info-gettext install-info-gettext
13036 maybe-install-info-gettext:
13037 @if gettext
13038 maybe-install-info-gettext: install-info-gettext
13040 install-info-gettext: \
13041 configure-gettext \
13042 info-gettext
13043 @: $(MAKE); $(unstage)
13044 @[ -f ./gettext/Makefile ] || exit 0; \
13045 r=`${PWD_COMMAND}`; export r; \
13046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13047 $(HOST_EXPORTS) \
13048 for flag in $(EXTRA_HOST_FLAGS) ; do \
13049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13050 done; \
13051 echo "Doing install-info in gettext" ; \
13052 (cd $(HOST_SUBDIR)/gettext && \
13053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13055 "RANLIB=$${RANLIB}" \
13056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13057 install-info) \
13058 || exit 1
13060 @endif gettext
13062 .PHONY: maybe-install-html-gettext install-html-gettext
13063 maybe-install-html-gettext:
13064 @if gettext
13065 maybe-install-html-gettext: install-html-gettext
13067 install-html-gettext: \
13068 configure-gettext \
13069 html-gettext
13070 @: $(MAKE); $(unstage)
13071 @[ -f ./gettext/Makefile ] || exit 0; \
13072 r=`${PWD_COMMAND}`; export r; \
13073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13074 $(HOST_EXPORTS) \
13075 for flag in $(EXTRA_HOST_FLAGS) ; do \
13076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13077 done; \
13078 echo "Doing install-html in gettext" ; \
13079 (cd $(HOST_SUBDIR)/gettext && \
13080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13082 "RANLIB=$${RANLIB}" \
13083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13084 install-html) \
13085 || exit 1
13087 @endif gettext
13089 .PHONY: maybe-installcheck-gettext installcheck-gettext
13090 maybe-installcheck-gettext:
13091 @if gettext
13092 maybe-installcheck-gettext: installcheck-gettext
13094 installcheck-gettext: \
13095 configure-gettext
13096 @: $(MAKE); $(unstage)
13097 @[ -f ./gettext/Makefile ] || exit 0; \
13098 r=`${PWD_COMMAND}`; export r; \
13099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13100 $(HOST_EXPORTS) \
13101 for flag in $(EXTRA_HOST_FLAGS) ; do \
13102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13103 done; \
13104 echo "Doing installcheck in gettext" ; \
13105 (cd $(HOST_SUBDIR)/gettext && \
13106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13108 "RANLIB=$${RANLIB}" \
13109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13110 installcheck) \
13111 || exit 1
13113 @endif gettext
13115 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
13116 maybe-mostlyclean-gettext:
13117 @if gettext
13118 maybe-mostlyclean-gettext: mostlyclean-gettext
13120 mostlyclean-gettext:
13121 @: $(MAKE); $(unstage)
13122 @[ -f ./gettext/Makefile ] || exit 0; \
13123 r=`${PWD_COMMAND}`; export r; \
13124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13125 $(HOST_EXPORTS) \
13126 for flag in $(EXTRA_HOST_FLAGS) ; do \
13127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13128 done; \
13129 echo "Doing mostlyclean in gettext" ; \
13130 (cd $(HOST_SUBDIR)/gettext && \
13131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13133 "RANLIB=$${RANLIB}" \
13134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13135 mostlyclean) \
13136 || exit 1
13138 @endif gettext
13140 .PHONY: maybe-clean-gettext clean-gettext
13141 maybe-clean-gettext:
13142 @if gettext
13143 maybe-clean-gettext: clean-gettext
13145 clean-gettext:
13146 @: $(MAKE); $(unstage)
13147 @[ -f ./gettext/Makefile ] || exit 0; \
13148 r=`${PWD_COMMAND}`; export r; \
13149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13150 $(HOST_EXPORTS) \
13151 for flag in $(EXTRA_HOST_FLAGS) ; do \
13152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13153 done; \
13154 echo "Doing clean in gettext" ; \
13155 (cd $(HOST_SUBDIR)/gettext && \
13156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13158 "RANLIB=$${RANLIB}" \
13159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13160 clean) \
13161 || exit 1
13163 @endif gettext
13165 .PHONY: maybe-distclean-gettext distclean-gettext
13166 maybe-distclean-gettext:
13167 @if gettext
13168 maybe-distclean-gettext: distclean-gettext
13170 distclean-gettext:
13171 @: $(MAKE); $(unstage)
13172 @[ -f ./gettext/Makefile ] || exit 0; \
13173 r=`${PWD_COMMAND}`; export r; \
13174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13175 $(HOST_EXPORTS) \
13176 for flag in $(EXTRA_HOST_FLAGS) ; do \
13177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13178 done; \
13179 echo "Doing distclean in gettext" ; \
13180 (cd $(HOST_SUBDIR)/gettext && \
13181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13183 "RANLIB=$${RANLIB}" \
13184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13185 distclean) \
13186 || exit 1
13188 @endif gettext
13190 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
13191 maybe-maintainer-clean-gettext:
13192 @if gettext
13193 maybe-maintainer-clean-gettext: maintainer-clean-gettext
13195 maintainer-clean-gettext:
13196 @: $(MAKE); $(unstage)
13197 @[ -f ./gettext/Makefile ] || exit 0; \
13198 r=`${PWD_COMMAND}`; export r; \
13199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13200 $(HOST_EXPORTS) \
13201 for flag in $(EXTRA_HOST_FLAGS) ; do \
13202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13203 done; \
13204 echo "Doing maintainer-clean in gettext" ; \
13205 (cd $(HOST_SUBDIR)/gettext && \
13206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13208 "RANLIB=$${RANLIB}" \
13209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13210 maintainer-clean) \
13211 || exit 1
13213 @endif gettext
13217 .PHONY: configure-gnuserv maybe-configure-gnuserv
13218 maybe-configure-gnuserv:
13219 @if gcc-bootstrap
13220 configure-gnuserv: stage_current
13221 @endif gcc-bootstrap
13222 @if gnuserv
13223 maybe-configure-gnuserv: configure-gnuserv
13224 configure-gnuserv:
13225 @: $(MAKE); $(unstage)
13226 @r=`${PWD_COMMAND}`; export r; \
13227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13228 test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
13229 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
13230 $(HOST_EXPORTS) \
13231 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
13232 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
13233 case $(srcdir) in \
13234 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13235 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
13236 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13237 esac; \
13238 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
13239 libsrcdir="$$s/gnuserv"; \
13240 $(SHELL) $${libsrcdir}/configure \
13241 $(HOST_CONFIGARGS) $${srcdiroption} \
13242 || exit 1
13243 @endif gnuserv
13249 .PHONY: all-gnuserv maybe-all-gnuserv
13250 maybe-all-gnuserv:
13251 @if gcc-bootstrap
13252 all-gnuserv: stage_current
13253 @endif gcc-bootstrap
13254 @if gnuserv
13255 TARGET-gnuserv=all
13256 maybe-all-gnuserv: all-gnuserv
13257 all-gnuserv: configure-gnuserv
13258 @: $(MAKE); $(unstage)
13259 @r=`${PWD_COMMAND}`; export r; \
13260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13261 $(HOST_EXPORTS) \
13262 (cd $(HOST_SUBDIR)/gnuserv && \
13263 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
13264 @endif gnuserv
13269 .PHONY: check-gnuserv maybe-check-gnuserv
13270 maybe-check-gnuserv:
13271 @if gnuserv
13272 maybe-check-gnuserv: check-gnuserv
13274 check-gnuserv:
13275 @: $(MAKE); $(unstage)
13276 @r=`${PWD_COMMAND}`; export r; \
13277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13278 $(HOST_EXPORTS) \
13279 (cd $(HOST_SUBDIR)/gnuserv && \
13280 $(MAKE) $(FLAGS_TO_PASS) check)
13282 @endif gnuserv
13284 .PHONY: install-gnuserv maybe-install-gnuserv
13285 maybe-install-gnuserv:
13286 @if gnuserv
13287 maybe-install-gnuserv: install-gnuserv
13289 install-gnuserv: installdirs
13290 @: $(MAKE); $(unstage)
13291 @r=`${PWD_COMMAND}`; export r; \
13292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13293 $(HOST_EXPORTS) \
13294 (cd $(HOST_SUBDIR)/gnuserv && \
13295 $(MAKE) $(FLAGS_TO_PASS) install)
13297 @endif gnuserv
13299 # Other targets (info, dvi, etc.)
13301 .PHONY: maybe-info-gnuserv info-gnuserv
13302 maybe-info-gnuserv:
13303 @if gnuserv
13304 maybe-info-gnuserv: info-gnuserv
13306 info-gnuserv: \
13307 configure-gnuserv
13308 @: $(MAKE); $(unstage)
13309 @[ -f ./gnuserv/Makefile ] || exit 0; \
13310 r=`${PWD_COMMAND}`; export r; \
13311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13312 $(HOST_EXPORTS) \
13313 for flag in $(EXTRA_HOST_FLAGS) ; do \
13314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13315 done; \
13316 echo "Doing info in gnuserv" ; \
13317 (cd $(HOST_SUBDIR)/gnuserv && \
13318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13320 "RANLIB=$${RANLIB}" \
13321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13322 info) \
13323 || exit 1
13325 @endif gnuserv
13327 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
13328 maybe-dvi-gnuserv:
13329 @if gnuserv
13330 maybe-dvi-gnuserv: dvi-gnuserv
13332 dvi-gnuserv: \
13333 configure-gnuserv
13334 @: $(MAKE); $(unstage)
13335 @[ -f ./gnuserv/Makefile ] || exit 0; \
13336 r=`${PWD_COMMAND}`; export r; \
13337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13338 $(HOST_EXPORTS) \
13339 for flag in $(EXTRA_HOST_FLAGS) ; do \
13340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13341 done; \
13342 echo "Doing dvi in gnuserv" ; \
13343 (cd $(HOST_SUBDIR)/gnuserv && \
13344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13346 "RANLIB=$${RANLIB}" \
13347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13348 dvi) \
13349 || exit 1
13351 @endif gnuserv
13353 .PHONY: maybe-html-gnuserv html-gnuserv
13354 maybe-html-gnuserv:
13355 @if gnuserv
13356 maybe-html-gnuserv: html-gnuserv
13358 html-gnuserv: \
13359 configure-gnuserv
13360 @: $(MAKE); $(unstage)
13361 @[ -f ./gnuserv/Makefile ] || exit 0; \
13362 r=`${PWD_COMMAND}`; export r; \
13363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13364 $(HOST_EXPORTS) \
13365 for flag in $(EXTRA_HOST_FLAGS) ; do \
13366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13367 done; \
13368 echo "Doing html in gnuserv" ; \
13369 (cd $(HOST_SUBDIR)/gnuserv && \
13370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13372 "RANLIB=$${RANLIB}" \
13373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13374 html) \
13375 || exit 1
13377 @endif gnuserv
13379 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
13380 maybe-TAGS-gnuserv:
13381 @if gnuserv
13382 maybe-TAGS-gnuserv: TAGS-gnuserv
13384 TAGS-gnuserv: \
13385 configure-gnuserv
13386 @: $(MAKE); $(unstage)
13387 @[ -f ./gnuserv/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) ; do \
13392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13393 done; \
13394 echo "Doing TAGS in gnuserv" ; \
13395 (cd $(HOST_SUBDIR)/gnuserv && \
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 TAGS) \
13401 || exit 1
13403 @endif gnuserv
13405 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
13406 maybe-install-info-gnuserv:
13407 @if gnuserv
13408 maybe-install-info-gnuserv: install-info-gnuserv
13410 install-info-gnuserv: \
13411 configure-gnuserv \
13412 info-gnuserv
13413 @: $(MAKE); $(unstage)
13414 @[ -f ./gnuserv/Makefile ] || exit 0; \
13415 r=`${PWD_COMMAND}`; export r; \
13416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13417 $(HOST_EXPORTS) \
13418 for flag in $(EXTRA_HOST_FLAGS) ; do \
13419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13420 done; \
13421 echo "Doing install-info in gnuserv" ; \
13422 (cd $(HOST_SUBDIR)/gnuserv && \
13423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13425 "RANLIB=$${RANLIB}" \
13426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13427 install-info) \
13428 || exit 1
13430 @endif gnuserv
13432 .PHONY: maybe-install-html-gnuserv install-html-gnuserv
13433 maybe-install-html-gnuserv:
13434 @if gnuserv
13435 maybe-install-html-gnuserv: install-html-gnuserv
13437 install-html-gnuserv: \
13438 configure-gnuserv \
13439 html-gnuserv
13440 @: $(MAKE); $(unstage)
13441 @[ -f ./gnuserv/Makefile ] || exit 0; \
13442 r=`${PWD_COMMAND}`; export r; \
13443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13444 $(HOST_EXPORTS) \
13445 for flag in $(EXTRA_HOST_FLAGS) ; do \
13446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13447 done; \
13448 echo "Doing install-html in gnuserv" ; \
13449 (cd $(HOST_SUBDIR)/gnuserv && \
13450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13452 "RANLIB=$${RANLIB}" \
13453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13454 install-html) \
13455 || exit 1
13457 @endif gnuserv
13459 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
13460 maybe-installcheck-gnuserv:
13461 @if gnuserv
13462 maybe-installcheck-gnuserv: installcheck-gnuserv
13464 installcheck-gnuserv: \
13465 configure-gnuserv
13466 @: $(MAKE); $(unstage)
13467 @[ -f ./gnuserv/Makefile ] || exit 0; \
13468 r=`${PWD_COMMAND}`; export r; \
13469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13470 $(HOST_EXPORTS) \
13471 for flag in $(EXTRA_HOST_FLAGS) ; do \
13472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13473 done; \
13474 echo "Doing installcheck in gnuserv" ; \
13475 (cd $(HOST_SUBDIR)/gnuserv && \
13476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13478 "RANLIB=$${RANLIB}" \
13479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13480 installcheck) \
13481 || exit 1
13483 @endif gnuserv
13485 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
13486 maybe-mostlyclean-gnuserv:
13487 @if gnuserv
13488 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
13490 mostlyclean-gnuserv:
13491 @: $(MAKE); $(unstage)
13492 @[ -f ./gnuserv/Makefile ] || exit 0; \
13493 r=`${PWD_COMMAND}`; export r; \
13494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13495 $(HOST_EXPORTS) \
13496 for flag in $(EXTRA_HOST_FLAGS) ; do \
13497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13498 done; \
13499 echo "Doing mostlyclean in gnuserv" ; \
13500 (cd $(HOST_SUBDIR)/gnuserv && \
13501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13503 "RANLIB=$${RANLIB}" \
13504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13505 mostlyclean) \
13506 || exit 1
13508 @endif gnuserv
13510 .PHONY: maybe-clean-gnuserv clean-gnuserv
13511 maybe-clean-gnuserv:
13512 @if gnuserv
13513 maybe-clean-gnuserv: clean-gnuserv
13515 clean-gnuserv:
13516 @: $(MAKE); $(unstage)
13517 @[ -f ./gnuserv/Makefile ] || exit 0; \
13518 r=`${PWD_COMMAND}`; export r; \
13519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13520 $(HOST_EXPORTS) \
13521 for flag in $(EXTRA_HOST_FLAGS) ; do \
13522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13523 done; \
13524 echo "Doing clean in gnuserv" ; \
13525 (cd $(HOST_SUBDIR)/gnuserv && \
13526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13528 "RANLIB=$${RANLIB}" \
13529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13530 clean) \
13531 || exit 1
13533 @endif gnuserv
13535 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
13536 maybe-distclean-gnuserv:
13537 @if gnuserv
13538 maybe-distclean-gnuserv: distclean-gnuserv
13540 distclean-gnuserv:
13541 @: $(MAKE); $(unstage)
13542 @[ -f ./gnuserv/Makefile ] || exit 0; \
13543 r=`${PWD_COMMAND}`; export r; \
13544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13545 $(HOST_EXPORTS) \
13546 for flag in $(EXTRA_HOST_FLAGS) ; do \
13547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13548 done; \
13549 echo "Doing distclean in gnuserv" ; \
13550 (cd $(HOST_SUBDIR)/gnuserv && \
13551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13553 "RANLIB=$${RANLIB}" \
13554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13555 distclean) \
13556 || exit 1
13558 @endif gnuserv
13560 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
13561 maybe-maintainer-clean-gnuserv:
13562 @if gnuserv
13563 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
13565 maintainer-clean-gnuserv:
13566 @: $(MAKE); $(unstage)
13567 @[ -f ./gnuserv/Makefile ] || exit 0; \
13568 r=`${PWD_COMMAND}`; export r; \
13569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13570 $(HOST_EXPORTS) \
13571 for flag in $(EXTRA_HOST_FLAGS) ; do \
13572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13573 done; \
13574 echo "Doing maintainer-clean in gnuserv" ; \
13575 (cd $(HOST_SUBDIR)/gnuserv && \
13576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13578 "RANLIB=$${RANLIB}" \
13579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13580 maintainer-clean) \
13581 || exit 1
13583 @endif gnuserv
13587 .PHONY: configure-gprof maybe-configure-gprof
13588 maybe-configure-gprof:
13589 @if gcc-bootstrap
13590 configure-gprof: stage_current
13591 @endif gcc-bootstrap
13592 @if gprof
13593 maybe-configure-gprof: configure-gprof
13594 configure-gprof:
13595 @: $(MAKE); $(unstage)
13596 @r=`${PWD_COMMAND}`; export r; \
13597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13598 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
13599 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
13600 $(HOST_EXPORTS) \
13601 echo Configuring in $(HOST_SUBDIR)/gprof; \
13602 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
13603 case $(srcdir) in \
13604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13605 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
13606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13607 esac; \
13608 srcdiroption="--srcdir=$${topdir}/gprof"; \
13609 libsrcdir="$$s/gprof"; \
13610 $(SHELL) $${libsrcdir}/configure \
13611 $(HOST_CONFIGARGS) $${srcdiroption} \
13612 || exit 1
13613 @endif gprof
13619 .PHONY: all-gprof maybe-all-gprof
13620 maybe-all-gprof:
13621 @if gcc-bootstrap
13622 all-gprof: stage_current
13623 @endif gcc-bootstrap
13624 @if gprof
13625 TARGET-gprof=all
13626 maybe-all-gprof: all-gprof
13627 all-gprof: configure-gprof
13628 @: $(MAKE); $(unstage)
13629 @r=`${PWD_COMMAND}`; export r; \
13630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13631 $(HOST_EXPORTS) \
13632 (cd $(HOST_SUBDIR)/gprof && \
13633 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
13634 @endif gprof
13639 .PHONY: check-gprof maybe-check-gprof
13640 maybe-check-gprof:
13641 @if gprof
13642 maybe-check-gprof: check-gprof
13644 check-gprof:
13645 @: $(MAKE); $(unstage)
13646 @r=`${PWD_COMMAND}`; export r; \
13647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13648 $(HOST_EXPORTS) \
13649 (cd $(HOST_SUBDIR)/gprof && \
13650 $(MAKE) $(FLAGS_TO_PASS) check)
13652 @endif gprof
13654 .PHONY: install-gprof maybe-install-gprof
13655 maybe-install-gprof:
13656 @if gprof
13657 maybe-install-gprof: install-gprof
13659 install-gprof: installdirs
13660 @: $(MAKE); $(unstage)
13661 @r=`${PWD_COMMAND}`; export r; \
13662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13663 $(HOST_EXPORTS) \
13664 (cd $(HOST_SUBDIR)/gprof && \
13665 $(MAKE) $(FLAGS_TO_PASS) install)
13667 @endif gprof
13669 # Other targets (info, dvi, etc.)
13671 .PHONY: maybe-info-gprof info-gprof
13672 maybe-info-gprof:
13673 @if gprof
13674 maybe-info-gprof: info-gprof
13676 info-gprof: \
13677 configure-gprof
13678 @: $(MAKE); $(unstage)
13679 @[ -f ./gprof/Makefile ] || exit 0; \
13680 r=`${PWD_COMMAND}`; export r; \
13681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13682 $(HOST_EXPORTS) \
13683 for flag in $(EXTRA_HOST_FLAGS) ; do \
13684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13685 done; \
13686 echo "Doing info in gprof" ; \
13687 (cd $(HOST_SUBDIR)/gprof && \
13688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13690 "RANLIB=$${RANLIB}" \
13691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13692 info) \
13693 || exit 1
13695 @endif gprof
13697 .PHONY: maybe-dvi-gprof dvi-gprof
13698 maybe-dvi-gprof:
13699 @if gprof
13700 maybe-dvi-gprof: dvi-gprof
13702 dvi-gprof: \
13703 configure-gprof
13704 @: $(MAKE); $(unstage)
13705 @[ -f ./gprof/Makefile ] || exit 0; \
13706 r=`${PWD_COMMAND}`; export r; \
13707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13708 $(HOST_EXPORTS) \
13709 for flag in $(EXTRA_HOST_FLAGS) ; do \
13710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13711 done; \
13712 echo "Doing dvi in gprof" ; \
13713 (cd $(HOST_SUBDIR)/gprof && \
13714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13716 "RANLIB=$${RANLIB}" \
13717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13718 dvi) \
13719 || exit 1
13721 @endif gprof
13723 .PHONY: maybe-html-gprof html-gprof
13724 maybe-html-gprof:
13725 @if gprof
13726 maybe-html-gprof: html-gprof
13728 html-gprof: \
13729 configure-gprof
13730 @: $(MAKE); $(unstage)
13731 @[ -f ./gprof/Makefile ] || exit 0; \
13732 r=`${PWD_COMMAND}`; export r; \
13733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13734 $(HOST_EXPORTS) \
13735 for flag in $(EXTRA_HOST_FLAGS) ; do \
13736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13737 done; \
13738 echo "Doing html in gprof" ; \
13739 (cd $(HOST_SUBDIR)/gprof && \
13740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13742 "RANLIB=$${RANLIB}" \
13743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13744 html) \
13745 || exit 1
13747 @endif gprof
13749 .PHONY: maybe-TAGS-gprof TAGS-gprof
13750 maybe-TAGS-gprof:
13751 @if gprof
13752 maybe-TAGS-gprof: TAGS-gprof
13754 TAGS-gprof: \
13755 configure-gprof
13756 @: $(MAKE); $(unstage)
13757 @[ -f ./gprof/Makefile ] || exit 0; \
13758 r=`${PWD_COMMAND}`; export r; \
13759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13760 $(HOST_EXPORTS) \
13761 for flag in $(EXTRA_HOST_FLAGS) ; do \
13762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13763 done; \
13764 echo "Doing TAGS in gprof" ; \
13765 (cd $(HOST_SUBDIR)/gprof && \
13766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13768 "RANLIB=$${RANLIB}" \
13769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13770 TAGS) \
13771 || exit 1
13773 @endif gprof
13775 .PHONY: maybe-install-info-gprof install-info-gprof
13776 maybe-install-info-gprof:
13777 @if gprof
13778 maybe-install-info-gprof: install-info-gprof
13780 install-info-gprof: \
13781 configure-gprof \
13782 info-gprof
13783 @: $(MAKE); $(unstage)
13784 @[ -f ./gprof/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 install-info in gprof" ; \
13792 (cd $(HOST_SUBDIR)/gprof && \
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 install-info) \
13798 || exit 1
13800 @endif gprof
13802 .PHONY: maybe-install-html-gprof install-html-gprof
13803 maybe-install-html-gprof:
13804 @if gprof
13805 maybe-install-html-gprof: install-html-gprof
13807 install-html-gprof: \
13808 configure-gprof \
13809 html-gprof
13810 @: $(MAKE); $(unstage)
13811 @[ -f ./gprof/Makefile ] || exit 0; \
13812 r=`${PWD_COMMAND}`; export r; \
13813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13814 $(HOST_EXPORTS) \
13815 for flag in $(EXTRA_HOST_FLAGS) ; do \
13816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13817 done; \
13818 echo "Doing install-html in gprof" ; \
13819 (cd $(HOST_SUBDIR)/gprof && \
13820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13822 "RANLIB=$${RANLIB}" \
13823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13824 install-html) \
13825 || exit 1
13827 @endif gprof
13829 .PHONY: maybe-installcheck-gprof installcheck-gprof
13830 maybe-installcheck-gprof:
13831 @if gprof
13832 maybe-installcheck-gprof: installcheck-gprof
13834 installcheck-gprof: \
13835 configure-gprof
13836 @: $(MAKE); $(unstage)
13837 @[ -f ./gprof/Makefile ] || exit 0; \
13838 r=`${PWD_COMMAND}`; export r; \
13839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13840 $(HOST_EXPORTS) \
13841 for flag in $(EXTRA_HOST_FLAGS) ; do \
13842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13843 done; \
13844 echo "Doing installcheck in gprof" ; \
13845 (cd $(HOST_SUBDIR)/gprof && \
13846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13848 "RANLIB=$${RANLIB}" \
13849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13850 installcheck) \
13851 || exit 1
13853 @endif gprof
13855 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
13856 maybe-mostlyclean-gprof:
13857 @if gprof
13858 maybe-mostlyclean-gprof: mostlyclean-gprof
13860 mostlyclean-gprof:
13861 @: $(MAKE); $(unstage)
13862 @[ -f ./gprof/Makefile ] || exit 0; \
13863 r=`${PWD_COMMAND}`; export r; \
13864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13865 $(HOST_EXPORTS) \
13866 for flag in $(EXTRA_HOST_FLAGS) ; do \
13867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13868 done; \
13869 echo "Doing mostlyclean in gprof" ; \
13870 (cd $(HOST_SUBDIR)/gprof && \
13871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13873 "RANLIB=$${RANLIB}" \
13874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13875 mostlyclean) \
13876 || exit 1
13878 @endif gprof
13880 .PHONY: maybe-clean-gprof clean-gprof
13881 maybe-clean-gprof:
13882 @if gprof
13883 maybe-clean-gprof: clean-gprof
13885 clean-gprof:
13886 @: $(MAKE); $(unstage)
13887 @[ -f ./gprof/Makefile ] || exit 0; \
13888 r=`${PWD_COMMAND}`; export r; \
13889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13890 $(HOST_EXPORTS) \
13891 for flag in $(EXTRA_HOST_FLAGS) ; do \
13892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13893 done; \
13894 echo "Doing clean in gprof" ; \
13895 (cd $(HOST_SUBDIR)/gprof && \
13896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13898 "RANLIB=$${RANLIB}" \
13899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13900 clean) \
13901 || exit 1
13903 @endif gprof
13905 .PHONY: maybe-distclean-gprof distclean-gprof
13906 maybe-distclean-gprof:
13907 @if gprof
13908 maybe-distclean-gprof: distclean-gprof
13910 distclean-gprof:
13911 @: $(MAKE); $(unstage)
13912 @[ -f ./gprof/Makefile ] || exit 0; \
13913 r=`${PWD_COMMAND}`; export r; \
13914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13915 $(HOST_EXPORTS) \
13916 for flag in $(EXTRA_HOST_FLAGS) ; do \
13917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13918 done; \
13919 echo "Doing distclean in gprof" ; \
13920 (cd $(HOST_SUBDIR)/gprof && \
13921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13923 "RANLIB=$${RANLIB}" \
13924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13925 distclean) \
13926 || exit 1
13928 @endif gprof
13930 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
13931 maybe-maintainer-clean-gprof:
13932 @if gprof
13933 maybe-maintainer-clean-gprof: maintainer-clean-gprof
13935 maintainer-clean-gprof:
13936 @: $(MAKE); $(unstage)
13937 @[ -f ./gprof/Makefile ] || exit 0; \
13938 r=`${PWD_COMMAND}`; export r; \
13939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13940 $(HOST_EXPORTS) \
13941 for flag in $(EXTRA_HOST_FLAGS) ; do \
13942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13943 done; \
13944 echo "Doing maintainer-clean in gprof" ; \
13945 (cd $(HOST_SUBDIR)/gprof && \
13946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13948 "RANLIB=$${RANLIB}" \
13949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13950 maintainer-clean) \
13951 || exit 1
13953 @endif gprof
13957 .PHONY: configure-gzip maybe-configure-gzip
13958 maybe-configure-gzip:
13959 @if gcc-bootstrap
13960 configure-gzip: stage_current
13961 @endif gcc-bootstrap
13962 @if gzip
13963 maybe-configure-gzip: configure-gzip
13964 configure-gzip:
13965 @: $(MAKE); $(unstage)
13966 @r=`${PWD_COMMAND}`; export r; \
13967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13968 test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
13969 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
13970 $(HOST_EXPORTS) \
13971 echo Configuring in $(HOST_SUBDIR)/gzip; \
13972 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
13973 case $(srcdir) in \
13974 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13975 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
13976 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13977 esac; \
13978 srcdiroption="--srcdir=$${topdir}/gzip"; \
13979 libsrcdir="$$s/gzip"; \
13980 $(SHELL) $${libsrcdir}/configure \
13981 $(HOST_CONFIGARGS) $${srcdiroption} \
13982 || exit 1
13983 @endif gzip
13989 .PHONY: all-gzip maybe-all-gzip
13990 maybe-all-gzip:
13991 @if gcc-bootstrap
13992 all-gzip: stage_current
13993 @endif gcc-bootstrap
13994 @if gzip
13995 TARGET-gzip=all
13996 maybe-all-gzip: all-gzip
13997 all-gzip: configure-gzip
13998 @: $(MAKE); $(unstage)
13999 @r=`${PWD_COMMAND}`; export r; \
14000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14001 $(HOST_EXPORTS) \
14002 (cd $(HOST_SUBDIR)/gzip && \
14003 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
14004 @endif gzip
14009 .PHONY: check-gzip maybe-check-gzip
14010 maybe-check-gzip:
14011 @if gzip
14012 maybe-check-gzip: check-gzip
14014 check-gzip:
14015 @: $(MAKE); $(unstage)
14016 @r=`${PWD_COMMAND}`; export r; \
14017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14018 $(HOST_EXPORTS) \
14019 (cd $(HOST_SUBDIR)/gzip && \
14020 $(MAKE) $(FLAGS_TO_PASS) check)
14022 @endif gzip
14024 .PHONY: install-gzip maybe-install-gzip
14025 maybe-install-gzip:
14026 @if gzip
14027 maybe-install-gzip: install-gzip
14029 install-gzip: installdirs
14030 @: $(MAKE); $(unstage)
14031 @r=`${PWD_COMMAND}`; export r; \
14032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14033 $(HOST_EXPORTS) \
14034 (cd $(HOST_SUBDIR)/gzip && \
14035 $(MAKE) $(FLAGS_TO_PASS) install)
14037 @endif gzip
14039 # Other targets (info, dvi, etc.)
14041 .PHONY: maybe-info-gzip info-gzip
14042 maybe-info-gzip:
14043 @if gzip
14044 maybe-info-gzip: info-gzip
14046 info-gzip: \
14047 configure-gzip
14048 @: $(MAKE); $(unstage)
14049 @[ -f ./gzip/Makefile ] || exit 0; \
14050 r=`${PWD_COMMAND}`; export r; \
14051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14052 $(HOST_EXPORTS) \
14053 for flag in $(EXTRA_HOST_FLAGS) ; do \
14054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14055 done; \
14056 echo "Doing info in gzip" ; \
14057 (cd $(HOST_SUBDIR)/gzip && \
14058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14060 "RANLIB=$${RANLIB}" \
14061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14062 info) \
14063 || exit 1
14065 @endif gzip
14067 .PHONY: maybe-dvi-gzip dvi-gzip
14068 maybe-dvi-gzip:
14069 @if gzip
14070 maybe-dvi-gzip: dvi-gzip
14072 dvi-gzip: \
14073 configure-gzip
14074 @: $(MAKE); $(unstage)
14075 @[ -f ./gzip/Makefile ] || exit 0; \
14076 r=`${PWD_COMMAND}`; export r; \
14077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14078 $(HOST_EXPORTS) \
14079 for flag in $(EXTRA_HOST_FLAGS) ; do \
14080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14081 done; \
14082 echo "Doing dvi in gzip" ; \
14083 (cd $(HOST_SUBDIR)/gzip && \
14084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14086 "RANLIB=$${RANLIB}" \
14087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14088 dvi) \
14089 || exit 1
14091 @endif gzip
14093 .PHONY: maybe-html-gzip html-gzip
14094 maybe-html-gzip:
14095 @if gzip
14096 maybe-html-gzip: html-gzip
14098 html-gzip: \
14099 configure-gzip
14100 @: $(MAKE); $(unstage)
14101 @[ -f ./gzip/Makefile ] || exit 0; \
14102 r=`${PWD_COMMAND}`; export r; \
14103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14104 $(HOST_EXPORTS) \
14105 for flag in $(EXTRA_HOST_FLAGS) ; do \
14106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14107 done; \
14108 echo "Doing html in gzip" ; \
14109 (cd $(HOST_SUBDIR)/gzip && \
14110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14112 "RANLIB=$${RANLIB}" \
14113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14114 html) \
14115 || exit 1
14117 @endif gzip
14119 .PHONY: maybe-TAGS-gzip TAGS-gzip
14120 maybe-TAGS-gzip:
14121 @if gzip
14122 maybe-TAGS-gzip: TAGS-gzip
14124 TAGS-gzip: \
14125 configure-gzip
14126 @: $(MAKE); $(unstage)
14127 @[ -f ./gzip/Makefile ] || exit 0; \
14128 r=`${PWD_COMMAND}`; export r; \
14129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14130 $(HOST_EXPORTS) \
14131 for flag in $(EXTRA_HOST_FLAGS) ; do \
14132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14133 done; \
14134 echo "Doing TAGS in gzip" ; \
14135 (cd $(HOST_SUBDIR)/gzip && \
14136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14138 "RANLIB=$${RANLIB}" \
14139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14140 TAGS) \
14141 || exit 1
14143 @endif gzip
14145 .PHONY: maybe-install-info-gzip install-info-gzip
14146 maybe-install-info-gzip:
14147 @if gzip
14148 maybe-install-info-gzip: install-info-gzip
14150 install-info-gzip: \
14151 configure-gzip \
14152 info-gzip
14153 @: $(MAKE); $(unstage)
14154 @[ -f ./gzip/Makefile ] || exit 0; \
14155 r=`${PWD_COMMAND}`; export r; \
14156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14157 $(HOST_EXPORTS) \
14158 for flag in $(EXTRA_HOST_FLAGS) ; do \
14159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14160 done; \
14161 echo "Doing install-info in gzip" ; \
14162 (cd $(HOST_SUBDIR)/gzip && \
14163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14165 "RANLIB=$${RANLIB}" \
14166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14167 install-info) \
14168 || exit 1
14170 @endif gzip
14172 .PHONY: maybe-install-html-gzip install-html-gzip
14173 maybe-install-html-gzip:
14174 @if gzip
14175 maybe-install-html-gzip: install-html-gzip
14177 install-html-gzip: \
14178 configure-gzip \
14179 html-gzip
14180 @: $(MAKE); $(unstage)
14181 @[ -f ./gzip/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 install-html in gzip" ; \
14189 (cd $(HOST_SUBDIR)/gzip && \
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 install-html) \
14195 || exit 1
14197 @endif gzip
14199 .PHONY: maybe-installcheck-gzip installcheck-gzip
14200 maybe-installcheck-gzip:
14201 @if gzip
14202 maybe-installcheck-gzip: installcheck-gzip
14204 installcheck-gzip: \
14205 configure-gzip
14206 @: $(MAKE); $(unstage)
14207 @[ -f ./gzip/Makefile ] || exit 0; \
14208 r=`${PWD_COMMAND}`; export r; \
14209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14210 $(HOST_EXPORTS) \
14211 for flag in $(EXTRA_HOST_FLAGS) ; do \
14212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14213 done; \
14214 echo "Doing installcheck in gzip" ; \
14215 (cd $(HOST_SUBDIR)/gzip && \
14216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14218 "RANLIB=$${RANLIB}" \
14219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14220 installcheck) \
14221 || exit 1
14223 @endif gzip
14225 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
14226 maybe-mostlyclean-gzip:
14227 @if gzip
14228 maybe-mostlyclean-gzip: mostlyclean-gzip
14230 mostlyclean-gzip:
14231 @: $(MAKE); $(unstage)
14232 @[ -f ./gzip/Makefile ] || exit 0; \
14233 r=`${PWD_COMMAND}`; export r; \
14234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14235 $(HOST_EXPORTS) \
14236 for flag in $(EXTRA_HOST_FLAGS) ; do \
14237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14238 done; \
14239 echo "Doing mostlyclean in gzip" ; \
14240 (cd $(HOST_SUBDIR)/gzip && \
14241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14243 "RANLIB=$${RANLIB}" \
14244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14245 mostlyclean) \
14246 || exit 1
14248 @endif gzip
14250 .PHONY: maybe-clean-gzip clean-gzip
14251 maybe-clean-gzip:
14252 @if gzip
14253 maybe-clean-gzip: clean-gzip
14255 clean-gzip:
14256 @: $(MAKE); $(unstage)
14257 @[ -f ./gzip/Makefile ] || exit 0; \
14258 r=`${PWD_COMMAND}`; export r; \
14259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14260 $(HOST_EXPORTS) \
14261 for flag in $(EXTRA_HOST_FLAGS) ; do \
14262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14263 done; \
14264 echo "Doing clean in gzip" ; \
14265 (cd $(HOST_SUBDIR)/gzip && \
14266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14268 "RANLIB=$${RANLIB}" \
14269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14270 clean) \
14271 || exit 1
14273 @endif gzip
14275 .PHONY: maybe-distclean-gzip distclean-gzip
14276 maybe-distclean-gzip:
14277 @if gzip
14278 maybe-distclean-gzip: distclean-gzip
14280 distclean-gzip:
14281 @: $(MAKE); $(unstage)
14282 @[ -f ./gzip/Makefile ] || exit 0; \
14283 r=`${PWD_COMMAND}`; export r; \
14284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14285 $(HOST_EXPORTS) \
14286 for flag in $(EXTRA_HOST_FLAGS) ; do \
14287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14288 done; \
14289 echo "Doing distclean in gzip" ; \
14290 (cd $(HOST_SUBDIR)/gzip && \
14291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14293 "RANLIB=$${RANLIB}" \
14294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14295 distclean) \
14296 || exit 1
14298 @endif gzip
14300 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
14301 maybe-maintainer-clean-gzip:
14302 @if gzip
14303 maybe-maintainer-clean-gzip: maintainer-clean-gzip
14305 maintainer-clean-gzip:
14306 @: $(MAKE); $(unstage)
14307 @[ -f ./gzip/Makefile ] || exit 0; \
14308 r=`${PWD_COMMAND}`; export r; \
14309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14310 $(HOST_EXPORTS) \
14311 for flag in $(EXTRA_HOST_FLAGS) ; do \
14312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14313 done; \
14314 echo "Doing maintainer-clean in gzip" ; \
14315 (cd $(HOST_SUBDIR)/gzip && \
14316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14318 "RANLIB=$${RANLIB}" \
14319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14320 maintainer-clean) \
14321 || exit 1
14323 @endif gzip
14327 .PHONY: configure-hello maybe-configure-hello
14328 maybe-configure-hello:
14329 @if gcc-bootstrap
14330 configure-hello: stage_current
14331 @endif gcc-bootstrap
14332 @if hello
14333 maybe-configure-hello: configure-hello
14334 configure-hello:
14335 @: $(MAKE); $(unstage)
14336 @r=`${PWD_COMMAND}`; export r; \
14337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14338 test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
14339 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
14340 $(HOST_EXPORTS) \
14341 echo Configuring in $(HOST_SUBDIR)/hello; \
14342 cd "$(HOST_SUBDIR)/hello" || exit 1; \
14343 case $(srcdir) in \
14344 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14345 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
14346 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14347 esac; \
14348 srcdiroption="--srcdir=$${topdir}/hello"; \
14349 libsrcdir="$$s/hello"; \
14350 $(SHELL) $${libsrcdir}/configure \
14351 $(HOST_CONFIGARGS) $${srcdiroption} \
14352 || exit 1
14353 @endif hello
14359 .PHONY: all-hello maybe-all-hello
14360 maybe-all-hello:
14361 @if gcc-bootstrap
14362 all-hello: stage_current
14363 @endif gcc-bootstrap
14364 @if hello
14365 TARGET-hello=all
14366 maybe-all-hello: all-hello
14367 all-hello: configure-hello
14368 @: $(MAKE); $(unstage)
14369 @r=`${PWD_COMMAND}`; export r; \
14370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14371 $(HOST_EXPORTS) \
14372 (cd $(HOST_SUBDIR)/hello && \
14373 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
14374 @endif hello
14379 .PHONY: check-hello maybe-check-hello
14380 maybe-check-hello:
14381 @if hello
14382 maybe-check-hello: check-hello
14384 check-hello:
14385 @: $(MAKE); $(unstage)
14386 @r=`${PWD_COMMAND}`; export r; \
14387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14388 $(HOST_EXPORTS) \
14389 (cd $(HOST_SUBDIR)/hello && \
14390 $(MAKE) $(FLAGS_TO_PASS) check)
14392 @endif hello
14394 .PHONY: install-hello maybe-install-hello
14395 maybe-install-hello:
14396 @if hello
14397 maybe-install-hello: install-hello
14399 install-hello: installdirs
14400 @: $(MAKE); $(unstage)
14401 @r=`${PWD_COMMAND}`; export r; \
14402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14403 $(HOST_EXPORTS) \
14404 (cd $(HOST_SUBDIR)/hello && \
14405 $(MAKE) $(FLAGS_TO_PASS) install)
14407 @endif hello
14409 # Other targets (info, dvi, etc.)
14411 .PHONY: maybe-info-hello info-hello
14412 maybe-info-hello:
14413 @if hello
14414 maybe-info-hello: info-hello
14416 info-hello: \
14417 configure-hello
14418 @: $(MAKE); $(unstage)
14419 @[ -f ./hello/Makefile ] || exit 0; \
14420 r=`${PWD_COMMAND}`; export r; \
14421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14422 $(HOST_EXPORTS) \
14423 for flag in $(EXTRA_HOST_FLAGS) ; do \
14424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14425 done; \
14426 echo "Doing info in hello" ; \
14427 (cd $(HOST_SUBDIR)/hello && \
14428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14430 "RANLIB=$${RANLIB}" \
14431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14432 info) \
14433 || exit 1
14435 @endif hello
14437 .PHONY: maybe-dvi-hello dvi-hello
14438 maybe-dvi-hello:
14439 @if hello
14440 maybe-dvi-hello: dvi-hello
14442 dvi-hello: \
14443 configure-hello
14444 @: $(MAKE); $(unstage)
14445 @[ -f ./hello/Makefile ] || exit 0; \
14446 r=`${PWD_COMMAND}`; export r; \
14447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14448 $(HOST_EXPORTS) \
14449 for flag in $(EXTRA_HOST_FLAGS) ; do \
14450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14451 done; \
14452 echo "Doing dvi in hello" ; \
14453 (cd $(HOST_SUBDIR)/hello && \
14454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14456 "RANLIB=$${RANLIB}" \
14457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14458 dvi) \
14459 || exit 1
14461 @endif hello
14463 .PHONY: maybe-html-hello html-hello
14464 maybe-html-hello:
14465 @if hello
14466 maybe-html-hello: html-hello
14468 html-hello: \
14469 configure-hello
14470 @: $(MAKE); $(unstage)
14471 @[ -f ./hello/Makefile ] || exit 0; \
14472 r=`${PWD_COMMAND}`; export r; \
14473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14474 $(HOST_EXPORTS) \
14475 for flag in $(EXTRA_HOST_FLAGS) ; do \
14476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14477 done; \
14478 echo "Doing html in hello" ; \
14479 (cd $(HOST_SUBDIR)/hello && \
14480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14482 "RANLIB=$${RANLIB}" \
14483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14484 html) \
14485 || exit 1
14487 @endif hello
14489 .PHONY: maybe-TAGS-hello TAGS-hello
14490 maybe-TAGS-hello:
14491 @if hello
14492 maybe-TAGS-hello: TAGS-hello
14494 TAGS-hello: \
14495 configure-hello
14496 @: $(MAKE); $(unstage)
14497 @[ -f ./hello/Makefile ] || exit 0; \
14498 r=`${PWD_COMMAND}`; export r; \
14499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14500 $(HOST_EXPORTS) \
14501 for flag in $(EXTRA_HOST_FLAGS) ; do \
14502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14503 done; \
14504 echo "Doing TAGS in hello" ; \
14505 (cd $(HOST_SUBDIR)/hello && \
14506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14508 "RANLIB=$${RANLIB}" \
14509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14510 TAGS) \
14511 || exit 1
14513 @endif hello
14515 .PHONY: maybe-install-info-hello install-info-hello
14516 maybe-install-info-hello:
14517 @if hello
14518 maybe-install-info-hello: install-info-hello
14520 install-info-hello: \
14521 configure-hello \
14522 info-hello
14523 @: $(MAKE); $(unstage)
14524 @[ -f ./hello/Makefile ] || exit 0; \
14525 r=`${PWD_COMMAND}`; export r; \
14526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14527 $(HOST_EXPORTS) \
14528 for flag in $(EXTRA_HOST_FLAGS) ; do \
14529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14530 done; \
14531 echo "Doing install-info in hello" ; \
14532 (cd $(HOST_SUBDIR)/hello && \
14533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14535 "RANLIB=$${RANLIB}" \
14536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14537 install-info) \
14538 || exit 1
14540 @endif hello
14542 .PHONY: maybe-install-html-hello install-html-hello
14543 maybe-install-html-hello:
14544 @if hello
14545 maybe-install-html-hello: install-html-hello
14547 install-html-hello: \
14548 configure-hello \
14549 html-hello
14550 @: $(MAKE); $(unstage)
14551 @[ -f ./hello/Makefile ] || exit 0; \
14552 r=`${PWD_COMMAND}`; export r; \
14553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14554 $(HOST_EXPORTS) \
14555 for flag in $(EXTRA_HOST_FLAGS) ; do \
14556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14557 done; \
14558 echo "Doing install-html in hello" ; \
14559 (cd $(HOST_SUBDIR)/hello && \
14560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14562 "RANLIB=$${RANLIB}" \
14563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14564 install-html) \
14565 || exit 1
14567 @endif hello
14569 .PHONY: maybe-installcheck-hello installcheck-hello
14570 maybe-installcheck-hello:
14571 @if hello
14572 maybe-installcheck-hello: installcheck-hello
14574 installcheck-hello: \
14575 configure-hello
14576 @: $(MAKE); $(unstage)
14577 @[ -f ./hello/Makefile ] || exit 0; \
14578 r=`${PWD_COMMAND}`; export r; \
14579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14580 $(HOST_EXPORTS) \
14581 for flag in $(EXTRA_HOST_FLAGS) ; do \
14582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14583 done; \
14584 echo "Doing installcheck in hello" ; \
14585 (cd $(HOST_SUBDIR)/hello && \
14586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14588 "RANLIB=$${RANLIB}" \
14589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14590 installcheck) \
14591 || exit 1
14593 @endif hello
14595 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
14596 maybe-mostlyclean-hello:
14597 @if hello
14598 maybe-mostlyclean-hello: mostlyclean-hello
14600 mostlyclean-hello:
14601 @: $(MAKE); $(unstage)
14602 @[ -f ./hello/Makefile ] || exit 0; \
14603 r=`${PWD_COMMAND}`; export r; \
14604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14605 $(HOST_EXPORTS) \
14606 for flag in $(EXTRA_HOST_FLAGS) ; do \
14607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14608 done; \
14609 echo "Doing mostlyclean in hello" ; \
14610 (cd $(HOST_SUBDIR)/hello && \
14611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14613 "RANLIB=$${RANLIB}" \
14614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14615 mostlyclean) \
14616 || exit 1
14618 @endif hello
14620 .PHONY: maybe-clean-hello clean-hello
14621 maybe-clean-hello:
14622 @if hello
14623 maybe-clean-hello: clean-hello
14625 clean-hello:
14626 @: $(MAKE); $(unstage)
14627 @[ -f ./hello/Makefile ] || exit 0; \
14628 r=`${PWD_COMMAND}`; export r; \
14629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14630 $(HOST_EXPORTS) \
14631 for flag in $(EXTRA_HOST_FLAGS) ; do \
14632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14633 done; \
14634 echo "Doing clean in hello" ; \
14635 (cd $(HOST_SUBDIR)/hello && \
14636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14638 "RANLIB=$${RANLIB}" \
14639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14640 clean) \
14641 || exit 1
14643 @endif hello
14645 .PHONY: maybe-distclean-hello distclean-hello
14646 maybe-distclean-hello:
14647 @if hello
14648 maybe-distclean-hello: distclean-hello
14650 distclean-hello:
14651 @: $(MAKE); $(unstage)
14652 @[ -f ./hello/Makefile ] || exit 0; \
14653 r=`${PWD_COMMAND}`; export r; \
14654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14655 $(HOST_EXPORTS) \
14656 for flag in $(EXTRA_HOST_FLAGS) ; do \
14657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14658 done; \
14659 echo "Doing distclean in hello" ; \
14660 (cd $(HOST_SUBDIR)/hello && \
14661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14663 "RANLIB=$${RANLIB}" \
14664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14665 distclean) \
14666 || exit 1
14668 @endif hello
14670 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
14671 maybe-maintainer-clean-hello:
14672 @if hello
14673 maybe-maintainer-clean-hello: maintainer-clean-hello
14675 maintainer-clean-hello:
14676 @: $(MAKE); $(unstage)
14677 @[ -f ./hello/Makefile ] || exit 0; \
14678 r=`${PWD_COMMAND}`; export r; \
14679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14680 $(HOST_EXPORTS) \
14681 for flag in $(EXTRA_HOST_FLAGS) ; do \
14682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14683 done; \
14684 echo "Doing maintainer-clean in hello" ; \
14685 (cd $(HOST_SUBDIR)/hello && \
14686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14688 "RANLIB=$${RANLIB}" \
14689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14690 maintainer-clean) \
14691 || exit 1
14693 @endif hello
14697 .PHONY: configure-indent maybe-configure-indent
14698 maybe-configure-indent:
14699 @if gcc-bootstrap
14700 configure-indent: stage_current
14701 @endif gcc-bootstrap
14702 @if indent
14703 maybe-configure-indent: configure-indent
14704 configure-indent:
14705 @: $(MAKE); $(unstage)
14706 @r=`${PWD_COMMAND}`; export r; \
14707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14708 test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
14709 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
14710 $(HOST_EXPORTS) \
14711 echo Configuring in $(HOST_SUBDIR)/indent; \
14712 cd "$(HOST_SUBDIR)/indent" || exit 1; \
14713 case $(srcdir) in \
14714 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14715 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
14716 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14717 esac; \
14718 srcdiroption="--srcdir=$${topdir}/indent"; \
14719 libsrcdir="$$s/indent"; \
14720 $(SHELL) $${libsrcdir}/configure \
14721 $(HOST_CONFIGARGS) $${srcdiroption} \
14722 || exit 1
14723 @endif indent
14729 .PHONY: all-indent maybe-all-indent
14730 maybe-all-indent:
14731 @if gcc-bootstrap
14732 all-indent: stage_current
14733 @endif gcc-bootstrap
14734 @if indent
14735 TARGET-indent=all
14736 maybe-all-indent: all-indent
14737 all-indent: configure-indent
14738 @: $(MAKE); $(unstage)
14739 @r=`${PWD_COMMAND}`; export r; \
14740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14741 $(HOST_EXPORTS) \
14742 (cd $(HOST_SUBDIR)/indent && \
14743 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
14744 @endif indent
14749 .PHONY: check-indent maybe-check-indent
14750 maybe-check-indent:
14751 @if indent
14752 maybe-check-indent: check-indent
14754 check-indent:
14755 @: $(MAKE); $(unstage)
14756 @r=`${PWD_COMMAND}`; export r; \
14757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14758 $(HOST_EXPORTS) \
14759 (cd $(HOST_SUBDIR)/indent && \
14760 $(MAKE) $(FLAGS_TO_PASS) check)
14762 @endif indent
14764 .PHONY: install-indent maybe-install-indent
14765 maybe-install-indent:
14766 @if indent
14767 maybe-install-indent: install-indent
14769 install-indent: installdirs
14770 @: $(MAKE); $(unstage)
14771 @r=`${PWD_COMMAND}`; export r; \
14772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14773 $(HOST_EXPORTS) \
14774 (cd $(HOST_SUBDIR)/indent && \
14775 $(MAKE) $(FLAGS_TO_PASS) install)
14777 @endif indent
14779 # Other targets (info, dvi, etc.)
14781 .PHONY: maybe-info-indent info-indent
14782 maybe-info-indent:
14783 @if indent
14784 maybe-info-indent: info-indent
14786 info-indent: \
14787 configure-indent
14788 @: $(MAKE); $(unstage)
14789 @[ -f ./indent/Makefile ] || exit 0; \
14790 r=`${PWD_COMMAND}`; export r; \
14791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14792 $(HOST_EXPORTS) \
14793 for flag in $(EXTRA_HOST_FLAGS) ; do \
14794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14795 done; \
14796 echo "Doing info in indent" ; \
14797 (cd $(HOST_SUBDIR)/indent && \
14798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14800 "RANLIB=$${RANLIB}" \
14801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14802 info) \
14803 || exit 1
14805 @endif indent
14807 .PHONY: maybe-dvi-indent dvi-indent
14808 maybe-dvi-indent:
14809 @if indent
14810 maybe-dvi-indent: dvi-indent
14812 dvi-indent: \
14813 configure-indent
14814 @: $(MAKE); $(unstage)
14815 @[ -f ./indent/Makefile ] || exit 0; \
14816 r=`${PWD_COMMAND}`; export r; \
14817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14818 $(HOST_EXPORTS) \
14819 for flag in $(EXTRA_HOST_FLAGS) ; do \
14820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14821 done; \
14822 echo "Doing dvi in indent" ; \
14823 (cd $(HOST_SUBDIR)/indent && \
14824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14826 "RANLIB=$${RANLIB}" \
14827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14828 dvi) \
14829 || exit 1
14831 @endif indent
14833 .PHONY: maybe-html-indent html-indent
14834 maybe-html-indent:
14835 @if indent
14836 maybe-html-indent: html-indent
14838 html-indent: \
14839 configure-indent
14840 @: $(MAKE); $(unstage)
14841 @[ -f ./indent/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 html in indent" ; \
14849 (cd $(HOST_SUBDIR)/indent && \
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 html) \
14855 || exit 1
14857 @endif indent
14859 .PHONY: maybe-TAGS-indent TAGS-indent
14860 maybe-TAGS-indent:
14861 @if indent
14862 maybe-TAGS-indent: TAGS-indent
14864 TAGS-indent: \
14865 configure-indent
14866 @: $(MAKE); $(unstage)
14867 @[ -f ./indent/Makefile ] || exit 0; \
14868 r=`${PWD_COMMAND}`; export r; \
14869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14870 $(HOST_EXPORTS) \
14871 for flag in $(EXTRA_HOST_FLAGS) ; do \
14872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14873 done; \
14874 echo "Doing TAGS in indent" ; \
14875 (cd $(HOST_SUBDIR)/indent && \
14876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14878 "RANLIB=$${RANLIB}" \
14879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14880 TAGS) \
14881 || exit 1
14883 @endif indent
14885 .PHONY: maybe-install-info-indent install-info-indent
14886 maybe-install-info-indent:
14887 @if indent
14888 maybe-install-info-indent: install-info-indent
14890 install-info-indent: \
14891 configure-indent \
14892 info-indent
14893 @: $(MAKE); $(unstage)
14894 @[ -f ./indent/Makefile ] || exit 0; \
14895 r=`${PWD_COMMAND}`; export r; \
14896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14897 $(HOST_EXPORTS) \
14898 for flag in $(EXTRA_HOST_FLAGS) ; do \
14899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14900 done; \
14901 echo "Doing install-info in indent" ; \
14902 (cd $(HOST_SUBDIR)/indent && \
14903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14905 "RANLIB=$${RANLIB}" \
14906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14907 install-info) \
14908 || exit 1
14910 @endif indent
14912 .PHONY: maybe-install-html-indent install-html-indent
14913 maybe-install-html-indent:
14914 @if indent
14915 maybe-install-html-indent: install-html-indent
14917 install-html-indent: \
14918 configure-indent \
14919 html-indent
14920 @: $(MAKE); $(unstage)
14921 @[ -f ./indent/Makefile ] || exit 0; \
14922 r=`${PWD_COMMAND}`; export r; \
14923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14924 $(HOST_EXPORTS) \
14925 for flag in $(EXTRA_HOST_FLAGS) ; do \
14926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14927 done; \
14928 echo "Doing install-html in indent" ; \
14929 (cd $(HOST_SUBDIR)/indent && \
14930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14932 "RANLIB=$${RANLIB}" \
14933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14934 install-html) \
14935 || exit 1
14937 @endif indent
14939 .PHONY: maybe-installcheck-indent installcheck-indent
14940 maybe-installcheck-indent:
14941 @if indent
14942 maybe-installcheck-indent: installcheck-indent
14944 installcheck-indent: \
14945 configure-indent
14946 @: $(MAKE); $(unstage)
14947 @[ -f ./indent/Makefile ] || exit 0; \
14948 r=`${PWD_COMMAND}`; export r; \
14949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14950 $(HOST_EXPORTS) \
14951 for flag in $(EXTRA_HOST_FLAGS) ; do \
14952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14953 done; \
14954 echo "Doing installcheck in indent" ; \
14955 (cd $(HOST_SUBDIR)/indent && \
14956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14958 "RANLIB=$${RANLIB}" \
14959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14960 installcheck) \
14961 || exit 1
14963 @endif indent
14965 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
14966 maybe-mostlyclean-indent:
14967 @if indent
14968 maybe-mostlyclean-indent: mostlyclean-indent
14970 mostlyclean-indent:
14971 @: $(MAKE); $(unstage)
14972 @[ -f ./indent/Makefile ] || exit 0; \
14973 r=`${PWD_COMMAND}`; export r; \
14974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14975 $(HOST_EXPORTS) \
14976 for flag in $(EXTRA_HOST_FLAGS) ; do \
14977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14978 done; \
14979 echo "Doing mostlyclean in indent" ; \
14980 (cd $(HOST_SUBDIR)/indent && \
14981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14983 "RANLIB=$${RANLIB}" \
14984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14985 mostlyclean) \
14986 || exit 1
14988 @endif indent
14990 .PHONY: maybe-clean-indent clean-indent
14991 maybe-clean-indent:
14992 @if indent
14993 maybe-clean-indent: clean-indent
14995 clean-indent:
14996 @: $(MAKE); $(unstage)
14997 @[ -f ./indent/Makefile ] || exit 0; \
14998 r=`${PWD_COMMAND}`; export r; \
14999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15000 $(HOST_EXPORTS) \
15001 for flag in $(EXTRA_HOST_FLAGS) ; do \
15002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15003 done; \
15004 echo "Doing clean in indent" ; \
15005 (cd $(HOST_SUBDIR)/indent && \
15006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15008 "RANLIB=$${RANLIB}" \
15009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15010 clean) \
15011 || exit 1
15013 @endif indent
15015 .PHONY: maybe-distclean-indent distclean-indent
15016 maybe-distclean-indent:
15017 @if indent
15018 maybe-distclean-indent: distclean-indent
15020 distclean-indent:
15021 @: $(MAKE); $(unstage)
15022 @[ -f ./indent/Makefile ] || exit 0; \
15023 r=`${PWD_COMMAND}`; export r; \
15024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15025 $(HOST_EXPORTS) \
15026 for flag in $(EXTRA_HOST_FLAGS) ; do \
15027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15028 done; \
15029 echo "Doing distclean in indent" ; \
15030 (cd $(HOST_SUBDIR)/indent && \
15031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15033 "RANLIB=$${RANLIB}" \
15034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15035 distclean) \
15036 || exit 1
15038 @endif indent
15040 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
15041 maybe-maintainer-clean-indent:
15042 @if indent
15043 maybe-maintainer-clean-indent: maintainer-clean-indent
15045 maintainer-clean-indent:
15046 @: $(MAKE); $(unstage)
15047 @[ -f ./indent/Makefile ] || exit 0; \
15048 r=`${PWD_COMMAND}`; export r; \
15049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15050 $(HOST_EXPORTS) \
15051 for flag in $(EXTRA_HOST_FLAGS) ; do \
15052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15053 done; \
15054 echo "Doing maintainer-clean in indent" ; \
15055 (cd $(HOST_SUBDIR)/indent && \
15056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15058 "RANLIB=$${RANLIB}" \
15059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15060 maintainer-clean) \
15061 || exit 1
15063 @endif indent
15067 .PHONY: configure-intl maybe-configure-intl
15068 maybe-configure-intl:
15069 @if gcc-bootstrap
15070 configure-intl: stage_current
15071 @endif gcc-bootstrap
15072 @if intl
15073 maybe-configure-intl: configure-intl
15074 configure-intl:
15075 @r=`${PWD_COMMAND}`; export r; \
15076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15077 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15078 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15079 $(HOST_EXPORTS) \
15080 echo Configuring in $(HOST_SUBDIR)/intl; \
15081 cd "$(HOST_SUBDIR)/intl" || exit 1; \
15082 case $(srcdir) in \
15083 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15084 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15085 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15086 esac; \
15087 srcdiroption="--srcdir=$${topdir}/intl"; \
15088 libsrcdir="$$s/intl"; \
15089 $(SHELL) $${libsrcdir}/configure \
15090 $(HOST_CONFIGARGS) $${srcdiroption} \
15091 || exit 1
15092 @endif intl
15096 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
15097 maybe-configure-stage1-intl:
15098 @if intl-bootstrap
15099 maybe-configure-stage1-intl: configure-stage1-intl
15100 configure-stage1-intl:
15101 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15102 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
15103 @r=`${PWD_COMMAND}`; export r; \
15104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15105 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15106 $(HOST_EXPORTS) \
15107 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
15108 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15109 cd $(HOST_SUBDIR)/intl || exit 1; \
15110 case $(srcdir) in \
15111 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15112 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15113 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15114 esac; \
15115 srcdiroption="--srcdir=$${topdir}/intl"; \
15116 libsrcdir="$$s/intl"; \
15117 $(SHELL) $${libsrcdir}/configure \
15118 $(HOST_CONFIGARGS) $${srcdiroption} \
15119 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15120 @endif intl-bootstrap
15122 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
15123 maybe-configure-stage2-intl:
15124 @if intl-bootstrap
15125 maybe-configure-stage2-intl: configure-stage2-intl
15126 configure-stage2-intl:
15127 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15128 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
15129 @r=`${PWD_COMMAND}`; export r; \
15130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15131 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15132 $(HOST_EXPORTS) \
15133 $(POSTSTAGE1_HOST_EXPORTS) \
15134 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
15135 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15136 cd $(HOST_SUBDIR)/intl || exit 1; \
15137 case $(srcdir) in \
15138 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15139 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15140 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15141 esac; \
15142 srcdiroption="--srcdir=$${topdir}/intl"; \
15143 libsrcdir="$$s/intl"; \
15144 $(SHELL) $${libsrcdir}/configure \
15145 $(HOST_CONFIGARGS) $${srcdiroption} \
15146 @stage2_werror_flag@
15147 @endif intl-bootstrap
15149 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
15150 maybe-configure-stage3-intl:
15151 @if intl-bootstrap
15152 maybe-configure-stage3-intl: configure-stage3-intl
15153 configure-stage3-intl:
15154 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15155 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
15156 @r=`${PWD_COMMAND}`; export r; \
15157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15158 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15159 $(HOST_EXPORTS) \
15160 $(POSTSTAGE1_HOST_EXPORTS) \
15161 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
15162 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15163 cd $(HOST_SUBDIR)/intl || exit 1; \
15164 case $(srcdir) in \
15165 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15166 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15167 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15168 esac; \
15169 srcdiroption="--srcdir=$${topdir}/intl"; \
15170 libsrcdir="$$s/intl"; \
15171 $(SHELL) $${libsrcdir}/configure \
15172 $(HOST_CONFIGARGS) $${srcdiroption} \
15173 @stage2_werror_flag@
15174 @endif intl-bootstrap
15176 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
15177 maybe-configure-stage4-intl:
15178 @if intl-bootstrap
15179 maybe-configure-stage4-intl: configure-stage4-intl
15180 configure-stage4-intl:
15181 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15182 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
15183 @r=`${PWD_COMMAND}`; export r; \
15184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15185 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15186 $(HOST_EXPORTS) \
15187 $(POSTSTAGE1_HOST_EXPORTS) \
15188 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
15189 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15190 cd $(HOST_SUBDIR)/intl || exit 1; \
15191 case $(srcdir) in \
15192 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15193 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15194 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15195 esac; \
15196 srcdiroption="--srcdir=$${topdir}/intl"; \
15197 libsrcdir="$$s/intl"; \
15198 $(SHELL) $${libsrcdir}/configure \
15199 $(HOST_CONFIGARGS) $${srcdiroption} \
15200 @stage2_werror_flag@
15201 @endif intl-bootstrap
15203 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
15204 maybe-configure-stageprofile-intl:
15205 @if intl-bootstrap
15206 maybe-configure-stageprofile-intl: configure-stageprofile-intl
15207 configure-stageprofile-intl:
15208 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15209 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
15210 @r=`${PWD_COMMAND}`; export r; \
15211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15212 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15213 $(HOST_EXPORTS) \
15214 $(POSTSTAGE1_HOST_EXPORTS) \
15215 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
15216 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15217 cd $(HOST_SUBDIR)/intl || exit 1; \
15218 case $(srcdir) in \
15219 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15220 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15221 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15222 esac; \
15223 srcdiroption="--srcdir=$${topdir}/intl"; \
15224 libsrcdir="$$s/intl"; \
15225 $(SHELL) $${libsrcdir}/configure \
15226 $(HOST_CONFIGARGS) $${srcdiroption} \
15227 @stage2_werror_flag@
15228 @endif intl-bootstrap
15230 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
15231 maybe-configure-stagefeedback-intl:
15232 @if intl-bootstrap
15233 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
15234 configure-stagefeedback-intl:
15235 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15236 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
15237 @r=`${PWD_COMMAND}`; export r; \
15238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15239 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15240 $(HOST_EXPORTS) \
15241 $(POSTSTAGE1_HOST_EXPORTS) \
15242 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
15243 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15244 cd $(HOST_SUBDIR)/intl || exit 1; \
15245 case $(srcdir) in \
15246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15247 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15249 esac; \
15250 srcdiroption="--srcdir=$${topdir}/intl"; \
15251 libsrcdir="$$s/intl"; \
15252 $(SHELL) $${libsrcdir}/configure \
15253 $(HOST_CONFIGARGS) $${srcdiroption} \
15254 @stage2_werror_flag@
15255 @endif intl-bootstrap
15261 .PHONY: all-intl maybe-all-intl
15262 maybe-all-intl:
15263 @if gcc-bootstrap
15264 all-intl: stage_current
15265 @endif gcc-bootstrap
15266 @if intl
15267 TARGET-intl=all
15268 maybe-all-intl: all-intl
15269 all-intl: configure-intl
15270 @r=`${PWD_COMMAND}`; export r; \
15271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15272 $(HOST_EXPORTS) \
15273 (cd $(HOST_SUBDIR)/intl && \
15274 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
15275 @endif intl
15279 .PHONY: all-stage1-intl maybe-all-stage1-intl
15280 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
15281 maybe-all-stage1-intl:
15282 maybe-clean-stage1-intl:
15283 @if intl-bootstrap
15284 maybe-all-stage1-intl: all-stage1-intl
15285 all-stage1: all-stage1-intl
15286 TARGET-stage1-intl = $(TARGET-intl)
15287 all-stage1-intl: configure-stage1-intl
15288 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15289 @r=`${PWD_COMMAND}`; export r; \
15290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15291 $(HOST_EXPORTS) \
15292 cd $(HOST_SUBDIR)/intl && \
15293 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
15294 $(TARGET-stage1-intl)
15296 maybe-clean-stage1-intl: clean-stage1-intl
15297 clean-stage1: clean-stage1-intl
15298 clean-stage1-intl:
15299 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] \
15300 || exit 0 ; \
15301 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
15302 cd $(HOST_SUBDIR)/intl && \
15303 $(MAKE) $(FLAGS_TO_PASS) \
15304 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
15305 @endif intl-bootstrap
15308 .PHONY: all-stage2-intl maybe-all-stage2-intl
15309 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
15310 maybe-all-stage2-intl:
15311 maybe-clean-stage2-intl:
15312 @if intl-bootstrap
15313 maybe-all-stage2-intl: all-stage2-intl
15314 all-stage2: all-stage2-intl
15315 TARGET-stage2-intl = $(TARGET-intl)
15316 all-stage2-intl: configure-stage2-intl
15317 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15318 @r=`${PWD_COMMAND}`; export r; \
15319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15320 $(HOST_EXPORTS) \
15321 $(POSTSTAGE1_HOST_EXPORTS) \
15322 cd $(HOST_SUBDIR)/intl && \
15323 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15324 $(TARGET-stage2-intl)
15326 maybe-clean-stage2-intl: clean-stage2-intl
15327 clean-stage2: clean-stage2-intl
15328 clean-stage2-intl:
15329 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] \
15330 || exit 0 ; \
15331 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
15332 cd $(HOST_SUBDIR)/intl && \
15333 $(MAKE) $(FLAGS_TO_PASS) \
15334 $(POSTSTAGE1_FLAGS_TO_PASS) \
15335 clean
15336 @endif intl-bootstrap
15339 .PHONY: all-stage3-intl maybe-all-stage3-intl
15340 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
15341 maybe-all-stage3-intl:
15342 maybe-clean-stage3-intl:
15343 @if intl-bootstrap
15344 maybe-all-stage3-intl: all-stage3-intl
15345 all-stage3: all-stage3-intl
15346 TARGET-stage3-intl = $(TARGET-intl)
15347 all-stage3-intl: configure-stage3-intl
15348 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15349 @r=`${PWD_COMMAND}`; export r; \
15350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15351 $(HOST_EXPORTS) \
15352 $(POSTSTAGE1_HOST_EXPORTS) \
15353 cd $(HOST_SUBDIR)/intl && \
15354 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15355 $(TARGET-stage3-intl)
15357 maybe-clean-stage3-intl: clean-stage3-intl
15358 clean-stage3: clean-stage3-intl
15359 clean-stage3-intl:
15360 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] \
15361 || exit 0 ; \
15362 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
15363 cd $(HOST_SUBDIR)/intl && \
15364 $(MAKE) $(FLAGS_TO_PASS) \
15365 $(POSTSTAGE1_FLAGS_TO_PASS) \
15366 clean
15367 @endif intl-bootstrap
15370 .PHONY: all-stage4-intl maybe-all-stage4-intl
15371 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
15372 maybe-all-stage4-intl:
15373 maybe-clean-stage4-intl:
15374 @if intl-bootstrap
15375 maybe-all-stage4-intl: all-stage4-intl
15376 all-stage4: all-stage4-intl
15377 TARGET-stage4-intl = $(TARGET-intl)
15378 all-stage4-intl: configure-stage4-intl
15379 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15380 @r=`${PWD_COMMAND}`; export r; \
15381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15382 $(HOST_EXPORTS) \
15383 $(POSTSTAGE1_HOST_EXPORTS) \
15384 cd $(HOST_SUBDIR)/intl && \
15385 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15386 $(TARGET-stage4-intl)
15388 maybe-clean-stage4-intl: clean-stage4-intl
15389 clean-stage4: clean-stage4-intl
15390 clean-stage4-intl:
15391 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] \
15392 || exit 0 ; \
15393 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
15394 cd $(HOST_SUBDIR)/intl && \
15395 $(MAKE) $(FLAGS_TO_PASS) \
15396 $(POSTSTAGE1_FLAGS_TO_PASS) \
15397 clean
15398 @endif intl-bootstrap
15401 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
15402 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
15403 maybe-all-stageprofile-intl:
15404 maybe-clean-stageprofile-intl:
15405 @if intl-bootstrap
15406 maybe-all-stageprofile-intl: all-stageprofile-intl
15407 all-stageprofile: all-stageprofile-intl
15408 TARGET-stageprofile-intl = $(TARGET-intl)
15409 all-stageprofile-intl: configure-stageprofile-intl
15410 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15411 @r=`${PWD_COMMAND}`; export r; \
15412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15413 $(HOST_EXPORTS) \
15414 $(POSTSTAGE1_HOST_EXPORTS) \
15415 cd $(HOST_SUBDIR)/intl && \
15416 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
15417 $(TARGET-stageprofile-intl)
15419 maybe-clean-stageprofile-intl: clean-stageprofile-intl
15420 clean-stageprofile: clean-stageprofile-intl
15421 clean-stageprofile-intl:
15422 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] \
15423 || exit 0 ; \
15424 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
15425 cd $(HOST_SUBDIR)/intl && \
15426 $(MAKE) $(FLAGS_TO_PASS) \
15427 $(POSTSTAGE1_FLAGS_TO_PASS) \
15428 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15429 @endif intl-bootstrap
15432 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
15433 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
15434 maybe-all-stagefeedback-intl:
15435 maybe-clean-stagefeedback-intl:
15436 @if intl-bootstrap
15437 maybe-all-stagefeedback-intl: all-stagefeedback-intl
15438 all-stagefeedback: all-stagefeedback-intl
15439 TARGET-stagefeedback-intl = $(TARGET-intl)
15440 all-stagefeedback-intl: configure-stagefeedback-intl
15441 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15442 @r=`${PWD_COMMAND}`; export r; \
15443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15444 $(HOST_EXPORTS) \
15445 $(POSTSTAGE1_HOST_EXPORTS) \
15446 cd $(HOST_SUBDIR)/intl && \
15447 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
15448 $(TARGET-stagefeedback-intl)
15450 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
15451 clean-stagefeedback: clean-stagefeedback-intl
15452 clean-stagefeedback-intl:
15453 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] \
15454 || exit 0 ; \
15455 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
15456 cd $(HOST_SUBDIR)/intl && \
15457 $(MAKE) $(FLAGS_TO_PASS) \
15458 $(POSTSTAGE1_FLAGS_TO_PASS) \
15459 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15460 @endif intl-bootstrap
15466 .PHONY: check-intl maybe-check-intl
15467 maybe-check-intl:
15468 @if intl
15469 maybe-check-intl: check-intl
15471 check-intl:
15472 @: $(MAKE); $(unstage)
15473 @r=`${PWD_COMMAND}`; export r; \
15474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15475 $(HOST_EXPORTS) \
15476 (cd $(HOST_SUBDIR)/intl && \
15477 $(MAKE) $(FLAGS_TO_PASS) check)
15479 @endif intl
15481 .PHONY: install-intl maybe-install-intl
15482 maybe-install-intl:
15483 @if intl
15484 maybe-install-intl: install-intl
15486 install-intl: installdirs
15487 @: $(MAKE); $(unstage)
15488 @r=`${PWD_COMMAND}`; export r; \
15489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15490 $(HOST_EXPORTS) \
15491 (cd $(HOST_SUBDIR)/intl && \
15492 $(MAKE) $(FLAGS_TO_PASS) install)
15494 @endif intl
15496 # Other targets (info, dvi, etc.)
15498 .PHONY: maybe-info-intl info-intl
15499 maybe-info-intl:
15500 @if intl
15501 maybe-info-intl: info-intl
15503 info-intl: \
15504 configure-intl
15505 @[ -f ./intl/Makefile ] || exit 0; \
15506 r=`${PWD_COMMAND}`; export r; \
15507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15508 $(HOST_EXPORTS) \
15509 for flag in $(EXTRA_HOST_FLAGS) ; do \
15510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15511 done; \
15512 echo "Doing info in intl" ; \
15513 (cd $(HOST_SUBDIR)/intl && \
15514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15516 "RANLIB=$${RANLIB}" \
15517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15518 info) \
15519 || exit 1
15521 @endif intl
15523 .PHONY: maybe-dvi-intl dvi-intl
15524 maybe-dvi-intl:
15525 @if intl
15526 maybe-dvi-intl: dvi-intl
15528 dvi-intl: \
15529 configure-intl
15530 @[ -f ./intl/Makefile ] || exit 0; \
15531 r=`${PWD_COMMAND}`; export r; \
15532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15533 $(HOST_EXPORTS) \
15534 for flag in $(EXTRA_HOST_FLAGS) ; do \
15535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15536 done; \
15537 echo "Doing dvi in intl" ; \
15538 (cd $(HOST_SUBDIR)/intl && \
15539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15541 "RANLIB=$${RANLIB}" \
15542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15543 dvi) \
15544 || exit 1
15546 @endif intl
15548 .PHONY: maybe-html-intl html-intl
15549 maybe-html-intl:
15550 @if intl
15551 maybe-html-intl: html-intl
15553 html-intl: \
15554 configure-intl
15555 @[ -f ./intl/Makefile ] || exit 0; \
15556 r=`${PWD_COMMAND}`; export r; \
15557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15558 $(HOST_EXPORTS) \
15559 for flag in $(EXTRA_HOST_FLAGS) ; do \
15560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15561 done; \
15562 echo "Doing html in intl" ; \
15563 (cd $(HOST_SUBDIR)/intl && \
15564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15566 "RANLIB=$${RANLIB}" \
15567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15568 html) \
15569 || exit 1
15571 @endif intl
15573 .PHONY: maybe-TAGS-intl TAGS-intl
15574 maybe-TAGS-intl:
15575 @if intl
15576 maybe-TAGS-intl: TAGS-intl
15578 TAGS-intl: \
15579 configure-intl
15580 @[ -f ./intl/Makefile ] || exit 0; \
15581 r=`${PWD_COMMAND}`; export r; \
15582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15583 $(HOST_EXPORTS) \
15584 for flag in $(EXTRA_HOST_FLAGS) ; do \
15585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15586 done; \
15587 echo "Doing TAGS in intl" ; \
15588 (cd $(HOST_SUBDIR)/intl && \
15589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15591 "RANLIB=$${RANLIB}" \
15592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15593 TAGS) \
15594 || exit 1
15596 @endif intl
15598 .PHONY: maybe-install-info-intl install-info-intl
15599 maybe-install-info-intl:
15600 @if intl
15601 maybe-install-info-intl: install-info-intl
15603 install-info-intl: \
15604 configure-intl \
15605 info-intl
15606 @[ -f ./intl/Makefile ] || exit 0; \
15607 r=`${PWD_COMMAND}`; export r; \
15608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15609 $(HOST_EXPORTS) \
15610 for flag in $(EXTRA_HOST_FLAGS) ; do \
15611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15612 done; \
15613 echo "Doing install-info in intl" ; \
15614 (cd $(HOST_SUBDIR)/intl && \
15615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15617 "RANLIB=$${RANLIB}" \
15618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15619 install-info) \
15620 || exit 1
15622 @endif intl
15624 .PHONY: maybe-install-html-intl install-html-intl
15625 maybe-install-html-intl:
15626 @if intl
15627 maybe-install-html-intl: install-html-intl
15629 install-html-intl: \
15630 configure-intl \
15631 html-intl
15632 @[ -f ./intl/Makefile ] || exit 0; \
15633 r=`${PWD_COMMAND}`; export r; \
15634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15635 $(HOST_EXPORTS) \
15636 for flag in $(EXTRA_HOST_FLAGS) ; do \
15637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15638 done; \
15639 echo "Doing install-html in intl" ; \
15640 (cd $(HOST_SUBDIR)/intl && \
15641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15643 "RANLIB=$${RANLIB}" \
15644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15645 install-html) \
15646 || exit 1
15648 @endif intl
15650 .PHONY: maybe-installcheck-intl installcheck-intl
15651 maybe-installcheck-intl:
15652 @if intl
15653 maybe-installcheck-intl: installcheck-intl
15655 installcheck-intl: \
15656 configure-intl
15657 @[ -f ./intl/Makefile ] || exit 0; \
15658 r=`${PWD_COMMAND}`; export r; \
15659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15660 $(HOST_EXPORTS) \
15661 for flag in $(EXTRA_HOST_FLAGS) ; do \
15662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15663 done; \
15664 echo "Doing installcheck in intl" ; \
15665 (cd $(HOST_SUBDIR)/intl && \
15666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15668 "RANLIB=$${RANLIB}" \
15669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15670 installcheck) \
15671 || exit 1
15673 @endif intl
15675 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
15676 maybe-mostlyclean-intl:
15677 @if intl
15678 maybe-mostlyclean-intl: mostlyclean-intl
15680 mostlyclean-intl:
15681 @[ -f ./intl/Makefile ] || exit 0; \
15682 r=`${PWD_COMMAND}`; export r; \
15683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15684 $(HOST_EXPORTS) \
15685 for flag in $(EXTRA_HOST_FLAGS) ; do \
15686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15687 done; \
15688 echo "Doing mostlyclean in intl" ; \
15689 (cd $(HOST_SUBDIR)/intl && \
15690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15692 "RANLIB=$${RANLIB}" \
15693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15694 mostlyclean) \
15695 || exit 1
15697 @endif intl
15699 .PHONY: maybe-clean-intl clean-intl
15700 maybe-clean-intl:
15701 @if intl
15702 maybe-clean-intl: clean-intl
15704 clean-intl:
15705 @[ -f ./intl/Makefile ] || exit 0; \
15706 r=`${PWD_COMMAND}`; export r; \
15707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15708 $(HOST_EXPORTS) \
15709 for flag in $(EXTRA_HOST_FLAGS) ; do \
15710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15711 done; \
15712 echo "Doing clean in intl" ; \
15713 (cd $(HOST_SUBDIR)/intl && \
15714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15716 "RANLIB=$${RANLIB}" \
15717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15718 clean) \
15719 || exit 1
15721 @endif intl
15723 .PHONY: maybe-distclean-intl distclean-intl
15724 maybe-distclean-intl:
15725 @if intl
15726 maybe-distclean-intl: distclean-intl
15728 distclean-intl:
15729 @[ -f ./intl/Makefile ] || exit 0; \
15730 r=`${PWD_COMMAND}`; export r; \
15731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15732 $(HOST_EXPORTS) \
15733 for flag in $(EXTRA_HOST_FLAGS) ; do \
15734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15735 done; \
15736 echo "Doing distclean in intl" ; \
15737 (cd $(HOST_SUBDIR)/intl && \
15738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15740 "RANLIB=$${RANLIB}" \
15741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15742 distclean) \
15743 || exit 1
15745 @endif intl
15747 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
15748 maybe-maintainer-clean-intl:
15749 @if intl
15750 maybe-maintainer-clean-intl: maintainer-clean-intl
15752 maintainer-clean-intl:
15753 @[ -f ./intl/Makefile ] || exit 0; \
15754 r=`${PWD_COMMAND}`; export r; \
15755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15756 $(HOST_EXPORTS) \
15757 for flag in $(EXTRA_HOST_FLAGS) ; do \
15758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15759 done; \
15760 echo "Doing maintainer-clean in intl" ; \
15761 (cd $(HOST_SUBDIR)/intl && \
15762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15764 "RANLIB=$${RANLIB}" \
15765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15766 maintainer-clean) \
15767 || exit 1
15769 @endif intl
15773 .PHONY: configure-tcl maybe-configure-tcl
15774 maybe-configure-tcl:
15775 @if gcc-bootstrap
15776 configure-tcl: stage_current
15777 @endif gcc-bootstrap
15778 @if tcl
15779 maybe-configure-tcl: configure-tcl
15780 configure-tcl:
15781 @: $(MAKE); $(unstage)
15782 @r=`${PWD_COMMAND}`; export r; \
15783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15784 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
15785 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
15786 $(HOST_EXPORTS) \
15787 echo Configuring in $(HOST_SUBDIR)/tcl; \
15788 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
15789 case $(srcdir) in \
15790 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15791 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
15792 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15793 esac; \
15794 srcdiroption="--srcdir=$${topdir}/tcl"; \
15795 libsrcdir="$$s/tcl"; \
15796 $(SHELL) $${libsrcdir}/configure \
15797 $(HOST_CONFIGARGS) $${srcdiroption} \
15798 || exit 1
15799 @endif tcl
15805 .PHONY: all-tcl maybe-all-tcl
15806 maybe-all-tcl:
15807 @if gcc-bootstrap
15808 all-tcl: stage_current
15809 @endif gcc-bootstrap
15810 @if tcl
15811 TARGET-tcl=all
15812 maybe-all-tcl: all-tcl
15813 all-tcl: configure-tcl
15814 @: $(MAKE); $(unstage)
15815 @r=`${PWD_COMMAND}`; export r; \
15816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15817 $(HOST_EXPORTS) \
15818 (cd $(HOST_SUBDIR)/tcl && \
15819 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
15820 @endif tcl
15825 .PHONY: check-tcl maybe-check-tcl
15826 maybe-check-tcl:
15827 @if tcl
15828 maybe-check-tcl: check-tcl
15830 check-tcl:
15831 @: $(MAKE); $(unstage)
15832 @r=`${PWD_COMMAND}`; export r; \
15833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15834 $(HOST_EXPORTS) \
15835 (cd $(HOST_SUBDIR)/tcl && \
15836 $(MAKE) $(FLAGS_TO_PASS) check)
15838 @endif tcl
15840 .PHONY: install-tcl maybe-install-tcl
15841 maybe-install-tcl:
15842 @if tcl
15843 maybe-install-tcl: install-tcl
15845 install-tcl: installdirs
15846 @: $(MAKE); $(unstage)
15847 @r=`${PWD_COMMAND}`; export r; \
15848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15849 $(HOST_EXPORTS) \
15850 (cd $(HOST_SUBDIR)/tcl && \
15851 $(MAKE) $(FLAGS_TO_PASS) install)
15853 @endif tcl
15855 # Other targets (info, dvi, etc.)
15857 .PHONY: maybe-info-tcl info-tcl
15858 maybe-info-tcl:
15859 @if tcl
15860 maybe-info-tcl: info-tcl
15862 info-tcl: \
15863 configure-tcl
15864 @: $(MAKE); $(unstage)
15865 @[ -f ./tcl/Makefile ] || exit 0; \
15866 r=`${PWD_COMMAND}`; export r; \
15867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15868 $(HOST_EXPORTS) \
15869 for flag in $(EXTRA_HOST_FLAGS) ; do \
15870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15871 done; \
15872 echo "Doing info in tcl" ; \
15873 (cd $(HOST_SUBDIR)/tcl && \
15874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15876 "RANLIB=$${RANLIB}" \
15877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15878 info) \
15879 || exit 1
15881 @endif tcl
15883 .PHONY: maybe-dvi-tcl dvi-tcl
15884 maybe-dvi-tcl:
15885 @if tcl
15886 maybe-dvi-tcl: dvi-tcl
15888 dvi-tcl: \
15889 configure-tcl
15890 @: $(MAKE); $(unstage)
15891 @[ -f ./tcl/Makefile ] || exit 0; \
15892 r=`${PWD_COMMAND}`; export r; \
15893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15894 $(HOST_EXPORTS) \
15895 for flag in $(EXTRA_HOST_FLAGS) ; do \
15896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15897 done; \
15898 echo "Doing dvi in tcl" ; \
15899 (cd $(HOST_SUBDIR)/tcl && \
15900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15902 "RANLIB=$${RANLIB}" \
15903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15904 dvi) \
15905 || exit 1
15907 @endif tcl
15909 .PHONY: maybe-html-tcl html-tcl
15910 maybe-html-tcl:
15911 @if tcl
15912 maybe-html-tcl: html-tcl
15914 html-tcl: \
15915 configure-tcl
15916 @: $(MAKE); $(unstage)
15917 @[ -f ./tcl/Makefile ] || exit 0; \
15918 r=`${PWD_COMMAND}`; export r; \
15919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15920 $(HOST_EXPORTS) \
15921 for flag in $(EXTRA_HOST_FLAGS) ; do \
15922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15923 done; \
15924 echo "Doing html in tcl" ; \
15925 (cd $(HOST_SUBDIR)/tcl && \
15926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15928 "RANLIB=$${RANLIB}" \
15929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15930 html) \
15931 || exit 1
15933 @endif tcl
15935 .PHONY: maybe-TAGS-tcl TAGS-tcl
15936 maybe-TAGS-tcl:
15937 @if tcl
15938 maybe-TAGS-tcl: TAGS-tcl
15940 TAGS-tcl: \
15941 configure-tcl
15942 @: $(MAKE); $(unstage)
15943 @[ -f ./tcl/Makefile ] || exit 0; \
15944 r=`${PWD_COMMAND}`; export r; \
15945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15946 $(HOST_EXPORTS) \
15947 for flag in $(EXTRA_HOST_FLAGS) ; do \
15948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15949 done; \
15950 echo "Doing TAGS in tcl" ; \
15951 (cd $(HOST_SUBDIR)/tcl && \
15952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15954 "RANLIB=$${RANLIB}" \
15955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15956 TAGS) \
15957 || exit 1
15959 @endif tcl
15961 .PHONY: maybe-install-info-tcl install-info-tcl
15962 maybe-install-info-tcl:
15963 @if tcl
15964 maybe-install-info-tcl: install-info-tcl
15966 install-info-tcl: \
15967 configure-tcl \
15968 info-tcl
15969 @: $(MAKE); $(unstage)
15970 @[ -f ./tcl/Makefile ] || exit 0; \
15971 r=`${PWD_COMMAND}`; export r; \
15972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15973 $(HOST_EXPORTS) \
15974 for flag in $(EXTRA_HOST_FLAGS) ; do \
15975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15976 done; \
15977 echo "Doing install-info in tcl" ; \
15978 (cd $(HOST_SUBDIR)/tcl && \
15979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15981 "RANLIB=$${RANLIB}" \
15982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15983 install-info) \
15984 || exit 1
15986 @endif tcl
15988 .PHONY: maybe-install-html-tcl install-html-tcl
15989 maybe-install-html-tcl:
15990 @if tcl
15991 maybe-install-html-tcl: install-html-tcl
15993 install-html-tcl: \
15994 configure-tcl \
15995 html-tcl
15996 @: $(MAKE); $(unstage)
15997 @[ -f ./tcl/Makefile ] || exit 0; \
15998 r=`${PWD_COMMAND}`; export r; \
15999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16000 $(HOST_EXPORTS) \
16001 for flag in $(EXTRA_HOST_FLAGS) ; do \
16002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16003 done; \
16004 echo "Doing install-html in tcl" ; \
16005 (cd $(HOST_SUBDIR)/tcl && \
16006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16008 "RANLIB=$${RANLIB}" \
16009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16010 install-html) \
16011 || exit 1
16013 @endif tcl
16015 .PHONY: maybe-installcheck-tcl installcheck-tcl
16016 maybe-installcheck-tcl:
16017 @if tcl
16018 maybe-installcheck-tcl: installcheck-tcl
16020 installcheck-tcl: \
16021 configure-tcl
16022 @: $(MAKE); $(unstage)
16023 @[ -f ./tcl/Makefile ] || exit 0; \
16024 r=`${PWD_COMMAND}`; export r; \
16025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16026 $(HOST_EXPORTS) \
16027 for flag in $(EXTRA_HOST_FLAGS) ; do \
16028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16029 done; \
16030 echo "Doing installcheck in tcl" ; \
16031 (cd $(HOST_SUBDIR)/tcl && \
16032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16034 "RANLIB=$${RANLIB}" \
16035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16036 installcheck) \
16037 || exit 1
16039 @endif tcl
16041 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
16042 maybe-mostlyclean-tcl:
16043 @if tcl
16044 maybe-mostlyclean-tcl: mostlyclean-tcl
16046 # tcl doesn't support mostlyclean.
16047 mostlyclean-tcl:
16049 @endif tcl
16051 .PHONY: maybe-clean-tcl clean-tcl
16052 maybe-clean-tcl:
16053 @if tcl
16054 maybe-clean-tcl: clean-tcl
16056 clean-tcl:
16057 @: $(MAKE); $(unstage)
16058 @[ -f ./tcl/Makefile ] || exit 0; \
16059 r=`${PWD_COMMAND}`; export r; \
16060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16061 $(HOST_EXPORTS) \
16062 for flag in $(EXTRA_HOST_FLAGS) ; do \
16063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16064 done; \
16065 echo "Doing clean in tcl" ; \
16066 (cd $(HOST_SUBDIR)/tcl && \
16067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16069 "RANLIB=$${RANLIB}" \
16070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16071 clean) \
16072 || exit 1
16074 @endif tcl
16076 .PHONY: maybe-distclean-tcl distclean-tcl
16077 maybe-distclean-tcl:
16078 @if tcl
16079 maybe-distclean-tcl: distclean-tcl
16081 distclean-tcl:
16082 @: $(MAKE); $(unstage)
16083 @[ -f ./tcl/Makefile ] || exit 0; \
16084 r=`${PWD_COMMAND}`; export r; \
16085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16086 $(HOST_EXPORTS) \
16087 for flag in $(EXTRA_HOST_FLAGS) ; do \
16088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16089 done; \
16090 echo "Doing distclean in tcl" ; \
16091 (cd $(HOST_SUBDIR)/tcl && \
16092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16094 "RANLIB=$${RANLIB}" \
16095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16096 distclean) \
16097 || exit 1
16099 @endif tcl
16101 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
16102 maybe-maintainer-clean-tcl:
16103 @if tcl
16104 maybe-maintainer-clean-tcl: maintainer-clean-tcl
16106 maintainer-clean-tcl:
16107 @: $(MAKE); $(unstage)
16108 @[ -f ./tcl/Makefile ] || exit 0; \
16109 r=`${PWD_COMMAND}`; export r; \
16110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16111 $(HOST_EXPORTS) \
16112 for flag in $(EXTRA_HOST_FLAGS) ; do \
16113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16114 done; \
16115 echo "Doing maintainer-clean in tcl" ; \
16116 (cd $(HOST_SUBDIR)/tcl && \
16117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16119 "RANLIB=$${RANLIB}" \
16120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16121 maintainer-clean) \
16122 || exit 1
16124 @endif tcl
16128 .PHONY: configure-itcl maybe-configure-itcl
16129 maybe-configure-itcl:
16130 @if gcc-bootstrap
16131 configure-itcl: stage_current
16132 @endif gcc-bootstrap
16133 @if itcl
16134 maybe-configure-itcl: configure-itcl
16135 configure-itcl:
16136 @: $(MAKE); $(unstage)
16137 @r=`${PWD_COMMAND}`; export r; \
16138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16139 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
16140 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
16141 $(HOST_EXPORTS) \
16142 echo Configuring in $(HOST_SUBDIR)/itcl; \
16143 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
16144 case $(srcdir) in \
16145 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16146 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
16147 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16148 esac; \
16149 srcdiroption="--srcdir=$${topdir}/itcl"; \
16150 libsrcdir="$$s/itcl"; \
16151 $(SHELL) $${libsrcdir}/configure \
16152 $(HOST_CONFIGARGS) $${srcdiroption} \
16153 || exit 1
16154 @endif itcl
16160 .PHONY: all-itcl maybe-all-itcl
16161 maybe-all-itcl:
16162 @if gcc-bootstrap
16163 all-itcl: stage_current
16164 @endif gcc-bootstrap
16165 @if itcl
16166 TARGET-itcl=all
16167 maybe-all-itcl: all-itcl
16168 all-itcl: configure-itcl
16169 @: $(MAKE); $(unstage)
16170 @r=`${PWD_COMMAND}`; export r; \
16171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16172 $(HOST_EXPORTS) \
16173 (cd $(HOST_SUBDIR)/itcl && \
16174 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
16175 @endif itcl
16180 .PHONY: check-itcl maybe-check-itcl
16181 maybe-check-itcl:
16182 @if itcl
16183 maybe-check-itcl: check-itcl
16185 check-itcl:
16186 @: $(MAKE); $(unstage)
16187 @r=`${PWD_COMMAND}`; export r; \
16188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16189 $(HOST_EXPORTS) \
16190 (cd $(HOST_SUBDIR)/itcl && \
16191 $(MAKE) $(FLAGS_TO_PASS) check)
16193 @endif itcl
16195 .PHONY: install-itcl maybe-install-itcl
16196 maybe-install-itcl:
16197 @if itcl
16198 maybe-install-itcl: install-itcl
16200 install-itcl: installdirs
16201 @: $(MAKE); $(unstage)
16202 @r=`${PWD_COMMAND}`; export r; \
16203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16204 $(HOST_EXPORTS) \
16205 (cd $(HOST_SUBDIR)/itcl && \
16206 $(MAKE) $(FLAGS_TO_PASS) install)
16208 @endif itcl
16210 # Other targets (info, dvi, etc.)
16212 .PHONY: maybe-info-itcl info-itcl
16213 maybe-info-itcl:
16214 @if itcl
16215 maybe-info-itcl: info-itcl
16217 info-itcl: \
16218 configure-itcl
16219 @: $(MAKE); $(unstage)
16220 @[ -f ./itcl/Makefile ] || exit 0; \
16221 r=`${PWD_COMMAND}`; export r; \
16222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16223 $(HOST_EXPORTS) \
16224 for flag in $(EXTRA_HOST_FLAGS) ; do \
16225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16226 done; \
16227 echo "Doing info in itcl" ; \
16228 (cd $(HOST_SUBDIR)/itcl && \
16229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16231 "RANLIB=$${RANLIB}" \
16232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16233 info) \
16234 || exit 1
16236 @endif itcl
16238 .PHONY: maybe-dvi-itcl dvi-itcl
16239 maybe-dvi-itcl:
16240 @if itcl
16241 maybe-dvi-itcl: dvi-itcl
16243 dvi-itcl: \
16244 configure-itcl
16245 @: $(MAKE); $(unstage)
16246 @[ -f ./itcl/Makefile ] || exit 0; \
16247 r=`${PWD_COMMAND}`; export r; \
16248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16249 $(HOST_EXPORTS) \
16250 for flag in $(EXTRA_HOST_FLAGS) ; do \
16251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16252 done; \
16253 echo "Doing dvi in itcl" ; \
16254 (cd $(HOST_SUBDIR)/itcl && \
16255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16257 "RANLIB=$${RANLIB}" \
16258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16259 dvi) \
16260 || exit 1
16262 @endif itcl
16264 .PHONY: maybe-html-itcl html-itcl
16265 maybe-html-itcl:
16266 @if itcl
16267 maybe-html-itcl: html-itcl
16269 html-itcl: \
16270 configure-itcl
16271 @: $(MAKE); $(unstage)
16272 @[ -f ./itcl/Makefile ] || exit 0; \
16273 r=`${PWD_COMMAND}`; export r; \
16274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16275 $(HOST_EXPORTS) \
16276 for flag in $(EXTRA_HOST_FLAGS) ; do \
16277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16278 done; \
16279 echo "Doing html in itcl" ; \
16280 (cd $(HOST_SUBDIR)/itcl && \
16281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16283 "RANLIB=$${RANLIB}" \
16284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16285 html) \
16286 || exit 1
16288 @endif itcl
16290 .PHONY: maybe-TAGS-itcl TAGS-itcl
16291 maybe-TAGS-itcl:
16292 @if itcl
16293 maybe-TAGS-itcl: TAGS-itcl
16295 TAGS-itcl: \
16296 configure-itcl
16297 @: $(MAKE); $(unstage)
16298 @[ -f ./itcl/Makefile ] || exit 0; \
16299 r=`${PWD_COMMAND}`; export r; \
16300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16301 $(HOST_EXPORTS) \
16302 for flag in $(EXTRA_HOST_FLAGS) ; do \
16303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16304 done; \
16305 echo "Doing TAGS in itcl" ; \
16306 (cd $(HOST_SUBDIR)/itcl && \
16307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16309 "RANLIB=$${RANLIB}" \
16310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16311 TAGS) \
16312 || exit 1
16314 @endif itcl
16316 .PHONY: maybe-install-info-itcl install-info-itcl
16317 maybe-install-info-itcl:
16318 @if itcl
16319 maybe-install-info-itcl: install-info-itcl
16321 install-info-itcl: \
16322 configure-itcl \
16323 info-itcl
16324 @: $(MAKE); $(unstage)
16325 @[ -f ./itcl/Makefile ] || exit 0; \
16326 r=`${PWD_COMMAND}`; export r; \
16327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16328 $(HOST_EXPORTS) \
16329 for flag in $(EXTRA_HOST_FLAGS) ; do \
16330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16331 done; \
16332 echo "Doing install-info in itcl" ; \
16333 (cd $(HOST_SUBDIR)/itcl && \
16334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16336 "RANLIB=$${RANLIB}" \
16337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16338 install-info) \
16339 || exit 1
16341 @endif itcl
16343 .PHONY: maybe-install-html-itcl install-html-itcl
16344 maybe-install-html-itcl:
16345 @if itcl
16346 maybe-install-html-itcl: install-html-itcl
16348 install-html-itcl: \
16349 configure-itcl \
16350 html-itcl
16351 @: $(MAKE); $(unstage)
16352 @[ -f ./itcl/Makefile ] || exit 0; \
16353 r=`${PWD_COMMAND}`; export r; \
16354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16355 $(HOST_EXPORTS) \
16356 for flag in $(EXTRA_HOST_FLAGS) ; do \
16357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16358 done; \
16359 echo "Doing install-html in itcl" ; \
16360 (cd $(HOST_SUBDIR)/itcl && \
16361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16363 "RANLIB=$${RANLIB}" \
16364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16365 install-html) \
16366 || exit 1
16368 @endif itcl
16370 .PHONY: maybe-installcheck-itcl installcheck-itcl
16371 maybe-installcheck-itcl:
16372 @if itcl
16373 maybe-installcheck-itcl: installcheck-itcl
16375 installcheck-itcl: \
16376 configure-itcl
16377 @: $(MAKE); $(unstage)
16378 @[ -f ./itcl/Makefile ] || exit 0; \
16379 r=`${PWD_COMMAND}`; export r; \
16380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16381 $(HOST_EXPORTS) \
16382 for flag in $(EXTRA_HOST_FLAGS) ; do \
16383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16384 done; \
16385 echo "Doing installcheck in itcl" ; \
16386 (cd $(HOST_SUBDIR)/itcl && \
16387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16389 "RANLIB=$${RANLIB}" \
16390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16391 installcheck) \
16392 || exit 1
16394 @endif itcl
16396 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
16397 maybe-mostlyclean-itcl:
16398 @if itcl
16399 maybe-mostlyclean-itcl: mostlyclean-itcl
16401 mostlyclean-itcl:
16402 @: $(MAKE); $(unstage)
16403 @[ -f ./itcl/Makefile ] || exit 0; \
16404 r=`${PWD_COMMAND}`; export r; \
16405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16406 $(HOST_EXPORTS) \
16407 for flag in $(EXTRA_HOST_FLAGS) ; do \
16408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16409 done; \
16410 echo "Doing mostlyclean in itcl" ; \
16411 (cd $(HOST_SUBDIR)/itcl && \
16412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16414 "RANLIB=$${RANLIB}" \
16415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16416 mostlyclean) \
16417 || exit 1
16419 @endif itcl
16421 .PHONY: maybe-clean-itcl clean-itcl
16422 maybe-clean-itcl:
16423 @if itcl
16424 maybe-clean-itcl: clean-itcl
16426 clean-itcl:
16427 @: $(MAKE); $(unstage)
16428 @[ -f ./itcl/Makefile ] || exit 0; \
16429 r=`${PWD_COMMAND}`; export r; \
16430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16431 $(HOST_EXPORTS) \
16432 for flag in $(EXTRA_HOST_FLAGS) ; do \
16433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16434 done; \
16435 echo "Doing clean in itcl" ; \
16436 (cd $(HOST_SUBDIR)/itcl && \
16437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16439 "RANLIB=$${RANLIB}" \
16440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16441 clean) \
16442 || exit 1
16444 @endif itcl
16446 .PHONY: maybe-distclean-itcl distclean-itcl
16447 maybe-distclean-itcl:
16448 @if itcl
16449 maybe-distclean-itcl: distclean-itcl
16451 distclean-itcl:
16452 @: $(MAKE); $(unstage)
16453 @[ -f ./itcl/Makefile ] || exit 0; \
16454 r=`${PWD_COMMAND}`; export r; \
16455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16456 $(HOST_EXPORTS) \
16457 for flag in $(EXTRA_HOST_FLAGS) ; do \
16458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16459 done; \
16460 echo "Doing distclean in itcl" ; \
16461 (cd $(HOST_SUBDIR)/itcl && \
16462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16464 "RANLIB=$${RANLIB}" \
16465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16466 distclean) \
16467 || exit 1
16469 @endif itcl
16471 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
16472 maybe-maintainer-clean-itcl:
16473 @if itcl
16474 maybe-maintainer-clean-itcl: maintainer-clean-itcl
16476 maintainer-clean-itcl:
16477 @: $(MAKE); $(unstage)
16478 @[ -f ./itcl/Makefile ] || exit 0; \
16479 r=`${PWD_COMMAND}`; export r; \
16480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16481 $(HOST_EXPORTS) \
16482 for flag in $(EXTRA_HOST_FLAGS) ; do \
16483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16484 done; \
16485 echo "Doing maintainer-clean in itcl" ; \
16486 (cd $(HOST_SUBDIR)/itcl && \
16487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16489 "RANLIB=$${RANLIB}" \
16490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16491 maintainer-clean) \
16492 || exit 1
16494 @endif itcl
16498 .PHONY: configure-ld maybe-configure-ld
16499 maybe-configure-ld:
16500 @if gcc-bootstrap
16501 configure-ld: stage_current
16502 @endif gcc-bootstrap
16503 @if ld
16504 maybe-configure-ld: configure-ld
16505 configure-ld:
16506 @r=`${PWD_COMMAND}`; export r; \
16507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16508 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16509 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16510 $(HOST_EXPORTS) \
16511 echo Configuring in $(HOST_SUBDIR)/ld; \
16512 cd "$(HOST_SUBDIR)/ld" || exit 1; \
16513 case $(srcdir) in \
16514 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16515 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16516 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16517 esac; \
16518 srcdiroption="--srcdir=$${topdir}/ld"; \
16519 libsrcdir="$$s/ld"; \
16520 $(SHELL) $${libsrcdir}/configure \
16521 $(HOST_CONFIGARGS) $${srcdiroption} \
16522 || exit 1
16523 @endif ld
16527 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
16528 maybe-configure-stage1-ld:
16529 @if ld-bootstrap
16530 maybe-configure-stage1-ld: configure-stage1-ld
16531 configure-stage1-ld:
16532 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16533 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16534 @r=`${PWD_COMMAND}`; export r; \
16535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16536 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16537 $(HOST_EXPORTS) \
16538 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
16539 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16540 cd $(HOST_SUBDIR)/ld || exit 1; \
16541 case $(srcdir) in \
16542 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16543 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16544 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16545 esac; \
16546 srcdiroption="--srcdir=$${topdir}/ld"; \
16547 libsrcdir="$$s/ld"; \
16548 $(SHELL) $${libsrcdir}/configure \
16549 $(HOST_CONFIGARGS) $${srcdiroption} \
16550 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16551 @endif ld-bootstrap
16553 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
16554 maybe-configure-stage2-ld:
16555 @if ld-bootstrap
16556 maybe-configure-stage2-ld: configure-stage2-ld
16557 configure-stage2-ld:
16558 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16559 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16560 @r=`${PWD_COMMAND}`; export r; \
16561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16562 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16563 $(HOST_EXPORTS) \
16564 $(POSTSTAGE1_HOST_EXPORTS) \
16565 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
16566 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16567 cd $(HOST_SUBDIR)/ld || exit 1; \
16568 case $(srcdir) in \
16569 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16570 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16571 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16572 esac; \
16573 srcdiroption="--srcdir=$${topdir}/ld"; \
16574 libsrcdir="$$s/ld"; \
16575 $(SHELL) $${libsrcdir}/configure \
16576 $(HOST_CONFIGARGS) $${srcdiroption} \
16577 @stage2_werror_flag@
16578 @endif ld-bootstrap
16580 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
16581 maybe-configure-stage3-ld:
16582 @if ld-bootstrap
16583 maybe-configure-stage3-ld: configure-stage3-ld
16584 configure-stage3-ld:
16585 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16586 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16587 @r=`${PWD_COMMAND}`; export r; \
16588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16589 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16590 $(HOST_EXPORTS) \
16591 $(POSTSTAGE1_HOST_EXPORTS) \
16592 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
16593 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16594 cd $(HOST_SUBDIR)/ld || exit 1; \
16595 case $(srcdir) in \
16596 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16597 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16598 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16599 esac; \
16600 srcdiroption="--srcdir=$${topdir}/ld"; \
16601 libsrcdir="$$s/ld"; \
16602 $(SHELL) $${libsrcdir}/configure \
16603 $(HOST_CONFIGARGS) $${srcdiroption} \
16604 @stage2_werror_flag@
16605 @endif ld-bootstrap
16607 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
16608 maybe-configure-stage4-ld:
16609 @if ld-bootstrap
16610 maybe-configure-stage4-ld: configure-stage4-ld
16611 configure-stage4-ld:
16612 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16613 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16614 @r=`${PWD_COMMAND}`; export r; \
16615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16616 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16617 $(HOST_EXPORTS) \
16618 $(POSTSTAGE1_HOST_EXPORTS) \
16619 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
16620 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16621 cd $(HOST_SUBDIR)/ld || exit 1; \
16622 case $(srcdir) in \
16623 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16624 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16625 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16626 esac; \
16627 srcdiroption="--srcdir=$${topdir}/ld"; \
16628 libsrcdir="$$s/ld"; \
16629 $(SHELL) $${libsrcdir}/configure \
16630 $(HOST_CONFIGARGS) $${srcdiroption} \
16631 @stage2_werror_flag@
16632 @endif ld-bootstrap
16634 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
16635 maybe-configure-stageprofile-ld:
16636 @if ld-bootstrap
16637 maybe-configure-stageprofile-ld: configure-stageprofile-ld
16638 configure-stageprofile-ld:
16639 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16640 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16641 @r=`${PWD_COMMAND}`; export r; \
16642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16643 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16644 $(HOST_EXPORTS) \
16645 $(POSTSTAGE1_HOST_EXPORTS) \
16646 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
16647 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16648 cd $(HOST_SUBDIR)/ld || exit 1; \
16649 case $(srcdir) in \
16650 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16651 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16652 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16653 esac; \
16654 srcdiroption="--srcdir=$${topdir}/ld"; \
16655 libsrcdir="$$s/ld"; \
16656 $(SHELL) $${libsrcdir}/configure \
16657 $(HOST_CONFIGARGS) $${srcdiroption} \
16658 @stage2_werror_flag@
16659 @endif ld-bootstrap
16661 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
16662 maybe-configure-stagefeedback-ld:
16663 @if ld-bootstrap
16664 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
16665 configure-stagefeedback-ld:
16666 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16667 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16668 @r=`${PWD_COMMAND}`; export r; \
16669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16670 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16671 $(HOST_EXPORTS) \
16672 $(POSTSTAGE1_HOST_EXPORTS) \
16673 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
16674 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16675 cd $(HOST_SUBDIR)/ld || exit 1; \
16676 case $(srcdir) in \
16677 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16678 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16679 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16680 esac; \
16681 srcdiroption="--srcdir=$${topdir}/ld"; \
16682 libsrcdir="$$s/ld"; \
16683 $(SHELL) $${libsrcdir}/configure \
16684 $(HOST_CONFIGARGS) $${srcdiroption} \
16685 @stage2_werror_flag@
16686 @endif ld-bootstrap
16692 .PHONY: all-ld maybe-all-ld
16693 maybe-all-ld:
16694 @if gcc-bootstrap
16695 all-ld: stage_current
16696 @endif gcc-bootstrap
16697 @if ld
16698 TARGET-ld=all
16699 maybe-all-ld: all-ld
16700 all-ld: configure-ld
16701 @r=`${PWD_COMMAND}`; export r; \
16702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16703 $(HOST_EXPORTS) \
16704 (cd $(HOST_SUBDIR)/ld && \
16705 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
16706 @endif ld
16710 .PHONY: all-stage1-ld maybe-all-stage1-ld
16711 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
16712 maybe-all-stage1-ld:
16713 maybe-clean-stage1-ld:
16714 @if ld-bootstrap
16715 maybe-all-stage1-ld: all-stage1-ld
16716 all-stage1: all-stage1-ld
16717 TARGET-stage1-ld = $(TARGET-ld)
16718 all-stage1-ld: configure-stage1-ld
16719 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16720 @r=`${PWD_COMMAND}`; export r; \
16721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16722 $(HOST_EXPORTS) \
16723 cd $(HOST_SUBDIR)/ld && \
16724 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
16725 $(TARGET-stage1-ld)
16727 maybe-clean-stage1-ld: clean-stage1-ld
16728 clean-stage1: clean-stage1-ld
16729 clean-stage1-ld:
16730 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] \
16731 || exit 0 ; \
16732 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
16733 cd $(HOST_SUBDIR)/ld && \
16734 $(MAKE) $(FLAGS_TO_PASS) \
16735 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
16736 @endif ld-bootstrap
16739 .PHONY: all-stage2-ld maybe-all-stage2-ld
16740 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
16741 maybe-all-stage2-ld:
16742 maybe-clean-stage2-ld:
16743 @if ld-bootstrap
16744 maybe-all-stage2-ld: all-stage2-ld
16745 all-stage2: all-stage2-ld
16746 TARGET-stage2-ld = $(TARGET-ld)
16747 all-stage2-ld: configure-stage2-ld
16748 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16749 @r=`${PWD_COMMAND}`; export r; \
16750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16751 $(HOST_EXPORTS) \
16752 $(POSTSTAGE1_HOST_EXPORTS) \
16753 cd $(HOST_SUBDIR)/ld && \
16754 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16755 $(TARGET-stage2-ld)
16757 maybe-clean-stage2-ld: clean-stage2-ld
16758 clean-stage2: clean-stage2-ld
16759 clean-stage2-ld:
16760 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] \
16761 || exit 0 ; \
16762 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
16763 cd $(HOST_SUBDIR)/ld && \
16764 $(MAKE) $(FLAGS_TO_PASS) \
16765 $(POSTSTAGE1_FLAGS_TO_PASS) \
16766 clean
16767 @endif ld-bootstrap
16770 .PHONY: all-stage3-ld maybe-all-stage3-ld
16771 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
16772 maybe-all-stage3-ld:
16773 maybe-clean-stage3-ld:
16774 @if ld-bootstrap
16775 maybe-all-stage3-ld: all-stage3-ld
16776 all-stage3: all-stage3-ld
16777 TARGET-stage3-ld = $(TARGET-ld)
16778 all-stage3-ld: configure-stage3-ld
16779 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16780 @r=`${PWD_COMMAND}`; export r; \
16781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16782 $(HOST_EXPORTS) \
16783 $(POSTSTAGE1_HOST_EXPORTS) \
16784 cd $(HOST_SUBDIR)/ld && \
16785 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16786 $(TARGET-stage3-ld)
16788 maybe-clean-stage3-ld: clean-stage3-ld
16789 clean-stage3: clean-stage3-ld
16790 clean-stage3-ld:
16791 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] \
16792 || exit 0 ; \
16793 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
16794 cd $(HOST_SUBDIR)/ld && \
16795 $(MAKE) $(FLAGS_TO_PASS) \
16796 $(POSTSTAGE1_FLAGS_TO_PASS) \
16797 clean
16798 @endif ld-bootstrap
16801 .PHONY: all-stage4-ld maybe-all-stage4-ld
16802 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
16803 maybe-all-stage4-ld:
16804 maybe-clean-stage4-ld:
16805 @if ld-bootstrap
16806 maybe-all-stage4-ld: all-stage4-ld
16807 all-stage4: all-stage4-ld
16808 TARGET-stage4-ld = $(TARGET-ld)
16809 all-stage4-ld: configure-stage4-ld
16810 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16811 @r=`${PWD_COMMAND}`; export r; \
16812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16813 $(HOST_EXPORTS) \
16814 $(POSTSTAGE1_HOST_EXPORTS) \
16815 cd $(HOST_SUBDIR)/ld && \
16816 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16817 $(TARGET-stage4-ld)
16819 maybe-clean-stage4-ld: clean-stage4-ld
16820 clean-stage4: clean-stage4-ld
16821 clean-stage4-ld:
16822 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] \
16823 || exit 0 ; \
16824 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
16825 cd $(HOST_SUBDIR)/ld && \
16826 $(MAKE) $(FLAGS_TO_PASS) \
16827 $(POSTSTAGE1_FLAGS_TO_PASS) \
16828 clean
16829 @endif ld-bootstrap
16832 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
16833 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
16834 maybe-all-stageprofile-ld:
16835 maybe-clean-stageprofile-ld:
16836 @if ld-bootstrap
16837 maybe-all-stageprofile-ld: all-stageprofile-ld
16838 all-stageprofile: all-stageprofile-ld
16839 TARGET-stageprofile-ld = $(TARGET-ld)
16840 all-stageprofile-ld: configure-stageprofile-ld
16841 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16842 @r=`${PWD_COMMAND}`; export r; \
16843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16844 $(HOST_EXPORTS) \
16845 $(POSTSTAGE1_HOST_EXPORTS) \
16846 cd $(HOST_SUBDIR)/ld && \
16847 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16848 $(TARGET-stageprofile-ld)
16850 maybe-clean-stageprofile-ld: clean-stageprofile-ld
16851 clean-stageprofile: clean-stageprofile-ld
16852 clean-stageprofile-ld:
16853 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] \
16854 || exit 0 ; \
16855 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
16856 cd $(HOST_SUBDIR)/ld && \
16857 $(MAKE) $(FLAGS_TO_PASS) \
16858 $(POSTSTAGE1_FLAGS_TO_PASS) \
16859 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16860 @endif ld-bootstrap
16863 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
16864 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
16865 maybe-all-stagefeedback-ld:
16866 maybe-clean-stagefeedback-ld:
16867 @if ld-bootstrap
16868 maybe-all-stagefeedback-ld: all-stagefeedback-ld
16869 all-stagefeedback: all-stagefeedback-ld
16870 TARGET-stagefeedback-ld = $(TARGET-ld)
16871 all-stagefeedback-ld: configure-stagefeedback-ld
16872 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16873 @r=`${PWD_COMMAND}`; export r; \
16874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16875 $(HOST_EXPORTS) \
16876 $(POSTSTAGE1_HOST_EXPORTS) \
16877 cd $(HOST_SUBDIR)/ld && \
16878 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16879 $(TARGET-stagefeedback-ld)
16881 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
16882 clean-stagefeedback: clean-stagefeedback-ld
16883 clean-stagefeedback-ld:
16884 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] \
16885 || exit 0 ; \
16886 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
16887 cd $(HOST_SUBDIR)/ld && \
16888 $(MAKE) $(FLAGS_TO_PASS) \
16889 $(POSTSTAGE1_FLAGS_TO_PASS) \
16890 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16891 @endif ld-bootstrap
16897 .PHONY: check-ld maybe-check-ld
16898 maybe-check-ld:
16899 @if ld
16900 maybe-check-ld: check-ld
16902 check-ld:
16903 @: $(MAKE); $(unstage)
16904 @r=`${PWD_COMMAND}`; export r; \
16905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16906 $(HOST_EXPORTS) \
16907 (cd $(HOST_SUBDIR)/ld && \
16908 $(MAKE) $(FLAGS_TO_PASS) check)
16910 @endif ld
16912 .PHONY: install-ld maybe-install-ld
16913 maybe-install-ld:
16914 @if ld
16915 maybe-install-ld: install-ld
16917 install-ld: installdirs
16918 @: $(MAKE); $(unstage)
16919 @r=`${PWD_COMMAND}`; export r; \
16920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16921 $(HOST_EXPORTS) \
16922 (cd $(HOST_SUBDIR)/ld && \
16923 $(MAKE) $(FLAGS_TO_PASS) install)
16925 @endif ld
16927 # Other targets (info, dvi, etc.)
16929 .PHONY: maybe-info-ld info-ld
16930 maybe-info-ld:
16931 @if ld
16932 maybe-info-ld: info-ld
16934 info-ld: \
16935 configure-ld
16936 @[ -f ./ld/Makefile ] || exit 0; \
16937 r=`${PWD_COMMAND}`; export r; \
16938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16939 $(HOST_EXPORTS) \
16940 for flag in $(EXTRA_HOST_FLAGS) ; do \
16941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16942 done; \
16943 echo "Doing info in ld" ; \
16944 (cd $(HOST_SUBDIR)/ld && \
16945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16947 "RANLIB=$${RANLIB}" \
16948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16949 info) \
16950 || exit 1
16952 @endif ld
16954 .PHONY: maybe-dvi-ld dvi-ld
16955 maybe-dvi-ld:
16956 @if ld
16957 maybe-dvi-ld: dvi-ld
16959 dvi-ld: \
16960 configure-ld
16961 @[ -f ./ld/Makefile ] || exit 0; \
16962 r=`${PWD_COMMAND}`; export r; \
16963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16964 $(HOST_EXPORTS) \
16965 for flag in $(EXTRA_HOST_FLAGS) ; do \
16966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16967 done; \
16968 echo "Doing dvi in ld" ; \
16969 (cd $(HOST_SUBDIR)/ld && \
16970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16972 "RANLIB=$${RANLIB}" \
16973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16974 dvi) \
16975 || exit 1
16977 @endif ld
16979 .PHONY: maybe-html-ld html-ld
16980 maybe-html-ld:
16981 @if ld
16982 maybe-html-ld: html-ld
16984 html-ld: \
16985 configure-ld
16986 @[ -f ./ld/Makefile ] || exit 0; \
16987 r=`${PWD_COMMAND}`; export r; \
16988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16989 $(HOST_EXPORTS) \
16990 for flag in $(EXTRA_HOST_FLAGS) ; do \
16991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16992 done; \
16993 echo "Doing html in ld" ; \
16994 (cd $(HOST_SUBDIR)/ld && \
16995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16997 "RANLIB=$${RANLIB}" \
16998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16999 html) \
17000 || exit 1
17002 @endif ld
17004 .PHONY: maybe-TAGS-ld TAGS-ld
17005 maybe-TAGS-ld:
17006 @if ld
17007 maybe-TAGS-ld: TAGS-ld
17009 TAGS-ld: \
17010 configure-ld
17011 @[ -f ./ld/Makefile ] || exit 0; \
17012 r=`${PWD_COMMAND}`; export r; \
17013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17014 $(HOST_EXPORTS) \
17015 for flag in $(EXTRA_HOST_FLAGS) ; do \
17016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17017 done; \
17018 echo "Doing TAGS in ld" ; \
17019 (cd $(HOST_SUBDIR)/ld && \
17020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17022 "RANLIB=$${RANLIB}" \
17023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17024 TAGS) \
17025 || exit 1
17027 @endif ld
17029 .PHONY: maybe-install-info-ld install-info-ld
17030 maybe-install-info-ld:
17031 @if ld
17032 maybe-install-info-ld: install-info-ld
17034 install-info-ld: \
17035 configure-ld \
17036 info-ld
17037 @[ -f ./ld/Makefile ] || exit 0; \
17038 r=`${PWD_COMMAND}`; export r; \
17039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17040 $(HOST_EXPORTS) \
17041 for flag in $(EXTRA_HOST_FLAGS) ; do \
17042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17043 done; \
17044 echo "Doing install-info in ld" ; \
17045 (cd $(HOST_SUBDIR)/ld && \
17046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17048 "RANLIB=$${RANLIB}" \
17049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17050 install-info) \
17051 || exit 1
17053 @endif ld
17055 .PHONY: maybe-install-html-ld install-html-ld
17056 maybe-install-html-ld:
17057 @if ld
17058 maybe-install-html-ld: install-html-ld
17060 install-html-ld: \
17061 configure-ld \
17062 html-ld
17063 @[ -f ./ld/Makefile ] || exit 0; \
17064 r=`${PWD_COMMAND}`; export r; \
17065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17066 $(HOST_EXPORTS) \
17067 for flag in $(EXTRA_HOST_FLAGS) ; do \
17068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17069 done; \
17070 echo "Doing install-html in ld" ; \
17071 (cd $(HOST_SUBDIR)/ld && \
17072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17074 "RANLIB=$${RANLIB}" \
17075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17076 install-html) \
17077 || exit 1
17079 @endif ld
17081 .PHONY: maybe-installcheck-ld installcheck-ld
17082 maybe-installcheck-ld:
17083 @if ld
17084 maybe-installcheck-ld: installcheck-ld
17086 installcheck-ld: \
17087 configure-ld
17088 @[ -f ./ld/Makefile ] || exit 0; \
17089 r=`${PWD_COMMAND}`; export r; \
17090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17091 $(HOST_EXPORTS) \
17092 for flag in $(EXTRA_HOST_FLAGS) ; do \
17093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17094 done; \
17095 echo "Doing installcheck in ld" ; \
17096 (cd $(HOST_SUBDIR)/ld && \
17097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17099 "RANLIB=$${RANLIB}" \
17100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17101 installcheck) \
17102 || exit 1
17104 @endif ld
17106 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
17107 maybe-mostlyclean-ld:
17108 @if ld
17109 maybe-mostlyclean-ld: mostlyclean-ld
17111 mostlyclean-ld:
17112 @[ -f ./ld/Makefile ] || exit 0; \
17113 r=`${PWD_COMMAND}`; export r; \
17114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17115 $(HOST_EXPORTS) \
17116 for flag in $(EXTRA_HOST_FLAGS) ; do \
17117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17118 done; \
17119 echo "Doing mostlyclean in ld" ; \
17120 (cd $(HOST_SUBDIR)/ld && \
17121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17123 "RANLIB=$${RANLIB}" \
17124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17125 mostlyclean) \
17126 || exit 1
17128 @endif ld
17130 .PHONY: maybe-clean-ld clean-ld
17131 maybe-clean-ld:
17132 @if ld
17133 maybe-clean-ld: clean-ld
17135 clean-ld:
17136 @[ -f ./ld/Makefile ] || exit 0; \
17137 r=`${PWD_COMMAND}`; export r; \
17138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17139 $(HOST_EXPORTS) \
17140 for flag in $(EXTRA_HOST_FLAGS) ; do \
17141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17142 done; \
17143 echo "Doing clean in ld" ; \
17144 (cd $(HOST_SUBDIR)/ld && \
17145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17147 "RANLIB=$${RANLIB}" \
17148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17149 clean) \
17150 || exit 1
17152 @endif ld
17154 .PHONY: maybe-distclean-ld distclean-ld
17155 maybe-distclean-ld:
17156 @if ld
17157 maybe-distclean-ld: distclean-ld
17159 distclean-ld:
17160 @[ -f ./ld/Makefile ] || exit 0; \
17161 r=`${PWD_COMMAND}`; export r; \
17162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17163 $(HOST_EXPORTS) \
17164 for flag in $(EXTRA_HOST_FLAGS) ; do \
17165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17166 done; \
17167 echo "Doing distclean in ld" ; \
17168 (cd $(HOST_SUBDIR)/ld && \
17169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17171 "RANLIB=$${RANLIB}" \
17172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17173 distclean) \
17174 || exit 1
17176 @endif ld
17178 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
17179 maybe-maintainer-clean-ld:
17180 @if ld
17181 maybe-maintainer-clean-ld: maintainer-clean-ld
17183 maintainer-clean-ld:
17184 @[ -f ./ld/Makefile ] || exit 0; \
17185 r=`${PWD_COMMAND}`; export r; \
17186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17187 $(HOST_EXPORTS) \
17188 for flag in $(EXTRA_HOST_FLAGS) ; do \
17189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17190 done; \
17191 echo "Doing maintainer-clean in ld" ; \
17192 (cd $(HOST_SUBDIR)/ld && \
17193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17195 "RANLIB=$${RANLIB}" \
17196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17197 maintainer-clean) \
17198 || exit 1
17200 @endif ld
17204 .PHONY: configure-libcpp maybe-configure-libcpp
17205 maybe-configure-libcpp:
17206 @if gcc-bootstrap
17207 configure-libcpp: stage_current
17208 @endif gcc-bootstrap
17209 @if libcpp
17210 maybe-configure-libcpp: configure-libcpp
17211 configure-libcpp:
17212 @r=`${PWD_COMMAND}`; export r; \
17213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17214 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17215 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17216 $(HOST_EXPORTS) \
17217 echo Configuring in $(HOST_SUBDIR)/libcpp; \
17218 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
17219 case $(srcdir) in \
17220 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17221 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17222 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17223 esac; \
17224 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17225 libsrcdir="$$s/libcpp"; \
17226 $(SHELL) $${libsrcdir}/configure \
17227 $(HOST_CONFIGARGS) $${srcdiroption} \
17228 || exit 1
17229 @endif libcpp
17233 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
17234 maybe-configure-stage1-libcpp:
17235 @if libcpp-bootstrap
17236 maybe-configure-stage1-libcpp: configure-stage1-libcpp
17237 configure-stage1-libcpp:
17238 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17239 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17240 @r=`${PWD_COMMAND}`; export r; \
17241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17242 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17243 $(HOST_EXPORTS) \
17244 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
17245 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17246 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17247 case $(srcdir) in \
17248 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17249 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17250 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17251 esac; \
17252 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17253 libsrcdir="$$s/libcpp"; \
17254 $(SHELL) $${libsrcdir}/configure \
17255 $(HOST_CONFIGARGS) $${srcdiroption} \
17256 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17257 @endif libcpp-bootstrap
17259 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
17260 maybe-configure-stage2-libcpp:
17261 @if libcpp-bootstrap
17262 maybe-configure-stage2-libcpp: configure-stage2-libcpp
17263 configure-stage2-libcpp:
17264 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17265 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17266 @r=`${PWD_COMMAND}`; export r; \
17267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17268 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17269 $(HOST_EXPORTS) \
17270 $(POSTSTAGE1_HOST_EXPORTS) \
17271 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
17272 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17273 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17274 case $(srcdir) in \
17275 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17276 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17277 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17278 esac; \
17279 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17280 libsrcdir="$$s/libcpp"; \
17281 $(SHELL) $${libsrcdir}/configure \
17282 $(HOST_CONFIGARGS) $${srcdiroption} \
17283 @stage2_werror_flag@
17284 @endif libcpp-bootstrap
17286 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
17287 maybe-configure-stage3-libcpp:
17288 @if libcpp-bootstrap
17289 maybe-configure-stage3-libcpp: configure-stage3-libcpp
17290 configure-stage3-libcpp:
17291 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17292 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17293 @r=`${PWD_COMMAND}`; export r; \
17294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17295 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17296 $(HOST_EXPORTS) \
17297 $(POSTSTAGE1_HOST_EXPORTS) \
17298 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
17299 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17300 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17301 case $(srcdir) in \
17302 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17303 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17304 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17305 esac; \
17306 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17307 libsrcdir="$$s/libcpp"; \
17308 $(SHELL) $${libsrcdir}/configure \
17309 $(HOST_CONFIGARGS) $${srcdiroption} \
17310 @stage2_werror_flag@
17311 @endif libcpp-bootstrap
17313 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
17314 maybe-configure-stage4-libcpp:
17315 @if libcpp-bootstrap
17316 maybe-configure-stage4-libcpp: configure-stage4-libcpp
17317 configure-stage4-libcpp:
17318 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17319 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17320 @r=`${PWD_COMMAND}`; export r; \
17321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17322 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17323 $(HOST_EXPORTS) \
17324 $(POSTSTAGE1_HOST_EXPORTS) \
17325 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
17326 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17327 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17328 case $(srcdir) in \
17329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17330 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17332 esac; \
17333 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17334 libsrcdir="$$s/libcpp"; \
17335 $(SHELL) $${libsrcdir}/configure \
17336 $(HOST_CONFIGARGS) $${srcdiroption} \
17337 @stage2_werror_flag@
17338 @endif libcpp-bootstrap
17340 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
17341 maybe-configure-stageprofile-libcpp:
17342 @if libcpp-bootstrap
17343 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
17344 configure-stageprofile-libcpp:
17345 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17346 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17347 @r=`${PWD_COMMAND}`; export r; \
17348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17349 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17350 $(HOST_EXPORTS) \
17351 $(POSTSTAGE1_HOST_EXPORTS) \
17352 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
17353 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17354 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17355 case $(srcdir) in \
17356 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17357 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17358 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17359 esac; \
17360 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17361 libsrcdir="$$s/libcpp"; \
17362 $(SHELL) $${libsrcdir}/configure \
17363 $(HOST_CONFIGARGS) $${srcdiroption} \
17364 @stage2_werror_flag@
17365 @endif libcpp-bootstrap
17367 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
17368 maybe-configure-stagefeedback-libcpp:
17369 @if libcpp-bootstrap
17370 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
17371 configure-stagefeedback-libcpp:
17372 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17373 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17374 @r=`${PWD_COMMAND}`; export r; \
17375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17376 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17377 $(HOST_EXPORTS) \
17378 $(POSTSTAGE1_HOST_EXPORTS) \
17379 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
17380 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17381 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17382 case $(srcdir) in \
17383 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17384 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17385 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17386 esac; \
17387 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17388 libsrcdir="$$s/libcpp"; \
17389 $(SHELL) $${libsrcdir}/configure \
17390 $(HOST_CONFIGARGS) $${srcdiroption} \
17391 @stage2_werror_flag@
17392 @endif libcpp-bootstrap
17398 .PHONY: all-libcpp maybe-all-libcpp
17399 maybe-all-libcpp:
17400 @if gcc-bootstrap
17401 all-libcpp: stage_current
17402 @endif gcc-bootstrap
17403 @if libcpp
17404 TARGET-libcpp=all
17405 maybe-all-libcpp: all-libcpp
17406 all-libcpp: configure-libcpp
17407 @r=`${PWD_COMMAND}`; export r; \
17408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17409 $(HOST_EXPORTS) \
17410 (cd $(HOST_SUBDIR)/libcpp && \
17411 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
17412 @endif libcpp
17416 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
17417 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
17418 maybe-all-stage1-libcpp:
17419 maybe-clean-stage1-libcpp:
17420 @if libcpp-bootstrap
17421 maybe-all-stage1-libcpp: all-stage1-libcpp
17422 all-stage1: all-stage1-libcpp
17423 TARGET-stage1-libcpp = $(TARGET-libcpp)
17424 all-stage1-libcpp: configure-stage1-libcpp
17425 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17426 @r=`${PWD_COMMAND}`; export r; \
17427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17428 $(HOST_EXPORTS) \
17429 cd $(HOST_SUBDIR)/libcpp && \
17430 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
17431 $(TARGET-stage1-libcpp)
17433 maybe-clean-stage1-libcpp: clean-stage1-libcpp
17434 clean-stage1: clean-stage1-libcpp
17435 clean-stage1-libcpp:
17436 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] \
17437 || exit 0 ; \
17438 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
17439 cd $(HOST_SUBDIR)/libcpp && \
17440 $(MAKE) $(FLAGS_TO_PASS) \
17441 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
17442 @endif libcpp-bootstrap
17445 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
17446 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
17447 maybe-all-stage2-libcpp:
17448 maybe-clean-stage2-libcpp:
17449 @if libcpp-bootstrap
17450 maybe-all-stage2-libcpp: all-stage2-libcpp
17451 all-stage2: all-stage2-libcpp
17452 TARGET-stage2-libcpp = $(TARGET-libcpp)
17453 all-stage2-libcpp: configure-stage2-libcpp
17454 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17455 @r=`${PWD_COMMAND}`; export r; \
17456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17457 $(HOST_EXPORTS) \
17458 $(POSTSTAGE1_HOST_EXPORTS) \
17459 cd $(HOST_SUBDIR)/libcpp && \
17460 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17461 $(TARGET-stage2-libcpp)
17463 maybe-clean-stage2-libcpp: clean-stage2-libcpp
17464 clean-stage2: clean-stage2-libcpp
17465 clean-stage2-libcpp:
17466 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] \
17467 || exit 0 ; \
17468 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
17469 cd $(HOST_SUBDIR)/libcpp && \
17470 $(MAKE) $(FLAGS_TO_PASS) \
17471 $(POSTSTAGE1_FLAGS_TO_PASS) \
17472 clean
17473 @endif libcpp-bootstrap
17476 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
17477 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
17478 maybe-all-stage3-libcpp:
17479 maybe-clean-stage3-libcpp:
17480 @if libcpp-bootstrap
17481 maybe-all-stage3-libcpp: all-stage3-libcpp
17482 all-stage3: all-stage3-libcpp
17483 TARGET-stage3-libcpp = $(TARGET-libcpp)
17484 all-stage3-libcpp: configure-stage3-libcpp
17485 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17486 @r=`${PWD_COMMAND}`; export r; \
17487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17488 $(HOST_EXPORTS) \
17489 $(POSTSTAGE1_HOST_EXPORTS) \
17490 cd $(HOST_SUBDIR)/libcpp && \
17491 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17492 $(TARGET-stage3-libcpp)
17494 maybe-clean-stage3-libcpp: clean-stage3-libcpp
17495 clean-stage3: clean-stage3-libcpp
17496 clean-stage3-libcpp:
17497 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] \
17498 || exit 0 ; \
17499 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
17500 cd $(HOST_SUBDIR)/libcpp && \
17501 $(MAKE) $(FLAGS_TO_PASS) \
17502 $(POSTSTAGE1_FLAGS_TO_PASS) \
17503 clean
17504 @endif libcpp-bootstrap
17507 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
17508 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
17509 maybe-all-stage4-libcpp:
17510 maybe-clean-stage4-libcpp:
17511 @if libcpp-bootstrap
17512 maybe-all-stage4-libcpp: all-stage4-libcpp
17513 all-stage4: all-stage4-libcpp
17514 TARGET-stage4-libcpp = $(TARGET-libcpp)
17515 all-stage4-libcpp: configure-stage4-libcpp
17516 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17517 @r=`${PWD_COMMAND}`; export r; \
17518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17519 $(HOST_EXPORTS) \
17520 $(POSTSTAGE1_HOST_EXPORTS) \
17521 cd $(HOST_SUBDIR)/libcpp && \
17522 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17523 $(TARGET-stage4-libcpp)
17525 maybe-clean-stage4-libcpp: clean-stage4-libcpp
17526 clean-stage4: clean-stage4-libcpp
17527 clean-stage4-libcpp:
17528 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] \
17529 || exit 0 ; \
17530 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
17531 cd $(HOST_SUBDIR)/libcpp && \
17532 $(MAKE) $(FLAGS_TO_PASS) \
17533 $(POSTSTAGE1_FLAGS_TO_PASS) \
17534 clean
17535 @endif libcpp-bootstrap
17538 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
17539 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
17540 maybe-all-stageprofile-libcpp:
17541 maybe-clean-stageprofile-libcpp:
17542 @if libcpp-bootstrap
17543 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
17544 all-stageprofile: all-stageprofile-libcpp
17545 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
17546 all-stageprofile-libcpp: configure-stageprofile-libcpp
17547 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17548 @r=`${PWD_COMMAND}`; export r; \
17549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17550 $(HOST_EXPORTS) \
17551 $(POSTSTAGE1_HOST_EXPORTS) \
17552 cd $(HOST_SUBDIR)/libcpp && \
17553 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
17554 $(TARGET-stageprofile-libcpp)
17556 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
17557 clean-stageprofile: clean-stageprofile-libcpp
17558 clean-stageprofile-libcpp:
17559 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] \
17560 || exit 0 ; \
17561 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
17562 cd $(HOST_SUBDIR)/libcpp && \
17563 $(MAKE) $(FLAGS_TO_PASS) \
17564 $(POSTSTAGE1_FLAGS_TO_PASS) \
17565 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
17566 @endif libcpp-bootstrap
17569 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
17570 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
17571 maybe-all-stagefeedback-libcpp:
17572 maybe-clean-stagefeedback-libcpp:
17573 @if libcpp-bootstrap
17574 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
17575 all-stagefeedback: all-stagefeedback-libcpp
17576 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
17577 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
17578 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17579 @r=`${PWD_COMMAND}`; export r; \
17580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17581 $(HOST_EXPORTS) \
17582 $(POSTSTAGE1_HOST_EXPORTS) \
17583 cd $(HOST_SUBDIR)/libcpp && \
17584 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
17585 $(TARGET-stagefeedback-libcpp)
17587 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
17588 clean-stagefeedback: clean-stagefeedback-libcpp
17589 clean-stagefeedback-libcpp:
17590 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] \
17591 || exit 0 ; \
17592 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
17593 cd $(HOST_SUBDIR)/libcpp && \
17594 $(MAKE) $(FLAGS_TO_PASS) \
17595 $(POSTSTAGE1_FLAGS_TO_PASS) \
17596 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
17597 @endif libcpp-bootstrap
17603 .PHONY: check-libcpp maybe-check-libcpp
17604 maybe-check-libcpp:
17605 @if libcpp
17606 maybe-check-libcpp: check-libcpp
17608 check-libcpp:
17609 @: $(MAKE); $(unstage)
17610 @r=`${PWD_COMMAND}`; export r; \
17611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17612 $(HOST_EXPORTS) \
17613 (cd $(HOST_SUBDIR)/libcpp && \
17614 $(MAKE) $(FLAGS_TO_PASS) check)
17616 @endif libcpp
17618 .PHONY: install-libcpp maybe-install-libcpp
17619 maybe-install-libcpp:
17620 @if libcpp
17621 maybe-install-libcpp: install-libcpp
17623 install-libcpp: installdirs
17624 @: $(MAKE); $(unstage)
17625 @r=`${PWD_COMMAND}`; export r; \
17626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17627 $(HOST_EXPORTS) \
17628 (cd $(HOST_SUBDIR)/libcpp && \
17629 $(MAKE) $(FLAGS_TO_PASS) install)
17631 @endif libcpp
17633 # Other targets (info, dvi, etc.)
17635 .PHONY: maybe-info-libcpp info-libcpp
17636 maybe-info-libcpp:
17637 @if libcpp
17638 maybe-info-libcpp: info-libcpp
17640 info-libcpp: \
17641 configure-libcpp
17642 @[ -f ./libcpp/Makefile ] || exit 0; \
17643 r=`${PWD_COMMAND}`; export r; \
17644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17645 $(HOST_EXPORTS) \
17646 for flag in $(EXTRA_HOST_FLAGS) ; do \
17647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17648 done; \
17649 echo "Doing info in libcpp" ; \
17650 (cd $(HOST_SUBDIR)/libcpp && \
17651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17653 "RANLIB=$${RANLIB}" \
17654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17655 info) \
17656 || exit 1
17658 @endif libcpp
17660 .PHONY: maybe-dvi-libcpp dvi-libcpp
17661 maybe-dvi-libcpp:
17662 @if libcpp
17663 maybe-dvi-libcpp: dvi-libcpp
17665 dvi-libcpp: \
17666 configure-libcpp
17667 @[ -f ./libcpp/Makefile ] || exit 0; \
17668 r=`${PWD_COMMAND}`; export r; \
17669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17670 $(HOST_EXPORTS) \
17671 for flag in $(EXTRA_HOST_FLAGS) ; do \
17672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17673 done; \
17674 echo "Doing dvi in libcpp" ; \
17675 (cd $(HOST_SUBDIR)/libcpp && \
17676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17678 "RANLIB=$${RANLIB}" \
17679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17680 dvi) \
17681 || exit 1
17683 @endif libcpp
17685 .PHONY: maybe-html-libcpp html-libcpp
17686 maybe-html-libcpp:
17687 @if libcpp
17688 maybe-html-libcpp: html-libcpp
17690 html-libcpp: \
17691 configure-libcpp
17692 @[ -f ./libcpp/Makefile ] || exit 0; \
17693 r=`${PWD_COMMAND}`; export r; \
17694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17695 $(HOST_EXPORTS) \
17696 for flag in $(EXTRA_HOST_FLAGS) ; do \
17697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17698 done; \
17699 echo "Doing html in libcpp" ; \
17700 (cd $(HOST_SUBDIR)/libcpp && \
17701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17703 "RANLIB=$${RANLIB}" \
17704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17705 html) \
17706 || exit 1
17708 @endif libcpp
17710 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
17711 maybe-TAGS-libcpp:
17712 @if libcpp
17713 maybe-TAGS-libcpp: TAGS-libcpp
17715 TAGS-libcpp: \
17716 configure-libcpp
17717 @[ -f ./libcpp/Makefile ] || exit 0; \
17718 r=`${PWD_COMMAND}`; export r; \
17719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17720 $(HOST_EXPORTS) \
17721 for flag in $(EXTRA_HOST_FLAGS) ; do \
17722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17723 done; \
17724 echo "Doing TAGS in libcpp" ; \
17725 (cd $(HOST_SUBDIR)/libcpp && \
17726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17728 "RANLIB=$${RANLIB}" \
17729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17730 TAGS) \
17731 || exit 1
17733 @endif libcpp
17735 .PHONY: maybe-install-info-libcpp install-info-libcpp
17736 maybe-install-info-libcpp:
17737 @if libcpp
17738 maybe-install-info-libcpp: install-info-libcpp
17740 install-info-libcpp: \
17741 configure-libcpp \
17742 info-libcpp
17743 @[ -f ./libcpp/Makefile ] || exit 0; \
17744 r=`${PWD_COMMAND}`; export r; \
17745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17746 $(HOST_EXPORTS) \
17747 for flag in $(EXTRA_HOST_FLAGS) ; do \
17748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17749 done; \
17750 echo "Doing install-info in libcpp" ; \
17751 (cd $(HOST_SUBDIR)/libcpp && \
17752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17754 "RANLIB=$${RANLIB}" \
17755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17756 install-info) \
17757 || exit 1
17759 @endif libcpp
17761 .PHONY: maybe-install-html-libcpp install-html-libcpp
17762 maybe-install-html-libcpp:
17763 @if libcpp
17764 maybe-install-html-libcpp: install-html-libcpp
17766 install-html-libcpp: \
17767 configure-libcpp \
17768 html-libcpp
17769 @[ -f ./libcpp/Makefile ] || exit 0; \
17770 r=`${PWD_COMMAND}`; export r; \
17771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17772 $(HOST_EXPORTS) \
17773 for flag in $(EXTRA_HOST_FLAGS) ; do \
17774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17775 done; \
17776 echo "Doing install-html in libcpp" ; \
17777 (cd $(HOST_SUBDIR)/libcpp && \
17778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17780 "RANLIB=$${RANLIB}" \
17781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17782 install-html) \
17783 || exit 1
17785 @endif libcpp
17787 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
17788 maybe-installcheck-libcpp:
17789 @if libcpp
17790 maybe-installcheck-libcpp: installcheck-libcpp
17792 installcheck-libcpp: \
17793 configure-libcpp
17794 @[ -f ./libcpp/Makefile ] || exit 0; \
17795 r=`${PWD_COMMAND}`; export r; \
17796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17797 $(HOST_EXPORTS) \
17798 for flag in $(EXTRA_HOST_FLAGS) ; do \
17799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17800 done; \
17801 echo "Doing installcheck in libcpp" ; \
17802 (cd $(HOST_SUBDIR)/libcpp && \
17803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17805 "RANLIB=$${RANLIB}" \
17806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17807 installcheck) \
17808 || exit 1
17810 @endif libcpp
17812 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
17813 maybe-mostlyclean-libcpp:
17814 @if libcpp
17815 maybe-mostlyclean-libcpp: mostlyclean-libcpp
17817 mostlyclean-libcpp:
17818 @[ -f ./libcpp/Makefile ] || exit 0; \
17819 r=`${PWD_COMMAND}`; export r; \
17820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17821 $(HOST_EXPORTS) \
17822 for flag in $(EXTRA_HOST_FLAGS) ; do \
17823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17824 done; \
17825 echo "Doing mostlyclean in libcpp" ; \
17826 (cd $(HOST_SUBDIR)/libcpp && \
17827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17829 "RANLIB=$${RANLIB}" \
17830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17831 mostlyclean) \
17832 || exit 1
17834 @endif libcpp
17836 .PHONY: maybe-clean-libcpp clean-libcpp
17837 maybe-clean-libcpp:
17838 @if libcpp
17839 maybe-clean-libcpp: clean-libcpp
17841 clean-libcpp:
17842 @[ -f ./libcpp/Makefile ] || exit 0; \
17843 r=`${PWD_COMMAND}`; export r; \
17844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17845 $(HOST_EXPORTS) \
17846 for flag in $(EXTRA_HOST_FLAGS) ; do \
17847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17848 done; \
17849 echo "Doing clean in libcpp" ; \
17850 (cd $(HOST_SUBDIR)/libcpp && \
17851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17853 "RANLIB=$${RANLIB}" \
17854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17855 clean) \
17856 || exit 1
17858 @endif libcpp
17860 .PHONY: maybe-distclean-libcpp distclean-libcpp
17861 maybe-distclean-libcpp:
17862 @if libcpp
17863 maybe-distclean-libcpp: distclean-libcpp
17865 distclean-libcpp:
17866 @[ -f ./libcpp/Makefile ] || exit 0; \
17867 r=`${PWD_COMMAND}`; export r; \
17868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17869 $(HOST_EXPORTS) \
17870 for flag in $(EXTRA_HOST_FLAGS) ; do \
17871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17872 done; \
17873 echo "Doing distclean in libcpp" ; \
17874 (cd $(HOST_SUBDIR)/libcpp && \
17875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17877 "RANLIB=$${RANLIB}" \
17878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17879 distclean) \
17880 || exit 1
17882 @endif libcpp
17884 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
17885 maybe-maintainer-clean-libcpp:
17886 @if libcpp
17887 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
17889 maintainer-clean-libcpp:
17890 @[ -f ./libcpp/Makefile ] || exit 0; \
17891 r=`${PWD_COMMAND}`; export r; \
17892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17893 $(HOST_EXPORTS) \
17894 for flag in $(EXTRA_HOST_FLAGS) ; do \
17895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17896 done; \
17897 echo "Doing maintainer-clean in libcpp" ; \
17898 (cd $(HOST_SUBDIR)/libcpp && \
17899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17901 "RANLIB=$${RANLIB}" \
17902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17903 maintainer-clean) \
17904 || exit 1
17906 @endif libcpp
17910 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
17911 maybe-configure-libdecnumber:
17912 @if gcc-bootstrap
17913 configure-libdecnumber: stage_current
17914 @endif gcc-bootstrap
17915 @if libdecnumber
17916 maybe-configure-libdecnumber: configure-libdecnumber
17917 configure-libdecnumber:
17918 @r=`${PWD_COMMAND}`; export r; \
17919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17920 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17921 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17922 $(HOST_EXPORTS) \
17923 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
17924 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
17925 case $(srcdir) in \
17926 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17927 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17928 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17929 esac; \
17930 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17931 libsrcdir="$$s/libdecnumber"; \
17932 $(SHELL) $${libsrcdir}/configure \
17933 $(HOST_CONFIGARGS) $${srcdiroption} \
17934 || exit 1
17935 @endif libdecnumber
17939 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
17940 maybe-configure-stage1-libdecnumber:
17941 @if libdecnumber-bootstrap
17942 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
17943 configure-stage1-libdecnumber:
17944 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17945 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
17946 @r=`${PWD_COMMAND}`; export r; \
17947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17948 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17949 $(HOST_EXPORTS) \
17950 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
17951 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17952 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
17953 case $(srcdir) in \
17954 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17955 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17956 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17957 esac; \
17958 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17959 libsrcdir="$$s/libdecnumber"; \
17960 $(SHELL) $${libsrcdir}/configure \
17961 $(HOST_CONFIGARGS) $${srcdiroption} \
17962 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17963 @endif libdecnumber-bootstrap
17965 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
17966 maybe-configure-stage2-libdecnumber:
17967 @if libdecnumber-bootstrap
17968 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
17969 configure-stage2-libdecnumber:
17970 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17971 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
17972 @r=`${PWD_COMMAND}`; export r; \
17973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17974 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17975 $(HOST_EXPORTS) \
17976 $(POSTSTAGE1_HOST_EXPORTS) \
17977 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
17978 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17979 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
17980 case $(srcdir) in \
17981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17982 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17984 esac; \
17985 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17986 libsrcdir="$$s/libdecnumber"; \
17987 $(SHELL) $${libsrcdir}/configure \
17988 $(HOST_CONFIGARGS) $${srcdiroption} \
17989 @stage2_werror_flag@
17990 @endif libdecnumber-bootstrap
17992 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
17993 maybe-configure-stage3-libdecnumber:
17994 @if libdecnumber-bootstrap
17995 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
17996 configure-stage3-libdecnumber:
17997 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17998 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
17999 @r=`${PWD_COMMAND}`; export r; \
18000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18001 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
18002 $(HOST_EXPORTS) \
18003 $(POSTSTAGE1_HOST_EXPORTS) \
18004 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
18005 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
18006 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
18007 case $(srcdir) in \
18008 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18009 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
18010 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18011 esac; \
18012 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
18013 libsrcdir="$$s/libdecnumber"; \
18014 $(SHELL) $${libsrcdir}/configure \
18015 $(HOST_CONFIGARGS) $${srcdiroption} \
18016 @stage2_werror_flag@
18017 @endif libdecnumber-bootstrap
18019 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
18020 maybe-configure-stage4-libdecnumber:
18021 @if libdecnumber-bootstrap
18022 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
18023 configure-stage4-libdecnumber:
18024 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18025 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
18026 @r=`${PWD_COMMAND}`; export r; \
18027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18028 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
18029 $(HOST_EXPORTS) \
18030 $(POSTSTAGE1_HOST_EXPORTS) \
18031 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
18032 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
18033 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
18034 case $(srcdir) in \
18035 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18036 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
18037 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18038 esac; \
18039 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
18040 libsrcdir="$$s/libdecnumber"; \
18041 $(SHELL) $${libsrcdir}/configure \
18042 $(HOST_CONFIGARGS) $${srcdiroption} \
18043 @stage2_werror_flag@
18044 @endif libdecnumber-bootstrap
18046 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
18047 maybe-configure-stageprofile-libdecnumber:
18048 @if libdecnumber-bootstrap
18049 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
18050 configure-stageprofile-libdecnumber:
18051 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18052 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
18053 @r=`${PWD_COMMAND}`; export r; \
18054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18055 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
18056 $(HOST_EXPORTS) \
18057 $(POSTSTAGE1_HOST_EXPORTS) \
18058 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
18059 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
18060 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
18061 case $(srcdir) in \
18062 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18063 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
18064 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18065 esac; \
18066 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
18067 libsrcdir="$$s/libdecnumber"; \
18068 $(SHELL) $${libsrcdir}/configure \
18069 $(HOST_CONFIGARGS) $${srcdiroption} \
18070 @stage2_werror_flag@
18071 @endif libdecnumber-bootstrap
18073 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
18074 maybe-configure-stagefeedback-libdecnumber:
18075 @if libdecnumber-bootstrap
18076 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
18077 configure-stagefeedback-libdecnumber:
18078 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18079 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
18080 @r=`${PWD_COMMAND}`; export r; \
18081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18082 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
18083 $(HOST_EXPORTS) \
18084 $(POSTSTAGE1_HOST_EXPORTS) \
18085 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
18086 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
18087 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
18088 case $(srcdir) in \
18089 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18090 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
18091 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18092 esac; \
18093 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
18094 libsrcdir="$$s/libdecnumber"; \
18095 $(SHELL) $${libsrcdir}/configure \
18096 $(HOST_CONFIGARGS) $${srcdiroption} \
18097 @stage2_werror_flag@
18098 @endif libdecnumber-bootstrap
18104 .PHONY: all-libdecnumber maybe-all-libdecnumber
18105 maybe-all-libdecnumber:
18106 @if gcc-bootstrap
18107 all-libdecnumber: stage_current
18108 @endif gcc-bootstrap
18109 @if libdecnumber
18110 TARGET-libdecnumber=all
18111 maybe-all-libdecnumber: all-libdecnumber
18112 all-libdecnumber: configure-libdecnumber
18113 @r=`${PWD_COMMAND}`; export r; \
18114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18115 $(HOST_EXPORTS) \
18116 (cd $(HOST_SUBDIR)/libdecnumber && \
18117 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libdecnumber))
18118 @endif libdecnumber
18122 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
18123 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
18124 maybe-all-stage1-libdecnumber:
18125 maybe-clean-stage1-libdecnumber:
18126 @if libdecnumber-bootstrap
18127 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
18128 all-stage1: all-stage1-libdecnumber
18129 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
18130 all-stage1-libdecnumber: configure-stage1-libdecnumber
18131 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18132 @r=`${PWD_COMMAND}`; export r; \
18133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18134 $(HOST_EXPORTS) \
18135 cd $(HOST_SUBDIR)/libdecnumber && \
18136 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
18137 $(TARGET-stage1-libdecnumber)
18139 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
18140 clean-stage1: clean-stage1-libdecnumber
18141 clean-stage1-libdecnumber:
18142 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] \
18143 || exit 0 ; \
18144 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
18145 cd $(HOST_SUBDIR)/libdecnumber && \
18146 $(MAKE) $(FLAGS_TO_PASS) \
18147 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
18148 @endif libdecnumber-bootstrap
18151 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
18152 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
18153 maybe-all-stage2-libdecnumber:
18154 maybe-clean-stage2-libdecnumber:
18155 @if libdecnumber-bootstrap
18156 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
18157 all-stage2: all-stage2-libdecnumber
18158 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
18159 all-stage2-libdecnumber: configure-stage2-libdecnumber
18160 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18161 @r=`${PWD_COMMAND}`; export r; \
18162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18163 $(HOST_EXPORTS) \
18164 $(POSTSTAGE1_HOST_EXPORTS) \
18165 cd $(HOST_SUBDIR)/libdecnumber && \
18166 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18167 $(TARGET-stage2-libdecnumber)
18169 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
18170 clean-stage2: clean-stage2-libdecnumber
18171 clean-stage2-libdecnumber:
18172 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] \
18173 || exit 0 ; \
18174 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
18175 cd $(HOST_SUBDIR)/libdecnumber && \
18176 $(MAKE) $(FLAGS_TO_PASS) \
18177 $(POSTSTAGE1_FLAGS_TO_PASS) \
18178 clean
18179 @endif libdecnumber-bootstrap
18182 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
18183 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
18184 maybe-all-stage3-libdecnumber:
18185 maybe-clean-stage3-libdecnumber:
18186 @if libdecnumber-bootstrap
18187 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
18188 all-stage3: all-stage3-libdecnumber
18189 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
18190 all-stage3-libdecnumber: configure-stage3-libdecnumber
18191 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18192 @r=`${PWD_COMMAND}`; export r; \
18193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18194 $(HOST_EXPORTS) \
18195 $(POSTSTAGE1_HOST_EXPORTS) \
18196 cd $(HOST_SUBDIR)/libdecnumber && \
18197 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18198 $(TARGET-stage3-libdecnumber)
18200 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
18201 clean-stage3: clean-stage3-libdecnumber
18202 clean-stage3-libdecnumber:
18203 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] \
18204 || exit 0 ; \
18205 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
18206 cd $(HOST_SUBDIR)/libdecnumber && \
18207 $(MAKE) $(FLAGS_TO_PASS) \
18208 $(POSTSTAGE1_FLAGS_TO_PASS) \
18209 clean
18210 @endif libdecnumber-bootstrap
18213 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
18214 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
18215 maybe-all-stage4-libdecnumber:
18216 maybe-clean-stage4-libdecnumber:
18217 @if libdecnumber-bootstrap
18218 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
18219 all-stage4: all-stage4-libdecnumber
18220 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
18221 all-stage4-libdecnumber: configure-stage4-libdecnumber
18222 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18223 @r=`${PWD_COMMAND}`; export r; \
18224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18225 $(HOST_EXPORTS) \
18226 $(POSTSTAGE1_HOST_EXPORTS) \
18227 cd $(HOST_SUBDIR)/libdecnumber && \
18228 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18229 $(TARGET-stage4-libdecnumber)
18231 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
18232 clean-stage4: clean-stage4-libdecnumber
18233 clean-stage4-libdecnumber:
18234 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] \
18235 || exit 0 ; \
18236 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
18237 cd $(HOST_SUBDIR)/libdecnumber && \
18238 $(MAKE) $(FLAGS_TO_PASS) \
18239 $(POSTSTAGE1_FLAGS_TO_PASS) \
18240 clean
18241 @endif libdecnumber-bootstrap
18244 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
18245 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
18246 maybe-all-stageprofile-libdecnumber:
18247 maybe-clean-stageprofile-libdecnumber:
18248 @if libdecnumber-bootstrap
18249 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
18250 all-stageprofile: all-stageprofile-libdecnumber
18251 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
18252 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
18253 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18254 @r=`${PWD_COMMAND}`; export r; \
18255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18256 $(HOST_EXPORTS) \
18257 $(POSTSTAGE1_HOST_EXPORTS) \
18258 cd $(HOST_SUBDIR)/libdecnumber && \
18259 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
18260 $(TARGET-stageprofile-libdecnumber)
18262 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
18263 clean-stageprofile: clean-stageprofile-libdecnumber
18264 clean-stageprofile-libdecnumber:
18265 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] \
18266 || exit 0 ; \
18267 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
18268 cd $(HOST_SUBDIR)/libdecnumber && \
18269 $(MAKE) $(FLAGS_TO_PASS) \
18270 $(POSTSTAGE1_FLAGS_TO_PASS) \
18271 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
18272 @endif libdecnumber-bootstrap
18275 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
18276 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
18277 maybe-all-stagefeedback-libdecnumber:
18278 maybe-clean-stagefeedback-libdecnumber:
18279 @if libdecnumber-bootstrap
18280 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
18281 all-stagefeedback: all-stagefeedback-libdecnumber
18282 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
18283 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
18284 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18285 @r=`${PWD_COMMAND}`; export r; \
18286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18287 $(HOST_EXPORTS) \
18288 $(POSTSTAGE1_HOST_EXPORTS) \
18289 cd $(HOST_SUBDIR)/libdecnumber && \
18290 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
18291 $(TARGET-stagefeedback-libdecnumber)
18293 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
18294 clean-stagefeedback: clean-stagefeedback-libdecnumber
18295 clean-stagefeedback-libdecnumber:
18296 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] \
18297 || exit 0 ; \
18298 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
18299 cd $(HOST_SUBDIR)/libdecnumber && \
18300 $(MAKE) $(FLAGS_TO_PASS) \
18301 $(POSTSTAGE1_FLAGS_TO_PASS) \
18302 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
18303 @endif libdecnumber-bootstrap
18309 .PHONY: check-libdecnumber maybe-check-libdecnumber
18310 maybe-check-libdecnumber:
18311 @if libdecnumber
18312 maybe-check-libdecnumber: check-libdecnumber
18314 check-libdecnumber:
18315 @: $(MAKE); $(unstage)
18316 @r=`${PWD_COMMAND}`; export r; \
18317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18318 $(HOST_EXPORTS) \
18319 (cd $(HOST_SUBDIR)/libdecnumber && \
18320 $(MAKE) $(FLAGS_TO_PASS) check)
18322 @endif libdecnumber
18324 .PHONY: install-libdecnumber maybe-install-libdecnumber
18325 maybe-install-libdecnumber:
18326 @if libdecnumber
18327 maybe-install-libdecnumber: install-libdecnumber
18329 install-libdecnumber: installdirs
18330 @: $(MAKE); $(unstage)
18331 @r=`${PWD_COMMAND}`; export r; \
18332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18333 $(HOST_EXPORTS) \
18334 (cd $(HOST_SUBDIR)/libdecnumber && \
18335 $(MAKE) $(FLAGS_TO_PASS) install)
18337 @endif libdecnumber
18339 # Other targets (info, dvi, etc.)
18341 .PHONY: maybe-info-libdecnumber info-libdecnumber
18342 maybe-info-libdecnumber:
18343 @if libdecnumber
18344 maybe-info-libdecnumber: info-libdecnumber
18346 info-libdecnumber: \
18347 configure-libdecnumber
18348 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18349 r=`${PWD_COMMAND}`; export r; \
18350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18351 $(HOST_EXPORTS) \
18352 for flag in $(EXTRA_HOST_FLAGS) ; do \
18353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18354 done; \
18355 echo "Doing info in libdecnumber" ; \
18356 (cd $(HOST_SUBDIR)/libdecnumber && \
18357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18359 "RANLIB=$${RANLIB}" \
18360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18361 info) \
18362 || exit 1
18364 @endif libdecnumber
18366 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
18367 maybe-dvi-libdecnumber:
18368 @if libdecnumber
18369 maybe-dvi-libdecnumber: dvi-libdecnumber
18371 dvi-libdecnumber: \
18372 configure-libdecnumber
18373 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18374 r=`${PWD_COMMAND}`; export r; \
18375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18376 $(HOST_EXPORTS) \
18377 for flag in $(EXTRA_HOST_FLAGS) ; do \
18378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18379 done; \
18380 echo "Doing dvi in libdecnumber" ; \
18381 (cd $(HOST_SUBDIR)/libdecnumber && \
18382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18384 "RANLIB=$${RANLIB}" \
18385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18386 dvi) \
18387 || exit 1
18389 @endif libdecnumber
18391 .PHONY: maybe-html-libdecnumber html-libdecnumber
18392 maybe-html-libdecnumber:
18393 @if libdecnumber
18394 maybe-html-libdecnumber: html-libdecnumber
18396 html-libdecnumber: \
18397 configure-libdecnumber
18398 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18399 r=`${PWD_COMMAND}`; export r; \
18400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18401 $(HOST_EXPORTS) \
18402 for flag in $(EXTRA_HOST_FLAGS) ; do \
18403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18404 done; \
18405 echo "Doing html in libdecnumber" ; \
18406 (cd $(HOST_SUBDIR)/libdecnumber && \
18407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18409 "RANLIB=$${RANLIB}" \
18410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18411 html) \
18412 || exit 1
18414 @endif libdecnumber
18416 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
18417 maybe-TAGS-libdecnumber:
18418 @if libdecnumber
18419 maybe-TAGS-libdecnumber: TAGS-libdecnumber
18421 TAGS-libdecnumber: \
18422 configure-libdecnumber
18423 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18424 r=`${PWD_COMMAND}`; export r; \
18425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18426 $(HOST_EXPORTS) \
18427 for flag in $(EXTRA_HOST_FLAGS) ; do \
18428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18429 done; \
18430 echo "Doing TAGS in libdecnumber" ; \
18431 (cd $(HOST_SUBDIR)/libdecnumber && \
18432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18434 "RANLIB=$${RANLIB}" \
18435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18436 TAGS) \
18437 || exit 1
18439 @endif libdecnumber
18441 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
18442 maybe-install-info-libdecnumber:
18443 @if libdecnumber
18444 maybe-install-info-libdecnumber: install-info-libdecnumber
18446 install-info-libdecnumber: \
18447 configure-libdecnumber \
18448 info-libdecnumber
18449 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18450 r=`${PWD_COMMAND}`; export r; \
18451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18452 $(HOST_EXPORTS) \
18453 for flag in $(EXTRA_HOST_FLAGS) ; do \
18454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18455 done; \
18456 echo "Doing install-info in libdecnumber" ; \
18457 (cd $(HOST_SUBDIR)/libdecnumber && \
18458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18460 "RANLIB=$${RANLIB}" \
18461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18462 install-info) \
18463 || exit 1
18465 @endif libdecnumber
18467 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
18468 maybe-install-html-libdecnumber:
18469 @if libdecnumber
18470 maybe-install-html-libdecnumber: install-html-libdecnumber
18472 install-html-libdecnumber: \
18473 configure-libdecnumber \
18474 html-libdecnumber
18475 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18476 r=`${PWD_COMMAND}`; export r; \
18477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18478 $(HOST_EXPORTS) \
18479 for flag in $(EXTRA_HOST_FLAGS) ; do \
18480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18481 done; \
18482 echo "Doing install-html in libdecnumber" ; \
18483 (cd $(HOST_SUBDIR)/libdecnumber && \
18484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18486 "RANLIB=$${RANLIB}" \
18487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18488 install-html) \
18489 || exit 1
18491 @endif libdecnumber
18493 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
18494 maybe-installcheck-libdecnumber:
18495 @if libdecnumber
18496 maybe-installcheck-libdecnumber: installcheck-libdecnumber
18498 installcheck-libdecnumber: \
18499 configure-libdecnumber
18500 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18501 r=`${PWD_COMMAND}`; export r; \
18502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18503 $(HOST_EXPORTS) \
18504 for flag in $(EXTRA_HOST_FLAGS) ; do \
18505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18506 done; \
18507 echo "Doing installcheck in libdecnumber" ; \
18508 (cd $(HOST_SUBDIR)/libdecnumber && \
18509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18511 "RANLIB=$${RANLIB}" \
18512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18513 installcheck) \
18514 || exit 1
18516 @endif libdecnumber
18518 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
18519 maybe-mostlyclean-libdecnumber:
18520 @if libdecnumber
18521 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
18523 mostlyclean-libdecnumber:
18524 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18525 r=`${PWD_COMMAND}`; export r; \
18526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18527 $(HOST_EXPORTS) \
18528 for flag in $(EXTRA_HOST_FLAGS) ; do \
18529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18530 done; \
18531 echo "Doing mostlyclean in libdecnumber" ; \
18532 (cd $(HOST_SUBDIR)/libdecnumber && \
18533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18535 "RANLIB=$${RANLIB}" \
18536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18537 mostlyclean) \
18538 || exit 1
18540 @endif libdecnumber
18542 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
18543 maybe-clean-libdecnumber:
18544 @if libdecnumber
18545 maybe-clean-libdecnumber: clean-libdecnumber
18547 clean-libdecnumber:
18548 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18549 r=`${PWD_COMMAND}`; export r; \
18550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18551 $(HOST_EXPORTS) \
18552 for flag in $(EXTRA_HOST_FLAGS) ; do \
18553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18554 done; \
18555 echo "Doing clean in libdecnumber" ; \
18556 (cd $(HOST_SUBDIR)/libdecnumber && \
18557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18559 "RANLIB=$${RANLIB}" \
18560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18561 clean) \
18562 || exit 1
18564 @endif libdecnumber
18566 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
18567 maybe-distclean-libdecnumber:
18568 @if libdecnumber
18569 maybe-distclean-libdecnumber: distclean-libdecnumber
18571 distclean-libdecnumber:
18572 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18573 r=`${PWD_COMMAND}`; export r; \
18574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18575 $(HOST_EXPORTS) \
18576 for flag in $(EXTRA_HOST_FLAGS) ; do \
18577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18578 done; \
18579 echo "Doing distclean in libdecnumber" ; \
18580 (cd $(HOST_SUBDIR)/libdecnumber && \
18581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18583 "RANLIB=$${RANLIB}" \
18584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18585 distclean) \
18586 || exit 1
18588 @endif libdecnumber
18590 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
18591 maybe-maintainer-clean-libdecnumber:
18592 @if libdecnumber
18593 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
18595 maintainer-clean-libdecnumber:
18596 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18597 r=`${PWD_COMMAND}`; export r; \
18598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18599 $(HOST_EXPORTS) \
18600 for flag in $(EXTRA_HOST_FLAGS) ; do \
18601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18602 done; \
18603 echo "Doing maintainer-clean in libdecnumber" ; \
18604 (cd $(HOST_SUBDIR)/libdecnumber && \
18605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18607 "RANLIB=$${RANLIB}" \
18608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18609 maintainer-clean) \
18610 || exit 1
18612 @endif libdecnumber
18616 .PHONY: configure-libgui maybe-configure-libgui
18617 maybe-configure-libgui:
18618 @if gcc-bootstrap
18619 configure-libgui: stage_current
18620 @endif gcc-bootstrap
18621 @if libgui
18622 maybe-configure-libgui: configure-libgui
18623 configure-libgui:
18624 @: $(MAKE); $(unstage)
18625 @r=`${PWD_COMMAND}`; export r; \
18626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18627 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
18628 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
18629 $(HOST_EXPORTS) \
18630 echo Configuring in $(HOST_SUBDIR)/libgui; \
18631 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
18632 case $(srcdir) in \
18633 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18634 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
18635 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18636 esac; \
18637 srcdiroption="--srcdir=$${topdir}/libgui"; \
18638 libsrcdir="$$s/libgui"; \
18639 $(SHELL) $${libsrcdir}/configure \
18640 $(HOST_CONFIGARGS) $${srcdiroption} \
18641 || exit 1
18642 @endif libgui
18648 .PHONY: all-libgui maybe-all-libgui
18649 maybe-all-libgui:
18650 @if gcc-bootstrap
18651 all-libgui: stage_current
18652 @endif gcc-bootstrap
18653 @if libgui
18654 TARGET-libgui=all
18655 maybe-all-libgui: all-libgui
18656 all-libgui: configure-libgui
18657 @: $(MAKE); $(unstage)
18658 @r=`${PWD_COMMAND}`; export r; \
18659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18660 $(HOST_EXPORTS) \
18661 (cd $(HOST_SUBDIR)/libgui && \
18662 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
18663 @endif libgui
18668 .PHONY: check-libgui maybe-check-libgui
18669 maybe-check-libgui:
18670 @if libgui
18671 maybe-check-libgui: check-libgui
18673 check-libgui:
18674 @: $(MAKE); $(unstage)
18675 @r=`${PWD_COMMAND}`; export r; \
18676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18677 $(HOST_EXPORTS) \
18678 (cd $(HOST_SUBDIR)/libgui && \
18679 $(MAKE) $(FLAGS_TO_PASS) check)
18681 @endif libgui
18683 .PHONY: install-libgui maybe-install-libgui
18684 maybe-install-libgui:
18685 @if libgui
18686 maybe-install-libgui: install-libgui
18688 install-libgui: installdirs
18689 @: $(MAKE); $(unstage)
18690 @r=`${PWD_COMMAND}`; export r; \
18691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18692 $(HOST_EXPORTS) \
18693 (cd $(HOST_SUBDIR)/libgui && \
18694 $(MAKE) $(FLAGS_TO_PASS) install)
18696 @endif libgui
18698 # Other targets (info, dvi, etc.)
18700 .PHONY: maybe-info-libgui info-libgui
18701 maybe-info-libgui:
18702 @if libgui
18703 maybe-info-libgui: info-libgui
18705 info-libgui: \
18706 configure-libgui
18707 @: $(MAKE); $(unstage)
18708 @[ -f ./libgui/Makefile ] || exit 0; \
18709 r=`${PWD_COMMAND}`; export r; \
18710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18711 $(HOST_EXPORTS) \
18712 for flag in $(EXTRA_HOST_FLAGS) ; do \
18713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18714 done; \
18715 echo "Doing info in libgui" ; \
18716 (cd $(HOST_SUBDIR)/libgui && \
18717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18719 "RANLIB=$${RANLIB}" \
18720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18721 info) \
18722 || exit 1
18724 @endif libgui
18726 .PHONY: maybe-dvi-libgui dvi-libgui
18727 maybe-dvi-libgui:
18728 @if libgui
18729 maybe-dvi-libgui: dvi-libgui
18731 dvi-libgui: \
18732 configure-libgui
18733 @: $(MAKE); $(unstage)
18734 @[ -f ./libgui/Makefile ] || exit 0; \
18735 r=`${PWD_COMMAND}`; export r; \
18736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18737 $(HOST_EXPORTS) \
18738 for flag in $(EXTRA_HOST_FLAGS) ; do \
18739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18740 done; \
18741 echo "Doing dvi in libgui" ; \
18742 (cd $(HOST_SUBDIR)/libgui && \
18743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18745 "RANLIB=$${RANLIB}" \
18746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18747 dvi) \
18748 || exit 1
18750 @endif libgui
18752 .PHONY: maybe-html-libgui html-libgui
18753 maybe-html-libgui:
18754 @if libgui
18755 maybe-html-libgui: html-libgui
18757 html-libgui: \
18758 configure-libgui
18759 @: $(MAKE); $(unstage)
18760 @[ -f ./libgui/Makefile ] || exit 0; \
18761 r=`${PWD_COMMAND}`; export r; \
18762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18763 $(HOST_EXPORTS) \
18764 for flag in $(EXTRA_HOST_FLAGS) ; do \
18765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18766 done; \
18767 echo "Doing html in libgui" ; \
18768 (cd $(HOST_SUBDIR)/libgui && \
18769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18771 "RANLIB=$${RANLIB}" \
18772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18773 html) \
18774 || exit 1
18776 @endif libgui
18778 .PHONY: maybe-TAGS-libgui TAGS-libgui
18779 maybe-TAGS-libgui:
18780 @if libgui
18781 maybe-TAGS-libgui: TAGS-libgui
18783 TAGS-libgui: \
18784 configure-libgui
18785 @: $(MAKE); $(unstage)
18786 @[ -f ./libgui/Makefile ] || exit 0; \
18787 r=`${PWD_COMMAND}`; export r; \
18788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18789 $(HOST_EXPORTS) \
18790 for flag in $(EXTRA_HOST_FLAGS) ; do \
18791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18792 done; \
18793 echo "Doing TAGS in libgui" ; \
18794 (cd $(HOST_SUBDIR)/libgui && \
18795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18797 "RANLIB=$${RANLIB}" \
18798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18799 TAGS) \
18800 || exit 1
18802 @endif libgui
18804 .PHONY: maybe-install-info-libgui install-info-libgui
18805 maybe-install-info-libgui:
18806 @if libgui
18807 maybe-install-info-libgui: install-info-libgui
18809 install-info-libgui: \
18810 configure-libgui \
18811 info-libgui
18812 @: $(MAKE); $(unstage)
18813 @[ -f ./libgui/Makefile ] || exit 0; \
18814 r=`${PWD_COMMAND}`; export r; \
18815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18816 $(HOST_EXPORTS) \
18817 for flag in $(EXTRA_HOST_FLAGS) ; do \
18818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18819 done; \
18820 echo "Doing install-info in libgui" ; \
18821 (cd $(HOST_SUBDIR)/libgui && \
18822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18824 "RANLIB=$${RANLIB}" \
18825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18826 install-info) \
18827 || exit 1
18829 @endif libgui
18831 .PHONY: maybe-install-html-libgui install-html-libgui
18832 maybe-install-html-libgui:
18833 @if libgui
18834 maybe-install-html-libgui: install-html-libgui
18836 install-html-libgui: \
18837 configure-libgui \
18838 html-libgui
18839 @: $(MAKE); $(unstage)
18840 @[ -f ./libgui/Makefile ] || exit 0; \
18841 r=`${PWD_COMMAND}`; export r; \
18842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18843 $(HOST_EXPORTS) \
18844 for flag in $(EXTRA_HOST_FLAGS) ; do \
18845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18846 done; \
18847 echo "Doing install-html in libgui" ; \
18848 (cd $(HOST_SUBDIR)/libgui && \
18849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18851 "RANLIB=$${RANLIB}" \
18852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18853 install-html) \
18854 || exit 1
18856 @endif libgui
18858 .PHONY: maybe-installcheck-libgui installcheck-libgui
18859 maybe-installcheck-libgui:
18860 @if libgui
18861 maybe-installcheck-libgui: installcheck-libgui
18863 installcheck-libgui: \
18864 configure-libgui
18865 @: $(MAKE); $(unstage)
18866 @[ -f ./libgui/Makefile ] || exit 0; \
18867 r=`${PWD_COMMAND}`; export r; \
18868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18869 $(HOST_EXPORTS) \
18870 for flag in $(EXTRA_HOST_FLAGS) ; do \
18871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18872 done; \
18873 echo "Doing installcheck in libgui" ; \
18874 (cd $(HOST_SUBDIR)/libgui && \
18875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18877 "RANLIB=$${RANLIB}" \
18878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18879 installcheck) \
18880 || exit 1
18882 @endif libgui
18884 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
18885 maybe-mostlyclean-libgui:
18886 @if libgui
18887 maybe-mostlyclean-libgui: mostlyclean-libgui
18889 mostlyclean-libgui:
18890 @: $(MAKE); $(unstage)
18891 @[ -f ./libgui/Makefile ] || exit 0; \
18892 r=`${PWD_COMMAND}`; export r; \
18893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18894 $(HOST_EXPORTS) \
18895 for flag in $(EXTRA_HOST_FLAGS) ; do \
18896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18897 done; \
18898 echo "Doing mostlyclean in libgui" ; \
18899 (cd $(HOST_SUBDIR)/libgui && \
18900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18902 "RANLIB=$${RANLIB}" \
18903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18904 mostlyclean) \
18905 || exit 1
18907 @endif libgui
18909 .PHONY: maybe-clean-libgui clean-libgui
18910 maybe-clean-libgui:
18911 @if libgui
18912 maybe-clean-libgui: clean-libgui
18914 clean-libgui:
18915 @: $(MAKE); $(unstage)
18916 @[ -f ./libgui/Makefile ] || exit 0; \
18917 r=`${PWD_COMMAND}`; export r; \
18918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18919 $(HOST_EXPORTS) \
18920 for flag in $(EXTRA_HOST_FLAGS) ; do \
18921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18922 done; \
18923 echo "Doing clean in libgui" ; \
18924 (cd $(HOST_SUBDIR)/libgui && \
18925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18927 "RANLIB=$${RANLIB}" \
18928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18929 clean) \
18930 || exit 1
18932 @endif libgui
18934 .PHONY: maybe-distclean-libgui distclean-libgui
18935 maybe-distclean-libgui:
18936 @if libgui
18937 maybe-distclean-libgui: distclean-libgui
18939 distclean-libgui:
18940 @: $(MAKE); $(unstage)
18941 @[ -f ./libgui/Makefile ] || exit 0; \
18942 r=`${PWD_COMMAND}`; export r; \
18943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18944 $(HOST_EXPORTS) \
18945 for flag in $(EXTRA_HOST_FLAGS) ; do \
18946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18947 done; \
18948 echo "Doing distclean in libgui" ; \
18949 (cd $(HOST_SUBDIR)/libgui && \
18950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18952 "RANLIB=$${RANLIB}" \
18953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18954 distclean) \
18955 || exit 1
18957 @endif libgui
18959 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
18960 maybe-maintainer-clean-libgui:
18961 @if libgui
18962 maybe-maintainer-clean-libgui: maintainer-clean-libgui
18964 maintainer-clean-libgui:
18965 @: $(MAKE); $(unstage)
18966 @[ -f ./libgui/Makefile ] || exit 0; \
18967 r=`${PWD_COMMAND}`; export r; \
18968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18969 $(HOST_EXPORTS) \
18970 for flag in $(EXTRA_HOST_FLAGS) ; do \
18971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18972 done; \
18973 echo "Doing maintainer-clean in libgui" ; \
18974 (cd $(HOST_SUBDIR)/libgui && \
18975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18977 "RANLIB=$${RANLIB}" \
18978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18979 maintainer-clean) \
18980 || exit 1
18982 @endif libgui
18986 .PHONY: configure-libiberty maybe-configure-libiberty
18987 maybe-configure-libiberty:
18988 @if gcc-bootstrap
18989 configure-libiberty: stage_current
18990 @endif gcc-bootstrap
18991 @if libiberty
18992 maybe-configure-libiberty: configure-libiberty
18993 configure-libiberty:
18994 @r=`${PWD_COMMAND}`; export r; \
18995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18996 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
18997 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
18998 $(HOST_EXPORTS) \
18999 echo Configuring in $(HOST_SUBDIR)/libiberty; \
19000 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
19001 case $(srcdir) in \
19002 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19003 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
19004 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19005 esac; \
19006 srcdiroption="--srcdir=$${topdir}/libiberty"; \
19007 libsrcdir="$$s/libiberty"; \
19008 $(SHELL) $${libsrcdir}/configure \
19009 $(HOST_CONFIGARGS) $${srcdiroption} \
19010 || exit 1
19011 @endif libiberty
19015 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
19016 maybe-configure-stage1-libiberty:
19017 @if libiberty-bootstrap
19018 maybe-configure-stage1-libiberty: configure-stage1-libiberty
19019 configure-stage1-libiberty:
19020 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19021 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
19022 @r=`${PWD_COMMAND}`; export r; \
19023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19024 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
19025 $(HOST_EXPORTS) \
19026 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
19027 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
19028 cd $(HOST_SUBDIR)/libiberty || exit 1; \
19029 case $(srcdir) in \
19030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19031 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
19032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19033 esac; \
19034 srcdiroption="--srcdir=$${topdir}/libiberty"; \
19035 libsrcdir="$$s/libiberty"; \
19036 $(SHELL) $${libsrcdir}/configure \
19037 $(HOST_CONFIGARGS) $${srcdiroption} \
19038 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
19039 @endif libiberty-bootstrap
19041 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
19042 maybe-configure-stage2-libiberty:
19043 @if libiberty-bootstrap
19044 maybe-configure-stage2-libiberty: configure-stage2-libiberty
19045 configure-stage2-libiberty:
19046 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19047 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
19048 @r=`${PWD_COMMAND}`; export r; \
19049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19050 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
19051 $(HOST_EXPORTS) \
19052 $(POSTSTAGE1_HOST_EXPORTS) \
19053 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
19054 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
19055 cd $(HOST_SUBDIR)/libiberty || exit 1; \
19056 case $(srcdir) in \
19057 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19058 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
19059 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19060 esac; \
19061 srcdiroption="--srcdir=$${topdir}/libiberty"; \
19062 libsrcdir="$$s/libiberty"; \
19063 $(SHELL) $${libsrcdir}/configure \
19064 $(HOST_CONFIGARGS) $${srcdiroption} \
19065 @stage2_werror_flag@
19066 @endif libiberty-bootstrap
19068 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
19069 maybe-configure-stage3-libiberty:
19070 @if libiberty-bootstrap
19071 maybe-configure-stage3-libiberty: configure-stage3-libiberty
19072 configure-stage3-libiberty:
19073 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19074 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
19075 @r=`${PWD_COMMAND}`; export r; \
19076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19077 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
19078 $(HOST_EXPORTS) \
19079 $(POSTSTAGE1_HOST_EXPORTS) \
19080 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
19081 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
19082 cd $(HOST_SUBDIR)/libiberty || exit 1; \
19083 case $(srcdir) in \
19084 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19085 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
19086 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19087 esac; \
19088 srcdiroption="--srcdir=$${topdir}/libiberty"; \
19089 libsrcdir="$$s/libiberty"; \
19090 $(SHELL) $${libsrcdir}/configure \
19091 $(HOST_CONFIGARGS) $${srcdiroption} \
19092 @stage2_werror_flag@
19093 @endif libiberty-bootstrap
19095 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
19096 maybe-configure-stage4-libiberty:
19097 @if libiberty-bootstrap
19098 maybe-configure-stage4-libiberty: configure-stage4-libiberty
19099 configure-stage4-libiberty:
19100 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19101 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
19102 @r=`${PWD_COMMAND}`; export r; \
19103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19104 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
19105 $(HOST_EXPORTS) \
19106 $(POSTSTAGE1_HOST_EXPORTS) \
19107 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
19108 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
19109 cd $(HOST_SUBDIR)/libiberty || exit 1; \
19110 case $(srcdir) in \
19111 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19112 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
19113 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19114 esac; \
19115 srcdiroption="--srcdir=$${topdir}/libiberty"; \
19116 libsrcdir="$$s/libiberty"; \
19117 $(SHELL) $${libsrcdir}/configure \
19118 $(HOST_CONFIGARGS) $${srcdiroption} \
19119 @stage2_werror_flag@
19120 @endif libiberty-bootstrap
19122 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
19123 maybe-configure-stageprofile-libiberty:
19124 @if libiberty-bootstrap
19125 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
19126 configure-stageprofile-libiberty:
19127 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19128 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
19129 @r=`${PWD_COMMAND}`; export r; \
19130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19131 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
19132 $(HOST_EXPORTS) \
19133 $(POSTSTAGE1_HOST_EXPORTS) \
19134 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
19135 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
19136 cd $(HOST_SUBDIR)/libiberty || exit 1; \
19137 case $(srcdir) in \
19138 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19139 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
19140 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19141 esac; \
19142 srcdiroption="--srcdir=$${topdir}/libiberty"; \
19143 libsrcdir="$$s/libiberty"; \
19144 $(SHELL) $${libsrcdir}/configure \
19145 $(HOST_CONFIGARGS) $${srcdiroption} \
19146 @stage2_werror_flag@
19147 @endif libiberty-bootstrap
19149 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
19150 maybe-configure-stagefeedback-libiberty:
19151 @if libiberty-bootstrap
19152 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
19153 configure-stagefeedback-libiberty:
19154 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19155 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
19156 @r=`${PWD_COMMAND}`; export r; \
19157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19158 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
19159 $(HOST_EXPORTS) \
19160 $(POSTSTAGE1_HOST_EXPORTS) \
19161 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
19162 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
19163 cd $(HOST_SUBDIR)/libiberty || exit 1; \
19164 case $(srcdir) in \
19165 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19166 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
19167 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19168 esac; \
19169 srcdiroption="--srcdir=$${topdir}/libiberty"; \
19170 libsrcdir="$$s/libiberty"; \
19171 $(SHELL) $${libsrcdir}/configure \
19172 $(HOST_CONFIGARGS) $${srcdiroption} \
19173 @stage2_werror_flag@
19174 @endif libiberty-bootstrap
19180 .PHONY: all-libiberty maybe-all-libiberty
19181 maybe-all-libiberty:
19182 @if gcc-bootstrap
19183 all-libiberty: stage_current
19184 @endif gcc-bootstrap
19185 @if libiberty
19186 TARGET-libiberty=all
19187 maybe-all-libiberty: all-libiberty
19188 all-libiberty: configure-libiberty
19189 @r=`${PWD_COMMAND}`; export r; \
19190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19191 $(HOST_EXPORTS) \
19192 (cd $(HOST_SUBDIR)/libiberty && \
19193 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
19194 @endif libiberty
19198 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
19199 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
19200 maybe-all-stage1-libiberty:
19201 maybe-clean-stage1-libiberty:
19202 @if libiberty-bootstrap
19203 maybe-all-stage1-libiberty: all-stage1-libiberty
19204 all-stage1: all-stage1-libiberty
19205 TARGET-stage1-libiberty = $(TARGET-libiberty)
19206 all-stage1-libiberty: configure-stage1-libiberty
19207 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19208 @r=`${PWD_COMMAND}`; export r; \
19209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19210 $(HOST_EXPORTS) \
19211 cd $(HOST_SUBDIR)/libiberty && \
19212 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
19213 $(TARGET-stage1-libiberty)
19215 maybe-clean-stage1-libiberty: clean-stage1-libiberty
19216 clean-stage1: clean-stage1-libiberty
19217 clean-stage1-libiberty:
19218 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] \
19219 || exit 0 ; \
19220 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
19221 cd $(HOST_SUBDIR)/libiberty && \
19222 $(MAKE) $(FLAGS_TO_PASS) \
19223 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
19224 @endif libiberty-bootstrap
19227 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
19228 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
19229 maybe-all-stage2-libiberty:
19230 maybe-clean-stage2-libiberty:
19231 @if libiberty-bootstrap
19232 maybe-all-stage2-libiberty: all-stage2-libiberty
19233 all-stage2: all-stage2-libiberty
19234 TARGET-stage2-libiberty = $(TARGET-libiberty)
19235 all-stage2-libiberty: configure-stage2-libiberty
19236 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19237 @r=`${PWD_COMMAND}`; export r; \
19238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19239 $(HOST_EXPORTS) \
19240 $(POSTSTAGE1_HOST_EXPORTS) \
19241 cd $(HOST_SUBDIR)/libiberty && \
19242 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19243 $(TARGET-stage2-libiberty)
19245 maybe-clean-stage2-libiberty: clean-stage2-libiberty
19246 clean-stage2: clean-stage2-libiberty
19247 clean-stage2-libiberty:
19248 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] \
19249 || exit 0 ; \
19250 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
19251 cd $(HOST_SUBDIR)/libiberty && \
19252 $(MAKE) $(FLAGS_TO_PASS) \
19253 $(POSTSTAGE1_FLAGS_TO_PASS) \
19254 clean
19255 @endif libiberty-bootstrap
19258 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
19259 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
19260 maybe-all-stage3-libiberty:
19261 maybe-clean-stage3-libiberty:
19262 @if libiberty-bootstrap
19263 maybe-all-stage3-libiberty: all-stage3-libiberty
19264 all-stage3: all-stage3-libiberty
19265 TARGET-stage3-libiberty = $(TARGET-libiberty)
19266 all-stage3-libiberty: configure-stage3-libiberty
19267 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19268 @r=`${PWD_COMMAND}`; export r; \
19269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19270 $(HOST_EXPORTS) \
19271 $(POSTSTAGE1_HOST_EXPORTS) \
19272 cd $(HOST_SUBDIR)/libiberty && \
19273 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19274 $(TARGET-stage3-libiberty)
19276 maybe-clean-stage3-libiberty: clean-stage3-libiberty
19277 clean-stage3: clean-stage3-libiberty
19278 clean-stage3-libiberty:
19279 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] \
19280 || exit 0 ; \
19281 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
19282 cd $(HOST_SUBDIR)/libiberty && \
19283 $(MAKE) $(FLAGS_TO_PASS) \
19284 $(POSTSTAGE1_FLAGS_TO_PASS) \
19285 clean
19286 @endif libiberty-bootstrap
19289 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
19290 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
19291 maybe-all-stage4-libiberty:
19292 maybe-clean-stage4-libiberty:
19293 @if libiberty-bootstrap
19294 maybe-all-stage4-libiberty: all-stage4-libiberty
19295 all-stage4: all-stage4-libiberty
19296 TARGET-stage4-libiberty = $(TARGET-libiberty)
19297 all-stage4-libiberty: configure-stage4-libiberty
19298 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19299 @r=`${PWD_COMMAND}`; export r; \
19300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19301 $(HOST_EXPORTS) \
19302 $(POSTSTAGE1_HOST_EXPORTS) \
19303 cd $(HOST_SUBDIR)/libiberty && \
19304 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19305 $(TARGET-stage4-libiberty)
19307 maybe-clean-stage4-libiberty: clean-stage4-libiberty
19308 clean-stage4: clean-stage4-libiberty
19309 clean-stage4-libiberty:
19310 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] \
19311 || exit 0 ; \
19312 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
19313 cd $(HOST_SUBDIR)/libiberty && \
19314 $(MAKE) $(FLAGS_TO_PASS) \
19315 $(POSTSTAGE1_FLAGS_TO_PASS) \
19316 clean
19317 @endif libiberty-bootstrap
19320 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
19321 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
19322 maybe-all-stageprofile-libiberty:
19323 maybe-clean-stageprofile-libiberty:
19324 @if libiberty-bootstrap
19325 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
19326 all-stageprofile: all-stageprofile-libiberty
19327 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
19328 all-stageprofile-libiberty: configure-stageprofile-libiberty
19329 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19330 @r=`${PWD_COMMAND}`; export r; \
19331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19332 $(HOST_EXPORTS) \
19333 $(POSTSTAGE1_HOST_EXPORTS) \
19334 cd $(HOST_SUBDIR)/libiberty && \
19335 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
19336 $(TARGET-stageprofile-libiberty)
19338 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
19339 clean-stageprofile: clean-stageprofile-libiberty
19340 clean-stageprofile-libiberty:
19341 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] \
19342 || exit 0 ; \
19343 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
19344 cd $(HOST_SUBDIR)/libiberty && \
19345 $(MAKE) $(FLAGS_TO_PASS) \
19346 $(POSTSTAGE1_FLAGS_TO_PASS) \
19347 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
19348 @endif libiberty-bootstrap
19351 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
19352 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
19353 maybe-all-stagefeedback-libiberty:
19354 maybe-clean-stagefeedback-libiberty:
19355 @if libiberty-bootstrap
19356 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
19357 all-stagefeedback: all-stagefeedback-libiberty
19358 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
19359 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
19360 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19361 @r=`${PWD_COMMAND}`; export r; \
19362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19363 $(HOST_EXPORTS) \
19364 $(POSTSTAGE1_HOST_EXPORTS) \
19365 cd $(HOST_SUBDIR)/libiberty && \
19366 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
19367 $(TARGET-stagefeedback-libiberty)
19369 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
19370 clean-stagefeedback: clean-stagefeedback-libiberty
19371 clean-stagefeedback-libiberty:
19372 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] \
19373 || exit 0 ; \
19374 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
19375 cd $(HOST_SUBDIR)/libiberty && \
19376 $(MAKE) $(FLAGS_TO_PASS) \
19377 $(POSTSTAGE1_FLAGS_TO_PASS) \
19378 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
19379 @endif libiberty-bootstrap
19385 .PHONY: check-libiberty maybe-check-libiberty
19386 maybe-check-libiberty:
19387 @if libiberty
19388 maybe-check-libiberty: check-libiberty
19390 check-libiberty:
19391 @: $(MAKE); $(unstage)
19392 @r=`${PWD_COMMAND}`; export r; \
19393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19394 $(HOST_EXPORTS) \
19395 (cd $(HOST_SUBDIR)/libiberty && \
19396 $(MAKE) $(FLAGS_TO_PASS) check)
19398 @endif libiberty
19400 .PHONY: install-libiberty maybe-install-libiberty
19401 maybe-install-libiberty:
19402 @if libiberty
19403 maybe-install-libiberty: install-libiberty
19405 install-libiberty: installdirs
19406 @: $(MAKE); $(unstage)
19407 @r=`${PWD_COMMAND}`; export r; \
19408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19409 $(HOST_EXPORTS) \
19410 (cd $(HOST_SUBDIR)/libiberty && \
19411 $(MAKE) $(FLAGS_TO_PASS) install)
19413 @endif libiberty
19415 # Other targets (info, dvi, etc.)
19417 .PHONY: maybe-info-libiberty info-libiberty
19418 maybe-info-libiberty:
19419 @if libiberty
19420 maybe-info-libiberty: info-libiberty
19422 info-libiberty: \
19423 configure-libiberty
19424 @[ -f ./libiberty/Makefile ] || exit 0; \
19425 r=`${PWD_COMMAND}`; export r; \
19426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19427 $(HOST_EXPORTS) \
19428 for flag in $(EXTRA_HOST_FLAGS) ; do \
19429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19430 done; \
19431 echo "Doing info in libiberty" ; \
19432 (cd $(HOST_SUBDIR)/libiberty && \
19433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19435 "RANLIB=$${RANLIB}" \
19436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19437 info) \
19438 || exit 1
19440 @endif libiberty
19442 .PHONY: maybe-dvi-libiberty dvi-libiberty
19443 maybe-dvi-libiberty:
19444 @if libiberty
19445 maybe-dvi-libiberty: dvi-libiberty
19447 dvi-libiberty: \
19448 configure-libiberty
19449 @[ -f ./libiberty/Makefile ] || exit 0; \
19450 r=`${PWD_COMMAND}`; export r; \
19451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19452 $(HOST_EXPORTS) \
19453 for flag in $(EXTRA_HOST_FLAGS) ; do \
19454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19455 done; \
19456 echo "Doing dvi in libiberty" ; \
19457 (cd $(HOST_SUBDIR)/libiberty && \
19458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19460 "RANLIB=$${RANLIB}" \
19461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19462 dvi) \
19463 || exit 1
19465 @endif libiberty
19467 .PHONY: maybe-html-libiberty html-libiberty
19468 maybe-html-libiberty:
19469 @if libiberty
19470 maybe-html-libiberty: html-libiberty
19472 html-libiberty: \
19473 configure-libiberty
19474 @[ -f ./libiberty/Makefile ] || exit 0; \
19475 r=`${PWD_COMMAND}`; export r; \
19476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19477 $(HOST_EXPORTS) \
19478 for flag in $(EXTRA_HOST_FLAGS) ; do \
19479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19480 done; \
19481 echo "Doing html in libiberty" ; \
19482 (cd $(HOST_SUBDIR)/libiberty && \
19483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19485 "RANLIB=$${RANLIB}" \
19486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19487 html) \
19488 || exit 1
19490 @endif libiberty
19492 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
19493 maybe-TAGS-libiberty:
19494 @if libiberty
19495 maybe-TAGS-libiberty: TAGS-libiberty
19497 TAGS-libiberty: \
19498 configure-libiberty
19499 @[ -f ./libiberty/Makefile ] || exit 0; \
19500 r=`${PWD_COMMAND}`; export r; \
19501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19502 $(HOST_EXPORTS) \
19503 for flag in $(EXTRA_HOST_FLAGS) ; do \
19504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19505 done; \
19506 echo "Doing TAGS in libiberty" ; \
19507 (cd $(HOST_SUBDIR)/libiberty && \
19508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19510 "RANLIB=$${RANLIB}" \
19511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19512 TAGS) \
19513 || exit 1
19515 @endif libiberty
19517 .PHONY: maybe-install-info-libiberty install-info-libiberty
19518 maybe-install-info-libiberty:
19519 @if libiberty
19520 maybe-install-info-libiberty: install-info-libiberty
19522 install-info-libiberty: \
19523 configure-libiberty \
19524 info-libiberty
19525 @[ -f ./libiberty/Makefile ] || exit 0; \
19526 r=`${PWD_COMMAND}`; export r; \
19527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19528 $(HOST_EXPORTS) \
19529 for flag in $(EXTRA_HOST_FLAGS) ; do \
19530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19531 done; \
19532 echo "Doing install-info in libiberty" ; \
19533 (cd $(HOST_SUBDIR)/libiberty && \
19534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19536 "RANLIB=$${RANLIB}" \
19537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19538 install-info) \
19539 || exit 1
19541 @endif libiberty
19543 .PHONY: maybe-install-html-libiberty install-html-libiberty
19544 maybe-install-html-libiberty:
19545 @if libiberty
19546 maybe-install-html-libiberty: install-html-libiberty
19548 install-html-libiberty: \
19549 configure-libiberty \
19550 html-libiberty
19551 @[ -f ./libiberty/Makefile ] || exit 0; \
19552 r=`${PWD_COMMAND}`; export r; \
19553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19554 $(HOST_EXPORTS) \
19555 for flag in $(EXTRA_HOST_FLAGS) ; do \
19556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19557 done; \
19558 echo "Doing install-html in libiberty" ; \
19559 (cd $(HOST_SUBDIR)/libiberty && \
19560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19562 "RANLIB=$${RANLIB}" \
19563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19564 install-html) \
19565 || exit 1
19567 @endif libiberty
19569 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
19570 maybe-installcheck-libiberty:
19571 @if libiberty
19572 maybe-installcheck-libiberty: installcheck-libiberty
19574 installcheck-libiberty: \
19575 configure-libiberty
19576 @[ -f ./libiberty/Makefile ] || exit 0; \
19577 r=`${PWD_COMMAND}`; export r; \
19578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19579 $(HOST_EXPORTS) \
19580 for flag in $(EXTRA_HOST_FLAGS) ; do \
19581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19582 done; \
19583 echo "Doing installcheck in libiberty" ; \
19584 (cd $(HOST_SUBDIR)/libiberty && \
19585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19587 "RANLIB=$${RANLIB}" \
19588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19589 installcheck) \
19590 || exit 1
19592 @endif libiberty
19594 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
19595 maybe-mostlyclean-libiberty:
19596 @if libiberty
19597 maybe-mostlyclean-libiberty: mostlyclean-libiberty
19599 mostlyclean-libiberty:
19600 @[ -f ./libiberty/Makefile ] || exit 0; \
19601 r=`${PWD_COMMAND}`; export r; \
19602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19603 $(HOST_EXPORTS) \
19604 for flag in $(EXTRA_HOST_FLAGS) ; do \
19605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19606 done; \
19607 echo "Doing mostlyclean in libiberty" ; \
19608 (cd $(HOST_SUBDIR)/libiberty && \
19609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19611 "RANLIB=$${RANLIB}" \
19612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19613 mostlyclean) \
19614 || exit 1
19616 @endif libiberty
19618 .PHONY: maybe-clean-libiberty clean-libiberty
19619 maybe-clean-libiberty:
19620 @if libiberty
19621 maybe-clean-libiberty: clean-libiberty
19623 clean-libiberty:
19624 @[ -f ./libiberty/Makefile ] || exit 0; \
19625 r=`${PWD_COMMAND}`; export r; \
19626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19627 $(HOST_EXPORTS) \
19628 for flag in $(EXTRA_HOST_FLAGS) ; do \
19629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19630 done; \
19631 echo "Doing clean in libiberty" ; \
19632 (cd $(HOST_SUBDIR)/libiberty && \
19633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19635 "RANLIB=$${RANLIB}" \
19636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19637 clean) \
19638 || exit 1
19640 @endif libiberty
19642 .PHONY: maybe-distclean-libiberty distclean-libiberty
19643 maybe-distclean-libiberty:
19644 @if libiberty
19645 maybe-distclean-libiberty: distclean-libiberty
19647 distclean-libiberty:
19648 @[ -f ./libiberty/Makefile ] || exit 0; \
19649 r=`${PWD_COMMAND}`; export r; \
19650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19651 $(HOST_EXPORTS) \
19652 for flag in $(EXTRA_HOST_FLAGS) ; do \
19653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19654 done; \
19655 echo "Doing distclean in libiberty" ; \
19656 (cd $(HOST_SUBDIR)/libiberty && \
19657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19659 "RANLIB=$${RANLIB}" \
19660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19661 distclean) \
19662 || exit 1
19664 @endif libiberty
19666 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
19667 maybe-maintainer-clean-libiberty:
19668 @if libiberty
19669 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
19671 maintainer-clean-libiberty:
19672 @[ -f ./libiberty/Makefile ] || exit 0; \
19673 r=`${PWD_COMMAND}`; export r; \
19674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19675 $(HOST_EXPORTS) \
19676 for flag in $(EXTRA_HOST_FLAGS) ; do \
19677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19678 done; \
19679 echo "Doing maintainer-clean in libiberty" ; \
19680 (cd $(HOST_SUBDIR)/libiberty && \
19681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19683 "RANLIB=$${RANLIB}" \
19684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19685 maintainer-clean) \
19686 || exit 1
19688 @endif libiberty
19692 .PHONY: configure-libtool maybe-configure-libtool
19693 maybe-configure-libtool:
19694 @if gcc-bootstrap
19695 configure-libtool: stage_current
19696 @endif gcc-bootstrap
19697 @if libtool
19698 maybe-configure-libtool: configure-libtool
19699 configure-libtool:
19700 @: $(MAKE); $(unstage)
19701 @r=`${PWD_COMMAND}`; export r; \
19702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19703 test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
19704 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
19705 $(HOST_EXPORTS) \
19706 echo Configuring in $(HOST_SUBDIR)/libtool; \
19707 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
19708 case $(srcdir) in \
19709 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19710 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
19711 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19712 esac; \
19713 srcdiroption="--srcdir=$${topdir}/libtool"; \
19714 libsrcdir="$$s/libtool"; \
19715 $(SHELL) $${libsrcdir}/configure \
19716 $(HOST_CONFIGARGS) $${srcdiroption} \
19717 || exit 1
19718 @endif libtool
19724 .PHONY: all-libtool maybe-all-libtool
19725 maybe-all-libtool:
19726 @if gcc-bootstrap
19727 all-libtool: stage_current
19728 @endif gcc-bootstrap
19729 @if libtool
19730 TARGET-libtool=all
19731 maybe-all-libtool: all-libtool
19732 all-libtool: configure-libtool
19733 @: $(MAKE); $(unstage)
19734 @r=`${PWD_COMMAND}`; export r; \
19735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19736 $(HOST_EXPORTS) \
19737 (cd $(HOST_SUBDIR)/libtool && \
19738 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
19739 @endif libtool
19744 .PHONY: check-libtool maybe-check-libtool
19745 maybe-check-libtool:
19746 @if libtool
19747 maybe-check-libtool: check-libtool
19749 check-libtool:
19750 @: $(MAKE); $(unstage)
19751 @r=`${PWD_COMMAND}`; export r; \
19752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19753 $(HOST_EXPORTS) \
19754 (cd $(HOST_SUBDIR)/libtool && \
19755 $(MAKE) $(FLAGS_TO_PASS) check)
19757 @endif libtool
19759 .PHONY: install-libtool maybe-install-libtool
19760 maybe-install-libtool:
19761 @if libtool
19762 maybe-install-libtool: install-libtool
19764 install-libtool: installdirs
19765 @: $(MAKE); $(unstage)
19766 @r=`${PWD_COMMAND}`; export r; \
19767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19768 $(HOST_EXPORTS) \
19769 (cd $(HOST_SUBDIR)/libtool && \
19770 $(MAKE) $(FLAGS_TO_PASS) install)
19772 @endif libtool
19774 # Other targets (info, dvi, etc.)
19776 .PHONY: maybe-info-libtool info-libtool
19777 maybe-info-libtool:
19778 @if libtool
19779 maybe-info-libtool: info-libtool
19781 info-libtool: \
19782 configure-libtool
19783 @: $(MAKE); $(unstage)
19784 @[ -f ./libtool/Makefile ] || exit 0; \
19785 r=`${PWD_COMMAND}`; export r; \
19786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19787 $(HOST_EXPORTS) \
19788 for flag in $(EXTRA_HOST_FLAGS) ; do \
19789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19790 done; \
19791 echo "Doing info in libtool" ; \
19792 (cd $(HOST_SUBDIR)/libtool && \
19793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19795 "RANLIB=$${RANLIB}" \
19796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19797 info) \
19798 || exit 1
19800 @endif libtool
19802 .PHONY: maybe-dvi-libtool dvi-libtool
19803 maybe-dvi-libtool:
19804 @if libtool
19805 maybe-dvi-libtool: dvi-libtool
19807 dvi-libtool: \
19808 configure-libtool
19809 @: $(MAKE); $(unstage)
19810 @[ -f ./libtool/Makefile ] || exit 0; \
19811 r=`${PWD_COMMAND}`; export r; \
19812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19813 $(HOST_EXPORTS) \
19814 for flag in $(EXTRA_HOST_FLAGS) ; do \
19815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19816 done; \
19817 echo "Doing dvi in libtool" ; \
19818 (cd $(HOST_SUBDIR)/libtool && \
19819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19821 "RANLIB=$${RANLIB}" \
19822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19823 dvi) \
19824 || exit 1
19826 @endif libtool
19828 .PHONY: maybe-html-libtool html-libtool
19829 maybe-html-libtool:
19830 @if libtool
19831 maybe-html-libtool: html-libtool
19833 html-libtool: \
19834 configure-libtool
19835 @: $(MAKE); $(unstage)
19836 @[ -f ./libtool/Makefile ] || exit 0; \
19837 r=`${PWD_COMMAND}`; export r; \
19838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19839 $(HOST_EXPORTS) \
19840 for flag in $(EXTRA_HOST_FLAGS) ; do \
19841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19842 done; \
19843 echo "Doing html in libtool" ; \
19844 (cd $(HOST_SUBDIR)/libtool && \
19845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19847 "RANLIB=$${RANLIB}" \
19848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19849 html) \
19850 || exit 1
19852 @endif libtool
19854 .PHONY: maybe-TAGS-libtool TAGS-libtool
19855 maybe-TAGS-libtool:
19856 @if libtool
19857 maybe-TAGS-libtool: TAGS-libtool
19859 TAGS-libtool: \
19860 configure-libtool
19861 @: $(MAKE); $(unstage)
19862 @[ -f ./libtool/Makefile ] || exit 0; \
19863 r=`${PWD_COMMAND}`; export r; \
19864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19865 $(HOST_EXPORTS) \
19866 for flag in $(EXTRA_HOST_FLAGS) ; do \
19867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19868 done; \
19869 echo "Doing TAGS in libtool" ; \
19870 (cd $(HOST_SUBDIR)/libtool && \
19871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19873 "RANLIB=$${RANLIB}" \
19874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19875 TAGS) \
19876 || exit 1
19878 @endif libtool
19880 .PHONY: maybe-install-info-libtool install-info-libtool
19881 maybe-install-info-libtool:
19882 @if libtool
19883 maybe-install-info-libtool: install-info-libtool
19885 install-info-libtool: \
19886 configure-libtool \
19887 info-libtool
19888 @: $(MAKE); $(unstage)
19889 @[ -f ./libtool/Makefile ] || exit 0; \
19890 r=`${PWD_COMMAND}`; export r; \
19891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19892 $(HOST_EXPORTS) \
19893 for flag in $(EXTRA_HOST_FLAGS) ; do \
19894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19895 done; \
19896 echo "Doing install-info in libtool" ; \
19897 (cd $(HOST_SUBDIR)/libtool && \
19898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19900 "RANLIB=$${RANLIB}" \
19901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19902 install-info) \
19903 || exit 1
19905 @endif libtool
19907 .PHONY: maybe-install-html-libtool install-html-libtool
19908 maybe-install-html-libtool:
19909 @if libtool
19910 maybe-install-html-libtool: install-html-libtool
19912 install-html-libtool: \
19913 configure-libtool \
19914 html-libtool
19915 @: $(MAKE); $(unstage)
19916 @[ -f ./libtool/Makefile ] || exit 0; \
19917 r=`${PWD_COMMAND}`; export r; \
19918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19919 $(HOST_EXPORTS) \
19920 for flag in $(EXTRA_HOST_FLAGS) ; do \
19921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19922 done; \
19923 echo "Doing install-html in libtool" ; \
19924 (cd $(HOST_SUBDIR)/libtool && \
19925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19927 "RANLIB=$${RANLIB}" \
19928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19929 install-html) \
19930 || exit 1
19932 @endif libtool
19934 .PHONY: maybe-installcheck-libtool installcheck-libtool
19935 maybe-installcheck-libtool:
19936 @if libtool
19937 maybe-installcheck-libtool: installcheck-libtool
19939 installcheck-libtool: \
19940 configure-libtool
19941 @: $(MAKE); $(unstage)
19942 @[ -f ./libtool/Makefile ] || exit 0; \
19943 r=`${PWD_COMMAND}`; export r; \
19944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19945 $(HOST_EXPORTS) \
19946 for flag in $(EXTRA_HOST_FLAGS) ; do \
19947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19948 done; \
19949 echo "Doing installcheck in libtool" ; \
19950 (cd $(HOST_SUBDIR)/libtool && \
19951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19953 "RANLIB=$${RANLIB}" \
19954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19955 installcheck) \
19956 || exit 1
19958 @endif libtool
19960 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
19961 maybe-mostlyclean-libtool:
19962 @if libtool
19963 maybe-mostlyclean-libtool: mostlyclean-libtool
19965 mostlyclean-libtool:
19966 @: $(MAKE); $(unstage)
19967 @[ -f ./libtool/Makefile ] || exit 0; \
19968 r=`${PWD_COMMAND}`; export r; \
19969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19970 $(HOST_EXPORTS) \
19971 for flag in $(EXTRA_HOST_FLAGS) ; do \
19972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19973 done; \
19974 echo "Doing mostlyclean in libtool" ; \
19975 (cd $(HOST_SUBDIR)/libtool && \
19976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19978 "RANLIB=$${RANLIB}" \
19979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19980 mostlyclean) \
19981 || exit 1
19983 @endif libtool
19985 .PHONY: maybe-clean-libtool clean-libtool
19986 maybe-clean-libtool:
19987 @if libtool
19988 maybe-clean-libtool: clean-libtool
19990 clean-libtool:
19991 @: $(MAKE); $(unstage)
19992 @[ -f ./libtool/Makefile ] || exit 0; \
19993 r=`${PWD_COMMAND}`; export r; \
19994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19995 $(HOST_EXPORTS) \
19996 for flag in $(EXTRA_HOST_FLAGS) ; do \
19997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19998 done; \
19999 echo "Doing clean in libtool" ; \
20000 (cd $(HOST_SUBDIR)/libtool && \
20001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20003 "RANLIB=$${RANLIB}" \
20004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20005 clean) \
20006 || exit 1
20008 @endif libtool
20010 .PHONY: maybe-distclean-libtool distclean-libtool
20011 maybe-distclean-libtool:
20012 @if libtool
20013 maybe-distclean-libtool: distclean-libtool
20015 distclean-libtool:
20016 @: $(MAKE); $(unstage)
20017 @[ -f ./libtool/Makefile ] || exit 0; \
20018 r=`${PWD_COMMAND}`; export r; \
20019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20020 $(HOST_EXPORTS) \
20021 for flag in $(EXTRA_HOST_FLAGS) ; do \
20022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20023 done; \
20024 echo "Doing distclean in libtool" ; \
20025 (cd $(HOST_SUBDIR)/libtool && \
20026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20028 "RANLIB=$${RANLIB}" \
20029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20030 distclean) \
20031 || exit 1
20033 @endif libtool
20035 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
20036 maybe-maintainer-clean-libtool:
20037 @if libtool
20038 maybe-maintainer-clean-libtool: maintainer-clean-libtool
20040 maintainer-clean-libtool:
20041 @: $(MAKE); $(unstage)
20042 @[ -f ./libtool/Makefile ] || exit 0; \
20043 r=`${PWD_COMMAND}`; export r; \
20044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20045 $(HOST_EXPORTS) \
20046 for flag in $(EXTRA_HOST_FLAGS) ; do \
20047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20048 done; \
20049 echo "Doing maintainer-clean in libtool" ; \
20050 (cd $(HOST_SUBDIR)/libtool && \
20051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20053 "RANLIB=$${RANLIB}" \
20054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20055 maintainer-clean) \
20056 || exit 1
20058 @endif libtool
20062 .PHONY: configure-m4 maybe-configure-m4
20063 maybe-configure-m4:
20064 @if gcc-bootstrap
20065 configure-m4: stage_current
20066 @endif gcc-bootstrap
20067 @if m4
20068 maybe-configure-m4: configure-m4
20069 configure-m4:
20070 @: $(MAKE); $(unstage)
20071 @r=`${PWD_COMMAND}`; export r; \
20072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20073 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
20074 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
20075 $(HOST_EXPORTS) \
20076 echo Configuring in $(HOST_SUBDIR)/m4; \
20077 cd "$(HOST_SUBDIR)/m4" || exit 1; \
20078 case $(srcdir) in \
20079 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20080 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
20081 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20082 esac; \
20083 srcdiroption="--srcdir=$${topdir}/m4"; \
20084 libsrcdir="$$s/m4"; \
20085 $(SHELL) $${libsrcdir}/configure \
20086 $(HOST_CONFIGARGS) $${srcdiroption} \
20087 || exit 1
20088 @endif m4
20094 .PHONY: all-m4 maybe-all-m4
20095 maybe-all-m4:
20096 @if gcc-bootstrap
20097 all-m4: stage_current
20098 @endif gcc-bootstrap
20099 @if m4
20100 TARGET-m4=all
20101 maybe-all-m4: all-m4
20102 all-m4: configure-m4
20103 @: $(MAKE); $(unstage)
20104 @r=`${PWD_COMMAND}`; export r; \
20105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20106 $(HOST_EXPORTS) \
20107 (cd $(HOST_SUBDIR)/m4 && \
20108 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
20109 @endif m4
20114 .PHONY: check-m4 maybe-check-m4
20115 maybe-check-m4:
20116 @if m4
20117 maybe-check-m4: check-m4
20119 check-m4:
20120 @: $(MAKE); $(unstage)
20121 @r=`${PWD_COMMAND}`; export r; \
20122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20123 $(HOST_EXPORTS) \
20124 (cd $(HOST_SUBDIR)/m4 && \
20125 $(MAKE) $(FLAGS_TO_PASS) check)
20127 @endif m4
20129 .PHONY: install-m4 maybe-install-m4
20130 maybe-install-m4:
20131 @if m4
20132 maybe-install-m4: install-m4
20134 install-m4: installdirs
20135 @: $(MAKE); $(unstage)
20136 @r=`${PWD_COMMAND}`; export r; \
20137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20138 $(HOST_EXPORTS) \
20139 (cd $(HOST_SUBDIR)/m4 && \
20140 $(MAKE) $(FLAGS_TO_PASS) install)
20142 @endif m4
20144 # Other targets (info, dvi, etc.)
20146 .PHONY: maybe-info-m4 info-m4
20147 maybe-info-m4:
20148 @if m4
20149 maybe-info-m4: info-m4
20151 info-m4: \
20152 configure-m4
20153 @: $(MAKE); $(unstage)
20154 @[ -f ./m4/Makefile ] || exit 0; \
20155 r=`${PWD_COMMAND}`; export r; \
20156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20157 $(HOST_EXPORTS) \
20158 for flag in $(EXTRA_HOST_FLAGS) ; do \
20159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20160 done; \
20161 echo "Doing info in m4" ; \
20162 (cd $(HOST_SUBDIR)/m4 && \
20163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20165 "RANLIB=$${RANLIB}" \
20166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20167 info) \
20168 || exit 1
20170 @endif m4
20172 .PHONY: maybe-dvi-m4 dvi-m4
20173 maybe-dvi-m4:
20174 @if m4
20175 maybe-dvi-m4: dvi-m4
20177 dvi-m4: \
20178 configure-m4
20179 @: $(MAKE); $(unstage)
20180 @[ -f ./m4/Makefile ] || exit 0; \
20181 r=`${PWD_COMMAND}`; export r; \
20182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20183 $(HOST_EXPORTS) \
20184 for flag in $(EXTRA_HOST_FLAGS) ; do \
20185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20186 done; \
20187 echo "Doing dvi in m4" ; \
20188 (cd $(HOST_SUBDIR)/m4 && \
20189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20191 "RANLIB=$${RANLIB}" \
20192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20193 dvi) \
20194 || exit 1
20196 @endif m4
20198 .PHONY: maybe-html-m4 html-m4
20199 maybe-html-m4:
20200 @if m4
20201 maybe-html-m4: html-m4
20203 html-m4: \
20204 configure-m4
20205 @: $(MAKE); $(unstage)
20206 @[ -f ./m4/Makefile ] || exit 0; \
20207 r=`${PWD_COMMAND}`; export r; \
20208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20209 $(HOST_EXPORTS) \
20210 for flag in $(EXTRA_HOST_FLAGS) ; do \
20211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20212 done; \
20213 echo "Doing html in m4" ; \
20214 (cd $(HOST_SUBDIR)/m4 && \
20215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20217 "RANLIB=$${RANLIB}" \
20218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20219 html) \
20220 || exit 1
20222 @endif m4
20224 .PHONY: maybe-TAGS-m4 TAGS-m4
20225 maybe-TAGS-m4:
20226 @if m4
20227 maybe-TAGS-m4: TAGS-m4
20229 TAGS-m4: \
20230 configure-m4
20231 @: $(MAKE); $(unstage)
20232 @[ -f ./m4/Makefile ] || exit 0; \
20233 r=`${PWD_COMMAND}`; export r; \
20234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20235 $(HOST_EXPORTS) \
20236 for flag in $(EXTRA_HOST_FLAGS) ; do \
20237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20238 done; \
20239 echo "Doing TAGS in m4" ; \
20240 (cd $(HOST_SUBDIR)/m4 && \
20241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20243 "RANLIB=$${RANLIB}" \
20244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20245 TAGS) \
20246 || exit 1
20248 @endif m4
20250 .PHONY: maybe-install-info-m4 install-info-m4
20251 maybe-install-info-m4:
20252 @if m4
20253 maybe-install-info-m4: install-info-m4
20255 install-info-m4: \
20256 configure-m4 \
20257 info-m4
20258 @: $(MAKE); $(unstage)
20259 @[ -f ./m4/Makefile ] || exit 0; \
20260 r=`${PWD_COMMAND}`; export r; \
20261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20262 $(HOST_EXPORTS) \
20263 for flag in $(EXTRA_HOST_FLAGS) ; do \
20264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20265 done; \
20266 echo "Doing install-info in m4" ; \
20267 (cd $(HOST_SUBDIR)/m4 && \
20268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20270 "RANLIB=$${RANLIB}" \
20271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20272 install-info) \
20273 || exit 1
20275 @endif m4
20277 .PHONY: maybe-install-html-m4 install-html-m4
20278 maybe-install-html-m4:
20279 @if m4
20280 maybe-install-html-m4: install-html-m4
20282 install-html-m4: \
20283 configure-m4 \
20284 html-m4
20285 @: $(MAKE); $(unstage)
20286 @[ -f ./m4/Makefile ] || exit 0; \
20287 r=`${PWD_COMMAND}`; export r; \
20288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20289 $(HOST_EXPORTS) \
20290 for flag in $(EXTRA_HOST_FLAGS) ; do \
20291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20292 done; \
20293 echo "Doing install-html in m4" ; \
20294 (cd $(HOST_SUBDIR)/m4 && \
20295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20297 "RANLIB=$${RANLIB}" \
20298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20299 install-html) \
20300 || exit 1
20302 @endif m4
20304 .PHONY: maybe-installcheck-m4 installcheck-m4
20305 maybe-installcheck-m4:
20306 @if m4
20307 maybe-installcheck-m4: installcheck-m4
20309 installcheck-m4: \
20310 configure-m4
20311 @: $(MAKE); $(unstage)
20312 @[ -f ./m4/Makefile ] || exit 0; \
20313 r=`${PWD_COMMAND}`; export r; \
20314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20315 $(HOST_EXPORTS) \
20316 for flag in $(EXTRA_HOST_FLAGS) ; do \
20317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20318 done; \
20319 echo "Doing installcheck in m4" ; \
20320 (cd $(HOST_SUBDIR)/m4 && \
20321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20323 "RANLIB=$${RANLIB}" \
20324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20325 installcheck) \
20326 || exit 1
20328 @endif m4
20330 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
20331 maybe-mostlyclean-m4:
20332 @if m4
20333 maybe-mostlyclean-m4: mostlyclean-m4
20335 mostlyclean-m4:
20336 @: $(MAKE); $(unstage)
20337 @[ -f ./m4/Makefile ] || exit 0; \
20338 r=`${PWD_COMMAND}`; export r; \
20339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20340 $(HOST_EXPORTS) \
20341 for flag in $(EXTRA_HOST_FLAGS) ; do \
20342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20343 done; \
20344 echo "Doing mostlyclean in m4" ; \
20345 (cd $(HOST_SUBDIR)/m4 && \
20346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20348 "RANLIB=$${RANLIB}" \
20349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20350 mostlyclean) \
20351 || exit 1
20353 @endif m4
20355 .PHONY: maybe-clean-m4 clean-m4
20356 maybe-clean-m4:
20357 @if m4
20358 maybe-clean-m4: clean-m4
20360 clean-m4:
20361 @: $(MAKE); $(unstage)
20362 @[ -f ./m4/Makefile ] || exit 0; \
20363 r=`${PWD_COMMAND}`; export r; \
20364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20365 $(HOST_EXPORTS) \
20366 for flag in $(EXTRA_HOST_FLAGS) ; do \
20367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20368 done; \
20369 echo "Doing clean in m4" ; \
20370 (cd $(HOST_SUBDIR)/m4 && \
20371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20373 "RANLIB=$${RANLIB}" \
20374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20375 clean) \
20376 || exit 1
20378 @endif m4
20380 .PHONY: maybe-distclean-m4 distclean-m4
20381 maybe-distclean-m4:
20382 @if m4
20383 maybe-distclean-m4: distclean-m4
20385 distclean-m4:
20386 @: $(MAKE); $(unstage)
20387 @[ -f ./m4/Makefile ] || exit 0; \
20388 r=`${PWD_COMMAND}`; export r; \
20389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20390 $(HOST_EXPORTS) \
20391 for flag in $(EXTRA_HOST_FLAGS) ; do \
20392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20393 done; \
20394 echo "Doing distclean in m4" ; \
20395 (cd $(HOST_SUBDIR)/m4 && \
20396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20398 "RANLIB=$${RANLIB}" \
20399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20400 distclean) \
20401 || exit 1
20403 @endif m4
20405 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
20406 maybe-maintainer-clean-m4:
20407 @if m4
20408 maybe-maintainer-clean-m4: maintainer-clean-m4
20410 maintainer-clean-m4:
20411 @: $(MAKE); $(unstage)
20412 @[ -f ./m4/Makefile ] || exit 0; \
20413 r=`${PWD_COMMAND}`; export r; \
20414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20415 $(HOST_EXPORTS) \
20416 for flag in $(EXTRA_HOST_FLAGS) ; do \
20417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20418 done; \
20419 echo "Doing maintainer-clean in m4" ; \
20420 (cd $(HOST_SUBDIR)/m4 && \
20421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20423 "RANLIB=$${RANLIB}" \
20424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20425 maintainer-clean) \
20426 || exit 1
20428 @endif m4
20432 .PHONY: configure-make maybe-configure-make
20433 maybe-configure-make:
20434 @if gcc-bootstrap
20435 configure-make: stage_current
20436 @endif gcc-bootstrap
20437 @if make
20438 maybe-configure-make: configure-make
20439 configure-make:
20440 @: $(MAKE); $(unstage)
20441 @r=`${PWD_COMMAND}`; export r; \
20442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20443 test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
20444 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
20445 $(HOST_EXPORTS) \
20446 echo Configuring in $(HOST_SUBDIR)/make; \
20447 cd "$(HOST_SUBDIR)/make" || exit 1; \
20448 case $(srcdir) in \
20449 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20450 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
20451 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20452 esac; \
20453 srcdiroption="--srcdir=$${topdir}/make"; \
20454 libsrcdir="$$s/make"; \
20455 $(SHELL) $${libsrcdir}/configure \
20456 $(HOST_CONFIGARGS) $${srcdiroption} \
20457 || exit 1
20458 @endif make
20464 .PHONY: all-make maybe-all-make
20465 maybe-all-make:
20466 @if gcc-bootstrap
20467 all-make: stage_current
20468 @endif gcc-bootstrap
20469 @if make
20470 TARGET-make=all
20471 maybe-all-make: all-make
20472 all-make: configure-make
20473 @: $(MAKE); $(unstage)
20474 @r=`${PWD_COMMAND}`; export r; \
20475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20476 $(HOST_EXPORTS) \
20477 (cd $(HOST_SUBDIR)/make && \
20478 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
20479 @endif make
20484 .PHONY: check-make maybe-check-make
20485 maybe-check-make:
20486 @if make
20487 maybe-check-make: check-make
20489 check-make:
20490 @: $(MAKE); $(unstage)
20491 @r=`${PWD_COMMAND}`; export r; \
20492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20493 $(HOST_EXPORTS) \
20494 (cd $(HOST_SUBDIR)/make && \
20495 $(MAKE) $(FLAGS_TO_PASS) check)
20497 @endif make
20499 .PHONY: install-make maybe-install-make
20500 maybe-install-make:
20501 @if make
20502 maybe-install-make: install-make
20504 install-make: installdirs
20505 @: $(MAKE); $(unstage)
20506 @r=`${PWD_COMMAND}`; export r; \
20507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20508 $(HOST_EXPORTS) \
20509 (cd $(HOST_SUBDIR)/make && \
20510 $(MAKE) $(FLAGS_TO_PASS) install)
20512 @endif make
20514 # Other targets (info, dvi, etc.)
20516 .PHONY: maybe-info-make info-make
20517 maybe-info-make:
20518 @if make
20519 maybe-info-make: info-make
20521 info-make: \
20522 configure-make
20523 @: $(MAKE); $(unstage)
20524 @[ -f ./make/Makefile ] || exit 0; \
20525 r=`${PWD_COMMAND}`; export r; \
20526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20527 $(HOST_EXPORTS) \
20528 for flag in $(EXTRA_HOST_FLAGS) ; do \
20529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20530 done; \
20531 echo "Doing info in make" ; \
20532 (cd $(HOST_SUBDIR)/make && \
20533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20535 "RANLIB=$${RANLIB}" \
20536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20537 info) \
20538 || exit 1
20540 @endif make
20542 .PHONY: maybe-dvi-make dvi-make
20543 maybe-dvi-make:
20544 @if make
20545 maybe-dvi-make: dvi-make
20547 dvi-make: \
20548 configure-make
20549 @: $(MAKE); $(unstage)
20550 @[ -f ./make/Makefile ] || exit 0; \
20551 r=`${PWD_COMMAND}`; export r; \
20552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20553 $(HOST_EXPORTS) \
20554 for flag in $(EXTRA_HOST_FLAGS) ; do \
20555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20556 done; \
20557 echo "Doing dvi in make" ; \
20558 (cd $(HOST_SUBDIR)/make && \
20559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20561 "RANLIB=$${RANLIB}" \
20562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20563 dvi) \
20564 || exit 1
20566 @endif make
20568 .PHONY: maybe-html-make html-make
20569 maybe-html-make:
20570 @if make
20571 maybe-html-make: html-make
20573 html-make: \
20574 configure-make
20575 @: $(MAKE); $(unstage)
20576 @[ -f ./make/Makefile ] || exit 0; \
20577 r=`${PWD_COMMAND}`; export r; \
20578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20579 $(HOST_EXPORTS) \
20580 for flag in $(EXTRA_HOST_FLAGS) ; do \
20581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20582 done; \
20583 echo "Doing html in make" ; \
20584 (cd $(HOST_SUBDIR)/make && \
20585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20587 "RANLIB=$${RANLIB}" \
20588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20589 html) \
20590 || exit 1
20592 @endif make
20594 .PHONY: maybe-TAGS-make TAGS-make
20595 maybe-TAGS-make:
20596 @if make
20597 maybe-TAGS-make: TAGS-make
20599 TAGS-make: \
20600 configure-make
20601 @: $(MAKE); $(unstage)
20602 @[ -f ./make/Makefile ] || exit 0; \
20603 r=`${PWD_COMMAND}`; export r; \
20604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20605 $(HOST_EXPORTS) \
20606 for flag in $(EXTRA_HOST_FLAGS) ; do \
20607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20608 done; \
20609 echo "Doing TAGS in make" ; \
20610 (cd $(HOST_SUBDIR)/make && \
20611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20613 "RANLIB=$${RANLIB}" \
20614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20615 TAGS) \
20616 || exit 1
20618 @endif make
20620 .PHONY: maybe-install-info-make install-info-make
20621 maybe-install-info-make:
20622 @if make
20623 maybe-install-info-make: install-info-make
20625 install-info-make: \
20626 configure-make \
20627 info-make
20628 @: $(MAKE); $(unstage)
20629 @[ -f ./make/Makefile ] || exit 0; \
20630 r=`${PWD_COMMAND}`; export r; \
20631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20632 $(HOST_EXPORTS) \
20633 for flag in $(EXTRA_HOST_FLAGS) ; do \
20634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20635 done; \
20636 echo "Doing install-info in make" ; \
20637 (cd $(HOST_SUBDIR)/make && \
20638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20640 "RANLIB=$${RANLIB}" \
20641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20642 install-info) \
20643 || exit 1
20645 @endif make
20647 .PHONY: maybe-install-html-make install-html-make
20648 maybe-install-html-make:
20649 @if make
20650 maybe-install-html-make: install-html-make
20652 install-html-make: \
20653 configure-make \
20654 html-make
20655 @: $(MAKE); $(unstage)
20656 @[ -f ./make/Makefile ] || exit 0; \
20657 r=`${PWD_COMMAND}`; export r; \
20658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20659 $(HOST_EXPORTS) \
20660 for flag in $(EXTRA_HOST_FLAGS) ; do \
20661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20662 done; \
20663 echo "Doing install-html in make" ; \
20664 (cd $(HOST_SUBDIR)/make && \
20665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20667 "RANLIB=$${RANLIB}" \
20668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20669 install-html) \
20670 || exit 1
20672 @endif make
20674 .PHONY: maybe-installcheck-make installcheck-make
20675 maybe-installcheck-make:
20676 @if make
20677 maybe-installcheck-make: installcheck-make
20679 installcheck-make: \
20680 configure-make
20681 @: $(MAKE); $(unstage)
20682 @[ -f ./make/Makefile ] || exit 0; \
20683 r=`${PWD_COMMAND}`; export r; \
20684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20685 $(HOST_EXPORTS) \
20686 for flag in $(EXTRA_HOST_FLAGS) ; do \
20687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20688 done; \
20689 echo "Doing installcheck in make" ; \
20690 (cd $(HOST_SUBDIR)/make && \
20691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20693 "RANLIB=$${RANLIB}" \
20694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20695 installcheck) \
20696 || exit 1
20698 @endif make
20700 .PHONY: maybe-mostlyclean-make mostlyclean-make
20701 maybe-mostlyclean-make:
20702 @if make
20703 maybe-mostlyclean-make: mostlyclean-make
20705 mostlyclean-make:
20706 @: $(MAKE); $(unstage)
20707 @[ -f ./make/Makefile ] || exit 0; \
20708 r=`${PWD_COMMAND}`; export r; \
20709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20710 $(HOST_EXPORTS) \
20711 for flag in $(EXTRA_HOST_FLAGS) ; do \
20712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20713 done; \
20714 echo "Doing mostlyclean in make" ; \
20715 (cd $(HOST_SUBDIR)/make && \
20716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20718 "RANLIB=$${RANLIB}" \
20719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20720 mostlyclean) \
20721 || exit 1
20723 @endif make
20725 .PHONY: maybe-clean-make clean-make
20726 maybe-clean-make:
20727 @if make
20728 maybe-clean-make: clean-make
20730 clean-make:
20731 @: $(MAKE); $(unstage)
20732 @[ -f ./make/Makefile ] || exit 0; \
20733 r=`${PWD_COMMAND}`; export r; \
20734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20735 $(HOST_EXPORTS) \
20736 for flag in $(EXTRA_HOST_FLAGS) ; do \
20737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20738 done; \
20739 echo "Doing clean in make" ; \
20740 (cd $(HOST_SUBDIR)/make && \
20741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20743 "RANLIB=$${RANLIB}" \
20744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20745 clean) \
20746 || exit 1
20748 @endif make
20750 .PHONY: maybe-distclean-make distclean-make
20751 maybe-distclean-make:
20752 @if make
20753 maybe-distclean-make: distclean-make
20755 distclean-make:
20756 @: $(MAKE); $(unstage)
20757 @[ -f ./make/Makefile ] || exit 0; \
20758 r=`${PWD_COMMAND}`; export r; \
20759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20760 $(HOST_EXPORTS) \
20761 for flag in $(EXTRA_HOST_FLAGS) ; do \
20762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20763 done; \
20764 echo "Doing distclean in make" ; \
20765 (cd $(HOST_SUBDIR)/make && \
20766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20768 "RANLIB=$${RANLIB}" \
20769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20770 distclean) \
20771 || exit 1
20773 @endif make
20775 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
20776 maybe-maintainer-clean-make:
20777 @if make
20778 maybe-maintainer-clean-make: maintainer-clean-make
20780 maintainer-clean-make:
20781 @: $(MAKE); $(unstage)
20782 @[ -f ./make/Makefile ] || exit 0; \
20783 r=`${PWD_COMMAND}`; export r; \
20784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20785 $(HOST_EXPORTS) \
20786 for flag in $(EXTRA_HOST_FLAGS) ; do \
20787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20788 done; \
20789 echo "Doing maintainer-clean in make" ; \
20790 (cd $(HOST_SUBDIR)/make && \
20791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20793 "RANLIB=$${RANLIB}" \
20794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20795 maintainer-clean) \
20796 || exit 1
20798 @endif make
20802 .PHONY: configure-mmalloc maybe-configure-mmalloc
20803 maybe-configure-mmalloc:
20804 @if gcc-bootstrap
20805 configure-mmalloc: stage_current
20806 @endif gcc-bootstrap
20807 @if mmalloc
20808 maybe-configure-mmalloc: configure-mmalloc
20809 configure-mmalloc:
20810 @: $(MAKE); $(unstage)
20811 @r=`${PWD_COMMAND}`; export r; \
20812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20813 test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
20814 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
20815 $(HOST_EXPORTS) \
20816 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
20817 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
20818 case $(srcdir) in \
20819 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20820 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
20821 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20822 esac; \
20823 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
20824 libsrcdir="$$s/mmalloc"; \
20825 $(SHELL) $${libsrcdir}/configure \
20826 $(HOST_CONFIGARGS) $${srcdiroption} \
20827 || exit 1
20828 @endif mmalloc
20834 .PHONY: all-mmalloc maybe-all-mmalloc
20835 maybe-all-mmalloc:
20836 @if gcc-bootstrap
20837 all-mmalloc: stage_current
20838 @endif gcc-bootstrap
20839 @if mmalloc
20840 TARGET-mmalloc=all
20841 maybe-all-mmalloc: all-mmalloc
20842 all-mmalloc: configure-mmalloc
20843 @: $(MAKE); $(unstage)
20844 @r=`${PWD_COMMAND}`; export r; \
20845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20846 $(HOST_EXPORTS) \
20847 (cd $(HOST_SUBDIR)/mmalloc && \
20848 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
20849 @endif mmalloc
20854 .PHONY: check-mmalloc maybe-check-mmalloc
20855 maybe-check-mmalloc:
20856 @if mmalloc
20857 maybe-check-mmalloc: check-mmalloc
20859 check-mmalloc:
20861 @endif mmalloc
20863 .PHONY: install-mmalloc maybe-install-mmalloc
20864 maybe-install-mmalloc:
20865 @if mmalloc
20866 maybe-install-mmalloc: install-mmalloc
20868 install-mmalloc: installdirs
20869 @: $(MAKE); $(unstage)
20870 @r=`${PWD_COMMAND}`; export r; \
20871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20872 $(HOST_EXPORTS) \
20873 (cd $(HOST_SUBDIR)/mmalloc && \
20874 $(MAKE) $(FLAGS_TO_PASS) install)
20876 @endif mmalloc
20878 # Other targets (info, dvi, etc.)
20880 .PHONY: maybe-info-mmalloc info-mmalloc
20881 maybe-info-mmalloc:
20882 @if mmalloc
20883 maybe-info-mmalloc: info-mmalloc
20885 info-mmalloc: \
20886 configure-mmalloc
20887 @: $(MAKE); $(unstage)
20888 @[ -f ./mmalloc/Makefile ] || exit 0; \
20889 r=`${PWD_COMMAND}`; export r; \
20890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20891 $(HOST_EXPORTS) \
20892 for flag in $(EXTRA_HOST_FLAGS) ; do \
20893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20894 done; \
20895 echo "Doing info in mmalloc" ; \
20896 (cd $(HOST_SUBDIR)/mmalloc && \
20897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20899 "RANLIB=$${RANLIB}" \
20900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20901 info) \
20902 || exit 1
20904 @endif mmalloc
20906 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
20907 maybe-dvi-mmalloc:
20908 @if mmalloc
20909 maybe-dvi-mmalloc: dvi-mmalloc
20911 dvi-mmalloc: \
20912 configure-mmalloc
20913 @: $(MAKE); $(unstage)
20914 @[ -f ./mmalloc/Makefile ] || exit 0; \
20915 r=`${PWD_COMMAND}`; export r; \
20916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20917 $(HOST_EXPORTS) \
20918 for flag in $(EXTRA_HOST_FLAGS) ; do \
20919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20920 done; \
20921 echo "Doing dvi in mmalloc" ; \
20922 (cd $(HOST_SUBDIR)/mmalloc && \
20923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20925 "RANLIB=$${RANLIB}" \
20926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20927 dvi) \
20928 || exit 1
20930 @endif mmalloc
20932 .PHONY: maybe-html-mmalloc html-mmalloc
20933 maybe-html-mmalloc:
20934 @if mmalloc
20935 maybe-html-mmalloc: html-mmalloc
20937 html-mmalloc: \
20938 configure-mmalloc
20939 @: $(MAKE); $(unstage)
20940 @[ -f ./mmalloc/Makefile ] || exit 0; \
20941 r=`${PWD_COMMAND}`; export r; \
20942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20943 $(HOST_EXPORTS) \
20944 for flag in $(EXTRA_HOST_FLAGS) ; do \
20945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20946 done; \
20947 echo "Doing html in mmalloc" ; \
20948 (cd $(HOST_SUBDIR)/mmalloc && \
20949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20951 "RANLIB=$${RANLIB}" \
20952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20953 html) \
20954 || exit 1
20956 @endif mmalloc
20958 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
20959 maybe-TAGS-mmalloc:
20960 @if mmalloc
20961 maybe-TAGS-mmalloc: TAGS-mmalloc
20963 TAGS-mmalloc: \
20964 configure-mmalloc
20965 @: $(MAKE); $(unstage)
20966 @[ -f ./mmalloc/Makefile ] || exit 0; \
20967 r=`${PWD_COMMAND}`; export r; \
20968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20969 $(HOST_EXPORTS) \
20970 for flag in $(EXTRA_HOST_FLAGS) ; do \
20971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20972 done; \
20973 echo "Doing TAGS in mmalloc" ; \
20974 (cd $(HOST_SUBDIR)/mmalloc && \
20975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20977 "RANLIB=$${RANLIB}" \
20978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20979 TAGS) \
20980 || exit 1
20982 @endif mmalloc
20984 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
20985 maybe-install-info-mmalloc:
20986 @if mmalloc
20987 maybe-install-info-mmalloc: install-info-mmalloc
20989 install-info-mmalloc: \
20990 configure-mmalloc \
20991 info-mmalloc
20992 @: $(MAKE); $(unstage)
20993 @[ -f ./mmalloc/Makefile ] || exit 0; \
20994 r=`${PWD_COMMAND}`; export r; \
20995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20996 $(HOST_EXPORTS) \
20997 for flag in $(EXTRA_HOST_FLAGS) ; do \
20998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20999 done; \
21000 echo "Doing install-info in mmalloc" ; \
21001 (cd $(HOST_SUBDIR)/mmalloc && \
21002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21004 "RANLIB=$${RANLIB}" \
21005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21006 install-info) \
21007 || exit 1
21009 @endif mmalloc
21011 .PHONY: maybe-install-html-mmalloc install-html-mmalloc
21012 maybe-install-html-mmalloc:
21013 @if mmalloc
21014 maybe-install-html-mmalloc: install-html-mmalloc
21016 install-html-mmalloc: \
21017 configure-mmalloc \
21018 html-mmalloc
21019 @: $(MAKE); $(unstage)
21020 @[ -f ./mmalloc/Makefile ] || exit 0; \
21021 r=`${PWD_COMMAND}`; export r; \
21022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21023 $(HOST_EXPORTS) \
21024 for flag in $(EXTRA_HOST_FLAGS) ; do \
21025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21026 done; \
21027 echo "Doing install-html in mmalloc" ; \
21028 (cd $(HOST_SUBDIR)/mmalloc && \
21029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21031 "RANLIB=$${RANLIB}" \
21032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21033 install-html) \
21034 || exit 1
21036 @endif mmalloc
21038 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
21039 maybe-installcheck-mmalloc:
21040 @if mmalloc
21041 maybe-installcheck-mmalloc: installcheck-mmalloc
21043 installcheck-mmalloc: \
21044 configure-mmalloc
21045 @: $(MAKE); $(unstage)
21046 @[ -f ./mmalloc/Makefile ] || exit 0; \
21047 r=`${PWD_COMMAND}`; export r; \
21048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21049 $(HOST_EXPORTS) \
21050 for flag in $(EXTRA_HOST_FLAGS) ; do \
21051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21052 done; \
21053 echo "Doing installcheck in mmalloc" ; \
21054 (cd $(HOST_SUBDIR)/mmalloc && \
21055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21057 "RANLIB=$${RANLIB}" \
21058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21059 installcheck) \
21060 || exit 1
21062 @endif mmalloc
21064 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
21065 maybe-mostlyclean-mmalloc:
21066 @if mmalloc
21067 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
21069 mostlyclean-mmalloc:
21070 @: $(MAKE); $(unstage)
21071 @[ -f ./mmalloc/Makefile ] || exit 0; \
21072 r=`${PWD_COMMAND}`; export r; \
21073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21074 $(HOST_EXPORTS) \
21075 for flag in $(EXTRA_HOST_FLAGS) ; do \
21076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21077 done; \
21078 echo "Doing mostlyclean in mmalloc" ; \
21079 (cd $(HOST_SUBDIR)/mmalloc && \
21080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21082 "RANLIB=$${RANLIB}" \
21083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21084 mostlyclean) \
21085 || exit 1
21087 @endif mmalloc
21089 .PHONY: maybe-clean-mmalloc clean-mmalloc
21090 maybe-clean-mmalloc:
21091 @if mmalloc
21092 maybe-clean-mmalloc: clean-mmalloc
21094 clean-mmalloc:
21095 @: $(MAKE); $(unstage)
21096 @[ -f ./mmalloc/Makefile ] || exit 0; \
21097 r=`${PWD_COMMAND}`; export r; \
21098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21099 $(HOST_EXPORTS) \
21100 for flag in $(EXTRA_HOST_FLAGS) ; do \
21101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21102 done; \
21103 echo "Doing clean in mmalloc" ; \
21104 (cd $(HOST_SUBDIR)/mmalloc && \
21105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21107 "RANLIB=$${RANLIB}" \
21108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21109 clean) \
21110 || exit 1
21112 @endif mmalloc
21114 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
21115 maybe-distclean-mmalloc:
21116 @if mmalloc
21117 maybe-distclean-mmalloc: distclean-mmalloc
21119 distclean-mmalloc:
21120 @: $(MAKE); $(unstage)
21121 @[ -f ./mmalloc/Makefile ] || exit 0; \
21122 r=`${PWD_COMMAND}`; export r; \
21123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21124 $(HOST_EXPORTS) \
21125 for flag in $(EXTRA_HOST_FLAGS) ; do \
21126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21127 done; \
21128 echo "Doing distclean in mmalloc" ; \
21129 (cd $(HOST_SUBDIR)/mmalloc && \
21130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21132 "RANLIB=$${RANLIB}" \
21133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21134 distclean) \
21135 || exit 1
21137 @endif mmalloc
21139 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
21140 maybe-maintainer-clean-mmalloc:
21141 @if mmalloc
21142 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
21144 maintainer-clean-mmalloc:
21145 @: $(MAKE); $(unstage)
21146 @[ -f ./mmalloc/Makefile ] || exit 0; \
21147 r=`${PWD_COMMAND}`; export r; \
21148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21149 $(HOST_EXPORTS) \
21150 for flag in $(EXTRA_HOST_FLAGS) ; do \
21151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21152 done; \
21153 echo "Doing maintainer-clean in mmalloc" ; \
21154 (cd $(HOST_SUBDIR)/mmalloc && \
21155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21157 "RANLIB=$${RANLIB}" \
21158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21159 maintainer-clean) \
21160 || exit 1
21162 @endif mmalloc
21166 .PHONY: configure-patch maybe-configure-patch
21167 maybe-configure-patch:
21168 @if gcc-bootstrap
21169 configure-patch: stage_current
21170 @endif gcc-bootstrap
21171 @if patch
21172 maybe-configure-patch: configure-patch
21173 configure-patch:
21174 @: $(MAKE); $(unstage)
21175 @r=`${PWD_COMMAND}`; export r; \
21176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21177 test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
21178 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
21179 $(HOST_EXPORTS) \
21180 echo Configuring in $(HOST_SUBDIR)/patch; \
21181 cd "$(HOST_SUBDIR)/patch" || exit 1; \
21182 case $(srcdir) in \
21183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21184 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
21185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21186 esac; \
21187 srcdiroption="--srcdir=$${topdir}/patch"; \
21188 libsrcdir="$$s/patch"; \
21189 $(SHELL) $${libsrcdir}/configure \
21190 $(HOST_CONFIGARGS) $${srcdiroption} \
21191 || exit 1
21192 @endif patch
21198 .PHONY: all-patch maybe-all-patch
21199 maybe-all-patch:
21200 @if gcc-bootstrap
21201 all-patch: stage_current
21202 @endif gcc-bootstrap
21203 @if patch
21204 TARGET-patch=all
21205 maybe-all-patch: all-patch
21206 all-patch: configure-patch
21207 @: $(MAKE); $(unstage)
21208 @r=`${PWD_COMMAND}`; export r; \
21209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21210 $(HOST_EXPORTS) \
21211 (cd $(HOST_SUBDIR)/patch && \
21212 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
21213 @endif patch
21218 .PHONY: check-patch maybe-check-patch
21219 maybe-check-patch:
21220 @if patch
21221 maybe-check-patch: check-patch
21223 check-patch:
21224 @: $(MAKE); $(unstage)
21225 @r=`${PWD_COMMAND}`; export r; \
21226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21227 $(HOST_EXPORTS) \
21228 (cd $(HOST_SUBDIR)/patch && \
21229 $(MAKE) $(FLAGS_TO_PASS) check)
21231 @endif patch
21233 .PHONY: install-patch maybe-install-patch
21234 maybe-install-patch:
21235 @if patch
21236 maybe-install-patch: install-patch
21238 install-patch: installdirs
21239 @: $(MAKE); $(unstage)
21240 @r=`${PWD_COMMAND}`; export r; \
21241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21242 $(HOST_EXPORTS) \
21243 (cd $(HOST_SUBDIR)/patch && \
21244 $(MAKE) $(FLAGS_TO_PASS) install)
21246 @endif patch
21248 # Other targets (info, dvi, etc.)
21250 .PHONY: maybe-info-patch info-patch
21251 maybe-info-patch:
21252 @if patch
21253 maybe-info-patch: info-patch
21255 info-patch: \
21256 configure-patch
21257 @: $(MAKE); $(unstage)
21258 @[ -f ./patch/Makefile ] || exit 0; \
21259 r=`${PWD_COMMAND}`; export r; \
21260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21261 $(HOST_EXPORTS) \
21262 for flag in $(EXTRA_HOST_FLAGS) ; do \
21263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21264 done; \
21265 echo "Doing info in patch" ; \
21266 (cd $(HOST_SUBDIR)/patch && \
21267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21269 "RANLIB=$${RANLIB}" \
21270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21271 info) \
21272 || exit 1
21274 @endif patch
21276 .PHONY: maybe-dvi-patch dvi-patch
21277 maybe-dvi-patch:
21278 @if patch
21279 maybe-dvi-patch: dvi-patch
21281 dvi-patch: \
21282 configure-patch
21283 @: $(MAKE); $(unstage)
21284 @[ -f ./patch/Makefile ] || exit 0; \
21285 r=`${PWD_COMMAND}`; export r; \
21286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21287 $(HOST_EXPORTS) \
21288 for flag in $(EXTRA_HOST_FLAGS) ; do \
21289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21290 done; \
21291 echo "Doing dvi in patch" ; \
21292 (cd $(HOST_SUBDIR)/patch && \
21293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21295 "RANLIB=$${RANLIB}" \
21296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21297 dvi) \
21298 || exit 1
21300 @endif patch
21302 .PHONY: maybe-html-patch html-patch
21303 maybe-html-patch:
21304 @if patch
21305 maybe-html-patch: html-patch
21307 html-patch: \
21308 configure-patch
21309 @: $(MAKE); $(unstage)
21310 @[ -f ./patch/Makefile ] || exit 0; \
21311 r=`${PWD_COMMAND}`; export r; \
21312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21313 $(HOST_EXPORTS) \
21314 for flag in $(EXTRA_HOST_FLAGS) ; do \
21315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21316 done; \
21317 echo "Doing html in patch" ; \
21318 (cd $(HOST_SUBDIR)/patch && \
21319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21321 "RANLIB=$${RANLIB}" \
21322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21323 html) \
21324 || exit 1
21326 @endif patch
21328 .PHONY: maybe-TAGS-patch TAGS-patch
21329 maybe-TAGS-patch:
21330 @if patch
21331 maybe-TAGS-patch: TAGS-patch
21333 TAGS-patch: \
21334 configure-patch
21335 @: $(MAKE); $(unstage)
21336 @[ -f ./patch/Makefile ] || exit 0; \
21337 r=`${PWD_COMMAND}`; export r; \
21338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21339 $(HOST_EXPORTS) \
21340 for flag in $(EXTRA_HOST_FLAGS) ; do \
21341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21342 done; \
21343 echo "Doing TAGS in patch" ; \
21344 (cd $(HOST_SUBDIR)/patch && \
21345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21347 "RANLIB=$${RANLIB}" \
21348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21349 TAGS) \
21350 || exit 1
21352 @endif patch
21354 .PHONY: maybe-install-info-patch install-info-patch
21355 maybe-install-info-patch:
21356 @if patch
21357 maybe-install-info-patch: install-info-patch
21359 install-info-patch: \
21360 configure-patch \
21361 info-patch
21362 @: $(MAKE); $(unstage)
21363 @[ -f ./patch/Makefile ] || exit 0; \
21364 r=`${PWD_COMMAND}`; export r; \
21365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21366 $(HOST_EXPORTS) \
21367 for flag in $(EXTRA_HOST_FLAGS) ; do \
21368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21369 done; \
21370 echo "Doing install-info in patch" ; \
21371 (cd $(HOST_SUBDIR)/patch && \
21372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21374 "RANLIB=$${RANLIB}" \
21375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21376 install-info) \
21377 || exit 1
21379 @endif patch
21381 .PHONY: maybe-install-html-patch install-html-patch
21382 maybe-install-html-patch:
21383 @if patch
21384 maybe-install-html-patch: install-html-patch
21386 install-html-patch: \
21387 configure-patch \
21388 html-patch
21389 @: $(MAKE); $(unstage)
21390 @[ -f ./patch/Makefile ] || exit 0; \
21391 r=`${PWD_COMMAND}`; export r; \
21392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21393 $(HOST_EXPORTS) \
21394 for flag in $(EXTRA_HOST_FLAGS) ; do \
21395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21396 done; \
21397 echo "Doing install-html in patch" ; \
21398 (cd $(HOST_SUBDIR)/patch && \
21399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21401 "RANLIB=$${RANLIB}" \
21402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21403 install-html) \
21404 || exit 1
21406 @endif patch
21408 .PHONY: maybe-installcheck-patch installcheck-patch
21409 maybe-installcheck-patch:
21410 @if patch
21411 maybe-installcheck-patch: installcheck-patch
21413 installcheck-patch: \
21414 configure-patch
21415 @: $(MAKE); $(unstage)
21416 @[ -f ./patch/Makefile ] || exit 0; \
21417 r=`${PWD_COMMAND}`; export r; \
21418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21419 $(HOST_EXPORTS) \
21420 for flag in $(EXTRA_HOST_FLAGS) ; do \
21421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21422 done; \
21423 echo "Doing installcheck in patch" ; \
21424 (cd $(HOST_SUBDIR)/patch && \
21425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21427 "RANLIB=$${RANLIB}" \
21428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21429 installcheck) \
21430 || exit 1
21432 @endif patch
21434 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
21435 maybe-mostlyclean-patch:
21436 @if patch
21437 maybe-mostlyclean-patch: mostlyclean-patch
21439 mostlyclean-patch:
21440 @: $(MAKE); $(unstage)
21441 @[ -f ./patch/Makefile ] || exit 0; \
21442 r=`${PWD_COMMAND}`; export r; \
21443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21444 $(HOST_EXPORTS) \
21445 for flag in $(EXTRA_HOST_FLAGS) ; do \
21446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21447 done; \
21448 echo "Doing mostlyclean in patch" ; \
21449 (cd $(HOST_SUBDIR)/patch && \
21450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21452 "RANLIB=$${RANLIB}" \
21453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21454 mostlyclean) \
21455 || exit 1
21457 @endif patch
21459 .PHONY: maybe-clean-patch clean-patch
21460 maybe-clean-patch:
21461 @if patch
21462 maybe-clean-patch: clean-patch
21464 clean-patch:
21465 @: $(MAKE); $(unstage)
21466 @[ -f ./patch/Makefile ] || exit 0; \
21467 r=`${PWD_COMMAND}`; export r; \
21468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21469 $(HOST_EXPORTS) \
21470 for flag in $(EXTRA_HOST_FLAGS) ; do \
21471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21472 done; \
21473 echo "Doing clean in patch" ; \
21474 (cd $(HOST_SUBDIR)/patch && \
21475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21477 "RANLIB=$${RANLIB}" \
21478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21479 clean) \
21480 || exit 1
21482 @endif patch
21484 .PHONY: maybe-distclean-patch distclean-patch
21485 maybe-distclean-patch:
21486 @if patch
21487 maybe-distclean-patch: distclean-patch
21489 distclean-patch:
21490 @: $(MAKE); $(unstage)
21491 @[ -f ./patch/Makefile ] || exit 0; \
21492 r=`${PWD_COMMAND}`; export r; \
21493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21494 $(HOST_EXPORTS) \
21495 for flag in $(EXTRA_HOST_FLAGS) ; do \
21496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21497 done; \
21498 echo "Doing distclean in patch" ; \
21499 (cd $(HOST_SUBDIR)/patch && \
21500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21502 "RANLIB=$${RANLIB}" \
21503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21504 distclean) \
21505 || exit 1
21507 @endif patch
21509 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
21510 maybe-maintainer-clean-patch:
21511 @if patch
21512 maybe-maintainer-clean-patch: maintainer-clean-patch
21514 maintainer-clean-patch:
21515 @: $(MAKE); $(unstage)
21516 @[ -f ./patch/Makefile ] || exit 0; \
21517 r=`${PWD_COMMAND}`; export r; \
21518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21519 $(HOST_EXPORTS) \
21520 for flag in $(EXTRA_HOST_FLAGS) ; do \
21521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21522 done; \
21523 echo "Doing maintainer-clean in patch" ; \
21524 (cd $(HOST_SUBDIR)/patch && \
21525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21527 "RANLIB=$${RANLIB}" \
21528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21529 maintainer-clean) \
21530 || exit 1
21532 @endif patch
21536 .PHONY: configure-perl maybe-configure-perl
21537 maybe-configure-perl:
21538 @if gcc-bootstrap
21539 configure-perl: stage_current
21540 @endif gcc-bootstrap
21541 @if perl
21542 maybe-configure-perl: configure-perl
21543 configure-perl:
21544 @: $(MAKE); $(unstage)
21545 @r=`${PWD_COMMAND}`; export r; \
21546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21547 test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
21548 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
21549 $(HOST_EXPORTS) \
21550 echo Configuring in $(HOST_SUBDIR)/perl; \
21551 cd "$(HOST_SUBDIR)/perl" || exit 1; \
21552 case $(srcdir) in \
21553 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21554 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
21555 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21556 esac; \
21557 srcdiroption="--srcdir=$${topdir}/perl"; \
21558 libsrcdir="$$s/perl"; \
21559 $(SHELL) $${libsrcdir}/configure \
21560 $(HOST_CONFIGARGS) $${srcdiroption} \
21561 || exit 1
21562 @endif perl
21568 .PHONY: all-perl maybe-all-perl
21569 maybe-all-perl:
21570 @if gcc-bootstrap
21571 all-perl: stage_current
21572 @endif gcc-bootstrap
21573 @if perl
21574 TARGET-perl=all
21575 maybe-all-perl: all-perl
21576 all-perl: configure-perl
21577 @: $(MAKE); $(unstage)
21578 @r=`${PWD_COMMAND}`; export r; \
21579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21580 $(HOST_EXPORTS) \
21581 (cd $(HOST_SUBDIR)/perl && \
21582 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
21583 @endif perl
21588 .PHONY: check-perl maybe-check-perl
21589 maybe-check-perl:
21590 @if perl
21591 maybe-check-perl: check-perl
21593 check-perl:
21594 @: $(MAKE); $(unstage)
21595 @r=`${PWD_COMMAND}`; export r; \
21596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21597 $(HOST_EXPORTS) \
21598 (cd $(HOST_SUBDIR)/perl && \
21599 $(MAKE) $(FLAGS_TO_PASS) check)
21601 @endif perl
21603 .PHONY: install-perl maybe-install-perl
21604 maybe-install-perl:
21605 @if perl
21606 maybe-install-perl: install-perl
21608 install-perl: installdirs
21609 @: $(MAKE); $(unstage)
21610 @r=`${PWD_COMMAND}`; export r; \
21611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21612 $(HOST_EXPORTS) \
21613 (cd $(HOST_SUBDIR)/perl && \
21614 $(MAKE) $(FLAGS_TO_PASS) install)
21616 @endif perl
21618 # Other targets (info, dvi, etc.)
21620 .PHONY: maybe-info-perl info-perl
21621 maybe-info-perl:
21622 @if perl
21623 maybe-info-perl: info-perl
21625 info-perl: \
21626 configure-perl
21627 @: $(MAKE); $(unstage)
21628 @[ -f ./perl/Makefile ] || exit 0; \
21629 r=`${PWD_COMMAND}`; export r; \
21630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21631 $(HOST_EXPORTS) \
21632 for flag in $(EXTRA_HOST_FLAGS) ; do \
21633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21634 done; \
21635 echo "Doing info in perl" ; \
21636 (cd $(HOST_SUBDIR)/perl && \
21637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21639 "RANLIB=$${RANLIB}" \
21640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21641 info) \
21642 || exit 1
21644 @endif perl
21646 .PHONY: maybe-dvi-perl dvi-perl
21647 maybe-dvi-perl:
21648 @if perl
21649 maybe-dvi-perl: dvi-perl
21651 dvi-perl: \
21652 configure-perl
21653 @: $(MAKE); $(unstage)
21654 @[ -f ./perl/Makefile ] || exit 0; \
21655 r=`${PWD_COMMAND}`; export r; \
21656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21657 $(HOST_EXPORTS) \
21658 for flag in $(EXTRA_HOST_FLAGS) ; do \
21659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21660 done; \
21661 echo "Doing dvi in perl" ; \
21662 (cd $(HOST_SUBDIR)/perl && \
21663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21665 "RANLIB=$${RANLIB}" \
21666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21667 dvi) \
21668 || exit 1
21670 @endif perl
21672 .PHONY: maybe-html-perl html-perl
21673 maybe-html-perl:
21674 @if perl
21675 maybe-html-perl: html-perl
21677 html-perl: \
21678 configure-perl
21679 @: $(MAKE); $(unstage)
21680 @[ -f ./perl/Makefile ] || exit 0; \
21681 r=`${PWD_COMMAND}`; export r; \
21682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21683 $(HOST_EXPORTS) \
21684 for flag in $(EXTRA_HOST_FLAGS) ; do \
21685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21686 done; \
21687 echo "Doing html in perl" ; \
21688 (cd $(HOST_SUBDIR)/perl && \
21689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21691 "RANLIB=$${RANLIB}" \
21692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21693 html) \
21694 || exit 1
21696 @endif perl
21698 .PHONY: maybe-TAGS-perl TAGS-perl
21699 maybe-TAGS-perl:
21700 @if perl
21701 maybe-TAGS-perl: TAGS-perl
21703 TAGS-perl: \
21704 configure-perl
21705 @: $(MAKE); $(unstage)
21706 @[ -f ./perl/Makefile ] || exit 0; \
21707 r=`${PWD_COMMAND}`; export r; \
21708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21709 $(HOST_EXPORTS) \
21710 for flag in $(EXTRA_HOST_FLAGS) ; do \
21711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21712 done; \
21713 echo "Doing TAGS in perl" ; \
21714 (cd $(HOST_SUBDIR)/perl && \
21715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21717 "RANLIB=$${RANLIB}" \
21718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21719 TAGS) \
21720 || exit 1
21722 @endif perl
21724 .PHONY: maybe-install-info-perl install-info-perl
21725 maybe-install-info-perl:
21726 @if perl
21727 maybe-install-info-perl: install-info-perl
21729 install-info-perl: \
21730 configure-perl \
21731 info-perl
21732 @: $(MAKE); $(unstage)
21733 @[ -f ./perl/Makefile ] || exit 0; \
21734 r=`${PWD_COMMAND}`; export r; \
21735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21736 $(HOST_EXPORTS) \
21737 for flag in $(EXTRA_HOST_FLAGS) ; do \
21738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21739 done; \
21740 echo "Doing install-info in perl" ; \
21741 (cd $(HOST_SUBDIR)/perl && \
21742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21744 "RANLIB=$${RANLIB}" \
21745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21746 install-info) \
21747 || exit 1
21749 @endif perl
21751 .PHONY: maybe-install-html-perl install-html-perl
21752 maybe-install-html-perl:
21753 @if perl
21754 maybe-install-html-perl: install-html-perl
21756 install-html-perl: \
21757 configure-perl \
21758 html-perl
21759 @: $(MAKE); $(unstage)
21760 @[ -f ./perl/Makefile ] || exit 0; \
21761 r=`${PWD_COMMAND}`; export r; \
21762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21763 $(HOST_EXPORTS) \
21764 for flag in $(EXTRA_HOST_FLAGS) ; do \
21765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21766 done; \
21767 echo "Doing install-html in perl" ; \
21768 (cd $(HOST_SUBDIR)/perl && \
21769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21771 "RANLIB=$${RANLIB}" \
21772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21773 install-html) \
21774 || exit 1
21776 @endif perl
21778 .PHONY: maybe-installcheck-perl installcheck-perl
21779 maybe-installcheck-perl:
21780 @if perl
21781 maybe-installcheck-perl: installcheck-perl
21783 installcheck-perl: \
21784 configure-perl
21785 @: $(MAKE); $(unstage)
21786 @[ -f ./perl/Makefile ] || exit 0; \
21787 r=`${PWD_COMMAND}`; export r; \
21788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21789 $(HOST_EXPORTS) \
21790 for flag in $(EXTRA_HOST_FLAGS) ; do \
21791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21792 done; \
21793 echo "Doing installcheck in perl" ; \
21794 (cd $(HOST_SUBDIR)/perl && \
21795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21797 "RANLIB=$${RANLIB}" \
21798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21799 installcheck) \
21800 || exit 1
21802 @endif perl
21804 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
21805 maybe-mostlyclean-perl:
21806 @if perl
21807 maybe-mostlyclean-perl: mostlyclean-perl
21809 mostlyclean-perl:
21810 @: $(MAKE); $(unstage)
21811 @[ -f ./perl/Makefile ] || exit 0; \
21812 r=`${PWD_COMMAND}`; export r; \
21813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21814 $(HOST_EXPORTS) \
21815 for flag in $(EXTRA_HOST_FLAGS) ; do \
21816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21817 done; \
21818 echo "Doing mostlyclean in perl" ; \
21819 (cd $(HOST_SUBDIR)/perl && \
21820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21822 "RANLIB=$${RANLIB}" \
21823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21824 mostlyclean) \
21825 || exit 1
21827 @endif perl
21829 .PHONY: maybe-clean-perl clean-perl
21830 maybe-clean-perl:
21831 @if perl
21832 maybe-clean-perl: clean-perl
21834 clean-perl:
21835 @: $(MAKE); $(unstage)
21836 @[ -f ./perl/Makefile ] || exit 0; \
21837 r=`${PWD_COMMAND}`; export r; \
21838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21839 $(HOST_EXPORTS) \
21840 for flag in $(EXTRA_HOST_FLAGS) ; do \
21841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21842 done; \
21843 echo "Doing clean in perl" ; \
21844 (cd $(HOST_SUBDIR)/perl && \
21845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21847 "RANLIB=$${RANLIB}" \
21848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21849 clean) \
21850 || exit 1
21852 @endif perl
21854 .PHONY: maybe-distclean-perl distclean-perl
21855 maybe-distclean-perl:
21856 @if perl
21857 maybe-distclean-perl: distclean-perl
21859 distclean-perl:
21860 @: $(MAKE); $(unstage)
21861 @[ -f ./perl/Makefile ] || exit 0; \
21862 r=`${PWD_COMMAND}`; export r; \
21863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21864 $(HOST_EXPORTS) \
21865 for flag in $(EXTRA_HOST_FLAGS) ; do \
21866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21867 done; \
21868 echo "Doing distclean in perl" ; \
21869 (cd $(HOST_SUBDIR)/perl && \
21870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21872 "RANLIB=$${RANLIB}" \
21873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21874 distclean) \
21875 || exit 1
21877 @endif perl
21879 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
21880 maybe-maintainer-clean-perl:
21881 @if perl
21882 maybe-maintainer-clean-perl: maintainer-clean-perl
21884 maintainer-clean-perl:
21885 @: $(MAKE); $(unstage)
21886 @[ -f ./perl/Makefile ] || exit 0; \
21887 r=`${PWD_COMMAND}`; export r; \
21888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21889 $(HOST_EXPORTS) \
21890 for flag in $(EXTRA_HOST_FLAGS) ; do \
21891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21892 done; \
21893 echo "Doing maintainer-clean in perl" ; \
21894 (cd $(HOST_SUBDIR)/perl && \
21895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21897 "RANLIB=$${RANLIB}" \
21898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21899 maintainer-clean) \
21900 || exit 1
21902 @endif perl
21906 .PHONY: configure-prms maybe-configure-prms
21907 maybe-configure-prms:
21908 @if gcc-bootstrap
21909 configure-prms: stage_current
21910 @endif gcc-bootstrap
21911 @if prms
21912 maybe-configure-prms: configure-prms
21913 configure-prms:
21914 @: $(MAKE); $(unstage)
21915 @r=`${PWD_COMMAND}`; export r; \
21916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21917 test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
21918 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
21919 $(HOST_EXPORTS) \
21920 echo Configuring in $(HOST_SUBDIR)/prms; \
21921 cd "$(HOST_SUBDIR)/prms" || exit 1; \
21922 case $(srcdir) in \
21923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21924 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
21925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21926 esac; \
21927 srcdiroption="--srcdir=$${topdir}/prms"; \
21928 libsrcdir="$$s/prms"; \
21929 $(SHELL) $${libsrcdir}/configure \
21930 $(HOST_CONFIGARGS) $${srcdiroption} \
21931 || exit 1
21932 @endif prms
21938 .PHONY: all-prms maybe-all-prms
21939 maybe-all-prms:
21940 @if gcc-bootstrap
21941 all-prms: stage_current
21942 @endif gcc-bootstrap
21943 @if prms
21944 TARGET-prms=all
21945 maybe-all-prms: all-prms
21946 all-prms: configure-prms
21947 @: $(MAKE); $(unstage)
21948 @r=`${PWD_COMMAND}`; export r; \
21949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21950 $(HOST_EXPORTS) \
21951 (cd $(HOST_SUBDIR)/prms && \
21952 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
21953 @endif prms
21958 .PHONY: check-prms maybe-check-prms
21959 maybe-check-prms:
21960 @if prms
21961 maybe-check-prms: check-prms
21963 check-prms:
21964 @: $(MAKE); $(unstage)
21965 @r=`${PWD_COMMAND}`; export r; \
21966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21967 $(HOST_EXPORTS) \
21968 (cd $(HOST_SUBDIR)/prms && \
21969 $(MAKE) $(FLAGS_TO_PASS) check)
21971 @endif prms
21973 .PHONY: install-prms maybe-install-prms
21974 maybe-install-prms:
21975 @if prms
21976 maybe-install-prms: install-prms
21978 install-prms: installdirs
21979 @: $(MAKE); $(unstage)
21980 @r=`${PWD_COMMAND}`; export r; \
21981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21982 $(HOST_EXPORTS) \
21983 (cd $(HOST_SUBDIR)/prms && \
21984 $(MAKE) $(FLAGS_TO_PASS) install)
21986 @endif prms
21988 # Other targets (info, dvi, etc.)
21990 .PHONY: maybe-info-prms info-prms
21991 maybe-info-prms:
21992 @if prms
21993 maybe-info-prms: info-prms
21995 info-prms: \
21996 configure-prms
21997 @: $(MAKE); $(unstage)
21998 @[ -f ./prms/Makefile ] || exit 0; \
21999 r=`${PWD_COMMAND}`; export r; \
22000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22001 $(HOST_EXPORTS) \
22002 for flag in $(EXTRA_HOST_FLAGS) ; do \
22003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22004 done; \
22005 echo "Doing info in prms" ; \
22006 (cd $(HOST_SUBDIR)/prms && \
22007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22009 "RANLIB=$${RANLIB}" \
22010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22011 info) \
22012 || exit 1
22014 @endif prms
22016 .PHONY: maybe-dvi-prms dvi-prms
22017 maybe-dvi-prms:
22018 @if prms
22019 maybe-dvi-prms: dvi-prms
22021 dvi-prms: \
22022 configure-prms
22023 @: $(MAKE); $(unstage)
22024 @[ -f ./prms/Makefile ] || exit 0; \
22025 r=`${PWD_COMMAND}`; export r; \
22026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22027 $(HOST_EXPORTS) \
22028 for flag in $(EXTRA_HOST_FLAGS) ; do \
22029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22030 done; \
22031 echo "Doing dvi in prms" ; \
22032 (cd $(HOST_SUBDIR)/prms && \
22033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22035 "RANLIB=$${RANLIB}" \
22036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22037 dvi) \
22038 || exit 1
22040 @endif prms
22042 .PHONY: maybe-html-prms html-prms
22043 maybe-html-prms:
22044 @if prms
22045 maybe-html-prms: html-prms
22047 html-prms: \
22048 configure-prms
22049 @: $(MAKE); $(unstage)
22050 @[ -f ./prms/Makefile ] || exit 0; \
22051 r=`${PWD_COMMAND}`; export r; \
22052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22053 $(HOST_EXPORTS) \
22054 for flag in $(EXTRA_HOST_FLAGS) ; do \
22055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22056 done; \
22057 echo "Doing html in prms" ; \
22058 (cd $(HOST_SUBDIR)/prms && \
22059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22061 "RANLIB=$${RANLIB}" \
22062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22063 html) \
22064 || exit 1
22066 @endif prms
22068 .PHONY: maybe-TAGS-prms TAGS-prms
22069 maybe-TAGS-prms:
22070 @if prms
22071 maybe-TAGS-prms: TAGS-prms
22073 TAGS-prms: \
22074 configure-prms
22075 @: $(MAKE); $(unstage)
22076 @[ -f ./prms/Makefile ] || exit 0; \
22077 r=`${PWD_COMMAND}`; export r; \
22078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22079 $(HOST_EXPORTS) \
22080 for flag in $(EXTRA_HOST_FLAGS) ; do \
22081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22082 done; \
22083 echo "Doing TAGS in prms" ; \
22084 (cd $(HOST_SUBDIR)/prms && \
22085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22087 "RANLIB=$${RANLIB}" \
22088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22089 TAGS) \
22090 || exit 1
22092 @endif prms
22094 .PHONY: maybe-install-info-prms install-info-prms
22095 maybe-install-info-prms:
22096 @if prms
22097 maybe-install-info-prms: install-info-prms
22099 install-info-prms: \
22100 configure-prms \
22101 info-prms
22102 @: $(MAKE); $(unstage)
22103 @[ -f ./prms/Makefile ] || exit 0; \
22104 r=`${PWD_COMMAND}`; export r; \
22105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22106 $(HOST_EXPORTS) \
22107 for flag in $(EXTRA_HOST_FLAGS) ; do \
22108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22109 done; \
22110 echo "Doing install-info in prms" ; \
22111 (cd $(HOST_SUBDIR)/prms && \
22112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22114 "RANLIB=$${RANLIB}" \
22115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22116 install-info) \
22117 || exit 1
22119 @endif prms
22121 .PHONY: maybe-install-html-prms install-html-prms
22122 maybe-install-html-prms:
22123 @if prms
22124 maybe-install-html-prms: install-html-prms
22126 install-html-prms: \
22127 configure-prms \
22128 html-prms
22129 @: $(MAKE); $(unstage)
22130 @[ -f ./prms/Makefile ] || exit 0; \
22131 r=`${PWD_COMMAND}`; export r; \
22132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22133 $(HOST_EXPORTS) \
22134 for flag in $(EXTRA_HOST_FLAGS) ; do \
22135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22136 done; \
22137 echo "Doing install-html in prms" ; \
22138 (cd $(HOST_SUBDIR)/prms && \
22139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22141 "RANLIB=$${RANLIB}" \
22142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22143 install-html) \
22144 || exit 1
22146 @endif prms
22148 .PHONY: maybe-installcheck-prms installcheck-prms
22149 maybe-installcheck-prms:
22150 @if prms
22151 maybe-installcheck-prms: installcheck-prms
22153 installcheck-prms: \
22154 configure-prms
22155 @: $(MAKE); $(unstage)
22156 @[ -f ./prms/Makefile ] || exit 0; \
22157 r=`${PWD_COMMAND}`; export r; \
22158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22159 $(HOST_EXPORTS) \
22160 for flag in $(EXTRA_HOST_FLAGS) ; do \
22161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22162 done; \
22163 echo "Doing installcheck in prms" ; \
22164 (cd $(HOST_SUBDIR)/prms && \
22165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22167 "RANLIB=$${RANLIB}" \
22168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22169 installcheck) \
22170 || exit 1
22172 @endif prms
22174 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
22175 maybe-mostlyclean-prms:
22176 @if prms
22177 maybe-mostlyclean-prms: mostlyclean-prms
22179 mostlyclean-prms:
22180 @: $(MAKE); $(unstage)
22181 @[ -f ./prms/Makefile ] || exit 0; \
22182 r=`${PWD_COMMAND}`; export r; \
22183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22184 $(HOST_EXPORTS) \
22185 for flag in $(EXTRA_HOST_FLAGS) ; do \
22186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22187 done; \
22188 echo "Doing mostlyclean in prms" ; \
22189 (cd $(HOST_SUBDIR)/prms && \
22190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22192 "RANLIB=$${RANLIB}" \
22193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22194 mostlyclean) \
22195 || exit 1
22197 @endif prms
22199 .PHONY: maybe-clean-prms clean-prms
22200 maybe-clean-prms:
22201 @if prms
22202 maybe-clean-prms: clean-prms
22204 clean-prms:
22205 @: $(MAKE); $(unstage)
22206 @[ -f ./prms/Makefile ] || exit 0; \
22207 r=`${PWD_COMMAND}`; export r; \
22208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22209 $(HOST_EXPORTS) \
22210 for flag in $(EXTRA_HOST_FLAGS) ; do \
22211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22212 done; \
22213 echo "Doing clean in prms" ; \
22214 (cd $(HOST_SUBDIR)/prms && \
22215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22217 "RANLIB=$${RANLIB}" \
22218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22219 clean) \
22220 || exit 1
22222 @endif prms
22224 .PHONY: maybe-distclean-prms distclean-prms
22225 maybe-distclean-prms:
22226 @if prms
22227 maybe-distclean-prms: distclean-prms
22229 distclean-prms:
22230 @: $(MAKE); $(unstage)
22231 @[ -f ./prms/Makefile ] || exit 0; \
22232 r=`${PWD_COMMAND}`; export r; \
22233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22234 $(HOST_EXPORTS) \
22235 for flag in $(EXTRA_HOST_FLAGS) ; do \
22236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22237 done; \
22238 echo "Doing distclean in prms" ; \
22239 (cd $(HOST_SUBDIR)/prms && \
22240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22242 "RANLIB=$${RANLIB}" \
22243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22244 distclean) \
22245 || exit 1
22247 @endif prms
22249 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
22250 maybe-maintainer-clean-prms:
22251 @if prms
22252 maybe-maintainer-clean-prms: maintainer-clean-prms
22254 maintainer-clean-prms:
22255 @: $(MAKE); $(unstage)
22256 @[ -f ./prms/Makefile ] || exit 0; \
22257 r=`${PWD_COMMAND}`; export r; \
22258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22259 $(HOST_EXPORTS) \
22260 for flag in $(EXTRA_HOST_FLAGS) ; do \
22261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22262 done; \
22263 echo "Doing maintainer-clean in prms" ; \
22264 (cd $(HOST_SUBDIR)/prms && \
22265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22267 "RANLIB=$${RANLIB}" \
22268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22269 maintainer-clean) \
22270 || exit 1
22272 @endif prms
22276 .PHONY: configure-rcs maybe-configure-rcs
22277 maybe-configure-rcs:
22278 @if gcc-bootstrap
22279 configure-rcs: stage_current
22280 @endif gcc-bootstrap
22281 @if rcs
22282 maybe-configure-rcs: configure-rcs
22283 configure-rcs:
22284 @: $(MAKE); $(unstage)
22285 @r=`${PWD_COMMAND}`; export r; \
22286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22287 test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
22288 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
22289 $(HOST_EXPORTS) \
22290 echo Configuring in $(HOST_SUBDIR)/rcs; \
22291 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
22292 case $(srcdir) in \
22293 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22294 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
22295 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22296 esac; \
22297 srcdiroption="--srcdir=$${topdir}/rcs"; \
22298 libsrcdir="$$s/rcs"; \
22299 $(SHELL) $${libsrcdir}/configure \
22300 $(HOST_CONFIGARGS) $${srcdiroption} \
22301 || exit 1
22302 @endif rcs
22308 .PHONY: all-rcs maybe-all-rcs
22309 maybe-all-rcs:
22310 @if gcc-bootstrap
22311 all-rcs: stage_current
22312 @endif gcc-bootstrap
22313 @if rcs
22314 TARGET-rcs=all
22315 maybe-all-rcs: all-rcs
22316 all-rcs: configure-rcs
22317 @: $(MAKE); $(unstage)
22318 @r=`${PWD_COMMAND}`; export r; \
22319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22320 $(HOST_EXPORTS) \
22321 (cd $(HOST_SUBDIR)/rcs && \
22322 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
22323 @endif rcs
22328 .PHONY: check-rcs maybe-check-rcs
22329 maybe-check-rcs:
22330 @if rcs
22331 maybe-check-rcs: check-rcs
22333 check-rcs:
22334 @: $(MAKE); $(unstage)
22335 @r=`${PWD_COMMAND}`; export r; \
22336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22337 $(HOST_EXPORTS) \
22338 (cd $(HOST_SUBDIR)/rcs && \
22339 $(MAKE) $(FLAGS_TO_PASS) check)
22341 @endif rcs
22343 .PHONY: install-rcs maybe-install-rcs
22344 maybe-install-rcs:
22345 @if rcs
22346 maybe-install-rcs: install-rcs
22348 install-rcs: installdirs
22349 @: $(MAKE); $(unstage)
22350 @r=`${PWD_COMMAND}`; export r; \
22351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22352 $(HOST_EXPORTS) \
22353 (cd $(HOST_SUBDIR)/rcs && \
22354 $(MAKE) $(FLAGS_TO_PASS) install)
22356 @endif rcs
22358 # Other targets (info, dvi, etc.)
22360 .PHONY: maybe-info-rcs info-rcs
22361 maybe-info-rcs:
22362 @if rcs
22363 maybe-info-rcs: info-rcs
22365 info-rcs: \
22366 configure-rcs
22367 @: $(MAKE); $(unstage)
22368 @[ -f ./rcs/Makefile ] || exit 0; \
22369 r=`${PWD_COMMAND}`; export r; \
22370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22371 $(HOST_EXPORTS) \
22372 for flag in $(EXTRA_HOST_FLAGS) ; do \
22373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22374 done; \
22375 echo "Doing info in rcs" ; \
22376 (cd $(HOST_SUBDIR)/rcs && \
22377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22379 "RANLIB=$${RANLIB}" \
22380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22381 info) \
22382 || exit 1
22384 @endif rcs
22386 .PHONY: maybe-dvi-rcs dvi-rcs
22387 maybe-dvi-rcs:
22388 @if rcs
22389 maybe-dvi-rcs: dvi-rcs
22391 dvi-rcs: \
22392 configure-rcs
22393 @: $(MAKE); $(unstage)
22394 @[ -f ./rcs/Makefile ] || exit 0; \
22395 r=`${PWD_COMMAND}`; export r; \
22396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22397 $(HOST_EXPORTS) \
22398 for flag in $(EXTRA_HOST_FLAGS) ; do \
22399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22400 done; \
22401 echo "Doing dvi in rcs" ; \
22402 (cd $(HOST_SUBDIR)/rcs && \
22403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22405 "RANLIB=$${RANLIB}" \
22406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22407 dvi) \
22408 || exit 1
22410 @endif rcs
22412 .PHONY: maybe-html-rcs html-rcs
22413 maybe-html-rcs:
22414 @if rcs
22415 maybe-html-rcs: html-rcs
22417 html-rcs: \
22418 configure-rcs
22419 @: $(MAKE); $(unstage)
22420 @[ -f ./rcs/Makefile ] || exit 0; \
22421 r=`${PWD_COMMAND}`; export r; \
22422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22423 $(HOST_EXPORTS) \
22424 for flag in $(EXTRA_HOST_FLAGS) ; do \
22425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22426 done; \
22427 echo "Doing html in rcs" ; \
22428 (cd $(HOST_SUBDIR)/rcs && \
22429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22431 "RANLIB=$${RANLIB}" \
22432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22433 html) \
22434 || exit 1
22436 @endif rcs
22438 .PHONY: maybe-TAGS-rcs TAGS-rcs
22439 maybe-TAGS-rcs:
22440 @if rcs
22441 maybe-TAGS-rcs: TAGS-rcs
22443 TAGS-rcs: \
22444 configure-rcs
22445 @: $(MAKE); $(unstage)
22446 @[ -f ./rcs/Makefile ] || exit 0; \
22447 r=`${PWD_COMMAND}`; export r; \
22448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22449 $(HOST_EXPORTS) \
22450 for flag in $(EXTRA_HOST_FLAGS) ; do \
22451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22452 done; \
22453 echo "Doing TAGS in rcs" ; \
22454 (cd $(HOST_SUBDIR)/rcs && \
22455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22457 "RANLIB=$${RANLIB}" \
22458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22459 TAGS) \
22460 || exit 1
22462 @endif rcs
22464 .PHONY: maybe-install-info-rcs install-info-rcs
22465 maybe-install-info-rcs:
22466 @if rcs
22467 maybe-install-info-rcs: install-info-rcs
22469 install-info-rcs: \
22470 configure-rcs \
22471 info-rcs
22472 @: $(MAKE); $(unstage)
22473 @[ -f ./rcs/Makefile ] || exit 0; \
22474 r=`${PWD_COMMAND}`; export r; \
22475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22476 $(HOST_EXPORTS) \
22477 for flag in $(EXTRA_HOST_FLAGS) ; do \
22478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22479 done; \
22480 echo "Doing install-info in rcs" ; \
22481 (cd $(HOST_SUBDIR)/rcs && \
22482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22484 "RANLIB=$${RANLIB}" \
22485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22486 install-info) \
22487 || exit 1
22489 @endif rcs
22491 .PHONY: maybe-install-html-rcs install-html-rcs
22492 maybe-install-html-rcs:
22493 @if rcs
22494 maybe-install-html-rcs: install-html-rcs
22496 install-html-rcs: \
22497 configure-rcs \
22498 html-rcs
22499 @: $(MAKE); $(unstage)
22500 @[ -f ./rcs/Makefile ] || exit 0; \
22501 r=`${PWD_COMMAND}`; export r; \
22502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22503 $(HOST_EXPORTS) \
22504 for flag in $(EXTRA_HOST_FLAGS) ; do \
22505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22506 done; \
22507 echo "Doing install-html in rcs" ; \
22508 (cd $(HOST_SUBDIR)/rcs && \
22509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22511 "RANLIB=$${RANLIB}" \
22512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22513 install-html) \
22514 || exit 1
22516 @endif rcs
22518 .PHONY: maybe-installcheck-rcs installcheck-rcs
22519 maybe-installcheck-rcs:
22520 @if rcs
22521 maybe-installcheck-rcs: installcheck-rcs
22523 installcheck-rcs: \
22524 configure-rcs
22525 @: $(MAKE); $(unstage)
22526 @[ -f ./rcs/Makefile ] || exit 0; \
22527 r=`${PWD_COMMAND}`; export r; \
22528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22529 $(HOST_EXPORTS) \
22530 for flag in $(EXTRA_HOST_FLAGS) ; do \
22531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22532 done; \
22533 echo "Doing installcheck in rcs" ; \
22534 (cd $(HOST_SUBDIR)/rcs && \
22535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22537 "RANLIB=$${RANLIB}" \
22538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22539 installcheck) \
22540 || exit 1
22542 @endif rcs
22544 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
22545 maybe-mostlyclean-rcs:
22546 @if rcs
22547 maybe-mostlyclean-rcs: mostlyclean-rcs
22549 mostlyclean-rcs:
22550 @: $(MAKE); $(unstage)
22551 @[ -f ./rcs/Makefile ] || exit 0; \
22552 r=`${PWD_COMMAND}`; export r; \
22553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22554 $(HOST_EXPORTS) \
22555 for flag in $(EXTRA_HOST_FLAGS) ; do \
22556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22557 done; \
22558 echo "Doing mostlyclean in rcs" ; \
22559 (cd $(HOST_SUBDIR)/rcs && \
22560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22562 "RANLIB=$${RANLIB}" \
22563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22564 mostlyclean) \
22565 || exit 1
22567 @endif rcs
22569 .PHONY: maybe-clean-rcs clean-rcs
22570 maybe-clean-rcs:
22571 @if rcs
22572 maybe-clean-rcs: clean-rcs
22574 clean-rcs:
22575 @: $(MAKE); $(unstage)
22576 @[ -f ./rcs/Makefile ] || exit 0; \
22577 r=`${PWD_COMMAND}`; export r; \
22578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22579 $(HOST_EXPORTS) \
22580 for flag in $(EXTRA_HOST_FLAGS) ; do \
22581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22582 done; \
22583 echo "Doing clean in rcs" ; \
22584 (cd $(HOST_SUBDIR)/rcs && \
22585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22587 "RANLIB=$${RANLIB}" \
22588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22589 clean) \
22590 || exit 1
22592 @endif rcs
22594 .PHONY: maybe-distclean-rcs distclean-rcs
22595 maybe-distclean-rcs:
22596 @if rcs
22597 maybe-distclean-rcs: distclean-rcs
22599 distclean-rcs:
22600 @: $(MAKE); $(unstage)
22601 @[ -f ./rcs/Makefile ] || exit 0; \
22602 r=`${PWD_COMMAND}`; export r; \
22603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22604 $(HOST_EXPORTS) \
22605 for flag in $(EXTRA_HOST_FLAGS) ; do \
22606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22607 done; \
22608 echo "Doing distclean in rcs" ; \
22609 (cd $(HOST_SUBDIR)/rcs && \
22610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22612 "RANLIB=$${RANLIB}" \
22613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22614 distclean) \
22615 || exit 1
22617 @endif rcs
22619 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
22620 maybe-maintainer-clean-rcs:
22621 @if rcs
22622 maybe-maintainer-clean-rcs: maintainer-clean-rcs
22624 maintainer-clean-rcs:
22625 @: $(MAKE); $(unstage)
22626 @[ -f ./rcs/Makefile ] || exit 0; \
22627 r=`${PWD_COMMAND}`; export r; \
22628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22629 $(HOST_EXPORTS) \
22630 for flag in $(EXTRA_HOST_FLAGS) ; do \
22631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22632 done; \
22633 echo "Doing maintainer-clean in rcs" ; \
22634 (cd $(HOST_SUBDIR)/rcs && \
22635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22637 "RANLIB=$${RANLIB}" \
22638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22639 maintainer-clean) \
22640 || exit 1
22642 @endif rcs
22646 .PHONY: configure-readline maybe-configure-readline
22647 maybe-configure-readline:
22648 @if gcc-bootstrap
22649 configure-readline: stage_current
22650 @endif gcc-bootstrap
22651 @if readline
22652 maybe-configure-readline: configure-readline
22653 configure-readline:
22654 @: $(MAKE); $(unstage)
22655 @r=`${PWD_COMMAND}`; export r; \
22656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22657 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
22658 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
22659 $(HOST_EXPORTS) \
22660 echo Configuring in $(HOST_SUBDIR)/readline; \
22661 cd "$(HOST_SUBDIR)/readline" || exit 1; \
22662 case $(srcdir) in \
22663 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22664 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
22665 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22666 esac; \
22667 srcdiroption="--srcdir=$${topdir}/readline"; \
22668 libsrcdir="$$s/readline"; \
22669 $(SHELL) $${libsrcdir}/configure \
22670 $(HOST_CONFIGARGS) $${srcdiroption} \
22671 || exit 1
22672 @endif readline
22678 .PHONY: all-readline maybe-all-readline
22679 maybe-all-readline:
22680 @if gcc-bootstrap
22681 all-readline: stage_current
22682 @endif gcc-bootstrap
22683 @if readline
22684 TARGET-readline=all
22685 maybe-all-readline: all-readline
22686 all-readline: configure-readline
22687 @: $(MAKE); $(unstage)
22688 @r=`${PWD_COMMAND}`; export r; \
22689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22690 $(HOST_EXPORTS) \
22691 (cd $(HOST_SUBDIR)/readline && \
22692 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
22693 @endif readline
22698 .PHONY: check-readline maybe-check-readline
22699 maybe-check-readline:
22700 @if readline
22701 maybe-check-readline: check-readline
22703 check-readline:
22704 @: $(MAKE); $(unstage)
22705 @r=`${PWD_COMMAND}`; export r; \
22706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22707 $(HOST_EXPORTS) \
22708 (cd $(HOST_SUBDIR)/readline && \
22709 $(MAKE) $(FLAGS_TO_PASS) check)
22711 @endif readline
22713 .PHONY: install-readline maybe-install-readline
22714 maybe-install-readline:
22715 @if readline
22716 maybe-install-readline: install-readline
22718 install-readline: installdirs
22719 @: $(MAKE); $(unstage)
22720 @r=`${PWD_COMMAND}`; export r; \
22721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22722 $(HOST_EXPORTS) \
22723 (cd $(HOST_SUBDIR)/readline && \
22724 $(MAKE) $(FLAGS_TO_PASS) install)
22726 @endif readline
22728 # Other targets (info, dvi, etc.)
22730 .PHONY: maybe-info-readline info-readline
22731 maybe-info-readline:
22732 @if readline
22733 maybe-info-readline: info-readline
22735 info-readline: \
22736 configure-readline
22737 @: $(MAKE); $(unstage)
22738 @[ -f ./readline/Makefile ] || exit 0; \
22739 r=`${PWD_COMMAND}`; export r; \
22740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22741 $(HOST_EXPORTS) \
22742 for flag in $(EXTRA_HOST_FLAGS) ; do \
22743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22744 done; \
22745 echo "Doing info in readline" ; \
22746 (cd $(HOST_SUBDIR)/readline && \
22747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22749 "RANLIB=$${RANLIB}" \
22750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22751 info) \
22752 || exit 1
22754 @endif readline
22756 .PHONY: maybe-dvi-readline dvi-readline
22757 maybe-dvi-readline:
22758 @if readline
22759 maybe-dvi-readline: dvi-readline
22761 dvi-readline: \
22762 configure-readline
22763 @: $(MAKE); $(unstage)
22764 @[ -f ./readline/Makefile ] || exit 0; \
22765 r=`${PWD_COMMAND}`; export r; \
22766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22767 $(HOST_EXPORTS) \
22768 for flag in $(EXTRA_HOST_FLAGS) ; do \
22769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22770 done; \
22771 echo "Doing dvi in readline" ; \
22772 (cd $(HOST_SUBDIR)/readline && \
22773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22775 "RANLIB=$${RANLIB}" \
22776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22777 dvi) \
22778 || exit 1
22780 @endif readline
22782 .PHONY: maybe-html-readline html-readline
22783 maybe-html-readline:
22784 @if readline
22785 maybe-html-readline: html-readline
22787 html-readline: \
22788 configure-readline
22789 @: $(MAKE); $(unstage)
22790 @[ -f ./readline/Makefile ] || exit 0; \
22791 r=`${PWD_COMMAND}`; export r; \
22792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22793 $(HOST_EXPORTS) \
22794 for flag in $(EXTRA_HOST_FLAGS) ; do \
22795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22796 done; \
22797 echo "Doing html in readline" ; \
22798 (cd $(HOST_SUBDIR)/readline && \
22799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22801 "RANLIB=$${RANLIB}" \
22802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22803 html) \
22804 || exit 1
22806 @endif readline
22808 .PHONY: maybe-TAGS-readline TAGS-readline
22809 maybe-TAGS-readline:
22810 @if readline
22811 maybe-TAGS-readline: TAGS-readline
22813 TAGS-readline: \
22814 configure-readline
22815 @: $(MAKE); $(unstage)
22816 @[ -f ./readline/Makefile ] || exit 0; \
22817 r=`${PWD_COMMAND}`; export r; \
22818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22819 $(HOST_EXPORTS) \
22820 for flag in $(EXTRA_HOST_FLAGS) ; do \
22821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22822 done; \
22823 echo "Doing TAGS in readline" ; \
22824 (cd $(HOST_SUBDIR)/readline && \
22825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22827 "RANLIB=$${RANLIB}" \
22828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22829 TAGS) \
22830 || exit 1
22832 @endif readline
22834 .PHONY: maybe-install-info-readline install-info-readline
22835 maybe-install-info-readline:
22836 @if readline
22837 maybe-install-info-readline: install-info-readline
22839 install-info-readline: \
22840 configure-readline \
22841 info-readline
22842 @: $(MAKE); $(unstage)
22843 @[ -f ./readline/Makefile ] || exit 0; \
22844 r=`${PWD_COMMAND}`; export r; \
22845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22846 $(HOST_EXPORTS) \
22847 for flag in $(EXTRA_HOST_FLAGS) ; do \
22848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22849 done; \
22850 echo "Doing install-info in readline" ; \
22851 (cd $(HOST_SUBDIR)/readline && \
22852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22854 "RANLIB=$${RANLIB}" \
22855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22856 install-info) \
22857 || exit 1
22859 @endif readline
22861 .PHONY: maybe-install-html-readline install-html-readline
22862 maybe-install-html-readline:
22863 @if readline
22864 maybe-install-html-readline: install-html-readline
22866 install-html-readline: \
22867 configure-readline \
22868 html-readline
22869 @: $(MAKE); $(unstage)
22870 @[ -f ./readline/Makefile ] || exit 0; \
22871 r=`${PWD_COMMAND}`; export r; \
22872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22873 $(HOST_EXPORTS) \
22874 for flag in $(EXTRA_HOST_FLAGS) ; do \
22875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22876 done; \
22877 echo "Doing install-html in readline" ; \
22878 (cd $(HOST_SUBDIR)/readline && \
22879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22881 "RANLIB=$${RANLIB}" \
22882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22883 install-html) \
22884 || exit 1
22886 @endif readline
22888 .PHONY: maybe-installcheck-readline installcheck-readline
22889 maybe-installcheck-readline:
22890 @if readline
22891 maybe-installcheck-readline: installcheck-readline
22893 installcheck-readline: \
22894 configure-readline
22895 @: $(MAKE); $(unstage)
22896 @[ -f ./readline/Makefile ] || exit 0; \
22897 r=`${PWD_COMMAND}`; export r; \
22898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22899 $(HOST_EXPORTS) \
22900 for flag in $(EXTRA_HOST_FLAGS) ; do \
22901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22902 done; \
22903 echo "Doing installcheck in readline" ; \
22904 (cd $(HOST_SUBDIR)/readline && \
22905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22907 "RANLIB=$${RANLIB}" \
22908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22909 installcheck) \
22910 || exit 1
22912 @endif readline
22914 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
22915 maybe-mostlyclean-readline:
22916 @if readline
22917 maybe-mostlyclean-readline: mostlyclean-readline
22919 mostlyclean-readline:
22920 @: $(MAKE); $(unstage)
22921 @[ -f ./readline/Makefile ] || exit 0; \
22922 r=`${PWD_COMMAND}`; export r; \
22923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22924 $(HOST_EXPORTS) \
22925 for flag in $(EXTRA_HOST_FLAGS) ; do \
22926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22927 done; \
22928 echo "Doing mostlyclean in readline" ; \
22929 (cd $(HOST_SUBDIR)/readline && \
22930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22932 "RANLIB=$${RANLIB}" \
22933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22934 mostlyclean) \
22935 || exit 1
22937 @endif readline
22939 .PHONY: maybe-clean-readline clean-readline
22940 maybe-clean-readline:
22941 @if readline
22942 maybe-clean-readline: clean-readline
22944 clean-readline:
22945 @: $(MAKE); $(unstage)
22946 @[ -f ./readline/Makefile ] || exit 0; \
22947 r=`${PWD_COMMAND}`; export r; \
22948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22949 $(HOST_EXPORTS) \
22950 for flag in $(EXTRA_HOST_FLAGS) ; do \
22951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22952 done; \
22953 echo "Doing clean in readline" ; \
22954 (cd $(HOST_SUBDIR)/readline && \
22955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22957 "RANLIB=$${RANLIB}" \
22958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22959 clean) \
22960 || exit 1
22962 @endif readline
22964 .PHONY: maybe-distclean-readline distclean-readline
22965 maybe-distclean-readline:
22966 @if readline
22967 maybe-distclean-readline: distclean-readline
22969 distclean-readline:
22970 @: $(MAKE); $(unstage)
22971 @[ -f ./readline/Makefile ] || exit 0; \
22972 r=`${PWD_COMMAND}`; export r; \
22973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22974 $(HOST_EXPORTS) \
22975 for flag in $(EXTRA_HOST_FLAGS) ; do \
22976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22977 done; \
22978 echo "Doing distclean in readline" ; \
22979 (cd $(HOST_SUBDIR)/readline && \
22980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22982 "RANLIB=$${RANLIB}" \
22983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22984 distclean) \
22985 || exit 1
22987 @endif readline
22989 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
22990 maybe-maintainer-clean-readline:
22991 @if readline
22992 maybe-maintainer-clean-readline: maintainer-clean-readline
22994 maintainer-clean-readline:
22995 @: $(MAKE); $(unstage)
22996 @[ -f ./readline/Makefile ] || exit 0; \
22997 r=`${PWD_COMMAND}`; export r; \
22998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22999 $(HOST_EXPORTS) \
23000 for flag in $(EXTRA_HOST_FLAGS) ; do \
23001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23002 done; \
23003 echo "Doing maintainer-clean in readline" ; \
23004 (cd $(HOST_SUBDIR)/readline && \
23005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23007 "RANLIB=$${RANLIB}" \
23008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23009 maintainer-clean) \
23010 || exit 1
23012 @endif readline
23016 .PHONY: configure-release maybe-configure-release
23017 maybe-configure-release:
23018 @if gcc-bootstrap
23019 configure-release: stage_current
23020 @endif gcc-bootstrap
23021 @if release
23022 maybe-configure-release: configure-release
23023 configure-release:
23024 @: $(MAKE); $(unstage)
23025 @r=`${PWD_COMMAND}`; export r; \
23026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23027 test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
23028 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
23029 $(HOST_EXPORTS) \
23030 echo Configuring in $(HOST_SUBDIR)/release; \
23031 cd "$(HOST_SUBDIR)/release" || exit 1; \
23032 case $(srcdir) in \
23033 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23034 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
23035 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23036 esac; \
23037 srcdiroption="--srcdir=$${topdir}/release"; \
23038 libsrcdir="$$s/release"; \
23039 $(SHELL) $${libsrcdir}/configure \
23040 $(HOST_CONFIGARGS) $${srcdiroption} \
23041 || exit 1
23042 @endif release
23048 .PHONY: all-release maybe-all-release
23049 maybe-all-release:
23050 @if gcc-bootstrap
23051 all-release: stage_current
23052 @endif gcc-bootstrap
23053 @if release
23054 TARGET-release=all
23055 maybe-all-release: all-release
23056 all-release: configure-release
23057 @: $(MAKE); $(unstage)
23058 @r=`${PWD_COMMAND}`; export r; \
23059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23060 $(HOST_EXPORTS) \
23061 (cd $(HOST_SUBDIR)/release && \
23062 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
23063 @endif release
23068 .PHONY: check-release maybe-check-release
23069 maybe-check-release:
23070 @if release
23071 maybe-check-release: check-release
23073 check-release:
23075 @endif release
23077 .PHONY: install-release maybe-install-release
23078 maybe-install-release:
23079 @if release
23080 maybe-install-release: install-release
23082 install-release:
23084 @endif release
23086 # Other targets (info, dvi, etc.)
23088 .PHONY: maybe-info-release info-release
23089 maybe-info-release:
23090 @if release
23091 maybe-info-release: info-release
23093 info-release: \
23094 configure-release
23095 @: $(MAKE); $(unstage)
23096 @[ -f ./release/Makefile ] || exit 0; \
23097 r=`${PWD_COMMAND}`; export r; \
23098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23099 $(HOST_EXPORTS) \
23100 for flag in $(EXTRA_HOST_FLAGS) ; do \
23101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23102 done; \
23103 echo "Doing info in release" ; \
23104 (cd $(HOST_SUBDIR)/release && \
23105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23107 "RANLIB=$${RANLIB}" \
23108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23109 info) \
23110 || exit 1
23112 @endif release
23114 .PHONY: maybe-dvi-release dvi-release
23115 maybe-dvi-release:
23116 @if release
23117 maybe-dvi-release: dvi-release
23119 dvi-release: \
23120 configure-release
23121 @: $(MAKE); $(unstage)
23122 @[ -f ./release/Makefile ] || exit 0; \
23123 r=`${PWD_COMMAND}`; export r; \
23124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23125 $(HOST_EXPORTS) \
23126 for flag in $(EXTRA_HOST_FLAGS) ; do \
23127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23128 done; \
23129 echo "Doing dvi in release" ; \
23130 (cd $(HOST_SUBDIR)/release && \
23131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23133 "RANLIB=$${RANLIB}" \
23134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23135 dvi) \
23136 || exit 1
23138 @endif release
23140 .PHONY: maybe-html-release html-release
23141 maybe-html-release:
23142 @if release
23143 maybe-html-release: html-release
23145 html-release: \
23146 configure-release
23147 @: $(MAKE); $(unstage)
23148 @[ -f ./release/Makefile ] || exit 0; \
23149 r=`${PWD_COMMAND}`; export r; \
23150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23151 $(HOST_EXPORTS) \
23152 for flag in $(EXTRA_HOST_FLAGS) ; do \
23153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23154 done; \
23155 echo "Doing html in release" ; \
23156 (cd $(HOST_SUBDIR)/release && \
23157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23159 "RANLIB=$${RANLIB}" \
23160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23161 html) \
23162 || exit 1
23164 @endif release
23166 .PHONY: maybe-TAGS-release TAGS-release
23167 maybe-TAGS-release:
23168 @if release
23169 maybe-TAGS-release: TAGS-release
23171 TAGS-release: \
23172 configure-release
23173 @: $(MAKE); $(unstage)
23174 @[ -f ./release/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 TAGS in release" ; \
23182 (cd $(HOST_SUBDIR)/release && \
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 TAGS) \
23188 || exit 1
23190 @endif release
23192 .PHONY: maybe-install-info-release install-info-release
23193 maybe-install-info-release:
23194 @if release
23195 maybe-install-info-release: install-info-release
23197 install-info-release: \
23198 configure-release \
23199 info-release
23200 @: $(MAKE); $(unstage)
23201 @[ -f ./release/Makefile ] || exit 0; \
23202 r=`${PWD_COMMAND}`; export r; \
23203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23204 $(HOST_EXPORTS) \
23205 for flag in $(EXTRA_HOST_FLAGS) ; do \
23206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23207 done; \
23208 echo "Doing install-info in release" ; \
23209 (cd $(HOST_SUBDIR)/release && \
23210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23212 "RANLIB=$${RANLIB}" \
23213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23214 install-info) \
23215 || exit 1
23217 @endif release
23219 .PHONY: maybe-install-html-release install-html-release
23220 maybe-install-html-release:
23221 @if release
23222 maybe-install-html-release: install-html-release
23224 install-html-release: \
23225 configure-release \
23226 html-release
23227 @: $(MAKE); $(unstage)
23228 @[ -f ./release/Makefile ] || exit 0; \
23229 r=`${PWD_COMMAND}`; export r; \
23230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23231 $(HOST_EXPORTS) \
23232 for flag in $(EXTRA_HOST_FLAGS) ; do \
23233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23234 done; \
23235 echo "Doing install-html in release" ; \
23236 (cd $(HOST_SUBDIR)/release && \
23237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23239 "RANLIB=$${RANLIB}" \
23240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23241 install-html) \
23242 || exit 1
23244 @endif release
23246 .PHONY: maybe-installcheck-release installcheck-release
23247 maybe-installcheck-release:
23248 @if release
23249 maybe-installcheck-release: installcheck-release
23251 installcheck-release: \
23252 configure-release
23253 @: $(MAKE); $(unstage)
23254 @[ -f ./release/Makefile ] || exit 0; \
23255 r=`${PWD_COMMAND}`; export r; \
23256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23257 $(HOST_EXPORTS) \
23258 for flag in $(EXTRA_HOST_FLAGS) ; do \
23259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23260 done; \
23261 echo "Doing installcheck in release" ; \
23262 (cd $(HOST_SUBDIR)/release && \
23263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23265 "RANLIB=$${RANLIB}" \
23266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23267 installcheck) \
23268 || exit 1
23270 @endif release
23272 .PHONY: maybe-mostlyclean-release mostlyclean-release
23273 maybe-mostlyclean-release:
23274 @if release
23275 maybe-mostlyclean-release: mostlyclean-release
23277 mostlyclean-release:
23278 @: $(MAKE); $(unstage)
23279 @[ -f ./release/Makefile ] || exit 0; \
23280 r=`${PWD_COMMAND}`; export r; \
23281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23282 $(HOST_EXPORTS) \
23283 for flag in $(EXTRA_HOST_FLAGS) ; do \
23284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23285 done; \
23286 echo "Doing mostlyclean in release" ; \
23287 (cd $(HOST_SUBDIR)/release && \
23288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23290 "RANLIB=$${RANLIB}" \
23291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23292 mostlyclean) \
23293 || exit 1
23295 @endif release
23297 .PHONY: maybe-clean-release clean-release
23298 maybe-clean-release:
23299 @if release
23300 maybe-clean-release: clean-release
23302 clean-release:
23303 @: $(MAKE); $(unstage)
23304 @[ -f ./release/Makefile ] || exit 0; \
23305 r=`${PWD_COMMAND}`; export r; \
23306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23307 $(HOST_EXPORTS) \
23308 for flag in $(EXTRA_HOST_FLAGS) ; do \
23309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23310 done; \
23311 echo "Doing clean in release" ; \
23312 (cd $(HOST_SUBDIR)/release && \
23313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23315 "RANLIB=$${RANLIB}" \
23316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23317 clean) \
23318 || exit 1
23320 @endif release
23322 .PHONY: maybe-distclean-release distclean-release
23323 maybe-distclean-release:
23324 @if release
23325 maybe-distclean-release: distclean-release
23327 distclean-release:
23328 @: $(MAKE); $(unstage)
23329 @[ -f ./release/Makefile ] || exit 0; \
23330 r=`${PWD_COMMAND}`; export r; \
23331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23332 $(HOST_EXPORTS) \
23333 for flag in $(EXTRA_HOST_FLAGS) ; do \
23334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23335 done; \
23336 echo "Doing distclean in release" ; \
23337 (cd $(HOST_SUBDIR)/release && \
23338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23340 "RANLIB=$${RANLIB}" \
23341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23342 distclean) \
23343 || exit 1
23345 @endif release
23347 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
23348 maybe-maintainer-clean-release:
23349 @if release
23350 maybe-maintainer-clean-release: maintainer-clean-release
23352 maintainer-clean-release:
23353 @: $(MAKE); $(unstage)
23354 @[ -f ./release/Makefile ] || exit 0; \
23355 r=`${PWD_COMMAND}`; export r; \
23356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23357 $(HOST_EXPORTS) \
23358 for flag in $(EXTRA_HOST_FLAGS) ; do \
23359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23360 done; \
23361 echo "Doing maintainer-clean in release" ; \
23362 (cd $(HOST_SUBDIR)/release && \
23363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23365 "RANLIB=$${RANLIB}" \
23366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23367 maintainer-clean) \
23368 || exit 1
23370 @endif release
23374 .PHONY: configure-recode maybe-configure-recode
23375 maybe-configure-recode:
23376 @if gcc-bootstrap
23377 configure-recode: stage_current
23378 @endif gcc-bootstrap
23379 @if recode
23380 maybe-configure-recode: configure-recode
23381 configure-recode:
23382 @: $(MAKE); $(unstage)
23383 @r=`${PWD_COMMAND}`; export r; \
23384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23385 test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
23386 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
23387 $(HOST_EXPORTS) \
23388 echo Configuring in $(HOST_SUBDIR)/recode; \
23389 cd "$(HOST_SUBDIR)/recode" || exit 1; \
23390 case $(srcdir) in \
23391 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23392 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
23393 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23394 esac; \
23395 srcdiroption="--srcdir=$${topdir}/recode"; \
23396 libsrcdir="$$s/recode"; \
23397 $(SHELL) $${libsrcdir}/configure \
23398 $(HOST_CONFIGARGS) $${srcdiroption} \
23399 || exit 1
23400 @endif recode
23406 .PHONY: all-recode maybe-all-recode
23407 maybe-all-recode:
23408 @if gcc-bootstrap
23409 all-recode: stage_current
23410 @endif gcc-bootstrap
23411 @if recode
23412 TARGET-recode=all
23413 maybe-all-recode: all-recode
23414 all-recode: configure-recode
23415 @: $(MAKE); $(unstage)
23416 @r=`${PWD_COMMAND}`; export r; \
23417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23418 $(HOST_EXPORTS) \
23419 (cd $(HOST_SUBDIR)/recode && \
23420 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
23421 @endif recode
23426 .PHONY: check-recode maybe-check-recode
23427 maybe-check-recode:
23428 @if recode
23429 maybe-check-recode: check-recode
23431 check-recode:
23432 @: $(MAKE); $(unstage)
23433 @r=`${PWD_COMMAND}`; export r; \
23434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23435 $(HOST_EXPORTS) \
23436 (cd $(HOST_SUBDIR)/recode && \
23437 $(MAKE) $(FLAGS_TO_PASS) check)
23439 @endif recode
23441 .PHONY: install-recode maybe-install-recode
23442 maybe-install-recode:
23443 @if recode
23444 maybe-install-recode: install-recode
23446 install-recode: installdirs
23447 @: $(MAKE); $(unstage)
23448 @r=`${PWD_COMMAND}`; export r; \
23449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23450 $(HOST_EXPORTS) \
23451 (cd $(HOST_SUBDIR)/recode && \
23452 $(MAKE) $(FLAGS_TO_PASS) install)
23454 @endif recode
23456 # Other targets (info, dvi, etc.)
23458 .PHONY: maybe-info-recode info-recode
23459 maybe-info-recode:
23460 @if recode
23461 maybe-info-recode: info-recode
23463 info-recode: \
23464 configure-recode
23465 @: $(MAKE); $(unstage)
23466 @[ -f ./recode/Makefile ] || exit 0; \
23467 r=`${PWD_COMMAND}`; export r; \
23468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23469 $(HOST_EXPORTS) \
23470 for flag in $(EXTRA_HOST_FLAGS) ; do \
23471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23472 done; \
23473 echo "Doing info in recode" ; \
23474 (cd $(HOST_SUBDIR)/recode && \
23475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23477 "RANLIB=$${RANLIB}" \
23478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23479 info) \
23480 || exit 1
23482 @endif recode
23484 .PHONY: maybe-dvi-recode dvi-recode
23485 maybe-dvi-recode:
23486 @if recode
23487 maybe-dvi-recode: dvi-recode
23489 dvi-recode: \
23490 configure-recode
23491 @: $(MAKE); $(unstage)
23492 @[ -f ./recode/Makefile ] || exit 0; \
23493 r=`${PWD_COMMAND}`; export r; \
23494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23495 $(HOST_EXPORTS) \
23496 for flag in $(EXTRA_HOST_FLAGS) ; do \
23497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23498 done; \
23499 echo "Doing dvi in recode" ; \
23500 (cd $(HOST_SUBDIR)/recode && \
23501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23503 "RANLIB=$${RANLIB}" \
23504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23505 dvi) \
23506 || exit 1
23508 @endif recode
23510 .PHONY: maybe-html-recode html-recode
23511 maybe-html-recode:
23512 @if recode
23513 maybe-html-recode: html-recode
23515 html-recode: \
23516 configure-recode
23517 @: $(MAKE); $(unstage)
23518 @[ -f ./recode/Makefile ] || exit 0; \
23519 r=`${PWD_COMMAND}`; export r; \
23520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23521 $(HOST_EXPORTS) \
23522 for flag in $(EXTRA_HOST_FLAGS) ; do \
23523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23524 done; \
23525 echo "Doing html in recode" ; \
23526 (cd $(HOST_SUBDIR)/recode && \
23527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23529 "RANLIB=$${RANLIB}" \
23530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23531 html) \
23532 || exit 1
23534 @endif recode
23536 .PHONY: maybe-TAGS-recode TAGS-recode
23537 maybe-TAGS-recode:
23538 @if recode
23539 maybe-TAGS-recode: TAGS-recode
23541 TAGS-recode: \
23542 configure-recode
23543 @: $(MAKE); $(unstage)
23544 @[ -f ./recode/Makefile ] || exit 0; \
23545 r=`${PWD_COMMAND}`; export r; \
23546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23547 $(HOST_EXPORTS) \
23548 for flag in $(EXTRA_HOST_FLAGS) ; do \
23549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23550 done; \
23551 echo "Doing TAGS in recode" ; \
23552 (cd $(HOST_SUBDIR)/recode && \
23553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23555 "RANLIB=$${RANLIB}" \
23556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23557 TAGS) \
23558 || exit 1
23560 @endif recode
23562 .PHONY: maybe-install-info-recode install-info-recode
23563 maybe-install-info-recode:
23564 @if recode
23565 maybe-install-info-recode: install-info-recode
23567 install-info-recode: \
23568 configure-recode \
23569 info-recode
23570 @: $(MAKE); $(unstage)
23571 @[ -f ./recode/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 install-info in recode" ; \
23579 (cd $(HOST_SUBDIR)/recode && \
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 install-info) \
23585 || exit 1
23587 @endif recode
23589 .PHONY: maybe-install-html-recode install-html-recode
23590 maybe-install-html-recode:
23591 @if recode
23592 maybe-install-html-recode: install-html-recode
23594 install-html-recode: \
23595 configure-recode \
23596 html-recode
23597 @: $(MAKE); $(unstage)
23598 @[ -f ./recode/Makefile ] || exit 0; \
23599 r=`${PWD_COMMAND}`; export r; \
23600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23601 $(HOST_EXPORTS) \
23602 for flag in $(EXTRA_HOST_FLAGS) ; do \
23603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23604 done; \
23605 echo "Doing install-html in recode" ; \
23606 (cd $(HOST_SUBDIR)/recode && \
23607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23609 "RANLIB=$${RANLIB}" \
23610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23611 install-html) \
23612 || exit 1
23614 @endif recode
23616 .PHONY: maybe-installcheck-recode installcheck-recode
23617 maybe-installcheck-recode:
23618 @if recode
23619 maybe-installcheck-recode: installcheck-recode
23621 installcheck-recode: \
23622 configure-recode
23623 @: $(MAKE); $(unstage)
23624 @[ -f ./recode/Makefile ] || exit 0; \
23625 r=`${PWD_COMMAND}`; export r; \
23626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23627 $(HOST_EXPORTS) \
23628 for flag in $(EXTRA_HOST_FLAGS) ; do \
23629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23630 done; \
23631 echo "Doing installcheck in recode" ; \
23632 (cd $(HOST_SUBDIR)/recode && \
23633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23635 "RANLIB=$${RANLIB}" \
23636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23637 installcheck) \
23638 || exit 1
23640 @endif recode
23642 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
23643 maybe-mostlyclean-recode:
23644 @if recode
23645 maybe-mostlyclean-recode: mostlyclean-recode
23647 mostlyclean-recode:
23648 @: $(MAKE); $(unstage)
23649 @[ -f ./recode/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 mostlyclean in recode" ; \
23657 (cd $(HOST_SUBDIR)/recode && \
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 mostlyclean) \
23663 || exit 1
23665 @endif recode
23667 .PHONY: maybe-clean-recode clean-recode
23668 maybe-clean-recode:
23669 @if recode
23670 maybe-clean-recode: clean-recode
23672 clean-recode:
23673 @: $(MAKE); $(unstage)
23674 @[ -f ./recode/Makefile ] || exit 0; \
23675 r=`${PWD_COMMAND}`; export r; \
23676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23677 $(HOST_EXPORTS) \
23678 for flag in $(EXTRA_HOST_FLAGS) ; do \
23679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23680 done; \
23681 echo "Doing clean in recode" ; \
23682 (cd $(HOST_SUBDIR)/recode && \
23683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23685 "RANLIB=$${RANLIB}" \
23686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23687 clean) \
23688 || exit 1
23690 @endif recode
23692 .PHONY: maybe-distclean-recode distclean-recode
23693 maybe-distclean-recode:
23694 @if recode
23695 maybe-distclean-recode: distclean-recode
23697 distclean-recode:
23698 @: $(MAKE); $(unstage)
23699 @[ -f ./recode/Makefile ] || exit 0; \
23700 r=`${PWD_COMMAND}`; export r; \
23701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23702 $(HOST_EXPORTS) \
23703 for flag in $(EXTRA_HOST_FLAGS) ; do \
23704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23705 done; \
23706 echo "Doing distclean in recode" ; \
23707 (cd $(HOST_SUBDIR)/recode && \
23708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23710 "RANLIB=$${RANLIB}" \
23711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23712 distclean) \
23713 || exit 1
23715 @endif recode
23717 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
23718 maybe-maintainer-clean-recode:
23719 @if recode
23720 maybe-maintainer-clean-recode: maintainer-clean-recode
23722 maintainer-clean-recode:
23723 @: $(MAKE); $(unstage)
23724 @[ -f ./recode/Makefile ] || exit 0; \
23725 r=`${PWD_COMMAND}`; export r; \
23726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23727 $(HOST_EXPORTS) \
23728 for flag in $(EXTRA_HOST_FLAGS) ; do \
23729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23730 done; \
23731 echo "Doing maintainer-clean in recode" ; \
23732 (cd $(HOST_SUBDIR)/recode && \
23733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23735 "RANLIB=$${RANLIB}" \
23736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23737 maintainer-clean) \
23738 || exit 1
23740 @endif recode
23744 .PHONY: configure-sed maybe-configure-sed
23745 maybe-configure-sed:
23746 @if gcc-bootstrap
23747 configure-sed: stage_current
23748 @endif gcc-bootstrap
23749 @if sed
23750 maybe-configure-sed: configure-sed
23751 configure-sed:
23752 @: $(MAKE); $(unstage)
23753 @r=`${PWD_COMMAND}`; export r; \
23754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23755 test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
23756 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
23757 $(HOST_EXPORTS) \
23758 echo Configuring in $(HOST_SUBDIR)/sed; \
23759 cd "$(HOST_SUBDIR)/sed" || exit 1; \
23760 case $(srcdir) in \
23761 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23762 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
23763 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23764 esac; \
23765 srcdiroption="--srcdir=$${topdir}/sed"; \
23766 libsrcdir="$$s/sed"; \
23767 $(SHELL) $${libsrcdir}/configure \
23768 $(HOST_CONFIGARGS) $${srcdiroption} \
23769 || exit 1
23770 @endif sed
23776 .PHONY: all-sed maybe-all-sed
23777 maybe-all-sed:
23778 @if gcc-bootstrap
23779 all-sed: stage_current
23780 @endif gcc-bootstrap
23781 @if sed
23782 TARGET-sed=all
23783 maybe-all-sed: all-sed
23784 all-sed: configure-sed
23785 @: $(MAKE); $(unstage)
23786 @r=`${PWD_COMMAND}`; export r; \
23787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23788 $(HOST_EXPORTS) \
23789 (cd $(HOST_SUBDIR)/sed && \
23790 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
23791 @endif sed
23796 .PHONY: check-sed maybe-check-sed
23797 maybe-check-sed:
23798 @if sed
23799 maybe-check-sed: check-sed
23801 check-sed:
23802 @: $(MAKE); $(unstage)
23803 @r=`${PWD_COMMAND}`; export r; \
23804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23805 $(HOST_EXPORTS) \
23806 (cd $(HOST_SUBDIR)/sed && \
23807 $(MAKE) $(FLAGS_TO_PASS) check)
23809 @endif sed
23811 .PHONY: install-sed maybe-install-sed
23812 maybe-install-sed:
23813 @if sed
23814 maybe-install-sed: install-sed
23816 install-sed: installdirs
23817 @: $(MAKE); $(unstage)
23818 @r=`${PWD_COMMAND}`; export r; \
23819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23820 $(HOST_EXPORTS) \
23821 (cd $(HOST_SUBDIR)/sed && \
23822 $(MAKE) $(FLAGS_TO_PASS) install)
23824 @endif sed
23826 # Other targets (info, dvi, etc.)
23828 .PHONY: maybe-info-sed info-sed
23829 maybe-info-sed:
23830 @if sed
23831 maybe-info-sed: info-sed
23833 info-sed: \
23834 configure-sed
23835 @: $(MAKE); $(unstage)
23836 @[ -f ./sed/Makefile ] || exit 0; \
23837 r=`${PWD_COMMAND}`; export r; \
23838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23839 $(HOST_EXPORTS) \
23840 for flag in $(EXTRA_HOST_FLAGS) ; do \
23841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23842 done; \
23843 echo "Doing info in sed" ; \
23844 (cd $(HOST_SUBDIR)/sed && \
23845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23847 "RANLIB=$${RANLIB}" \
23848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23849 info) \
23850 || exit 1
23852 @endif sed
23854 .PHONY: maybe-dvi-sed dvi-sed
23855 maybe-dvi-sed:
23856 @if sed
23857 maybe-dvi-sed: dvi-sed
23859 dvi-sed: \
23860 configure-sed
23861 @: $(MAKE); $(unstage)
23862 @[ -f ./sed/Makefile ] || exit 0; \
23863 r=`${PWD_COMMAND}`; export r; \
23864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23865 $(HOST_EXPORTS) \
23866 for flag in $(EXTRA_HOST_FLAGS) ; do \
23867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23868 done; \
23869 echo "Doing dvi in sed" ; \
23870 (cd $(HOST_SUBDIR)/sed && \
23871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23873 "RANLIB=$${RANLIB}" \
23874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23875 dvi) \
23876 || exit 1
23878 @endif sed
23880 .PHONY: maybe-html-sed html-sed
23881 maybe-html-sed:
23882 @if sed
23883 maybe-html-sed: html-sed
23885 html-sed: \
23886 configure-sed
23887 @: $(MAKE); $(unstage)
23888 @[ -f ./sed/Makefile ] || exit 0; \
23889 r=`${PWD_COMMAND}`; export r; \
23890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23891 $(HOST_EXPORTS) \
23892 for flag in $(EXTRA_HOST_FLAGS) ; do \
23893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23894 done; \
23895 echo "Doing html in sed" ; \
23896 (cd $(HOST_SUBDIR)/sed && \
23897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23899 "RANLIB=$${RANLIB}" \
23900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23901 html) \
23902 || exit 1
23904 @endif sed
23906 .PHONY: maybe-TAGS-sed TAGS-sed
23907 maybe-TAGS-sed:
23908 @if sed
23909 maybe-TAGS-sed: TAGS-sed
23911 TAGS-sed: \
23912 configure-sed
23913 @: $(MAKE); $(unstage)
23914 @[ -f ./sed/Makefile ] || exit 0; \
23915 r=`${PWD_COMMAND}`; export r; \
23916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23917 $(HOST_EXPORTS) \
23918 for flag in $(EXTRA_HOST_FLAGS) ; do \
23919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23920 done; \
23921 echo "Doing TAGS in sed" ; \
23922 (cd $(HOST_SUBDIR)/sed && \
23923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23925 "RANLIB=$${RANLIB}" \
23926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23927 TAGS) \
23928 || exit 1
23930 @endif sed
23932 .PHONY: maybe-install-info-sed install-info-sed
23933 maybe-install-info-sed:
23934 @if sed
23935 maybe-install-info-sed: install-info-sed
23937 install-info-sed: \
23938 configure-sed \
23939 info-sed
23940 @: $(MAKE); $(unstage)
23941 @[ -f ./sed/Makefile ] || exit 0; \
23942 r=`${PWD_COMMAND}`; export r; \
23943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23944 $(HOST_EXPORTS) \
23945 for flag in $(EXTRA_HOST_FLAGS) ; do \
23946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23947 done; \
23948 echo "Doing install-info in sed" ; \
23949 (cd $(HOST_SUBDIR)/sed && \
23950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23952 "RANLIB=$${RANLIB}" \
23953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23954 install-info) \
23955 || exit 1
23957 @endif sed
23959 .PHONY: maybe-install-html-sed install-html-sed
23960 maybe-install-html-sed:
23961 @if sed
23962 maybe-install-html-sed: install-html-sed
23964 install-html-sed: \
23965 configure-sed \
23966 html-sed
23967 @: $(MAKE); $(unstage)
23968 @[ -f ./sed/Makefile ] || exit 0; \
23969 r=`${PWD_COMMAND}`; export r; \
23970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23971 $(HOST_EXPORTS) \
23972 for flag in $(EXTRA_HOST_FLAGS) ; do \
23973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23974 done; \
23975 echo "Doing install-html in sed" ; \
23976 (cd $(HOST_SUBDIR)/sed && \
23977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23979 "RANLIB=$${RANLIB}" \
23980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23981 install-html) \
23982 || exit 1
23984 @endif sed
23986 .PHONY: maybe-installcheck-sed installcheck-sed
23987 maybe-installcheck-sed:
23988 @if sed
23989 maybe-installcheck-sed: installcheck-sed
23991 installcheck-sed: \
23992 configure-sed
23993 @: $(MAKE); $(unstage)
23994 @[ -f ./sed/Makefile ] || exit 0; \
23995 r=`${PWD_COMMAND}`; export r; \
23996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23997 $(HOST_EXPORTS) \
23998 for flag in $(EXTRA_HOST_FLAGS) ; do \
23999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24000 done; \
24001 echo "Doing installcheck in sed" ; \
24002 (cd $(HOST_SUBDIR)/sed && \
24003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24005 "RANLIB=$${RANLIB}" \
24006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24007 installcheck) \
24008 || exit 1
24010 @endif sed
24012 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
24013 maybe-mostlyclean-sed:
24014 @if sed
24015 maybe-mostlyclean-sed: mostlyclean-sed
24017 mostlyclean-sed:
24018 @: $(MAKE); $(unstage)
24019 @[ -f ./sed/Makefile ] || exit 0; \
24020 r=`${PWD_COMMAND}`; export r; \
24021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24022 $(HOST_EXPORTS) \
24023 for flag in $(EXTRA_HOST_FLAGS) ; do \
24024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24025 done; \
24026 echo "Doing mostlyclean in sed" ; \
24027 (cd $(HOST_SUBDIR)/sed && \
24028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24030 "RANLIB=$${RANLIB}" \
24031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24032 mostlyclean) \
24033 || exit 1
24035 @endif sed
24037 .PHONY: maybe-clean-sed clean-sed
24038 maybe-clean-sed:
24039 @if sed
24040 maybe-clean-sed: clean-sed
24042 clean-sed:
24043 @: $(MAKE); $(unstage)
24044 @[ -f ./sed/Makefile ] || exit 0; \
24045 r=`${PWD_COMMAND}`; export r; \
24046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24047 $(HOST_EXPORTS) \
24048 for flag in $(EXTRA_HOST_FLAGS) ; do \
24049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24050 done; \
24051 echo "Doing clean in sed" ; \
24052 (cd $(HOST_SUBDIR)/sed && \
24053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24055 "RANLIB=$${RANLIB}" \
24056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24057 clean) \
24058 || exit 1
24060 @endif sed
24062 .PHONY: maybe-distclean-sed distclean-sed
24063 maybe-distclean-sed:
24064 @if sed
24065 maybe-distclean-sed: distclean-sed
24067 distclean-sed:
24068 @: $(MAKE); $(unstage)
24069 @[ -f ./sed/Makefile ] || exit 0; \
24070 r=`${PWD_COMMAND}`; export r; \
24071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24072 $(HOST_EXPORTS) \
24073 for flag in $(EXTRA_HOST_FLAGS) ; do \
24074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24075 done; \
24076 echo "Doing distclean in sed" ; \
24077 (cd $(HOST_SUBDIR)/sed && \
24078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24080 "RANLIB=$${RANLIB}" \
24081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24082 distclean) \
24083 || exit 1
24085 @endif sed
24087 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
24088 maybe-maintainer-clean-sed:
24089 @if sed
24090 maybe-maintainer-clean-sed: maintainer-clean-sed
24092 maintainer-clean-sed:
24093 @: $(MAKE); $(unstage)
24094 @[ -f ./sed/Makefile ] || exit 0; \
24095 r=`${PWD_COMMAND}`; export r; \
24096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24097 $(HOST_EXPORTS) \
24098 for flag in $(EXTRA_HOST_FLAGS) ; do \
24099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24100 done; \
24101 echo "Doing maintainer-clean in sed" ; \
24102 (cd $(HOST_SUBDIR)/sed && \
24103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24105 "RANLIB=$${RANLIB}" \
24106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24107 maintainer-clean) \
24108 || exit 1
24110 @endif sed
24114 .PHONY: configure-send-pr maybe-configure-send-pr
24115 maybe-configure-send-pr:
24116 @if gcc-bootstrap
24117 configure-send-pr: stage_current
24118 @endif gcc-bootstrap
24119 @if send-pr
24120 maybe-configure-send-pr: configure-send-pr
24121 configure-send-pr:
24122 @: $(MAKE); $(unstage)
24123 @r=`${PWD_COMMAND}`; export r; \
24124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24125 test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
24126 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
24127 $(HOST_EXPORTS) \
24128 echo Configuring in $(HOST_SUBDIR)/send-pr; \
24129 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
24130 case $(srcdir) in \
24131 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24132 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
24133 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24134 esac; \
24135 srcdiroption="--srcdir=$${topdir}/send-pr"; \
24136 libsrcdir="$$s/send-pr"; \
24137 $(SHELL) $${libsrcdir}/configure \
24138 $(HOST_CONFIGARGS) $${srcdiroption} \
24139 || exit 1
24140 @endif send-pr
24146 .PHONY: all-send-pr maybe-all-send-pr
24147 maybe-all-send-pr:
24148 @if gcc-bootstrap
24149 all-send-pr: stage_current
24150 @endif gcc-bootstrap
24151 @if send-pr
24152 TARGET-send-pr=all
24153 maybe-all-send-pr: all-send-pr
24154 all-send-pr: configure-send-pr
24155 @: $(MAKE); $(unstage)
24156 @r=`${PWD_COMMAND}`; export r; \
24157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24158 $(HOST_EXPORTS) \
24159 (cd $(HOST_SUBDIR)/send-pr && \
24160 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
24161 @endif send-pr
24166 .PHONY: check-send-pr maybe-check-send-pr
24167 maybe-check-send-pr:
24168 @if send-pr
24169 maybe-check-send-pr: check-send-pr
24171 check-send-pr:
24172 @: $(MAKE); $(unstage)
24173 @r=`${PWD_COMMAND}`; export r; \
24174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24175 $(HOST_EXPORTS) \
24176 (cd $(HOST_SUBDIR)/send-pr && \
24177 $(MAKE) $(FLAGS_TO_PASS) check)
24179 @endif send-pr
24181 .PHONY: install-send-pr maybe-install-send-pr
24182 maybe-install-send-pr:
24183 @if send-pr
24184 maybe-install-send-pr: install-send-pr
24186 install-send-pr: installdirs
24187 @: $(MAKE); $(unstage)
24188 @r=`${PWD_COMMAND}`; export r; \
24189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24190 $(HOST_EXPORTS) \
24191 (cd $(HOST_SUBDIR)/send-pr && \
24192 $(MAKE) $(FLAGS_TO_PASS) install)
24194 @endif send-pr
24196 # Other targets (info, dvi, etc.)
24198 .PHONY: maybe-info-send-pr info-send-pr
24199 maybe-info-send-pr:
24200 @if send-pr
24201 maybe-info-send-pr: info-send-pr
24203 info-send-pr: \
24204 configure-send-pr
24205 @: $(MAKE); $(unstage)
24206 @[ -f ./send-pr/Makefile ] || exit 0; \
24207 r=`${PWD_COMMAND}`; export r; \
24208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24209 $(HOST_EXPORTS) \
24210 for flag in $(EXTRA_HOST_FLAGS) ; do \
24211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24212 done; \
24213 echo "Doing info in send-pr" ; \
24214 (cd $(HOST_SUBDIR)/send-pr && \
24215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24217 "RANLIB=$${RANLIB}" \
24218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24219 info) \
24220 || exit 1
24222 @endif send-pr
24224 .PHONY: maybe-dvi-send-pr dvi-send-pr
24225 maybe-dvi-send-pr:
24226 @if send-pr
24227 maybe-dvi-send-pr: dvi-send-pr
24229 dvi-send-pr: \
24230 configure-send-pr
24231 @: $(MAKE); $(unstage)
24232 @[ -f ./send-pr/Makefile ] || exit 0; \
24233 r=`${PWD_COMMAND}`; export r; \
24234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24235 $(HOST_EXPORTS) \
24236 for flag in $(EXTRA_HOST_FLAGS) ; do \
24237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24238 done; \
24239 echo "Doing dvi in send-pr" ; \
24240 (cd $(HOST_SUBDIR)/send-pr && \
24241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24243 "RANLIB=$${RANLIB}" \
24244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24245 dvi) \
24246 || exit 1
24248 @endif send-pr
24250 .PHONY: maybe-html-send-pr html-send-pr
24251 maybe-html-send-pr:
24252 @if send-pr
24253 maybe-html-send-pr: html-send-pr
24255 html-send-pr: \
24256 configure-send-pr
24257 @: $(MAKE); $(unstage)
24258 @[ -f ./send-pr/Makefile ] || exit 0; \
24259 r=`${PWD_COMMAND}`; export r; \
24260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24261 $(HOST_EXPORTS) \
24262 for flag in $(EXTRA_HOST_FLAGS) ; do \
24263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24264 done; \
24265 echo "Doing html in send-pr" ; \
24266 (cd $(HOST_SUBDIR)/send-pr && \
24267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24269 "RANLIB=$${RANLIB}" \
24270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24271 html) \
24272 || exit 1
24274 @endif send-pr
24276 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
24277 maybe-TAGS-send-pr:
24278 @if send-pr
24279 maybe-TAGS-send-pr: TAGS-send-pr
24281 TAGS-send-pr: \
24282 configure-send-pr
24283 @: $(MAKE); $(unstage)
24284 @[ -f ./send-pr/Makefile ] || exit 0; \
24285 r=`${PWD_COMMAND}`; export r; \
24286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24287 $(HOST_EXPORTS) \
24288 for flag in $(EXTRA_HOST_FLAGS) ; do \
24289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24290 done; \
24291 echo "Doing TAGS in send-pr" ; \
24292 (cd $(HOST_SUBDIR)/send-pr && \
24293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24295 "RANLIB=$${RANLIB}" \
24296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24297 TAGS) \
24298 || exit 1
24300 @endif send-pr
24302 .PHONY: maybe-install-info-send-pr install-info-send-pr
24303 maybe-install-info-send-pr:
24304 @if send-pr
24305 maybe-install-info-send-pr: install-info-send-pr
24307 install-info-send-pr: \
24308 configure-send-pr \
24309 info-send-pr
24310 @: $(MAKE); $(unstage)
24311 @[ -f ./send-pr/Makefile ] || exit 0; \
24312 r=`${PWD_COMMAND}`; export r; \
24313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24314 $(HOST_EXPORTS) \
24315 for flag in $(EXTRA_HOST_FLAGS) ; do \
24316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24317 done; \
24318 echo "Doing install-info in send-pr" ; \
24319 (cd $(HOST_SUBDIR)/send-pr && \
24320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24322 "RANLIB=$${RANLIB}" \
24323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24324 install-info) \
24325 || exit 1
24327 @endif send-pr
24329 .PHONY: maybe-install-html-send-pr install-html-send-pr
24330 maybe-install-html-send-pr:
24331 @if send-pr
24332 maybe-install-html-send-pr: install-html-send-pr
24334 install-html-send-pr: \
24335 configure-send-pr \
24336 html-send-pr
24337 @: $(MAKE); $(unstage)
24338 @[ -f ./send-pr/Makefile ] || exit 0; \
24339 r=`${PWD_COMMAND}`; export r; \
24340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24341 $(HOST_EXPORTS) \
24342 for flag in $(EXTRA_HOST_FLAGS) ; do \
24343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24344 done; \
24345 echo "Doing install-html in send-pr" ; \
24346 (cd $(HOST_SUBDIR)/send-pr && \
24347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24349 "RANLIB=$${RANLIB}" \
24350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24351 install-html) \
24352 || exit 1
24354 @endif send-pr
24356 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
24357 maybe-installcheck-send-pr:
24358 @if send-pr
24359 maybe-installcheck-send-pr: installcheck-send-pr
24361 installcheck-send-pr: \
24362 configure-send-pr
24363 @: $(MAKE); $(unstage)
24364 @[ -f ./send-pr/Makefile ] || exit 0; \
24365 r=`${PWD_COMMAND}`; export r; \
24366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24367 $(HOST_EXPORTS) \
24368 for flag in $(EXTRA_HOST_FLAGS) ; do \
24369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24370 done; \
24371 echo "Doing installcheck in send-pr" ; \
24372 (cd $(HOST_SUBDIR)/send-pr && \
24373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24375 "RANLIB=$${RANLIB}" \
24376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24377 installcheck) \
24378 || exit 1
24380 @endif send-pr
24382 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
24383 maybe-mostlyclean-send-pr:
24384 @if send-pr
24385 maybe-mostlyclean-send-pr: mostlyclean-send-pr
24387 mostlyclean-send-pr:
24388 @: $(MAKE); $(unstage)
24389 @[ -f ./send-pr/Makefile ] || exit 0; \
24390 r=`${PWD_COMMAND}`; export r; \
24391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24392 $(HOST_EXPORTS) \
24393 for flag in $(EXTRA_HOST_FLAGS) ; do \
24394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24395 done; \
24396 echo "Doing mostlyclean in send-pr" ; \
24397 (cd $(HOST_SUBDIR)/send-pr && \
24398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24400 "RANLIB=$${RANLIB}" \
24401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24402 mostlyclean) \
24403 || exit 1
24405 @endif send-pr
24407 .PHONY: maybe-clean-send-pr clean-send-pr
24408 maybe-clean-send-pr:
24409 @if send-pr
24410 maybe-clean-send-pr: clean-send-pr
24412 clean-send-pr:
24413 @: $(MAKE); $(unstage)
24414 @[ -f ./send-pr/Makefile ] || exit 0; \
24415 r=`${PWD_COMMAND}`; export r; \
24416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24417 $(HOST_EXPORTS) \
24418 for flag in $(EXTRA_HOST_FLAGS) ; do \
24419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24420 done; \
24421 echo "Doing clean in send-pr" ; \
24422 (cd $(HOST_SUBDIR)/send-pr && \
24423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24425 "RANLIB=$${RANLIB}" \
24426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24427 clean) \
24428 || exit 1
24430 @endif send-pr
24432 .PHONY: maybe-distclean-send-pr distclean-send-pr
24433 maybe-distclean-send-pr:
24434 @if send-pr
24435 maybe-distclean-send-pr: distclean-send-pr
24437 distclean-send-pr:
24438 @: $(MAKE); $(unstage)
24439 @[ -f ./send-pr/Makefile ] || exit 0; \
24440 r=`${PWD_COMMAND}`; export r; \
24441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24442 $(HOST_EXPORTS) \
24443 for flag in $(EXTRA_HOST_FLAGS) ; do \
24444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24445 done; \
24446 echo "Doing distclean in send-pr" ; \
24447 (cd $(HOST_SUBDIR)/send-pr && \
24448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24450 "RANLIB=$${RANLIB}" \
24451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24452 distclean) \
24453 || exit 1
24455 @endif send-pr
24457 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
24458 maybe-maintainer-clean-send-pr:
24459 @if send-pr
24460 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
24462 maintainer-clean-send-pr:
24463 @: $(MAKE); $(unstage)
24464 @[ -f ./send-pr/Makefile ] || exit 0; \
24465 r=`${PWD_COMMAND}`; export r; \
24466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24467 $(HOST_EXPORTS) \
24468 for flag in $(EXTRA_HOST_FLAGS) ; do \
24469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24470 done; \
24471 echo "Doing maintainer-clean in send-pr" ; \
24472 (cd $(HOST_SUBDIR)/send-pr && \
24473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24475 "RANLIB=$${RANLIB}" \
24476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24477 maintainer-clean) \
24478 || exit 1
24480 @endif send-pr
24484 .PHONY: configure-shellutils maybe-configure-shellutils
24485 maybe-configure-shellutils:
24486 @if gcc-bootstrap
24487 configure-shellutils: stage_current
24488 @endif gcc-bootstrap
24489 @if shellutils
24490 maybe-configure-shellutils: configure-shellutils
24491 configure-shellutils:
24492 @: $(MAKE); $(unstage)
24493 @r=`${PWD_COMMAND}`; export r; \
24494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24495 test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
24496 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
24497 $(HOST_EXPORTS) \
24498 echo Configuring in $(HOST_SUBDIR)/shellutils; \
24499 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
24500 case $(srcdir) in \
24501 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24502 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
24503 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24504 esac; \
24505 srcdiroption="--srcdir=$${topdir}/shellutils"; \
24506 libsrcdir="$$s/shellutils"; \
24507 $(SHELL) $${libsrcdir}/configure \
24508 $(HOST_CONFIGARGS) $${srcdiroption} \
24509 || exit 1
24510 @endif shellutils
24516 .PHONY: all-shellutils maybe-all-shellutils
24517 maybe-all-shellutils:
24518 @if gcc-bootstrap
24519 all-shellutils: stage_current
24520 @endif gcc-bootstrap
24521 @if shellutils
24522 TARGET-shellutils=all
24523 maybe-all-shellutils: all-shellutils
24524 all-shellutils: configure-shellutils
24525 @: $(MAKE); $(unstage)
24526 @r=`${PWD_COMMAND}`; export r; \
24527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24528 $(HOST_EXPORTS) \
24529 (cd $(HOST_SUBDIR)/shellutils && \
24530 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
24531 @endif shellutils
24536 .PHONY: check-shellutils maybe-check-shellutils
24537 maybe-check-shellutils:
24538 @if shellutils
24539 maybe-check-shellutils: check-shellutils
24541 check-shellutils:
24542 @: $(MAKE); $(unstage)
24543 @r=`${PWD_COMMAND}`; export r; \
24544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24545 $(HOST_EXPORTS) \
24546 (cd $(HOST_SUBDIR)/shellutils && \
24547 $(MAKE) $(FLAGS_TO_PASS) check)
24549 @endif shellutils
24551 .PHONY: install-shellutils maybe-install-shellutils
24552 maybe-install-shellutils:
24553 @if shellutils
24554 maybe-install-shellutils: install-shellutils
24556 install-shellutils: installdirs
24557 @: $(MAKE); $(unstage)
24558 @r=`${PWD_COMMAND}`; export r; \
24559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24560 $(HOST_EXPORTS) \
24561 (cd $(HOST_SUBDIR)/shellutils && \
24562 $(MAKE) $(FLAGS_TO_PASS) install)
24564 @endif shellutils
24566 # Other targets (info, dvi, etc.)
24568 .PHONY: maybe-info-shellutils info-shellutils
24569 maybe-info-shellutils:
24570 @if shellutils
24571 maybe-info-shellutils: info-shellutils
24573 info-shellutils: \
24574 configure-shellutils
24575 @: $(MAKE); $(unstage)
24576 @[ -f ./shellutils/Makefile ] || exit 0; \
24577 r=`${PWD_COMMAND}`; export r; \
24578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24579 $(HOST_EXPORTS) \
24580 for flag in $(EXTRA_HOST_FLAGS) ; do \
24581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24582 done; \
24583 echo "Doing info in shellutils" ; \
24584 (cd $(HOST_SUBDIR)/shellutils && \
24585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24587 "RANLIB=$${RANLIB}" \
24588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24589 info) \
24590 || exit 1
24592 @endif shellutils
24594 .PHONY: maybe-dvi-shellutils dvi-shellutils
24595 maybe-dvi-shellutils:
24596 @if shellutils
24597 maybe-dvi-shellutils: dvi-shellutils
24599 dvi-shellutils: \
24600 configure-shellutils
24601 @: $(MAKE); $(unstage)
24602 @[ -f ./shellutils/Makefile ] || exit 0; \
24603 r=`${PWD_COMMAND}`; export r; \
24604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24605 $(HOST_EXPORTS) \
24606 for flag in $(EXTRA_HOST_FLAGS) ; do \
24607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24608 done; \
24609 echo "Doing dvi in shellutils" ; \
24610 (cd $(HOST_SUBDIR)/shellutils && \
24611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24613 "RANLIB=$${RANLIB}" \
24614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24615 dvi) \
24616 || exit 1
24618 @endif shellutils
24620 .PHONY: maybe-html-shellutils html-shellutils
24621 maybe-html-shellutils:
24622 @if shellutils
24623 maybe-html-shellutils: html-shellutils
24625 html-shellutils: \
24626 configure-shellutils
24627 @: $(MAKE); $(unstage)
24628 @[ -f ./shellutils/Makefile ] || exit 0; \
24629 r=`${PWD_COMMAND}`; export r; \
24630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24631 $(HOST_EXPORTS) \
24632 for flag in $(EXTRA_HOST_FLAGS) ; do \
24633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24634 done; \
24635 echo "Doing html in shellutils" ; \
24636 (cd $(HOST_SUBDIR)/shellutils && \
24637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24639 "RANLIB=$${RANLIB}" \
24640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24641 html) \
24642 || exit 1
24644 @endif shellutils
24646 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
24647 maybe-TAGS-shellutils:
24648 @if shellutils
24649 maybe-TAGS-shellutils: TAGS-shellutils
24651 TAGS-shellutils: \
24652 configure-shellutils
24653 @: $(MAKE); $(unstage)
24654 @[ -f ./shellutils/Makefile ] || exit 0; \
24655 r=`${PWD_COMMAND}`; export r; \
24656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24657 $(HOST_EXPORTS) \
24658 for flag in $(EXTRA_HOST_FLAGS) ; do \
24659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24660 done; \
24661 echo "Doing TAGS in shellutils" ; \
24662 (cd $(HOST_SUBDIR)/shellutils && \
24663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24665 "RANLIB=$${RANLIB}" \
24666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24667 TAGS) \
24668 || exit 1
24670 @endif shellutils
24672 .PHONY: maybe-install-info-shellutils install-info-shellutils
24673 maybe-install-info-shellutils:
24674 @if shellutils
24675 maybe-install-info-shellutils: install-info-shellutils
24677 install-info-shellutils: \
24678 configure-shellutils \
24679 info-shellutils
24680 @: $(MAKE); $(unstage)
24681 @[ -f ./shellutils/Makefile ] || exit 0; \
24682 r=`${PWD_COMMAND}`; export r; \
24683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24684 $(HOST_EXPORTS) \
24685 for flag in $(EXTRA_HOST_FLAGS) ; do \
24686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24687 done; \
24688 echo "Doing install-info in shellutils" ; \
24689 (cd $(HOST_SUBDIR)/shellutils && \
24690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24692 "RANLIB=$${RANLIB}" \
24693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24694 install-info) \
24695 || exit 1
24697 @endif shellutils
24699 .PHONY: maybe-install-html-shellutils install-html-shellutils
24700 maybe-install-html-shellutils:
24701 @if shellutils
24702 maybe-install-html-shellutils: install-html-shellutils
24704 install-html-shellutils: \
24705 configure-shellutils \
24706 html-shellutils
24707 @: $(MAKE); $(unstage)
24708 @[ -f ./shellutils/Makefile ] || exit 0; \
24709 r=`${PWD_COMMAND}`; export r; \
24710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24711 $(HOST_EXPORTS) \
24712 for flag in $(EXTRA_HOST_FLAGS) ; do \
24713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24714 done; \
24715 echo "Doing install-html in shellutils" ; \
24716 (cd $(HOST_SUBDIR)/shellutils && \
24717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24719 "RANLIB=$${RANLIB}" \
24720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24721 install-html) \
24722 || exit 1
24724 @endif shellutils
24726 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
24727 maybe-installcheck-shellutils:
24728 @if shellutils
24729 maybe-installcheck-shellutils: installcheck-shellutils
24731 installcheck-shellutils: \
24732 configure-shellutils
24733 @: $(MAKE); $(unstage)
24734 @[ -f ./shellutils/Makefile ] || exit 0; \
24735 r=`${PWD_COMMAND}`; export r; \
24736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24737 $(HOST_EXPORTS) \
24738 for flag in $(EXTRA_HOST_FLAGS) ; do \
24739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24740 done; \
24741 echo "Doing installcheck in shellutils" ; \
24742 (cd $(HOST_SUBDIR)/shellutils && \
24743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24745 "RANLIB=$${RANLIB}" \
24746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24747 installcheck) \
24748 || exit 1
24750 @endif shellutils
24752 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
24753 maybe-mostlyclean-shellutils:
24754 @if shellutils
24755 maybe-mostlyclean-shellutils: mostlyclean-shellutils
24757 mostlyclean-shellutils:
24758 @: $(MAKE); $(unstage)
24759 @[ -f ./shellutils/Makefile ] || exit 0; \
24760 r=`${PWD_COMMAND}`; export r; \
24761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24762 $(HOST_EXPORTS) \
24763 for flag in $(EXTRA_HOST_FLAGS) ; do \
24764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24765 done; \
24766 echo "Doing mostlyclean in shellutils" ; \
24767 (cd $(HOST_SUBDIR)/shellutils && \
24768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24770 "RANLIB=$${RANLIB}" \
24771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24772 mostlyclean) \
24773 || exit 1
24775 @endif shellutils
24777 .PHONY: maybe-clean-shellutils clean-shellutils
24778 maybe-clean-shellutils:
24779 @if shellutils
24780 maybe-clean-shellutils: clean-shellutils
24782 clean-shellutils:
24783 @: $(MAKE); $(unstage)
24784 @[ -f ./shellutils/Makefile ] || exit 0; \
24785 r=`${PWD_COMMAND}`; export r; \
24786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24787 $(HOST_EXPORTS) \
24788 for flag in $(EXTRA_HOST_FLAGS) ; do \
24789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24790 done; \
24791 echo "Doing clean in shellutils" ; \
24792 (cd $(HOST_SUBDIR)/shellutils && \
24793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24795 "RANLIB=$${RANLIB}" \
24796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24797 clean) \
24798 || exit 1
24800 @endif shellutils
24802 .PHONY: maybe-distclean-shellutils distclean-shellutils
24803 maybe-distclean-shellutils:
24804 @if shellutils
24805 maybe-distclean-shellutils: distclean-shellutils
24807 distclean-shellutils:
24808 @: $(MAKE); $(unstage)
24809 @[ -f ./shellutils/Makefile ] || exit 0; \
24810 r=`${PWD_COMMAND}`; export r; \
24811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24812 $(HOST_EXPORTS) \
24813 for flag in $(EXTRA_HOST_FLAGS) ; do \
24814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24815 done; \
24816 echo "Doing distclean in shellutils" ; \
24817 (cd $(HOST_SUBDIR)/shellutils && \
24818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24820 "RANLIB=$${RANLIB}" \
24821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24822 distclean) \
24823 || exit 1
24825 @endif shellutils
24827 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
24828 maybe-maintainer-clean-shellutils:
24829 @if shellutils
24830 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
24832 maintainer-clean-shellutils:
24833 @: $(MAKE); $(unstage)
24834 @[ -f ./shellutils/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 maintainer-clean in shellutils" ; \
24842 (cd $(HOST_SUBDIR)/shellutils && \
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 maintainer-clean) \
24848 || exit 1
24850 @endif shellutils
24854 .PHONY: configure-sid maybe-configure-sid
24855 maybe-configure-sid:
24856 @if gcc-bootstrap
24857 configure-sid: stage_current
24858 @endif gcc-bootstrap
24859 @if sid
24860 maybe-configure-sid: configure-sid
24861 configure-sid:
24862 @: $(MAKE); $(unstage)
24863 @r=`${PWD_COMMAND}`; export r; \
24864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24865 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
24866 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
24867 $(HOST_EXPORTS) \
24868 echo Configuring in $(HOST_SUBDIR)/sid; \
24869 cd "$(HOST_SUBDIR)/sid" || exit 1; \
24870 case $(srcdir) in \
24871 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24872 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
24873 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24874 esac; \
24875 srcdiroption="--srcdir=$${topdir}/sid"; \
24876 libsrcdir="$$s/sid"; \
24877 $(SHELL) $${libsrcdir}/configure \
24878 $(HOST_CONFIGARGS) $${srcdiroption} \
24879 || exit 1
24880 @endif sid
24886 .PHONY: all-sid maybe-all-sid
24887 maybe-all-sid:
24888 @if gcc-bootstrap
24889 all-sid: stage_current
24890 @endif gcc-bootstrap
24891 @if sid
24892 TARGET-sid=all
24893 maybe-all-sid: all-sid
24894 all-sid: configure-sid
24895 @: $(MAKE); $(unstage)
24896 @r=`${PWD_COMMAND}`; export r; \
24897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24898 $(HOST_EXPORTS) \
24899 (cd $(HOST_SUBDIR)/sid && \
24900 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
24901 @endif sid
24906 .PHONY: check-sid maybe-check-sid
24907 maybe-check-sid:
24908 @if sid
24909 maybe-check-sid: check-sid
24911 check-sid:
24912 @: $(MAKE); $(unstage)
24913 @r=`${PWD_COMMAND}`; export r; \
24914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24915 $(HOST_EXPORTS) \
24916 (cd $(HOST_SUBDIR)/sid && \
24917 $(MAKE) $(FLAGS_TO_PASS) check)
24919 @endif sid
24921 .PHONY: install-sid maybe-install-sid
24922 maybe-install-sid:
24923 @if sid
24924 maybe-install-sid: install-sid
24926 install-sid: installdirs
24927 @: $(MAKE); $(unstage)
24928 @r=`${PWD_COMMAND}`; export r; \
24929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24930 $(HOST_EXPORTS) \
24931 (cd $(HOST_SUBDIR)/sid && \
24932 $(MAKE) $(FLAGS_TO_PASS) install)
24934 @endif sid
24936 # Other targets (info, dvi, etc.)
24938 .PHONY: maybe-info-sid info-sid
24939 maybe-info-sid:
24940 @if sid
24941 maybe-info-sid: info-sid
24943 info-sid: \
24944 configure-sid
24945 @: $(MAKE); $(unstage)
24946 @[ -f ./sid/Makefile ] || exit 0; \
24947 r=`${PWD_COMMAND}`; export r; \
24948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24949 $(HOST_EXPORTS) \
24950 for flag in $(EXTRA_HOST_FLAGS) ; do \
24951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24952 done; \
24953 echo "Doing info in sid" ; \
24954 (cd $(HOST_SUBDIR)/sid && \
24955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24957 "RANLIB=$${RANLIB}" \
24958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24959 info) \
24960 || exit 1
24962 @endif sid
24964 .PHONY: maybe-dvi-sid dvi-sid
24965 maybe-dvi-sid:
24966 @if sid
24967 maybe-dvi-sid: dvi-sid
24969 dvi-sid: \
24970 configure-sid
24971 @: $(MAKE); $(unstage)
24972 @[ -f ./sid/Makefile ] || exit 0; \
24973 r=`${PWD_COMMAND}`; export r; \
24974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24975 $(HOST_EXPORTS) \
24976 for flag in $(EXTRA_HOST_FLAGS) ; do \
24977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24978 done; \
24979 echo "Doing dvi in sid" ; \
24980 (cd $(HOST_SUBDIR)/sid && \
24981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24983 "RANLIB=$${RANLIB}" \
24984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24985 dvi) \
24986 || exit 1
24988 @endif sid
24990 .PHONY: maybe-html-sid html-sid
24991 maybe-html-sid:
24992 @if sid
24993 maybe-html-sid: html-sid
24995 html-sid: \
24996 configure-sid
24997 @: $(MAKE); $(unstage)
24998 @[ -f ./sid/Makefile ] || exit 0; \
24999 r=`${PWD_COMMAND}`; export r; \
25000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25001 $(HOST_EXPORTS) \
25002 for flag in $(EXTRA_HOST_FLAGS) ; do \
25003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25004 done; \
25005 echo "Doing html in sid" ; \
25006 (cd $(HOST_SUBDIR)/sid && \
25007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25009 "RANLIB=$${RANLIB}" \
25010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25011 html) \
25012 || exit 1
25014 @endif sid
25016 .PHONY: maybe-TAGS-sid TAGS-sid
25017 maybe-TAGS-sid:
25018 @if sid
25019 maybe-TAGS-sid: TAGS-sid
25021 TAGS-sid: \
25022 configure-sid
25023 @: $(MAKE); $(unstage)
25024 @[ -f ./sid/Makefile ] || exit 0; \
25025 r=`${PWD_COMMAND}`; export r; \
25026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25027 $(HOST_EXPORTS) \
25028 for flag in $(EXTRA_HOST_FLAGS) ; do \
25029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25030 done; \
25031 echo "Doing TAGS in sid" ; \
25032 (cd $(HOST_SUBDIR)/sid && \
25033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25035 "RANLIB=$${RANLIB}" \
25036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25037 TAGS) \
25038 || exit 1
25040 @endif sid
25042 .PHONY: maybe-install-info-sid install-info-sid
25043 maybe-install-info-sid:
25044 @if sid
25045 maybe-install-info-sid: install-info-sid
25047 install-info-sid: \
25048 configure-sid \
25049 info-sid
25050 @: $(MAKE); $(unstage)
25051 @[ -f ./sid/Makefile ] || exit 0; \
25052 r=`${PWD_COMMAND}`; export r; \
25053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25054 $(HOST_EXPORTS) \
25055 for flag in $(EXTRA_HOST_FLAGS) ; do \
25056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25057 done; \
25058 echo "Doing install-info in sid" ; \
25059 (cd $(HOST_SUBDIR)/sid && \
25060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25062 "RANLIB=$${RANLIB}" \
25063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25064 install-info) \
25065 || exit 1
25067 @endif sid
25069 .PHONY: maybe-install-html-sid install-html-sid
25070 maybe-install-html-sid:
25071 @if sid
25072 maybe-install-html-sid: install-html-sid
25074 install-html-sid: \
25075 configure-sid \
25076 html-sid
25077 @: $(MAKE); $(unstage)
25078 @[ -f ./sid/Makefile ] || exit 0; \
25079 r=`${PWD_COMMAND}`; export r; \
25080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25081 $(HOST_EXPORTS) \
25082 for flag in $(EXTRA_HOST_FLAGS) ; do \
25083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25084 done; \
25085 echo "Doing install-html in sid" ; \
25086 (cd $(HOST_SUBDIR)/sid && \
25087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25089 "RANLIB=$${RANLIB}" \
25090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25091 install-html) \
25092 || exit 1
25094 @endif sid
25096 .PHONY: maybe-installcheck-sid installcheck-sid
25097 maybe-installcheck-sid:
25098 @if sid
25099 maybe-installcheck-sid: installcheck-sid
25101 installcheck-sid: \
25102 configure-sid
25103 @: $(MAKE); $(unstage)
25104 @[ -f ./sid/Makefile ] || exit 0; \
25105 r=`${PWD_COMMAND}`; export r; \
25106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25107 $(HOST_EXPORTS) \
25108 for flag in $(EXTRA_HOST_FLAGS) ; do \
25109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25110 done; \
25111 echo "Doing installcheck in sid" ; \
25112 (cd $(HOST_SUBDIR)/sid && \
25113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25115 "RANLIB=$${RANLIB}" \
25116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25117 installcheck) \
25118 || exit 1
25120 @endif sid
25122 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
25123 maybe-mostlyclean-sid:
25124 @if sid
25125 maybe-mostlyclean-sid: mostlyclean-sid
25127 mostlyclean-sid:
25128 @: $(MAKE); $(unstage)
25129 @[ -f ./sid/Makefile ] || exit 0; \
25130 r=`${PWD_COMMAND}`; export r; \
25131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25132 $(HOST_EXPORTS) \
25133 for flag in $(EXTRA_HOST_FLAGS) ; do \
25134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25135 done; \
25136 echo "Doing mostlyclean in sid" ; \
25137 (cd $(HOST_SUBDIR)/sid && \
25138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25140 "RANLIB=$${RANLIB}" \
25141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25142 mostlyclean) \
25143 || exit 1
25145 @endif sid
25147 .PHONY: maybe-clean-sid clean-sid
25148 maybe-clean-sid:
25149 @if sid
25150 maybe-clean-sid: clean-sid
25152 clean-sid:
25153 @: $(MAKE); $(unstage)
25154 @[ -f ./sid/Makefile ] || exit 0; \
25155 r=`${PWD_COMMAND}`; export r; \
25156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25157 $(HOST_EXPORTS) \
25158 for flag in $(EXTRA_HOST_FLAGS) ; do \
25159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25160 done; \
25161 echo "Doing clean in sid" ; \
25162 (cd $(HOST_SUBDIR)/sid && \
25163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25165 "RANLIB=$${RANLIB}" \
25166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25167 clean) \
25168 || exit 1
25170 @endif sid
25172 .PHONY: maybe-distclean-sid distclean-sid
25173 maybe-distclean-sid:
25174 @if sid
25175 maybe-distclean-sid: distclean-sid
25177 distclean-sid:
25178 @: $(MAKE); $(unstage)
25179 @[ -f ./sid/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 distclean in sid" ; \
25187 (cd $(HOST_SUBDIR)/sid && \
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 distclean) \
25193 || exit 1
25195 @endif sid
25197 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
25198 maybe-maintainer-clean-sid:
25199 @if sid
25200 maybe-maintainer-clean-sid: maintainer-clean-sid
25202 maintainer-clean-sid:
25203 @: $(MAKE); $(unstage)
25204 @[ -f ./sid/Makefile ] || exit 0; \
25205 r=`${PWD_COMMAND}`; export r; \
25206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25207 $(HOST_EXPORTS) \
25208 for flag in $(EXTRA_HOST_FLAGS) ; do \
25209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25210 done; \
25211 echo "Doing maintainer-clean in sid" ; \
25212 (cd $(HOST_SUBDIR)/sid && \
25213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25215 "RANLIB=$${RANLIB}" \
25216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25217 maintainer-clean) \
25218 || exit 1
25220 @endif sid
25224 .PHONY: configure-sim maybe-configure-sim
25225 maybe-configure-sim:
25226 @if gcc-bootstrap
25227 configure-sim: stage_current
25228 @endif gcc-bootstrap
25229 @if sim
25230 maybe-configure-sim: configure-sim
25231 configure-sim:
25232 @: $(MAKE); $(unstage)
25233 @r=`${PWD_COMMAND}`; export r; \
25234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25235 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
25236 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
25237 $(HOST_EXPORTS) \
25238 echo Configuring in $(HOST_SUBDIR)/sim; \
25239 cd "$(HOST_SUBDIR)/sim" || exit 1; \
25240 case $(srcdir) in \
25241 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25242 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
25243 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25244 esac; \
25245 srcdiroption="--srcdir=$${topdir}/sim"; \
25246 libsrcdir="$$s/sim"; \
25247 $(SHELL) $${libsrcdir}/configure \
25248 $(HOST_CONFIGARGS) $${srcdiroption} \
25249 || exit 1
25250 @endif sim
25256 .PHONY: all-sim maybe-all-sim
25257 maybe-all-sim:
25258 @if gcc-bootstrap
25259 all-sim: stage_current
25260 @endif gcc-bootstrap
25261 @if sim
25262 TARGET-sim=all
25263 maybe-all-sim: all-sim
25264 all-sim: configure-sim
25265 @: $(MAKE); $(unstage)
25266 @r=`${PWD_COMMAND}`; export r; \
25267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25268 $(HOST_EXPORTS) \
25269 (cd $(HOST_SUBDIR)/sim && \
25270 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
25271 @endif sim
25276 .PHONY: check-sim maybe-check-sim
25277 maybe-check-sim:
25278 @if sim
25279 maybe-check-sim: check-sim
25281 check-sim:
25282 @: $(MAKE); $(unstage)
25283 @r=`${PWD_COMMAND}`; export r; \
25284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25285 $(HOST_EXPORTS) \
25286 (cd $(HOST_SUBDIR)/sim && \
25287 $(MAKE) $(FLAGS_TO_PASS) check)
25289 @endif sim
25291 .PHONY: install-sim maybe-install-sim
25292 maybe-install-sim:
25293 @if sim
25294 maybe-install-sim: install-sim
25296 install-sim: installdirs
25297 @: $(MAKE); $(unstage)
25298 @r=`${PWD_COMMAND}`; export r; \
25299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25300 $(HOST_EXPORTS) \
25301 (cd $(HOST_SUBDIR)/sim && \
25302 $(MAKE) $(FLAGS_TO_PASS) install)
25304 @endif sim
25306 # Other targets (info, dvi, etc.)
25308 .PHONY: maybe-info-sim info-sim
25309 maybe-info-sim:
25310 @if sim
25311 maybe-info-sim: info-sim
25313 info-sim: \
25314 configure-sim
25315 @: $(MAKE); $(unstage)
25316 @[ -f ./sim/Makefile ] || exit 0; \
25317 r=`${PWD_COMMAND}`; export r; \
25318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25319 $(HOST_EXPORTS) \
25320 for flag in $(EXTRA_HOST_FLAGS) ; do \
25321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25322 done; \
25323 echo "Doing info in sim" ; \
25324 (cd $(HOST_SUBDIR)/sim && \
25325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25327 "RANLIB=$${RANLIB}" \
25328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25329 info) \
25330 || exit 1
25332 @endif sim
25334 .PHONY: maybe-dvi-sim dvi-sim
25335 maybe-dvi-sim:
25336 @if sim
25337 maybe-dvi-sim: dvi-sim
25339 dvi-sim: \
25340 configure-sim
25341 @: $(MAKE); $(unstage)
25342 @[ -f ./sim/Makefile ] || exit 0; \
25343 r=`${PWD_COMMAND}`; export r; \
25344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25345 $(HOST_EXPORTS) \
25346 for flag in $(EXTRA_HOST_FLAGS) ; do \
25347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25348 done; \
25349 echo "Doing dvi in sim" ; \
25350 (cd $(HOST_SUBDIR)/sim && \
25351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25353 "RANLIB=$${RANLIB}" \
25354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25355 dvi) \
25356 || exit 1
25358 @endif sim
25360 .PHONY: maybe-html-sim html-sim
25361 maybe-html-sim:
25362 @if sim
25363 maybe-html-sim: html-sim
25365 html-sim: \
25366 configure-sim
25367 @: $(MAKE); $(unstage)
25368 @[ -f ./sim/Makefile ] || exit 0; \
25369 r=`${PWD_COMMAND}`; export r; \
25370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25371 $(HOST_EXPORTS) \
25372 for flag in $(EXTRA_HOST_FLAGS) ; do \
25373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25374 done; \
25375 echo "Doing html in sim" ; \
25376 (cd $(HOST_SUBDIR)/sim && \
25377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25379 "RANLIB=$${RANLIB}" \
25380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25381 html) \
25382 || exit 1
25384 @endif sim
25386 .PHONY: maybe-TAGS-sim TAGS-sim
25387 maybe-TAGS-sim:
25388 @if sim
25389 maybe-TAGS-sim: TAGS-sim
25391 TAGS-sim: \
25392 configure-sim
25393 @: $(MAKE); $(unstage)
25394 @[ -f ./sim/Makefile ] || exit 0; \
25395 r=`${PWD_COMMAND}`; export r; \
25396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25397 $(HOST_EXPORTS) \
25398 for flag in $(EXTRA_HOST_FLAGS) ; do \
25399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25400 done; \
25401 echo "Doing TAGS in sim" ; \
25402 (cd $(HOST_SUBDIR)/sim && \
25403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25405 "RANLIB=$${RANLIB}" \
25406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25407 TAGS) \
25408 || exit 1
25410 @endif sim
25412 .PHONY: maybe-install-info-sim install-info-sim
25413 maybe-install-info-sim:
25414 @if sim
25415 maybe-install-info-sim: install-info-sim
25417 install-info-sim: \
25418 configure-sim \
25419 info-sim
25420 @: $(MAKE); $(unstage)
25421 @[ -f ./sim/Makefile ] || exit 0; \
25422 r=`${PWD_COMMAND}`; export r; \
25423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25424 $(HOST_EXPORTS) \
25425 for flag in $(EXTRA_HOST_FLAGS) ; do \
25426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25427 done; \
25428 echo "Doing install-info in sim" ; \
25429 (cd $(HOST_SUBDIR)/sim && \
25430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25432 "RANLIB=$${RANLIB}" \
25433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25434 install-info) \
25435 || exit 1
25437 @endif sim
25439 .PHONY: maybe-install-html-sim install-html-sim
25440 maybe-install-html-sim:
25441 @if sim
25442 maybe-install-html-sim: install-html-sim
25444 install-html-sim: \
25445 configure-sim \
25446 html-sim
25447 @: $(MAKE); $(unstage)
25448 @[ -f ./sim/Makefile ] || exit 0; \
25449 r=`${PWD_COMMAND}`; export r; \
25450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25451 $(HOST_EXPORTS) \
25452 for flag in $(EXTRA_HOST_FLAGS) ; do \
25453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25454 done; \
25455 echo "Doing install-html in sim" ; \
25456 (cd $(HOST_SUBDIR)/sim && \
25457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25459 "RANLIB=$${RANLIB}" \
25460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25461 install-html) \
25462 || exit 1
25464 @endif sim
25466 .PHONY: maybe-installcheck-sim installcheck-sim
25467 maybe-installcheck-sim:
25468 @if sim
25469 maybe-installcheck-sim: installcheck-sim
25471 installcheck-sim: \
25472 configure-sim
25473 @: $(MAKE); $(unstage)
25474 @[ -f ./sim/Makefile ] || exit 0; \
25475 r=`${PWD_COMMAND}`; export r; \
25476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25477 $(HOST_EXPORTS) \
25478 for flag in $(EXTRA_HOST_FLAGS) ; do \
25479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25480 done; \
25481 echo "Doing installcheck in sim" ; \
25482 (cd $(HOST_SUBDIR)/sim && \
25483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25485 "RANLIB=$${RANLIB}" \
25486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25487 installcheck) \
25488 || exit 1
25490 @endif sim
25492 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
25493 maybe-mostlyclean-sim:
25494 @if sim
25495 maybe-mostlyclean-sim: mostlyclean-sim
25497 mostlyclean-sim:
25498 @: $(MAKE); $(unstage)
25499 @[ -f ./sim/Makefile ] || exit 0; \
25500 r=`${PWD_COMMAND}`; export r; \
25501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25502 $(HOST_EXPORTS) \
25503 for flag in $(EXTRA_HOST_FLAGS) ; do \
25504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25505 done; \
25506 echo "Doing mostlyclean in sim" ; \
25507 (cd $(HOST_SUBDIR)/sim && \
25508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25510 "RANLIB=$${RANLIB}" \
25511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25512 mostlyclean) \
25513 || exit 1
25515 @endif sim
25517 .PHONY: maybe-clean-sim clean-sim
25518 maybe-clean-sim:
25519 @if sim
25520 maybe-clean-sim: clean-sim
25522 clean-sim:
25523 @: $(MAKE); $(unstage)
25524 @[ -f ./sim/Makefile ] || exit 0; \
25525 r=`${PWD_COMMAND}`; export r; \
25526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25527 $(HOST_EXPORTS) \
25528 for flag in $(EXTRA_HOST_FLAGS) ; do \
25529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25530 done; \
25531 echo "Doing clean in sim" ; \
25532 (cd $(HOST_SUBDIR)/sim && \
25533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25535 "RANLIB=$${RANLIB}" \
25536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25537 clean) \
25538 || exit 1
25540 @endif sim
25542 .PHONY: maybe-distclean-sim distclean-sim
25543 maybe-distclean-sim:
25544 @if sim
25545 maybe-distclean-sim: distclean-sim
25547 distclean-sim:
25548 @: $(MAKE); $(unstage)
25549 @[ -f ./sim/Makefile ] || exit 0; \
25550 r=`${PWD_COMMAND}`; export r; \
25551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25552 $(HOST_EXPORTS) \
25553 for flag in $(EXTRA_HOST_FLAGS) ; do \
25554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25555 done; \
25556 echo "Doing distclean in sim" ; \
25557 (cd $(HOST_SUBDIR)/sim && \
25558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25560 "RANLIB=$${RANLIB}" \
25561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25562 distclean) \
25563 || exit 1
25565 @endif sim
25567 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
25568 maybe-maintainer-clean-sim:
25569 @if sim
25570 maybe-maintainer-clean-sim: maintainer-clean-sim
25572 maintainer-clean-sim:
25573 @: $(MAKE); $(unstage)
25574 @[ -f ./sim/Makefile ] || exit 0; \
25575 r=`${PWD_COMMAND}`; export r; \
25576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25577 $(HOST_EXPORTS) \
25578 for flag in $(EXTRA_HOST_FLAGS) ; do \
25579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25580 done; \
25581 echo "Doing maintainer-clean in sim" ; \
25582 (cd $(HOST_SUBDIR)/sim && \
25583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25585 "RANLIB=$${RANLIB}" \
25586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25587 maintainer-clean) \
25588 || exit 1
25590 @endif sim
25594 .PHONY: configure-tar maybe-configure-tar
25595 maybe-configure-tar:
25596 @if gcc-bootstrap
25597 configure-tar: stage_current
25598 @endif gcc-bootstrap
25599 @if tar
25600 maybe-configure-tar: configure-tar
25601 configure-tar:
25602 @: $(MAKE); $(unstage)
25603 @r=`${PWD_COMMAND}`; export r; \
25604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25605 test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
25606 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
25607 $(HOST_EXPORTS) \
25608 echo Configuring in $(HOST_SUBDIR)/tar; \
25609 cd "$(HOST_SUBDIR)/tar" || exit 1; \
25610 case $(srcdir) in \
25611 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25612 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
25613 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25614 esac; \
25615 srcdiroption="--srcdir=$${topdir}/tar"; \
25616 libsrcdir="$$s/tar"; \
25617 $(SHELL) $${libsrcdir}/configure \
25618 $(HOST_CONFIGARGS) $${srcdiroption} \
25619 || exit 1
25620 @endif tar
25626 .PHONY: all-tar maybe-all-tar
25627 maybe-all-tar:
25628 @if gcc-bootstrap
25629 all-tar: stage_current
25630 @endif gcc-bootstrap
25631 @if tar
25632 TARGET-tar=all
25633 maybe-all-tar: all-tar
25634 all-tar: configure-tar
25635 @: $(MAKE); $(unstage)
25636 @r=`${PWD_COMMAND}`; export r; \
25637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25638 $(HOST_EXPORTS) \
25639 (cd $(HOST_SUBDIR)/tar && \
25640 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
25641 @endif tar
25646 .PHONY: check-tar maybe-check-tar
25647 maybe-check-tar:
25648 @if tar
25649 maybe-check-tar: check-tar
25651 check-tar:
25652 @: $(MAKE); $(unstage)
25653 @r=`${PWD_COMMAND}`; export r; \
25654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25655 $(HOST_EXPORTS) \
25656 (cd $(HOST_SUBDIR)/tar && \
25657 $(MAKE) $(FLAGS_TO_PASS) check)
25659 @endif tar
25661 .PHONY: install-tar maybe-install-tar
25662 maybe-install-tar:
25663 @if tar
25664 maybe-install-tar: install-tar
25666 install-tar: installdirs
25667 @: $(MAKE); $(unstage)
25668 @r=`${PWD_COMMAND}`; export r; \
25669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25670 $(HOST_EXPORTS) \
25671 (cd $(HOST_SUBDIR)/tar && \
25672 $(MAKE) $(FLAGS_TO_PASS) install)
25674 @endif tar
25676 # Other targets (info, dvi, etc.)
25678 .PHONY: maybe-info-tar info-tar
25679 maybe-info-tar:
25680 @if tar
25681 maybe-info-tar: info-tar
25683 info-tar: \
25684 configure-tar
25685 @: $(MAKE); $(unstage)
25686 @[ -f ./tar/Makefile ] || exit 0; \
25687 r=`${PWD_COMMAND}`; export r; \
25688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25689 $(HOST_EXPORTS) \
25690 for flag in $(EXTRA_HOST_FLAGS) ; do \
25691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25692 done; \
25693 echo "Doing info in tar" ; \
25694 (cd $(HOST_SUBDIR)/tar && \
25695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25697 "RANLIB=$${RANLIB}" \
25698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25699 info) \
25700 || exit 1
25702 @endif tar
25704 .PHONY: maybe-dvi-tar dvi-tar
25705 maybe-dvi-tar:
25706 @if tar
25707 maybe-dvi-tar: dvi-tar
25709 dvi-tar: \
25710 configure-tar
25711 @: $(MAKE); $(unstage)
25712 @[ -f ./tar/Makefile ] || exit 0; \
25713 r=`${PWD_COMMAND}`; export r; \
25714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25715 $(HOST_EXPORTS) \
25716 for flag in $(EXTRA_HOST_FLAGS) ; do \
25717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25718 done; \
25719 echo "Doing dvi in tar" ; \
25720 (cd $(HOST_SUBDIR)/tar && \
25721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25723 "RANLIB=$${RANLIB}" \
25724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25725 dvi) \
25726 || exit 1
25728 @endif tar
25730 .PHONY: maybe-html-tar html-tar
25731 maybe-html-tar:
25732 @if tar
25733 maybe-html-tar: html-tar
25735 html-tar: \
25736 configure-tar
25737 @: $(MAKE); $(unstage)
25738 @[ -f ./tar/Makefile ] || exit 0; \
25739 r=`${PWD_COMMAND}`; export r; \
25740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25741 $(HOST_EXPORTS) \
25742 for flag in $(EXTRA_HOST_FLAGS) ; do \
25743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25744 done; \
25745 echo "Doing html in tar" ; \
25746 (cd $(HOST_SUBDIR)/tar && \
25747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25749 "RANLIB=$${RANLIB}" \
25750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25751 html) \
25752 || exit 1
25754 @endif tar
25756 .PHONY: maybe-TAGS-tar TAGS-tar
25757 maybe-TAGS-tar:
25758 @if tar
25759 maybe-TAGS-tar: TAGS-tar
25761 TAGS-tar: \
25762 configure-tar
25763 @: $(MAKE); $(unstage)
25764 @[ -f ./tar/Makefile ] || exit 0; \
25765 r=`${PWD_COMMAND}`; export r; \
25766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25767 $(HOST_EXPORTS) \
25768 for flag in $(EXTRA_HOST_FLAGS) ; do \
25769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25770 done; \
25771 echo "Doing TAGS in tar" ; \
25772 (cd $(HOST_SUBDIR)/tar && \
25773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25775 "RANLIB=$${RANLIB}" \
25776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25777 TAGS) \
25778 || exit 1
25780 @endif tar
25782 .PHONY: maybe-install-info-tar install-info-tar
25783 maybe-install-info-tar:
25784 @if tar
25785 maybe-install-info-tar: install-info-tar
25787 install-info-tar: \
25788 configure-tar \
25789 info-tar
25790 @: $(MAKE); $(unstage)
25791 @[ -f ./tar/Makefile ] || exit 0; \
25792 r=`${PWD_COMMAND}`; export r; \
25793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25794 $(HOST_EXPORTS) \
25795 for flag in $(EXTRA_HOST_FLAGS) ; do \
25796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25797 done; \
25798 echo "Doing install-info in tar" ; \
25799 (cd $(HOST_SUBDIR)/tar && \
25800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25802 "RANLIB=$${RANLIB}" \
25803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25804 install-info) \
25805 || exit 1
25807 @endif tar
25809 .PHONY: maybe-install-html-tar install-html-tar
25810 maybe-install-html-tar:
25811 @if tar
25812 maybe-install-html-tar: install-html-tar
25814 install-html-tar: \
25815 configure-tar \
25816 html-tar
25817 @: $(MAKE); $(unstage)
25818 @[ -f ./tar/Makefile ] || exit 0; \
25819 r=`${PWD_COMMAND}`; export r; \
25820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25821 $(HOST_EXPORTS) \
25822 for flag in $(EXTRA_HOST_FLAGS) ; do \
25823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25824 done; \
25825 echo "Doing install-html in tar" ; \
25826 (cd $(HOST_SUBDIR)/tar && \
25827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25829 "RANLIB=$${RANLIB}" \
25830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25831 install-html) \
25832 || exit 1
25834 @endif tar
25836 .PHONY: maybe-installcheck-tar installcheck-tar
25837 maybe-installcheck-tar:
25838 @if tar
25839 maybe-installcheck-tar: installcheck-tar
25841 installcheck-tar: \
25842 configure-tar
25843 @: $(MAKE); $(unstage)
25844 @[ -f ./tar/Makefile ] || exit 0; \
25845 r=`${PWD_COMMAND}`; export r; \
25846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25847 $(HOST_EXPORTS) \
25848 for flag in $(EXTRA_HOST_FLAGS) ; do \
25849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25850 done; \
25851 echo "Doing installcheck in tar" ; \
25852 (cd $(HOST_SUBDIR)/tar && \
25853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25855 "RANLIB=$${RANLIB}" \
25856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25857 installcheck) \
25858 || exit 1
25860 @endif tar
25862 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
25863 maybe-mostlyclean-tar:
25864 @if tar
25865 maybe-mostlyclean-tar: mostlyclean-tar
25867 mostlyclean-tar:
25868 @: $(MAKE); $(unstage)
25869 @[ -f ./tar/Makefile ] || exit 0; \
25870 r=`${PWD_COMMAND}`; export r; \
25871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25872 $(HOST_EXPORTS) \
25873 for flag in $(EXTRA_HOST_FLAGS) ; do \
25874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25875 done; \
25876 echo "Doing mostlyclean in tar" ; \
25877 (cd $(HOST_SUBDIR)/tar && \
25878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25880 "RANLIB=$${RANLIB}" \
25881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25882 mostlyclean) \
25883 || exit 1
25885 @endif tar
25887 .PHONY: maybe-clean-tar clean-tar
25888 maybe-clean-tar:
25889 @if tar
25890 maybe-clean-tar: clean-tar
25892 clean-tar:
25893 @: $(MAKE); $(unstage)
25894 @[ -f ./tar/Makefile ] || exit 0; \
25895 r=`${PWD_COMMAND}`; export r; \
25896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25897 $(HOST_EXPORTS) \
25898 for flag in $(EXTRA_HOST_FLAGS) ; do \
25899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25900 done; \
25901 echo "Doing clean in tar" ; \
25902 (cd $(HOST_SUBDIR)/tar && \
25903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25905 "RANLIB=$${RANLIB}" \
25906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25907 clean) \
25908 || exit 1
25910 @endif tar
25912 .PHONY: maybe-distclean-tar distclean-tar
25913 maybe-distclean-tar:
25914 @if tar
25915 maybe-distclean-tar: distclean-tar
25917 distclean-tar:
25918 @: $(MAKE); $(unstage)
25919 @[ -f ./tar/Makefile ] || exit 0; \
25920 r=`${PWD_COMMAND}`; export r; \
25921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25922 $(HOST_EXPORTS) \
25923 for flag in $(EXTRA_HOST_FLAGS) ; do \
25924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25925 done; \
25926 echo "Doing distclean in tar" ; \
25927 (cd $(HOST_SUBDIR)/tar && \
25928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25930 "RANLIB=$${RANLIB}" \
25931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25932 distclean) \
25933 || exit 1
25935 @endif tar
25937 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
25938 maybe-maintainer-clean-tar:
25939 @if tar
25940 maybe-maintainer-clean-tar: maintainer-clean-tar
25942 maintainer-clean-tar:
25943 @: $(MAKE); $(unstage)
25944 @[ -f ./tar/Makefile ] || exit 0; \
25945 r=`${PWD_COMMAND}`; export r; \
25946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25947 $(HOST_EXPORTS) \
25948 for flag in $(EXTRA_HOST_FLAGS) ; do \
25949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25950 done; \
25951 echo "Doing maintainer-clean in tar" ; \
25952 (cd $(HOST_SUBDIR)/tar && \
25953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25955 "RANLIB=$${RANLIB}" \
25956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25957 maintainer-clean) \
25958 || exit 1
25960 @endif tar
25964 .PHONY: configure-texinfo maybe-configure-texinfo
25965 maybe-configure-texinfo:
25966 @if gcc-bootstrap
25967 configure-texinfo: stage_current
25968 @endif gcc-bootstrap
25969 @if texinfo
25970 maybe-configure-texinfo: configure-texinfo
25971 configure-texinfo:
25972 @: $(MAKE); $(unstage)
25973 @r=`${PWD_COMMAND}`; export r; \
25974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25975 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
25976 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
25977 $(HOST_EXPORTS) \
25978 echo Configuring in $(HOST_SUBDIR)/texinfo; \
25979 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
25980 case $(srcdir) in \
25981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25982 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
25983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25984 esac; \
25985 srcdiroption="--srcdir=$${topdir}/texinfo"; \
25986 libsrcdir="$$s/texinfo"; \
25987 $(SHELL) $${libsrcdir}/configure \
25988 $(HOST_CONFIGARGS) $${srcdiroption} \
25989 || exit 1
25990 @endif texinfo
25996 .PHONY: all-texinfo maybe-all-texinfo
25997 maybe-all-texinfo:
25998 @if gcc-bootstrap
25999 all-texinfo: stage_current
26000 @endif gcc-bootstrap
26001 @if texinfo
26002 TARGET-texinfo=all
26003 maybe-all-texinfo: all-texinfo
26004 all-texinfo: configure-texinfo
26005 @: $(MAKE); $(unstage)
26006 @r=`${PWD_COMMAND}`; export r; \
26007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26008 $(HOST_EXPORTS) \
26009 (cd $(HOST_SUBDIR)/texinfo && \
26010 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
26011 @endif texinfo
26016 .PHONY: check-texinfo maybe-check-texinfo
26017 maybe-check-texinfo:
26018 @if texinfo
26019 maybe-check-texinfo: check-texinfo
26021 check-texinfo:
26022 @: $(MAKE); $(unstage)
26023 @r=`${PWD_COMMAND}`; export r; \
26024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26025 $(HOST_EXPORTS) \
26026 (cd $(HOST_SUBDIR)/texinfo && \
26027 $(MAKE) $(FLAGS_TO_PASS) check)
26029 @endif texinfo
26031 .PHONY: install-texinfo maybe-install-texinfo
26032 maybe-install-texinfo:
26033 @if texinfo
26034 maybe-install-texinfo: install-texinfo
26036 install-texinfo:
26038 @endif texinfo
26040 # Other targets (info, dvi, etc.)
26042 .PHONY: maybe-info-texinfo info-texinfo
26043 maybe-info-texinfo:
26044 @if texinfo
26045 maybe-info-texinfo: info-texinfo
26047 info-texinfo: \
26048 configure-texinfo
26049 @: $(MAKE); $(unstage)
26050 @[ -f ./texinfo/Makefile ] || exit 0; \
26051 r=`${PWD_COMMAND}`; export r; \
26052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26053 $(HOST_EXPORTS) \
26054 for flag in $(EXTRA_HOST_FLAGS) ; do \
26055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26056 done; \
26057 echo "Doing info in texinfo" ; \
26058 (cd $(HOST_SUBDIR)/texinfo && \
26059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26061 "RANLIB=$${RANLIB}" \
26062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26063 info) \
26064 || exit 1
26066 @endif texinfo
26068 .PHONY: maybe-dvi-texinfo dvi-texinfo
26069 maybe-dvi-texinfo:
26070 @if texinfo
26071 maybe-dvi-texinfo: dvi-texinfo
26073 dvi-texinfo: \
26074 configure-texinfo
26075 @: $(MAKE); $(unstage)
26076 @[ -f ./texinfo/Makefile ] || exit 0; \
26077 r=`${PWD_COMMAND}`; export r; \
26078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26079 $(HOST_EXPORTS) \
26080 for flag in $(EXTRA_HOST_FLAGS) ; do \
26081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26082 done; \
26083 echo "Doing dvi in texinfo" ; \
26084 (cd $(HOST_SUBDIR)/texinfo && \
26085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26087 "RANLIB=$${RANLIB}" \
26088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26089 dvi) \
26090 || exit 1
26092 @endif texinfo
26094 .PHONY: maybe-html-texinfo html-texinfo
26095 maybe-html-texinfo:
26096 @if texinfo
26097 maybe-html-texinfo: html-texinfo
26099 html-texinfo: \
26100 configure-texinfo
26101 @: $(MAKE); $(unstage)
26102 @[ -f ./texinfo/Makefile ] || exit 0; \
26103 r=`${PWD_COMMAND}`; export r; \
26104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26105 $(HOST_EXPORTS) \
26106 for flag in $(EXTRA_HOST_FLAGS) ; do \
26107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26108 done; \
26109 echo "Doing html in texinfo" ; \
26110 (cd $(HOST_SUBDIR)/texinfo && \
26111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26113 "RANLIB=$${RANLIB}" \
26114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26115 html) \
26116 || exit 1
26118 @endif texinfo
26120 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
26121 maybe-TAGS-texinfo:
26122 @if texinfo
26123 maybe-TAGS-texinfo: TAGS-texinfo
26125 TAGS-texinfo: \
26126 configure-texinfo
26127 @: $(MAKE); $(unstage)
26128 @[ -f ./texinfo/Makefile ] || exit 0; \
26129 r=`${PWD_COMMAND}`; export r; \
26130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26131 $(HOST_EXPORTS) \
26132 for flag in $(EXTRA_HOST_FLAGS) ; do \
26133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26134 done; \
26135 echo "Doing TAGS in texinfo" ; \
26136 (cd $(HOST_SUBDIR)/texinfo && \
26137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26139 "RANLIB=$${RANLIB}" \
26140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26141 TAGS) \
26142 || exit 1
26144 @endif texinfo
26146 .PHONY: maybe-install-info-texinfo install-info-texinfo
26147 maybe-install-info-texinfo:
26148 @if texinfo
26149 maybe-install-info-texinfo: install-info-texinfo
26151 install-info-texinfo: \
26152 configure-texinfo \
26153 info-texinfo
26154 @: $(MAKE); $(unstage)
26155 @[ -f ./texinfo/Makefile ] || exit 0; \
26156 r=`${PWD_COMMAND}`; export r; \
26157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26158 $(HOST_EXPORTS) \
26159 for flag in $(EXTRA_HOST_FLAGS) ; do \
26160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26161 done; \
26162 echo "Doing install-info in texinfo" ; \
26163 (cd $(HOST_SUBDIR)/texinfo && \
26164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26166 "RANLIB=$${RANLIB}" \
26167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26168 install-info) \
26169 || exit 1
26171 @endif texinfo
26173 .PHONY: maybe-install-html-texinfo install-html-texinfo
26174 maybe-install-html-texinfo:
26175 @if texinfo
26176 maybe-install-html-texinfo: install-html-texinfo
26178 install-html-texinfo: \
26179 configure-texinfo \
26180 html-texinfo
26181 @: $(MAKE); $(unstage)
26182 @[ -f ./texinfo/Makefile ] || exit 0; \
26183 r=`${PWD_COMMAND}`; export r; \
26184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26185 $(HOST_EXPORTS) \
26186 for flag in $(EXTRA_HOST_FLAGS) ; do \
26187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26188 done; \
26189 echo "Doing install-html in texinfo" ; \
26190 (cd $(HOST_SUBDIR)/texinfo && \
26191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26193 "RANLIB=$${RANLIB}" \
26194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26195 install-html) \
26196 || exit 1
26198 @endif texinfo
26200 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
26201 maybe-installcheck-texinfo:
26202 @if texinfo
26203 maybe-installcheck-texinfo: installcheck-texinfo
26205 installcheck-texinfo: \
26206 configure-texinfo
26207 @: $(MAKE); $(unstage)
26208 @[ -f ./texinfo/Makefile ] || exit 0; \
26209 r=`${PWD_COMMAND}`; export r; \
26210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26211 $(HOST_EXPORTS) \
26212 for flag in $(EXTRA_HOST_FLAGS) ; do \
26213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26214 done; \
26215 echo "Doing installcheck in texinfo" ; \
26216 (cd $(HOST_SUBDIR)/texinfo && \
26217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26219 "RANLIB=$${RANLIB}" \
26220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26221 installcheck) \
26222 || exit 1
26224 @endif texinfo
26226 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
26227 maybe-mostlyclean-texinfo:
26228 @if texinfo
26229 maybe-mostlyclean-texinfo: mostlyclean-texinfo
26231 mostlyclean-texinfo:
26232 @: $(MAKE); $(unstage)
26233 @[ -f ./texinfo/Makefile ] || exit 0; \
26234 r=`${PWD_COMMAND}`; export r; \
26235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26236 $(HOST_EXPORTS) \
26237 for flag in $(EXTRA_HOST_FLAGS) ; do \
26238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26239 done; \
26240 echo "Doing mostlyclean in texinfo" ; \
26241 (cd $(HOST_SUBDIR)/texinfo && \
26242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26244 "RANLIB=$${RANLIB}" \
26245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26246 mostlyclean) \
26247 || exit 1
26249 @endif texinfo
26251 .PHONY: maybe-clean-texinfo clean-texinfo
26252 maybe-clean-texinfo:
26253 @if texinfo
26254 maybe-clean-texinfo: clean-texinfo
26256 clean-texinfo:
26257 @: $(MAKE); $(unstage)
26258 @[ -f ./texinfo/Makefile ] || exit 0; \
26259 r=`${PWD_COMMAND}`; export r; \
26260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26261 $(HOST_EXPORTS) \
26262 for flag in $(EXTRA_HOST_FLAGS) ; do \
26263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26264 done; \
26265 echo "Doing clean in texinfo" ; \
26266 (cd $(HOST_SUBDIR)/texinfo && \
26267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26269 "RANLIB=$${RANLIB}" \
26270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26271 clean) \
26272 || exit 1
26274 @endif texinfo
26276 .PHONY: maybe-distclean-texinfo distclean-texinfo
26277 maybe-distclean-texinfo:
26278 @if texinfo
26279 maybe-distclean-texinfo: distclean-texinfo
26281 distclean-texinfo:
26282 @: $(MAKE); $(unstage)
26283 @[ -f ./texinfo/Makefile ] || exit 0; \
26284 r=`${PWD_COMMAND}`; export r; \
26285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26286 $(HOST_EXPORTS) \
26287 for flag in $(EXTRA_HOST_FLAGS) ; do \
26288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26289 done; \
26290 echo "Doing distclean in texinfo" ; \
26291 (cd $(HOST_SUBDIR)/texinfo && \
26292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26294 "RANLIB=$${RANLIB}" \
26295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26296 distclean) \
26297 || exit 1
26299 @endif texinfo
26301 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
26302 maybe-maintainer-clean-texinfo:
26303 @if texinfo
26304 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
26306 maintainer-clean-texinfo:
26307 @: $(MAKE); $(unstage)
26308 @[ -f ./texinfo/Makefile ] || exit 0; \
26309 r=`${PWD_COMMAND}`; export r; \
26310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26311 $(HOST_EXPORTS) \
26312 for flag in $(EXTRA_HOST_FLAGS) ; do \
26313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26314 done; \
26315 echo "Doing maintainer-clean in texinfo" ; \
26316 (cd $(HOST_SUBDIR)/texinfo && \
26317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26319 "RANLIB=$${RANLIB}" \
26320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26321 maintainer-clean) \
26322 || exit 1
26324 @endif texinfo
26328 .PHONY: configure-textutils maybe-configure-textutils
26329 maybe-configure-textutils:
26330 @if gcc-bootstrap
26331 configure-textutils: stage_current
26332 @endif gcc-bootstrap
26333 @if textutils
26334 maybe-configure-textutils: configure-textutils
26335 configure-textutils:
26336 @: $(MAKE); $(unstage)
26337 @r=`${PWD_COMMAND}`; export r; \
26338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26339 test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
26340 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
26341 $(HOST_EXPORTS) \
26342 echo Configuring in $(HOST_SUBDIR)/textutils; \
26343 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
26344 case $(srcdir) in \
26345 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26346 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
26347 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26348 esac; \
26349 srcdiroption="--srcdir=$${topdir}/textutils"; \
26350 libsrcdir="$$s/textutils"; \
26351 $(SHELL) $${libsrcdir}/configure \
26352 $(HOST_CONFIGARGS) $${srcdiroption} \
26353 || exit 1
26354 @endif textutils
26360 .PHONY: all-textutils maybe-all-textutils
26361 maybe-all-textutils:
26362 @if gcc-bootstrap
26363 all-textutils: stage_current
26364 @endif gcc-bootstrap
26365 @if textutils
26366 TARGET-textutils=all
26367 maybe-all-textutils: all-textutils
26368 all-textutils: configure-textutils
26369 @: $(MAKE); $(unstage)
26370 @r=`${PWD_COMMAND}`; export r; \
26371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26372 $(HOST_EXPORTS) \
26373 (cd $(HOST_SUBDIR)/textutils && \
26374 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
26375 @endif textutils
26380 .PHONY: check-textutils maybe-check-textutils
26381 maybe-check-textutils:
26382 @if textutils
26383 maybe-check-textutils: check-textutils
26385 check-textutils:
26386 @: $(MAKE); $(unstage)
26387 @r=`${PWD_COMMAND}`; export r; \
26388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26389 $(HOST_EXPORTS) \
26390 (cd $(HOST_SUBDIR)/textutils && \
26391 $(MAKE) $(FLAGS_TO_PASS) check)
26393 @endif textutils
26395 .PHONY: install-textutils maybe-install-textutils
26396 maybe-install-textutils:
26397 @if textutils
26398 maybe-install-textutils: install-textutils
26400 install-textutils: installdirs
26401 @: $(MAKE); $(unstage)
26402 @r=`${PWD_COMMAND}`; export r; \
26403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26404 $(HOST_EXPORTS) \
26405 (cd $(HOST_SUBDIR)/textutils && \
26406 $(MAKE) $(FLAGS_TO_PASS) install)
26408 @endif textutils
26410 # Other targets (info, dvi, etc.)
26412 .PHONY: maybe-info-textutils info-textutils
26413 maybe-info-textutils:
26414 @if textutils
26415 maybe-info-textutils: info-textutils
26417 info-textutils: \
26418 configure-textutils
26419 @: $(MAKE); $(unstage)
26420 @[ -f ./textutils/Makefile ] || exit 0; \
26421 r=`${PWD_COMMAND}`; export r; \
26422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26423 $(HOST_EXPORTS) \
26424 for flag in $(EXTRA_HOST_FLAGS) ; do \
26425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26426 done; \
26427 echo "Doing info in textutils" ; \
26428 (cd $(HOST_SUBDIR)/textutils && \
26429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26431 "RANLIB=$${RANLIB}" \
26432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26433 info) \
26434 || exit 1
26436 @endif textutils
26438 .PHONY: maybe-dvi-textutils dvi-textutils
26439 maybe-dvi-textutils:
26440 @if textutils
26441 maybe-dvi-textutils: dvi-textutils
26443 dvi-textutils: \
26444 configure-textutils
26445 @: $(MAKE); $(unstage)
26446 @[ -f ./textutils/Makefile ] || exit 0; \
26447 r=`${PWD_COMMAND}`; export r; \
26448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26449 $(HOST_EXPORTS) \
26450 for flag in $(EXTRA_HOST_FLAGS) ; do \
26451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26452 done; \
26453 echo "Doing dvi in textutils" ; \
26454 (cd $(HOST_SUBDIR)/textutils && \
26455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26457 "RANLIB=$${RANLIB}" \
26458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26459 dvi) \
26460 || exit 1
26462 @endif textutils
26464 .PHONY: maybe-html-textutils html-textutils
26465 maybe-html-textutils:
26466 @if textutils
26467 maybe-html-textutils: html-textutils
26469 html-textutils: \
26470 configure-textutils
26471 @: $(MAKE); $(unstage)
26472 @[ -f ./textutils/Makefile ] || exit 0; \
26473 r=`${PWD_COMMAND}`; export r; \
26474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26475 $(HOST_EXPORTS) \
26476 for flag in $(EXTRA_HOST_FLAGS) ; do \
26477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26478 done; \
26479 echo "Doing html in textutils" ; \
26480 (cd $(HOST_SUBDIR)/textutils && \
26481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26483 "RANLIB=$${RANLIB}" \
26484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26485 html) \
26486 || exit 1
26488 @endif textutils
26490 .PHONY: maybe-TAGS-textutils TAGS-textutils
26491 maybe-TAGS-textutils:
26492 @if textutils
26493 maybe-TAGS-textutils: TAGS-textutils
26495 TAGS-textutils: \
26496 configure-textutils
26497 @: $(MAKE); $(unstage)
26498 @[ -f ./textutils/Makefile ] || exit 0; \
26499 r=`${PWD_COMMAND}`; export r; \
26500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26501 $(HOST_EXPORTS) \
26502 for flag in $(EXTRA_HOST_FLAGS) ; do \
26503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26504 done; \
26505 echo "Doing TAGS in textutils" ; \
26506 (cd $(HOST_SUBDIR)/textutils && \
26507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26509 "RANLIB=$${RANLIB}" \
26510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26511 TAGS) \
26512 || exit 1
26514 @endif textutils
26516 .PHONY: maybe-install-info-textutils install-info-textutils
26517 maybe-install-info-textutils:
26518 @if textutils
26519 maybe-install-info-textutils: install-info-textutils
26521 install-info-textutils: \
26522 configure-textutils \
26523 info-textutils
26524 @: $(MAKE); $(unstage)
26525 @[ -f ./textutils/Makefile ] || exit 0; \
26526 r=`${PWD_COMMAND}`; export r; \
26527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26528 $(HOST_EXPORTS) \
26529 for flag in $(EXTRA_HOST_FLAGS) ; do \
26530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26531 done; \
26532 echo "Doing install-info in textutils" ; \
26533 (cd $(HOST_SUBDIR)/textutils && \
26534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26536 "RANLIB=$${RANLIB}" \
26537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26538 install-info) \
26539 || exit 1
26541 @endif textutils
26543 .PHONY: maybe-install-html-textutils install-html-textutils
26544 maybe-install-html-textutils:
26545 @if textutils
26546 maybe-install-html-textutils: install-html-textutils
26548 install-html-textutils: \
26549 configure-textutils \
26550 html-textutils
26551 @: $(MAKE); $(unstage)
26552 @[ -f ./textutils/Makefile ] || exit 0; \
26553 r=`${PWD_COMMAND}`; export r; \
26554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26555 $(HOST_EXPORTS) \
26556 for flag in $(EXTRA_HOST_FLAGS) ; do \
26557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26558 done; \
26559 echo "Doing install-html in textutils" ; \
26560 (cd $(HOST_SUBDIR)/textutils && \
26561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26563 "RANLIB=$${RANLIB}" \
26564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26565 install-html) \
26566 || exit 1
26568 @endif textutils
26570 .PHONY: maybe-installcheck-textutils installcheck-textutils
26571 maybe-installcheck-textutils:
26572 @if textutils
26573 maybe-installcheck-textutils: installcheck-textutils
26575 installcheck-textutils: \
26576 configure-textutils
26577 @: $(MAKE); $(unstage)
26578 @[ -f ./textutils/Makefile ] || exit 0; \
26579 r=`${PWD_COMMAND}`; export r; \
26580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26581 $(HOST_EXPORTS) \
26582 for flag in $(EXTRA_HOST_FLAGS) ; do \
26583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26584 done; \
26585 echo "Doing installcheck in textutils" ; \
26586 (cd $(HOST_SUBDIR)/textutils && \
26587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26589 "RANLIB=$${RANLIB}" \
26590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26591 installcheck) \
26592 || exit 1
26594 @endif textutils
26596 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
26597 maybe-mostlyclean-textutils:
26598 @if textutils
26599 maybe-mostlyclean-textutils: mostlyclean-textutils
26601 mostlyclean-textutils:
26602 @: $(MAKE); $(unstage)
26603 @[ -f ./textutils/Makefile ] || exit 0; \
26604 r=`${PWD_COMMAND}`; export r; \
26605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26606 $(HOST_EXPORTS) \
26607 for flag in $(EXTRA_HOST_FLAGS) ; do \
26608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26609 done; \
26610 echo "Doing mostlyclean in textutils" ; \
26611 (cd $(HOST_SUBDIR)/textutils && \
26612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26614 "RANLIB=$${RANLIB}" \
26615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26616 mostlyclean) \
26617 || exit 1
26619 @endif textutils
26621 .PHONY: maybe-clean-textutils clean-textutils
26622 maybe-clean-textutils:
26623 @if textutils
26624 maybe-clean-textutils: clean-textutils
26626 clean-textutils:
26627 @: $(MAKE); $(unstage)
26628 @[ -f ./textutils/Makefile ] || exit 0; \
26629 r=`${PWD_COMMAND}`; export r; \
26630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26631 $(HOST_EXPORTS) \
26632 for flag in $(EXTRA_HOST_FLAGS) ; do \
26633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26634 done; \
26635 echo "Doing clean in textutils" ; \
26636 (cd $(HOST_SUBDIR)/textutils && \
26637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26639 "RANLIB=$${RANLIB}" \
26640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26641 clean) \
26642 || exit 1
26644 @endif textutils
26646 .PHONY: maybe-distclean-textutils distclean-textutils
26647 maybe-distclean-textutils:
26648 @if textutils
26649 maybe-distclean-textutils: distclean-textutils
26651 distclean-textutils:
26652 @: $(MAKE); $(unstage)
26653 @[ -f ./textutils/Makefile ] || exit 0; \
26654 r=`${PWD_COMMAND}`; export r; \
26655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26656 $(HOST_EXPORTS) \
26657 for flag in $(EXTRA_HOST_FLAGS) ; do \
26658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26659 done; \
26660 echo "Doing distclean in textutils" ; \
26661 (cd $(HOST_SUBDIR)/textutils && \
26662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26664 "RANLIB=$${RANLIB}" \
26665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26666 distclean) \
26667 || exit 1
26669 @endif textutils
26671 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
26672 maybe-maintainer-clean-textutils:
26673 @if textutils
26674 maybe-maintainer-clean-textutils: maintainer-clean-textutils
26676 maintainer-clean-textutils:
26677 @: $(MAKE); $(unstage)
26678 @[ -f ./textutils/Makefile ] || exit 0; \
26679 r=`${PWD_COMMAND}`; export r; \
26680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26681 $(HOST_EXPORTS) \
26682 for flag in $(EXTRA_HOST_FLAGS) ; do \
26683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26684 done; \
26685 echo "Doing maintainer-clean in textutils" ; \
26686 (cd $(HOST_SUBDIR)/textutils && \
26687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26689 "RANLIB=$${RANLIB}" \
26690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26691 maintainer-clean) \
26692 || exit 1
26694 @endif textutils
26698 .PHONY: configure-time maybe-configure-time
26699 maybe-configure-time:
26700 @if gcc-bootstrap
26701 configure-time: stage_current
26702 @endif gcc-bootstrap
26703 @if time
26704 maybe-configure-time: configure-time
26705 configure-time:
26706 @: $(MAKE); $(unstage)
26707 @r=`${PWD_COMMAND}`; export r; \
26708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26709 test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
26710 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
26711 $(HOST_EXPORTS) \
26712 echo Configuring in $(HOST_SUBDIR)/time; \
26713 cd "$(HOST_SUBDIR)/time" || exit 1; \
26714 case $(srcdir) in \
26715 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26716 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
26717 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26718 esac; \
26719 srcdiroption="--srcdir=$${topdir}/time"; \
26720 libsrcdir="$$s/time"; \
26721 $(SHELL) $${libsrcdir}/configure \
26722 $(HOST_CONFIGARGS) $${srcdiroption} \
26723 || exit 1
26724 @endif time
26730 .PHONY: all-time maybe-all-time
26731 maybe-all-time:
26732 @if gcc-bootstrap
26733 all-time: stage_current
26734 @endif gcc-bootstrap
26735 @if time
26736 TARGET-time=all
26737 maybe-all-time: all-time
26738 all-time: configure-time
26739 @: $(MAKE); $(unstage)
26740 @r=`${PWD_COMMAND}`; export r; \
26741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26742 $(HOST_EXPORTS) \
26743 (cd $(HOST_SUBDIR)/time && \
26744 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
26745 @endif time
26750 .PHONY: check-time maybe-check-time
26751 maybe-check-time:
26752 @if time
26753 maybe-check-time: check-time
26755 check-time:
26756 @: $(MAKE); $(unstage)
26757 @r=`${PWD_COMMAND}`; export r; \
26758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26759 $(HOST_EXPORTS) \
26760 (cd $(HOST_SUBDIR)/time && \
26761 $(MAKE) $(FLAGS_TO_PASS) check)
26763 @endif time
26765 .PHONY: install-time maybe-install-time
26766 maybe-install-time:
26767 @if time
26768 maybe-install-time: install-time
26770 install-time: installdirs
26771 @: $(MAKE); $(unstage)
26772 @r=`${PWD_COMMAND}`; export r; \
26773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26774 $(HOST_EXPORTS) \
26775 (cd $(HOST_SUBDIR)/time && \
26776 $(MAKE) $(FLAGS_TO_PASS) install)
26778 @endif time
26780 # Other targets (info, dvi, etc.)
26782 .PHONY: maybe-info-time info-time
26783 maybe-info-time:
26784 @if time
26785 maybe-info-time: info-time
26787 info-time: \
26788 configure-time
26789 @: $(MAKE); $(unstage)
26790 @[ -f ./time/Makefile ] || exit 0; \
26791 r=`${PWD_COMMAND}`; export r; \
26792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26793 $(HOST_EXPORTS) \
26794 for flag in $(EXTRA_HOST_FLAGS) ; do \
26795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26796 done; \
26797 echo "Doing info in time" ; \
26798 (cd $(HOST_SUBDIR)/time && \
26799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26801 "RANLIB=$${RANLIB}" \
26802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26803 info) \
26804 || exit 1
26806 @endif time
26808 .PHONY: maybe-dvi-time dvi-time
26809 maybe-dvi-time:
26810 @if time
26811 maybe-dvi-time: dvi-time
26813 dvi-time: \
26814 configure-time
26815 @: $(MAKE); $(unstage)
26816 @[ -f ./time/Makefile ] || exit 0; \
26817 r=`${PWD_COMMAND}`; export r; \
26818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26819 $(HOST_EXPORTS) \
26820 for flag in $(EXTRA_HOST_FLAGS) ; do \
26821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26822 done; \
26823 echo "Doing dvi in time" ; \
26824 (cd $(HOST_SUBDIR)/time && \
26825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26827 "RANLIB=$${RANLIB}" \
26828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26829 dvi) \
26830 || exit 1
26832 @endif time
26834 .PHONY: maybe-html-time html-time
26835 maybe-html-time:
26836 @if time
26837 maybe-html-time: html-time
26839 html-time: \
26840 configure-time
26841 @: $(MAKE); $(unstage)
26842 @[ -f ./time/Makefile ] || exit 0; \
26843 r=`${PWD_COMMAND}`; export r; \
26844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26845 $(HOST_EXPORTS) \
26846 for flag in $(EXTRA_HOST_FLAGS) ; do \
26847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26848 done; \
26849 echo "Doing html in time" ; \
26850 (cd $(HOST_SUBDIR)/time && \
26851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26853 "RANLIB=$${RANLIB}" \
26854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26855 html) \
26856 || exit 1
26858 @endif time
26860 .PHONY: maybe-TAGS-time TAGS-time
26861 maybe-TAGS-time:
26862 @if time
26863 maybe-TAGS-time: TAGS-time
26865 TAGS-time: \
26866 configure-time
26867 @: $(MAKE); $(unstage)
26868 @[ -f ./time/Makefile ] || exit 0; \
26869 r=`${PWD_COMMAND}`; export r; \
26870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26871 $(HOST_EXPORTS) \
26872 for flag in $(EXTRA_HOST_FLAGS) ; do \
26873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26874 done; \
26875 echo "Doing TAGS in time" ; \
26876 (cd $(HOST_SUBDIR)/time && \
26877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26879 "RANLIB=$${RANLIB}" \
26880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26881 TAGS) \
26882 || exit 1
26884 @endif time
26886 .PHONY: maybe-install-info-time install-info-time
26887 maybe-install-info-time:
26888 @if time
26889 maybe-install-info-time: install-info-time
26891 install-info-time: \
26892 configure-time \
26893 info-time
26894 @: $(MAKE); $(unstage)
26895 @[ -f ./time/Makefile ] || exit 0; \
26896 r=`${PWD_COMMAND}`; export r; \
26897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26898 $(HOST_EXPORTS) \
26899 for flag in $(EXTRA_HOST_FLAGS) ; do \
26900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26901 done; \
26902 echo "Doing install-info in time" ; \
26903 (cd $(HOST_SUBDIR)/time && \
26904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26906 "RANLIB=$${RANLIB}" \
26907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26908 install-info) \
26909 || exit 1
26911 @endif time
26913 .PHONY: maybe-install-html-time install-html-time
26914 maybe-install-html-time:
26915 @if time
26916 maybe-install-html-time: install-html-time
26918 install-html-time: \
26919 configure-time \
26920 html-time
26921 @: $(MAKE); $(unstage)
26922 @[ -f ./time/Makefile ] || exit 0; \
26923 r=`${PWD_COMMAND}`; export r; \
26924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26925 $(HOST_EXPORTS) \
26926 for flag in $(EXTRA_HOST_FLAGS) ; do \
26927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26928 done; \
26929 echo "Doing install-html in time" ; \
26930 (cd $(HOST_SUBDIR)/time && \
26931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26933 "RANLIB=$${RANLIB}" \
26934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26935 install-html) \
26936 || exit 1
26938 @endif time
26940 .PHONY: maybe-installcheck-time installcheck-time
26941 maybe-installcheck-time:
26942 @if time
26943 maybe-installcheck-time: installcheck-time
26945 installcheck-time: \
26946 configure-time
26947 @: $(MAKE); $(unstage)
26948 @[ -f ./time/Makefile ] || exit 0; \
26949 r=`${PWD_COMMAND}`; export r; \
26950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26951 $(HOST_EXPORTS) \
26952 for flag in $(EXTRA_HOST_FLAGS) ; do \
26953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26954 done; \
26955 echo "Doing installcheck in time" ; \
26956 (cd $(HOST_SUBDIR)/time && \
26957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26959 "RANLIB=$${RANLIB}" \
26960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26961 installcheck) \
26962 || exit 1
26964 @endif time
26966 .PHONY: maybe-mostlyclean-time mostlyclean-time
26967 maybe-mostlyclean-time:
26968 @if time
26969 maybe-mostlyclean-time: mostlyclean-time
26971 mostlyclean-time:
26972 @: $(MAKE); $(unstage)
26973 @[ -f ./time/Makefile ] || exit 0; \
26974 r=`${PWD_COMMAND}`; export r; \
26975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26976 $(HOST_EXPORTS) \
26977 for flag in $(EXTRA_HOST_FLAGS) ; do \
26978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26979 done; \
26980 echo "Doing mostlyclean in time" ; \
26981 (cd $(HOST_SUBDIR)/time && \
26982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26984 "RANLIB=$${RANLIB}" \
26985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26986 mostlyclean) \
26987 || exit 1
26989 @endif time
26991 .PHONY: maybe-clean-time clean-time
26992 maybe-clean-time:
26993 @if time
26994 maybe-clean-time: clean-time
26996 clean-time:
26997 @: $(MAKE); $(unstage)
26998 @[ -f ./time/Makefile ] || exit 0; \
26999 r=`${PWD_COMMAND}`; export r; \
27000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27001 $(HOST_EXPORTS) \
27002 for flag in $(EXTRA_HOST_FLAGS) ; do \
27003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27004 done; \
27005 echo "Doing clean in time" ; \
27006 (cd $(HOST_SUBDIR)/time && \
27007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27009 "RANLIB=$${RANLIB}" \
27010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27011 clean) \
27012 || exit 1
27014 @endif time
27016 .PHONY: maybe-distclean-time distclean-time
27017 maybe-distclean-time:
27018 @if time
27019 maybe-distclean-time: distclean-time
27021 distclean-time:
27022 @: $(MAKE); $(unstage)
27023 @[ -f ./time/Makefile ] || exit 0; \
27024 r=`${PWD_COMMAND}`; export r; \
27025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27026 $(HOST_EXPORTS) \
27027 for flag in $(EXTRA_HOST_FLAGS) ; do \
27028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27029 done; \
27030 echo "Doing distclean in time" ; \
27031 (cd $(HOST_SUBDIR)/time && \
27032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27034 "RANLIB=$${RANLIB}" \
27035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27036 distclean) \
27037 || exit 1
27039 @endif time
27041 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
27042 maybe-maintainer-clean-time:
27043 @if time
27044 maybe-maintainer-clean-time: maintainer-clean-time
27046 maintainer-clean-time:
27047 @: $(MAKE); $(unstage)
27048 @[ -f ./time/Makefile ] || exit 0; \
27049 r=`${PWD_COMMAND}`; export r; \
27050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27051 $(HOST_EXPORTS) \
27052 for flag in $(EXTRA_HOST_FLAGS) ; do \
27053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27054 done; \
27055 echo "Doing maintainer-clean in time" ; \
27056 (cd $(HOST_SUBDIR)/time && \
27057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27059 "RANLIB=$${RANLIB}" \
27060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27061 maintainer-clean) \
27062 || exit 1
27064 @endif time
27068 .PHONY: configure-uudecode maybe-configure-uudecode
27069 maybe-configure-uudecode:
27070 @if gcc-bootstrap
27071 configure-uudecode: stage_current
27072 @endif gcc-bootstrap
27073 @if uudecode
27074 maybe-configure-uudecode: configure-uudecode
27075 configure-uudecode:
27076 @: $(MAKE); $(unstage)
27077 @r=`${PWD_COMMAND}`; export r; \
27078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27079 test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
27080 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
27081 $(HOST_EXPORTS) \
27082 echo Configuring in $(HOST_SUBDIR)/uudecode; \
27083 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
27084 case $(srcdir) in \
27085 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27086 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
27087 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27088 esac; \
27089 srcdiroption="--srcdir=$${topdir}/uudecode"; \
27090 libsrcdir="$$s/uudecode"; \
27091 $(SHELL) $${libsrcdir}/configure \
27092 $(HOST_CONFIGARGS) $${srcdiroption} \
27093 || exit 1
27094 @endif uudecode
27100 .PHONY: all-uudecode maybe-all-uudecode
27101 maybe-all-uudecode:
27102 @if gcc-bootstrap
27103 all-uudecode: stage_current
27104 @endif gcc-bootstrap
27105 @if uudecode
27106 TARGET-uudecode=all
27107 maybe-all-uudecode: all-uudecode
27108 all-uudecode: configure-uudecode
27109 @: $(MAKE); $(unstage)
27110 @r=`${PWD_COMMAND}`; export r; \
27111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27112 $(HOST_EXPORTS) \
27113 (cd $(HOST_SUBDIR)/uudecode && \
27114 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
27115 @endif uudecode
27120 .PHONY: check-uudecode maybe-check-uudecode
27121 maybe-check-uudecode:
27122 @if uudecode
27123 maybe-check-uudecode: check-uudecode
27125 check-uudecode:
27126 @: $(MAKE); $(unstage)
27127 @r=`${PWD_COMMAND}`; export r; \
27128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27129 $(HOST_EXPORTS) \
27130 (cd $(HOST_SUBDIR)/uudecode && \
27131 $(MAKE) $(FLAGS_TO_PASS) check)
27133 @endif uudecode
27135 .PHONY: install-uudecode maybe-install-uudecode
27136 maybe-install-uudecode:
27137 @if uudecode
27138 maybe-install-uudecode: install-uudecode
27140 install-uudecode: installdirs
27141 @: $(MAKE); $(unstage)
27142 @r=`${PWD_COMMAND}`; export r; \
27143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27144 $(HOST_EXPORTS) \
27145 (cd $(HOST_SUBDIR)/uudecode && \
27146 $(MAKE) $(FLAGS_TO_PASS) install)
27148 @endif uudecode
27150 # Other targets (info, dvi, etc.)
27152 .PHONY: maybe-info-uudecode info-uudecode
27153 maybe-info-uudecode:
27154 @if uudecode
27155 maybe-info-uudecode: info-uudecode
27157 info-uudecode: \
27158 configure-uudecode
27159 @: $(MAKE); $(unstage)
27160 @[ -f ./uudecode/Makefile ] || exit 0; \
27161 r=`${PWD_COMMAND}`; export r; \
27162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27163 $(HOST_EXPORTS) \
27164 for flag in $(EXTRA_HOST_FLAGS) ; do \
27165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27166 done; \
27167 echo "Doing info in uudecode" ; \
27168 (cd $(HOST_SUBDIR)/uudecode && \
27169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27171 "RANLIB=$${RANLIB}" \
27172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27173 info) \
27174 || exit 1
27176 @endif uudecode
27178 .PHONY: maybe-dvi-uudecode dvi-uudecode
27179 maybe-dvi-uudecode:
27180 @if uudecode
27181 maybe-dvi-uudecode: dvi-uudecode
27183 dvi-uudecode: \
27184 configure-uudecode
27185 @: $(MAKE); $(unstage)
27186 @[ -f ./uudecode/Makefile ] || exit 0; \
27187 r=`${PWD_COMMAND}`; export r; \
27188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27189 $(HOST_EXPORTS) \
27190 for flag in $(EXTRA_HOST_FLAGS) ; do \
27191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27192 done; \
27193 echo "Doing dvi in uudecode" ; \
27194 (cd $(HOST_SUBDIR)/uudecode && \
27195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27197 "RANLIB=$${RANLIB}" \
27198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27199 dvi) \
27200 || exit 1
27202 @endif uudecode
27204 .PHONY: maybe-html-uudecode html-uudecode
27205 maybe-html-uudecode:
27206 @if uudecode
27207 maybe-html-uudecode: html-uudecode
27209 html-uudecode: \
27210 configure-uudecode
27211 @: $(MAKE); $(unstage)
27212 @[ -f ./uudecode/Makefile ] || exit 0; \
27213 r=`${PWD_COMMAND}`; export r; \
27214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27215 $(HOST_EXPORTS) \
27216 for flag in $(EXTRA_HOST_FLAGS) ; do \
27217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27218 done; \
27219 echo "Doing html in uudecode" ; \
27220 (cd $(HOST_SUBDIR)/uudecode && \
27221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27223 "RANLIB=$${RANLIB}" \
27224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27225 html) \
27226 || exit 1
27228 @endif uudecode
27230 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
27231 maybe-TAGS-uudecode:
27232 @if uudecode
27233 maybe-TAGS-uudecode: TAGS-uudecode
27235 TAGS-uudecode: \
27236 configure-uudecode
27237 @: $(MAKE); $(unstage)
27238 @[ -f ./uudecode/Makefile ] || exit 0; \
27239 r=`${PWD_COMMAND}`; export r; \
27240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27241 $(HOST_EXPORTS) \
27242 for flag in $(EXTRA_HOST_FLAGS) ; do \
27243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27244 done; \
27245 echo "Doing TAGS in uudecode" ; \
27246 (cd $(HOST_SUBDIR)/uudecode && \
27247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27249 "RANLIB=$${RANLIB}" \
27250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27251 TAGS) \
27252 || exit 1
27254 @endif uudecode
27256 .PHONY: maybe-install-info-uudecode install-info-uudecode
27257 maybe-install-info-uudecode:
27258 @if uudecode
27259 maybe-install-info-uudecode: install-info-uudecode
27261 install-info-uudecode: \
27262 configure-uudecode \
27263 info-uudecode
27264 @: $(MAKE); $(unstage)
27265 @[ -f ./uudecode/Makefile ] || exit 0; \
27266 r=`${PWD_COMMAND}`; export r; \
27267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27268 $(HOST_EXPORTS) \
27269 for flag in $(EXTRA_HOST_FLAGS) ; do \
27270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27271 done; \
27272 echo "Doing install-info in uudecode" ; \
27273 (cd $(HOST_SUBDIR)/uudecode && \
27274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27276 "RANLIB=$${RANLIB}" \
27277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27278 install-info) \
27279 || exit 1
27281 @endif uudecode
27283 .PHONY: maybe-install-html-uudecode install-html-uudecode
27284 maybe-install-html-uudecode:
27285 @if uudecode
27286 maybe-install-html-uudecode: install-html-uudecode
27288 install-html-uudecode: \
27289 configure-uudecode \
27290 html-uudecode
27291 @: $(MAKE); $(unstage)
27292 @[ -f ./uudecode/Makefile ] || exit 0; \
27293 r=`${PWD_COMMAND}`; export r; \
27294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27295 $(HOST_EXPORTS) \
27296 for flag in $(EXTRA_HOST_FLAGS) ; do \
27297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27298 done; \
27299 echo "Doing install-html in uudecode" ; \
27300 (cd $(HOST_SUBDIR)/uudecode && \
27301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27303 "RANLIB=$${RANLIB}" \
27304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27305 install-html) \
27306 || exit 1
27308 @endif uudecode
27310 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
27311 maybe-installcheck-uudecode:
27312 @if uudecode
27313 maybe-installcheck-uudecode: installcheck-uudecode
27315 installcheck-uudecode: \
27316 configure-uudecode
27317 @: $(MAKE); $(unstage)
27318 @[ -f ./uudecode/Makefile ] || exit 0; \
27319 r=`${PWD_COMMAND}`; export r; \
27320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27321 $(HOST_EXPORTS) \
27322 for flag in $(EXTRA_HOST_FLAGS) ; do \
27323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27324 done; \
27325 echo "Doing installcheck in uudecode" ; \
27326 (cd $(HOST_SUBDIR)/uudecode && \
27327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27329 "RANLIB=$${RANLIB}" \
27330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27331 installcheck) \
27332 || exit 1
27334 @endif uudecode
27336 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
27337 maybe-mostlyclean-uudecode:
27338 @if uudecode
27339 maybe-mostlyclean-uudecode: mostlyclean-uudecode
27341 mostlyclean-uudecode:
27342 @: $(MAKE); $(unstage)
27343 @[ -f ./uudecode/Makefile ] || exit 0; \
27344 r=`${PWD_COMMAND}`; export r; \
27345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27346 $(HOST_EXPORTS) \
27347 for flag in $(EXTRA_HOST_FLAGS) ; do \
27348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27349 done; \
27350 echo "Doing mostlyclean in uudecode" ; \
27351 (cd $(HOST_SUBDIR)/uudecode && \
27352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27354 "RANLIB=$${RANLIB}" \
27355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27356 mostlyclean) \
27357 || exit 1
27359 @endif uudecode
27361 .PHONY: maybe-clean-uudecode clean-uudecode
27362 maybe-clean-uudecode:
27363 @if uudecode
27364 maybe-clean-uudecode: clean-uudecode
27366 clean-uudecode:
27367 @: $(MAKE); $(unstage)
27368 @[ -f ./uudecode/Makefile ] || exit 0; \
27369 r=`${PWD_COMMAND}`; export r; \
27370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27371 $(HOST_EXPORTS) \
27372 for flag in $(EXTRA_HOST_FLAGS) ; do \
27373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27374 done; \
27375 echo "Doing clean in uudecode" ; \
27376 (cd $(HOST_SUBDIR)/uudecode && \
27377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27379 "RANLIB=$${RANLIB}" \
27380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27381 clean) \
27382 || exit 1
27384 @endif uudecode
27386 .PHONY: maybe-distclean-uudecode distclean-uudecode
27387 maybe-distclean-uudecode:
27388 @if uudecode
27389 maybe-distclean-uudecode: distclean-uudecode
27391 distclean-uudecode:
27392 @: $(MAKE); $(unstage)
27393 @[ -f ./uudecode/Makefile ] || exit 0; \
27394 r=`${PWD_COMMAND}`; export r; \
27395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27396 $(HOST_EXPORTS) \
27397 for flag in $(EXTRA_HOST_FLAGS) ; do \
27398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27399 done; \
27400 echo "Doing distclean in uudecode" ; \
27401 (cd $(HOST_SUBDIR)/uudecode && \
27402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27404 "RANLIB=$${RANLIB}" \
27405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27406 distclean) \
27407 || exit 1
27409 @endif uudecode
27411 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
27412 maybe-maintainer-clean-uudecode:
27413 @if uudecode
27414 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
27416 maintainer-clean-uudecode:
27417 @: $(MAKE); $(unstage)
27418 @[ -f ./uudecode/Makefile ] || exit 0; \
27419 r=`${PWD_COMMAND}`; export r; \
27420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27421 $(HOST_EXPORTS) \
27422 for flag in $(EXTRA_HOST_FLAGS) ; do \
27423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27424 done; \
27425 echo "Doing maintainer-clean in uudecode" ; \
27426 (cd $(HOST_SUBDIR)/uudecode && \
27427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27429 "RANLIB=$${RANLIB}" \
27430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27431 maintainer-clean) \
27432 || exit 1
27434 @endif uudecode
27438 .PHONY: configure-wdiff maybe-configure-wdiff
27439 maybe-configure-wdiff:
27440 @if gcc-bootstrap
27441 configure-wdiff: stage_current
27442 @endif gcc-bootstrap
27443 @if wdiff
27444 maybe-configure-wdiff: configure-wdiff
27445 configure-wdiff:
27446 @: $(MAKE); $(unstage)
27447 @r=`${PWD_COMMAND}`; export r; \
27448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27449 test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
27450 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
27451 $(HOST_EXPORTS) \
27452 echo Configuring in $(HOST_SUBDIR)/wdiff; \
27453 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
27454 case $(srcdir) in \
27455 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27456 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
27457 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27458 esac; \
27459 srcdiroption="--srcdir=$${topdir}/wdiff"; \
27460 libsrcdir="$$s/wdiff"; \
27461 $(SHELL) $${libsrcdir}/configure \
27462 $(HOST_CONFIGARGS) $${srcdiroption} \
27463 || exit 1
27464 @endif wdiff
27470 .PHONY: all-wdiff maybe-all-wdiff
27471 maybe-all-wdiff:
27472 @if gcc-bootstrap
27473 all-wdiff: stage_current
27474 @endif gcc-bootstrap
27475 @if wdiff
27476 TARGET-wdiff=all
27477 maybe-all-wdiff: all-wdiff
27478 all-wdiff: configure-wdiff
27479 @: $(MAKE); $(unstage)
27480 @r=`${PWD_COMMAND}`; export r; \
27481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27482 $(HOST_EXPORTS) \
27483 (cd $(HOST_SUBDIR)/wdiff && \
27484 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
27485 @endif wdiff
27490 .PHONY: check-wdiff maybe-check-wdiff
27491 maybe-check-wdiff:
27492 @if wdiff
27493 maybe-check-wdiff: check-wdiff
27495 check-wdiff:
27496 @: $(MAKE); $(unstage)
27497 @r=`${PWD_COMMAND}`; export r; \
27498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27499 $(HOST_EXPORTS) \
27500 (cd $(HOST_SUBDIR)/wdiff && \
27501 $(MAKE) $(FLAGS_TO_PASS) check)
27503 @endif wdiff
27505 .PHONY: install-wdiff maybe-install-wdiff
27506 maybe-install-wdiff:
27507 @if wdiff
27508 maybe-install-wdiff: install-wdiff
27510 install-wdiff: installdirs
27511 @: $(MAKE); $(unstage)
27512 @r=`${PWD_COMMAND}`; export r; \
27513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27514 $(HOST_EXPORTS) \
27515 (cd $(HOST_SUBDIR)/wdiff && \
27516 $(MAKE) $(FLAGS_TO_PASS) install)
27518 @endif wdiff
27520 # Other targets (info, dvi, etc.)
27522 .PHONY: maybe-info-wdiff info-wdiff
27523 maybe-info-wdiff:
27524 @if wdiff
27525 maybe-info-wdiff: info-wdiff
27527 info-wdiff: \
27528 configure-wdiff
27529 @: $(MAKE); $(unstage)
27530 @[ -f ./wdiff/Makefile ] || exit 0; \
27531 r=`${PWD_COMMAND}`; export r; \
27532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27533 $(HOST_EXPORTS) \
27534 for flag in $(EXTRA_HOST_FLAGS) ; do \
27535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27536 done; \
27537 echo "Doing info in wdiff" ; \
27538 (cd $(HOST_SUBDIR)/wdiff && \
27539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27541 "RANLIB=$${RANLIB}" \
27542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27543 info) \
27544 || exit 1
27546 @endif wdiff
27548 .PHONY: maybe-dvi-wdiff dvi-wdiff
27549 maybe-dvi-wdiff:
27550 @if wdiff
27551 maybe-dvi-wdiff: dvi-wdiff
27553 dvi-wdiff: \
27554 configure-wdiff
27555 @: $(MAKE); $(unstage)
27556 @[ -f ./wdiff/Makefile ] || exit 0; \
27557 r=`${PWD_COMMAND}`; export r; \
27558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27559 $(HOST_EXPORTS) \
27560 for flag in $(EXTRA_HOST_FLAGS) ; do \
27561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27562 done; \
27563 echo "Doing dvi in wdiff" ; \
27564 (cd $(HOST_SUBDIR)/wdiff && \
27565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27567 "RANLIB=$${RANLIB}" \
27568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27569 dvi) \
27570 || exit 1
27572 @endif wdiff
27574 .PHONY: maybe-html-wdiff html-wdiff
27575 maybe-html-wdiff:
27576 @if wdiff
27577 maybe-html-wdiff: html-wdiff
27579 html-wdiff: \
27580 configure-wdiff
27581 @: $(MAKE); $(unstage)
27582 @[ -f ./wdiff/Makefile ] || exit 0; \
27583 r=`${PWD_COMMAND}`; export r; \
27584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27585 $(HOST_EXPORTS) \
27586 for flag in $(EXTRA_HOST_FLAGS) ; do \
27587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27588 done; \
27589 echo "Doing html in wdiff" ; \
27590 (cd $(HOST_SUBDIR)/wdiff && \
27591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27593 "RANLIB=$${RANLIB}" \
27594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27595 html) \
27596 || exit 1
27598 @endif wdiff
27600 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
27601 maybe-TAGS-wdiff:
27602 @if wdiff
27603 maybe-TAGS-wdiff: TAGS-wdiff
27605 TAGS-wdiff: \
27606 configure-wdiff
27607 @: $(MAKE); $(unstage)
27608 @[ -f ./wdiff/Makefile ] || exit 0; \
27609 r=`${PWD_COMMAND}`; export r; \
27610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27611 $(HOST_EXPORTS) \
27612 for flag in $(EXTRA_HOST_FLAGS) ; do \
27613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27614 done; \
27615 echo "Doing TAGS in wdiff" ; \
27616 (cd $(HOST_SUBDIR)/wdiff && \
27617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27619 "RANLIB=$${RANLIB}" \
27620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27621 TAGS) \
27622 || exit 1
27624 @endif wdiff
27626 .PHONY: maybe-install-info-wdiff install-info-wdiff
27627 maybe-install-info-wdiff:
27628 @if wdiff
27629 maybe-install-info-wdiff: install-info-wdiff
27631 install-info-wdiff: \
27632 configure-wdiff \
27633 info-wdiff
27634 @: $(MAKE); $(unstage)
27635 @[ -f ./wdiff/Makefile ] || exit 0; \
27636 r=`${PWD_COMMAND}`; export r; \
27637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27638 $(HOST_EXPORTS) \
27639 for flag in $(EXTRA_HOST_FLAGS) ; do \
27640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27641 done; \
27642 echo "Doing install-info in wdiff" ; \
27643 (cd $(HOST_SUBDIR)/wdiff && \
27644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27646 "RANLIB=$${RANLIB}" \
27647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27648 install-info) \
27649 || exit 1
27651 @endif wdiff
27653 .PHONY: maybe-install-html-wdiff install-html-wdiff
27654 maybe-install-html-wdiff:
27655 @if wdiff
27656 maybe-install-html-wdiff: install-html-wdiff
27658 install-html-wdiff: \
27659 configure-wdiff \
27660 html-wdiff
27661 @: $(MAKE); $(unstage)
27662 @[ -f ./wdiff/Makefile ] || exit 0; \
27663 r=`${PWD_COMMAND}`; export r; \
27664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27665 $(HOST_EXPORTS) \
27666 for flag in $(EXTRA_HOST_FLAGS) ; do \
27667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27668 done; \
27669 echo "Doing install-html in wdiff" ; \
27670 (cd $(HOST_SUBDIR)/wdiff && \
27671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27673 "RANLIB=$${RANLIB}" \
27674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27675 install-html) \
27676 || exit 1
27678 @endif wdiff
27680 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
27681 maybe-installcheck-wdiff:
27682 @if wdiff
27683 maybe-installcheck-wdiff: installcheck-wdiff
27685 installcheck-wdiff: \
27686 configure-wdiff
27687 @: $(MAKE); $(unstage)
27688 @[ -f ./wdiff/Makefile ] || exit 0; \
27689 r=`${PWD_COMMAND}`; export r; \
27690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27691 $(HOST_EXPORTS) \
27692 for flag in $(EXTRA_HOST_FLAGS) ; do \
27693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27694 done; \
27695 echo "Doing installcheck in wdiff" ; \
27696 (cd $(HOST_SUBDIR)/wdiff && \
27697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27699 "RANLIB=$${RANLIB}" \
27700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27701 installcheck) \
27702 || exit 1
27704 @endif wdiff
27706 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
27707 maybe-mostlyclean-wdiff:
27708 @if wdiff
27709 maybe-mostlyclean-wdiff: mostlyclean-wdiff
27711 mostlyclean-wdiff:
27712 @: $(MAKE); $(unstage)
27713 @[ -f ./wdiff/Makefile ] || exit 0; \
27714 r=`${PWD_COMMAND}`; export r; \
27715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27716 $(HOST_EXPORTS) \
27717 for flag in $(EXTRA_HOST_FLAGS) ; do \
27718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27719 done; \
27720 echo "Doing mostlyclean in wdiff" ; \
27721 (cd $(HOST_SUBDIR)/wdiff && \
27722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27724 "RANLIB=$${RANLIB}" \
27725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27726 mostlyclean) \
27727 || exit 1
27729 @endif wdiff
27731 .PHONY: maybe-clean-wdiff clean-wdiff
27732 maybe-clean-wdiff:
27733 @if wdiff
27734 maybe-clean-wdiff: clean-wdiff
27736 clean-wdiff:
27737 @: $(MAKE); $(unstage)
27738 @[ -f ./wdiff/Makefile ] || exit 0; \
27739 r=`${PWD_COMMAND}`; export r; \
27740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27741 $(HOST_EXPORTS) \
27742 for flag in $(EXTRA_HOST_FLAGS) ; do \
27743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27744 done; \
27745 echo "Doing clean in wdiff" ; \
27746 (cd $(HOST_SUBDIR)/wdiff && \
27747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27749 "RANLIB=$${RANLIB}" \
27750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27751 clean) \
27752 || exit 1
27754 @endif wdiff
27756 .PHONY: maybe-distclean-wdiff distclean-wdiff
27757 maybe-distclean-wdiff:
27758 @if wdiff
27759 maybe-distclean-wdiff: distclean-wdiff
27761 distclean-wdiff:
27762 @: $(MAKE); $(unstage)
27763 @[ -f ./wdiff/Makefile ] || exit 0; \
27764 r=`${PWD_COMMAND}`; export r; \
27765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27766 $(HOST_EXPORTS) \
27767 for flag in $(EXTRA_HOST_FLAGS) ; do \
27768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27769 done; \
27770 echo "Doing distclean in wdiff" ; \
27771 (cd $(HOST_SUBDIR)/wdiff && \
27772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27774 "RANLIB=$${RANLIB}" \
27775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27776 distclean) \
27777 || exit 1
27779 @endif wdiff
27781 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
27782 maybe-maintainer-clean-wdiff:
27783 @if wdiff
27784 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
27786 maintainer-clean-wdiff:
27787 @: $(MAKE); $(unstage)
27788 @[ -f ./wdiff/Makefile ] || exit 0; \
27789 r=`${PWD_COMMAND}`; export r; \
27790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27791 $(HOST_EXPORTS) \
27792 for flag in $(EXTRA_HOST_FLAGS) ; do \
27793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27794 done; \
27795 echo "Doing maintainer-clean in wdiff" ; \
27796 (cd $(HOST_SUBDIR)/wdiff && \
27797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27799 "RANLIB=$${RANLIB}" \
27800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27801 maintainer-clean) \
27802 || exit 1
27804 @endif wdiff
27808 .PHONY: configure-zip maybe-configure-zip
27809 maybe-configure-zip:
27810 @if gcc-bootstrap
27811 configure-zip: stage_current
27812 @endif gcc-bootstrap
27813 @if zip
27814 maybe-configure-zip: configure-zip
27815 configure-zip:
27816 @: $(MAKE); $(unstage)
27817 @r=`${PWD_COMMAND}`; export r; \
27818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27819 test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
27820 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
27821 $(HOST_EXPORTS) \
27822 echo Configuring in $(HOST_SUBDIR)/zip; \
27823 cd "$(HOST_SUBDIR)/zip" || exit 1; \
27824 case $(srcdir) in \
27825 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27826 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
27827 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27828 esac; \
27829 srcdiroption="--srcdir=$${topdir}/zip"; \
27830 libsrcdir="$$s/zip"; \
27831 $(SHELL) $${libsrcdir}/configure \
27832 $(HOST_CONFIGARGS) $${srcdiroption} \
27833 || exit 1
27834 @endif zip
27840 .PHONY: all-zip maybe-all-zip
27841 maybe-all-zip:
27842 @if gcc-bootstrap
27843 all-zip: stage_current
27844 @endif gcc-bootstrap
27845 @if zip
27846 TARGET-zip=all
27847 maybe-all-zip: all-zip
27848 all-zip: configure-zip
27849 @: $(MAKE); $(unstage)
27850 @r=`${PWD_COMMAND}`; export r; \
27851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27852 $(HOST_EXPORTS) \
27853 (cd $(HOST_SUBDIR)/zip && \
27854 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
27855 @endif zip
27860 .PHONY: check-zip maybe-check-zip
27861 maybe-check-zip:
27862 @if zip
27863 maybe-check-zip: check-zip
27865 # This module is only tested in a native toolchain.
27866 check-zip:
27867 @: $(MAKE); $(unstage)
27868 @if [ '$(host)' = '$(target)' ] ; then \
27869 r=`${PWD_COMMAND}`; export r; \
27870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27871 $(HOST_EXPORTS) \
27872 (cd $(HOST_SUBDIR)/zip && \
27873 $(MAKE) $(FLAGS_TO_PASS) check); \
27876 @endif zip
27878 .PHONY: install-zip maybe-install-zip
27879 maybe-install-zip:
27880 @if zip
27881 maybe-install-zip: install-zip
27883 install-zip: installdirs
27884 @: $(MAKE); $(unstage)
27885 @r=`${PWD_COMMAND}`; export r; \
27886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27887 $(HOST_EXPORTS) \
27888 (cd $(HOST_SUBDIR)/zip && \
27889 $(MAKE) $(FLAGS_TO_PASS) install)
27891 @endif zip
27893 # Other targets (info, dvi, etc.)
27895 .PHONY: maybe-info-zip info-zip
27896 maybe-info-zip:
27897 @if zip
27898 maybe-info-zip: info-zip
27900 info-zip: \
27901 configure-zip
27902 @: $(MAKE); $(unstage)
27903 @[ -f ./zip/Makefile ] || exit 0; \
27904 r=`${PWD_COMMAND}`; export r; \
27905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27906 $(HOST_EXPORTS) \
27907 for flag in $(EXTRA_HOST_FLAGS) ; do \
27908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27909 done; \
27910 echo "Doing info in zip" ; \
27911 (cd $(HOST_SUBDIR)/zip && \
27912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27914 "RANLIB=$${RANLIB}" \
27915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27916 info) \
27917 || exit 1
27919 @endif zip
27921 .PHONY: maybe-dvi-zip dvi-zip
27922 maybe-dvi-zip:
27923 @if zip
27924 maybe-dvi-zip: dvi-zip
27926 dvi-zip: \
27927 configure-zip
27928 @: $(MAKE); $(unstage)
27929 @[ -f ./zip/Makefile ] || exit 0; \
27930 r=`${PWD_COMMAND}`; export r; \
27931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27932 $(HOST_EXPORTS) \
27933 for flag in $(EXTRA_HOST_FLAGS) ; do \
27934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27935 done; \
27936 echo "Doing dvi in zip" ; \
27937 (cd $(HOST_SUBDIR)/zip && \
27938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27940 "RANLIB=$${RANLIB}" \
27941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27942 dvi) \
27943 || exit 1
27945 @endif zip
27947 .PHONY: maybe-html-zip html-zip
27948 maybe-html-zip:
27949 @if zip
27950 maybe-html-zip: html-zip
27952 html-zip: \
27953 configure-zip
27954 @: $(MAKE); $(unstage)
27955 @[ -f ./zip/Makefile ] || exit 0; \
27956 r=`${PWD_COMMAND}`; export r; \
27957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27958 $(HOST_EXPORTS) \
27959 for flag in $(EXTRA_HOST_FLAGS) ; do \
27960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27961 done; \
27962 echo "Doing html in zip" ; \
27963 (cd $(HOST_SUBDIR)/zip && \
27964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27966 "RANLIB=$${RANLIB}" \
27967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27968 html) \
27969 || exit 1
27971 @endif zip
27973 .PHONY: maybe-TAGS-zip TAGS-zip
27974 maybe-TAGS-zip:
27975 @if zip
27976 maybe-TAGS-zip: TAGS-zip
27978 TAGS-zip: \
27979 configure-zip
27980 @: $(MAKE); $(unstage)
27981 @[ -f ./zip/Makefile ] || exit 0; \
27982 r=`${PWD_COMMAND}`; export r; \
27983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27984 $(HOST_EXPORTS) \
27985 for flag in $(EXTRA_HOST_FLAGS) ; do \
27986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27987 done; \
27988 echo "Doing TAGS in zip" ; \
27989 (cd $(HOST_SUBDIR)/zip && \
27990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27992 "RANLIB=$${RANLIB}" \
27993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27994 TAGS) \
27995 || exit 1
27997 @endif zip
27999 .PHONY: maybe-install-info-zip install-info-zip
28000 maybe-install-info-zip:
28001 @if zip
28002 maybe-install-info-zip: install-info-zip
28004 install-info-zip: \
28005 configure-zip \
28006 info-zip
28007 @: $(MAKE); $(unstage)
28008 @[ -f ./zip/Makefile ] || exit 0; \
28009 r=`${PWD_COMMAND}`; export r; \
28010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28011 $(HOST_EXPORTS) \
28012 for flag in $(EXTRA_HOST_FLAGS) ; do \
28013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28014 done; \
28015 echo "Doing install-info in zip" ; \
28016 (cd $(HOST_SUBDIR)/zip && \
28017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28019 "RANLIB=$${RANLIB}" \
28020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28021 install-info) \
28022 || exit 1
28024 @endif zip
28026 .PHONY: maybe-install-html-zip install-html-zip
28027 maybe-install-html-zip:
28028 @if zip
28029 maybe-install-html-zip: install-html-zip
28031 install-html-zip: \
28032 configure-zip \
28033 html-zip
28034 @: $(MAKE); $(unstage)
28035 @[ -f ./zip/Makefile ] || exit 0; \
28036 r=`${PWD_COMMAND}`; export r; \
28037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28038 $(HOST_EXPORTS) \
28039 for flag in $(EXTRA_HOST_FLAGS) ; do \
28040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28041 done; \
28042 echo "Doing install-html in zip" ; \
28043 (cd $(HOST_SUBDIR)/zip && \
28044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28046 "RANLIB=$${RANLIB}" \
28047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28048 install-html) \
28049 || exit 1
28051 @endif zip
28053 .PHONY: maybe-installcheck-zip installcheck-zip
28054 maybe-installcheck-zip:
28055 @if zip
28056 maybe-installcheck-zip: installcheck-zip
28058 installcheck-zip: \
28059 configure-zip
28060 @: $(MAKE); $(unstage)
28061 @[ -f ./zip/Makefile ] || exit 0; \
28062 r=`${PWD_COMMAND}`; export r; \
28063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28064 $(HOST_EXPORTS) \
28065 for flag in $(EXTRA_HOST_FLAGS) ; do \
28066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28067 done; \
28068 echo "Doing installcheck in zip" ; \
28069 (cd $(HOST_SUBDIR)/zip && \
28070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28072 "RANLIB=$${RANLIB}" \
28073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28074 installcheck) \
28075 || exit 1
28077 @endif zip
28079 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
28080 maybe-mostlyclean-zip:
28081 @if zip
28082 maybe-mostlyclean-zip: mostlyclean-zip
28084 mostlyclean-zip:
28085 @: $(MAKE); $(unstage)
28086 @[ -f ./zip/Makefile ] || exit 0; \
28087 r=`${PWD_COMMAND}`; export r; \
28088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28089 $(HOST_EXPORTS) \
28090 for flag in $(EXTRA_HOST_FLAGS) ; do \
28091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28092 done; \
28093 echo "Doing mostlyclean in zip" ; \
28094 (cd $(HOST_SUBDIR)/zip && \
28095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28097 "RANLIB=$${RANLIB}" \
28098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28099 mostlyclean) \
28100 || exit 1
28102 @endif zip
28104 .PHONY: maybe-clean-zip clean-zip
28105 maybe-clean-zip:
28106 @if zip
28107 maybe-clean-zip: clean-zip
28109 clean-zip:
28110 @: $(MAKE); $(unstage)
28111 @[ -f ./zip/Makefile ] || exit 0; \
28112 r=`${PWD_COMMAND}`; export r; \
28113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28114 $(HOST_EXPORTS) \
28115 for flag in $(EXTRA_HOST_FLAGS) ; do \
28116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28117 done; \
28118 echo "Doing clean in zip" ; \
28119 (cd $(HOST_SUBDIR)/zip && \
28120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28122 "RANLIB=$${RANLIB}" \
28123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28124 clean) \
28125 || exit 1
28127 @endif zip
28129 .PHONY: maybe-distclean-zip distclean-zip
28130 maybe-distclean-zip:
28131 @if zip
28132 maybe-distclean-zip: distclean-zip
28134 distclean-zip:
28135 @: $(MAKE); $(unstage)
28136 @[ -f ./zip/Makefile ] || exit 0; \
28137 r=`${PWD_COMMAND}`; export r; \
28138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28139 $(HOST_EXPORTS) \
28140 for flag in $(EXTRA_HOST_FLAGS) ; do \
28141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28142 done; \
28143 echo "Doing distclean in zip" ; \
28144 (cd $(HOST_SUBDIR)/zip && \
28145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28147 "RANLIB=$${RANLIB}" \
28148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28149 distclean) \
28150 || exit 1
28152 @endif zip
28154 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
28155 maybe-maintainer-clean-zip:
28156 @if zip
28157 maybe-maintainer-clean-zip: maintainer-clean-zip
28159 maintainer-clean-zip:
28160 @: $(MAKE); $(unstage)
28161 @[ -f ./zip/Makefile ] || exit 0; \
28162 r=`${PWD_COMMAND}`; export r; \
28163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28164 $(HOST_EXPORTS) \
28165 for flag in $(EXTRA_HOST_FLAGS) ; do \
28166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28167 done; \
28168 echo "Doing maintainer-clean in zip" ; \
28169 (cd $(HOST_SUBDIR)/zip && \
28170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28172 "RANLIB=$${RANLIB}" \
28173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28174 maintainer-clean) \
28175 || exit 1
28177 @endif zip
28181 .PHONY: configure-zlib maybe-configure-zlib
28182 maybe-configure-zlib:
28183 @if gcc-bootstrap
28184 configure-zlib: stage_current
28185 @endif gcc-bootstrap
28186 @if zlib
28187 maybe-configure-zlib: configure-zlib
28188 configure-zlib:
28189 @r=`${PWD_COMMAND}`; export r; \
28190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28191 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
28192 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
28193 $(HOST_EXPORTS) \
28194 echo Configuring in $(HOST_SUBDIR)/zlib; \
28195 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
28196 case $(srcdir) in \
28197 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28198 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
28199 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28200 esac; \
28201 srcdiroption="--srcdir=$${topdir}/zlib"; \
28202 libsrcdir="$$s/zlib"; \
28203 $(SHELL) $${libsrcdir}/configure \
28204 $(HOST_CONFIGARGS) $${srcdiroption} \
28205 || exit 1
28206 @endif zlib
28210 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
28211 maybe-configure-stage1-zlib:
28212 @if zlib-bootstrap
28213 maybe-configure-stage1-zlib: configure-stage1-zlib
28214 configure-stage1-zlib:
28215 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28216 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
28217 @r=`${PWD_COMMAND}`; export r; \
28218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28219 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
28220 $(HOST_EXPORTS) \
28221 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
28222 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
28223 cd $(HOST_SUBDIR)/zlib || exit 1; \
28224 case $(srcdir) in \
28225 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28226 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
28227 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28228 esac; \
28229 srcdiroption="--srcdir=$${topdir}/zlib"; \
28230 libsrcdir="$$s/zlib"; \
28231 $(SHELL) $${libsrcdir}/configure \
28232 $(HOST_CONFIGARGS) $${srcdiroption} \
28233 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28234 @endif zlib-bootstrap
28236 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
28237 maybe-configure-stage2-zlib:
28238 @if zlib-bootstrap
28239 maybe-configure-stage2-zlib: configure-stage2-zlib
28240 configure-stage2-zlib:
28241 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28242 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
28243 @r=`${PWD_COMMAND}`; export r; \
28244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28245 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
28246 $(HOST_EXPORTS) \
28247 $(POSTSTAGE1_HOST_EXPORTS) \
28248 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
28249 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
28250 cd $(HOST_SUBDIR)/zlib || exit 1; \
28251 case $(srcdir) in \
28252 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28253 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
28254 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28255 esac; \
28256 srcdiroption="--srcdir=$${topdir}/zlib"; \
28257 libsrcdir="$$s/zlib"; \
28258 $(SHELL) $${libsrcdir}/configure \
28259 $(HOST_CONFIGARGS) $${srcdiroption} \
28260 @stage2_werror_flag@
28261 @endif zlib-bootstrap
28263 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
28264 maybe-configure-stage3-zlib:
28265 @if zlib-bootstrap
28266 maybe-configure-stage3-zlib: configure-stage3-zlib
28267 configure-stage3-zlib:
28268 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28269 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
28270 @r=`${PWD_COMMAND}`; export r; \
28271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28272 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
28273 $(HOST_EXPORTS) \
28274 $(POSTSTAGE1_HOST_EXPORTS) \
28275 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
28276 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
28277 cd $(HOST_SUBDIR)/zlib || exit 1; \
28278 case $(srcdir) in \
28279 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28280 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
28281 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28282 esac; \
28283 srcdiroption="--srcdir=$${topdir}/zlib"; \
28284 libsrcdir="$$s/zlib"; \
28285 $(SHELL) $${libsrcdir}/configure \
28286 $(HOST_CONFIGARGS) $${srcdiroption} \
28287 @stage2_werror_flag@
28288 @endif zlib-bootstrap
28290 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
28291 maybe-configure-stage4-zlib:
28292 @if zlib-bootstrap
28293 maybe-configure-stage4-zlib: configure-stage4-zlib
28294 configure-stage4-zlib:
28295 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28296 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
28297 @r=`${PWD_COMMAND}`; export r; \
28298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28299 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
28300 $(HOST_EXPORTS) \
28301 $(POSTSTAGE1_HOST_EXPORTS) \
28302 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
28303 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
28304 cd $(HOST_SUBDIR)/zlib || exit 1; \
28305 case $(srcdir) in \
28306 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28307 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
28308 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28309 esac; \
28310 srcdiroption="--srcdir=$${topdir}/zlib"; \
28311 libsrcdir="$$s/zlib"; \
28312 $(SHELL) $${libsrcdir}/configure \
28313 $(HOST_CONFIGARGS) $${srcdiroption} \
28314 @stage2_werror_flag@
28315 @endif zlib-bootstrap
28317 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
28318 maybe-configure-stageprofile-zlib:
28319 @if zlib-bootstrap
28320 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
28321 configure-stageprofile-zlib:
28322 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28323 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
28324 @r=`${PWD_COMMAND}`; export r; \
28325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28326 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
28327 $(HOST_EXPORTS) \
28328 $(POSTSTAGE1_HOST_EXPORTS) \
28329 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
28330 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
28331 cd $(HOST_SUBDIR)/zlib || exit 1; \
28332 case $(srcdir) in \
28333 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28334 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
28335 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28336 esac; \
28337 srcdiroption="--srcdir=$${topdir}/zlib"; \
28338 libsrcdir="$$s/zlib"; \
28339 $(SHELL) $${libsrcdir}/configure \
28340 $(HOST_CONFIGARGS) $${srcdiroption} \
28341 @stage2_werror_flag@
28342 @endif zlib-bootstrap
28344 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
28345 maybe-configure-stagefeedback-zlib:
28346 @if zlib-bootstrap
28347 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
28348 configure-stagefeedback-zlib:
28349 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28350 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
28351 @r=`${PWD_COMMAND}`; export r; \
28352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28353 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
28354 $(HOST_EXPORTS) \
28355 $(POSTSTAGE1_HOST_EXPORTS) \
28356 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
28357 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
28358 cd $(HOST_SUBDIR)/zlib || exit 1; \
28359 case $(srcdir) in \
28360 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28361 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
28362 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28363 esac; \
28364 srcdiroption="--srcdir=$${topdir}/zlib"; \
28365 libsrcdir="$$s/zlib"; \
28366 $(SHELL) $${libsrcdir}/configure \
28367 $(HOST_CONFIGARGS) $${srcdiroption} \
28368 @stage2_werror_flag@
28369 @endif zlib-bootstrap
28375 .PHONY: all-zlib maybe-all-zlib
28376 maybe-all-zlib:
28377 @if gcc-bootstrap
28378 all-zlib: stage_current
28379 @endif gcc-bootstrap
28380 @if zlib
28381 TARGET-zlib=all
28382 maybe-all-zlib: all-zlib
28383 all-zlib: configure-zlib
28384 @r=`${PWD_COMMAND}`; export r; \
28385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28386 $(HOST_EXPORTS) \
28387 (cd $(HOST_SUBDIR)/zlib && \
28388 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
28389 @endif zlib
28393 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
28394 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
28395 maybe-all-stage1-zlib:
28396 maybe-clean-stage1-zlib:
28397 @if zlib-bootstrap
28398 maybe-all-stage1-zlib: all-stage1-zlib
28399 all-stage1: all-stage1-zlib
28400 TARGET-stage1-zlib = $(TARGET-zlib)
28401 all-stage1-zlib: configure-stage1-zlib
28402 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28403 @r=`${PWD_COMMAND}`; export r; \
28404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28405 $(HOST_EXPORTS) \
28406 cd $(HOST_SUBDIR)/zlib && \
28407 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
28408 $(TARGET-stage1-zlib)
28410 maybe-clean-stage1-zlib: clean-stage1-zlib
28411 clean-stage1: clean-stage1-zlib
28412 clean-stage1-zlib:
28413 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] \
28414 || exit 0 ; \
28415 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
28416 cd $(HOST_SUBDIR)/zlib && \
28417 $(MAKE) $(FLAGS_TO_PASS) \
28418 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
28419 @endif zlib-bootstrap
28422 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
28423 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
28424 maybe-all-stage2-zlib:
28425 maybe-clean-stage2-zlib:
28426 @if zlib-bootstrap
28427 maybe-all-stage2-zlib: all-stage2-zlib
28428 all-stage2: all-stage2-zlib
28429 TARGET-stage2-zlib = $(TARGET-zlib)
28430 all-stage2-zlib: configure-stage2-zlib
28431 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28432 @r=`${PWD_COMMAND}`; export r; \
28433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28434 $(HOST_EXPORTS) \
28435 $(POSTSTAGE1_HOST_EXPORTS) \
28436 cd $(HOST_SUBDIR)/zlib && \
28437 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28438 $(TARGET-stage2-zlib)
28440 maybe-clean-stage2-zlib: clean-stage2-zlib
28441 clean-stage2: clean-stage2-zlib
28442 clean-stage2-zlib:
28443 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] \
28444 || exit 0 ; \
28445 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
28446 cd $(HOST_SUBDIR)/zlib && \
28447 $(MAKE) $(FLAGS_TO_PASS) \
28448 $(POSTSTAGE1_FLAGS_TO_PASS) \
28449 clean
28450 @endif zlib-bootstrap
28453 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
28454 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
28455 maybe-all-stage3-zlib:
28456 maybe-clean-stage3-zlib:
28457 @if zlib-bootstrap
28458 maybe-all-stage3-zlib: all-stage3-zlib
28459 all-stage3: all-stage3-zlib
28460 TARGET-stage3-zlib = $(TARGET-zlib)
28461 all-stage3-zlib: configure-stage3-zlib
28462 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28463 @r=`${PWD_COMMAND}`; export r; \
28464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28465 $(HOST_EXPORTS) \
28466 $(POSTSTAGE1_HOST_EXPORTS) \
28467 cd $(HOST_SUBDIR)/zlib && \
28468 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28469 $(TARGET-stage3-zlib)
28471 maybe-clean-stage3-zlib: clean-stage3-zlib
28472 clean-stage3: clean-stage3-zlib
28473 clean-stage3-zlib:
28474 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] \
28475 || exit 0 ; \
28476 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
28477 cd $(HOST_SUBDIR)/zlib && \
28478 $(MAKE) $(FLAGS_TO_PASS) \
28479 $(POSTSTAGE1_FLAGS_TO_PASS) \
28480 clean
28481 @endif zlib-bootstrap
28484 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
28485 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
28486 maybe-all-stage4-zlib:
28487 maybe-clean-stage4-zlib:
28488 @if zlib-bootstrap
28489 maybe-all-stage4-zlib: all-stage4-zlib
28490 all-stage4: all-stage4-zlib
28491 TARGET-stage4-zlib = $(TARGET-zlib)
28492 all-stage4-zlib: configure-stage4-zlib
28493 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28494 @r=`${PWD_COMMAND}`; export r; \
28495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28496 $(HOST_EXPORTS) \
28497 $(POSTSTAGE1_HOST_EXPORTS) \
28498 cd $(HOST_SUBDIR)/zlib && \
28499 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28500 $(TARGET-stage4-zlib)
28502 maybe-clean-stage4-zlib: clean-stage4-zlib
28503 clean-stage4: clean-stage4-zlib
28504 clean-stage4-zlib:
28505 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] \
28506 || exit 0 ; \
28507 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
28508 cd $(HOST_SUBDIR)/zlib && \
28509 $(MAKE) $(FLAGS_TO_PASS) \
28510 $(POSTSTAGE1_FLAGS_TO_PASS) \
28511 clean
28512 @endif zlib-bootstrap
28515 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
28516 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
28517 maybe-all-stageprofile-zlib:
28518 maybe-clean-stageprofile-zlib:
28519 @if zlib-bootstrap
28520 maybe-all-stageprofile-zlib: all-stageprofile-zlib
28521 all-stageprofile: all-stageprofile-zlib
28522 TARGET-stageprofile-zlib = $(TARGET-zlib)
28523 all-stageprofile-zlib: configure-stageprofile-zlib
28524 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28525 @r=`${PWD_COMMAND}`; export r; \
28526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28527 $(HOST_EXPORTS) \
28528 $(POSTSTAGE1_HOST_EXPORTS) \
28529 cd $(HOST_SUBDIR)/zlib && \
28530 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
28531 $(TARGET-stageprofile-zlib)
28533 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
28534 clean-stageprofile: clean-stageprofile-zlib
28535 clean-stageprofile-zlib:
28536 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] \
28537 || exit 0 ; \
28538 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
28539 cd $(HOST_SUBDIR)/zlib && \
28540 $(MAKE) $(FLAGS_TO_PASS) \
28541 $(POSTSTAGE1_FLAGS_TO_PASS) \
28542 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
28543 @endif zlib-bootstrap
28546 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
28547 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
28548 maybe-all-stagefeedback-zlib:
28549 maybe-clean-stagefeedback-zlib:
28550 @if zlib-bootstrap
28551 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
28552 all-stagefeedback: all-stagefeedback-zlib
28553 TARGET-stagefeedback-zlib = $(TARGET-zlib)
28554 all-stagefeedback-zlib: configure-stagefeedback-zlib
28555 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28556 @r=`${PWD_COMMAND}`; export r; \
28557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28558 $(HOST_EXPORTS) \
28559 $(POSTSTAGE1_HOST_EXPORTS) \
28560 cd $(HOST_SUBDIR)/zlib && \
28561 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
28562 $(TARGET-stagefeedback-zlib)
28564 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
28565 clean-stagefeedback: clean-stagefeedback-zlib
28566 clean-stagefeedback-zlib:
28567 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] \
28568 || exit 0 ; \
28569 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
28570 cd $(HOST_SUBDIR)/zlib && \
28571 $(MAKE) $(FLAGS_TO_PASS) \
28572 $(POSTSTAGE1_FLAGS_TO_PASS) \
28573 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
28574 @endif zlib-bootstrap
28580 .PHONY: check-zlib maybe-check-zlib
28581 maybe-check-zlib:
28582 @if zlib
28583 maybe-check-zlib: check-zlib
28585 check-zlib:
28587 @endif zlib
28589 .PHONY: install-zlib maybe-install-zlib
28590 maybe-install-zlib:
28591 @if zlib
28592 maybe-install-zlib: install-zlib
28594 install-zlib:
28596 @endif zlib
28598 # Other targets (info, dvi, etc.)
28600 .PHONY: maybe-info-zlib info-zlib
28601 maybe-info-zlib:
28602 @if zlib
28603 maybe-info-zlib: info-zlib
28605 info-zlib: \
28606 configure-zlib
28607 @[ -f ./zlib/Makefile ] || exit 0; \
28608 r=`${PWD_COMMAND}`; export r; \
28609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28610 $(HOST_EXPORTS) \
28611 for flag in $(EXTRA_HOST_FLAGS) ; do \
28612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28613 done; \
28614 echo "Doing info in zlib" ; \
28615 (cd $(HOST_SUBDIR)/zlib && \
28616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28618 "RANLIB=$${RANLIB}" \
28619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28620 info) \
28621 || exit 1
28623 @endif zlib
28625 .PHONY: maybe-dvi-zlib dvi-zlib
28626 maybe-dvi-zlib:
28627 @if zlib
28628 maybe-dvi-zlib: dvi-zlib
28630 dvi-zlib: \
28631 configure-zlib
28632 @[ -f ./zlib/Makefile ] || exit 0; \
28633 r=`${PWD_COMMAND}`; export r; \
28634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28635 $(HOST_EXPORTS) \
28636 for flag in $(EXTRA_HOST_FLAGS) ; do \
28637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28638 done; \
28639 echo "Doing dvi in zlib" ; \
28640 (cd $(HOST_SUBDIR)/zlib && \
28641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28643 "RANLIB=$${RANLIB}" \
28644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28645 dvi) \
28646 || exit 1
28648 @endif zlib
28650 .PHONY: maybe-html-zlib html-zlib
28651 maybe-html-zlib:
28652 @if zlib
28653 maybe-html-zlib: html-zlib
28655 html-zlib: \
28656 configure-zlib
28657 @[ -f ./zlib/Makefile ] || exit 0; \
28658 r=`${PWD_COMMAND}`; export r; \
28659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28660 $(HOST_EXPORTS) \
28661 for flag in $(EXTRA_HOST_FLAGS) ; do \
28662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28663 done; \
28664 echo "Doing html in zlib" ; \
28665 (cd $(HOST_SUBDIR)/zlib && \
28666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28668 "RANLIB=$${RANLIB}" \
28669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28670 html) \
28671 || exit 1
28673 @endif zlib
28675 .PHONY: maybe-TAGS-zlib TAGS-zlib
28676 maybe-TAGS-zlib:
28677 @if zlib
28678 maybe-TAGS-zlib: TAGS-zlib
28680 TAGS-zlib: \
28681 configure-zlib
28682 @[ -f ./zlib/Makefile ] || exit 0; \
28683 r=`${PWD_COMMAND}`; export r; \
28684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28685 $(HOST_EXPORTS) \
28686 for flag in $(EXTRA_HOST_FLAGS) ; do \
28687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28688 done; \
28689 echo "Doing TAGS in zlib" ; \
28690 (cd $(HOST_SUBDIR)/zlib && \
28691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28693 "RANLIB=$${RANLIB}" \
28694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28695 TAGS) \
28696 || exit 1
28698 @endif zlib
28700 .PHONY: maybe-install-info-zlib install-info-zlib
28701 maybe-install-info-zlib:
28702 @if zlib
28703 maybe-install-info-zlib: install-info-zlib
28705 install-info-zlib: \
28706 configure-zlib \
28707 info-zlib
28708 @[ -f ./zlib/Makefile ] || exit 0; \
28709 r=`${PWD_COMMAND}`; export r; \
28710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28711 $(HOST_EXPORTS) \
28712 for flag in $(EXTRA_HOST_FLAGS) ; do \
28713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28714 done; \
28715 echo "Doing install-info in zlib" ; \
28716 (cd $(HOST_SUBDIR)/zlib && \
28717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28719 "RANLIB=$${RANLIB}" \
28720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28721 install-info) \
28722 || exit 1
28724 @endif zlib
28726 .PHONY: maybe-install-html-zlib install-html-zlib
28727 maybe-install-html-zlib:
28728 @if zlib
28729 maybe-install-html-zlib: install-html-zlib
28731 install-html-zlib: \
28732 configure-zlib \
28733 html-zlib
28734 @[ -f ./zlib/Makefile ] || exit 0; \
28735 r=`${PWD_COMMAND}`; export r; \
28736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28737 $(HOST_EXPORTS) \
28738 for flag in $(EXTRA_HOST_FLAGS) ; do \
28739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28740 done; \
28741 echo "Doing install-html in zlib" ; \
28742 (cd $(HOST_SUBDIR)/zlib && \
28743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28745 "RANLIB=$${RANLIB}" \
28746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28747 install-html) \
28748 || exit 1
28750 @endif zlib
28752 .PHONY: maybe-installcheck-zlib installcheck-zlib
28753 maybe-installcheck-zlib:
28754 @if zlib
28755 maybe-installcheck-zlib: installcheck-zlib
28757 installcheck-zlib: \
28758 configure-zlib
28759 @[ -f ./zlib/Makefile ] || exit 0; \
28760 r=`${PWD_COMMAND}`; export r; \
28761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28762 $(HOST_EXPORTS) \
28763 for flag in $(EXTRA_HOST_FLAGS) ; do \
28764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28765 done; \
28766 echo "Doing installcheck in zlib" ; \
28767 (cd $(HOST_SUBDIR)/zlib && \
28768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28770 "RANLIB=$${RANLIB}" \
28771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28772 installcheck) \
28773 || exit 1
28775 @endif zlib
28777 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
28778 maybe-mostlyclean-zlib:
28779 @if zlib
28780 maybe-mostlyclean-zlib: mostlyclean-zlib
28782 mostlyclean-zlib:
28783 @[ -f ./zlib/Makefile ] || exit 0; \
28784 r=`${PWD_COMMAND}`; export r; \
28785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28786 $(HOST_EXPORTS) \
28787 for flag in $(EXTRA_HOST_FLAGS) ; do \
28788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28789 done; \
28790 echo "Doing mostlyclean in zlib" ; \
28791 (cd $(HOST_SUBDIR)/zlib && \
28792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28794 "RANLIB=$${RANLIB}" \
28795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28796 mostlyclean) \
28797 || exit 1
28799 @endif zlib
28801 .PHONY: maybe-clean-zlib clean-zlib
28802 maybe-clean-zlib:
28803 @if zlib
28804 maybe-clean-zlib: clean-zlib
28806 clean-zlib:
28807 @[ -f ./zlib/Makefile ] || exit 0; \
28808 r=`${PWD_COMMAND}`; export r; \
28809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28810 $(HOST_EXPORTS) \
28811 for flag in $(EXTRA_HOST_FLAGS) ; do \
28812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28813 done; \
28814 echo "Doing clean in zlib" ; \
28815 (cd $(HOST_SUBDIR)/zlib && \
28816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28818 "RANLIB=$${RANLIB}" \
28819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28820 clean) \
28821 || exit 1
28823 @endif zlib
28825 .PHONY: maybe-distclean-zlib distclean-zlib
28826 maybe-distclean-zlib:
28827 @if zlib
28828 maybe-distclean-zlib: distclean-zlib
28830 distclean-zlib:
28831 @[ -f ./zlib/Makefile ] || exit 0; \
28832 r=`${PWD_COMMAND}`; export r; \
28833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28834 $(HOST_EXPORTS) \
28835 for flag in $(EXTRA_HOST_FLAGS) ; do \
28836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28837 done; \
28838 echo "Doing distclean in zlib" ; \
28839 (cd $(HOST_SUBDIR)/zlib && \
28840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28842 "RANLIB=$${RANLIB}" \
28843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28844 distclean) \
28845 || exit 1
28847 @endif zlib
28849 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
28850 maybe-maintainer-clean-zlib:
28851 @if zlib
28852 maybe-maintainer-clean-zlib: maintainer-clean-zlib
28854 maintainer-clean-zlib:
28855 @[ -f ./zlib/Makefile ] || exit 0; \
28856 r=`${PWD_COMMAND}`; export r; \
28857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28858 $(HOST_EXPORTS) \
28859 for flag in $(EXTRA_HOST_FLAGS) ; do \
28860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28861 done; \
28862 echo "Doing maintainer-clean in zlib" ; \
28863 (cd $(HOST_SUBDIR)/zlib && \
28864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28866 "RANLIB=$${RANLIB}" \
28867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28868 maintainer-clean) \
28869 || exit 1
28871 @endif zlib
28875 .PHONY: configure-gdb maybe-configure-gdb
28876 maybe-configure-gdb:
28877 @if gcc-bootstrap
28878 configure-gdb: stage_current
28879 @endif gcc-bootstrap
28880 @if gdb
28881 maybe-configure-gdb: configure-gdb
28882 configure-gdb:
28883 @: $(MAKE); $(unstage)
28884 @r=`${PWD_COMMAND}`; export r; \
28885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28886 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
28887 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
28888 $(HOST_EXPORTS) \
28889 echo Configuring in $(HOST_SUBDIR)/gdb; \
28890 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
28891 case $(srcdir) in \
28892 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28893 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
28894 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28895 esac; \
28896 srcdiroption="--srcdir=$${topdir}/gdb"; \
28897 libsrcdir="$$s/gdb"; \
28898 $(SHELL) $${libsrcdir}/configure \
28899 $(HOST_CONFIGARGS) $${srcdiroption} \
28900 || exit 1
28901 @endif gdb
28907 .PHONY: all-gdb maybe-all-gdb
28908 maybe-all-gdb:
28909 @if gcc-bootstrap
28910 all-gdb: stage_current
28911 @endif gcc-bootstrap
28912 @if gdb
28913 TARGET-gdb=all
28914 maybe-all-gdb: all-gdb
28915 all-gdb: configure-gdb
28916 @: $(MAKE); $(unstage)
28917 @r=`${PWD_COMMAND}`; export r; \
28918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28919 $(HOST_EXPORTS) \
28920 (cd $(HOST_SUBDIR)/gdb && \
28921 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
28922 @endif gdb
28927 .PHONY: check-gdb maybe-check-gdb
28928 maybe-check-gdb:
28929 @if gdb
28930 maybe-check-gdb: check-gdb
28932 check-gdb:
28933 @: $(MAKE); $(unstage)
28934 @r=`${PWD_COMMAND}`; export r; \
28935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28936 $(HOST_EXPORTS) \
28937 (cd $(HOST_SUBDIR)/gdb && \
28938 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
28940 @endif gdb
28942 .PHONY: install-gdb maybe-install-gdb
28943 maybe-install-gdb:
28944 @if gdb
28945 maybe-install-gdb: install-gdb
28947 install-gdb: installdirs
28948 @: $(MAKE); $(unstage)
28949 @r=`${PWD_COMMAND}`; export r; \
28950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28951 $(HOST_EXPORTS) \
28952 (cd $(HOST_SUBDIR)/gdb && \
28953 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
28955 @endif gdb
28957 # Other targets (info, dvi, etc.)
28959 .PHONY: maybe-info-gdb info-gdb
28960 maybe-info-gdb:
28961 @if gdb
28962 maybe-info-gdb: info-gdb
28964 info-gdb: \
28965 configure-gdb
28966 @: $(MAKE); $(unstage)
28967 @[ -f ./gdb/Makefile ] || exit 0; \
28968 r=`${PWD_COMMAND}`; export r; \
28969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28970 $(HOST_EXPORTS) \
28971 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28973 done; \
28974 echo "Doing info in gdb" ; \
28975 (cd $(HOST_SUBDIR)/gdb && \
28976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28978 "RANLIB=$${RANLIB}" \
28979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28980 info) \
28981 || exit 1
28983 @endif gdb
28985 .PHONY: maybe-dvi-gdb dvi-gdb
28986 maybe-dvi-gdb:
28987 @if gdb
28988 maybe-dvi-gdb: dvi-gdb
28990 dvi-gdb: \
28991 configure-gdb
28992 @: $(MAKE); $(unstage)
28993 @[ -f ./gdb/Makefile ] || exit 0; \
28994 r=`${PWD_COMMAND}`; export r; \
28995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28996 $(HOST_EXPORTS) \
28997 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28999 done; \
29000 echo "Doing dvi in gdb" ; \
29001 (cd $(HOST_SUBDIR)/gdb && \
29002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29004 "RANLIB=$${RANLIB}" \
29005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29006 dvi) \
29007 || exit 1
29009 @endif gdb
29011 .PHONY: maybe-html-gdb html-gdb
29012 maybe-html-gdb:
29013 @if gdb
29014 maybe-html-gdb: html-gdb
29016 html-gdb: \
29017 configure-gdb
29018 @: $(MAKE); $(unstage)
29019 @[ -f ./gdb/Makefile ] || exit 0; \
29020 r=`${PWD_COMMAND}`; export r; \
29021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29022 $(HOST_EXPORTS) \
29023 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29025 done; \
29026 echo "Doing html in gdb" ; \
29027 (cd $(HOST_SUBDIR)/gdb && \
29028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29030 "RANLIB=$${RANLIB}" \
29031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29032 html) \
29033 || exit 1
29035 @endif gdb
29037 .PHONY: maybe-TAGS-gdb TAGS-gdb
29038 maybe-TAGS-gdb:
29039 @if gdb
29040 maybe-TAGS-gdb: TAGS-gdb
29042 TAGS-gdb: \
29043 configure-gdb
29044 @: $(MAKE); $(unstage)
29045 @[ -f ./gdb/Makefile ] || exit 0; \
29046 r=`${PWD_COMMAND}`; export r; \
29047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29048 $(HOST_EXPORTS) \
29049 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29051 done; \
29052 echo "Doing TAGS in gdb" ; \
29053 (cd $(HOST_SUBDIR)/gdb && \
29054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29056 "RANLIB=$${RANLIB}" \
29057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29058 TAGS) \
29059 || exit 1
29061 @endif gdb
29063 .PHONY: maybe-install-info-gdb install-info-gdb
29064 maybe-install-info-gdb:
29065 @if gdb
29066 maybe-install-info-gdb: install-info-gdb
29068 install-info-gdb: \
29069 configure-gdb \
29070 info-gdb
29071 @: $(MAKE); $(unstage)
29072 @[ -f ./gdb/Makefile ] || exit 0; \
29073 r=`${PWD_COMMAND}`; export r; \
29074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29075 $(HOST_EXPORTS) \
29076 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29078 done; \
29079 echo "Doing install-info in gdb" ; \
29080 (cd $(HOST_SUBDIR)/gdb && \
29081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29083 "RANLIB=$${RANLIB}" \
29084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29085 install-info) \
29086 || exit 1
29088 @endif gdb
29090 .PHONY: maybe-install-html-gdb install-html-gdb
29091 maybe-install-html-gdb:
29092 @if gdb
29093 maybe-install-html-gdb: install-html-gdb
29095 install-html-gdb: \
29096 configure-gdb \
29097 html-gdb
29098 @: $(MAKE); $(unstage)
29099 @[ -f ./gdb/Makefile ] || exit 0; \
29100 r=`${PWD_COMMAND}`; export r; \
29101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29102 $(HOST_EXPORTS) \
29103 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29105 done; \
29106 echo "Doing install-html in gdb" ; \
29107 (cd $(HOST_SUBDIR)/gdb && \
29108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29110 "RANLIB=$${RANLIB}" \
29111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29112 install-html) \
29113 || exit 1
29115 @endif gdb
29117 .PHONY: maybe-installcheck-gdb installcheck-gdb
29118 maybe-installcheck-gdb:
29119 @if gdb
29120 maybe-installcheck-gdb: installcheck-gdb
29122 installcheck-gdb: \
29123 configure-gdb
29124 @: $(MAKE); $(unstage)
29125 @[ -f ./gdb/Makefile ] || exit 0; \
29126 r=`${PWD_COMMAND}`; export r; \
29127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29128 $(HOST_EXPORTS) \
29129 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29131 done; \
29132 echo "Doing installcheck in gdb" ; \
29133 (cd $(HOST_SUBDIR)/gdb && \
29134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29136 "RANLIB=$${RANLIB}" \
29137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29138 installcheck) \
29139 || exit 1
29141 @endif gdb
29143 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
29144 maybe-mostlyclean-gdb:
29145 @if gdb
29146 maybe-mostlyclean-gdb: mostlyclean-gdb
29148 mostlyclean-gdb:
29149 @: $(MAKE); $(unstage)
29150 @[ -f ./gdb/Makefile ] || exit 0; \
29151 r=`${PWD_COMMAND}`; export r; \
29152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29153 $(HOST_EXPORTS) \
29154 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29156 done; \
29157 echo "Doing mostlyclean in gdb" ; \
29158 (cd $(HOST_SUBDIR)/gdb && \
29159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29161 "RANLIB=$${RANLIB}" \
29162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29163 mostlyclean) \
29164 || exit 1
29166 @endif gdb
29168 .PHONY: maybe-clean-gdb clean-gdb
29169 maybe-clean-gdb:
29170 @if gdb
29171 maybe-clean-gdb: clean-gdb
29173 clean-gdb:
29174 @: $(MAKE); $(unstage)
29175 @[ -f ./gdb/Makefile ] || exit 0; \
29176 r=`${PWD_COMMAND}`; export r; \
29177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29178 $(HOST_EXPORTS) \
29179 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29181 done; \
29182 echo "Doing clean in gdb" ; \
29183 (cd $(HOST_SUBDIR)/gdb && \
29184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29186 "RANLIB=$${RANLIB}" \
29187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29188 clean) \
29189 || exit 1
29191 @endif gdb
29193 .PHONY: maybe-distclean-gdb distclean-gdb
29194 maybe-distclean-gdb:
29195 @if gdb
29196 maybe-distclean-gdb: distclean-gdb
29198 distclean-gdb:
29199 @: $(MAKE); $(unstage)
29200 @[ -f ./gdb/Makefile ] || exit 0; \
29201 r=`${PWD_COMMAND}`; export r; \
29202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29203 $(HOST_EXPORTS) \
29204 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29206 done; \
29207 echo "Doing distclean in gdb" ; \
29208 (cd $(HOST_SUBDIR)/gdb && \
29209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29211 "RANLIB=$${RANLIB}" \
29212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29213 distclean) \
29214 || exit 1
29216 @endif gdb
29218 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
29219 maybe-maintainer-clean-gdb:
29220 @if gdb
29221 maybe-maintainer-clean-gdb: maintainer-clean-gdb
29223 maintainer-clean-gdb:
29224 @: $(MAKE); $(unstage)
29225 @[ -f ./gdb/Makefile ] || exit 0; \
29226 r=`${PWD_COMMAND}`; export r; \
29227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29228 $(HOST_EXPORTS) \
29229 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29231 done; \
29232 echo "Doing maintainer-clean in gdb" ; \
29233 (cd $(HOST_SUBDIR)/gdb && \
29234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29236 "RANLIB=$${RANLIB}" \
29237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29238 maintainer-clean) \
29239 || exit 1
29241 @endif gdb
29245 .PHONY: configure-expect maybe-configure-expect
29246 maybe-configure-expect:
29247 @if gcc-bootstrap
29248 configure-expect: stage_current
29249 @endif gcc-bootstrap
29250 @if expect
29251 maybe-configure-expect: configure-expect
29252 configure-expect:
29253 @: $(MAKE); $(unstage)
29254 @r=`${PWD_COMMAND}`; export r; \
29255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29256 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
29257 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
29258 $(HOST_EXPORTS) \
29259 echo Configuring in $(HOST_SUBDIR)/expect; \
29260 cd "$(HOST_SUBDIR)/expect" || exit 1; \
29261 case $(srcdir) in \
29262 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29263 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
29264 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29265 esac; \
29266 srcdiroption="--srcdir=$${topdir}/expect"; \
29267 libsrcdir="$$s/expect"; \
29268 $(SHELL) $${libsrcdir}/configure \
29269 $(HOST_CONFIGARGS) $${srcdiroption} \
29270 || exit 1
29271 @endif expect
29277 .PHONY: all-expect maybe-all-expect
29278 maybe-all-expect:
29279 @if gcc-bootstrap
29280 all-expect: stage_current
29281 @endif gcc-bootstrap
29282 @if expect
29283 TARGET-expect=all
29284 maybe-all-expect: all-expect
29285 all-expect: configure-expect
29286 @: $(MAKE); $(unstage)
29287 @r=`${PWD_COMMAND}`; export r; \
29288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29289 $(HOST_EXPORTS) \
29290 (cd $(HOST_SUBDIR)/expect && \
29291 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
29292 @endif expect
29297 .PHONY: check-expect maybe-check-expect
29298 maybe-check-expect:
29299 @if expect
29300 maybe-check-expect: check-expect
29302 check-expect:
29303 @: $(MAKE); $(unstage)
29304 @r=`${PWD_COMMAND}`; export r; \
29305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29306 $(HOST_EXPORTS) \
29307 (cd $(HOST_SUBDIR)/expect && \
29308 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
29310 @endif expect
29312 .PHONY: install-expect maybe-install-expect
29313 maybe-install-expect:
29314 @if expect
29315 maybe-install-expect: install-expect
29317 install-expect: installdirs
29318 @: $(MAKE); $(unstage)
29319 @r=`${PWD_COMMAND}`; export r; \
29320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29321 $(HOST_EXPORTS) \
29322 (cd $(HOST_SUBDIR)/expect && \
29323 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
29325 @endif expect
29327 # Other targets (info, dvi, etc.)
29329 .PHONY: maybe-info-expect info-expect
29330 maybe-info-expect:
29331 @if expect
29332 maybe-info-expect: info-expect
29334 info-expect: \
29335 configure-expect
29336 @: $(MAKE); $(unstage)
29337 @[ -f ./expect/Makefile ] || exit 0; \
29338 r=`${PWD_COMMAND}`; export r; \
29339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29340 $(HOST_EXPORTS) \
29341 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29343 done; \
29344 echo "Doing info in expect" ; \
29345 (cd $(HOST_SUBDIR)/expect && \
29346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29348 "RANLIB=$${RANLIB}" \
29349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29350 info) \
29351 || exit 1
29353 @endif expect
29355 .PHONY: maybe-dvi-expect dvi-expect
29356 maybe-dvi-expect:
29357 @if expect
29358 maybe-dvi-expect: dvi-expect
29360 dvi-expect: \
29361 configure-expect
29362 @: $(MAKE); $(unstage)
29363 @[ -f ./expect/Makefile ] || exit 0; \
29364 r=`${PWD_COMMAND}`; export r; \
29365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29366 $(HOST_EXPORTS) \
29367 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29369 done; \
29370 echo "Doing dvi in expect" ; \
29371 (cd $(HOST_SUBDIR)/expect && \
29372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29374 "RANLIB=$${RANLIB}" \
29375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29376 dvi) \
29377 || exit 1
29379 @endif expect
29381 .PHONY: maybe-html-expect html-expect
29382 maybe-html-expect:
29383 @if expect
29384 maybe-html-expect: html-expect
29386 html-expect: \
29387 configure-expect
29388 @: $(MAKE); $(unstage)
29389 @[ -f ./expect/Makefile ] || exit 0; \
29390 r=`${PWD_COMMAND}`; export r; \
29391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29392 $(HOST_EXPORTS) \
29393 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29395 done; \
29396 echo "Doing html in expect" ; \
29397 (cd $(HOST_SUBDIR)/expect && \
29398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29400 "RANLIB=$${RANLIB}" \
29401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29402 html) \
29403 || exit 1
29405 @endif expect
29407 .PHONY: maybe-TAGS-expect TAGS-expect
29408 maybe-TAGS-expect:
29409 @if expect
29410 maybe-TAGS-expect: TAGS-expect
29412 TAGS-expect: \
29413 configure-expect
29414 @: $(MAKE); $(unstage)
29415 @[ -f ./expect/Makefile ] || exit 0; \
29416 r=`${PWD_COMMAND}`; export r; \
29417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29418 $(HOST_EXPORTS) \
29419 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29421 done; \
29422 echo "Doing TAGS in expect" ; \
29423 (cd $(HOST_SUBDIR)/expect && \
29424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29426 "RANLIB=$${RANLIB}" \
29427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29428 TAGS) \
29429 || exit 1
29431 @endif expect
29433 .PHONY: maybe-install-info-expect install-info-expect
29434 maybe-install-info-expect:
29435 @if expect
29436 maybe-install-info-expect: install-info-expect
29438 install-info-expect: \
29439 configure-expect \
29440 info-expect
29441 @: $(MAKE); $(unstage)
29442 @[ -f ./expect/Makefile ] || exit 0; \
29443 r=`${PWD_COMMAND}`; export r; \
29444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29445 $(HOST_EXPORTS) \
29446 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29448 done; \
29449 echo "Doing install-info in expect" ; \
29450 (cd $(HOST_SUBDIR)/expect && \
29451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29453 "RANLIB=$${RANLIB}" \
29454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29455 install-info) \
29456 || exit 1
29458 @endif expect
29460 .PHONY: maybe-install-html-expect install-html-expect
29461 maybe-install-html-expect:
29462 @if expect
29463 maybe-install-html-expect: install-html-expect
29465 install-html-expect: \
29466 configure-expect \
29467 html-expect
29468 @: $(MAKE); $(unstage)
29469 @[ -f ./expect/Makefile ] || exit 0; \
29470 r=`${PWD_COMMAND}`; export r; \
29471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29472 $(HOST_EXPORTS) \
29473 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29475 done; \
29476 echo "Doing install-html in expect" ; \
29477 (cd $(HOST_SUBDIR)/expect && \
29478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29480 "RANLIB=$${RANLIB}" \
29481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29482 install-html) \
29483 || exit 1
29485 @endif expect
29487 .PHONY: maybe-installcheck-expect installcheck-expect
29488 maybe-installcheck-expect:
29489 @if expect
29490 maybe-installcheck-expect: installcheck-expect
29492 installcheck-expect: \
29493 configure-expect
29494 @: $(MAKE); $(unstage)
29495 @[ -f ./expect/Makefile ] || exit 0; \
29496 r=`${PWD_COMMAND}`; export r; \
29497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29498 $(HOST_EXPORTS) \
29499 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29501 done; \
29502 echo "Doing installcheck in expect" ; \
29503 (cd $(HOST_SUBDIR)/expect && \
29504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29506 "RANLIB=$${RANLIB}" \
29507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29508 installcheck) \
29509 || exit 1
29511 @endif expect
29513 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
29514 maybe-mostlyclean-expect:
29515 @if expect
29516 maybe-mostlyclean-expect: mostlyclean-expect
29518 mostlyclean-expect:
29519 @: $(MAKE); $(unstage)
29520 @[ -f ./expect/Makefile ] || exit 0; \
29521 r=`${PWD_COMMAND}`; export r; \
29522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29523 $(HOST_EXPORTS) \
29524 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29526 done; \
29527 echo "Doing mostlyclean in expect" ; \
29528 (cd $(HOST_SUBDIR)/expect && \
29529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29531 "RANLIB=$${RANLIB}" \
29532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29533 mostlyclean) \
29534 || exit 1
29536 @endif expect
29538 .PHONY: maybe-clean-expect clean-expect
29539 maybe-clean-expect:
29540 @if expect
29541 maybe-clean-expect: clean-expect
29543 clean-expect:
29544 @: $(MAKE); $(unstage)
29545 @[ -f ./expect/Makefile ] || exit 0; \
29546 r=`${PWD_COMMAND}`; export r; \
29547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29548 $(HOST_EXPORTS) \
29549 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29551 done; \
29552 echo "Doing clean in expect" ; \
29553 (cd $(HOST_SUBDIR)/expect && \
29554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29556 "RANLIB=$${RANLIB}" \
29557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29558 clean) \
29559 || exit 1
29561 @endif expect
29563 .PHONY: maybe-distclean-expect distclean-expect
29564 maybe-distclean-expect:
29565 @if expect
29566 maybe-distclean-expect: distclean-expect
29568 distclean-expect:
29569 @: $(MAKE); $(unstage)
29570 @[ -f ./expect/Makefile ] || exit 0; \
29571 r=`${PWD_COMMAND}`; export r; \
29572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29573 $(HOST_EXPORTS) \
29574 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29576 done; \
29577 echo "Doing distclean in expect" ; \
29578 (cd $(HOST_SUBDIR)/expect && \
29579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29581 "RANLIB=$${RANLIB}" \
29582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29583 distclean) \
29584 || exit 1
29586 @endif expect
29588 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
29589 maybe-maintainer-clean-expect:
29590 @if expect
29591 maybe-maintainer-clean-expect: maintainer-clean-expect
29593 maintainer-clean-expect:
29594 @: $(MAKE); $(unstage)
29595 @[ -f ./expect/Makefile ] || exit 0; \
29596 r=`${PWD_COMMAND}`; export r; \
29597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29598 $(HOST_EXPORTS) \
29599 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29601 done; \
29602 echo "Doing maintainer-clean in expect" ; \
29603 (cd $(HOST_SUBDIR)/expect && \
29604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29606 "RANLIB=$${RANLIB}" \
29607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29608 maintainer-clean) \
29609 || exit 1
29611 @endif expect
29615 .PHONY: configure-guile maybe-configure-guile
29616 maybe-configure-guile:
29617 @if gcc-bootstrap
29618 configure-guile: stage_current
29619 @endif gcc-bootstrap
29620 @if guile
29621 maybe-configure-guile: configure-guile
29622 configure-guile:
29623 @: $(MAKE); $(unstage)
29624 @r=`${PWD_COMMAND}`; export r; \
29625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29626 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
29627 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
29628 $(HOST_EXPORTS) \
29629 echo Configuring in $(HOST_SUBDIR)/guile; \
29630 cd "$(HOST_SUBDIR)/guile" || exit 1; \
29631 case $(srcdir) in \
29632 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29633 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
29634 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29635 esac; \
29636 srcdiroption="--srcdir=$${topdir}/guile"; \
29637 libsrcdir="$$s/guile"; \
29638 $(SHELL) $${libsrcdir}/configure \
29639 $(HOST_CONFIGARGS) $${srcdiroption} \
29640 || exit 1
29641 @endif guile
29647 .PHONY: all-guile maybe-all-guile
29648 maybe-all-guile:
29649 @if gcc-bootstrap
29650 all-guile: stage_current
29651 @endif gcc-bootstrap
29652 @if guile
29653 TARGET-guile=all
29654 maybe-all-guile: all-guile
29655 all-guile: configure-guile
29656 @: $(MAKE); $(unstage)
29657 @r=`${PWD_COMMAND}`; export r; \
29658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29659 $(HOST_EXPORTS) \
29660 (cd $(HOST_SUBDIR)/guile && \
29661 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
29662 @endif guile
29667 .PHONY: check-guile maybe-check-guile
29668 maybe-check-guile:
29669 @if guile
29670 maybe-check-guile: check-guile
29672 check-guile:
29673 @: $(MAKE); $(unstage)
29674 @r=`${PWD_COMMAND}`; export r; \
29675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29676 $(HOST_EXPORTS) \
29677 (cd $(HOST_SUBDIR)/guile && \
29678 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
29680 @endif guile
29682 .PHONY: install-guile maybe-install-guile
29683 maybe-install-guile:
29684 @if guile
29685 maybe-install-guile: install-guile
29687 install-guile: installdirs
29688 @: $(MAKE); $(unstage)
29689 @r=`${PWD_COMMAND}`; export r; \
29690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29691 $(HOST_EXPORTS) \
29692 (cd $(HOST_SUBDIR)/guile && \
29693 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
29695 @endif guile
29697 # Other targets (info, dvi, etc.)
29699 .PHONY: maybe-info-guile info-guile
29700 maybe-info-guile:
29701 @if guile
29702 maybe-info-guile: info-guile
29704 info-guile: \
29705 configure-guile
29706 @: $(MAKE); $(unstage)
29707 @[ -f ./guile/Makefile ] || exit 0; \
29708 r=`${PWD_COMMAND}`; export r; \
29709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29710 $(HOST_EXPORTS) \
29711 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29713 done; \
29714 echo "Doing info in guile" ; \
29715 (cd $(HOST_SUBDIR)/guile && \
29716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29718 "RANLIB=$${RANLIB}" \
29719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29720 info) \
29721 || exit 1
29723 @endif guile
29725 .PHONY: maybe-dvi-guile dvi-guile
29726 maybe-dvi-guile:
29727 @if guile
29728 maybe-dvi-guile: dvi-guile
29730 dvi-guile: \
29731 configure-guile
29732 @: $(MAKE); $(unstage)
29733 @[ -f ./guile/Makefile ] || exit 0; \
29734 r=`${PWD_COMMAND}`; export r; \
29735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29736 $(HOST_EXPORTS) \
29737 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29739 done; \
29740 echo "Doing dvi in guile" ; \
29741 (cd $(HOST_SUBDIR)/guile && \
29742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29744 "RANLIB=$${RANLIB}" \
29745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29746 dvi) \
29747 || exit 1
29749 @endif guile
29751 .PHONY: maybe-html-guile html-guile
29752 maybe-html-guile:
29753 @if guile
29754 maybe-html-guile: html-guile
29756 html-guile: \
29757 configure-guile
29758 @: $(MAKE); $(unstage)
29759 @[ -f ./guile/Makefile ] || exit 0; \
29760 r=`${PWD_COMMAND}`; export r; \
29761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29762 $(HOST_EXPORTS) \
29763 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29765 done; \
29766 echo "Doing html in guile" ; \
29767 (cd $(HOST_SUBDIR)/guile && \
29768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29770 "RANLIB=$${RANLIB}" \
29771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29772 html) \
29773 || exit 1
29775 @endif guile
29777 .PHONY: maybe-TAGS-guile TAGS-guile
29778 maybe-TAGS-guile:
29779 @if guile
29780 maybe-TAGS-guile: TAGS-guile
29782 TAGS-guile: \
29783 configure-guile
29784 @: $(MAKE); $(unstage)
29785 @[ -f ./guile/Makefile ] || exit 0; \
29786 r=`${PWD_COMMAND}`; export r; \
29787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29788 $(HOST_EXPORTS) \
29789 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29791 done; \
29792 echo "Doing TAGS in guile" ; \
29793 (cd $(HOST_SUBDIR)/guile && \
29794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29796 "RANLIB=$${RANLIB}" \
29797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29798 TAGS) \
29799 || exit 1
29801 @endif guile
29803 .PHONY: maybe-install-info-guile install-info-guile
29804 maybe-install-info-guile:
29805 @if guile
29806 maybe-install-info-guile: install-info-guile
29808 install-info-guile: \
29809 configure-guile \
29810 info-guile
29811 @: $(MAKE); $(unstage)
29812 @[ -f ./guile/Makefile ] || exit 0; \
29813 r=`${PWD_COMMAND}`; export r; \
29814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29815 $(HOST_EXPORTS) \
29816 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29818 done; \
29819 echo "Doing install-info in guile" ; \
29820 (cd $(HOST_SUBDIR)/guile && \
29821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29823 "RANLIB=$${RANLIB}" \
29824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29825 install-info) \
29826 || exit 1
29828 @endif guile
29830 .PHONY: maybe-install-html-guile install-html-guile
29831 maybe-install-html-guile:
29832 @if guile
29833 maybe-install-html-guile: install-html-guile
29835 install-html-guile: \
29836 configure-guile \
29837 html-guile
29838 @: $(MAKE); $(unstage)
29839 @[ -f ./guile/Makefile ] || exit 0; \
29840 r=`${PWD_COMMAND}`; export r; \
29841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29842 $(HOST_EXPORTS) \
29843 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29845 done; \
29846 echo "Doing install-html in guile" ; \
29847 (cd $(HOST_SUBDIR)/guile && \
29848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29850 "RANLIB=$${RANLIB}" \
29851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29852 install-html) \
29853 || exit 1
29855 @endif guile
29857 .PHONY: maybe-installcheck-guile installcheck-guile
29858 maybe-installcheck-guile:
29859 @if guile
29860 maybe-installcheck-guile: installcheck-guile
29862 installcheck-guile: \
29863 configure-guile
29864 @: $(MAKE); $(unstage)
29865 @[ -f ./guile/Makefile ] || exit 0; \
29866 r=`${PWD_COMMAND}`; export r; \
29867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29868 $(HOST_EXPORTS) \
29869 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29871 done; \
29872 echo "Doing installcheck in guile" ; \
29873 (cd $(HOST_SUBDIR)/guile && \
29874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29876 "RANLIB=$${RANLIB}" \
29877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29878 installcheck) \
29879 || exit 1
29881 @endif guile
29883 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
29884 maybe-mostlyclean-guile:
29885 @if guile
29886 maybe-mostlyclean-guile: mostlyclean-guile
29888 mostlyclean-guile:
29889 @: $(MAKE); $(unstage)
29890 @[ -f ./guile/Makefile ] || exit 0; \
29891 r=`${PWD_COMMAND}`; export r; \
29892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29893 $(HOST_EXPORTS) \
29894 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29896 done; \
29897 echo "Doing mostlyclean in guile" ; \
29898 (cd $(HOST_SUBDIR)/guile && \
29899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29901 "RANLIB=$${RANLIB}" \
29902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29903 mostlyclean) \
29904 || exit 1
29906 @endif guile
29908 .PHONY: maybe-clean-guile clean-guile
29909 maybe-clean-guile:
29910 @if guile
29911 maybe-clean-guile: clean-guile
29913 clean-guile:
29914 @: $(MAKE); $(unstage)
29915 @[ -f ./guile/Makefile ] || exit 0; \
29916 r=`${PWD_COMMAND}`; export r; \
29917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29918 $(HOST_EXPORTS) \
29919 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29921 done; \
29922 echo "Doing clean in guile" ; \
29923 (cd $(HOST_SUBDIR)/guile && \
29924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29926 "RANLIB=$${RANLIB}" \
29927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29928 clean) \
29929 || exit 1
29931 @endif guile
29933 .PHONY: maybe-distclean-guile distclean-guile
29934 maybe-distclean-guile:
29935 @if guile
29936 maybe-distclean-guile: distclean-guile
29938 distclean-guile:
29939 @: $(MAKE); $(unstage)
29940 @[ -f ./guile/Makefile ] || exit 0; \
29941 r=`${PWD_COMMAND}`; export r; \
29942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29943 $(HOST_EXPORTS) \
29944 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29946 done; \
29947 echo "Doing distclean in guile" ; \
29948 (cd $(HOST_SUBDIR)/guile && \
29949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29951 "RANLIB=$${RANLIB}" \
29952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29953 distclean) \
29954 || exit 1
29956 @endif guile
29958 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
29959 maybe-maintainer-clean-guile:
29960 @if guile
29961 maybe-maintainer-clean-guile: maintainer-clean-guile
29963 maintainer-clean-guile:
29964 @: $(MAKE); $(unstage)
29965 @[ -f ./guile/Makefile ] || exit 0; \
29966 r=`${PWD_COMMAND}`; export r; \
29967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29968 $(HOST_EXPORTS) \
29969 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29971 done; \
29972 echo "Doing maintainer-clean in guile" ; \
29973 (cd $(HOST_SUBDIR)/guile && \
29974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29976 "RANLIB=$${RANLIB}" \
29977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29978 maintainer-clean) \
29979 || exit 1
29981 @endif guile
29985 .PHONY: configure-tk maybe-configure-tk
29986 maybe-configure-tk:
29987 @if gcc-bootstrap
29988 configure-tk: stage_current
29989 @endif gcc-bootstrap
29990 @if tk
29991 maybe-configure-tk: configure-tk
29992 configure-tk:
29993 @: $(MAKE); $(unstage)
29994 @r=`${PWD_COMMAND}`; export r; \
29995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29996 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
29997 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
29998 $(HOST_EXPORTS) \
29999 echo Configuring in $(HOST_SUBDIR)/tk; \
30000 cd "$(HOST_SUBDIR)/tk" || exit 1; \
30001 case $(srcdir) in \
30002 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30003 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
30004 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30005 esac; \
30006 srcdiroption="--srcdir=$${topdir}/tk"; \
30007 libsrcdir="$$s/tk"; \
30008 $(SHELL) $${libsrcdir}/configure \
30009 $(HOST_CONFIGARGS) $${srcdiroption} \
30010 || exit 1
30011 @endif tk
30017 .PHONY: all-tk maybe-all-tk
30018 maybe-all-tk:
30019 @if gcc-bootstrap
30020 all-tk: stage_current
30021 @endif gcc-bootstrap
30022 @if tk
30023 TARGET-tk=all
30024 maybe-all-tk: all-tk
30025 all-tk: configure-tk
30026 @: $(MAKE); $(unstage)
30027 @r=`${PWD_COMMAND}`; export r; \
30028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30029 $(HOST_EXPORTS) \
30030 (cd $(HOST_SUBDIR)/tk && \
30031 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
30032 @endif tk
30037 .PHONY: check-tk maybe-check-tk
30038 maybe-check-tk:
30039 @if tk
30040 maybe-check-tk: check-tk
30042 check-tk:
30043 @: $(MAKE); $(unstage)
30044 @r=`${PWD_COMMAND}`; export r; \
30045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30046 $(HOST_EXPORTS) \
30047 (cd $(HOST_SUBDIR)/tk && \
30048 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
30050 @endif tk
30052 .PHONY: install-tk maybe-install-tk
30053 maybe-install-tk:
30054 @if tk
30055 maybe-install-tk: install-tk
30057 install-tk: installdirs
30058 @: $(MAKE); $(unstage)
30059 @r=`${PWD_COMMAND}`; export r; \
30060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30061 $(HOST_EXPORTS) \
30062 (cd $(HOST_SUBDIR)/tk && \
30063 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
30065 @endif tk
30067 # Other targets (info, dvi, etc.)
30069 .PHONY: maybe-info-tk info-tk
30070 maybe-info-tk:
30071 @if tk
30072 maybe-info-tk: info-tk
30074 info-tk: \
30075 configure-tk
30076 @: $(MAKE); $(unstage)
30077 @[ -f ./tk/Makefile ] || exit 0; \
30078 r=`${PWD_COMMAND}`; export r; \
30079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30080 $(HOST_EXPORTS) \
30081 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30083 done; \
30084 echo "Doing info in tk" ; \
30085 (cd $(HOST_SUBDIR)/tk && \
30086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30088 "RANLIB=$${RANLIB}" \
30089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30090 info) \
30091 || exit 1
30093 @endif tk
30095 .PHONY: maybe-dvi-tk dvi-tk
30096 maybe-dvi-tk:
30097 @if tk
30098 maybe-dvi-tk: dvi-tk
30100 dvi-tk: \
30101 configure-tk
30102 @: $(MAKE); $(unstage)
30103 @[ -f ./tk/Makefile ] || exit 0; \
30104 r=`${PWD_COMMAND}`; export r; \
30105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30106 $(HOST_EXPORTS) \
30107 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30109 done; \
30110 echo "Doing dvi in tk" ; \
30111 (cd $(HOST_SUBDIR)/tk && \
30112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30114 "RANLIB=$${RANLIB}" \
30115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30116 dvi) \
30117 || exit 1
30119 @endif tk
30121 .PHONY: maybe-html-tk html-tk
30122 maybe-html-tk:
30123 @if tk
30124 maybe-html-tk: html-tk
30126 html-tk: \
30127 configure-tk
30128 @: $(MAKE); $(unstage)
30129 @[ -f ./tk/Makefile ] || exit 0; \
30130 r=`${PWD_COMMAND}`; export r; \
30131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30132 $(HOST_EXPORTS) \
30133 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30135 done; \
30136 echo "Doing html in tk" ; \
30137 (cd $(HOST_SUBDIR)/tk && \
30138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30140 "RANLIB=$${RANLIB}" \
30141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30142 html) \
30143 || exit 1
30145 @endif tk
30147 .PHONY: maybe-TAGS-tk TAGS-tk
30148 maybe-TAGS-tk:
30149 @if tk
30150 maybe-TAGS-tk: TAGS-tk
30152 TAGS-tk: \
30153 configure-tk
30154 @: $(MAKE); $(unstage)
30155 @[ -f ./tk/Makefile ] || exit 0; \
30156 r=`${PWD_COMMAND}`; export r; \
30157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30158 $(HOST_EXPORTS) \
30159 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30161 done; \
30162 echo "Doing TAGS in tk" ; \
30163 (cd $(HOST_SUBDIR)/tk && \
30164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30166 "RANLIB=$${RANLIB}" \
30167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30168 TAGS) \
30169 || exit 1
30171 @endif tk
30173 .PHONY: maybe-install-info-tk install-info-tk
30174 maybe-install-info-tk:
30175 @if tk
30176 maybe-install-info-tk: install-info-tk
30178 install-info-tk: \
30179 configure-tk \
30180 info-tk
30181 @: $(MAKE); $(unstage)
30182 @[ -f ./tk/Makefile ] || exit 0; \
30183 r=`${PWD_COMMAND}`; export r; \
30184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30185 $(HOST_EXPORTS) \
30186 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30188 done; \
30189 echo "Doing install-info in tk" ; \
30190 (cd $(HOST_SUBDIR)/tk && \
30191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30193 "RANLIB=$${RANLIB}" \
30194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30195 install-info) \
30196 || exit 1
30198 @endif tk
30200 .PHONY: maybe-install-html-tk install-html-tk
30201 maybe-install-html-tk:
30202 @if tk
30203 maybe-install-html-tk: install-html-tk
30205 install-html-tk: \
30206 configure-tk \
30207 html-tk
30208 @: $(MAKE); $(unstage)
30209 @[ -f ./tk/Makefile ] || exit 0; \
30210 r=`${PWD_COMMAND}`; export r; \
30211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30212 $(HOST_EXPORTS) \
30213 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30215 done; \
30216 echo "Doing install-html in tk" ; \
30217 (cd $(HOST_SUBDIR)/tk && \
30218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30220 "RANLIB=$${RANLIB}" \
30221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30222 install-html) \
30223 || exit 1
30225 @endif tk
30227 .PHONY: maybe-installcheck-tk installcheck-tk
30228 maybe-installcheck-tk:
30229 @if tk
30230 maybe-installcheck-tk: installcheck-tk
30232 installcheck-tk: \
30233 configure-tk
30234 @: $(MAKE); $(unstage)
30235 @[ -f ./tk/Makefile ] || exit 0; \
30236 r=`${PWD_COMMAND}`; export r; \
30237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30238 $(HOST_EXPORTS) \
30239 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30241 done; \
30242 echo "Doing installcheck in tk" ; \
30243 (cd $(HOST_SUBDIR)/tk && \
30244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30246 "RANLIB=$${RANLIB}" \
30247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30248 installcheck) \
30249 || exit 1
30251 @endif tk
30253 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
30254 maybe-mostlyclean-tk:
30255 @if tk
30256 maybe-mostlyclean-tk: mostlyclean-tk
30258 mostlyclean-tk:
30259 @: $(MAKE); $(unstage)
30260 @[ -f ./tk/Makefile ] || exit 0; \
30261 r=`${PWD_COMMAND}`; export r; \
30262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30263 $(HOST_EXPORTS) \
30264 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30266 done; \
30267 echo "Doing mostlyclean in tk" ; \
30268 (cd $(HOST_SUBDIR)/tk && \
30269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30271 "RANLIB=$${RANLIB}" \
30272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30273 mostlyclean) \
30274 || exit 1
30276 @endif tk
30278 .PHONY: maybe-clean-tk clean-tk
30279 maybe-clean-tk:
30280 @if tk
30281 maybe-clean-tk: clean-tk
30283 clean-tk:
30284 @: $(MAKE); $(unstage)
30285 @[ -f ./tk/Makefile ] || exit 0; \
30286 r=`${PWD_COMMAND}`; export r; \
30287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30288 $(HOST_EXPORTS) \
30289 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30291 done; \
30292 echo "Doing clean in tk" ; \
30293 (cd $(HOST_SUBDIR)/tk && \
30294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30296 "RANLIB=$${RANLIB}" \
30297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30298 clean) \
30299 || exit 1
30301 @endif tk
30303 .PHONY: maybe-distclean-tk distclean-tk
30304 maybe-distclean-tk:
30305 @if tk
30306 maybe-distclean-tk: distclean-tk
30308 distclean-tk:
30309 @: $(MAKE); $(unstage)
30310 @[ -f ./tk/Makefile ] || exit 0; \
30311 r=`${PWD_COMMAND}`; export r; \
30312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30313 $(HOST_EXPORTS) \
30314 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30316 done; \
30317 echo "Doing distclean in tk" ; \
30318 (cd $(HOST_SUBDIR)/tk && \
30319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30321 "RANLIB=$${RANLIB}" \
30322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30323 distclean) \
30324 || exit 1
30326 @endif tk
30328 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
30329 maybe-maintainer-clean-tk:
30330 @if tk
30331 maybe-maintainer-clean-tk: maintainer-clean-tk
30333 maintainer-clean-tk:
30334 @: $(MAKE); $(unstage)
30335 @[ -f ./tk/Makefile ] || exit 0; \
30336 r=`${PWD_COMMAND}`; export r; \
30337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30338 $(HOST_EXPORTS) \
30339 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30341 done; \
30342 echo "Doing maintainer-clean in tk" ; \
30343 (cd $(HOST_SUBDIR)/tk && \
30344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30346 "RANLIB=$${RANLIB}" \
30347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30348 maintainer-clean) \
30349 || exit 1
30351 @endif tk
30355 .PHONY: configure-libtermcap maybe-configure-libtermcap
30356 maybe-configure-libtermcap:
30357 @if gcc-bootstrap
30358 configure-libtermcap: stage_current
30359 @endif gcc-bootstrap
30360 @if libtermcap
30361 maybe-configure-libtermcap: configure-libtermcap
30362 configure-libtermcap:
30363 @: $(MAKE); $(unstage)
30364 @r=`${PWD_COMMAND}`; export r; \
30365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30366 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
30367 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
30368 $(HOST_EXPORTS) \
30369 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
30370 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
30371 case $(srcdir) in \
30372 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30373 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
30374 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30375 esac; \
30376 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
30377 libsrcdir="$$s/libtermcap"; \
30378 $(SHELL) $${libsrcdir}/configure \
30379 $(HOST_CONFIGARGS) $${srcdiroption} \
30380 || exit 1
30381 @endif libtermcap
30387 .PHONY: all-libtermcap maybe-all-libtermcap
30388 maybe-all-libtermcap:
30389 @if gcc-bootstrap
30390 all-libtermcap: stage_current
30391 @endif gcc-bootstrap
30392 @if libtermcap
30393 TARGET-libtermcap=all
30394 maybe-all-libtermcap: all-libtermcap
30395 all-libtermcap: configure-libtermcap
30396 @: $(MAKE); $(unstage)
30397 @r=`${PWD_COMMAND}`; export r; \
30398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30399 $(HOST_EXPORTS) \
30400 (cd $(HOST_SUBDIR)/libtermcap && \
30401 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
30402 @endif libtermcap
30407 .PHONY: check-libtermcap maybe-check-libtermcap
30408 maybe-check-libtermcap:
30409 @if libtermcap
30410 maybe-check-libtermcap: check-libtermcap
30412 check-libtermcap:
30414 @endif libtermcap
30416 .PHONY: install-libtermcap maybe-install-libtermcap
30417 maybe-install-libtermcap:
30418 @if libtermcap
30419 maybe-install-libtermcap: install-libtermcap
30421 install-libtermcap: installdirs
30422 @: $(MAKE); $(unstage)
30423 @r=`${PWD_COMMAND}`; export r; \
30424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30425 $(HOST_EXPORTS) \
30426 (cd $(HOST_SUBDIR)/libtermcap && \
30427 $(MAKE) $(FLAGS_TO_PASS) install)
30429 @endif libtermcap
30431 # Other targets (info, dvi, etc.)
30433 .PHONY: maybe-info-libtermcap info-libtermcap
30434 maybe-info-libtermcap:
30435 @if libtermcap
30436 maybe-info-libtermcap: info-libtermcap
30438 info-libtermcap: \
30439 configure-libtermcap
30440 @: $(MAKE); $(unstage)
30441 @[ -f ./libtermcap/Makefile ] || exit 0; \
30442 r=`${PWD_COMMAND}`; export r; \
30443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30444 $(HOST_EXPORTS) \
30445 for flag in $(EXTRA_HOST_FLAGS) ; do \
30446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30447 done; \
30448 echo "Doing info in libtermcap" ; \
30449 (cd $(HOST_SUBDIR)/libtermcap && \
30450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30452 "RANLIB=$${RANLIB}" \
30453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30454 info) \
30455 || exit 1
30457 @endif libtermcap
30459 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
30460 maybe-dvi-libtermcap:
30461 @if libtermcap
30462 maybe-dvi-libtermcap: dvi-libtermcap
30464 dvi-libtermcap: \
30465 configure-libtermcap
30466 @: $(MAKE); $(unstage)
30467 @[ -f ./libtermcap/Makefile ] || exit 0; \
30468 r=`${PWD_COMMAND}`; export r; \
30469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30470 $(HOST_EXPORTS) \
30471 for flag in $(EXTRA_HOST_FLAGS) ; do \
30472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30473 done; \
30474 echo "Doing dvi in libtermcap" ; \
30475 (cd $(HOST_SUBDIR)/libtermcap && \
30476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30478 "RANLIB=$${RANLIB}" \
30479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30480 dvi) \
30481 || exit 1
30483 @endif libtermcap
30485 .PHONY: maybe-html-libtermcap html-libtermcap
30486 maybe-html-libtermcap:
30487 @if libtermcap
30488 maybe-html-libtermcap: html-libtermcap
30490 html-libtermcap: \
30491 configure-libtermcap
30492 @: $(MAKE); $(unstage)
30493 @[ -f ./libtermcap/Makefile ] || exit 0; \
30494 r=`${PWD_COMMAND}`; export r; \
30495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30496 $(HOST_EXPORTS) \
30497 for flag in $(EXTRA_HOST_FLAGS) ; do \
30498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30499 done; \
30500 echo "Doing html in libtermcap" ; \
30501 (cd $(HOST_SUBDIR)/libtermcap && \
30502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30504 "RANLIB=$${RANLIB}" \
30505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30506 html) \
30507 || exit 1
30509 @endif libtermcap
30511 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
30512 maybe-TAGS-libtermcap:
30513 @if libtermcap
30514 maybe-TAGS-libtermcap: TAGS-libtermcap
30516 TAGS-libtermcap: \
30517 configure-libtermcap
30518 @: $(MAKE); $(unstage)
30519 @[ -f ./libtermcap/Makefile ] || exit 0; \
30520 r=`${PWD_COMMAND}`; export r; \
30521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30522 $(HOST_EXPORTS) \
30523 for flag in $(EXTRA_HOST_FLAGS) ; do \
30524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30525 done; \
30526 echo "Doing TAGS in libtermcap" ; \
30527 (cd $(HOST_SUBDIR)/libtermcap && \
30528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30530 "RANLIB=$${RANLIB}" \
30531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30532 TAGS) \
30533 || exit 1
30535 @endif libtermcap
30537 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
30538 maybe-install-info-libtermcap:
30539 @if libtermcap
30540 maybe-install-info-libtermcap: install-info-libtermcap
30542 install-info-libtermcap: \
30543 configure-libtermcap \
30544 info-libtermcap
30545 @: $(MAKE); $(unstage)
30546 @[ -f ./libtermcap/Makefile ] || exit 0; \
30547 r=`${PWD_COMMAND}`; export r; \
30548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30549 $(HOST_EXPORTS) \
30550 for flag in $(EXTRA_HOST_FLAGS) ; do \
30551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30552 done; \
30553 echo "Doing install-info in libtermcap" ; \
30554 (cd $(HOST_SUBDIR)/libtermcap && \
30555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30557 "RANLIB=$${RANLIB}" \
30558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30559 install-info) \
30560 || exit 1
30562 @endif libtermcap
30564 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
30565 maybe-install-html-libtermcap:
30566 @if libtermcap
30567 maybe-install-html-libtermcap: install-html-libtermcap
30569 install-html-libtermcap: \
30570 configure-libtermcap \
30571 html-libtermcap
30572 @: $(MAKE); $(unstage)
30573 @[ -f ./libtermcap/Makefile ] || exit 0; \
30574 r=`${PWD_COMMAND}`; export r; \
30575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30576 $(HOST_EXPORTS) \
30577 for flag in $(EXTRA_HOST_FLAGS) ; do \
30578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30579 done; \
30580 echo "Doing install-html in libtermcap" ; \
30581 (cd $(HOST_SUBDIR)/libtermcap && \
30582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30584 "RANLIB=$${RANLIB}" \
30585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30586 install-html) \
30587 || exit 1
30589 @endif libtermcap
30591 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
30592 maybe-installcheck-libtermcap:
30593 @if libtermcap
30594 maybe-installcheck-libtermcap: installcheck-libtermcap
30596 installcheck-libtermcap: \
30597 configure-libtermcap
30598 @: $(MAKE); $(unstage)
30599 @[ -f ./libtermcap/Makefile ] || exit 0; \
30600 r=`${PWD_COMMAND}`; export r; \
30601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30602 $(HOST_EXPORTS) \
30603 for flag in $(EXTRA_HOST_FLAGS) ; do \
30604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30605 done; \
30606 echo "Doing installcheck in libtermcap" ; \
30607 (cd $(HOST_SUBDIR)/libtermcap && \
30608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30610 "RANLIB=$${RANLIB}" \
30611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30612 installcheck) \
30613 || exit 1
30615 @endif libtermcap
30617 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
30618 maybe-mostlyclean-libtermcap:
30619 @if libtermcap
30620 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
30622 # libtermcap doesn't support mostlyclean.
30623 mostlyclean-libtermcap:
30625 @endif libtermcap
30627 .PHONY: maybe-clean-libtermcap clean-libtermcap
30628 maybe-clean-libtermcap:
30629 @if libtermcap
30630 maybe-clean-libtermcap: clean-libtermcap
30632 # libtermcap doesn't support clean.
30633 clean-libtermcap:
30635 @endif libtermcap
30637 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
30638 maybe-distclean-libtermcap:
30639 @if libtermcap
30640 maybe-distclean-libtermcap: distclean-libtermcap
30642 # libtermcap doesn't support distclean.
30643 distclean-libtermcap:
30645 @endif libtermcap
30647 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
30648 maybe-maintainer-clean-libtermcap:
30649 @if libtermcap
30650 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
30652 # libtermcap doesn't support maintainer-clean.
30653 maintainer-clean-libtermcap:
30655 @endif libtermcap
30659 .PHONY: configure-utils maybe-configure-utils
30660 maybe-configure-utils:
30661 @if gcc-bootstrap
30662 configure-utils: stage_current
30663 @endif gcc-bootstrap
30664 @if utils
30665 maybe-configure-utils: configure-utils
30666 configure-utils:
30667 @: $(MAKE); $(unstage)
30668 @r=`${PWD_COMMAND}`; export r; \
30669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30670 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
30671 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
30672 $(HOST_EXPORTS) \
30673 echo Configuring in $(HOST_SUBDIR)/utils; \
30674 cd "$(HOST_SUBDIR)/utils" || exit 1; \
30675 case $(srcdir) in \
30676 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30677 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
30678 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30679 esac; \
30680 srcdiroption="--srcdir=$${topdir}/utils"; \
30681 libsrcdir="$$s/utils"; \
30682 $(SHELL) $${libsrcdir}/configure \
30683 $(HOST_CONFIGARGS) $${srcdiroption} \
30684 || exit 1
30685 @endif utils
30691 .PHONY: all-utils maybe-all-utils
30692 maybe-all-utils:
30693 @if gcc-bootstrap
30694 all-utils: stage_current
30695 @endif gcc-bootstrap
30696 @if utils
30697 TARGET-utils=all
30698 maybe-all-utils: all-utils
30699 all-utils: configure-utils
30700 @: $(MAKE); $(unstage)
30701 @r=`${PWD_COMMAND}`; export r; \
30702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30703 $(HOST_EXPORTS) \
30704 (cd $(HOST_SUBDIR)/utils && \
30705 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
30706 @endif utils
30711 .PHONY: check-utils maybe-check-utils
30712 maybe-check-utils:
30713 @if utils
30714 maybe-check-utils: check-utils
30716 check-utils:
30718 @endif utils
30720 .PHONY: install-utils maybe-install-utils
30721 maybe-install-utils:
30722 @if utils
30723 maybe-install-utils: install-utils
30725 install-utils: installdirs
30726 @: $(MAKE); $(unstage)
30727 @r=`${PWD_COMMAND}`; export r; \
30728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30729 $(HOST_EXPORTS) \
30730 (cd $(HOST_SUBDIR)/utils && \
30731 $(MAKE) $(FLAGS_TO_PASS) install)
30733 @endif utils
30735 # Other targets (info, dvi, etc.)
30737 .PHONY: maybe-info-utils info-utils
30738 maybe-info-utils:
30739 @if utils
30740 maybe-info-utils: info-utils
30742 info-utils: \
30743 configure-utils
30744 @: $(MAKE); $(unstage)
30745 @[ -f ./utils/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 info in utils" ; \
30753 (cd $(HOST_SUBDIR)/utils && \
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 info) \
30759 || exit 1
30761 @endif utils
30763 .PHONY: maybe-dvi-utils dvi-utils
30764 maybe-dvi-utils:
30765 @if utils
30766 maybe-dvi-utils: dvi-utils
30768 dvi-utils: \
30769 configure-utils
30770 @: $(MAKE); $(unstage)
30771 @[ -f ./utils/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 dvi in utils" ; \
30779 (cd $(HOST_SUBDIR)/utils && \
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 dvi) \
30785 || exit 1
30787 @endif utils
30789 .PHONY: maybe-html-utils html-utils
30790 maybe-html-utils:
30791 @if utils
30792 maybe-html-utils: html-utils
30794 html-utils: \
30795 configure-utils
30796 @: $(MAKE); $(unstage)
30797 @[ -f ./utils/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 html in utils" ; \
30805 (cd $(HOST_SUBDIR)/utils && \
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 html) \
30811 || exit 1
30813 @endif utils
30815 .PHONY: maybe-TAGS-utils TAGS-utils
30816 maybe-TAGS-utils:
30817 @if utils
30818 maybe-TAGS-utils: TAGS-utils
30820 TAGS-utils: \
30821 configure-utils
30822 @: $(MAKE); $(unstage)
30823 @[ -f ./utils/Makefile ] || exit 0; \
30824 r=`${PWD_COMMAND}`; export r; \
30825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30826 $(HOST_EXPORTS) \
30827 for flag in $(EXTRA_HOST_FLAGS) ; do \
30828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30829 done; \
30830 echo "Doing TAGS in utils" ; \
30831 (cd $(HOST_SUBDIR)/utils && \
30832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30834 "RANLIB=$${RANLIB}" \
30835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30836 TAGS) \
30837 || exit 1
30839 @endif utils
30841 .PHONY: maybe-install-info-utils install-info-utils
30842 maybe-install-info-utils:
30843 @if utils
30844 maybe-install-info-utils: install-info-utils
30846 install-info-utils: \
30847 configure-utils \
30848 info-utils
30849 @: $(MAKE); $(unstage)
30850 @[ -f ./utils/Makefile ] || exit 0; \
30851 r=`${PWD_COMMAND}`; export r; \
30852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30853 $(HOST_EXPORTS) \
30854 for flag in $(EXTRA_HOST_FLAGS) ; do \
30855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30856 done; \
30857 echo "Doing install-info in utils" ; \
30858 (cd $(HOST_SUBDIR)/utils && \
30859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30861 "RANLIB=$${RANLIB}" \
30862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30863 install-info) \
30864 || exit 1
30866 @endif utils
30868 .PHONY: maybe-install-html-utils install-html-utils
30869 maybe-install-html-utils:
30870 @if utils
30871 maybe-install-html-utils: install-html-utils
30873 install-html-utils: \
30874 configure-utils \
30875 html-utils
30876 @: $(MAKE); $(unstage)
30877 @[ -f ./utils/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 install-html in utils" ; \
30885 (cd $(HOST_SUBDIR)/utils && \
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 install-html) \
30891 || exit 1
30893 @endif utils
30895 .PHONY: maybe-installcheck-utils installcheck-utils
30896 maybe-installcheck-utils:
30897 @if utils
30898 maybe-installcheck-utils: installcheck-utils
30900 installcheck-utils: \
30901 configure-utils
30902 @: $(MAKE); $(unstage)
30903 @[ -f ./utils/Makefile ] || exit 0; \
30904 r=`${PWD_COMMAND}`; export r; \
30905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30906 $(HOST_EXPORTS) \
30907 for flag in $(EXTRA_HOST_FLAGS) ; do \
30908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30909 done; \
30910 echo "Doing installcheck in utils" ; \
30911 (cd $(HOST_SUBDIR)/utils && \
30912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30914 "RANLIB=$${RANLIB}" \
30915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30916 installcheck) \
30917 || exit 1
30919 @endif utils
30921 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
30922 maybe-mostlyclean-utils:
30923 @if utils
30924 maybe-mostlyclean-utils: mostlyclean-utils
30926 mostlyclean-utils:
30927 @: $(MAKE); $(unstage)
30928 @[ -f ./utils/Makefile ] || exit 0; \
30929 r=`${PWD_COMMAND}`; export r; \
30930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30931 $(HOST_EXPORTS) \
30932 for flag in $(EXTRA_HOST_FLAGS) ; do \
30933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30934 done; \
30935 echo "Doing mostlyclean in utils" ; \
30936 (cd $(HOST_SUBDIR)/utils && \
30937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30939 "RANLIB=$${RANLIB}" \
30940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30941 mostlyclean) \
30942 || exit 1
30944 @endif utils
30946 .PHONY: maybe-clean-utils clean-utils
30947 maybe-clean-utils:
30948 @if utils
30949 maybe-clean-utils: clean-utils
30951 clean-utils:
30952 @: $(MAKE); $(unstage)
30953 @[ -f ./utils/Makefile ] || exit 0; \
30954 r=`${PWD_COMMAND}`; export r; \
30955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30956 $(HOST_EXPORTS) \
30957 for flag in $(EXTRA_HOST_FLAGS) ; do \
30958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30959 done; \
30960 echo "Doing clean in utils" ; \
30961 (cd $(HOST_SUBDIR)/utils && \
30962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30964 "RANLIB=$${RANLIB}" \
30965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30966 clean) \
30967 || exit 1
30969 @endif utils
30971 .PHONY: maybe-distclean-utils distclean-utils
30972 maybe-distclean-utils:
30973 @if utils
30974 maybe-distclean-utils: distclean-utils
30976 distclean-utils:
30977 @: $(MAKE); $(unstage)
30978 @[ -f ./utils/Makefile ] || exit 0; \
30979 r=`${PWD_COMMAND}`; export r; \
30980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30981 $(HOST_EXPORTS) \
30982 for flag in $(EXTRA_HOST_FLAGS) ; do \
30983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30984 done; \
30985 echo "Doing distclean in utils" ; \
30986 (cd $(HOST_SUBDIR)/utils && \
30987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30989 "RANLIB=$${RANLIB}" \
30990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30991 distclean) \
30992 || exit 1
30994 @endif utils
30996 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
30997 maybe-maintainer-clean-utils:
30998 @if utils
30999 maybe-maintainer-clean-utils: maintainer-clean-utils
31001 maintainer-clean-utils:
31002 @: $(MAKE); $(unstage)
31003 @[ -f ./utils/Makefile ] || exit 0; \
31004 r=`${PWD_COMMAND}`; export r; \
31005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31006 $(HOST_EXPORTS) \
31007 for flag in $(EXTRA_HOST_FLAGS) ; do \
31008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31009 done; \
31010 echo "Doing maintainer-clean in utils" ; \
31011 (cd $(HOST_SUBDIR)/utils && \
31012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31014 "RANLIB=$${RANLIB}" \
31015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31016 maintainer-clean) \
31017 || exit 1
31019 @endif utils
31023 .PHONY: configure-gnattools maybe-configure-gnattools
31024 maybe-configure-gnattools:
31025 @if gcc-bootstrap
31026 configure-gnattools: stage_current
31027 @endif gcc-bootstrap
31028 @if gnattools
31029 maybe-configure-gnattools: configure-gnattools
31030 configure-gnattools:
31031 @: $(MAKE); $(unstage)
31032 @r=`${PWD_COMMAND}`; export r; \
31033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31034 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
31035 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
31036 $(HOST_EXPORTS) \
31037 echo Configuring in $(HOST_SUBDIR)/gnattools; \
31038 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
31039 case $(srcdir) in \
31040 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31041 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
31042 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31043 esac; \
31044 srcdiroption="--srcdir=$${topdir}/gnattools"; \
31045 libsrcdir="$$s/gnattools"; \
31046 $(SHELL) $${libsrcdir}/configure \
31047 $(HOST_CONFIGARGS) $${srcdiroption} \
31048 || exit 1
31049 @endif gnattools
31055 .PHONY: all-gnattools maybe-all-gnattools
31056 maybe-all-gnattools:
31057 @if gcc-bootstrap
31058 all-gnattools: stage_current
31059 @endif gcc-bootstrap
31060 @if gnattools
31061 TARGET-gnattools=all
31062 maybe-all-gnattools: all-gnattools
31063 all-gnattools: configure-gnattools
31064 @: $(MAKE); $(unstage)
31065 @r=`${PWD_COMMAND}`; export r; \
31066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31067 $(HOST_EXPORTS) \
31068 (cd $(HOST_SUBDIR)/gnattools && \
31069 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
31070 @endif gnattools
31075 .PHONY: check-gnattools maybe-check-gnattools
31076 maybe-check-gnattools:
31077 @if gnattools
31078 maybe-check-gnattools: check-gnattools
31080 check-gnattools:
31081 @: $(MAKE); $(unstage)
31082 @r=`${PWD_COMMAND}`; export r; \
31083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31084 $(HOST_EXPORTS) \
31085 (cd $(HOST_SUBDIR)/gnattools && \
31086 $(MAKE) $(FLAGS_TO_PASS) check)
31088 @endif gnattools
31090 .PHONY: install-gnattools maybe-install-gnattools
31091 maybe-install-gnattools:
31092 @if gnattools
31093 maybe-install-gnattools: install-gnattools
31095 install-gnattools: installdirs
31096 @: $(MAKE); $(unstage)
31097 @r=`${PWD_COMMAND}`; export r; \
31098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31099 $(HOST_EXPORTS) \
31100 (cd $(HOST_SUBDIR)/gnattools && \
31101 $(MAKE) $(FLAGS_TO_PASS) install)
31103 @endif gnattools
31105 # Other targets (info, dvi, etc.)
31107 .PHONY: maybe-info-gnattools info-gnattools
31108 maybe-info-gnattools:
31109 @if gnattools
31110 maybe-info-gnattools: info-gnattools
31112 info-gnattools: \
31113 configure-gnattools
31114 @: $(MAKE); $(unstage)
31115 @[ -f ./gnattools/Makefile ] || exit 0; \
31116 r=`${PWD_COMMAND}`; export r; \
31117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31118 $(HOST_EXPORTS) \
31119 for flag in $(EXTRA_HOST_FLAGS) ; do \
31120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31121 done; \
31122 echo "Doing info in gnattools" ; \
31123 (cd $(HOST_SUBDIR)/gnattools && \
31124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31126 "RANLIB=$${RANLIB}" \
31127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31128 info) \
31129 || exit 1
31131 @endif gnattools
31133 .PHONY: maybe-dvi-gnattools dvi-gnattools
31134 maybe-dvi-gnattools:
31135 @if gnattools
31136 maybe-dvi-gnattools: dvi-gnattools
31138 dvi-gnattools: \
31139 configure-gnattools
31140 @: $(MAKE); $(unstage)
31141 @[ -f ./gnattools/Makefile ] || exit 0; \
31142 r=`${PWD_COMMAND}`; export r; \
31143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31144 $(HOST_EXPORTS) \
31145 for flag in $(EXTRA_HOST_FLAGS) ; do \
31146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31147 done; \
31148 echo "Doing dvi in gnattools" ; \
31149 (cd $(HOST_SUBDIR)/gnattools && \
31150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31152 "RANLIB=$${RANLIB}" \
31153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31154 dvi) \
31155 || exit 1
31157 @endif gnattools
31159 .PHONY: maybe-html-gnattools html-gnattools
31160 maybe-html-gnattools:
31161 @if gnattools
31162 maybe-html-gnattools: html-gnattools
31164 html-gnattools: \
31165 configure-gnattools
31166 @: $(MAKE); $(unstage)
31167 @[ -f ./gnattools/Makefile ] || exit 0; \
31168 r=`${PWD_COMMAND}`; export r; \
31169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31170 $(HOST_EXPORTS) \
31171 for flag in $(EXTRA_HOST_FLAGS) ; do \
31172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31173 done; \
31174 echo "Doing html in gnattools" ; \
31175 (cd $(HOST_SUBDIR)/gnattools && \
31176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31178 "RANLIB=$${RANLIB}" \
31179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31180 html) \
31181 || exit 1
31183 @endif gnattools
31185 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
31186 maybe-TAGS-gnattools:
31187 @if gnattools
31188 maybe-TAGS-gnattools: TAGS-gnattools
31190 TAGS-gnattools: \
31191 configure-gnattools
31192 @: $(MAKE); $(unstage)
31193 @[ -f ./gnattools/Makefile ] || exit 0; \
31194 r=`${PWD_COMMAND}`; export r; \
31195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31196 $(HOST_EXPORTS) \
31197 for flag in $(EXTRA_HOST_FLAGS) ; do \
31198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31199 done; \
31200 echo "Doing TAGS in gnattools" ; \
31201 (cd $(HOST_SUBDIR)/gnattools && \
31202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31204 "RANLIB=$${RANLIB}" \
31205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31206 TAGS) \
31207 || exit 1
31209 @endif gnattools
31211 .PHONY: maybe-install-info-gnattools install-info-gnattools
31212 maybe-install-info-gnattools:
31213 @if gnattools
31214 maybe-install-info-gnattools: install-info-gnattools
31216 install-info-gnattools: \
31217 configure-gnattools \
31218 info-gnattools
31219 @: $(MAKE); $(unstage)
31220 @[ -f ./gnattools/Makefile ] || exit 0; \
31221 r=`${PWD_COMMAND}`; export r; \
31222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31223 $(HOST_EXPORTS) \
31224 for flag in $(EXTRA_HOST_FLAGS) ; do \
31225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31226 done; \
31227 echo "Doing install-info in gnattools" ; \
31228 (cd $(HOST_SUBDIR)/gnattools && \
31229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31231 "RANLIB=$${RANLIB}" \
31232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31233 install-info) \
31234 || exit 1
31236 @endif gnattools
31238 .PHONY: maybe-install-html-gnattools install-html-gnattools
31239 maybe-install-html-gnattools:
31240 @if gnattools
31241 maybe-install-html-gnattools: install-html-gnattools
31243 install-html-gnattools: \
31244 configure-gnattools \
31245 html-gnattools
31246 @: $(MAKE); $(unstage)
31247 @[ -f ./gnattools/Makefile ] || exit 0; \
31248 r=`${PWD_COMMAND}`; export r; \
31249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31250 $(HOST_EXPORTS) \
31251 for flag in $(EXTRA_HOST_FLAGS) ; do \
31252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31253 done; \
31254 echo "Doing install-html in gnattools" ; \
31255 (cd $(HOST_SUBDIR)/gnattools && \
31256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31258 "RANLIB=$${RANLIB}" \
31259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31260 install-html) \
31261 || exit 1
31263 @endif gnattools
31265 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
31266 maybe-installcheck-gnattools:
31267 @if gnattools
31268 maybe-installcheck-gnattools: installcheck-gnattools
31270 installcheck-gnattools: \
31271 configure-gnattools
31272 @: $(MAKE); $(unstage)
31273 @[ -f ./gnattools/Makefile ] || exit 0; \
31274 r=`${PWD_COMMAND}`; export r; \
31275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31276 $(HOST_EXPORTS) \
31277 for flag in $(EXTRA_HOST_FLAGS) ; do \
31278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31279 done; \
31280 echo "Doing installcheck in gnattools" ; \
31281 (cd $(HOST_SUBDIR)/gnattools && \
31282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31284 "RANLIB=$${RANLIB}" \
31285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31286 installcheck) \
31287 || exit 1
31289 @endif gnattools
31291 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
31292 maybe-mostlyclean-gnattools:
31293 @if gnattools
31294 maybe-mostlyclean-gnattools: mostlyclean-gnattools
31296 mostlyclean-gnattools:
31297 @: $(MAKE); $(unstage)
31298 @[ -f ./gnattools/Makefile ] || exit 0; \
31299 r=`${PWD_COMMAND}`; export r; \
31300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31301 $(HOST_EXPORTS) \
31302 for flag in $(EXTRA_HOST_FLAGS) ; do \
31303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31304 done; \
31305 echo "Doing mostlyclean in gnattools" ; \
31306 (cd $(HOST_SUBDIR)/gnattools && \
31307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31309 "RANLIB=$${RANLIB}" \
31310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31311 mostlyclean) \
31312 || exit 1
31314 @endif gnattools
31316 .PHONY: maybe-clean-gnattools clean-gnattools
31317 maybe-clean-gnattools:
31318 @if gnattools
31319 maybe-clean-gnattools: clean-gnattools
31321 clean-gnattools:
31322 @: $(MAKE); $(unstage)
31323 @[ -f ./gnattools/Makefile ] || exit 0; \
31324 r=`${PWD_COMMAND}`; export r; \
31325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31326 $(HOST_EXPORTS) \
31327 for flag in $(EXTRA_HOST_FLAGS) ; do \
31328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31329 done; \
31330 echo "Doing clean in gnattools" ; \
31331 (cd $(HOST_SUBDIR)/gnattools && \
31332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31334 "RANLIB=$${RANLIB}" \
31335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31336 clean) \
31337 || exit 1
31339 @endif gnattools
31341 .PHONY: maybe-distclean-gnattools distclean-gnattools
31342 maybe-distclean-gnattools:
31343 @if gnattools
31344 maybe-distclean-gnattools: distclean-gnattools
31346 distclean-gnattools:
31347 @: $(MAKE); $(unstage)
31348 @[ -f ./gnattools/Makefile ] || exit 0; \
31349 r=`${PWD_COMMAND}`; export r; \
31350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31351 $(HOST_EXPORTS) \
31352 for flag in $(EXTRA_HOST_FLAGS) ; do \
31353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31354 done; \
31355 echo "Doing distclean in gnattools" ; \
31356 (cd $(HOST_SUBDIR)/gnattools && \
31357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31359 "RANLIB=$${RANLIB}" \
31360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31361 distclean) \
31362 || exit 1
31364 @endif gnattools
31366 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
31367 maybe-maintainer-clean-gnattools:
31368 @if gnattools
31369 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
31371 maintainer-clean-gnattools:
31372 @: $(MAKE); $(unstage)
31373 @[ -f ./gnattools/Makefile ] || exit 0; \
31374 r=`${PWD_COMMAND}`; export r; \
31375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31376 $(HOST_EXPORTS) \
31377 for flag in $(EXTRA_HOST_FLAGS) ; do \
31378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31379 done; \
31380 echo "Doing maintainer-clean in gnattools" ; \
31381 (cd $(HOST_SUBDIR)/gnattools && \
31382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31384 "RANLIB=$${RANLIB}" \
31385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31386 maintainer-clean) \
31387 || exit 1
31389 @endif gnattools
31393 # ---------------------------------------
31394 # Modules which run on the target machine
31395 # ---------------------------------------
31400 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
31401 maybe-configure-target-libstdc++-v3:
31402 @if gcc-bootstrap
31403 configure-target-libstdc++-v3: stage_current
31404 @endif gcc-bootstrap
31405 @if target-libstdc++-v3
31406 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
31407 configure-target-libstdc++-v3:
31408 @: $(MAKE); $(unstage)
31409 @r=`${PWD_COMMAND}`; export r; \
31410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31411 echo "Checking multilib configuration for libstdc++-v3..."; \
31412 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31413 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31414 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31415 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31416 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31417 else \
31418 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31419 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31420 fi; \
31421 else \
31422 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31423 fi; \
31424 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31425 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31426 $(RAW_CXX_TARGET_EXPORTS) \
31427 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
31428 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
31429 case $(srcdir) in \
31430 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31431 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31432 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31433 esac; \
31434 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31435 libsrcdir="$$s/libstdc++-v3"; \
31436 rm -f no-such-file || : ; \
31437 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31438 $(TARGET_CONFIGARGS) $${srcdiroption} \
31439 || exit 1
31440 @endif target-libstdc++-v3
31446 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
31447 maybe-all-target-libstdc++-v3:
31448 @if gcc-bootstrap
31449 all-target-libstdc++-v3: stage_current
31450 @endif gcc-bootstrap
31451 @if target-libstdc++-v3
31452 TARGET-target-libstdc++-v3=all
31453 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
31454 all-target-libstdc++-v3: configure-target-libstdc++-v3
31455 @: $(MAKE); $(unstage)
31456 @r=`${PWD_COMMAND}`; export r; \
31457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31458 $(RAW_CXX_TARGET_EXPORTS) \
31459 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31460 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
31461 @endif target-libstdc++-v3
31467 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
31468 maybe-check-target-libstdc++-v3:
31469 @if target-libstdc++-v3
31470 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
31472 check-target-libstdc++-v3:
31473 @: $(MAKE); $(unstage)
31474 @r=`${PWD_COMMAND}`; export r; \
31475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31476 $(RAW_CXX_TARGET_EXPORTS) \
31477 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31478 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
31480 @endif target-libstdc++-v3
31482 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
31483 maybe-install-target-libstdc++-v3:
31484 @if target-libstdc++-v3
31485 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
31487 install-target-libstdc++-v3: installdirs
31488 @: $(MAKE); $(unstage)
31489 @r=`${PWD_COMMAND}`; export r; \
31490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31491 $(RAW_CXX_TARGET_EXPORTS) \
31492 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31493 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31495 @endif target-libstdc++-v3
31497 # Other targets (info, dvi, etc.)
31499 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
31500 maybe-info-target-libstdc++-v3:
31501 @if target-libstdc++-v3
31502 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
31504 info-target-libstdc++-v3: \
31505 configure-target-libstdc++-v3
31506 @: $(MAKE); $(unstage)
31507 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31508 r=`${PWD_COMMAND}`; export r; \
31509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31510 $(RAW_CXX_TARGET_EXPORTS) \
31511 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31512 for flag in $(EXTRA_TARGET_FLAGS); do \
31513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31514 done; \
31515 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31518 "RANLIB=$${RANLIB}" \
31519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31520 info) \
31521 || exit 1
31523 @endif target-libstdc++-v3
31525 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
31526 maybe-dvi-target-libstdc++-v3:
31527 @if target-libstdc++-v3
31528 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
31530 dvi-target-libstdc++-v3: \
31531 configure-target-libstdc++-v3
31532 @: $(MAKE); $(unstage)
31533 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31534 r=`${PWD_COMMAND}`; export r; \
31535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31536 $(RAW_CXX_TARGET_EXPORTS) \
31537 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31538 for flag in $(EXTRA_TARGET_FLAGS); do \
31539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31540 done; \
31541 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31544 "RANLIB=$${RANLIB}" \
31545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31546 dvi) \
31547 || exit 1
31549 @endif target-libstdc++-v3
31551 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
31552 maybe-html-target-libstdc++-v3:
31553 @if target-libstdc++-v3
31554 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
31556 html-target-libstdc++-v3: \
31557 configure-target-libstdc++-v3
31558 @: $(MAKE); $(unstage)
31559 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31560 r=`${PWD_COMMAND}`; export r; \
31561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31562 $(RAW_CXX_TARGET_EXPORTS) \
31563 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31564 for flag in $(EXTRA_TARGET_FLAGS); do \
31565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31566 done; \
31567 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31570 "RANLIB=$${RANLIB}" \
31571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31572 html) \
31573 || exit 1
31575 @endif target-libstdc++-v3
31577 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
31578 maybe-TAGS-target-libstdc++-v3:
31579 @if target-libstdc++-v3
31580 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
31582 TAGS-target-libstdc++-v3: \
31583 configure-target-libstdc++-v3
31584 @: $(MAKE); $(unstage)
31585 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31586 r=`${PWD_COMMAND}`; export r; \
31587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31588 $(RAW_CXX_TARGET_EXPORTS) \
31589 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31590 for flag in $(EXTRA_TARGET_FLAGS); do \
31591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31592 done; \
31593 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31596 "RANLIB=$${RANLIB}" \
31597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31598 TAGS) \
31599 || exit 1
31601 @endif target-libstdc++-v3
31603 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
31604 maybe-install-info-target-libstdc++-v3:
31605 @if target-libstdc++-v3
31606 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
31608 install-info-target-libstdc++-v3: \
31609 configure-target-libstdc++-v3 \
31610 info-target-libstdc++-v3
31611 @: $(MAKE); $(unstage)
31612 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31613 r=`${PWD_COMMAND}`; export r; \
31614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31615 $(RAW_CXX_TARGET_EXPORTS) \
31616 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31617 for flag in $(EXTRA_TARGET_FLAGS); do \
31618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31619 done; \
31620 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31623 "RANLIB=$${RANLIB}" \
31624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31625 install-info) \
31626 || exit 1
31628 @endif target-libstdc++-v3
31630 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
31631 maybe-install-html-target-libstdc++-v3:
31632 @if target-libstdc++-v3
31633 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
31635 install-html-target-libstdc++-v3: \
31636 configure-target-libstdc++-v3 \
31637 html-target-libstdc++-v3
31638 @: $(MAKE); $(unstage)
31639 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31640 r=`${PWD_COMMAND}`; export r; \
31641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31642 $(RAW_CXX_TARGET_EXPORTS) \
31643 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31644 for flag in $(EXTRA_TARGET_FLAGS); do \
31645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31646 done; \
31647 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31650 "RANLIB=$${RANLIB}" \
31651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31652 install-html) \
31653 || exit 1
31655 @endif target-libstdc++-v3
31657 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
31658 maybe-installcheck-target-libstdc++-v3:
31659 @if target-libstdc++-v3
31660 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
31662 installcheck-target-libstdc++-v3: \
31663 configure-target-libstdc++-v3
31664 @: $(MAKE); $(unstage)
31665 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31666 r=`${PWD_COMMAND}`; export r; \
31667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31668 $(RAW_CXX_TARGET_EXPORTS) \
31669 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31670 for flag in $(EXTRA_TARGET_FLAGS); do \
31671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31672 done; \
31673 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31676 "RANLIB=$${RANLIB}" \
31677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31678 installcheck) \
31679 || exit 1
31681 @endif target-libstdc++-v3
31683 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
31684 maybe-mostlyclean-target-libstdc++-v3:
31685 @if target-libstdc++-v3
31686 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
31688 mostlyclean-target-libstdc++-v3:
31689 @: $(MAKE); $(unstage)
31690 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31691 r=`${PWD_COMMAND}`; export r; \
31692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31693 $(RAW_CXX_TARGET_EXPORTS) \
31694 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31695 for flag in $(EXTRA_TARGET_FLAGS); do \
31696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31697 done; \
31698 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31701 "RANLIB=$${RANLIB}" \
31702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31703 mostlyclean) \
31704 || exit 1
31706 @endif target-libstdc++-v3
31708 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
31709 maybe-clean-target-libstdc++-v3:
31710 @if target-libstdc++-v3
31711 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
31713 clean-target-libstdc++-v3:
31714 @: $(MAKE); $(unstage)
31715 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31716 r=`${PWD_COMMAND}`; export r; \
31717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31718 $(RAW_CXX_TARGET_EXPORTS) \
31719 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31720 for flag in $(EXTRA_TARGET_FLAGS); do \
31721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31722 done; \
31723 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31726 "RANLIB=$${RANLIB}" \
31727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31728 clean) \
31729 || exit 1
31731 @endif target-libstdc++-v3
31733 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
31734 maybe-distclean-target-libstdc++-v3:
31735 @if target-libstdc++-v3
31736 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
31738 distclean-target-libstdc++-v3:
31739 @: $(MAKE); $(unstage)
31740 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31741 r=`${PWD_COMMAND}`; export r; \
31742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31743 $(RAW_CXX_TARGET_EXPORTS) \
31744 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31745 for flag in $(EXTRA_TARGET_FLAGS); do \
31746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31747 done; \
31748 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31751 "RANLIB=$${RANLIB}" \
31752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31753 distclean) \
31754 || exit 1
31756 @endif target-libstdc++-v3
31758 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
31759 maybe-maintainer-clean-target-libstdc++-v3:
31760 @if target-libstdc++-v3
31761 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
31763 maintainer-clean-target-libstdc++-v3:
31764 @: $(MAKE); $(unstage)
31765 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31766 r=`${PWD_COMMAND}`; export r; \
31767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31768 $(RAW_CXX_TARGET_EXPORTS) \
31769 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31770 for flag in $(EXTRA_TARGET_FLAGS); do \
31771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31772 done; \
31773 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31776 "RANLIB=$${RANLIB}" \
31777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31778 maintainer-clean) \
31779 || exit 1
31781 @endif target-libstdc++-v3
31787 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
31788 maybe-configure-target-libmudflap:
31789 @if gcc-bootstrap
31790 configure-target-libmudflap: stage_current
31791 @endif gcc-bootstrap
31792 @if target-libmudflap
31793 maybe-configure-target-libmudflap: configure-target-libmudflap
31794 configure-target-libmudflap:
31795 @: $(MAKE); $(unstage)
31796 @r=`${PWD_COMMAND}`; export r; \
31797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31798 echo "Checking multilib configuration for libmudflap..."; \
31799 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
31800 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
31801 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
31802 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
31803 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
31804 else \
31805 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
31806 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
31807 fi; \
31808 else \
31809 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
31810 fi; \
31811 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
31812 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
31813 $(NORMAL_TARGET_EXPORTS) \
31814 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
31815 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
31816 case $(srcdir) in \
31817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31818 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
31819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31820 esac; \
31821 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
31822 libsrcdir="$$s/libmudflap"; \
31823 rm -f no-such-file || : ; \
31824 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31825 $(TARGET_CONFIGARGS) $${srcdiroption} \
31826 || exit 1
31827 @endif target-libmudflap
31833 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
31834 maybe-all-target-libmudflap:
31835 @if gcc-bootstrap
31836 all-target-libmudflap: stage_current
31837 @endif gcc-bootstrap
31838 @if target-libmudflap
31839 TARGET-target-libmudflap=all
31840 maybe-all-target-libmudflap: all-target-libmudflap
31841 all-target-libmudflap: configure-target-libmudflap
31842 @: $(MAKE); $(unstage)
31843 @r=`${PWD_COMMAND}`; export r; \
31844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31845 $(NORMAL_TARGET_EXPORTS) \
31846 (cd $(TARGET_SUBDIR)/libmudflap && \
31847 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
31848 @endif target-libmudflap
31854 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
31855 maybe-check-target-libmudflap:
31856 @if target-libmudflap
31857 maybe-check-target-libmudflap: check-target-libmudflap
31859 check-target-libmudflap:
31860 @: $(MAKE); $(unstage)
31861 @r=`${PWD_COMMAND}`; export r; \
31862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31863 $(NORMAL_TARGET_EXPORTS) \
31864 (cd $(TARGET_SUBDIR)/libmudflap && \
31865 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31867 @endif target-libmudflap
31869 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
31870 maybe-install-target-libmudflap:
31871 @if target-libmudflap
31872 maybe-install-target-libmudflap: install-target-libmudflap
31874 install-target-libmudflap: installdirs
31875 @: $(MAKE); $(unstage)
31876 @r=`${PWD_COMMAND}`; export r; \
31877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31878 $(NORMAL_TARGET_EXPORTS) \
31879 (cd $(TARGET_SUBDIR)/libmudflap && \
31880 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31882 @endif target-libmudflap
31884 # Other targets (info, dvi, etc.)
31886 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
31887 maybe-info-target-libmudflap:
31888 @if target-libmudflap
31889 maybe-info-target-libmudflap: info-target-libmudflap
31891 info-target-libmudflap: \
31892 configure-target-libmudflap
31893 @: $(MAKE); $(unstage)
31894 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31895 r=`${PWD_COMMAND}`; export r; \
31896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31897 $(NORMAL_TARGET_EXPORTS) \
31898 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
31899 for flag in $(EXTRA_TARGET_FLAGS); do \
31900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31901 done; \
31902 (cd $(TARGET_SUBDIR)/libmudflap && \
31903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31905 "RANLIB=$${RANLIB}" \
31906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31907 info) \
31908 || exit 1
31910 @endif target-libmudflap
31912 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
31913 maybe-dvi-target-libmudflap:
31914 @if target-libmudflap
31915 maybe-dvi-target-libmudflap: dvi-target-libmudflap
31917 dvi-target-libmudflap: \
31918 configure-target-libmudflap
31919 @: $(MAKE); $(unstage)
31920 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31921 r=`${PWD_COMMAND}`; export r; \
31922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31923 $(NORMAL_TARGET_EXPORTS) \
31924 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
31925 for flag in $(EXTRA_TARGET_FLAGS); do \
31926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31927 done; \
31928 (cd $(TARGET_SUBDIR)/libmudflap && \
31929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31931 "RANLIB=$${RANLIB}" \
31932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31933 dvi) \
31934 || exit 1
31936 @endif target-libmudflap
31938 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
31939 maybe-html-target-libmudflap:
31940 @if target-libmudflap
31941 maybe-html-target-libmudflap: html-target-libmudflap
31943 html-target-libmudflap: \
31944 configure-target-libmudflap
31945 @: $(MAKE); $(unstage)
31946 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31947 r=`${PWD_COMMAND}`; export r; \
31948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31949 $(NORMAL_TARGET_EXPORTS) \
31950 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
31951 for flag in $(EXTRA_TARGET_FLAGS); do \
31952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31953 done; \
31954 (cd $(TARGET_SUBDIR)/libmudflap && \
31955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31957 "RANLIB=$${RANLIB}" \
31958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31959 html) \
31960 || exit 1
31962 @endif target-libmudflap
31964 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
31965 maybe-TAGS-target-libmudflap:
31966 @if target-libmudflap
31967 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
31969 TAGS-target-libmudflap: \
31970 configure-target-libmudflap
31971 @: $(MAKE); $(unstage)
31972 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31973 r=`${PWD_COMMAND}`; export r; \
31974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31975 $(NORMAL_TARGET_EXPORTS) \
31976 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
31977 for flag in $(EXTRA_TARGET_FLAGS); do \
31978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31979 done; \
31980 (cd $(TARGET_SUBDIR)/libmudflap && \
31981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31983 "RANLIB=$${RANLIB}" \
31984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31985 TAGS) \
31986 || exit 1
31988 @endif target-libmudflap
31990 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
31991 maybe-install-info-target-libmudflap:
31992 @if target-libmudflap
31993 maybe-install-info-target-libmudflap: install-info-target-libmudflap
31995 install-info-target-libmudflap: \
31996 configure-target-libmudflap \
31997 info-target-libmudflap
31998 @: $(MAKE); $(unstage)
31999 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32000 r=`${PWD_COMMAND}`; export r; \
32001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32002 $(NORMAL_TARGET_EXPORTS) \
32003 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
32004 for flag in $(EXTRA_TARGET_FLAGS); do \
32005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32006 done; \
32007 (cd $(TARGET_SUBDIR)/libmudflap && \
32008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32010 "RANLIB=$${RANLIB}" \
32011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32012 install-info) \
32013 || exit 1
32015 @endif target-libmudflap
32017 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
32018 maybe-install-html-target-libmudflap:
32019 @if target-libmudflap
32020 maybe-install-html-target-libmudflap: install-html-target-libmudflap
32022 install-html-target-libmudflap: \
32023 configure-target-libmudflap \
32024 html-target-libmudflap
32025 @: $(MAKE); $(unstage)
32026 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32027 r=`${PWD_COMMAND}`; export r; \
32028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32029 $(NORMAL_TARGET_EXPORTS) \
32030 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
32031 for flag in $(EXTRA_TARGET_FLAGS); do \
32032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32033 done; \
32034 (cd $(TARGET_SUBDIR)/libmudflap && \
32035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32037 "RANLIB=$${RANLIB}" \
32038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32039 install-html) \
32040 || exit 1
32042 @endif target-libmudflap
32044 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
32045 maybe-installcheck-target-libmudflap:
32046 @if target-libmudflap
32047 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
32049 installcheck-target-libmudflap: \
32050 configure-target-libmudflap
32051 @: $(MAKE); $(unstage)
32052 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32053 r=`${PWD_COMMAND}`; export r; \
32054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32055 $(NORMAL_TARGET_EXPORTS) \
32056 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
32057 for flag in $(EXTRA_TARGET_FLAGS); do \
32058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32059 done; \
32060 (cd $(TARGET_SUBDIR)/libmudflap && \
32061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32063 "RANLIB=$${RANLIB}" \
32064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32065 installcheck) \
32066 || exit 1
32068 @endif target-libmudflap
32070 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
32071 maybe-mostlyclean-target-libmudflap:
32072 @if target-libmudflap
32073 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
32075 mostlyclean-target-libmudflap:
32076 @: $(MAKE); $(unstage)
32077 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32078 r=`${PWD_COMMAND}`; export r; \
32079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32080 $(NORMAL_TARGET_EXPORTS) \
32081 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
32082 for flag in $(EXTRA_TARGET_FLAGS); do \
32083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32084 done; \
32085 (cd $(TARGET_SUBDIR)/libmudflap && \
32086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32088 "RANLIB=$${RANLIB}" \
32089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32090 mostlyclean) \
32091 || exit 1
32093 @endif target-libmudflap
32095 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
32096 maybe-clean-target-libmudflap:
32097 @if target-libmudflap
32098 maybe-clean-target-libmudflap: clean-target-libmudflap
32100 clean-target-libmudflap:
32101 @: $(MAKE); $(unstage)
32102 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32103 r=`${PWD_COMMAND}`; export r; \
32104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32105 $(NORMAL_TARGET_EXPORTS) \
32106 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
32107 for flag in $(EXTRA_TARGET_FLAGS); do \
32108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32109 done; \
32110 (cd $(TARGET_SUBDIR)/libmudflap && \
32111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32113 "RANLIB=$${RANLIB}" \
32114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32115 clean) \
32116 || exit 1
32118 @endif target-libmudflap
32120 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
32121 maybe-distclean-target-libmudflap:
32122 @if target-libmudflap
32123 maybe-distclean-target-libmudflap: distclean-target-libmudflap
32125 distclean-target-libmudflap:
32126 @: $(MAKE); $(unstage)
32127 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32128 r=`${PWD_COMMAND}`; export r; \
32129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32130 $(NORMAL_TARGET_EXPORTS) \
32131 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
32132 for flag in $(EXTRA_TARGET_FLAGS); do \
32133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32134 done; \
32135 (cd $(TARGET_SUBDIR)/libmudflap && \
32136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32138 "RANLIB=$${RANLIB}" \
32139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32140 distclean) \
32141 || exit 1
32143 @endif target-libmudflap
32145 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
32146 maybe-maintainer-clean-target-libmudflap:
32147 @if target-libmudflap
32148 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
32150 maintainer-clean-target-libmudflap:
32151 @: $(MAKE); $(unstage)
32152 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32153 r=`${PWD_COMMAND}`; export r; \
32154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32155 $(NORMAL_TARGET_EXPORTS) \
32156 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
32157 for flag in $(EXTRA_TARGET_FLAGS); do \
32158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32159 done; \
32160 (cd $(TARGET_SUBDIR)/libmudflap && \
32161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32163 "RANLIB=$${RANLIB}" \
32164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32165 maintainer-clean) \
32166 || exit 1
32168 @endif target-libmudflap
32174 .PHONY: configure-target-libssp maybe-configure-target-libssp
32175 maybe-configure-target-libssp:
32176 @if gcc-bootstrap
32177 configure-target-libssp: stage_current
32178 @endif gcc-bootstrap
32179 @if target-libssp
32180 maybe-configure-target-libssp: configure-target-libssp
32181 configure-target-libssp:
32182 @: $(MAKE); $(unstage)
32183 @r=`${PWD_COMMAND}`; export r; \
32184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32185 echo "Checking multilib configuration for libssp..."; \
32186 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
32187 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
32188 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
32189 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
32190 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
32191 else \
32192 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
32193 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
32194 fi; \
32195 else \
32196 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
32197 fi; \
32198 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
32199 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
32200 $(NORMAL_TARGET_EXPORTS) \
32201 echo Configuring in $(TARGET_SUBDIR)/libssp; \
32202 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
32203 case $(srcdir) in \
32204 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32205 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
32206 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32207 esac; \
32208 srcdiroption="--srcdir=$${topdir}/libssp"; \
32209 libsrcdir="$$s/libssp"; \
32210 rm -f no-such-file || : ; \
32211 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32212 $(TARGET_CONFIGARGS) $${srcdiroption} \
32213 || exit 1
32214 @endif target-libssp
32220 .PHONY: all-target-libssp maybe-all-target-libssp
32221 maybe-all-target-libssp:
32222 @if gcc-bootstrap
32223 all-target-libssp: stage_current
32224 @endif gcc-bootstrap
32225 @if target-libssp
32226 TARGET-target-libssp=all
32227 maybe-all-target-libssp: all-target-libssp
32228 all-target-libssp: configure-target-libssp
32229 @: $(MAKE); $(unstage)
32230 @r=`${PWD_COMMAND}`; export r; \
32231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32232 $(NORMAL_TARGET_EXPORTS) \
32233 (cd $(TARGET_SUBDIR)/libssp && \
32234 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
32235 @endif target-libssp
32241 .PHONY: check-target-libssp maybe-check-target-libssp
32242 maybe-check-target-libssp:
32243 @if target-libssp
32244 maybe-check-target-libssp: check-target-libssp
32246 check-target-libssp:
32247 @: $(MAKE); $(unstage)
32248 @r=`${PWD_COMMAND}`; export r; \
32249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32250 $(NORMAL_TARGET_EXPORTS) \
32251 (cd $(TARGET_SUBDIR)/libssp && \
32252 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32254 @endif target-libssp
32256 .PHONY: install-target-libssp maybe-install-target-libssp
32257 maybe-install-target-libssp:
32258 @if target-libssp
32259 maybe-install-target-libssp: install-target-libssp
32261 install-target-libssp: installdirs
32262 @: $(MAKE); $(unstage)
32263 @r=`${PWD_COMMAND}`; export r; \
32264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32265 $(NORMAL_TARGET_EXPORTS) \
32266 (cd $(TARGET_SUBDIR)/libssp && \
32267 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32269 @endif target-libssp
32271 # Other targets (info, dvi, etc.)
32273 .PHONY: maybe-info-target-libssp info-target-libssp
32274 maybe-info-target-libssp:
32275 @if target-libssp
32276 maybe-info-target-libssp: info-target-libssp
32278 info-target-libssp: \
32279 configure-target-libssp
32280 @: $(MAKE); $(unstage)
32281 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32282 r=`${PWD_COMMAND}`; export r; \
32283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32284 $(NORMAL_TARGET_EXPORTS) \
32285 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
32286 for flag in $(EXTRA_TARGET_FLAGS); do \
32287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32288 done; \
32289 (cd $(TARGET_SUBDIR)/libssp && \
32290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32292 "RANLIB=$${RANLIB}" \
32293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32294 info) \
32295 || exit 1
32297 @endif target-libssp
32299 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
32300 maybe-dvi-target-libssp:
32301 @if target-libssp
32302 maybe-dvi-target-libssp: dvi-target-libssp
32304 dvi-target-libssp: \
32305 configure-target-libssp
32306 @: $(MAKE); $(unstage)
32307 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32308 r=`${PWD_COMMAND}`; export r; \
32309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32310 $(NORMAL_TARGET_EXPORTS) \
32311 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
32312 for flag in $(EXTRA_TARGET_FLAGS); do \
32313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32314 done; \
32315 (cd $(TARGET_SUBDIR)/libssp && \
32316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32318 "RANLIB=$${RANLIB}" \
32319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32320 dvi) \
32321 || exit 1
32323 @endif target-libssp
32325 .PHONY: maybe-html-target-libssp html-target-libssp
32326 maybe-html-target-libssp:
32327 @if target-libssp
32328 maybe-html-target-libssp: html-target-libssp
32330 html-target-libssp: \
32331 configure-target-libssp
32332 @: $(MAKE); $(unstage)
32333 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32334 r=`${PWD_COMMAND}`; export r; \
32335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32336 $(NORMAL_TARGET_EXPORTS) \
32337 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
32338 for flag in $(EXTRA_TARGET_FLAGS); do \
32339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32340 done; \
32341 (cd $(TARGET_SUBDIR)/libssp && \
32342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32344 "RANLIB=$${RANLIB}" \
32345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32346 html) \
32347 || exit 1
32349 @endif target-libssp
32351 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
32352 maybe-TAGS-target-libssp:
32353 @if target-libssp
32354 maybe-TAGS-target-libssp: TAGS-target-libssp
32356 TAGS-target-libssp: \
32357 configure-target-libssp
32358 @: $(MAKE); $(unstage)
32359 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32360 r=`${PWD_COMMAND}`; export r; \
32361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32362 $(NORMAL_TARGET_EXPORTS) \
32363 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
32364 for flag in $(EXTRA_TARGET_FLAGS); do \
32365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32366 done; \
32367 (cd $(TARGET_SUBDIR)/libssp && \
32368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32370 "RANLIB=$${RANLIB}" \
32371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32372 TAGS) \
32373 || exit 1
32375 @endif target-libssp
32377 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
32378 maybe-install-info-target-libssp:
32379 @if target-libssp
32380 maybe-install-info-target-libssp: install-info-target-libssp
32382 install-info-target-libssp: \
32383 configure-target-libssp \
32384 info-target-libssp
32385 @: $(MAKE); $(unstage)
32386 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32387 r=`${PWD_COMMAND}`; export r; \
32388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32389 $(NORMAL_TARGET_EXPORTS) \
32390 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
32391 for flag in $(EXTRA_TARGET_FLAGS); do \
32392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32393 done; \
32394 (cd $(TARGET_SUBDIR)/libssp && \
32395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32397 "RANLIB=$${RANLIB}" \
32398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32399 install-info) \
32400 || exit 1
32402 @endif target-libssp
32404 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
32405 maybe-install-html-target-libssp:
32406 @if target-libssp
32407 maybe-install-html-target-libssp: install-html-target-libssp
32409 install-html-target-libssp: \
32410 configure-target-libssp \
32411 html-target-libssp
32412 @: $(MAKE); $(unstage)
32413 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32414 r=`${PWD_COMMAND}`; export r; \
32415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32416 $(NORMAL_TARGET_EXPORTS) \
32417 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
32418 for flag in $(EXTRA_TARGET_FLAGS); do \
32419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32420 done; \
32421 (cd $(TARGET_SUBDIR)/libssp && \
32422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32424 "RANLIB=$${RANLIB}" \
32425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32426 install-html) \
32427 || exit 1
32429 @endif target-libssp
32431 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
32432 maybe-installcheck-target-libssp:
32433 @if target-libssp
32434 maybe-installcheck-target-libssp: installcheck-target-libssp
32436 installcheck-target-libssp: \
32437 configure-target-libssp
32438 @: $(MAKE); $(unstage)
32439 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32440 r=`${PWD_COMMAND}`; export r; \
32441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32442 $(NORMAL_TARGET_EXPORTS) \
32443 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
32444 for flag in $(EXTRA_TARGET_FLAGS); do \
32445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32446 done; \
32447 (cd $(TARGET_SUBDIR)/libssp && \
32448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32450 "RANLIB=$${RANLIB}" \
32451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32452 installcheck) \
32453 || exit 1
32455 @endif target-libssp
32457 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
32458 maybe-mostlyclean-target-libssp:
32459 @if target-libssp
32460 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
32462 mostlyclean-target-libssp:
32463 @: $(MAKE); $(unstage)
32464 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32465 r=`${PWD_COMMAND}`; export r; \
32466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32467 $(NORMAL_TARGET_EXPORTS) \
32468 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
32469 for flag in $(EXTRA_TARGET_FLAGS); do \
32470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32471 done; \
32472 (cd $(TARGET_SUBDIR)/libssp && \
32473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32475 "RANLIB=$${RANLIB}" \
32476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32477 mostlyclean) \
32478 || exit 1
32480 @endif target-libssp
32482 .PHONY: maybe-clean-target-libssp clean-target-libssp
32483 maybe-clean-target-libssp:
32484 @if target-libssp
32485 maybe-clean-target-libssp: clean-target-libssp
32487 clean-target-libssp:
32488 @: $(MAKE); $(unstage)
32489 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32490 r=`${PWD_COMMAND}`; export r; \
32491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32492 $(NORMAL_TARGET_EXPORTS) \
32493 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
32494 for flag in $(EXTRA_TARGET_FLAGS); do \
32495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32496 done; \
32497 (cd $(TARGET_SUBDIR)/libssp && \
32498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32500 "RANLIB=$${RANLIB}" \
32501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32502 clean) \
32503 || exit 1
32505 @endif target-libssp
32507 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
32508 maybe-distclean-target-libssp:
32509 @if target-libssp
32510 maybe-distclean-target-libssp: distclean-target-libssp
32512 distclean-target-libssp:
32513 @: $(MAKE); $(unstage)
32514 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32515 r=`${PWD_COMMAND}`; export r; \
32516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32517 $(NORMAL_TARGET_EXPORTS) \
32518 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
32519 for flag in $(EXTRA_TARGET_FLAGS); do \
32520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32521 done; \
32522 (cd $(TARGET_SUBDIR)/libssp && \
32523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32525 "RANLIB=$${RANLIB}" \
32526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32527 distclean) \
32528 || exit 1
32530 @endif target-libssp
32532 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
32533 maybe-maintainer-clean-target-libssp:
32534 @if target-libssp
32535 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
32537 maintainer-clean-target-libssp:
32538 @: $(MAKE); $(unstage)
32539 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32540 r=`${PWD_COMMAND}`; export r; \
32541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32542 $(NORMAL_TARGET_EXPORTS) \
32543 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
32544 for flag in $(EXTRA_TARGET_FLAGS); do \
32545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32546 done; \
32547 (cd $(TARGET_SUBDIR)/libssp && \
32548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32550 "RANLIB=$${RANLIB}" \
32551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32552 maintainer-clean) \
32553 || exit 1
32555 @endif target-libssp
32561 .PHONY: configure-target-newlib maybe-configure-target-newlib
32562 maybe-configure-target-newlib:
32563 @if gcc-bootstrap
32564 configure-target-newlib: stage_current
32565 @endif gcc-bootstrap
32566 @if target-newlib
32567 maybe-configure-target-newlib: configure-target-newlib
32568 configure-target-newlib:
32569 @: $(MAKE); $(unstage)
32570 @r=`${PWD_COMMAND}`; export r; \
32571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32572 echo "Checking multilib configuration for newlib..."; \
32573 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
32574 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
32575 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
32576 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
32577 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
32578 else \
32579 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
32580 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
32581 fi; \
32582 else \
32583 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
32584 fi; \
32585 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
32586 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
32587 $(NORMAL_TARGET_EXPORTS) \
32588 echo Configuring in $(TARGET_SUBDIR)/newlib; \
32589 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
32590 case $(srcdir) in \
32591 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32592 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
32593 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32594 esac; \
32595 srcdiroption="--srcdir=$${topdir}/newlib"; \
32596 libsrcdir="$$s/newlib"; \
32597 rm -f no-such-file || : ; \
32598 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32599 $(TARGET_CONFIGARGS) $${srcdiroption} \
32600 || exit 1
32601 @endif target-newlib
32607 .PHONY: all-target-newlib maybe-all-target-newlib
32608 maybe-all-target-newlib:
32609 @if gcc-bootstrap
32610 all-target-newlib: stage_current
32611 @endif gcc-bootstrap
32612 @if target-newlib
32613 TARGET-target-newlib=all
32614 maybe-all-target-newlib: all-target-newlib
32615 all-target-newlib: configure-target-newlib
32616 @: $(MAKE); $(unstage)
32617 @r=`${PWD_COMMAND}`; export r; \
32618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32619 $(NORMAL_TARGET_EXPORTS) \
32620 (cd $(TARGET_SUBDIR)/newlib && \
32621 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
32622 @endif target-newlib
32628 .PHONY: check-target-newlib maybe-check-target-newlib
32629 maybe-check-target-newlib:
32630 @if target-newlib
32631 maybe-check-target-newlib: check-target-newlib
32633 check-target-newlib:
32634 @: $(MAKE); $(unstage)
32635 @r=`${PWD_COMMAND}`; export r; \
32636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32637 $(NORMAL_TARGET_EXPORTS) \
32638 (cd $(TARGET_SUBDIR)/newlib && \
32639 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32641 @endif target-newlib
32643 .PHONY: install-target-newlib maybe-install-target-newlib
32644 maybe-install-target-newlib:
32645 @if target-newlib
32646 maybe-install-target-newlib: install-target-newlib
32648 install-target-newlib: installdirs
32649 @: $(MAKE); $(unstage)
32650 @r=`${PWD_COMMAND}`; export r; \
32651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32652 $(NORMAL_TARGET_EXPORTS) \
32653 (cd $(TARGET_SUBDIR)/newlib && \
32654 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32656 @endif target-newlib
32658 # Other targets (info, dvi, etc.)
32660 .PHONY: maybe-info-target-newlib info-target-newlib
32661 maybe-info-target-newlib:
32662 @if target-newlib
32663 maybe-info-target-newlib: info-target-newlib
32665 info-target-newlib: \
32666 configure-target-newlib
32667 @: $(MAKE); $(unstage)
32668 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32669 r=`${PWD_COMMAND}`; export r; \
32670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32671 $(NORMAL_TARGET_EXPORTS) \
32672 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
32673 for flag in $(EXTRA_TARGET_FLAGS); do \
32674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32675 done; \
32676 (cd $(TARGET_SUBDIR)/newlib && \
32677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32679 "RANLIB=$${RANLIB}" \
32680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32681 info) \
32682 || exit 1
32684 @endif target-newlib
32686 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
32687 maybe-dvi-target-newlib:
32688 @if target-newlib
32689 maybe-dvi-target-newlib: dvi-target-newlib
32691 dvi-target-newlib: \
32692 configure-target-newlib
32693 @: $(MAKE); $(unstage)
32694 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32695 r=`${PWD_COMMAND}`; export r; \
32696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32697 $(NORMAL_TARGET_EXPORTS) \
32698 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
32699 for flag in $(EXTRA_TARGET_FLAGS); do \
32700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32701 done; \
32702 (cd $(TARGET_SUBDIR)/newlib && \
32703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32705 "RANLIB=$${RANLIB}" \
32706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32707 dvi) \
32708 || exit 1
32710 @endif target-newlib
32712 .PHONY: maybe-html-target-newlib html-target-newlib
32713 maybe-html-target-newlib:
32714 @if target-newlib
32715 maybe-html-target-newlib: html-target-newlib
32717 html-target-newlib: \
32718 configure-target-newlib
32719 @: $(MAKE); $(unstage)
32720 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32721 r=`${PWD_COMMAND}`; export r; \
32722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32723 $(NORMAL_TARGET_EXPORTS) \
32724 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
32725 for flag in $(EXTRA_TARGET_FLAGS); do \
32726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32727 done; \
32728 (cd $(TARGET_SUBDIR)/newlib && \
32729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32731 "RANLIB=$${RANLIB}" \
32732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32733 html) \
32734 || exit 1
32736 @endif target-newlib
32738 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
32739 maybe-TAGS-target-newlib:
32740 @if target-newlib
32741 maybe-TAGS-target-newlib: TAGS-target-newlib
32743 TAGS-target-newlib: \
32744 configure-target-newlib
32745 @: $(MAKE); $(unstage)
32746 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32747 r=`${PWD_COMMAND}`; export r; \
32748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32749 $(NORMAL_TARGET_EXPORTS) \
32750 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
32751 for flag in $(EXTRA_TARGET_FLAGS); do \
32752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32753 done; \
32754 (cd $(TARGET_SUBDIR)/newlib && \
32755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32757 "RANLIB=$${RANLIB}" \
32758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32759 TAGS) \
32760 || exit 1
32762 @endif target-newlib
32764 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
32765 maybe-install-info-target-newlib:
32766 @if target-newlib
32767 maybe-install-info-target-newlib: install-info-target-newlib
32769 install-info-target-newlib: \
32770 configure-target-newlib \
32771 info-target-newlib
32772 @: $(MAKE); $(unstage)
32773 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32774 r=`${PWD_COMMAND}`; export r; \
32775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32776 $(NORMAL_TARGET_EXPORTS) \
32777 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
32778 for flag in $(EXTRA_TARGET_FLAGS); do \
32779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32780 done; \
32781 (cd $(TARGET_SUBDIR)/newlib && \
32782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32784 "RANLIB=$${RANLIB}" \
32785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32786 install-info) \
32787 || exit 1
32789 @endif target-newlib
32791 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
32792 maybe-install-html-target-newlib:
32793 @if target-newlib
32794 maybe-install-html-target-newlib: install-html-target-newlib
32796 install-html-target-newlib: \
32797 configure-target-newlib \
32798 html-target-newlib
32799 @: $(MAKE); $(unstage)
32800 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32801 r=`${PWD_COMMAND}`; export r; \
32802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32803 $(NORMAL_TARGET_EXPORTS) \
32804 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
32805 for flag in $(EXTRA_TARGET_FLAGS); do \
32806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32807 done; \
32808 (cd $(TARGET_SUBDIR)/newlib && \
32809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32811 "RANLIB=$${RANLIB}" \
32812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32813 install-html) \
32814 || exit 1
32816 @endif target-newlib
32818 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
32819 maybe-installcheck-target-newlib:
32820 @if target-newlib
32821 maybe-installcheck-target-newlib: installcheck-target-newlib
32823 installcheck-target-newlib: \
32824 configure-target-newlib
32825 @: $(MAKE); $(unstage)
32826 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32827 r=`${PWD_COMMAND}`; export r; \
32828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32829 $(NORMAL_TARGET_EXPORTS) \
32830 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
32831 for flag in $(EXTRA_TARGET_FLAGS); do \
32832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32833 done; \
32834 (cd $(TARGET_SUBDIR)/newlib && \
32835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32837 "RANLIB=$${RANLIB}" \
32838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32839 installcheck) \
32840 || exit 1
32842 @endif target-newlib
32844 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
32845 maybe-mostlyclean-target-newlib:
32846 @if target-newlib
32847 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
32849 mostlyclean-target-newlib:
32850 @: $(MAKE); $(unstage)
32851 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32852 r=`${PWD_COMMAND}`; export r; \
32853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32854 $(NORMAL_TARGET_EXPORTS) \
32855 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
32856 for flag in $(EXTRA_TARGET_FLAGS); do \
32857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32858 done; \
32859 (cd $(TARGET_SUBDIR)/newlib && \
32860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32862 "RANLIB=$${RANLIB}" \
32863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32864 mostlyclean) \
32865 || exit 1
32867 @endif target-newlib
32869 .PHONY: maybe-clean-target-newlib clean-target-newlib
32870 maybe-clean-target-newlib:
32871 @if target-newlib
32872 maybe-clean-target-newlib: clean-target-newlib
32874 clean-target-newlib:
32875 @: $(MAKE); $(unstage)
32876 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32877 r=`${PWD_COMMAND}`; export r; \
32878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32879 $(NORMAL_TARGET_EXPORTS) \
32880 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
32881 for flag in $(EXTRA_TARGET_FLAGS); do \
32882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32883 done; \
32884 (cd $(TARGET_SUBDIR)/newlib && \
32885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32887 "RANLIB=$${RANLIB}" \
32888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32889 clean) \
32890 || exit 1
32892 @endif target-newlib
32894 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
32895 maybe-distclean-target-newlib:
32896 @if target-newlib
32897 maybe-distclean-target-newlib: distclean-target-newlib
32899 distclean-target-newlib:
32900 @: $(MAKE); $(unstage)
32901 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32902 r=`${PWD_COMMAND}`; export r; \
32903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32904 $(NORMAL_TARGET_EXPORTS) \
32905 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
32906 for flag in $(EXTRA_TARGET_FLAGS); do \
32907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32908 done; \
32909 (cd $(TARGET_SUBDIR)/newlib && \
32910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32912 "RANLIB=$${RANLIB}" \
32913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32914 distclean) \
32915 || exit 1
32917 @endif target-newlib
32919 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
32920 maybe-maintainer-clean-target-newlib:
32921 @if target-newlib
32922 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
32924 maintainer-clean-target-newlib:
32925 @: $(MAKE); $(unstage)
32926 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32927 r=`${PWD_COMMAND}`; export r; \
32928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32929 $(NORMAL_TARGET_EXPORTS) \
32930 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
32931 for flag in $(EXTRA_TARGET_FLAGS); do \
32932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32933 done; \
32934 (cd $(TARGET_SUBDIR)/newlib && \
32935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32937 "RANLIB=$${RANLIB}" \
32938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32939 maintainer-clean) \
32940 || exit 1
32942 @endif target-newlib
32948 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
32949 maybe-configure-target-libgfortran:
32950 @if gcc-bootstrap
32951 configure-target-libgfortran: stage_current
32952 @endif gcc-bootstrap
32953 @if target-libgfortran
32954 maybe-configure-target-libgfortran: configure-target-libgfortran
32955 configure-target-libgfortran:
32956 @: $(MAKE); $(unstage)
32957 @r=`${PWD_COMMAND}`; export r; \
32958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32959 echo "Checking multilib configuration for libgfortran..."; \
32960 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
32961 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
32962 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
32963 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
32964 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
32965 else \
32966 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
32967 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
32968 fi; \
32969 else \
32970 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
32971 fi; \
32972 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
32973 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
32974 $(NORMAL_TARGET_EXPORTS) \
32975 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
32976 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
32977 case $(srcdir) in \
32978 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32979 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
32980 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32981 esac; \
32982 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
32983 libsrcdir="$$s/libgfortran"; \
32984 rm -f no-such-file || : ; \
32985 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32986 $(TARGET_CONFIGARGS) $${srcdiroption} \
32987 || exit 1
32988 @endif target-libgfortran
32994 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
32995 maybe-all-target-libgfortran:
32996 @if gcc-bootstrap
32997 all-target-libgfortran: stage_current
32998 @endif gcc-bootstrap
32999 @if target-libgfortran
33000 TARGET-target-libgfortran=all
33001 maybe-all-target-libgfortran: all-target-libgfortran
33002 all-target-libgfortran: configure-target-libgfortran
33003 @: $(MAKE); $(unstage)
33004 @r=`${PWD_COMMAND}`; export r; \
33005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33006 $(NORMAL_TARGET_EXPORTS) \
33007 (cd $(TARGET_SUBDIR)/libgfortran && \
33008 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
33009 @endif target-libgfortran
33015 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
33016 maybe-check-target-libgfortran:
33017 @if target-libgfortran
33018 maybe-check-target-libgfortran: check-target-libgfortran
33020 check-target-libgfortran:
33021 @: $(MAKE); $(unstage)
33022 @r=`${PWD_COMMAND}`; export r; \
33023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33024 $(NORMAL_TARGET_EXPORTS) \
33025 (cd $(TARGET_SUBDIR)/libgfortran && \
33026 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33028 @endif target-libgfortran
33030 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
33031 maybe-install-target-libgfortran:
33032 @if target-libgfortran
33033 maybe-install-target-libgfortran: install-target-libgfortran
33035 install-target-libgfortran: installdirs
33036 @: $(MAKE); $(unstage)
33037 @r=`${PWD_COMMAND}`; export r; \
33038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33039 $(NORMAL_TARGET_EXPORTS) \
33040 (cd $(TARGET_SUBDIR)/libgfortran && \
33041 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33043 @endif target-libgfortran
33045 # Other targets (info, dvi, etc.)
33047 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
33048 maybe-info-target-libgfortran:
33049 @if target-libgfortran
33050 maybe-info-target-libgfortran: info-target-libgfortran
33052 info-target-libgfortran: \
33053 configure-target-libgfortran
33054 @: $(MAKE); $(unstage)
33055 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33056 r=`${PWD_COMMAND}`; export r; \
33057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33058 $(NORMAL_TARGET_EXPORTS) \
33059 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
33060 for flag in $(EXTRA_TARGET_FLAGS); do \
33061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33062 done; \
33063 (cd $(TARGET_SUBDIR)/libgfortran && \
33064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33066 "RANLIB=$${RANLIB}" \
33067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33068 info) \
33069 || exit 1
33071 @endif target-libgfortran
33073 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
33074 maybe-dvi-target-libgfortran:
33075 @if target-libgfortran
33076 maybe-dvi-target-libgfortran: dvi-target-libgfortran
33078 dvi-target-libgfortran: \
33079 configure-target-libgfortran
33080 @: $(MAKE); $(unstage)
33081 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33082 r=`${PWD_COMMAND}`; export r; \
33083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33084 $(NORMAL_TARGET_EXPORTS) \
33085 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
33086 for flag in $(EXTRA_TARGET_FLAGS); do \
33087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33088 done; \
33089 (cd $(TARGET_SUBDIR)/libgfortran && \
33090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33092 "RANLIB=$${RANLIB}" \
33093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33094 dvi) \
33095 || exit 1
33097 @endif target-libgfortran
33099 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
33100 maybe-html-target-libgfortran:
33101 @if target-libgfortran
33102 maybe-html-target-libgfortran: html-target-libgfortran
33104 html-target-libgfortran: \
33105 configure-target-libgfortran
33106 @: $(MAKE); $(unstage)
33107 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33108 r=`${PWD_COMMAND}`; export r; \
33109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33110 $(NORMAL_TARGET_EXPORTS) \
33111 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
33112 for flag in $(EXTRA_TARGET_FLAGS); do \
33113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33114 done; \
33115 (cd $(TARGET_SUBDIR)/libgfortran && \
33116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33118 "RANLIB=$${RANLIB}" \
33119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33120 html) \
33121 || exit 1
33123 @endif target-libgfortran
33125 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
33126 maybe-TAGS-target-libgfortran:
33127 @if target-libgfortran
33128 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
33130 TAGS-target-libgfortran: \
33131 configure-target-libgfortran
33132 @: $(MAKE); $(unstage)
33133 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33134 r=`${PWD_COMMAND}`; export r; \
33135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33136 $(NORMAL_TARGET_EXPORTS) \
33137 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
33138 for flag in $(EXTRA_TARGET_FLAGS); do \
33139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33140 done; \
33141 (cd $(TARGET_SUBDIR)/libgfortran && \
33142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33144 "RANLIB=$${RANLIB}" \
33145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33146 TAGS) \
33147 || exit 1
33149 @endif target-libgfortran
33151 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
33152 maybe-install-info-target-libgfortran:
33153 @if target-libgfortran
33154 maybe-install-info-target-libgfortran: install-info-target-libgfortran
33156 install-info-target-libgfortran: \
33157 configure-target-libgfortran \
33158 info-target-libgfortran
33159 @: $(MAKE); $(unstage)
33160 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33161 r=`${PWD_COMMAND}`; export r; \
33162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33163 $(NORMAL_TARGET_EXPORTS) \
33164 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
33165 for flag in $(EXTRA_TARGET_FLAGS); do \
33166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33167 done; \
33168 (cd $(TARGET_SUBDIR)/libgfortran && \
33169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33171 "RANLIB=$${RANLIB}" \
33172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33173 install-info) \
33174 || exit 1
33176 @endif target-libgfortran
33178 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
33179 maybe-install-html-target-libgfortran:
33180 @if target-libgfortran
33181 maybe-install-html-target-libgfortran: install-html-target-libgfortran
33183 install-html-target-libgfortran: \
33184 configure-target-libgfortran \
33185 html-target-libgfortran
33186 @: $(MAKE); $(unstage)
33187 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33188 r=`${PWD_COMMAND}`; export r; \
33189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33190 $(NORMAL_TARGET_EXPORTS) \
33191 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
33192 for flag in $(EXTRA_TARGET_FLAGS); do \
33193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33194 done; \
33195 (cd $(TARGET_SUBDIR)/libgfortran && \
33196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33198 "RANLIB=$${RANLIB}" \
33199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33200 install-html) \
33201 || exit 1
33203 @endif target-libgfortran
33205 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
33206 maybe-installcheck-target-libgfortran:
33207 @if target-libgfortran
33208 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
33210 installcheck-target-libgfortran: \
33211 configure-target-libgfortran
33212 @: $(MAKE); $(unstage)
33213 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33214 r=`${PWD_COMMAND}`; export r; \
33215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33216 $(NORMAL_TARGET_EXPORTS) \
33217 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
33218 for flag in $(EXTRA_TARGET_FLAGS); do \
33219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33220 done; \
33221 (cd $(TARGET_SUBDIR)/libgfortran && \
33222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33224 "RANLIB=$${RANLIB}" \
33225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33226 installcheck) \
33227 || exit 1
33229 @endif target-libgfortran
33231 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
33232 maybe-mostlyclean-target-libgfortran:
33233 @if target-libgfortran
33234 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
33236 mostlyclean-target-libgfortran:
33237 @: $(MAKE); $(unstage)
33238 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33239 r=`${PWD_COMMAND}`; export r; \
33240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33241 $(NORMAL_TARGET_EXPORTS) \
33242 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
33243 for flag in $(EXTRA_TARGET_FLAGS); do \
33244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33245 done; \
33246 (cd $(TARGET_SUBDIR)/libgfortran && \
33247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33249 "RANLIB=$${RANLIB}" \
33250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33251 mostlyclean) \
33252 || exit 1
33254 @endif target-libgfortran
33256 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
33257 maybe-clean-target-libgfortran:
33258 @if target-libgfortran
33259 maybe-clean-target-libgfortran: clean-target-libgfortran
33261 clean-target-libgfortran:
33262 @: $(MAKE); $(unstage)
33263 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33264 r=`${PWD_COMMAND}`; export r; \
33265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33266 $(NORMAL_TARGET_EXPORTS) \
33267 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
33268 for flag in $(EXTRA_TARGET_FLAGS); do \
33269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33270 done; \
33271 (cd $(TARGET_SUBDIR)/libgfortran && \
33272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33274 "RANLIB=$${RANLIB}" \
33275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33276 clean) \
33277 || exit 1
33279 @endif target-libgfortran
33281 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
33282 maybe-distclean-target-libgfortran:
33283 @if target-libgfortran
33284 maybe-distclean-target-libgfortran: distclean-target-libgfortran
33286 distclean-target-libgfortran:
33287 @: $(MAKE); $(unstage)
33288 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33289 r=`${PWD_COMMAND}`; export r; \
33290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33291 $(NORMAL_TARGET_EXPORTS) \
33292 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
33293 for flag in $(EXTRA_TARGET_FLAGS); do \
33294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33295 done; \
33296 (cd $(TARGET_SUBDIR)/libgfortran && \
33297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33299 "RANLIB=$${RANLIB}" \
33300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33301 distclean) \
33302 || exit 1
33304 @endif target-libgfortran
33306 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
33307 maybe-maintainer-clean-target-libgfortran:
33308 @if target-libgfortran
33309 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
33311 maintainer-clean-target-libgfortran:
33312 @: $(MAKE); $(unstage)
33313 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33314 r=`${PWD_COMMAND}`; export r; \
33315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33316 $(NORMAL_TARGET_EXPORTS) \
33317 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
33318 for flag in $(EXTRA_TARGET_FLAGS); do \
33319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33320 done; \
33321 (cd $(TARGET_SUBDIR)/libgfortran && \
33322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33324 "RANLIB=$${RANLIB}" \
33325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33326 maintainer-clean) \
33327 || exit 1
33329 @endif target-libgfortran
33335 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
33336 maybe-configure-target-libobjc:
33337 @if gcc-bootstrap
33338 configure-target-libobjc: stage_current
33339 @endif gcc-bootstrap
33340 @if target-libobjc
33341 maybe-configure-target-libobjc: configure-target-libobjc
33342 configure-target-libobjc:
33343 @: $(MAKE); $(unstage)
33344 @r=`${PWD_COMMAND}`; export r; \
33345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33346 echo "Checking multilib configuration for libobjc..."; \
33347 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
33348 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
33349 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
33350 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
33351 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
33352 else \
33353 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
33354 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
33355 fi; \
33356 else \
33357 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
33358 fi; \
33359 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
33360 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
33361 $(NORMAL_TARGET_EXPORTS) \
33362 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
33363 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
33364 case $(srcdir) in \
33365 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33366 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
33367 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33368 esac; \
33369 srcdiroption="--srcdir=$${topdir}/libobjc"; \
33370 libsrcdir="$$s/libobjc"; \
33371 rm -f no-such-file || : ; \
33372 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33373 $(TARGET_CONFIGARGS) $${srcdiroption} \
33374 || exit 1
33375 @endif target-libobjc
33381 .PHONY: all-target-libobjc maybe-all-target-libobjc
33382 maybe-all-target-libobjc:
33383 @if gcc-bootstrap
33384 all-target-libobjc: stage_current
33385 @endif gcc-bootstrap
33386 @if target-libobjc
33387 TARGET-target-libobjc=all
33388 maybe-all-target-libobjc: all-target-libobjc
33389 all-target-libobjc: configure-target-libobjc
33390 @: $(MAKE); $(unstage)
33391 @r=`${PWD_COMMAND}`; export r; \
33392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33393 $(NORMAL_TARGET_EXPORTS) \
33394 (cd $(TARGET_SUBDIR)/libobjc && \
33395 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
33396 @endif target-libobjc
33402 .PHONY: check-target-libobjc maybe-check-target-libobjc
33403 maybe-check-target-libobjc:
33404 @if target-libobjc
33405 maybe-check-target-libobjc: check-target-libobjc
33407 check-target-libobjc:
33408 @: $(MAKE); $(unstage)
33409 @r=`${PWD_COMMAND}`; export r; \
33410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33411 $(NORMAL_TARGET_EXPORTS) \
33412 (cd $(TARGET_SUBDIR)/libobjc && \
33413 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33415 @endif target-libobjc
33417 .PHONY: install-target-libobjc maybe-install-target-libobjc
33418 maybe-install-target-libobjc:
33419 @if target-libobjc
33420 maybe-install-target-libobjc: install-target-libobjc
33422 install-target-libobjc: installdirs
33423 @: $(MAKE); $(unstage)
33424 @r=`${PWD_COMMAND}`; export r; \
33425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33426 $(NORMAL_TARGET_EXPORTS) \
33427 (cd $(TARGET_SUBDIR)/libobjc && \
33428 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33430 @endif target-libobjc
33432 # Other targets (info, dvi, etc.)
33434 .PHONY: maybe-info-target-libobjc info-target-libobjc
33435 maybe-info-target-libobjc:
33436 @if target-libobjc
33437 maybe-info-target-libobjc: info-target-libobjc
33439 info-target-libobjc: \
33440 configure-target-libobjc
33441 @: $(MAKE); $(unstage)
33442 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33443 r=`${PWD_COMMAND}`; export r; \
33444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33445 $(NORMAL_TARGET_EXPORTS) \
33446 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
33447 for flag in $(EXTRA_TARGET_FLAGS); do \
33448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33449 done; \
33450 (cd $(TARGET_SUBDIR)/libobjc && \
33451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33453 "RANLIB=$${RANLIB}" \
33454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33455 info) \
33456 || exit 1
33458 @endif target-libobjc
33460 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
33461 maybe-dvi-target-libobjc:
33462 @if target-libobjc
33463 maybe-dvi-target-libobjc: dvi-target-libobjc
33465 dvi-target-libobjc: \
33466 configure-target-libobjc
33467 @: $(MAKE); $(unstage)
33468 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33469 r=`${PWD_COMMAND}`; export r; \
33470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33471 $(NORMAL_TARGET_EXPORTS) \
33472 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
33473 for flag in $(EXTRA_TARGET_FLAGS); do \
33474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33475 done; \
33476 (cd $(TARGET_SUBDIR)/libobjc && \
33477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33479 "RANLIB=$${RANLIB}" \
33480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33481 dvi) \
33482 || exit 1
33484 @endif target-libobjc
33486 .PHONY: maybe-html-target-libobjc html-target-libobjc
33487 maybe-html-target-libobjc:
33488 @if target-libobjc
33489 maybe-html-target-libobjc: html-target-libobjc
33491 html-target-libobjc: \
33492 configure-target-libobjc
33493 @: $(MAKE); $(unstage)
33494 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33495 r=`${PWD_COMMAND}`; export r; \
33496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33497 $(NORMAL_TARGET_EXPORTS) \
33498 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
33499 for flag in $(EXTRA_TARGET_FLAGS); do \
33500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33501 done; \
33502 (cd $(TARGET_SUBDIR)/libobjc && \
33503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33505 "RANLIB=$${RANLIB}" \
33506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33507 html) \
33508 || exit 1
33510 @endif target-libobjc
33512 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
33513 maybe-TAGS-target-libobjc:
33514 @if target-libobjc
33515 maybe-TAGS-target-libobjc: TAGS-target-libobjc
33517 TAGS-target-libobjc: \
33518 configure-target-libobjc
33519 @: $(MAKE); $(unstage)
33520 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33521 r=`${PWD_COMMAND}`; export r; \
33522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33523 $(NORMAL_TARGET_EXPORTS) \
33524 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
33525 for flag in $(EXTRA_TARGET_FLAGS); do \
33526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33527 done; \
33528 (cd $(TARGET_SUBDIR)/libobjc && \
33529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33531 "RANLIB=$${RANLIB}" \
33532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33533 TAGS) \
33534 || exit 1
33536 @endif target-libobjc
33538 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
33539 maybe-install-info-target-libobjc:
33540 @if target-libobjc
33541 maybe-install-info-target-libobjc: install-info-target-libobjc
33543 install-info-target-libobjc: \
33544 configure-target-libobjc \
33545 info-target-libobjc
33546 @: $(MAKE); $(unstage)
33547 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33548 r=`${PWD_COMMAND}`; export r; \
33549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33550 $(NORMAL_TARGET_EXPORTS) \
33551 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
33552 for flag in $(EXTRA_TARGET_FLAGS); do \
33553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33554 done; \
33555 (cd $(TARGET_SUBDIR)/libobjc && \
33556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33558 "RANLIB=$${RANLIB}" \
33559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33560 install-info) \
33561 || exit 1
33563 @endif target-libobjc
33565 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
33566 maybe-install-html-target-libobjc:
33567 @if target-libobjc
33568 maybe-install-html-target-libobjc: install-html-target-libobjc
33570 install-html-target-libobjc: \
33571 configure-target-libobjc \
33572 html-target-libobjc
33573 @: $(MAKE); $(unstage)
33574 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33575 r=`${PWD_COMMAND}`; export r; \
33576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33577 $(NORMAL_TARGET_EXPORTS) \
33578 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
33579 for flag in $(EXTRA_TARGET_FLAGS); do \
33580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33581 done; \
33582 (cd $(TARGET_SUBDIR)/libobjc && \
33583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33585 "RANLIB=$${RANLIB}" \
33586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33587 install-html) \
33588 || exit 1
33590 @endif target-libobjc
33592 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
33593 maybe-installcheck-target-libobjc:
33594 @if target-libobjc
33595 maybe-installcheck-target-libobjc: installcheck-target-libobjc
33597 installcheck-target-libobjc: \
33598 configure-target-libobjc
33599 @: $(MAKE); $(unstage)
33600 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33601 r=`${PWD_COMMAND}`; export r; \
33602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33603 $(NORMAL_TARGET_EXPORTS) \
33604 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
33605 for flag in $(EXTRA_TARGET_FLAGS); do \
33606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33607 done; \
33608 (cd $(TARGET_SUBDIR)/libobjc && \
33609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33611 "RANLIB=$${RANLIB}" \
33612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33613 installcheck) \
33614 || exit 1
33616 @endif target-libobjc
33618 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
33619 maybe-mostlyclean-target-libobjc:
33620 @if target-libobjc
33621 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
33623 mostlyclean-target-libobjc:
33624 @: $(MAKE); $(unstage)
33625 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33626 r=`${PWD_COMMAND}`; export r; \
33627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33628 $(NORMAL_TARGET_EXPORTS) \
33629 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
33630 for flag in $(EXTRA_TARGET_FLAGS); do \
33631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33632 done; \
33633 (cd $(TARGET_SUBDIR)/libobjc && \
33634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33636 "RANLIB=$${RANLIB}" \
33637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33638 mostlyclean) \
33639 || exit 1
33641 @endif target-libobjc
33643 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
33644 maybe-clean-target-libobjc:
33645 @if target-libobjc
33646 maybe-clean-target-libobjc: clean-target-libobjc
33648 clean-target-libobjc:
33649 @: $(MAKE); $(unstage)
33650 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33651 r=`${PWD_COMMAND}`; export r; \
33652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33653 $(NORMAL_TARGET_EXPORTS) \
33654 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
33655 for flag in $(EXTRA_TARGET_FLAGS); do \
33656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33657 done; \
33658 (cd $(TARGET_SUBDIR)/libobjc && \
33659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33661 "RANLIB=$${RANLIB}" \
33662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33663 clean) \
33664 || exit 1
33666 @endif target-libobjc
33668 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
33669 maybe-distclean-target-libobjc:
33670 @if target-libobjc
33671 maybe-distclean-target-libobjc: distclean-target-libobjc
33673 distclean-target-libobjc:
33674 @: $(MAKE); $(unstage)
33675 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33676 r=`${PWD_COMMAND}`; export r; \
33677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33678 $(NORMAL_TARGET_EXPORTS) \
33679 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
33680 for flag in $(EXTRA_TARGET_FLAGS); do \
33681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33682 done; \
33683 (cd $(TARGET_SUBDIR)/libobjc && \
33684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33686 "RANLIB=$${RANLIB}" \
33687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33688 distclean) \
33689 || exit 1
33691 @endif target-libobjc
33693 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
33694 maybe-maintainer-clean-target-libobjc:
33695 @if target-libobjc
33696 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
33698 maintainer-clean-target-libobjc:
33699 @: $(MAKE); $(unstage)
33700 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33701 r=`${PWD_COMMAND}`; export r; \
33702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33703 $(NORMAL_TARGET_EXPORTS) \
33704 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
33705 for flag in $(EXTRA_TARGET_FLAGS); do \
33706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33707 done; \
33708 (cd $(TARGET_SUBDIR)/libobjc && \
33709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33711 "RANLIB=$${RANLIB}" \
33712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33713 maintainer-clean) \
33714 || exit 1
33716 @endif target-libobjc
33722 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
33723 maybe-configure-target-libtermcap:
33724 @if gcc-bootstrap
33725 configure-target-libtermcap: stage_current
33726 @endif gcc-bootstrap
33727 @if target-libtermcap
33728 maybe-configure-target-libtermcap: configure-target-libtermcap
33729 configure-target-libtermcap:
33730 @: $(MAKE); $(unstage)
33731 @r=`${PWD_COMMAND}`; export r; \
33732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33733 echo "Checking multilib configuration for libtermcap..."; \
33734 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
33735 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
33736 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
33737 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
33738 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
33739 else \
33740 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
33741 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
33742 fi; \
33743 else \
33744 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
33745 fi; \
33746 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
33747 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
33748 $(NORMAL_TARGET_EXPORTS) \
33749 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
33750 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
33751 case $(srcdir) in \
33752 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33753 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
33754 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33755 esac; \
33756 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
33757 libsrcdir="$$s/libtermcap"; \
33758 rm -f no-such-file || : ; \
33759 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33760 $(TARGET_CONFIGARGS) $${srcdiroption} \
33761 || exit 1
33762 @endif target-libtermcap
33768 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
33769 maybe-all-target-libtermcap:
33770 @if gcc-bootstrap
33771 all-target-libtermcap: stage_current
33772 @endif gcc-bootstrap
33773 @if target-libtermcap
33774 TARGET-target-libtermcap=all
33775 maybe-all-target-libtermcap: all-target-libtermcap
33776 all-target-libtermcap: configure-target-libtermcap
33777 @: $(MAKE); $(unstage)
33778 @r=`${PWD_COMMAND}`; export r; \
33779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33780 $(NORMAL_TARGET_EXPORTS) \
33781 (cd $(TARGET_SUBDIR)/libtermcap && \
33782 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
33783 @endif target-libtermcap
33789 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
33790 maybe-check-target-libtermcap:
33791 @if target-libtermcap
33792 maybe-check-target-libtermcap: check-target-libtermcap
33794 # Dummy target for uncheckable module.
33795 check-target-libtermcap:
33797 @endif target-libtermcap
33799 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
33800 maybe-install-target-libtermcap:
33801 @if target-libtermcap
33802 maybe-install-target-libtermcap: install-target-libtermcap
33804 install-target-libtermcap: installdirs
33805 @: $(MAKE); $(unstage)
33806 @r=`${PWD_COMMAND}`; export r; \
33807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33808 $(NORMAL_TARGET_EXPORTS) \
33809 (cd $(TARGET_SUBDIR)/libtermcap && \
33810 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33812 @endif target-libtermcap
33814 # Other targets (info, dvi, etc.)
33816 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
33817 maybe-info-target-libtermcap:
33818 @if target-libtermcap
33819 maybe-info-target-libtermcap: info-target-libtermcap
33821 info-target-libtermcap: \
33822 configure-target-libtermcap
33823 @: $(MAKE); $(unstage)
33824 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33825 r=`${PWD_COMMAND}`; export r; \
33826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33827 $(NORMAL_TARGET_EXPORTS) \
33828 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
33829 for flag in $(EXTRA_TARGET_FLAGS); do \
33830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33831 done; \
33832 (cd $(TARGET_SUBDIR)/libtermcap && \
33833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33835 "RANLIB=$${RANLIB}" \
33836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33837 info) \
33838 || exit 1
33840 @endif target-libtermcap
33842 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
33843 maybe-dvi-target-libtermcap:
33844 @if target-libtermcap
33845 maybe-dvi-target-libtermcap: dvi-target-libtermcap
33847 dvi-target-libtermcap: \
33848 configure-target-libtermcap
33849 @: $(MAKE); $(unstage)
33850 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33851 r=`${PWD_COMMAND}`; export r; \
33852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33853 $(NORMAL_TARGET_EXPORTS) \
33854 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
33855 for flag in $(EXTRA_TARGET_FLAGS); do \
33856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33857 done; \
33858 (cd $(TARGET_SUBDIR)/libtermcap && \
33859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33861 "RANLIB=$${RANLIB}" \
33862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33863 dvi) \
33864 || exit 1
33866 @endif target-libtermcap
33868 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
33869 maybe-html-target-libtermcap:
33870 @if target-libtermcap
33871 maybe-html-target-libtermcap: html-target-libtermcap
33873 html-target-libtermcap: \
33874 configure-target-libtermcap
33875 @: $(MAKE); $(unstage)
33876 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33877 r=`${PWD_COMMAND}`; export r; \
33878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33879 $(NORMAL_TARGET_EXPORTS) \
33880 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
33881 for flag in $(EXTRA_TARGET_FLAGS); do \
33882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33883 done; \
33884 (cd $(TARGET_SUBDIR)/libtermcap && \
33885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33887 "RANLIB=$${RANLIB}" \
33888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33889 html) \
33890 || exit 1
33892 @endif target-libtermcap
33894 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
33895 maybe-TAGS-target-libtermcap:
33896 @if target-libtermcap
33897 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
33899 TAGS-target-libtermcap: \
33900 configure-target-libtermcap
33901 @: $(MAKE); $(unstage)
33902 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33903 r=`${PWD_COMMAND}`; export r; \
33904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33905 $(NORMAL_TARGET_EXPORTS) \
33906 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
33907 for flag in $(EXTRA_TARGET_FLAGS); do \
33908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33909 done; \
33910 (cd $(TARGET_SUBDIR)/libtermcap && \
33911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33913 "RANLIB=$${RANLIB}" \
33914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33915 TAGS) \
33916 || exit 1
33918 @endif target-libtermcap
33920 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
33921 maybe-install-info-target-libtermcap:
33922 @if target-libtermcap
33923 maybe-install-info-target-libtermcap: install-info-target-libtermcap
33925 install-info-target-libtermcap: \
33926 configure-target-libtermcap \
33927 info-target-libtermcap
33928 @: $(MAKE); $(unstage)
33929 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33930 r=`${PWD_COMMAND}`; export r; \
33931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33932 $(NORMAL_TARGET_EXPORTS) \
33933 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
33934 for flag in $(EXTRA_TARGET_FLAGS); do \
33935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33936 done; \
33937 (cd $(TARGET_SUBDIR)/libtermcap && \
33938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33940 "RANLIB=$${RANLIB}" \
33941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33942 install-info) \
33943 || exit 1
33945 @endif target-libtermcap
33947 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
33948 maybe-install-html-target-libtermcap:
33949 @if target-libtermcap
33950 maybe-install-html-target-libtermcap: install-html-target-libtermcap
33952 install-html-target-libtermcap: \
33953 configure-target-libtermcap \
33954 html-target-libtermcap
33955 @: $(MAKE); $(unstage)
33956 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33957 r=`${PWD_COMMAND}`; export r; \
33958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33959 $(NORMAL_TARGET_EXPORTS) \
33960 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
33961 for flag in $(EXTRA_TARGET_FLAGS); do \
33962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33963 done; \
33964 (cd $(TARGET_SUBDIR)/libtermcap && \
33965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33967 "RANLIB=$${RANLIB}" \
33968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33969 install-html) \
33970 || exit 1
33972 @endif target-libtermcap
33974 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
33975 maybe-installcheck-target-libtermcap:
33976 @if target-libtermcap
33977 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
33979 installcheck-target-libtermcap: \
33980 configure-target-libtermcap
33981 @: $(MAKE); $(unstage)
33982 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33983 r=`${PWD_COMMAND}`; export r; \
33984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33985 $(NORMAL_TARGET_EXPORTS) \
33986 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
33987 for flag in $(EXTRA_TARGET_FLAGS); do \
33988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33989 done; \
33990 (cd $(TARGET_SUBDIR)/libtermcap && \
33991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33993 "RANLIB=$${RANLIB}" \
33994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33995 installcheck) \
33996 || exit 1
33998 @endif target-libtermcap
34000 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
34001 maybe-mostlyclean-target-libtermcap:
34002 @if target-libtermcap
34003 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
34005 # libtermcap doesn't support mostlyclean.
34006 mostlyclean-target-libtermcap:
34008 @endif target-libtermcap
34010 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
34011 maybe-clean-target-libtermcap:
34012 @if target-libtermcap
34013 maybe-clean-target-libtermcap: clean-target-libtermcap
34015 # libtermcap doesn't support clean.
34016 clean-target-libtermcap:
34018 @endif target-libtermcap
34020 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
34021 maybe-distclean-target-libtermcap:
34022 @if target-libtermcap
34023 maybe-distclean-target-libtermcap: distclean-target-libtermcap
34025 # libtermcap doesn't support distclean.
34026 distclean-target-libtermcap:
34028 @endif target-libtermcap
34030 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
34031 maybe-maintainer-clean-target-libtermcap:
34032 @if target-libtermcap
34033 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
34035 # libtermcap doesn't support maintainer-clean.
34036 maintainer-clean-target-libtermcap:
34038 @endif target-libtermcap
34044 .PHONY: configure-target-winsup maybe-configure-target-winsup
34045 maybe-configure-target-winsup:
34046 @if gcc-bootstrap
34047 configure-target-winsup: stage_current
34048 @endif gcc-bootstrap
34049 @if target-winsup
34050 maybe-configure-target-winsup: configure-target-winsup
34051 configure-target-winsup:
34052 @: $(MAKE); $(unstage)
34053 @r=`${PWD_COMMAND}`; export r; \
34054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34055 echo "Checking multilib configuration for winsup..."; \
34056 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
34057 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
34058 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
34059 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
34060 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
34061 else \
34062 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
34063 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
34064 fi; \
34065 else \
34066 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
34067 fi; \
34068 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
34069 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
34070 $(NORMAL_TARGET_EXPORTS) \
34071 echo Configuring in $(TARGET_SUBDIR)/winsup; \
34072 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
34073 case $(srcdir) in \
34074 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34075 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
34076 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34077 esac; \
34078 srcdiroption="--srcdir=$${topdir}/winsup"; \
34079 libsrcdir="$$s/winsup"; \
34080 rm -f no-such-file || : ; \
34081 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34082 $(TARGET_CONFIGARGS) $${srcdiroption} \
34083 || exit 1
34084 @endif target-winsup
34090 .PHONY: all-target-winsup maybe-all-target-winsup
34091 maybe-all-target-winsup:
34092 @if gcc-bootstrap
34093 all-target-winsup: stage_current
34094 @endif gcc-bootstrap
34095 @if target-winsup
34096 TARGET-target-winsup=all
34097 maybe-all-target-winsup: all-target-winsup
34098 all-target-winsup: configure-target-winsup
34099 @: $(MAKE); $(unstage)
34100 @r=`${PWD_COMMAND}`; export r; \
34101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34102 $(NORMAL_TARGET_EXPORTS) \
34103 (cd $(TARGET_SUBDIR)/winsup && \
34104 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
34105 @endif target-winsup
34111 .PHONY: check-target-winsup maybe-check-target-winsup
34112 maybe-check-target-winsup:
34113 @if target-winsup
34114 maybe-check-target-winsup: check-target-winsup
34116 check-target-winsup:
34117 @: $(MAKE); $(unstage)
34118 @r=`${PWD_COMMAND}`; export r; \
34119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34120 $(NORMAL_TARGET_EXPORTS) \
34121 (cd $(TARGET_SUBDIR)/winsup && \
34122 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34124 @endif target-winsup
34126 .PHONY: install-target-winsup maybe-install-target-winsup
34127 maybe-install-target-winsup:
34128 @if target-winsup
34129 maybe-install-target-winsup: install-target-winsup
34131 install-target-winsup: installdirs
34132 @: $(MAKE); $(unstage)
34133 @r=`${PWD_COMMAND}`; export r; \
34134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34135 $(NORMAL_TARGET_EXPORTS) \
34136 (cd $(TARGET_SUBDIR)/winsup && \
34137 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34139 @endif target-winsup
34141 # Other targets (info, dvi, etc.)
34143 .PHONY: maybe-info-target-winsup info-target-winsup
34144 maybe-info-target-winsup:
34145 @if target-winsup
34146 maybe-info-target-winsup: info-target-winsup
34148 info-target-winsup: \
34149 configure-target-winsup
34150 @: $(MAKE); $(unstage)
34151 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34152 r=`${PWD_COMMAND}`; export r; \
34153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34154 $(NORMAL_TARGET_EXPORTS) \
34155 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
34156 for flag in $(EXTRA_TARGET_FLAGS); do \
34157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34158 done; \
34159 (cd $(TARGET_SUBDIR)/winsup && \
34160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34162 "RANLIB=$${RANLIB}" \
34163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34164 info) \
34165 || exit 1
34167 @endif target-winsup
34169 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
34170 maybe-dvi-target-winsup:
34171 @if target-winsup
34172 maybe-dvi-target-winsup: dvi-target-winsup
34174 dvi-target-winsup: \
34175 configure-target-winsup
34176 @: $(MAKE); $(unstage)
34177 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34178 r=`${PWD_COMMAND}`; export r; \
34179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34180 $(NORMAL_TARGET_EXPORTS) \
34181 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
34182 for flag in $(EXTRA_TARGET_FLAGS); do \
34183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34184 done; \
34185 (cd $(TARGET_SUBDIR)/winsup && \
34186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34188 "RANLIB=$${RANLIB}" \
34189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34190 dvi) \
34191 || exit 1
34193 @endif target-winsup
34195 .PHONY: maybe-html-target-winsup html-target-winsup
34196 maybe-html-target-winsup:
34197 @if target-winsup
34198 maybe-html-target-winsup: html-target-winsup
34200 html-target-winsup: \
34201 configure-target-winsup
34202 @: $(MAKE); $(unstage)
34203 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34204 r=`${PWD_COMMAND}`; export r; \
34205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34206 $(NORMAL_TARGET_EXPORTS) \
34207 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
34208 for flag in $(EXTRA_TARGET_FLAGS); do \
34209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34210 done; \
34211 (cd $(TARGET_SUBDIR)/winsup && \
34212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34214 "RANLIB=$${RANLIB}" \
34215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34216 html) \
34217 || exit 1
34219 @endif target-winsup
34221 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
34222 maybe-TAGS-target-winsup:
34223 @if target-winsup
34224 maybe-TAGS-target-winsup: TAGS-target-winsup
34226 TAGS-target-winsup: \
34227 configure-target-winsup
34228 @: $(MAKE); $(unstage)
34229 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34230 r=`${PWD_COMMAND}`; export r; \
34231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34232 $(NORMAL_TARGET_EXPORTS) \
34233 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
34234 for flag in $(EXTRA_TARGET_FLAGS); do \
34235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34236 done; \
34237 (cd $(TARGET_SUBDIR)/winsup && \
34238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34240 "RANLIB=$${RANLIB}" \
34241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34242 TAGS) \
34243 || exit 1
34245 @endif target-winsup
34247 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
34248 maybe-install-info-target-winsup:
34249 @if target-winsup
34250 maybe-install-info-target-winsup: install-info-target-winsup
34252 install-info-target-winsup: \
34253 configure-target-winsup \
34254 info-target-winsup
34255 @: $(MAKE); $(unstage)
34256 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34257 r=`${PWD_COMMAND}`; export r; \
34258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34259 $(NORMAL_TARGET_EXPORTS) \
34260 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
34261 for flag in $(EXTRA_TARGET_FLAGS); do \
34262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34263 done; \
34264 (cd $(TARGET_SUBDIR)/winsup && \
34265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34267 "RANLIB=$${RANLIB}" \
34268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34269 install-info) \
34270 || exit 1
34272 @endif target-winsup
34274 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
34275 maybe-install-html-target-winsup:
34276 @if target-winsup
34277 maybe-install-html-target-winsup: install-html-target-winsup
34279 install-html-target-winsup: \
34280 configure-target-winsup \
34281 html-target-winsup
34282 @: $(MAKE); $(unstage)
34283 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34284 r=`${PWD_COMMAND}`; export r; \
34285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34286 $(NORMAL_TARGET_EXPORTS) \
34287 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
34288 for flag in $(EXTRA_TARGET_FLAGS); do \
34289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34290 done; \
34291 (cd $(TARGET_SUBDIR)/winsup && \
34292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34294 "RANLIB=$${RANLIB}" \
34295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34296 install-html) \
34297 || exit 1
34299 @endif target-winsup
34301 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
34302 maybe-installcheck-target-winsup:
34303 @if target-winsup
34304 maybe-installcheck-target-winsup: installcheck-target-winsup
34306 installcheck-target-winsup: \
34307 configure-target-winsup
34308 @: $(MAKE); $(unstage)
34309 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34310 r=`${PWD_COMMAND}`; export r; \
34311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34312 $(NORMAL_TARGET_EXPORTS) \
34313 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
34314 for flag in $(EXTRA_TARGET_FLAGS); do \
34315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34316 done; \
34317 (cd $(TARGET_SUBDIR)/winsup && \
34318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34320 "RANLIB=$${RANLIB}" \
34321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34322 installcheck) \
34323 || exit 1
34325 @endif target-winsup
34327 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
34328 maybe-mostlyclean-target-winsup:
34329 @if target-winsup
34330 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
34332 mostlyclean-target-winsup:
34333 @: $(MAKE); $(unstage)
34334 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34335 r=`${PWD_COMMAND}`; export r; \
34336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34337 $(NORMAL_TARGET_EXPORTS) \
34338 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
34339 for flag in $(EXTRA_TARGET_FLAGS); do \
34340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34341 done; \
34342 (cd $(TARGET_SUBDIR)/winsup && \
34343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34345 "RANLIB=$${RANLIB}" \
34346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34347 mostlyclean) \
34348 || exit 1
34350 @endif target-winsup
34352 .PHONY: maybe-clean-target-winsup clean-target-winsup
34353 maybe-clean-target-winsup:
34354 @if target-winsup
34355 maybe-clean-target-winsup: clean-target-winsup
34357 clean-target-winsup:
34358 @: $(MAKE); $(unstage)
34359 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34360 r=`${PWD_COMMAND}`; export r; \
34361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34362 $(NORMAL_TARGET_EXPORTS) \
34363 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
34364 for flag in $(EXTRA_TARGET_FLAGS); do \
34365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34366 done; \
34367 (cd $(TARGET_SUBDIR)/winsup && \
34368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34370 "RANLIB=$${RANLIB}" \
34371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34372 clean) \
34373 || exit 1
34375 @endif target-winsup
34377 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
34378 maybe-distclean-target-winsup:
34379 @if target-winsup
34380 maybe-distclean-target-winsup: distclean-target-winsup
34382 distclean-target-winsup:
34383 @: $(MAKE); $(unstage)
34384 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34385 r=`${PWD_COMMAND}`; export r; \
34386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34387 $(NORMAL_TARGET_EXPORTS) \
34388 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
34389 for flag in $(EXTRA_TARGET_FLAGS); do \
34390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34391 done; \
34392 (cd $(TARGET_SUBDIR)/winsup && \
34393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34395 "RANLIB=$${RANLIB}" \
34396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34397 distclean) \
34398 || exit 1
34400 @endif target-winsup
34402 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
34403 maybe-maintainer-clean-target-winsup:
34404 @if target-winsup
34405 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
34407 maintainer-clean-target-winsup:
34408 @: $(MAKE); $(unstage)
34409 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34410 r=`${PWD_COMMAND}`; export r; \
34411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34412 $(NORMAL_TARGET_EXPORTS) \
34413 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
34414 for flag in $(EXTRA_TARGET_FLAGS); do \
34415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34416 done; \
34417 (cd $(TARGET_SUBDIR)/winsup && \
34418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34420 "RANLIB=$${RANLIB}" \
34421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34422 maintainer-clean) \
34423 || exit 1
34425 @endif target-winsup
34431 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
34432 maybe-configure-target-libgloss:
34433 @if gcc-bootstrap
34434 configure-target-libgloss: stage_current
34435 @endif gcc-bootstrap
34436 @if target-libgloss
34437 maybe-configure-target-libgloss: configure-target-libgloss
34438 configure-target-libgloss:
34439 @: $(MAKE); $(unstage)
34440 @r=`${PWD_COMMAND}`; export r; \
34441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34442 echo "Checking multilib configuration for libgloss..."; \
34443 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
34444 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
34445 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
34446 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
34447 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
34448 else \
34449 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
34450 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
34451 fi; \
34452 else \
34453 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
34454 fi; \
34455 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
34456 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
34457 $(NORMAL_TARGET_EXPORTS) \
34458 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
34459 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
34460 case $(srcdir) in \
34461 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34462 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
34463 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34464 esac; \
34465 srcdiroption="--srcdir=$${topdir}/libgloss"; \
34466 libsrcdir="$$s/libgloss"; \
34467 rm -f no-such-file || : ; \
34468 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34469 $(TARGET_CONFIGARGS) $${srcdiroption} \
34470 || exit 1
34471 @endif target-libgloss
34477 .PHONY: all-target-libgloss maybe-all-target-libgloss
34478 maybe-all-target-libgloss:
34479 @if gcc-bootstrap
34480 all-target-libgloss: stage_current
34481 @endif gcc-bootstrap
34482 @if target-libgloss
34483 TARGET-target-libgloss=all
34484 maybe-all-target-libgloss: all-target-libgloss
34485 all-target-libgloss: configure-target-libgloss
34486 @: $(MAKE); $(unstage)
34487 @r=`${PWD_COMMAND}`; export r; \
34488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34489 $(NORMAL_TARGET_EXPORTS) \
34490 (cd $(TARGET_SUBDIR)/libgloss && \
34491 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
34492 @endif target-libgloss
34498 .PHONY: check-target-libgloss maybe-check-target-libgloss
34499 maybe-check-target-libgloss:
34500 @if target-libgloss
34501 maybe-check-target-libgloss: check-target-libgloss
34503 # Dummy target for uncheckable module.
34504 check-target-libgloss:
34506 @endif target-libgloss
34508 .PHONY: install-target-libgloss maybe-install-target-libgloss
34509 maybe-install-target-libgloss:
34510 @if target-libgloss
34511 maybe-install-target-libgloss: install-target-libgloss
34513 install-target-libgloss: installdirs
34514 @: $(MAKE); $(unstage)
34515 @r=`${PWD_COMMAND}`; export r; \
34516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34517 $(NORMAL_TARGET_EXPORTS) \
34518 (cd $(TARGET_SUBDIR)/libgloss && \
34519 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34521 @endif target-libgloss
34523 # Other targets (info, dvi, etc.)
34525 .PHONY: maybe-info-target-libgloss info-target-libgloss
34526 maybe-info-target-libgloss:
34527 @if target-libgloss
34528 maybe-info-target-libgloss: info-target-libgloss
34530 info-target-libgloss: \
34531 configure-target-libgloss
34532 @: $(MAKE); $(unstage)
34533 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34534 r=`${PWD_COMMAND}`; export r; \
34535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34536 $(NORMAL_TARGET_EXPORTS) \
34537 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
34538 for flag in $(EXTRA_TARGET_FLAGS); do \
34539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34540 done; \
34541 (cd $(TARGET_SUBDIR)/libgloss && \
34542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34544 "RANLIB=$${RANLIB}" \
34545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34546 info) \
34547 || exit 1
34549 @endif target-libgloss
34551 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
34552 maybe-dvi-target-libgloss:
34553 @if target-libgloss
34554 maybe-dvi-target-libgloss: dvi-target-libgloss
34556 dvi-target-libgloss: \
34557 configure-target-libgloss
34558 @: $(MAKE); $(unstage)
34559 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34560 r=`${PWD_COMMAND}`; export r; \
34561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34562 $(NORMAL_TARGET_EXPORTS) \
34563 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
34564 for flag in $(EXTRA_TARGET_FLAGS); do \
34565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34566 done; \
34567 (cd $(TARGET_SUBDIR)/libgloss && \
34568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34570 "RANLIB=$${RANLIB}" \
34571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34572 dvi) \
34573 || exit 1
34575 @endif target-libgloss
34577 .PHONY: maybe-html-target-libgloss html-target-libgloss
34578 maybe-html-target-libgloss:
34579 @if target-libgloss
34580 maybe-html-target-libgloss: html-target-libgloss
34582 html-target-libgloss: \
34583 configure-target-libgloss
34584 @: $(MAKE); $(unstage)
34585 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34586 r=`${PWD_COMMAND}`; export r; \
34587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34588 $(NORMAL_TARGET_EXPORTS) \
34589 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
34590 for flag in $(EXTRA_TARGET_FLAGS); do \
34591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34592 done; \
34593 (cd $(TARGET_SUBDIR)/libgloss && \
34594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34596 "RANLIB=$${RANLIB}" \
34597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34598 html) \
34599 || exit 1
34601 @endif target-libgloss
34603 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
34604 maybe-TAGS-target-libgloss:
34605 @if target-libgloss
34606 maybe-TAGS-target-libgloss: TAGS-target-libgloss
34608 TAGS-target-libgloss: \
34609 configure-target-libgloss
34610 @: $(MAKE); $(unstage)
34611 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34612 r=`${PWD_COMMAND}`; export r; \
34613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34614 $(NORMAL_TARGET_EXPORTS) \
34615 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
34616 for flag in $(EXTRA_TARGET_FLAGS); do \
34617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34618 done; \
34619 (cd $(TARGET_SUBDIR)/libgloss && \
34620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34622 "RANLIB=$${RANLIB}" \
34623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34624 TAGS) \
34625 || exit 1
34627 @endif target-libgloss
34629 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
34630 maybe-install-info-target-libgloss:
34631 @if target-libgloss
34632 maybe-install-info-target-libgloss: install-info-target-libgloss
34634 install-info-target-libgloss: \
34635 configure-target-libgloss \
34636 info-target-libgloss
34637 @: $(MAKE); $(unstage)
34638 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34639 r=`${PWD_COMMAND}`; export r; \
34640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34641 $(NORMAL_TARGET_EXPORTS) \
34642 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
34643 for flag in $(EXTRA_TARGET_FLAGS); do \
34644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34645 done; \
34646 (cd $(TARGET_SUBDIR)/libgloss && \
34647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34649 "RANLIB=$${RANLIB}" \
34650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34651 install-info) \
34652 || exit 1
34654 @endif target-libgloss
34656 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
34657 maybe-install-html-target-libgloss:
34658 @if target-libgloss
34659 maybe-install-html-target-libgloss: install-html-target-libgloss
34661 install-html-target-libgloss: \
34662 configure-target-libgloss \
34663 html-target-libgloss
34664 @: $(MAKE); $(unstage)
34665 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34666 r=`${PWD_COMMAND}`; export r; \
34667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34668 $(NORMAL_TARGET_EXPORTS) \
34669 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
34670 for flag in $(EXTRA_TARGET_FLAGS); do \
34671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34672 done; \
34673 (cd $(TARGET_SUBDIR)/libgloss && \
34674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34676 "RANLIB=$${RANLIB}" \
34677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34678 install-html) \
34679 || exit 1
34681 @endif target-libgloss
34683 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
34684 maybe-installcheck-target-libgloss:
34685 @if target-libgloss
34686 maybe-installcheck-target-libgloss: installcheck-target-libgloss
34688 installcheck-target-libgloss: \
34689 configure-target-libgloss
34690 @: $(MAKE); $(unstage)
34691 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34692 r=`${PWD_COMMAND}`; export r; \
34693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34694 $(NORMAL_TARGET_EXPORTS) \
34695 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
34696 for flag in $(EXTRA_TARGET_FLAGS); do \
34697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34698 done; \
34699 (cd $(TARGET_SUBDIR)/libgloss && \
34700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34702 "RANLIB=$${RANLIB}" \
34703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34704 installcheck) \
34705 || exit 1
34707 @endif target-libgloss
34709 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
34710 maybe-mostlyclean-target-libgloss:
34711 @if target-libgloss
34712 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
34714 mostlyclean-target-libgloss:
34715 @: $(MAKE); $(unstage)
34716 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34717 r=`${PWD_COMMAND}`; export r; \
34718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34719 $(NORMAL_TARGET_EXPORTS) \
34720 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
34721 for flag in $(EXTRA_TARGET_FLAGS); do \
34722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34723 done; \
34724 (cd $(TARGET_SUBDIR)/libgloss && \
34725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34727 "RANLIB=$${RANLIB}" \
34728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34729 mostlyclean) \
34730 || exit 1
34732 @endif target-libgloss
34734 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
34735 maybe-clean-target-libgloss:
34736 @if target-libgloss
34737 maybe-clean-target-libgloss: clean-target-libgloss
34739 clean-target-libgloss:
34740 @: $(MAKE); $(unstage)
34741 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34742 r=`${PWD_COMMAND}`; export r; \
34743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34744 $(NORMAL_TARGET_EXPORTS) \
34745 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
34746 for flag in $(EXTRA_TARGET_FLAGS); do \
34747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34748 done; \
34749 (cd $(TARGET_SUBDIR)/libgloss && \
34750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34752 "RANLIB=$${RANLIB}" \
34753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34754 clean) \
34755 || exit 1
34757 @endif target-libgloss
34759 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
34760 maybe-distclean-target-libgloss:
34761 @if target-libgloss
34762 maybe-distclean-target-libgloss: distclean-target-libgloss
34764 distclean-target-libgloss:
34765 @: $(MAKE); $(unstage)
34766 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34767 r=`${PWD_COMMAND}`; export r; \
34768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34769 $(NORMAL_TARGET_EXPORTS) \
34770 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
34771 for flag in $(EXTRA_TARGET_FLAGS); do \
34772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34773 done; \
34774 (cd $(TARGET_SUBDIR)/libgloss && \
34775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34777 "RANLIB=$${RANLIB}" \
34778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34779 distclean) \
34780 || exit 1
34782 @endif target-libgloss
34784 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
34785 maybe-maintainer-clean-target-libgloss:
34786 @if target-libgloss
34787 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
34789 maintainer-clean-target-libgloss:
34790 @: $(MAKE); $(unstage)
34791 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34792 r=`${PWD_COMMAND}`; export r; \
34793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34794 $(NORMAL_TARGET_EXPORTS) \
34795 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
34796 for flag in $(EXTRA_TARGET_FLAGS); do \
34797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34798 done; \
34799 (cd $(TARGET_SUBDIR)/libgloss && \
34800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34802 "RANLIB=$${RANLIB}" \
34803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34804 maintainer-clean) \
34805 || exit 1
34807 @endif target-libgloss
34813 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
34814 maybe-configure-target-libiberty:
34815 @if gcc-bootstrap
34816 configure-target-libiberty: stage_current
34817 @endif gcc-bootstrap
34818 @if target-libiberty
34819 maybe-configure-target-libiberty: configure-target-libiberty
34820 configure-target-libiberty:
34821 @: $(MAKE); $(unstage)
34822 @r=`${PWD_COMMAND}`; export r; \
34823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34824 echo "Checking multilib configuration for libiberty..."; \
34825 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
34826 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
34827 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
34828 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
34829 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
34830 else \
34831 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
34832 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
34833 fi; \
34834 else \
34835 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
34836 fi; \
34837 test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
34838 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
34839 $(NORMAL_TARGET_EXPORTS) \
34840 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
34841 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
34842 case $(srcdir) in \
34843 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34844 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
34845 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34846 esac; \
34847 srcdiroption="--srcdir=$${topdir}/libiberty"; \
34848 libsrcdir="$$s/libiberty"; \
34849 rm -f no-such-file || : ; \
34850 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34851 $(TARGET_CONFIGARGS) $${srcdiroption} \
34852 || exit 1
34853 @endif target-libiberty
34859 .PHONY: all-target-libiberty maybe-all-target-libiberty
34860 maybe-all-target-libiberty:
34861 @if gcc-bootstrap
34862 all-target-libiberty: stage_current
34863 @endif gcc-bootstrap
34864 @if target-libiberty
34865 TARGET-target-libiberty=all
34866 maybe-all-target-libiberty: all-target-libiberty
34867 all-target-libiberty: configure-target-libiberty
34868 @: $(MAKE); $(unstage)
34869 @r=`${PWD_COMMAND}`; export r; \
34870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34871 $(NORMAL_TARGET_EXPORTS) \
34872 (cd $(TARGET_SUBDIR)/libiberty && \
34873 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
34874 @endif target-libiberty
34880 .PHONY: check-target-libiberty maybe-check-target-libiberty
34881 maybe-check-target-libiberty:
34882 @if target-libiberty
34883 maybe-check-target-libiberty: check-target-libiberty
34885 check-target-libiberty:
34886 @: $(MAKE); $(unstage)
34887 @r=`${PWD_COMMAND}`; export r; \
34888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34889 $(NORMAL_TARGET_EXPORTS) \
34890 (cd $(TARGET_SUBDIR)/libiberty && \
34891 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34893 @endif target-libiberty
34895 .PHONY: install-target-libiberty maybe-install-target-libiberty
34896 maybe-install-target-libiberty:
34897 @if target-libiberty
34898 maybe-install-target-libiberty: install-target-libiberty
34900 install-target-libiberty: installdirs
34901 @: $(MAKE); $(unstage)
34902 @r=`${PWD_COMMAND}`; export r; \
34903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34904 $(NORMAL_TARGET_EXPORTS) \
34905 (cd $(TARGET_SUBDIR)/libiberty && \
34906 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34908 @endif target-libiberty
34910 # Other targets (info, dvi, etc.)
34912 .PHONY: maybe-info-target-libiberty info-target-libiberty
34913 maybe-info-target-libiberty:
34914 @if target-libiberty
34915 maybe-info-target-libiberty: info-target-libiberty
34917 info-target-libiberty: \
34918 configure-target-libiberty
34919 @: $(MAKE); $(unstage)
34920 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
34921 r=`${PWD_COMMAND}`; export r; \
34922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34923 $(NORMAL_TARGET_EXPORTS) \
34924 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
34925 for flag in $(EXTRA_TARGET_FLAGS); do \
34926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34927 done; \
34928 (cd $(TARGET_SUBDIR)/libiberty && \
34929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34931 "RANLIB=$${RANLIB}" \
34932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34933 info) \
34934 || exit 1
34936 @endif target-libiberty
34938 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
34939 maybe-dvi-target-libiberty:
34940 @if target-libiberty
34941 maybe-dvi-target-libiberty: dvi-target-libiberty
34943 dvi-target-libiberty: \
34944 configure-target-libiberty
34945 @: $(MAKE); $(unstage)
34946 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
34947 r=`${PWD_COMMAND}`; export r; \
34948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34949 $(NORMAL_TARGET_EXPORTS) \
34950 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
34951 for flag in $(EXTRA_TARGET_FLAGS); do \
34952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34953 done; \
34954 (cd $(TARGET_SUBDIR)/libiberty && \
34955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34957 "RANLIB=$${RANLIB}" \
34958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34959 dvi) \
34960 || exit 1
34962 @endif target-libiberty
34964 .PHONY: maybe-html-target-libiberty html-target-libiberty
34965 maybe-html-target-libiberty:
34966 @if target-libiberty
34967 maybe-html-target-libiberty: html-target-libiberty
34969 html-target-libiberty: \
34970 configure-target-libiberty
34971 @: $(MAKE); $(unstage)
34972 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
34973 r=`${PWD_COMMAND}`; export r; \
34974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34975 $(NORMAL_TARGET_EXPORTS) \
34976 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
34977 for flag in $(EXTRA_TARGET_FLAGS); do \
34978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34979 done; \
34980 (cd $(TARGET_SUBDIR)/libiberty && \
34981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34983 "RANLIB=$${RANLIB}" \
34984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34985 html) \
34986 || exit 1
34988 @endif target-libiberty
34990 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
34991 maybe-TAGS-target-libiberty:
34992 @if target-libiberty
34993 maybe-TAGS-target-libiberty: TAGS-target-libiberty
34995 TAGS-target-libiberty: \
34996 configure-target-libiberty
34997 @: $(MAKE); $(unstage)
34998 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
34999 r=`${PWD_COMMAND}`; export r; \
35000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35001 $(NORMAL_TARGET_EXPORTS) \
35002 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
35003 for flag in $(EXTRA_TARGET_FLAGS); do \
35004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35005 done; \
35006 (cd $(TARGET_SUBDIR)/libiberty && \
35007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35009 "RANLIB=$${RANLIB}" \
35010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35011 TAGS) \
35012 || exit 1
35014 @endif target-libiberty
35016 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
35017 maybe-install-info-target-libiberty:
35018 @if target-libiberty
35019 maybe-install-info-target-libiberty: install-info-target-libiberty
35021 install-info-target-libiberty: \
35022 configure-target-libiberty \
35023 info-target-libiberty
35024 @: $(MAKE); $(unstage)
35025 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35026 r=`${PWD_COMMAND}`; export r; \
35027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35028 $(NORMAL_TARGET_EXPORTS) \
35029 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
35030 for flag in $(EXTRA_TARGET_FLAGS); do \
35031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35032 done; \
35033 (cd $(TARGET_SUBDIR)/libiberty && \
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 install-info) \
35039 || exit 1
35041 @endif target-libiberty
35043 .PHONY: maybe-install-html-target-libiberty install-html-target-libiberty
35044 maybe-install-html-target-libiberty:
35045 @if target-libiberty
35046 maybe-install-html-target-libiberty: install-html-target-libiberty
35048 install-html-target-libiberty: \
35049 configure-target-libiberty \
35050 html-target-libiberty
35051 @: $(MAKE); $(unstage)
35052 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35053 r=`${PWD_COMMAND}`; export r; \
35054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35055 $(NORMAL_TARGET_EXPORTS) \
35056 echo "Doing install-html in $(TARGET_SUBDIR)/libiberty" ; \
35057 for flag in $(EXTRA_TARGET_FLAGS); do \
35058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35059 done; \
35060 (cd $(TARGET_SUBDIR)/libiberty && \
35061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35063 "RANLIB=$${RANLIB}" \
35064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35065 install-html) \
35066 || exit 1
35068 @endif target-libiberty
35070 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
35071 maybe-installcheck-target-libiberty:
35072 @if target-libiberty
35073 maybe-installcheck-target-libiberty: installcheck-target-libiberty
35075 installcheck-target-libiberty: \
35076 configure-target-libiberty
35077 @: $(MAKE); $(unstage)
35078 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35079 r=`${PWD_COMMAND}`; export r; \
35080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35081 $(NORMAL_TARGET_EXPORTS) \
35082 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
35083 for flag in $(EXTRA_TARGET_FLAGS); do \
35084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35085 done; \
35086 (cd $(TARGET_SUBDIR)/libiberty && \
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 installcheck) \
35092 || exit 1
35094 @endif target-libiberty
35096 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
35097 maybe-mostlyclean-target-libiberty:
35098 @if target-libiberty
35099 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
35101 mostlyclean-target-libiberty:
35102 @: $(MAKE); $(unstage)
35103 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35104 r=`${PWD_COMMAND}`; export r; \
35105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35106 $(NORMAL_TARGET_EXPORTS) \
35107 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
35108 for flag in $(EXTRA_TARGET_FLAGS); do \
35109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35110 done; \
35111 (cd $(TARGET_SUBDIR)/libiberty && \
35112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35114 "RANLIB=$${RANLIB}" \
35115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35116 mostlyclean) \
35117 || exit 1
35119 @endif target-libiberty
35121 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
35122 maybe-clean-target-libiberty:
35123 @if target-libiberty
35124 maybe-clean-target-libiberty: clean-target-libiberty
35126 clean-target-libiberty:
35127 @: $(MAKE); $(unstage)
35128 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35129 r=`${PWD_COMMAND}`; export r; \
35130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35131 $(NORMAL_TARGET_EXPORTS) \
35132 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
35133 for flag in $(EXTRA_TARGET_FLAGS); do \
35134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35135 done; \
35136 (cd $(TARGET_SUBDIR)/libiberty && \
35137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35139 "RANLIB=$${RANLIB}" \
35140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35141 clean) \
35142 || exit 1
35144 @endif target-libiberty
35146 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
35147 maybe-distclean-target-libiberty:
35148 @if target-libiberty
35149 maybe-distclean-target-libiberty: distclean-target-libiberty
35151 distclean-target-libiberty:
35152 @: $(MAKE); $(unstage)
35153 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35154 r=`${PWD_COMMAND}`; export r; \
35155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35156 $(NORMAL_TARGET_EXPORTS) \
35157 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
35158 for flag in $(EXTRA_TARGET_FLAGS); do \
35159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35160 done; \
35161 (cd $(TARGET_SUBDIR)/libiberty && \
35162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35164 "RANLIB=$${RANLIB}" \
35165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35166 distclean) \
35167 || exit 1
35169 @endif target-libiberty
35171 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
35172 maybe-maintainer-clean-target-libiberty:
35173 @if target-libiberty
35174 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
35176 maintainer-clean-target-libiberty:
35177 @: $(MAKE); $(unstage)
35178 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35179 r=`${PWD_COMMAND}`; export r; \
35180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35181 $(NORMAL_TARGET_EXPORTS) \
35182 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
35183 for flag in $(EXTRA_TARGET_FLAGS); do \
35184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35185 done; \
35186 (cd $(TARGET_SUBDIR)/libiberty && \
35187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35189 "RANLIB=$${RANLIB}" \
35190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35191 maintainer-clean) \
35192 || exit 1
35194 @endif target-libiberty
35200 .PHONY: configure-target-gperf maybe-configure-target-gperf
35201 maybe-configure-target-gperf:
35202 @if gcc-bootstrap
35203 configure-target-gperf: stage_current
35204 @endif gcc-bootstrap
35205 @if target-gperf
35206 maybe-configure-target-gperf: configure-target-gperf
35207 configure-target-gperf:
35208 @: $(MAKE); $(unstage)
35209 @r=`${PWD_COMMAND}`; export r; \
35210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35211 echo "Checking multilib configuration for gperf..."; \
35212 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
35213 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
35214 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
35215 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
35216 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
35217 else \
35218 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
35219 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
35220 fi; \
35221 else \
35222 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
35223 fi; \
35224 test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
35225 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
35226 $(NORMAL_TARGET_EXPORTS) \
35227 echo Configuring in $(TARGET_SUBDIR)/gperf; \
35228 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
35229 case $(srcdir) in \
35230 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35231 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
35232 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35233 esac; \
35234 srcdiroption="--srcdir=$${topdir}/gperf"; \
35235 libsrcdir="$$s/gperf"; \
35236 rm -f no-such-file || : ; \
35237 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35238 $(TARGET_CONFIGARGS) $${srcdiroption} \
35239 || exit 1
35240 @endif target-gperf
35246 .PHONY: all-target-gperf maybe-all-target-gperf
35247 maybe-all-target-gperf:
35248 @if gcc-bootstrap
35249 all-target-gperf: stage_current
35250 @endif gcc-bootstrap
35251 @if target-gperf
35252 TARGET-target-gperf=all
35253 maybe-all-target-gperf: all-target-gperf
35254 all-target-gperf: configure-target-gperf
35255 @: $(MAKE); $(unstage)
35256 @r=`${PWD_COMMAND}`; export r; \
35257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35258 $(NORMAL_TARGET_EXPORTS) \
35259 (cd $(TARGET_SUBDIR)/gperf && \
35260 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
35261 @endif target-gperf
35267 .PHONY: check-target-gperf maybe-check-target-gperf
35268 maybe-check-target-gperf:
35269 @if target-gperf
35270 maybe-check-target-gperf: check-target-gperf
35272 check-target-gperf:
35273 @: $(MAKE); $(unstage)
35274 @r=`${PWD_COMMAND}`; export r; \
35275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35276 $(NORMAL_TARGET_EXPORTS) \
35277 (cd $(TARGET_SUBDIR)/gperf && \
35278 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35280 @endif target-gperf
35282 .PHONY: install-target-gperf maybe-install-target-gperf
35283 maybe-install-target-gperf:
35284 @if target-gperf
35285 maybe-install-target-gperf: install-target-gperf
35287 install-target-gperf: installdirs
35288 @: $(MAKE); $(unstage)
35289 @r=`${PWD_COMMAND}`; export r; \
35290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35291 $(NORMAL_TARGET_EXPORTS) \
35292 (cd $(TARGET_SUBDIR)/gperf && \
35293 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35295 @endif target-gperf
35297 # Other targets (info, dvi, etc.)
35299 .PHONY: maybe-info-target-gperf info-target-gperf
35300 maybe-info-target-gperf:
35301 @if target-gperf
35302 maybe-info-target-gperf: info-target-gperf
35304 info-target-gperf: \
35305 configure-target-gperf
35306 @: $(MAKE); $(unstage)
35307 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35308 r=`${PWD_COMMAND}`; export r; \
35309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35310 $(NORMAL_TARGET_EXPORTS) \
35311 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
35312 for flag in $(EXTRA_TARGET_FLAGS); do \
35313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35314 done; \
35315 (cd $(TARGET_SUBDIR)/gperf && \
35316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35318 "RANLIB=$${RANLIB}" \
35319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35320 info) \
35321 || exit 1
35323 @endif target-gperf
35325 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
35326 maybe-dvi-target-gperf:
35327 @if target-gperf
35328 maybe-dvi-target-gperf: dvi-target-gperf
35330 dvi-target-gperf: \
35331 configure-target-gperf
35332 @: $(MAKE); $(unstage)
35333 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35334 r=`${PWD_COMMAND}`; export r; \
35335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35336 $(NORMAL_TARGET_EXPORTS) \
35337 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
35338 for flag in $(EXTRA_TARGET_FLAGS); do \
35339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35340 done; \
35341 (cd $(TARGET_SUBDIR)/gperf && \
35342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35344 "RANLIB=$${RANLIB}" \
35345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35346 dvi) \
35347 || exit 1
35349 @endif target-gperf
35351 .PHONY: maybe-html-target-gperf html-target-gperf
35352 maybe-html-target-gperf:
35353 @if target-gperf
35354 maybe-html-target-gperf: html-target-gperf
35356 html-target-gperf: \
35357 configure-target-gperf
35358 @: $(MAKE); $(unstage)
35359 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35360 r=`${PWD_COMMAND}`; export r; \
35361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35362 $(NORMAL_TARGET_EXPORTS) \
35363 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
35364 for flag in $(EXTRA_TARGET_FLAGS); do \
35365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35366 done; \
35367 (cd $(TARGET_SUBDIR)/gperf && \
35368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35370 "RANLIB=$${RANLIB}" \
35371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35372 html) \
35373 || exit 1
35375 @endif target-gperf
35377 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
35378 maybe-TAGS-target-gperf:
35379 @if target-gperf
35380 maybe-TAGS-target-gperf: TAGS-target-gperf
35382 TAGS-target-gperf: \
35383 configure-target-gperf
35384 @: $(MAKE); $(unstage)
35385 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35386 r=`${PWD_COMMAND}`; export r; \
35387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35388 $(NORMAL_TARGET_EXPORTS) \
35389 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
35390 for flag in $(EXTRA_TARGET_FLAGS); do \
35391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35392 done; \
35393 (cd $(TARGET_SUBDIR)/gperf && \
35394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35396 "RANLIB=$${RANLIB}" \
35397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35398 TAGS) \
35399 || exit 1
35401 @endif target-gperf
35403 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
35404 maybe-install-info-target-gperf:
35405 @if target-gperf
35406 maybe-install-info-target-gperf: install-info-target-gperf
35408 install-info-target-gperf: \
35409 configure-target-gperf \
35410 info-target-gperf
35411 @: $(MAKE); $(unstage)
35412 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35413 r=`${PWD_COMMAND}`; export r; \
35414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35415 $(NORMAL_TARGET_EXPORTS) \
35416 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
35417 for flag in $(EXTRA_TARGET_FLAGS); do \
35418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35419 done; \
35420 (cd $(TARGET_SUBDIR)/gperf && \
35421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35423 "RANLIB=$${RANLIB}" \
35424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35425 install-info) \
35426 || exit 1
35428 @endif target-gperf
35430 .PHONY: maybe-install-html-target-gperf install-html-target-gperf
35431 maybe-install-html-target-gperf:
35432 @if target-gperf
35433 maybe-install-html-target-gperf: install-html-target-gperf
35435 install-html-target-gperf: \
35436 configure-target-gperf \
35437 html-target-gperf
35438 @: $(MAKE); $(unstage)
35439 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35440 r=`${PWD_COMMAND}`; export r; \
35441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35442 $(NORMAL_TARGET_EXPORTS) \
35443 echo "Doing install-html in $(TARGET_SUBDIR)/gperf" ; \
35444 for flag in $(EXTRA_TARGET_FLAGS); do \
35445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35446 done; \
35447 (cd $(TARGET_SUBDIR)/gperf && \
35448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35450 "RANLIB=$${RANLIB}" \
35451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35452 install-html) \
35453 || exit 1
35455 @endif target-gperf
35457 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
35458 maybe-installcheck-target-gperf:
35459 @if target-gperf
35460 maybe-installcheck-target-gperf: installcheck-target-gperf
35462 installcheck-target-gperf: \
35463 configure-target-gperf
35464 @: $(MAKE); $(unstage)
35465 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35466 r=`${PWD_COMMAND}`; export r; \
35467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35468 $(NORMAL_TARGET_EXPORTS) \
35469 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
35470 for flag in $(EXTRA_TARGET_FLAGS); do \
35471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35472 done; \
35473 (cd $(TARGET_SUBDIR)/gperf && \
35474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35476 "RANLIB=$${RANLIB}" \
35477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35478 installcheck) \
35479 || exit 1
35481 @endif target-gperf
35483 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
35484 maybe-mostlyclean-target-gperf:
35485 @if target-gperf
35486 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
35488 mostlyclean-target-gperf:
35489 @: $(MAKE); $(unstage)
35490 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35491 r=`${PWD_COMMAND}`; export r; \
35492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35493 $(NORMAL_TARGET_EXPORTS) \
35494 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
35495 for flag in $(EXTRA_TARGET_FLAGS); do \
35496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35497 done; \
35498 (cd $(TARGET_SUBDIR)/gperf && \
35499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35501 "RANLIB=$${RANLIB}" \
35502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35503 mostlyclean) \
35504 || exit 1
35506 @endif target-gperf
35508 .PHONY: maybe-clean-target-gperf clean-target-gperf
35509 maybe-clean-target-gperf:
35510 @if target-gperf
35511 maybe-clean-target-gperf: clean-target-gperf
35513 clean-target-gperf:
35514 @: $(MAKE); $(unstage)
35515 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35516 r=`${PWD_COMMAND}`; export r; \
35517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35518 $(NORMAL_TARGET_EXPORTS) \
35519 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
35520 for flag in $(EXTRA_TARGET_FLAGS); do \
35521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35522 done; \
35523 (cd $(TARGET_SUBDIR)/gperf && \
35524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35526 "RANLIB=$${RANLIB}" \
35527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35528 clean) \
35529 || exit 1
35531 @endif target-gperf
35533 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
35534 maybe-distclean-target-gperf:
35535 @if target-gperf
35536 maybe-distclean-target-gperf: distclean-target-gperf
35538 distclean-target-gperf:
35539 @: $(MAKE); $(unstage)
35540 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35541 r=`${PWD_COMMAND}`; export r; \
35542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35543 $(NORMAL_TARGET_EXPORTS) \
35544 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
35545 for flag in $(EXTRA_TARGET_FLAGS); do \
35546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35547 done; \
35548 (cd $(TARGET_SUBDIR)/gperf && \
35549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35551 "RANLIB=$${RANLIB}" \
35552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35553 distclean) \
35554 || exit 1
35556 @endif target-gperf
35558 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
35559 maybe-maintainer-clean-target-gperf:
35560 @if target-gperf
35561 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
35563 maintainer-clean-target-gperf:
35564 @: $(MAKE); $(unstage)
35565 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35566 r=`${PWD_COMMAND}`; export r; \
35567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35568 $(NORMAL_TARGET_EXPORTS) \
35569 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
35570 for flag in $(EXTRA_TARGET_FLAGS); do \
35571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35572 done; \
35573 (cd $(TARGET_SUBDIR)/gperf && \
35574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35576 "RANLIB=$${RANLIB}" \
35577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35578 maintainer-clean) \
35579 || exit 1
35581 @endif target-gperf
35587 .PHONY: configure-target-examples maybe-configure-target-examples
35588 maybe-configure-target-examples:
35589 @if gcc-bootstrap
35590 configure-target-examples: stage_current
35591 @endif gcc-bootstrap
35592 @if target-examples
35593 maybe-configure-target-examples: configure-target-examples
35594 configure-target-examples:
35595 @: $(MAKE); $(unstage)
35596 @r=`${PWD_COMMAND}`; export r; \
35597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35598 echo "Checking multilib configuration for examples..."; \
35599 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
35600 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
35601 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
35602 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
35603 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
35604 else \
35605 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
35606 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
35607 fi; \
35608 else \
35609 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
35610 fi; \
35611 test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
35612 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
35613 $(NORMAL_TARGET_EXPORTS) \
35614 echo Configuring in $(TARGET_SUBDIR)/examples; \
35615 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
35616 case $(srcdir) in \
35617 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35618 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
35619 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35620 esac; \
35621 srcdiroption="--srcdir=$${topdir}/examples"; \
35622 libsrcdir="$$s/examples"; \
35623 rm -f no-such-file || : ; \
35624 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35625 $(TARGET_CONFIGARGS) $${srcdiroption} \
35626 || exit 1
35627 @endif target-examples
35633 .PHONY: all-target-examples maybe-all-target-examples
35634 maybe-all-target-examples:
35635 @if gcc-bootstrap
35636 all-target-examples: stage_current
35637 @endif gcc-bootstrap
35638 @if target-examples
35639 TARGET-target-examples=all
35640 maybe-all-target-examples: all-target-examples
35641 all-target-examples: configure-target-examples
35642 @: $(MAKE); $(unstage)
35643 @r=`${PWD_COMMAND}`; export r; \
35644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35645 $(NORMAL_TARGET_EXPORTS) \
35646 (cd $(TARGET_SUBDIR)/examples && \
35647 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
35648 @endif target-examples
35654 .PHONY: check-target-examples maybe-check-target-examples
35655 maybe-check-target-examples:
35656 @if target-examples
35657 maybe-check-target-examples: check-target-examples
35659 # Dummy target for uncheckable module.
35660 check-target-examples:
35662 @endif target-examples
35664 .PHONY: install-target-examples maybe-install-target-examples
35665 maybe-install-target-examples:
35666 @if target-examples
35667 maybe-install-target-examples: install-target-examples
35669 # Dummy target for uninstallable.
35670 install-target-examples:
35672 @endif target-examples
35674 # Other targets (info, dvi, etc.)
35676 .PHONY: maybe-info-target-examples info-target-examples
35677 maybe-info-target-examples:
35678 @if target-examples
35679 maybe-info-target-examples: info-target-examples
35681 info-target-examples: \
35682 configure-target-examples
35683 @: $(MAKE); $(unstage)
35684 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35685 r=`${PWD_COMMAND}`; export r; \
35686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35687 $(NORMAL_TARGET_EXPORTS) \
35688 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
35689 for flag in $(EXTRA_TARGET_FLAGS); do \
35690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35691 done; \
35692 (cd $(TARGET_SUBDIR)/examples && \
35693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35695 "RANLIB=$${RANLIB}" \
35696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35697 info) \
35698 || exit 1
35700 @endif target-examples
35702 .PHONY: maybe-dvi-target-examples dvi-target-examples
35703 maybe-dvi-target-examples:
35704 @if target-examples
35705 maybe-dvi-target-examples: dvi-target-examples
35707 dvi-target-examples: \
35708 configure-target-examples
35709 @: $(MAKE); $(unstage)
35710 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35711 r=`${PWD_COMMAND}`; export r; \
35712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35713 $(NORMAL_TARGET_EXPORTS) \
35714 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
35715 for flag in $(EXTRA_TARGET_FLAGS); do \
35716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35717 done; \
35718 (cd $(TARGET_SUBDIR)/examples && \
35719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35721 "RANLIB=$${RANLIB}" \
35722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35723 dvi) \
35724 || exit 1
35726 @endif target-examples
35728 .PHONY: maybe-html-target-examples html-target-examples
35729 maybe-html-target-examples:
35730 @if target-examples
35731 maybe-html-target-examples: html-target-examples
35733 html-target-examples: \
35734 configure-target-examples
35735 @: $(MAKE); $(unstage)
35736 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35737 r=`${PWD_COMMAND}`; export r; \
35738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35739 $(NORMAL_TARGET_EXPORTS) \
35740 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
35741 for flag in $(EXTRA_TARGET_FLAGS); do \
35742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35743 done; \
35744 (cd $(TARGET_SUBDIR)/examples && \
35745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35747 "RANLIB=$${RANLIB}" \
35748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35749 html) \
35750 || exit 1
35752 @endif target-examples
35754 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
35755 maybe-TAGS-target-examples:
35756 @if target-examples
35757 maybe-TAGS-target-examples: TAGS-target-examples
35759 TAGS-target-examples: \
35760 configure-target-examples
35761 @: $(MAKE); $(unstage)
35762 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35763 r=`${PWD_COMMAND}`; export r; \
35764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35765 $(NORMAL_TARGET_EXPORTS) \
35766 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
35767 for flag in $(EXTRA_TARGET_FLAGS); do \
35768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35769 done; \
35770 (cd $(TARGET_SUBDIR)/examples && \
35771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35773 "RANLIB=$${RANLIB}" \
35774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35775 TAGS) \
35776 || exit 1
35778 @endif target-examples
35780 .PHONY: maybe-install-info-target-examples install-info-target-examples
35781 maybe-install-info-target-examples:
35782 @if target-examples
35783 maybe-install-info-target-examples: install-info-target-examples
35785 install-info-target-examples: \
35786 configure-target-examples \
35787 info-target-examples
35788 @: $(MAKE); $(unstage)
35789 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35790 r=`${PWD_COMMAND}`; export r; \
35791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35792 $(NORMAL_TARGET_EXPORTS) \
35793 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
35794 for flag in $(EXTRA_TARGET_FLAGS); do \
35795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35796 done; \
35797 (cd $(TARGET_SUBDIR)/examples && \
35798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35800 "RANLIB=$${RANLIB}" \
35801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35802 install-info) \
35803 || exit 1
35805 @endif target-examples
35807 .PHONY: maybe-install-html-target-examples install-html-target-examples
35808 maybe-install-html-target-examples:
35809 @if target-examples
35810 maybe-install-html-target-examples: install-html-target-examples
35812 install-html-target-examples: \
35813 configure-target-examples \
35814 html-target-examples
35815 @: $(MAKE); $(unstage)
35816 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35817 r=`${PWD_COMMAND}`; export r; \
35818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35819 $(NORMAL_TARGET_EXPORTS) \
35820 echo "Doing install-html in $(TARGET_SUBDIR)/examples" ; \
35821 for flag in $(EXTRA_TARGET_FLAGS); do \
35822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35823 done; \
35824 (cd $(TARGET_SUBDIR)/examples && \
35825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35827 "RANLIB=$${RANLIB}" \
35828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35829 install-html) \
35830 || exit 1
35832 @endif target-examples
35834 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
35835 maybe-installcheck-target-examples:
35836 @if target-examples
35837 maybe-installcheck-target-examples: installcheck-target-examples
35839 installcheck-target-examples: \
35840 configure-target-examples
35841 @: $(MAKE); $(unstage)
35842 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35843 r=`${PWD_COMMAND}`; export r; \
35844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35845 $(NORMAL_TARGET_EXPORTS) \
35846 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
35847 for flag in $(EXTRA_TARGET_FLAGS); do \
35848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35849 done; \
35850 (cd $(TARGET_SUBDIR)/examples && \
35851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35853 "RANLIB=$${RANLIB}" \
35854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35855 installcheck) \
35856 || exit 1
35858 @endif target-examples
35860 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
35861 maybe-mostlyclean-target-examples:
35862 @if target-examples
35863 maybe-mostlyclean-target-examples: mostlyclean-target-examples
35865 mostlyclean-target-examples:
35866 @: $(MAKE); $(unstage)
35867 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35868 r=`${PWD_COMMAND}`; export r; \
35869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35870 $(NORMAL_TARGET_EXPORTS) \
35871 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
35872 for flag in $(EXTRA_TARGET_FLAGS); do \
35873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35874 done; \
35875 (cd $(TARGET_SUBDIR)/examples && \
35876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35878 "RANLIB=$${RANLIB}" \
35879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35880 mostlyclean) \
35881 || exit 1
35883 @endif target-examples
35885 .PHONY: maybe-clean-target-examples clean-target-examples
35886 maybe-clean-target-examples:
35887 @if target-examples
35888 maybe-clean-target-examples: clean-target-examples
35890 clean-target-examples:
35891 @: $(MAKE); $(unstage)
35892 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35893 r=`${PWD_COMMAND}`; export r; \
35894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35895 $(NORMAL_TARGET_EXPORTS) \
35896 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
35897 for flag in $(EXTRA_TARGET_FLAGS); do \
35898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35899 done; \
35900 (cd $(TARGET_SUBDIR)/examples && \
35901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35903 "RANLIB=$${RANLIB}" \
35904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35905 clean) \
35906 || exit 1
35908 @endif target-examples
35910 .PHONY: maybe-distclean-target-examples distclean-target-examples
35911 maybe-distclean-target-examples:
35912 @if target-examples
35913 maybe-distclean-target-examples: distclean-target-examples
35915 distclean-target-examples:
35916 @: $(MAKE); $(unstage)
35917 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35918 r=`${PWD_COMMAND}`; export r; \
35919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35920 $(NORMAL_TARGET_EXPORTS) \
35921 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
35922 for flag in $(EXTRA_TARGET_FLAGS); do \
35923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35924 done; \
35925 (cd $(TARGET_SUBDIR)/examples && \
35926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35928 "RANLIB=$${RANLIB}" \
35929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35930 distclean) \
35931 || exit 1
35933 @endif target-examples
35935 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
35936 maybe-maintainer-clean-target-examples:
35937 @if target-examples
35938 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
35940 maintainer-clean-target-examples:
35941 @: $(MAKE); $(unstage)
35942 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35943 r=`${PWD_COMMAND}`; export r; \
35944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35945 $(NORMAL_TARGET_EXPORTS) \
35946 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
35947 for flag in $(EXTRA_TARGET_FLAGS); do \
35948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35949 done; \
35950 (cd $(TARGET_SUBDIR)/examples && \
35951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35953 "RANLIB=$${RANLIB}" \
35954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35955 maintainer-clean) \
35956 || exit 1
35958 @endif target-examples
35964 .PHONY: configure-target-libffi maybe-configure-target-libffi
35965 maybe-configure-target-libffi:
35966 @if gcc-bootstrap
35967 configure-target-libffi: stage_current
35968 @endif gcc-bootstrap
35969 @if target-libffi
35970 maybe-configure-target-libffi: configure-target-libffi
35971 configure-target-libffi:
35972 @: $(MAKE); $(unstage)
35973 @r=`${PWD_COMMAND}`; export r; \
35974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35975 echo "Checking multilib configuration for libffi..."; \
35976 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
35977 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
35978 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
35979 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
35980 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
35981 else \
35982 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
35983 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
35984 fi; \
35985 else \
35986 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
35987 fi; \
35988 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
35989 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
35990 $(NORMAL_TARGET_EXPORTS) \
35991 echo Configuring in $(TARGET_SUBDIR)/libffi; \
35992 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
35993 case $(srcdir) in \
35994 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35995 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
35996 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35997 esac; \
35998 srcdiroption="--srcdir=$${topdir}/libffi"; \
35999 libsrcdir="$$s/libffi"; \
36000 rm -f no-such-file || : ; \
36001 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36002 $(TARGET_CONFIGARGS) $${srcdiroption} \
36003 || exit 1
36004 @endif target-libffi
36010 .PHONY: all-target-libffi maybe-all-target-libffi
36011 maybe-all-target-libffi:
36012 @if gcc-bootstrap
36013 all-target-libffi: stage_current
36014 @endif gcc-bootstrap
36015 @if target-libffi
36016 TARGET-target-libffi=all
36017 maybe-all-target-libffi: all-target-libffi
36018 all-target-libffi: configure-target-libffi
36019 @: $(MAKE); $(unstage)
36020 @r=`${PWD_COMMAND}`; export r; \
36021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36022 $(NORMAL_TARGET_EXPORTS) \
36023 (cd $(TARGET_SUBDIR)/libffi && \
36024 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
36025 @endif target-libffi
36031 .PHONY: check-target-libffi maybe-check-target-libffi
36032 maybe-check-target-libffi:
36033 @if target-libffi
36034 maybe-check-target-libffi: check-target-libffi
36036 check-target-libffi:
36037 @: $(MAKE); $(unstage)
36038 @r=`${PWD_COMMAND}`; export r; \
36039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36040 $(NORMAL_TARGET_EXPORTS) \
36041 (cd $(TARGET_SUBDIR)/libffi && \
36042 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36044 @endif target-libffi
36046 .PHONY: install-target-libffi maybe-install-target-libffi
36047 maybe-install-target-libffi:
36048 @if target-libffi
36049 maybe-install-target-libffi: install-target-libffi
36051 install-target-libffi: installdirs
36052 @: $(MAKE); $(unstage)
36053 @r=`${PWD_COMMAND}`; export r; \
36054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36055 $(NORMAL_TARGET_EXPORTS) \
36056 (cd $(TARGET_SUBDIR)/libffi && \
36057 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36059 @endif target-libffi
36061 # Other targets (info, dvi, etc.)
36063 .PHONY: maybe-info-target-libffi info-target-libffi
36064 maybe-info-target-libffi:
36065 @if target-libffi
36066 maybe-info-target-libffi: info-target-libffi
36068 info-target-libffi: \
36069 configure-target-libffi
36070 @: $(MAKE); $(unstage)
36071 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36072 r=`${PWD_COMMAND}`; export r; \
36073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36074 $(NORMAL_TARGET_EXPORTS) \
36075 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
36076 for flag in $(EXTRA_TARGET_FLAGS); do \
36077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36078 done; \
36079 (cd $(TARGET_SUBDIR)/libffi && \
36080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36082 "RANLIB=$${RANLIB}" \
36083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36084 info) \
36085 || exit 1
36087 @endif target-libffi
36089 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
36090 maybe-dvi-target-libffi:
36091 @if target-libffi
36092 maybe-dvi-target-libffi: dvi-target-libffi
36094 dvi-target-libffi: \
36095 configure-target-libffi
36096 @: $(MAKE); $(unstage)
36097 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36098 r=`${PWD_COMMAND}`; export r; \
36099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36100 $(NORMAL_TARGET_EXPORTS) \
36101 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
36102 for flag in $(EXTRA_TARGET_FLAGS); do \
36103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36104 done; \
36105 (cd $(TARGET_SUBDIR)/libffi && \
36106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36108 "RANLIB=$${RANLIB}" \
36109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36110 dvi) \
36111 || exit 1
36113 @endif target-libffi
36115 .PHONY: maybe-html-target-libffi html-target-libffi
36116 maybe-html-target-libffi:
36117 @if target-libffi
36118 maybe-html-target-libffi: html-target-libffi
36120 html-target-libffi: \
36121 configure-target-libffi
36122 @: $(MAKE); $(unstage)
36123 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36124 r=`${PWD_COMMAND}`; export r; \
36125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36126 $(NORMAL_TARGET_EXPORTS) \
36127 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
36128 for flag in $(EXTRA_TARGET_FLAGS); do \
36129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36130 done; \
36131 (cd $(TARGET_SUBDIR)/libffi && \
36132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36134 "RANLIB=$${RANLIB}" \
36135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36136 html) \
36137 || exit 1
36139 @endif target-libffi
36141 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
36142 maybe-TAGS-target-libffi:
36143 @if target-libffi
36144 maybe-TAGS-target-libffi: TAGS-target-libffi
36146 TAGS-target-libffi: \
36147 configure-target-libffi
36148 @: $(MAKE); $(unstage)
36149 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36150 r=`${PWD_COMMAND}`; export r; \
36151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36152 $(NORMAL_TARGET_EXPORTS) \
36153 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
36154 for flag in $(EXTRA_TARGET_FLAGS); do \
36155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36156 done; \
36157 (cd $(TARGET_SUBDIR)/libffi && \
36158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36160 "RANLIB=$${RANLIB}" \
36161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36162 TAGS) \
36163 || exit 1
36165 @endif target-libffi
36167 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
36168 maybe-install-info-target-libffi:
36169 @if target-libffi
36170 maybe-install-info-target-libffi: install-info-target-libffi
36172 install-info-target-libffi: \
36173 configure-target-libffi \
36174 info-target-libffi
36175 @: $(MAKE); $(unstage)
36176 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36177 r=`${PWD_COMMAND}`; export r; \
36178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36179 $(NORMAL_TARGET_EXPORTS) \
36180 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
36181 for flag in $(EXTRA_TARGET_FLAGS); do \
36182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36183 done; \
36184 (cd $(TARGET_SUBDIR)/libffi && \
36185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36187 "RANLIB=$${RANLIB}" \
36188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36189 install-info) \
36190 || exit 1
36192 @endif target-libffi
36194 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
36195 maybe-install-html-target-libffi:
36196 @if target-libffi
36197 maybe-install-html-target-libffi: install-html-target-libffi
36199 install-html-target-libffi: \
36200 configure-target-libffi \
36201 html-target-libffi
36202 @: $(MAKE); $(unstage)
36203 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36204 r=`${PWD_COMMAND}`; export r; \
36205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36206 $(NORMAL_TARGET_EXPORTS) \
36207 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
36208 for flag in $(EXTRA_TARGET_FLAGS); do \
36209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36210 done; \
36211 (cd $(TARGET_SUBDIR)/libffi && \
36212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36214 "RANLIB=$${RANLIB}" \
36215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36216 install-html) \
36217 || exit 1
36219 @endif target-libffi
36221 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
36222 maybe-installcheck-target-libffi:
36223 @if target-libffi
36224 maybe-installcheck-target-libffi: installcheck-target-libffi
36226 installcheck-target-libffi: \
36227 configure-target-libffi
36228 @: $(MAKE); $(unstage)
36229 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36230 r=`${PWD_COMMAND}`; export r; \
36231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36232 $(NORMAL_TARGET_EXPORTS) \
36233 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
36234 for flag in $(EXTRA_TARGET_FLAGS); do \
36235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36236 done; \
36237 (cd $(TARGET_SUBDIR)/libffi && \
36238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36240 "RANLIB=$${RANLIB}" \
36241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36242 installcheck) \
36243 || exit 1
36245 @endif target-libffi
36247 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
36248 maybe-mostlyclean-target-libffi:
36249 @if target-libffi
36250 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
36252 mostlyclean-target-libffi:
36253 @: $(MAKE); $(unstage)
36254 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36255 r=`${PWD_COMMAND}`; export r; \
36256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36257 $(NORMAL_TARGET_EXPORTS) \
36258 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
36259 for flag in $(EXTRA_TARGET_FLAGS); do \
36260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36261 done; \
36262 (cd $(TARGET_SUBDIR)/libffi && \
36263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36265 "RANLIB=$${RANLIB}" \
36266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36267 mostlyclean) \
36268 || exit 1
36270 @endif target-libffi
36272 .PHONY: maybe-clean-target-libffi clean-target-libffi
36273 maybe-clean-target-libffi:
36274 @if target-libffi
36275 maybe-clean-target-libffi: clean-target-libffi
36277 clean-target-libffi:
36278 @: $(MAKE); $(unstage)
36279 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36280 r=`${PWD_COMMAND}`; export r; \
36281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36282 $(NORMAL_TARGET_EXPORTS) \
36283 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
36284 for flag in $(EXTRA_TARGET_FLAGS); do \
36285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36286 done; \
36287 (cd $(TARGET_SUBDIR)/libffi && \
36288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36290 "RANLIB=$${RANLIB}" \
36291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36292 clean) \
36293 || exit 1
36295 @endif target-libffi
36297 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
36298 maybe-distclean-target-libffi:
36299 @if target-libffi
36300 maybe-distclean-target-libffi: distclean-target-libffi
36302 distclean-target-libffi:
36303 @: $(MAKE); $(unstage)
36304 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36305 r=`${PWD_COMMAND}`; export r; \
36306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36307 $(NORMAL_TARGET_EXPORTS) \
36308 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
36309 for flag in $(EXTRA_TARGET_FLAGS); do \
36310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36311 done; \
36312 (cd $(TARGET_SUBDIR)/libffi && \
36313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36315 "RANLIB=$${RANLIB}" \
36316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36317 distclean) \
36318 || exit 1
36320 @endif target-libffi
36322 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
36323 maybe-maintainer-clean-target-libffi:
36324 @if target-libffi
36325 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
36327 maintainer-clean-target-libffi:
36328 @: $(MAKE); $(unstage)
36329 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36330 r=`${PWD_COMMAND}`; export r; \
36331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36332 $(NORMAL_TARGET_EXPORTS) \
36333 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
36334 for flag in $(EXTRA_TARGET_FLAGS); do \
36335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36336 done; \
36337 (cd $(TARGET_SUBDIR)/libffi && \
36338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36340 "RANLIB=$${RANLIB}" \
36341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36342 maintainer-clean) \
36343 || exit 1
36345 @endif target-libffi
36351 .PHONY: configure-target-libjava maybe-configure-target-libjava
36352 maybe-configure-target-libjava:
36353 @if gcc-bootstrap
36354 configure-target-libjava: stage_current
36355 @endif gcc-bootstrap
36356 @if target-libjava
36357 maybe-configure-target-libjava: configure-target-libjava
36358 configure-target-libjava:
36359 @: $(MAKE); $(unstage)
36360 @r=`${PWD_COMMAND}`; export r; \
36361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36362 echo "Checking multilib configuration for libjava..."; \
36363 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
36364 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
36365 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
36366 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
36367 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
36368 else \
36369 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
36370 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
36371 fi; \
36372 else \
36373 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
36374 fi; \
36375 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
36376 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
36377 $(RAW_CXX_TARGET_EXPORTS) \
36378 echo Configuring in $(TARGET_SUBDIR)/libjava; \
36379 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
36380 case $(srcdir) in \
36381 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36382 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
36383 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36384 esac; \
36385 srcdiroption="--srcdir=$${topdir}/libjava"; \
36386 libsrcdir="$$s/libjava"; \
36387 rm -f no-such-file || : ; \
36388 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36389 $(TARGET_CONFIGARGS) $${srcdiroption} \
36390 || exit 1
36391 @endif target-libjava
36397 .PHONY: all-target-libjava maybe-all-target-libjava
36398 maybe-all-target-libjava:
36399 @if gcc-bootstrap
36400 all-target-libjava: stage_current
36401 @endif gcc-bootstrap
36402 @if target-libjava
36403 TARGET-target-libjava=all
36404 maybe-all-target-libjava: all-target-libjava
36405 all-target-libjava: configure-target-libjava
36406 @: $(MAKE); $(unstage)
36407 @r=`${PWD_COMMAND}`; export r; \
36408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36409 $(RAW_CXX_TARGET_EXPORTS) \
36410 (cd $(TARGET_SUBDIR)/libjava && \
36411 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
36412 @endif target-libjava
36418 .PHONY: check-target-libjava maybe-check-target-libjava
36419 maybe-check-target-libjava:
36420 @if target-libjava
36421 maybe-check-target-libjava: check-target-libjava
36423 check-target-libjava:
36424 @: $(MAKE); $(unstage)
36425 @r=`${PWD_COMMAND}`; export r; \
36426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36427 $(RAW_CXX_TARGET_EXPORTS) \
36428 (cd $(TARGET_SUBDIR)/libjava && \
36429 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
36431 @endif target-libjava
36433 .PHONY: install-target-libjava maybe-install-target-libjava
36434 maybe-install-target-libjava:
36435 @if target-libjava
36436 maybe-install-target-libjava: install-target-libjava
36438 install-target-libjava: installdirs
36439 @: $(MAKE); $(unstage)
36440 @r=`${PWD_COMMAND}`; export r; \
36441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36442 $(RAW_CXX_TARGET_EXPORTS) \
36443 (cd $(TARGET_SUBDIR)/libjava && \
36444 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36446 @endif target-libjava
36448 # Other targets (info, dvi, etc.)
36450 .PHONY: maybe-info-target-libjava info-target-libjava
36451 maybe-info-target-libjava:
36452 @if target-libjava
36453 maybe-info-target-libjava: info-target-libjava
36455 info-target-libjava: \
36456 configure-target-libjava
36457 @: $(MAKE); $(unstage)
36458 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36459 r=`${PWD_COMMAND}`; export r; \
36460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36461 $(RAW_CXX_TARGET_EXPORTS) \
36462 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
36463 for flag in $(EXTRA_TARGET_FLAGS); do \
36464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36465 done; \
36466 (cd $(TARGET_SUBDIR)/libjava && \
36467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36469 "RANLIB=$${RANLIB}" \
36470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36471 info) \
36472 || exit 1
36474 @endif target-libjava
36476 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
36477 maybe-dvi-target-libjava:
36478 @if target-libjava
36479 maybe-dvi-target-libjava: dvi-target-libjava
36481 dvi-target-libjava: \
36482 configure-target-libjava
36483 @: $(MAKE); $(unstage)
36484 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36485 r=`${PWD_COMMAND}`; export r; \
36486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36487 $(RAW_CXX_TARGET_EXPORTS) \
36488 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
36489 for flag in $(EXTRA_TARGET_FLAGS); do \
36490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36491 done; \
36492 (cd $(TARGET_SUBDIR)/libjava && \
36493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36495 "RANLIB=$${RANLIB}" \
36496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36497 dvi) \
36498 || exit 1
36500 @endif target-libjava
36502 .PHONY: maybe-html-target-libjava html-target-libjava
36503 maybe-html-target-libjava:
36504 @if target-libjava
36505 maybe-html-target-libjava: html-target-libjava
36507 html-target-libjava: \
36508 configure-target-libjava
36509 @: $(MAKE); $(unstage)
36510 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36511 r=`${PWD_COMMAND}`; export r; \
36512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36513 $(RAW_CXX_TARGET_EXPORTS) \
36514 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
36515 for flag in $(EXTRA_TARGET_FLAGS); do \
36516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36517 done; \
36518 (cd $(TARGET_SUBDIR)/libjava && \
36519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36521 "RANLIB=$${RANLIB}" \
36522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36523 html) \
36524 || exit 1
36526 @endif target-libjava
36528 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
36529 maybe-TAGS-target-libjava:
36530 @if target-libjava
36531 maybe-TAGS-target-libjava: TAGS-target-libjava
36533 TAGS-target-libjava: \
36534 configure-target-libjava
36535 @: $(MAKE); $(unstage)
36536 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36537 r=`${PWD_COMMAND}`; export r; \
36538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36539 $(RAW_CXX_TARGET_EXPORTS) \
36540 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
36541 for flag in $(EXTRA_TARGET_FLAGS); do \
36542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36543 done; \
36544 (cd $(TARGET_SUBDIR)/libjava && \
36545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36547 "RANLIB=$${RANLIB}" \
36548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36549 TAGS) \
36550 || exit 1
36552 @endif target-libjava
36554 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
36555 maybe-install-info-target-libjava:
36556 @if target-libjava
36557 maybe-install-info-target-libjava: install-info-target-libjava
36559 install-info-target-libjava: \
36560 configure-target-libjava \
36561 info-target-libjava
36562 @: $(MAKE); $(unstage)
36563 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36564 r=`${PWD_COMMAND}`; export r; \
36565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36566 $(RAW_CXX_TARGET_EXPORTS) \
36567 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
36568 for flag in $(EXTRA_TARGET_FLAGS); do \
36569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36570 done; \
36571 (cd $(TARGET_SUBDIR)/libjava && \
36572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36574 "RANLIB=$${RANLIB}" \
36575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36576 install-info) \
36577 || exit 1
36579 @endif target-libjava
36581 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
36582 maybe-install-html-target-libjava:
36583 @if target-libjava
36584 maybe-install-html-target-libjava: install-html-target-libjava
36586 install-html-target-libjava: \
36587 configure-target-libjava \
36588 html-target-libjava
36589 @: $(MAKE); $(unstage)
36590 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36591 r=`${PWD_COMMAND}`; export r; \
36592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36593 $(RAW_CXX_TARGET_EXPORTS) \
36594 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
36595 for flag in $(EXTRA_TARGET_FLAGS); do \
36596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36597 done; \
36598 (cd $(TARGET_SUBDIR)/libjava && \
36599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36601 "RANLIB=$${RANLIB}" \
36602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36603 install-html) \
36604 || exit 1
36606 @endif target-libjava
36608 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
36609 maybe-installcheck-target-libjava:
36610 @if target-libjava
36611 maybe-installcheck-target-libjava: installcheck-target-libjava
36613 installcheck-target-libjava: \
36614 configure-target-libjava
36615 @: $(MAKE); $(unstage)
36616 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36617 r=`${PWD_COMMAND}`; export r; \
36618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36619 $(RAW_CXX_TARGET_EXPORTS) \
36620 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
36621 for flag in $(EXTRA_TARGET_FLAGS); do \
36622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36623 done; \
36624 (cd $(TARGET_SUBDIR)/libjava && \
36625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36627 "RANLIB=$${RANLIB}" \
36628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36629 installcheck) \
36630 || exit 1
36632 @endif target-libjava
36634 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
36635 maybe-mostlyclean-target-libjava:
36636 @if target-libjava
36637 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
36639 mostlyclean-target-libjava:
36640 @: $(MAKE); $(unstage)
36641 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36642 r=`${PWD_COMMAND}`; export r; \
36643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36644 $(RAW_CXX_TARGET_EXPORTS) \
36645 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
36646 for flag in $(EXTRA_TARGET_FLAGS); do \
36647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36648 done; \
36649 (cd $(TARGET_SUBDIR)/libjava && \
36650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36652 "RANLIB=$${RANLIB}" \
36653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36654 mostlyclean) \
36655 || exit 1
36657 @endif target-libjava
36659 .PHONY: maybe-clean-target-libjava clean-target-libjava
36660 maybe-clean-target-libjava:
36661 @if target-libjava
36662 maybe-clean-target-libjava: clean-target-libjava
36664 clean-target-libjava:
36665 @: $(MAKE); $(unstage)
36666 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36667 r=`${PWD_COMMAND}`; export r; \
36668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36669 $(RAW_CXX_TARGET_EXPORTS) \
36670 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
36671 for flag in $(EXTRA_TARGET_FLAGS); do \
36672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36673 done; \
36674 (cd $(TARGET_SUBDIR)/libjava && \
36675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36677 "RANLIB=$${RANLIB}" \
36678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36679 clean) \
36680 || exit 1
36682 @endif target-libjava
36684 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
36685 maybe-distclean-target-libjava:
36686 @if target-libjava
36687 maybe-distclean-target-libjava: distclean-target-libjava
36689 distclean-target-libjava:
36690 @: $(MAKE); $(unstage)
36691 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36692 r=`${PWD_COMMAND}`; export r; \
36693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36694 $(RAW_CXX_TARGET_EXPORTS) \
36695 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
36696 for flag in $(EXTRA_TARGET_FLAGS); do \
36697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36698 done; \
36699 (cd $(TARGET_SUBDIR)/libjava && \
36700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36702 "RANLIB=$${RANLIB}" \
36703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36704 distclean) \
36705 || exit 1
36707 @endif target-libjava
36709 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
36710 maybe-maintainer-clean-target-libjava:
36711 @if target-libjava
36712 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
36714 maintainer-clean-target-libjava:
36715 @: $(MAKE); $(unstage)
36716 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36717 r=`${PWD_COMMAND}`; export r; \
36718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36719 $(RAW_CXX_TARGET_EXPORTS) \
36720 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
36721 for flag in $(EXTRA_TARGET_FLAGS); do \
36722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36723 done; \
36724 (cd $(TARGET_SUBDIR)/libjava && \
36725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36727 "RANLIB=$${RANLIB}" \
36728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36729 maintainer-clean) \
36730 || exit 1
36732 @endif target-libjava
36738 .PHONY: configure-target-zlib maybe-configure-target-zlib
36739 maybe-configure-target-zlib:
36740 @if gcc-bootstrap
36741 configure-target-zlib: stage_current
36742 @endif gcc-bootstrap
36743 @if target-zlib
36744 maybe-configure-target-zlib: configure-target-zlib
36745 configure-target-zlib:
36746 @: $(MAKE); $(unstage)
36747 @r=`${PWD_COMMAND}`; export r; \
36748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36749 echo "Checking multilib configuration for zlib..."; \
36750 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
36751 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
36752 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
36753 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
36754 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
36755 else \
36756 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
36757 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
36758 fi; \
36759 else \
36760 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
36761 fi; \
36762 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
36763 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
36764 $(NORMAL_TARGET_EXPORTS) \
36765 echo Configuring in $(TARGET_SUBDIR)/zlib; \
36766 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
36767 case $(srcdir) in \
36768 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36769 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
36770 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36771 esac; \
36772 srcdiroption="--srcdir=$${topdir}/zlib"; \
36773 libsrcdir="$$s/zlib"; \
36774 rm -f no-such-file || : ; \
36775 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36776 $(TARGET_CONFIGARGS) $${srcdiroption} \
36777 || exit 1
36778 @endif target-zlib
36784 .PHONY: all-target-zlib maybe-all-target-zlib
36785 maybe-all-target-zlib:
36786 @if gcc-bootstrap
36787 all-target-zlib: stage_current
36788 @endif gcc-bootstrap
36789 @if target-zlib
36790 TARGET-target-zlib=all
36791 maybe-all-target-zlib: all-target-zlib
36792 all-target-zlib: configure-target-zlib
36793 @: $(MAKE); $(unstage)
36794 @r=`${PWD_COMMAND}`; export r; \
36795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36796 $(NORMAL_TARGET_EXPORTS) \
36797 (cd $(TARGET_SUBDIR)/zlib && \
36798 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
36799 @endif target-zlib
36805 .PHONY: check-target-zlib maybe-check-target-zlib
36806 maybe-check-target-zlib:
36807 @if target-zlib
36808 maybe-check-target-zlib: check-target-zlib
36810 check-target-zlib:
36811 @: $(MAKE); $(unstage)
36812 @r=`${PWD_COMMAND}`; export r; \
36813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36814 $(NORMAL_TARGET_EXPORTS) \
36815 (cd $(TARGET_SUBDIR)/zlib && \
36816 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36818 @endif target-zlib
36820 .PHONY: install-target-zlib maybe-install-target-zlib
36821 maybe-install-target-zlib:
36822 @if target-zlib
36823 maybe-install-target-zlib: install-target-zlib
36825 install-target-zlib: installdirs
36826 @: $(MAKE); $(unstage)
36827 @r=`${PWD_COMMAND}`; export r; \
36828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36829 $(NORMAL_TARGET_EXPORTS) \
36830 (cd $(TARGET_SUBDIR)/zlib && \
36831 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36833 @endif target-zlib
36835 # Other targets (info, dvi, etc.)
36837 .PHONY: maybe-info-target-zlib info-target-zlib
36838 maybe-info-target-zlib:
36839 @if target-zlib
36840 maybe-info-target-zlib: info-target-zlib
36842 info-target-zlib: \
36843 configure-target-zlib
36844 @: $(MAKE); $(unstage)
36845 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36846 r=`${PWD_COMMAND}`; export r; \
36847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36848 $(NORMAL_TARGET_EXPORTS) \
36849 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
36850 for flag in $(EXTRA_TARGET_FLAGS); do \
36851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36852 done; \
36853 (cd $(TARGET_SUBDIR)/zlib && \
36854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36856 "RANLIB=$${RANLIB}" \
36857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36858 info) \
36859 || exit 1
36861 @endif target-zlib
36863 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
36864 maybe-dvi-target-zlib:
36865 @if target-zlib
36866 maybe-dvi-target-zlib: dvi-target-zlib
36868 dvi-target-zlib: \
36869 configure-target-zlib
36870 @: $(MAKE); $(unstage)
36871 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36872 r=`${PWD_COMMAND}`; export r; \
36873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36874 $(NORMAL_TARGET_EXPORTS) \
36875 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
36876 for flag in $(EXTRA_TARGET_FLAGS); do \
36877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36878 done; \
36879 (cd $(TARGET_SUBDIR)/zlib && \
36880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36882 "RANLIB=$${RANLIB}" \
36883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36884 dvi) \
36885 || exit 1
36887 @endif target-zlib
36889 .PHONY: maybe-html-target-zlib html-target-zlib
36890 maybe-html-target-zlib:
36891 @if target-zlib
36892 maybe-html-target-zlib: html-target-zlib
36894 html-target-zlib: \
36895 configure-target-zlib
36896 @: $(MAKE); $(unstage)
36897 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36898 r=`${PWD_COMMAND}`; export r; \
36899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36900 $(NORMAL_TARGET_EXPORTS) \
36901 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
36902 for flag in $(EXTRA_TARGET_FLAGS); do \
36903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36904 done; \
36905 (cd $(TARGET_SUBDIR)/zlib && \
36906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36908 "RANLIB=$${RANLIB}" \
36909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36910 html) \
36911 || exit 1
36913 @endif target-zlib
36915 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
36916 maybe-TAGS-target-zlib:
36917 @if target-zlib
36918 maybe-TAGS-target-zlib: TAGS-target-zlib
36920 TAGS-target-zlib: \
36921 configure-target-zlib
36922 @: $(MAKE); $(unstage)
36923 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36924 r=`${PWD_COMMAND}`; export r; \
36925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36926 $(NORMAL_TARGET_EXPORTS) \
36927 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
36928 for flag in $(EXTRA_TARGET_FLAGS); do \
36929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36930 done; \
36931 (cd $(TARGET_SUBDIR)/zlib && \
36932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36934 "RANLIB=$${RANLIB}" \
36935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36936 TAGS) \
36937 || exit 1
36939 @endif target-zlib
36941 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
36942 maybe-install-info-target-zlib:
36943 @if target-zlib
36944 maybe-install-info-target-zlib: install-info-target-zlib
36946 install-info-target-zlib: \
36947 configure-target-zlib \
36948 info-target-zlib
36949 @: $(MAKE); $(unstage)
36950 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36951 r=`${PWD_COMMAND}`; export r; \
36952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36953 $(NORMAL_TARGET_EXPORTS) \
36954 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
36955 for flag in $(EXTRA_TARGET_FLAGS); do \
36956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36957 done; \
36958 (cd $(TARGET_SUBDIR)/zlib && \
36959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36961 "RANLIB=$${RANLIB}" \
36962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36963 install-info) \
36964 || exit 1
36966 @endif target-zlib
36968 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
36969 maybe-install-html-target-zlib:
36970 @if target-zlib
36971 maybe-install-html-target-zlib: install-html-target-zlib
36973 install-html-target-zlib: \
36974 configure-target-zlib \
36975 html-target-zlib
36976 @: $(MAKE); $(unstage)
36977 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36978 r=`${PWD_COMMAND}`; export r; \
36979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36980 $(NORMAL_TARGET_EXPORTS) \
36981 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
36982 for flag in $(EXTRA_TARGET_FLAGS); do \
36983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36984 done; \
36985 (cd $(TARGET_SUBDIR)/zlib && \
36986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36988 "RANLIB=$${RANLIB}" \
36989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36990 install-html) \
36991 || exit 1
36993 @endif target-zlib
36995 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
36996 maybe-installcheck-target-zlib:
36997 @if target-zlib
36998 maybe-installcheck-target-zlib: installcheck-target-zlib
37000 installcheck-target-zlib: \
37001 configure-target-zlib
37002 @: $(MAKE); $(unstage)
37003 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37004 r=`${PWD_COMMAND}`; export r; \
37005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37006 $(NORMAL_TARGET_EXPORTS) \
37007 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
37008 for flag in $(EXTRA_TARGET_FLAGS); do \
37009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37010 done; \
37011 (cd $(TARGET_SUBDIR)/zlib && \
37012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37014 "RANLIB=$${RANLIB}" \
37015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37016 installcheck) \
37017 || exit 1
37019 @endif target-zlib
37021 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
37022 maybe-mostlyclean-target-zlib:
37023 @if target-zlib
37024 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
37026 mostlyclean-target-zlib:
37027 @: $(MAKE); $(unstage)
37028 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37029 r=`${PWD_COMMAND}`; export r; \
37030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37031 $(NORMAL_TARGET_EXPORTS) \
37032 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
37033 for flag in $(EXTRA_TARGET_FLAGS); do \
37034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37035 done; \
37036 (cd $(TARGET_SUBDIR)/zlib && \
37037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37039 "RANLIB=$${RANLIB}" \
37040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37041 mostlyclean) \
37042 || exit 1
37044 @endif target-zlib
37046 .PHONY: maybe-clean-target-zlib clean-target-zlib
37047 maybe-clean-target-zlib:
37048 @if target-zlib
37049 maybe-clean-target-zlib: clean-target-zlib
37051 clean-target-zlib:
37052 @: $(MAKE); $(unstage)
37053 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37054 r=`${PWD_COMMAND}`; export r; \
37055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37056 $(NORMAL_TARGET_EXPORTS) \
37057 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
37058 for flag in $(EXTRA_TARGET_FLAGS); do \
37059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37060 done; \
37061 (cd $(TARGET_SUBDIR)/zlib && \
37062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37064 "RANLIB=$${RANLIB}" \
37065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37066 clean) \
37067 || exit 1
37069 @endif target-zlib
37071 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
37072 maybe-distclean-target-zlib:
37073 @if target-zlib
37074 maybe-distclean-target-zlib: distclean-target-zlib
37076 distclean-target-zlib:
37077 @: $(MAKE); $(unstage)
37078 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37079 r=`${PWD_COMMAND}`; export r; \
37080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37081 $(NORMAL_TARGET_EXPORTS) \
37082 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
37083 for flag in $(EXTRA_TARGET_FLAGS); do \
37084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37085 done; \
37086 (cd $(TARGET_SUBDIR)/zlib && \
37087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37089 "RANLIB=$${RANLIB}" \
37090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37091 distclean) \
37092 || exit 1
37094 @endif target-zlib
37096 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
37097 maybe-maintainer-clean-target-zlib:
37098 @if target-zlib
37099 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
37101 maintainer-clean-target-zlib:
37102 @: $(MAKE); $(unstage)
37103 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37104 r=`${PWD_COMMAND}`; export r; \
37105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37106 $(NORMAL_TARGET_EXPORTS) \
37107 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
37108 for flag in $(EXTRA_TARGET_FLAGS); do \
37109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37110 done; \
37111 (cd $(TARGET_SUBDIR)/zlib && \
37112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37114 "RANLIB=$${RANLIB}" \
37115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37116 maintainer-clean) \
37117 || exit 1
37119 @endif target-zlib
37125 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
37126 maybe-configure-target-boehm-gc:
37127 @if gcc-bootstrap
37128 configure-target-boehm-gc: stage_current
37129 @endif gcc-bootstrap
37130 @if target-boehm-gc
37131 maybe-configure-target-boehm-gc: configure-target-boehm-gc
37132 configure-target-boehm-gc:
37133 @: $(MAKE); $(unstage)
37134 @r=`${PWD_COMMAND}`; export r; \
37135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37136 echo "Checking multilib configuration for boehm-gc..."; \
37137 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
37138 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
37139 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
37140 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
37141 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
37142 else \
37143 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
37144 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
37145 fi; \
37146 else \
37147 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
37148 fi; \
37149 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
37150 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
37151 $(NORMAL_TARGET_EXPORTS) \
37152 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
37153 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
37154 case $(srcdir) in \
37155 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37156 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
37157 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37158 esac; \
37159 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
37160 libsrcdir="$$s/boehm-gc"; \
37161 rm -f no-such-file || : ; \
37162 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37163 $(TARGET_CONFIGARGS) $${srcdiroption} \
37164 || exit 1
37165 @endif target-boehm-gc
37171 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
37172 maybe-all-target-boehm-gc:
37173 @if gcc-bootstrap
37174 all-target-boehm-gc: stage_current
37175 @endif gcc-bootstrap
37176 @if target-boehm-gc
37177 TARGET-target-boehm-gc=all
37178 maybe-all-target-boehm-gc: all-target-boehm-gc
37179 all-target-boehm-gc: configure-target-boehm-gc
37180 @: $(MAKE); $(unstage)
37181 @r=`${PWD_COMMAND}`; export r; \
37182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37183 $(NORMAL_TARGET_EXPORTS) \
37184 (cd $(TARGET_SUBDIR)/boehm-gc && \
37185 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
37186 @endif target-boehm-gc
37192 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
37193 maybe-check-target-boehm-gc:
37194 @if target-boehm-gc
37195 maybe-check-target-boehm-gc: check-target-boehm-gc
37197 check-target-boehm-gc:
37198 @: $(MAKE); $(unstage)
37199 @r=`${PWD_COMMAND}`; export r; \
37200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37201 $(NORMAL_TARGET_EXPORTS) \
37202 (cd $(TARGET_SUBDIR)/boehm-gc && \
37203 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37205 @endif target-boehm-gc
37207 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
37208 maybe-install-target-boehm-gc:
37209 @if target-boehm-gc
37210 maybe-install-target-boehm-gc: install-target-boehm-gc
37212 install-target-boehm-gc: installdirs
37213 @: $(MAKE); $(unstage)
37214 @r=`${PWD_COMMAND}`; export r; \
37215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37216 $(NORMAL_TARGET_EXPORTS) \
37217 (cd $(TARGET_SUBDIR)/boehm-gc && \
37218 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37220 @endif target-boehm-gc
37222 # Other targets (info, dvi, etc.)
37224 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
37225 maybe-info-target-boehm-gc:
37226 @if target-boehm-gc
37227 maybe-info-target-boehm-gc: info-target-boehm-gc
37229 info-target-boehm-gc: \
37230 configure-target-boehm-gc
37231 @: $(MAKE); $(unstage)
37232 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37233 r=`${PWD_COMMAND}`; export r; \
37234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37235 $(NORMAL_TARGET_EXPORTS) \
37236 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
37237 for flag in $(EXTRA_TARGET_FLAGS); do \
37238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37239 done; \
37240 (cd $(TARGET_SUBDIR)/boehm-gc && \
37241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37243 "RANLIB=$${RANLIB}" \
37244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37245 info) \
37246 || exit 1
37248 @endif target-boehm-gc
37250 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
37251 maybe-dvi-target-boehm-gc:
37252 @if target-boehm-gc
37253 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
37255 dvi-target-boehm-gc: \
37256 configure-target-boehm-gc
37257 @: $(MAKE); $(unstage)
37258 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37259 r=`${PWD_COMMAND}`; export r; \
37260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37261 $(NORMAL_TARGET_EXPORTS) \
37262 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
37263 for flag in $(EXTRA_TARGET_FLAGS); do \
37264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37265 done; \
37266 (cd $(TARGET_SUBDIR)/boehm-gc && \
37267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37269 "RANLIB=$${RANLIB}" \
37270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37271 dvi) \
37272 || exit 1
37274 @endif target-boehm-gc
37276 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
37277 maybe-html-target-boehm-gc:
37278 @if target-boehm-gc
37279 maybe-html-target-boehm-gc: html-target-boehm-gc
37281 html-target-boehm-gc: \
37282 configure-target-boehm-gc
37283 @: $(MAKE); $(unstage)
37284 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37285 r=`${PWD_COMMAND}`; export r; \
37286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37287 $(NORMAL_TARGET_EXPORTS) \
37288 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
37289 for flag in $(EXTRA_TARGET_FLAGS); do \
37290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37291 done; \
37292 (cd $(TARGET_SUBDIR)/boehm-gc && \
37293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37295 "RANLIB=$${RANLIB}" \
37296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37297 html) \
37298 || exit 1
37300 @endif target-boehm-gc
37302 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
37303 maybe-TAGS-target-boehm-gc:
37304 @if target-boehm-gc
37305 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
37307 TAGS-target-boehm-gc: \
37308 configure-target-boehm-gc
37309 @: $(MAKE); $(unstage)
37310 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37311 r=`${PWD_COMMAND}`; export r; \
37312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37313 $(NORMAL_TARGET_EXPORTS) \
37314 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
37315 for flag in $(EXTRA_TARGET_FLAGS); do \
37316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37317 done; \
37318 (cd $(TARGET_SUBDIR)/boehm-gc && \
37319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37321 "RANLIB=$${RANLIB}" \
37322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37323 TAGS) \
37324 || exit 1
37326 @endif target-boehm-gc
37328 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
37329 maybe-install-info-target-boehm-gc:
37330 @if target-boehm-gc
37331 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
37333 install-info-target-boehm-gc: \
37334 configure-target-boehm-gc \
37335 info-target-boehm-gc
37336 @: $(MAKE); $(unstage)
37337 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37338 r=`${PWD_COMMAND}`; export r; \
37339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37340 $(NORMAL_TARGET_EXPORTS) \
37341 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
37342 for flag in $(EXTRA_TARGET_FLAGS); do \
37343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37344 done; \
37345 (cd $(TARGET_SUBDIR)/boehm-gc && \
37346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37348 "RANLIB=$${RANLIB}" \
37349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37350 install-info) \
37351 || exit 1
37353 @endif target-boehm-gc
37355 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
37356 maybe-install-html-target-boehm-gc:
37357 @if target-boehm-gc
37358 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
37360 install-html-target-boehm-gc: \
37361 configure-target-boehm-gc \
37362 html-target-boehm-gc
37363 @: $(MAKE); $(unstage)
37364 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37365 r=`${PWD_COMMAND}`; export r; \
37366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37367 $(NORMAL_TARGET_EXPORTS) \
37368 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
37369 for flag in $(EXTRA_TARGET_FLAGS); do \
37370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37371 done; \
37372 (cd $(TARGET_SUBDIR)/boehm-gc && \
37373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37375 "RANLIB=$${RANLIB}" \
37376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37377 install-html) \
37378 || exit 1
37380 @endif target-boehm-gc
37382 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
37383 maybe-installcheck-target-boehm-gc:
37384 @if target-boehm-gc
37385 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
37387 installcheck-target-boehm-gc: \
37388 configure-target-boehm-gc
37389 @: $(MAKE); $(unstage)
37390 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37391 r=`${PWD_COMMAND}`; export r; \
37392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37393 $(NORMAL_TARGET_EXPORTS) \
37394 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
37395 for flag in $(EXTRA_TARGET_FLAGS); do \
37396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37397 done; \
37398 (cd $(TARGET_SUBDIR)/boehm-gc && \
37399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37401 "RANLIB=$${RANLIB}" \
37402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37403 installcheck) \
37404 || exit 1
37406 @endif target-boehm-gc
37408 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
37409 maybe-mostlyclean-target-boehm-gc:
37410 @if target-boehm-gc
37411 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
37413 mostlyclean-target-boehm-gc:
37414 @: $(MAKE); $(unstage)
37415 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37416 r=`${PWD_COMMAND}`; export r; \
37417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37418 $(NORMAL_TARGET_EXPORTS) \
37419 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
37420 for flag in $(EXTRA_TARGET_FLAGS); do \
37421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37422 done; \
37423 (cd $(TARGET_SUBDIR)/boehm-gc && \
37424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37426 "RANLIB=$${RANLIB}" \
37427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37428 mostlyclean) \
37429 || exit 1
37431 @endif target-boehm-gc
37433 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
37434 maybe-clean-target-boehm-gc:
37435 @if target-boehm-gc
37436 maybe-clean-target-boehm-gc: clean-target-boehm-gc
37438 clean-target-boehm-gc:
37439 @: $(MAKE); $(unstage)
37440 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37441 r=`${PWD_COMMAND}`; export r; \
37442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37443 $(NORMAL_TARGET_EXPORTS) \
37444 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
37445 for flag in $(EXTRA_TARGET_FLAGS); do \
37446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37447 done; \
37448 (cd $(TARGET_SUBDIR)/boehm-gc && \
37449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37451 "RANLIB=$${RANLIB}" \
37452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37453 clean) \
37454 || exit 1
37456 @endif target-boehm-gc
37458 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
37459 maybe-distclean-target-boehm-gc:
37460 @if target-boehm-gc
37461 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
37463 distclean-target-boehm-gc:
37464 @: $(MAKE); $(unstage)
37465 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37466 r=`${PWD_COMMAND}`; export r; \
37467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37468 $(NORMAL_TARGET_EXPORTS) \
37469 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
37470 for flag in $(EXTRA_TARGET_FLAGS); do \
37471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37472 done; \
37473 (cd $(TARGET_SUBDIR)/boehm-gc && \
37474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37476 "RANLIB=$${RANLIB}" \
37477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37478 distclean) \
37479 || exit 1
37481 @endif target-boehm-gc
37483 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
37484 maybe-maintainer-clean-target-boehm-gc:
37485 @if target-boehm-gc
37486 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
37488 maintainer-clean-target-boehm-gc:
37489 @: $(MAKE); $(unstage)
37490 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37491 r=`${PWD_COMMAND}`; export r; \
37492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37493 $(NORMAL_TARGET_EXPORTS) \
37494 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
37495 for flag in $(EXTRA_TARGET_FLAGS); do \
37496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37497 done; \
37498 (cd $(TARGET_SUBDIR)/boehm-gc && \
37499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37501 "RANLIB=$${RANLIB}" \
37502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37503 maintainer-clean) \
37504 || exit 1
37506 @endif target-boehm-gc
37512 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
37513 maybe-configure-target-qthreads:
37514 @if gcc-bootstrap
37515 configure-target-qthreads: stage_current
37516 @endif gcc-bootstrap
37517 @if target-qthreads
37518 maybe-configure-target-qthreads: configure-target-qthreads
37519 configure-target-qthreads:
37520 @: $(MAKE); $(unstage)
37521 @r=`${PWD_COMMAND}`; export r; \
37522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37523 echo "Checking multilib configuration for qthreads..."; \
37524 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
37525 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
37526 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
37527 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
37528 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
37529 else \
37530 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
37531 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
37532 fi; \
37533 else \
37534 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
37535 fi; \
37536 test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
37537 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
37538 $(NORMAL_TARGET_EXPORTS) \
37539 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
37540 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
37541 case $(srcdir) in \
37542 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37543 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
37544 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37545 esac; \
37546 srcdiroption="--srcdir=$${topdir}/qthreads"; \
37547 libsrcdir="$$s/qthreads"; \
37548 rm -f no-such-file || : ; \
37549 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37550 $(TARGET_CONFIGARGS) $${srcdiroption} \
37551 || exit 1
37552 @endif target-qthreads
37558 .PHONY: all-target-qthreads maybe-all-target-qthreads
37559 maybe-all-target-qthreads:
37560 @if gcc-bootstrap
37561 all-target-qthreads: stage_current
37562 @endif gcc-bootstrap
37563 @if target-qthreads
37564 TARGET-target-qthreads=all
37565 maybe-all-target-qthreads: all-target-qthreads
37566 all-target-qthreads: configure-target-qthreads
37567 @: $(MAKE); $(unstage)
37568 @r=`${PWD_COMMAND}`; export r; \
37569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37570 $(NORMAL_TARGET_EXPORTS) \
37571 (cd $(TARGET_SUBDIR)/qthreads && \
37572 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
37573 @endif target-qthreads
37579 .PHONY: check-target-qthreads maybe-check-target-qthreads
37580 maybe-check-target-qthreads:
37581 @if target-qthreads
37582 maybe-check-target-qthreads: check-target-qthreads
37584 check-target-qthreads:
37585 @: $(MAKE); $(unstage)
37586 @r=`${PWD_COMMAND}`; export r; \
37587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37588 $(NORMAL_TARGET_EXPORTS) \
37589 (cd $(TARGET_SUBDIR)/qthreads && \
37590 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37592 @endif target-qthreads
37594 .PHONY: install-target-qthreads maybe-install-target-qthreads
37595 maybe-install-target-qthreads:
37596 @if target-qthreads
37597 maybe-install-target-qthreads: install-target-qthreads
37599 install-target-qthreads: installdirs
37600 @: $(MAKE); $(unstage)
37601 @r=`${PWD_COMMAND}`; export r; \
37602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37603 $(NORMAL_TARGET_EXPORTS) \
37604 (cd $(TARGET_SUBDIR)/qthreads && \
37605 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37607 @endif target-qthreads
37609 # Other targets (info, dvi, etc.)
37611 .PHONY: maybe-info-target-qthreads info-target-qthreads
37612 maybe-info-target-qthreads:
37613 @if target-qthreads
37614 maybe-info-target-qthreads: info-target-qthreads
37616 info-target-qthreads: \
37617 configure-target-qthreads
37618 @: $(MAKE); $(unstage)
37619 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37620 r=`${PWD_COMMAND}`; export r; \
37621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37622 $(NORMAL_TARGET_EXPORTS) \
37623 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
37624 for flag in $(EXTRA_TARGET_FLAGS); do \
37625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37626 done; \
37627 (cd $(TARGET_SUBDIR)/qthreads && \
37628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37630 "RANLIB=$${RANLIB}" \
37631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37632 info) \
37633 || exit 1
37635 @endif target-qthreads
37637 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
37638 maybe-dvi-target-qthreads:
37639 @if target-qthreads
37640 maybe-dvi-target-qthreads: dvi-target-qthreads
37642 dvi-target-qthreads: \
37643 configure-target-qthreads
37644 @: $(MAKE); $(unstage)
37645 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37646 r=`${PWD_COMMAND}`; export r; \
37647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37648 $(NORMAL_TARGET_EXPORTS) \
37649 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
37650 for flag in $(EXTRA_TARGET_FLAGS); do \
37651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37652 done; \
37653 (cd $(TARGET_SUBDIR)/qthreads && \
37654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37656 "RANLIB=$${RANLIB}" \
37657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37658 dvi) \
37659 || exit 1
37661 @endif target-qthreads
37663 .PHONY: maybe-html-target-qthreads html-target-qthreads
37664 maybe-html-target-qthreads:
37665 @if target-qthreads
37666 maybe-html-target-qthreads: html-target-qthreads
37668 html-target-qthreads: \
37669 configure-target-qthreads
37670 @: $(MAKE); $(unstage)
37671 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37672 r=`${PWD_COMMAND}`; export r; \
37673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37674 $(NORMAL_TARGET_EXPORTS) \
37675 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
37676 for flag in $(EXTRA_TARGET_FLAGS); do \
37677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37678 done; \
37679 (cd $(TARGET_SUBDIR)/qthreads && \
37680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37682 "RANLIB=$${RANLIB}" \
37683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37684 html) \
37685 || exit 1
37687 @endif target-qthreads
37689 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
37690 maybe-TAGS-target-qthreads:
37691 @if target-qthreads
37692 maybe-TAGS-target-qthreads: TAGS-target-qthreads
37694 TAGS-target-qthreads: \
37695 configure-target-qthreads
37696 @: $(MAKE); $(unstage)
37697 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37698 r=`${PWD_COMMAND}`; export r; \
37699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37700 $(NORMAL_TARGET_EXPORTS) \
37701 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
37702 for flag in $(EXTRA_TARGET_FLAGS); do \
37703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37704 done; \
37705 (cd $(TARGET_SUBDIR)/qthreads && \
37706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37708 "RANLIB=$${RANLIB}" \
37709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37710 TAGS) \
37711 || exit 1
37713 @endif target-qthreads
37715 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
37716 maybe-install-info-target-qthreads:
37717 @if target-qthreads
37718 maybe-install-info-target-qthreads: install-info-target-qthreads
37720 install-info-target-qthreads: \
37721 configure-target-qthreads \
37722 info-target-qthreads
37723 @: $(MAKE); $(unstage)
37724 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37725 r=`${PWD_COMMAND}`; export r; \
37726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37727 $(NORMAL_TARGET_EXPORTS) \
37728 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
37729 for flag in $(EXTRA_TARGET_FLAGS); do \
37730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37731 done; \
37732 (cd $(TARGET_SUBDIR)/qthreads && \
37733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37735 "RANLIB=$${RANLIB}" \
37736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37737 install-info) \
37738 || exit 1
37740 @endif target-qthreads
37742 .PHONY: maybe-install-html-target-qthreads install-html-target-qthreads
37743 maybe-install-html-target-qthreads:
37744 @if target-qthreads
37745 maybe-install-html-target-qthreads: install-html-target-qthreads
37747 install-html-target-qthreads: \
37748 configure-target-qthreads \
37749 html-target-qthreads
37750 @: $(MAKE); $(unstage)
37751 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37752 r=`${PWD_COMMAND}`; export r; \
37753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37754 $(NORMAL_TARGET_EXPORTS) \
37755 echo "Doing install-html in $(TARGET_SUBDIR)/qthreads" ; \
37756 for flag in $(EXTRA_TARGET_FLAGS); do \
37757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37758 done; \
37759 (cd $(TARGET_SUBDIR)/qthreads && \
37760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37762 "RANLIB=$${RANLIB}" \
37763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37764 install-html) \
37765 || exit 1
37767 @endif target-qthreads
37769 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
37770 maybe-installcheck-target-qthreads:
37771 @if target-qthreads
37772 maybe-installcheck-target-qthreads: installcheck-target-qthreads
37774 installcheck-target-qthreads: \
37775 configure-target-qthreads
37776 @: $(MAKE); $(unstage)
37777 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37778 r=`${PWD_COMMAND}`; export r; \
37779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37780 $(NORMAL_TARGET_EXPORTS) \
37781 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
37782 for flag in $(EXTRA_TARGET_FLAGS); do \
37783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37784 done; \
37785 (cd $(TARGET_SUBDIR)/qthreads && \
37786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37788 "RANLIB=$${RANLIB}" \
37789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37790 installcheck) \
37791 || exit 1
37793 @endif target-qthreads
37795 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
37796 maybe-mostlyclean-target-qthreads:
37797 @if target-qthreads
37798 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
37800 mostlyclean-target-qthreads:
37801 @: $(MAKE); $(unstage)
37802 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37803 r=`${PWD_COMMAND}`; export r; \
37804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37805 $(NORMAL_TARGET_EXPORTS) \
37806 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
37807 for flag in $(EXTRA_TARGET_FLAGS); do \
37808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37809 done; \
37810 (cd $(TARGET_SUBDIR)/qthreads && \
37811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37813 "RANLIB=$${RANLIB}" \
37814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37815 mostlyclean) \
37816 || exit 1
37818 @endif target-qthreads
37820 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
37821 maybe-clean-target-qthreads:
37822 @if target-qthreads
37823 maybe-clean-target-qthreads: clean-target-qthreads
37825 clean-target-qthreads:
37826 @: $(MAKE); $(unstage)
37827 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37828 r=`${PWD_COMMAND}`; export r; \
37829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37830 $(NORMAL_TARGET_EXPORTS) \
37831 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
37832 for flag in $(EXTRA_TARGET_FLAGS); do \
37833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37834 done; \
37835 (cd $(TARGET_SUBDIR)/qthreads && \
37836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37838 "RANLIB=$${RANLIB}" \
37839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37840 clean) \
37841 || exit 1
37843 @endif target-qthreads
37845 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
37846 maybe-distclean-target-qthreads:
37847 @if target-qthreads
37848 maybe-distclean-target-qthreads: distclean-target-qthreads
37850 distclean-target-qthreads:
37851 @: $(MAKE); $(unstage)
37852 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37853 r=`${PWD_COMMAND}`; export r; \
37854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37855 $(NORMAL_TARGET_EXPORTS) \
37856 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
37857 for flag in $(EXTRA_TARGET_FLAGS); do \
37858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37859 done; \
37860 (cd $(TARGET_SUBDIR)/qthreads && \
37861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37863 "RANLIB=$${RANLIB}" \
37864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37865 distclean) \
37866 || exit 1
37868 @endif target-qthreads
37870 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
37871 maybe-maintainer-clean-target-qthreads:
37872 @if target-qthreads
37873 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
37875 maintainer-clean-target-qthreads:
37876 @: $(MAKE); $(unstage)
37877 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37878 r=`${PWD_COMMAND}`; export r; \
37879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37880 $(NORMAL_TARGET_EXPORTS) \
37881 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
37882 for flag in $(EXTRA_TARGET_FLAGS); do \
37883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37884 done; \
37885 (cd $(TARGET_SUBDIR)/qthreads && \
37886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37888 "RANLIB=$${RANLIB}" \
37889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37890 maintainer-clean) \
37891 || exit 1
37893 @endif target-qthreads
37899 .PHONY: configure-target-rda maybe-configure-target-rda
37900 maybe-configure-target-rda:
37901 @if gcc-bootstrap
37902 configure-target-rda: stage_current
37903 @endif gcc-bootstrap
37904 @if target-rda
37905 maybe-configure-target-rda: configure-target-rda
37906 configure-target-rda:
37907 @: $(MAKE); $(unstage)
37908 @r=`${PWD_COMMAND}`; export r; \
37909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37910 echo "Checking multilib configuration for rda..."; \
37911 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
37912 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
37913 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
37914 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
37915 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
37916 else \
37917 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
37918 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
37919 fi; \
37920 else \
37921 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
37922 fi; \
37923 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
37924 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
37925 $(NORMAL_TARGET_EXPORTS) \
37926 echo Configuring in $(TARGET_SUBDIR)/rda; \
37927 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
37928 case $(srcdir) in \
37929 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37930 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
37931 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37932 esac; \
37933 srcdiroption="--srcdir=$${topdir}/rda"; \
37934 libsrcdir="$$s/rda"; \
37935 rm -f no-such-file || : ; \
37936 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37937 $(TARGET_CONFIGARGS) $${srcdiroption} \
37938 || exit 1
37939 @endif target-rda
37945 .PHONY: all-target-rda maybe-all-target-rda
37946 maybe-all-target-rda:
37947 @if gcc-bootstrap
37948 all-target-rda: stage_current
37949 @endif gcc-bootstrap
37950 @if target-rda
37951 TARGET-target-rda=all
37952 maybe-all-target-rda: all-target-rda
37953 all-target-rda: configure-target-rda
37954 @: $(MAKE); $(unstage)
37955 @r=`${PWD_COMMAND}`; export r; \
37956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37957 $(NORMAL_TARGET_EXPORTS) \
37958 (cd $(TARGET_SUBDIR)/rda && \
37959 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
37960 @endif target-rda
37966 .PHONY: check-target-rda maybe-check-target-rda
37967 maybe-check-target-rda:
37968 @if target-rda
37969 maybe-check-target-rda: check-target-rda
37971 check-target-rda:
37972 @: $(MAKE); $(unstage)
37973 @r=`${PWD_COMMAND}`; export r; \
37974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37975 $(NORMAL_TARGET_EXPORTS) \
37976 (cd $(TARGET_SUBDIR)/rda && \
37977 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37979 @endif target-rda
37981 .PHONY: install-target-rda maybe-install-target-rda
37982 maybe-install-target-rda:
37983 @if target-rda
37984 maybe-install-target-rda: install-target-rda
37986 install-target-rda: installdirs
37987 @: $(MAKE); $(unstage)
37988 @r=`${PWD_COMMAND}`; export r; \
37989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37990 $(NORMAL_TARGET_EXPORTS) \
37991 (cd $(TARGET_SUBDIR)/rda && \
37992 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37994 @endif target-rda
37996 # Other targets (info, dvi, etc.)
37998 .PHONY: maybe-info-target-rda info-target-rda
37999 maybe-info-target-rda:
38000 @if target-rda
38001 maybe-info-target-rda: info-target-rda
38003 info-target-rda: \
38004 configure-target-rda
38005 @: $(MAKE); $(unstage)
38006 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38007 r=`${PWD_COMMAND}`; export r; \
38008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38009 $(NORMAL_TARGET_EXPORTS) \
38010 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
38011 for flag in $(EXTRA_TARGET_FLAGS); do \
38012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38013 done; \
38014 (cd $(TARGET_SUBDIR)/rda && \
38015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38017 "RANLIB=$${RANLIB}" \
38018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38019 info) \
38020 || exit 1
38022 @endif target-rda
38024 .PHONY: maybe-dvi-target-rda dvi-target-rda
38025 maybe-dvi-target-rda:
38026 @if target-rda
38027 maybe-dvi-target-rda: dvi-target-rda
38029 dvi-target-rda: \
38030 configure-target-rda
38031 @: $(MAKE); $(unstage)
38032 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38033 r=`${PWD_COMMAND}`; export r; \
38034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38035 $(NORMAL_TARGET_EXPORTS) \
38036 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
38037 for flag in $(EXTRA_TARGET_FLAGS); do \
38038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38039 done; \
38040 (cd $(TARGET_SUBDIR)/rda && \
38041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38043 "RANLIB=$${RANLIB}" \
38044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38045 dvi) \
38046 || exit 1
38048 @endif target-rda
38050 .PHONY: maybe-html-target-rda html-target-rda
38051 maybe-html-target-rda:
38052 @if target-rda
38053 maybe-html-target-rda: html-target-rda
38055 html-target-rda: \
38056 configure-target-rda
38057 @: $(MAKE); $(unstage)
38058 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38059 r=`${PWD_COMMAND}`; export r; \
38060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38061 $(NORMAL_TARGET_EXPORTS) \
38062 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
38063 for flag in $(EXTRA_TARGET_FLAGS); do \
38064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38065 done; \
38066 (cd $(TARGET_SUBDIR)/rda && \
38067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38069 "RANLIB=$${RANLIB}" \
38070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38071 html) \
38072 || exit 1
38074 @endif target-rda
38076 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
38077 maybe-TAGS-target-rda:
38078 @if target-rda
38079 maybe-TAGS-target-rda: TAGS-target-rda
38081 TAGS-target-rda: \
38082 configure-target-rda
38083 @: $(MAKE); $(unstage)
38084 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38085 r=`${PWD_COMMAND}`; export r; \
38086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38087 $(NORMAL_TARGET_EXPORTS) \
38088 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
38089 for flag in $(EXTRA_TARGET_FLAGS); do \
38090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38091 done; \
38092 (cd $(TARGET_SUBDIR)/rda && \
38093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38095 "RANLIB=$${RANLIB}" \
38096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38097 TAGS) \
38098 || exit 1
38100 @endif target-rda
38102 .PHONY: maybe-install-info-target-rda install-info-target-rda
38103 maybe-install-info-target-rda:
38104 @if target-rda
38105 maybe-install-info-target-rda: install-info-target-rda
38107 install-info-target-rda: \
38108 configure-target-rda \
38109 info-target-rda
38110 @: $(MAKE); $(unstage)
38111 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38112 r=`${PWD_COMMAND}`; export r; \
38113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38114 $(NORMAL_TARGET_EXPORTS) \
38115 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
38116 for flag in $(EXTRA_TARGET_FLAGS); do \
38117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38118 done; \
38119 (cd $(TARGET_SUBDIR)/rda && \
38120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38122 "RANLIB=$${RANLIB}" \
38123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38124 install-info) \
38125 || exit 1
38127 @endif target-rda
38129 .PHONY: maybe-install-html-target-rda install-html-target-rda
38130 maybe-install-html-target-rda:
38131 @if target-rda
38132 maybe-install-html-target-rda: install-html-target-rda
38134 install-html-target-rda: \
38135 configure-target-rda \
38136 html-target-rda
38137 @: $(MAKE); $(unstage)
38138 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38139 r=`${PWD_COMMAND}`; export r; \
38140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38141 $(NORMAL_TARGET_EXPORTS) \
38142 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
38143 for flag in $(EXTRA_TARGET_FLAGS); do \
38144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38145 done; \
38146 (cd $(TARGET_SUBDIR)/rda && \
38147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38149 "RANLIB=$${RANLIB}" \
38150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38151 install-html) \
38152 || exit 1
38154 @endif target-rda
38156 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
38157 maybe-installcheck-target-rda:
38158 @if target-rda
38159 maybe-installcheck-target-rda: installcheck-target-rda
38161 installcheck-target-rda: \
38162 configure-target-rda
38163 @: $(MAKE); $(unstage)
38164 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38165 r=`${PWD_COMMAND}`; export r; \
38166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38167 $(NORMAL_TARGET_EXPORTS) \
38168 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
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)/rda && \
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 installcheck) \
38178 || exit 1
38180 @endif target-rda
38182 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
38183 maybe-mostlyclean-target-rda:
38184 @if target-rda
38185 maybe-mostlyclean-target-rda: mostlyclean-target-rda
38187 mostlyclean-target-rda:
38188 @: $(MAKE); $(unstage)
38189 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38190 r=`${PWD_COMMAND}`; export r; \
38191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38192 $(NORMAL_TARGET_EXPORTS) \
38193 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
38194 for flag in $(EXTRA_TARGET_FLAGS); do \
38195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38196 done; \
38197 (cd $(TARGET_SUBDIR)/rda && \
38198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38200 "RANLIB=$${RANLIB}" \
38201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38202 mostlyclean) \
38203 || exit 1
38205 @endif target-rda
38207 .PHONY: maybe-clean-target-rda clean-target-rda
38208 maybe-clean-target-rda:
38209 @if target-rda
38210 maybe-clean-target-rda: clean-target-rda
38212 clean-target-rda:
38213 @: $(MAKE); $(unstage)
38214 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38215 r=`${PWD_COMMAND}`; export r; \
38216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38217 $(NORMAL_TARGET_EXPORTS) \
38218 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
38219 for flag in $(EXTRA_TARGET_FLAGS); do \
38220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38221 done; \
38222 (cd $(TARGET_SUBDIR)/rda && \
38223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38225 "RANLIB=$${RANLIB}" \
38226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38227 clean) \
38228 || exit 1
38230 @endif target-rda
38232 .PHONY: maybe-distclean-target-rda distclean-target-rda
38233 maybe-distclean-target-rda:
38234 @if target-rda
38235 maybe-distclean-target-rda: distclean-target-rda
38237 distclean-target-rda:
38238 @: $(MAKE); $(unstage)
38239 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38240 r=`${PWD_COMMAND}`; export r; \
38241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38242 $(NORMAL_TARGET_EXPORTS) \
38243 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
38244 for flag in $(EXTRA_TARGET_FLAGS); do \
38245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38246 done; \
38247 (cd $(TARGET_SUBDIR)/rda && \
38248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38250 "RANLIB=$${RANLIB}" \
38251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38252 distclean) \
38253 || exit 1
38255 @endif target-rda
38257 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
38258 maybe-maintainer-clean-target-rda:
38259 @if target-rda
38260 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
38262 maintainer-clean-target-rda:
38263 @: $(MAKE); $(unstage)
38264 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38265 r=`${PWD_COMMAND}`; export r; \
38266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38267 $(NORMAL_TARGET_EXPORTS) \
38268 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
38269 for flag in $(EXTRA_TARGET_FLAGS); do \
38270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38271 done; \
38272 (cd $(TARGET_SUBDIR)/rda && \
38273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38275 "RANLIB=$${RANLIB}" \
38276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38277 maintainer-clean) \
38278 || exit 1
38280 @endif target-rda
38286 .PHONY: configure-target-libada maybe-configure-target-libada
38287 maybe-configure-target-libada:
38288 @if gcc-bootstrap
38289 configure-target-libada: stage_current
38290 @endif gcc-bootstrap
38291 @if target-libada
38292 maybe-configure-target-libada: configure-target-libada
38293 configure-target-libada:
38294 @: $(MAKE); $(unstage)
38295 @r=`${PWD_COMMAND}`; export r; \
38296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38297 echo "Checking multilib configuration for libada..."; \
38298 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
38299 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
38300 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
38301 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
38302 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
38303 else \
38304 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
38305 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
38306 fi; \
38307 else \
38308 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
38309 fi; \
38310 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
38311 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
38312 $(NORMAL_TARGET_EXPORTS) \
38313 echo Configuring in $(TARGET_SUBDIR)/libada; \
38314 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
38315 case $(srcdir) in \
38316 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38317 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
38318 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38319 esac; \
38320 srcdiroption="--srcdir=$${topdir}/libada"; \
38321 libsrcdir="$$s/libada"; \
38322 rm -f no-such-file || : ; \
38323 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38324 $(TARGET_CONFIGARGS) $${srcdiroption} \
38325 || exit 1
38326 @endif target-libada
38332 .PHONY: all-target-libada maybe-all-target-libada
38333 maybe-all-target-libada:
38334 @if gcc-bootstrap
38335 all-target-libada: stage_current
38336 @endif gcc-bootstrap
38337 @if target-libada
38338 TARGET-target-libada=all
38339 maybe-all-target-libada: all-target-libada
38340 all-target-libada: configure-target-libada
38341 @: $(MAKE); $(unstage)
38342 @r=`${PWD_COMMAND}`; export r; \
38343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38344 $(NORMAL_TARGET_EXPORTS) \
38345 (cd $(TARGET_SUBDIR)/libada && \
38346 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
38347 @endif target-libada
38353 .PHONY: check-target-libada maybe-check-target-libada
38354 maybe-check-target-libada:
38355 @if target-libada
38356 maybe-check-target-libada: check-target-libada
38358 check-target-libada:
38359 @: $(MAKE); $(unstage)
38360 @r=`${PWD_COMMAND}`; export r; \
38361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38362 $(NORMAL_TARGET_EXPORTS) \
38363 (cd $(TARGET_SUBDIR)/libada && \
38364 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38366 @endif target-libada
38368 .PHONY: install-target-libada maybe-install-target-libada
38369 maybe-install-target-libada:
38370 @if target-libada
38371 maybe-install-target-libada: install-target-libada
38373 install-target-libada: installdirs
38374 @: $(MAKE); $(unstage)
38375 @r=`${PWD_COMMAND}`; export r; \
38376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38377 $(NORMAL_TARGET_EXPORTS) \
38378 (cd $(TARGET_SUBDIR)/libada && \
38379 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38381 @endif target-libada
38383 # Other targets (info, dvi, etc.)
38385 .PHONY: maybe-info-target-libada info-target-libada
38386 maybe-info-target-libada:
38387 @if target-libada
38388 maybe-info-target-libada: info-target-libada
38390 info-target-libada: \
38391 configure-target-libada
38392 @: $(MAKE); $(unstage)
38393 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38394 r=`${PWD_COMMAND}`; export r; \
38395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38396 $(NORMAL_TARGET_EXPORTS) \
38397 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
38398 for flag in $(EXTRA_TARGET_FLAGS); do \
38399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38400 done; \
38401 (cd $(TARGET_SUBDIR)/libada && \
38402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38404 "RANLIB=$${RANLIB}" \
38405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38406 info) \
38407 || exit 1
38409 @endif target-libada
38411 .PHONY: maybe-dvi-target-libada dvi-target-libada
38412 maybe-dvi-target-libada:
38413 @if target-libada
38414 maybe-dvi-target-libada: dvi-target-libada
38416 dvi-target-libada: \
38417 configure-target-libada
38418 @: $(MAKE); $(unstage)
38419 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38420 r=`${PWD_COMMAND}`; export r; \
38421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38422 $(NORMAL_TARGET_EXPORTS) \
38423 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
38424 for flag in $(EXTRA_TARGET_FLAGS); do \
38425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38426 done; \
38427 (cd $(TARGET_SUBDIR)/libada && \
38428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38430 "RANLIB=$${RANLIB}" \
38431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38432 dvi) \
38433 || exit 1
38435 @endif target-libada
38437 .PHONY: maybe-html-target-libada html-target-libada
38438 maybe-html-target-libada:
38439 @if target-libada
38440 maybe-html-target-libada: html-target-libada
38442 html-target-libada: \
38443 configure-target-libada
38444 @: $(MAKE); $(unstage)
38445 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38446 r=`${PWD_COMMAND}`; export r; \
38447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38448 $(NORMAL_TARGET_EXPORTS) \
38449 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
38450 for flag in $(EXTRA_TARGET_FLAGS); do \
38451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38452 done; \
38453 (cd $(TARGET_SUBDIR)/libada && \
38454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38456 "RANLIB=$${RANLIB}" \
38457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38458 html) \
38459 || exit 1
38461 @endif target-libada
38463 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
38464 maybe-TAGS-target-libada:
38465 @if target-libada
38466 maybe-TAGS-target-libada: TAGS-target-libada
38468 TAGS-target-libada: \
38469 configure-target-libada
38470 @: $(MAKE); $(unstage)
38471 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38472 r=`${PWD_COMMAND}`; export r; \
38473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38474 $(NORMAL_TARGET_EXPORTS) \
38475 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
38476 for flag in $(EXTRA_TARGET_FLAGS); do \
38477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38478 done; \
38479 (cd $(TARGET_SUBDIR)/libada && \
38480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38482 "RANLIB=$${RANLIB}" \
38483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38484 TAGS) \
38485 || exit 1
38487 @endif target-libada
38489 .PHONY: maybe-install-info-target-libada install-info-target-libada
38490 maybe-install-info-target-libada:
38491 @if target-libada
38492 maybe-install-info-target-libada: install-info-target-libada
38494 install-info-target-libada: \
38495 configure-target-libada \
38496 info-target-libada
38497 @: $(MAKE); $(unstage)
38498 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38499 r=`${PWD_COMMAND}`; export r; \
38500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38501 $(NORMAL_TARGET_EXPORTS) \
38502 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
38503 for flag in $(EXTRA_TARGET_FLAGS); do \
38504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38505 done; \
38506 (cd $(TARGET_SUBDIR)/libada && \
38507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38509 "RANLIB=$${RANLIB}" \
38510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38511 install-info) \
38512 || exit 1
38514 @endif target-libada
38516 .PHONY: maybe-install-html-target-libada install-html-target-libada
38517 maybe-install-html-target-libada:
38518 @if target-libada
38519 maybe-install-html-target-libada: install-html-target-libada
38521 install-html-target-libada: \
38522 configure-target-libada \
38523 html-target-libada
38524 @: $(MAKE); $(unstage)
38525 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38526 r=`${PWD_COMMAND}`; export r; \
38527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38528 $(NORMAL_TARGET_EXPORTS) \
38529 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
38530 for flag in $(EXTRA_TARGET_FLAGS); do \
38531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38532 done; \
38533 (cd $(TARGET_SUBDIR)/libada && \
38534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38536 "RANLIB=$${RANLIB}" \
38537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38538 install-html) \
38539 || exit 1
38541 @endif target-libada
38543 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
38544 maybe-installcheck-target-libada:
38545 @if target-libada
38546 maybe-installcheck-target-libada: installcheck-target-libada
38548 installcheck-target-libada: \
38549 configure-target-libada
38550 @: $(MAKE); $(unstage)
38551 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38552 r=`${PWD_COMMAND}`; export r; \
38553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38554 $(NORMAL_TARGET_EXPORTS) \
38555 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
38556 for flag in $(EXTRA_TARGET_FLAGS); do \
38557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38558 done; \
38559 (cd $(TARGET_SUBDIR)/libada && \
38560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38562 "RANLIB=$${RANLIB}" \
38563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38564 installcheck) \
38565 || exit 1
38567 @endif target-libada
38569 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
38570 maybe-mostlyclean-target-libada:
38571 @if target-libada
38572 maybe-mostlyclean-target-libada: mostlyclean-target-libada
38574 mostlyclean-target-libada:
38575 @: $(MAKE); $(unstage)
38576 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38577 r=`${PWD_COMMAND}`; export r; \
38578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38579 $(NORMAL_TARGET_EXPORTS) \
38580 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
38581 for flag in $(EXTRA_TARGET_FLAGS); do \
38582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38583 done; \
38584 (cd $(TARGET_SUBDIR)/libada && \
38585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38587 "RANLIB=$${RANLIB}" \
38588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38589 mostlyclean) \
38590 || exit 1
38592 @endif target-libada
38594 .PHONY: maybe-clean-target-libada clean-target-libada
38595 maybe-clean-target-libada:
38596 @if target-libada
38597 maybe-clean-target-libada: clean-target-libada
38599 clean-target-libada:
38600 @: $(MAKE); $(unstage)
38601 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38602 r=`${PWD_COMMAND}`; export r; \
38603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38604 $(NORMAL_TARGET_EXPORTS) \
38605 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
38606 for flag in $(EXTRA_TARGET_FLAGS); do \
38607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38608 done; \
38609 (cd $(TARGET_SUBDIR)/libada && \
38610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38612 "RANLIB=$${RANLIB}" \
38613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38614 clean) \
38615 || exit 1
38617 @endif target-libada
38619 .PHONY: maybe-distclean-target-libada distclean-target-libada
38620 maybe-distclean-target-libada:
38621 @if target-libada
38622 maybe-distclean-target-libada: distclean-target-libada
38624 distclean-target-libada:
38625 @: $(MAKE); $(unstage)
38626 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38627 r=`${PWD_COMMAND}`; export r; \
38628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38629 $(NORMAL_TARGET_EXPORTS) \
38630 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
38631 for flag in $(EXTRA_TARGET_FLAGS); do \
38632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38633 done; \
38634 (cd $(TARGET_SUBDIR)/libada && \
38635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38637 "RANLIB=$${RANLIB}" \
38638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38639 distclean) \
38640 || exit 1
38642 @endif target-libada
38644 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
38645 maybe-maintainer-clean-target-libada:
38646 @if target-libada
38647 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
38649 maintainer-clean-target-libada:
38650 @: $(MAKE); $(unstage)
38651 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38652 r=`${PWD_COMMAND}`; export r; \
38653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38654 $(NORMAL_TARGET_EXPORTS) \
38655 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
38656 for flag in $(EXTRA_TARGET_FLAGS); do \
38657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38658 done; \
38659 (cd $(TARGET_SUBDIR)/libada && \
38660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38662 "RANLIB=$${RANLIB}" \
38663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38664 maintainer-clean) \
38665 || exit 1
38667 @endif target-libada
38673 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
38674 maybe-configure-target-libgomp:
38675 @if gcc-bootstrap
38676 configure-target-libgomp: stage_current
38677 @endif gcc-bootstrap
38678 @if target-libgomp
38679 maybe-configure-target-libgomp: configure-target-libgomp
38680 configure-target-libgomp:
38681 @: $(MAKE); $(unstage)
38682 @r=`${PWD_COMMAND}`; export r; \
38683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38684 echo "Checking multilib configuration for libgomp..."; \
38685 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
38686 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
38687 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
38688 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
38689 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
38690 else \
38691 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
38692 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
38693 fi; \
38694 else \
38695 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
38696 fi; \
38697 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
38698 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
38699 $(NORMAL_TARGET_EXPORTS) \
38700 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
38701 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
38702 case $(srcdir) in \
38703 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38704 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
38705 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38706 esac; \
38707 srcdiroption="--srcdir=$${topdir}/libgomp"; \
38708 libsrcdir="$$s/libgomp"; \
38709 rm -f no-such-file || : ; \
38710 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38711 $(TARGET_CONFIGARGS) $${srcdiroption} \
38712 || exit 1
38713 @endif target-libgomp
38719 .PHONY: all-target-libgomp maybe-all-target-libgomp
38720 maybe-all-target-libgomp:
38721 @if gcc-bootstrap
38722 all-target-libgomp: stage_current
38723 @endif gcc-bootstrap
38724 @if target-libgomp
38725 TARGET-target-libgomp=all
38726 maybe-all-target-libgomp: all-target-libgomp
38727 all-target-libgomp: configure-target-libgomp
38728 @: $(MAKE); $(unstage)
38729 @r=`${PWD_COMMAND}`; export r; \
38730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38731 $(NORMAL_TARGET_EXPORTS) \
38732 (cd $(TARGET_SUBDIR)/libgomp && \
38733 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgomp))
38734 @endif target-libgomp
38740 .PHONY: check-target-libgomp maybe-check-target-libgomp
38741 maybe-check-target-libgomp:
38742 @if target-libgomp
38743 maybe-check-target-libgomp: check-target-libgomp
38745 check-target-libgomp:
38746 @: $(MAKE); $(unstage)
38747 @r=`${PWD_COMMAND}`; export r; \
38748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38749 $(NORMAL_TARGET_EXPORTS) \
38750 (cd $(TARGET_SUBDIR)/libgomp && \
38751 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38753 @endif target-libgomp
38755 .PHONY: install-target-libgomp maybe-install-target-libgomp
38756 maybe-install-target-libgomp:
38757 @if target-libgomp
38758 maybe-install-target-libgomp: install-target-libgomp
38760 install-target-libgomp: installdirs
38761 @: $(MAKE); $(unstage)
38762 @r=`${PWD_COMMAND}`; export r; \
38763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38764 $(NORMAL_TARGET_EXPORTS) \
38765 (cd $(TARGET_SUBDIR)/libgomp && \
38766 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38768 @endif target-libgomp
38770 # Other targets (info, dvi, etc.)
38772 .PHONY: maybe-info-target-libgomp info-target-libgomp
38773 maybe-info-target-libgomp:
38774 @if target-libgomp
38775 maybe-info-target-libgomp: info-target-libgomp
38777 info-target-libgomp: \
38778 configure-target-libgomp
38779 @: $(MAKE); $(unstage)
38780 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38781 r=`${PWD_COMMAND}`; export r; \
38782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38783 $(NORMAL_TARGET_EXPORTS) \
38784 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
38785 for flag in $(EXTRA_TARGET_FLAGS); do \
38786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38787 done; \
38788 (cd $(TARGET_SUBDIR)/libgomp && \
38789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38791 "RANLIB=$${RANLIB}" \
38792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38793 info) \
38794 || exit 1
38796 @endif target-libgomp
38798 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
38799 maybe-dvi-target-libgomp:
38800 @if target-libgomp
38801 maybe-dvi-target-libgomp: dvi-target-libgomp
38803 dvi-target-libgomp: \
38804 configure-target-libgomp
38805 @: $(MAKE); $(unstage)
38806 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38807 r=`${PWD_COMMAND}`; export r; \
38808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38809 $(NORMAL_TARGET_EXPORTS) \
38810 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
38811 for flag in $(EXTRA_TARGET_FLAGS); do \
38812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38813 done; \
38814 (cd $(TARGET_SUBDIR)/libgomp && \
38815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38817 "RANLIB=$${RANLIB}" \
38818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38819 dvi) \
38820 || exit 1
38822 @endif target-libgomp
38824 .PHONY: maybe-html-target-libgomp html-target-libgomp
38825 maybe-html-target-libgomp:
38826 @if target-libgomp
38827 maybe-html-target-libgomp: html-target-libgomp
38829 html-target-libgomp: \
38830 configure-target-libgomp
38831 @: $(MAKE); $(unstage)
38832 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38833 r=`${PWD_COMMAND}`; export r; \
38834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38835 $(NORMAL_TARGET_EXPORTS) \
38836 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
38837 for flag in $(EXTRA_TARGET_FLAGS); do \
38838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38839 done; \
38840 (cd $(TARGET_SUBDIR)/libgomp && \
38841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38843 "RANLIB=$${RANLIB}" \
38844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38845 html) \
38846 || exit 1
38848 @endif target-libgomp
38850 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
38851 maybe-TAGS-target-libgomp:
38852 @if target-libgomp
38853 maybe-TAGS-target-libgomp: TAGS-target-libgomp
38855 TAGS-target-libgomp: \
38856 configure-target-libgomp
38857 @: $(MAKE); $(unstage)
38858 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38859 r=`${PWD_COMMAND}`; export r; \
38860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38861 $(NORMAL_TARGET_EXPORTS) \
38862 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
38863 for flag in $(EXTRA_TARGET_FLAGS); do \
38864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38865 done; \
38866 (cd $(TARGET_SUBDIR)/libgomp && \
38867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38869 "RANLIB=$${RANLIB}" \
38870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38871 TAGS) \
38872 || exit 1
38874 @endif target-libgomp
38876 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
38877 maybe-install-info-target-libgomp:
38878 @if target-libgomp
38879 maybe-install-info-target-libgomp: install-info-target-libgomp
38881 install-info-target-libgomp: \
38882 configure-target-libgomp \
38883 info-target-libgomp
38884 @: $(MAKE); $(unstage)
38885 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38886 r=`${PWD_COMMAND}`; export r; \
38887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38888 $(NORMAL_TARGET_EXPORTS) \
38889 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
38890 for flag in $(EXTRA_TARGET_FLAGS); do \
38891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38892 done; \
38893 (cd $(TARGET_SUBDIR)/libgomp && \
38894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38896 "RANLIB=$${RANLIB}" \
38897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38898 install-info) \
38899 || exit 1
38901 @endif target-libgomp
38903 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
38904 maybe-install-html-target-libgomp:
38905 @if target-libgomp
38906 maybe-install-html-target-libgomp: install-html-target-libgomp
38908 install-html-target-libgomp: \
38909 configure-target-libgomp \
38910 html-target-libgomp
38911 @: $(MAKE); $(unstage)
38912 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38913 r=`${PWD_COMMAND}`; export r; \
38914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38915 $(NORMAL_TARGET_EXPORTS) \
38916 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
38917 for flag in $(EXTRA_TARGET_FLAGS); do \
38918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38919 done; \
38920 (cd $(TARGET_SUBDIR)/libgomp && \
38921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38923 "RANLIB=$${RANLIB}" \
38924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38925 install-html) \
38926 || exit 1
38928 @endif target-libgomp
38930 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
38931 maybe-installcheck-target-libgomp:
38932 @if target-libgomp
38933 maybe-installcheck-target-libgomp: installcheck-target-libgomp
38935 installcheck-target-libgomp: \
38936 configure-target-libgomp
38937 @: $(MAKE); $(unstage)
38938 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38939 r=`${PWD_COMMAND}`; export r; \
38940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38941 $(NORMAL_TARGET_EXPORTS) \
38942 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
38943 for flag in $(EXTRA_TARGET_FLAGS); do \
38944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38945 done; \
38946 (cd $(TARGET_SUBDIR)/libgomp && \
38947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38949 "RANLIB=$${RANLIB}" \
38950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38951 installcheck) \
38952 || exit 1
38954 @endif target-libgomp
38956 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
38957 maybe-mostlyclean-target-libgomp:
38958 @if target-libgomp
38959 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
38961 mostlyclean-target-libgomp:
38962 @: $(MAKE); $(unstage)
38963 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38964 r=`${PWD_COMMAND}`; export r; \
38965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38966 $(NORMAL_TARGET_EXPORTS) \
38967 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
38968 for flag in $(EXTRA_TARGET_FLAGS); do \
38969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38970 done; \
38971 (cd $(TARGET_SUBDIR)/libgomp && \
38972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38974 "RANLIB=$${RANLIB}" \
38975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38976 mostlyclean) \
38977 || exit 1
38979 @endif target-libgomp
38981 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
38982 maybe-clean-target-libgomp:
38983 @if target-libgomp
38984 maybe-clean-target-libgomp: clean-target-libgomp
38986 clean-target-libgomp:
38987 @: $(MAKE); $(unstage)
38988 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38989 r=`${PWD_COMMAND}`; export r; \
38990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38991 $(NORMAL_TARGET_EXPORTS) \
38992 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
38993 for flag in $(EXTRA_TARGET_FLAGS); do \
38994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38995 done; \
38996 (cd $(TARGET_SUBDIR)/libgomp && \
38997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38999 "RANLIB=$${RANLIB}" \
39000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39001 clean) \
39002 || exit 1
39004 @endif target-libgomp
39006 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
39007 maybe-distclean-target-libgomp:
39008 @if target-libgomp
39009 maybe-distclean-target-libgomp: distclean-target-libgomp
39011 distclean-target-libgomp:
39012 @: $(MAKE); $(unstage)
39013 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39014 r=`${PWD_COMMAND}`; export r; \
39015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39016 $(NORMAL_TARGET_EXPORTS) \
39017 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
39018 for flag in $(EXTRA_TARGET_FLAGS); do \
39019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39020 done; \
39021 (cd $(TARGET_SUBDIR)/libgomp && \
39022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39024 "RANLIB=$${RANLIB}" \
39025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39026 distclean) \
39027 || exit 1
39029 @endif target-libgomp
39031 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
39032 maybe-maintainer-clean-target-libgomp:
39033 @if target-libgomp
39034 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
39036 maintainer-clean-target-libgomp:
39037 @: $(MAKE); $(unstage)
39038 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39039 r=`${PWD_COMMAND}`; export r; \
39040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39041 $(NORMAL_TARGET_EXPORTS) \
39042 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
39043 for flag in $(EXTRA_TARGET_FLAGS); do \
39044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39045 done; \
39046 (cd $(TARGET_SUBDIR)/libgomp && \
39047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39049 "RANLIB=$${RANLIB}" \
39050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39051 maintainer-clean) \
39052 || exit 1
39054 @endif target-libgomp
39058 # ----------
39059 # GCC module
39060 # ----------
39062 @if gcc-no-bootstrap
39063 # GCC has some more recursive targets, which trigger the old
39064 # (but still current, until the toplevel bootstrap project
39065 # is finished) compiler bootstrapping rules.
39067 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
39068 .PHONY: $(GCC_STRAP_TARGETS)
39069 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
39070 @r=`${PWD_COMMAND}`; export r; \
39071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39072 $(HOST_EXPORTS) \
39073 echo "Bootstrapping the compiler"; \
39074 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
39075 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
39076 @r=`${PWD_COMMAND}`; export r; \
39077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39078 case "$@" in \
39079 *bootstrap4-lean ) \
39080 msg="Comparing stage3 and stage4 of the compiler"; \
39081 compare=compare3-lean ;; \
39082 *bootstrap4 ) \
39083 msg="Comparing stage3 and stage4 of the compiler"; \
39084 compare=compare3 ;; \
39085 *-lean ) \
39086 msg="Comparing stage2 and stage3 of the compiler"; \
39087 compare=compare-lean ;; \
39088 * ) \
39089 msg="Comparing stage2 and stage3 of the compiler"; \
39090 compare=compare ;; \
39091 esac; \
39092 $(HOST_EXPORTS) \
39093 echo "$$msg"; \
39094 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
39095 @r=`${PWD_COMMAND}`; export r; \
39096 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
39097 echo "Building runtime libraries"; \
39098 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
39100 profiledbootstrap: all-prebootstrap configure-gcc
39101 @r=`${PWD_COMMAND}`; export r; \
39102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39103 $(HOST_EXPORTS) \
39104 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
39105 echo "Bootstrapping training compiler"; \
39106 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
39107 @r=`${PWD_COMMAND}`; export r; \
39108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39109 $(HOST_EXPORTS) \
39110 echo "Building feedback based compiler"; \
39111 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
39112 @r=`${PWD_COMMAND}`; export r; \
39113 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
39114 echo "Building runtime libraries"; \
39115 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
39117 .PHONY: cross
39118 cross: all-build all-gas all-ld
39119 @r=`${PWD_COMMAND}`; export r; \
39120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39121 $(HOST_EXPORTS) \
39122 echo "Building the C and C++ compiler"; \
39123 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
39124 @r=`${PWD_COMMAND}`; export r; \
39125 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
39126 echo "Building runtime libraries"; \
39127 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
39128 @endif gcc-no-bootstrap
39130 @if gcc
39131 .PHONY: check-gcc-c++
39132 check-gcc-c++:
39133 @if [ -f ./gcc/Makefile ] ; then \
39134 r=`${PWD_COMMAND}`; export r; \
39135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39136 $(HOST_EXPORTS) \
39137 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
39138 else \
39139 true; \
39142 .PHONY: check-c++
39143 check-c++: check-target-libstdc++-v3 check-gcc-c++
39145 # Install the gcc headers files, but not the fixed include files,
39146 # which Cygnus is not allowed to distribute. This rule is very
39147 # dependent on the workings of the gcc Makefile.in.
39148 .PHONY: gcc-no-fixedincludes
39149 gcc-no-fixedincludes:
39150 @if [ -f ./gcc/Makefile ]; then \
39151 rm -rf gcc/tmp-include; \
39152 mv gcc/include gcc/tmp-include 2>/dev/null; \
39153 mkdir gcc/include; \
39154 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
39155 touch gcc/stmp-fixinc gcc/include/fixed; \
39156 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
39157 r=`${PWD_COMMAND}`; export r; \
39158 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
39159 $(HOST_EXPORTS) \
39160 (cd ./gcc && \
39161 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
39162 rm -rf gcc/include; \
39163 mv gcc/tmp-include gcc/include 2>/dev/null; \
39164 else true; fi
39165 @endif gcc
39167 # ---------------------
39168 # GCC bootstrap support
39169 # ---------------------
39171 # We track the current stage (the one in 'gcc') in the stage_current file.
39172 # stage_last instead tracks the stage that was built last. These targets
39173 # are dummy when toplevel bootstrap is not active.
39175 # While making host and target tools, symlinks to the final stage must be
39176 # there, so $(unstage) should be run at various points. To avoid excessive
39177 # recursive invocations of make, we "inline" them using a variable. These
39178 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
39179 # to avoid warnings from the GNU Make job server.
39181 unstage = :
39182 stage = :
39183 current_stage = ""
39185 @if gcc-bootstrap
39186 unstage = [ -f stage_current ] || $(MAKE) `cat stage_last`-start
39187 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
39188 current_stage = "`cat stage_current 2> /dev/null`"
39189 @endif gcc-bootstrap
39191 .PHONY: unstage stage
39192 unstage:
39193 @: $(MAKE); $(unstage)
39194 stage:
39195 @: $(MAKE); $(stage)
39197 # Disable commands for lean bootstrap.
39198 LEAN = false
39200 # We name the build directories for the various stages "stage1-gcc",
39201 # "stage2-gcc","stage3-gcc", etc.
39203 # Since the 'compare' process will fail (on debugging information) if any
39204 # directory names are different, we need to link the gcc directory for
39205 # the previous stage to a constant name ('prev-gcc'), and to make the name of
39206 # the build directories constant as well. For the latter, we use naked names
39207 # like 'gcc', because the scripts in that directory assume it. We use
39208 # mv on platforms where symlinks to directories do not work or are not
39209 # reliable.
39211 # 'touch' doesn't work right on some platforms.
39212 STAMP = echo timestamp >
39214 # Only build the C compiler for stage1, because that is the only one that
39215 # we can guarantee will build with the native compiler, and also it is the
39216 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
39217 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
39218 # overrideable (for a bootstrap build stage1 also builds gcc.info).
39220 STAGE1_CFLAGS=@stage1_cflags@
39221 STAGE1_LANGUAGES=@stage1_languages@
39223 # We only want to compare .o files, so set this!
39224 objext = .o
39226 # Flags to pass to stage2 and later makes.
39227 POSTSTAGE1_FLAGS_TO_PASS = \
39228 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
39229 STAGE_PREFIX=$$r/prev-gcc/ \
39230 CFLAGS="$(BOOT_CFLAGS)" \
39231 LIBCFLAGS="$(BOOT_CFLAGS)" \
39232 LDFLAGS="$(BOOT_LDFLAGS)" \
39233 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
39235 # For stage 1:
39236 # * We force-disable intermodule optimizations, even if
39237 # --enable-intermodule was passed, since the installed compiler probably
39238 # can't handle them. Luckily, autoconf always respects
39239 # the last argument when conflicting --enable arguments are passed.
39240 # * Likewise, we force-disable coverage flags, since the installed compiler
39241 # probably has never heard of them.
39242 # * We build only C (and possibly Ada).
39245 .PHONY: stage1-start stage1-end
39247 stage1-start::
39248 @: $(MAKE); $(stage); \
39249 echo stage1 > stage_current ; \
39250 echo stage1 > stage_last; \
39251 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
39252 @if bfd
39253 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
39254 mkdir stage1-bfd; \
39255 mv stage1-bfd bfd
39256 @endif bfd
39257 @if opcodes
39258 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
39259 mkdir stage1-opcodes; \
39260 mv stage1-opcodes opcodes
39261 @endif opcodes
39262 @if binutils
39263 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
39264 mkdir stage1-binutils; \
39265 mv stage1-binutils binutils
39266 @endif binutils
39267 @if gas
39268 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
39269 mkdir stage1-gas; \
39270 mv stage1-gas gas
39271 @endif gas
39272 @if gcc
39273 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
39274 mkdir stage1-gcc; \
39275 mv stage1-gcc gcc
39276 @endif gcc
39277 @if intl
39278 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
39279 mkdir stage1-intl; \
39280 mv stage1-intl intl
39281 @endif intl
39282 @if ld
39283 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
39284 mkdir stage1-ld; \
39285 mv stage1-ld ld
39286 @endif ld
39287 @if libcpp
39288 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
39289 mkdir stage1-libcpp; \
39290 mv stage1-libcpp libcpp
39291 @endif libcpp
39292 @if libdecnumber
39293 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
39294 mkdir stage1-libdecnumber; \
39295 mv stage1-libdecnumber libdecnumber
39296 @endif libdecnumber
39297 @if libiberty
39298 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
39299 mkdir stage1-libiberty; \
39300 mv stage1-libiberty libiberty
39301 @endif libiberty
39302 @if zlib
39303 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
39304 mkdir stage1-zlib; \
39305 mv stage1-zlib zlib
39306 @endif zlib
39307 @[ -d stage1-$(TARGET_SUBDIR) ] || \
39308 mkdir stage1-$(TARGET_SUBDIR); \
39309 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
39311 stage1-end::
39312 @if bfd
39313 @if test -d $(HOST_SUBDIR)/bfd ; then \
39314 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
39316 @endif bfd
39317 @if opcodes
39318 @if test -d $(HOST_SUBDIR)/opcodes ; then \
39319 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
39321 @endif opcodes
39322 @if binutils
39323 @if test -d $(HOST_SUBDIR)/binutils ; then \
39324 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
39326 @endif binutils
39327 @if gas
39328 @if test -d $(HOST_SUBDIR)/gas ; then \
39329 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
39331 @endif gas
39332 @if gcc
39333 @if test -d $(HOST_SUBDIR)/gcc ; then \
39334 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
39336 @endif gcc
39337 @if intl
39338 @if test -d $(HOST_SUBDIR)/intl ; then \
39339 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
39341 @endif intl
39342 @if ld
39343 @if test -d $(HOST_SUBDIR)/ld ; then \
39344 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
39346 @endif ld
39347 @if libcpp
39348 @if test -d $(HOST_SUBDIR)/libcpp ; then \
39349 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
39351 @endif libcpp
39352 @if libdecnumber
39353 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
39354 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
39356 @endif libdecnumber
39357 @if libiberty
39358 @if test -d $(HOST_SUBDIR)/libiberty ; then \
39359 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
39361 @endif libiberty
39362 @if zlib
39363 @if test -d $(HOST_SUBDIR)/zlib ; then \
39364 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
39366 @endif zlib
39367 @if test -d $(TARGET_SUBDIR) ; then \
39368 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
39370 rm -f stage_current
39372 # Bubble a bugfix through all the stages up to stage 1. They are
39373 # remade, but not reconfigured. The next stage (if any) will not be
39374 # reconfigured as well.
39375 .PHONY: stage1-bubble
39376 stage1-bubble::
39377 @r=`${PWD_COMMAND}`; export r; \
39378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39379 if test -f stage1-lean ; then \
39380 echo Skipping rebuild of stage1 ; \
39381 else \
39382 $(MAKE) stage1-start; \
39383 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
39386 .PHONY: all-stage1 clean-stage1
39387 do-clean: clean-stage1
39389 # FIXME: Will not need to be conditional when toplevel bootstrap is the
39390 # only possibility, but now it conflicts with no-bootstrap rules
39391 @if gcc-bootstrap
39396 # Rules to wipe a stage and all the following ones, also used for cleanstrap
39398 .PHONY: distclean-stage1
39399 distclean-stage1::
39400 @: $(MAKE); $(stage)
39401 rm -rf stage1-*
39404 @endif gcc-bootstrap
39407 .PHONY: stage2-start stage2-end
39409 stage2-start::
39410 @: $(MAKE); $(stage); \
39411 echo stage2 > stage_current ; \
39412 echo stage2 > stage_last; \
39413 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
39414 @if bfd
39415 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
39416 mkdir stage2-bfd; \
39417 mv stage2-bfd bfd ; \
39418 mv stage1-bfd prev-bfd || test -f stage1-lean
39419 @endif bfd
39420 @if opcodes
39421 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
39422 mkdir stage2-opcodes; \
39423 mv stage2-opcodes opcodes ; \
39424 mv stage1-opcodes prev-opcodes || test -f stage1-lean
39425 @endif opcodes
39426 @if binutils
39427 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
39428 mkdir stage2-binutils; \
39429 mv stage2-binutils binutils ; \
39430 mv stage1-binutils prev-binutils || test -f stage1-lean
39431 @endif binutils
39432 @if gas
39433 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
39434 mkdir stage2-gas; \
39435 mv stage2-gas gas ; \
39436 mv stage1-gas prev-gas || test -f stage1-lean
39437 @endif gas
39438 @if gcc
39439 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
39440 mkdir stage2-gcc; \
39441 mv stage2-gcc gcc ; \
39442 mv stage1-gcc prev-gcc || test -f stage1-lean
39443 @endif gcc
39444 @if intl
39445 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
39446 mkdir stage2-intl; \
39447 mv stage2-intl intl ; \
39448 mv stage1-intl prev-intl || test -f stage1-lean
39449 @endif intl
39450 @if ld
39451 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
39452 mkdir stage2-ld; \
39453 mv stage2-ld ld ; \
39454 mv stage1-ld prev-ld || test -f stage1-lean
39455 @endif ld
39456 @if libcpp
39457 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
39458 mkdir stage2-libcpp; \
39459 mv stage2-libcpp libcpp ; \
39460 mv stage1-libcpp prev-libcpp || test -f stage1-lean
39461 @endif libcpp
39462 @if libdecnumber
39463 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
39464 mkdir stage2-libdecnumber; \
39465 mv stage2-libdecnumber libdecnumber ; \
39466 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
39467 @endif libdecnumber
39468 @if libiberty
39469 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
39470 mkdir stage2-libiberty; \
39471 mv stage2-libiberty libiberty ; \
39472 mv stage1-libiberty prev-libiberty || test -f stage1-lean
39473 @endif libiberty
39474 @if zlib
39475 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
39476 mkdir stage2-zlib; \
39477 mv stage2-zlib zlib ; \
39478 mv stage1-zlib prev-zlib || test -f stage1-lean
39479 @endif zlib
39480 @[ -d stage2-$(TARGET_SUBDIR) ] || \
39481 mkdir stage2-$(TARGET_SUBDIR); \
39482 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
39483 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
39485 stage2-end::
39486 @if bfd
39487 @if test -d $(HOST_SUBDIR)/bfd ; then \
39488 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
39489 mv prev-bfd stage1-bfd ; : ; \
39491 @endif bfd
39492 @if opcodes
39493 @if test -d $(HOST_SUBDIR)/opcodes ; then \
39494 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
39495 mv prev-opcodes stage1-opcodes ; : ; \
39497 @endif opcodes
39498 @if binutils
39499 @if test -d $(HOST_SUBDIR)/binutils ; then \
39500 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
39501 mv prev-binutils stage1-binutils ; : ; \
39503 @endif binutils
39504 @if gas
39505 @if test -d $(HOST_SUBDIR)/gas ; then \
39506 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
39507 mv prev-gas stage1-gas ; : ; \
39509 @endif gas
39510 @if gcc
39511 @if test -d $(HOST_SUBDIR)/gcc ; then \
39512 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
39513 mv prev-gcc stage1-gcc ; : ; \
39515 @endif gcc
39516 @if intl
39517 @if test -d $(HOST_SUBDIR)/intl ; then \
39518 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
39519 mv prev-intl stage1-intl ; : ; \
39521 @endif intl
39522 @if ld
39523 @if test -d $(HOST_SUBDIR)/ld ; then \
39524 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
39525 mv prev-ld stage1-ld ; : ; \
39527 @endif ld
39528 @if libcpp
39529 @if test -d $(HOST_SUBDIR)/libcpp ; then \
39530 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
39531 mv prev-libcpp stage1-libcpp ; : ; \
39533 @endif libcpp
39534 @if libdecnumber
39535 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
39536 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
39537 mv prev-libdecnumber stage1-libdecnumber ; : ; \
39539 @endif libdecnumber
39540 @if libiberty
39541 @if test -d $(HOST_SUBDIR)/libiberty ; then \
39542 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
39543 mv prev-libiberty stage1-libiberty ; : ; \
39545 @endif libiberty
39546 @if zlib
39547 @if test -d $(HOST_SUBDIR)/zlib ; then \
39548 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
39549 mv prev-zlib stage1-zlib ; : ; \
39551 @endif zlib
39552 @if test -d $(TARGET_SUBDIR) ; then \
39553 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
39554 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
39556 rm -f stage_current
39558 # Bubble a bugfix through all the stages up to stage 2. They are
39559 # remade, but not reconfigured. The next stage (if any) will not be
39560 # reconfigured as well.
39561 .PHONY: stage2-bubble
39562 stage2-bubble:: stage1-bubble
39563 @r=`${PWD_COMMAND}`; export r; \
39564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39565 if test -f stage2-lean || test -f stage1-lean ; then \
39566 echo Skipping rebuild of stage2 ; \
39567 else \
39568 $(MAKE) stage2-start; \
39569 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
39572 .PHONY: all-stage2 clean-stage2
39573 do-clean: clean-stage2
39575 # FIXME: Will not need to be conditional when toplevel bootstrap is the
39576 # only possibility, but now it conflicts with no-bootstrap rules
39577 @if gcc-bootstrap
39581 .PHONY: bootstrap2 bootstrap2-lean
39582 bootstrap2:
39583 echo stage2 > stage_final
39584 @r=`${PWD_COMMAND}`; export r; \
39585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39586 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
39587 @: $(MAKE); $(unstage)
39588 @r=`${PWD_COMMAND}`; export r; \
39589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39590 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
39592 bootstrap2-lean:
39593 echo stage2 > stage_final
39594 @r=`${PWD_COMMAND}`; export r; \
39595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39596 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
39597 @: $(MAKE); $(unstage)
39598 @r=`${PWD_COMMAND}`; export r; \
39599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39600 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
39603 # Rules to wipe a stage and all the following ones, also used for cleanstrap
39604 distclean-stage1:: distclean-stage2
39605 .PHONY: distclean-stage2
39606 distclean-stage2::
39607 @: $(MAKE); $(stage)
39608 rm -rf stage2-*
39611 @endif gcc-bootstrap
39614 .PHONY: stage3-start stage3-end
39616 stage3-start::
39617 @: $(MAKE); $(stage); \
39618 echo stage3 > stage_current ; \
39619 echo stage3 > stage_last; \
39620 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
39621 @if bfd
39622 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
39623 mkdir stage3-bfd; \
39624 mv stage3-bfd bfd ; \
39625 mv stage2-bfd prev-bfd || test -f stage2-lean
39626 @endif bfd
39627 @if opcodes
39628 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
39629 mkdir stage3-opcodes; \
39630 mv stage3-opcodes opcodes ; \
39631 mv stage2-opcodes prev-opcodes || test -f stage2-lean
39632 @endif opcodes
39633 @if binutils
39634 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
39635 mkdir stage3-binutils; \
39636 mv stage3-binutils binutils ; \
39637 mv stage2-binutils prev-binutils || test -f stage2-lean
39638 @endif binutils
39639 @if gas
39640 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
39641 mkdir stage3-gas; \
39642 mv stage3-gas gas ; \
39643 mv stage2-gas prev-gas || test -f stage2-lean
39644 @endif gas
39645 @if gcc
39646 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
39647 mkdir stage3-gcc; \
39648 mv stage3-gcc gcc ; \
39649 mv stage2-gcc prev-gcc || test -f stage2-lean
39650 @endif gcc
39651 @if intl
39652 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
39653 mkdir stage3-intl; \
39654 mv stage3-intl intl ; \
39655 mv stage2-intl prev-intl || test -f stage2-lean
39656 @endif intl
39657 @if ld
39658 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
39659 mkdir stage3-ld; \
39660 mv stage3-ld ld ; \
39661 mv stage2-ld prev-ld || test -f stage2-lean
39662 @endif ld
39663 @if libcpp
39664 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
39665 mkdir stage3-libcpp; \
39666 mv stage3-libcpp libcpp ; \
39667 mv stage2-libcpp prev-libcpp || test -f stage2-lean
39668 @endif libcpp
39669 @if libdecnumber
39670 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
39671 mkdir stage3-libdecnumber; \
39672 mv stage3-libdecnumber libdecnumber ; \
39673 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
39674 @endif libdecnumber
39675 @if libiberty
39676 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
39677 mkdir stage3-libiberty; \
39678 mv stage3-libiberty libiberty ; \
39679 mv stage2-libiberty prev-libiberty || test -f stage2-lean
39680 @endif libiberty
39681 @if zlib
39682 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
39683 mkdir stage3-zlib; \
39684 mv stage3-zlib zlib ; \
39685 mv stage2-zlib prev-zlib || test -f stage2-lean
39686 @endif zlib
39687 @[ -d stage3-$(TARGET_SUBDIR) ] || \
39688 mkdir stage3-$(TARGET_SUBDIR); \
39689 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
39690 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
39692 stage3-end::
39693 @if bfd
39694 @if test -d $(HOST_SUBDIR)/bfd ; then \
39695 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
39696 mv prev-bfd stage2-bfd ; : ; \
39698 @endif bfd
39699 @if opcodes
39700 @if test -d $(HOST_SUBDIR)/opcodes ; then \
39701 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
39702 mv prev-opcodes stage2-opcodes ; : ; \
39704 @endif opcodes
39705 @if binutils
39706 @if test -d $(HOST_SUBDIR)/binutils ; then \
39707 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
39708 mv prev-binutils stage2-binutils ; : ; \
39710 @endif binutils
39711 @if gas
39712 @if test -d $(HOST_SUBDIR)/gas ; then \
39713 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
39714 mv prev-gas stage2-gas ; : ; \
39716 @endif gas
39717 @if gcc
39718 @if test -d $(HOST_SUBDIR)/gcc ; then \
39719 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
39720 mv prev-gcc stage2-gcc ; : ; \
39722 @endif gcc
39723 @if intl
39724 @if test -d $(HOST_SUBDIR)/intl ; then \
39725 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
39726 mv prev-intl stage2-intl ; : ; \
39728 @endif intl
39729 @if ld
39730 @if test -d $(HOST_SUBDIR)/ld ; then \
39731 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
39732 mv prev-ld stage2-ld ; : ; \
39734 @endif ld
39735 @if libcpp
39736 @if test -d $(HOST_SUBDIR)/libcpp ; then \
39737 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
39738 mv prev-libcpp stage2-libcpp ; : ; \
39740 @endif libcpp
39741 @if libdecnumber
39742 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
39743 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
39744 mv prev-libdecnumber stage2-libdecnumber ; : ; \
39746 @endif libdecnumber
39747 @if libiberty
39748 @if test -d $(HOST_SUBDIR)/libiberty ; then \
39749 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
39750 mv prev-libiberty stage2-libiberty ; : ; \
39752 @endif libiberty
39753 @if zlib
39754 @if test -d $(HOST_SUBDIR)/zlib ; then \
39755 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
39756 mv prev-zlib stage2-zlib ; : ; \
39758 @endif zlib
39759 @if test -d $(TARGET_SUBDIR) ; then \
39760 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
39761 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
39763 rm -f stage_current
39765 # Bubble a bugfix through all the stages up to stage 3. They are
39766 # remade, but not reconfigured. The next stage (if any) will not be
39767 # reconfigured as well.
39768 .PHONY: stage3-bubble
39769 stage3-bubble:: stage2-bubble
39770 @r=`${PWD_COMMAND}`; export r; \
39771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39772 if test -f stage3-lean || test -f stage2-lean ; then \
39773 echo Skipping rebuild of stage3 ; \
39774 else \
39775 $(MAKE) stage3-start; \
39776 if $(LEAN); then \
39777 rm -rf stage1-* ; \
39778 $(STAMP) stage1-lean ; \
39779 fi; \
39780 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
39782 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
39784 .PHONY: all-stage3 clean-stage3
39785 do-clean: clean-stage3
39787 # FIXME: Will not need to be conditional when toplevel bootstrap is the
39788 # only possibility, but now it conflicts with no-bootstrap rules
39789 @if gcc-bootstrap
39791 compare:
39792 @r=`${PWD_COMMAND}`; export r; \
39793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39794 if test -f stage2-lean; then \
39795 echo Cannot compare object files as stage 2 was deleted. ; \
39796 exit 0 ; \
39797 fi; \
39798 : $(MAKE); $(stage); \
39799 rm -f .bad_compare ; \
39800 echo Comparing stages 2 and 3 ; \
39801 cd stage3-gcc; \
39802 files=`find . -name "*$(objext)" -print` ; \
39803 cd .. ; \
39804 for file in $${files} ; do \
39805 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
39806 @do_compare@ > /dev/null 2>&1; \
39807 if test $$? -eq 1; then \
39808 case $$file in \
39809 ./cc*-checksum$(objext) | ./libgcc/* ) \
39810 echo warning: $$file differs ;; \
39811 *) \
39812 echo $$file differs >> .bad_compare ;; \
39813 esac ; \
39814 fi ; \
39815 done ; \
39816 if [ -f .bad_compare ]; then \
39817 echo "Bootstrap comparison failure!"; \
39818 cat .bad_compare; \
39819 exit 1; \
39820 else \
39821 echo Comparison successful.; \
39822 fi ; \
39823 $(STAMP) compare
39824 if $(LEAN); then \
39825 rm -rf stage2-*; \
39826 $(STAMP) stage2-lean; \
39831 .PHONY: bootstrap bootstrap-lean
39832 bootstrap:
39833 echo stage3 > stage_final
39834 @r=`${PWD_COMMAND}`; export r; \
39835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39836 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
39837 @: $(MAKE); $(unstage)
39838 @r=`${PWD_COMMAND}`; export r; \
39839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39840 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
39842 bootstrap-lean:
39843 echo stage3 > stage_final
39844 @r=`${PWD_COMMAND}`; export r; \
39845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39846 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
39847 @: $(MAKE); $(unstage)
39848 @r=`${PWD_COMMAND}`; export r; \
39849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39850 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
39853 # Rules to wipe a stage and all the following ones, also used for cleanstrap
39854 distclean-stage2:: distclean-stage3
39855 .PHONY: distclean-stage3
39856 distclean-stage3::
39857 @: $(MAKE); $(stage)
39858 rm -rf stage3-* compare
39861 .PHONY: cleanstrap
39862 cleanstrap: distclean bootstrap
39864 @endif gcc-bootstrap
39867 .PHONY: stage4-start stage4-end
39869 stage4-start::
39870 @: $(MAKE); $(stage); \
39871 echo stage4 > stage_current ; \
39872 echo stage4 > stage_last; \
39873 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
39874 @if bfd
39875 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
39876 mkdir stage4-bfd; \
39877 mv stage4-bfd bfd ; \
39878 mv stage3-bfd prev-bfd || test -f stage3-lean
39879 @endif bfd
39880 @if opcodes
39881 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
39882 mkdir stage4-opcodes; \
39883 mv stage4-opcodes opcodes ; \
39884 mv stage3-opcodes prev-opcodes || test -f stage3-lean
39885 @endif opcodes
39886 @if binutils
39887 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
39888 mkdir stage4-binutils; \
39889 mv stage4-binutils binutils ; \
39890 mv stage3-binutils prev-binutils || test -f stage3-lean
39891 @endif binutils
39892 @if gas
39893 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
39894 mkdir stage4-gas; \
39895 mv stage4-gas gas ; \
39896 mv stage3-gas prev-gas || test -f stage3-lean
39897 @endif gas
39898 @if gcc
39899 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
39900 mkdir stage4-gcc; \
39901 mv stage4-gcc gcc ; \
39902 mv stage3-gcc prev-gcc || test -f stage3-lean
39903 @endif gcc
39904 @if intl
39905 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
39906 mkdir stage4-intl; \
39907 mv stage4-intl intl ; \
39908 mv stage3-intl prev-intl || test -f stage3-lean
39909 @endif intl
39910 @if ld
39911 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
39912 mkdir stage4-ld; \
39913 mv stage4-ld ld ; \
39914 mv stage3-ld prev-ld || test -f stage3-lean
39915 @endif ld
39916 @if libcpp
39917 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
39918 mkdir stage4-libcpp; \
39919 mv stage4-libcpp libcpp ; \
39920 mv stage3-libcpp prev-libcpp || test -f stage3-lean
39921 @endif libcpp
39922 @if libdecnumber
39923 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
39924 mkdir stage4-libdecnumber; \
39925 mv stage4-libdecnumber libdecnumber ; \
39926 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
39927 @endif libdecnumber
39928 @if libiberty
39929 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
39930 mkdir stage4-libiberty; \
39931 mv stage4-libiberty libiberty ; \
39932 mv stage3-libiberty prev-libiberty || test -f stage3-lean
39933 @endif libiberty
39934 @if zlib
39935 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
39936 mkdir stage4-zlib; \
39937 mv stage4-zlib zlib ; \
39938 mv stage3-zlib prev-zlib || test -f stage3-lean
39939 @endif zlib
39940 @[ -d stage4-$(TARGET_SUBDIR) ] || \
39941 mkdir stage4-$(TARGET_SUBDIR); \
39942 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
39943 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
39945 stage4-end::
39946 @if bfd
39947 @if test -d $(HOST_SUBDIR)/bfd ; then \
39948 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
39949 mv prev-bfd stage3-bfd ; : ; \
39951 @endif bfd
39952 @if opcodes
39953 @if test -d $(HOST_SUBDIR)/opcodes ; then \
39954 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
39955 mv prev-opcodes stage3-opcodes ; : ; \
39957 @endif opcodes
39958 @if binutils
39959 @if test -d $(HOST_SUBDIR)/binutils ; then \
39960 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
39961 mv prev-binutils stage3-binutils ; : ; \
39963 @endif binutils
39964 @if gas
39965 @if test -d $(HOST_SUBDIR)/gas ; then \
39966 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
39967 mv prev-gas stage3-gas ; : ; \
39969 @endif gas
39970 @if gcc
39971 @if test -d $(HOST_SUBDIR)/gcc ; then \
39972 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
39973 mv prev-gcc stage3-gcc ; : ; \
39975 @endif gcc
39976 @if intl
39977 @if test -d $(HOST_SUBDIR)/intl ; then \
39978 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
39979 mv prev-intl stage3-intl ; : ; \
39981 @endif intl
39982 @if ld
39983 @if test -d $(HOST_SUBDIR)/ld ; then \
39984 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
39985 mv prev-ld stage3-ld ; : ; \
39987 @endif ld
39988 @if libcpp
39989 @if test -d $(HOST_SUBDIR)/libcpp ; then \
39990 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
39991 mv prev-libcpp stage3-libcpp ; : ; \
39993 @endif libcpp
39994 @if libdecnumber
39995 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
39996 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
39997 mv prev-libdecnumber stage3-libdecnumber ; : ; \
39999 @endif libdecnumber
40000 @if libiberty
40001 @if test -d $(HOST_SUBDIR)/libiberty ; then \
40002 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
40003 mv prev-libiberty stage3-libiberty ; : ; \
40005 @endif libiberty
40006 @if zlib
40007 @if test -d $(HOST_SUBDIR)/zlib ; then \
40008 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
40009 mv prev-zlib stage3-zlib ; : ; \
40011 @endif zlib
40012 @if test -d $(TARGET_SUBDIR) ; then \
40013 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
40014 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
40016 rm -f stage_current
40018 # Bubble a bugfix through all the stages up to stage 4. They are
40019 # remade, but not reconfigured. The next stage (if any) will not be
40020 # reconfigured as well.
40021 .PHONY: stage4-bubble
40022 stage4-bubble:: stage3-bubble
40023 @r=`${PWD_COMMAND}`; export r; \
40024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40025 if test -f stage4-lean || test -f stage3-lean ; then \
40026 echo Skipping rebuild of stage4 ; \
40027 else \
40028 $(MAKE) stage4-start; \
40029 if $(LEAN); then \
40030 rm -rf stage2-* ; \
40031 $(STAMP) stage2-lean ; \
40032 fi; \
40033 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
40035 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
40037 .PHONY: all-stage4 clean-stage4
40038 do-clean: clean-stage4
40040 # FIXME: Will not need to be conditional when toplevel bootstrap is the
40041 # only possibility, but now it conflicts with no-bootstrap rules
40042 @if gcc-bootstrap
40044 compare3:
40045 @r=`${PWD_COMMAND}`; export r; \
40046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40047 if test -f stage3-lean; then \
40048 echo Cannot compare object files as stage 3 was deleted. ; \
40049 exit 0 ; \
40050 fi; \
40051 : $(MAKE); $(stage); \
40052 rm -f .bad_compare ; \
40053 echo Comparing stages 3 and 4 ; \
40054 cd stage4-gcc; \
40055 files=`find . -name "*$(objext)" -print` ; \
40056 cd .. ; \
40057 for file in $${files} ; do \
40058 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
40059 @do_compare@ > /dev/null 2>&1; \
40060 if test $$? -eq 1; then \
40061 case $$file in \
40062 ./cc*-checksum$(objext) | ./libgcc/* ) \
40063 echo warning: $$file differs ;; \
40064 *) \
40065 echo $$file differs >> .bad_compare ;; \
40066 esac ; \
40067 fi ; \
40068 done ; \
40069 if [ -f .bad_compare ]; then \
40070 echo "Bootstrap comparison failure!"; \
40071 cat .bad_compare; \
40072 exit 1; \
40073 else \
40074 echo Comparison successful.; \
40075 fi ; \
40076 $(STAMP) compare3
40077 if $(LEAN); then \
40078 rm -rf stage3-*; \
40079 $(STAMP) stage3-lean; \
40084 .PHONY: bootstrap4 bootstrap4-lean
40085 bootstrap4:
40086 echo stage4 > stage_final
40087 @r=`${PWD_COMMAND}`; export r; \
40088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40089 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
40090 @: $(MAKE); $(unstage)
40091 @r=`${PWD_COMMAND}`; export r; \
40092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40093 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
40095 bootstrap4-lean:
40096 echo stage4 > stage_final
40097 @r=`${PWD_COMMAND}`; export r; \
40098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40099 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
40100 @: $(MAKE); $(unstage)
40101 @r=`${PWD_COMMAND}`; export r; \
40102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40103 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
40106 # Rules to wipe a stage and all the following ones, also used for cleanstrap
40107 distclean-stage3:: distclean-stage4
40108 .PHONY: distclean-stage4
40109 distclean-stage4::
40110 @: $(MAKE); $(stage)
40111 rm -rf stage4-* compare3
40114 @endif gcc-bootstrap
40117 .PHONY: stageprofile-start stageprofile-end
40119 stageprofile-start::
40120 @: $(MAKE); $(stage); \
40121 echo stageprofile > stage_current ; \
40122 echo stageprofile > stage_last; \
40123 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
40124 @if bfd
40125 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
40126 mkdir stageprofile-bfd; \
40127 mv stageprofile-bfd bfd ; \
40128 mv stage1-bfd prev-bfd || test -f stage1-lean
40129 @endif bfd
40130 @if opcodes
40131 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
40132 mkdir stageprofile-opcodes; \
40133 mv stageprofile-opcodes opcodes ; \
40134 mv stage1-opcodes prev-opcodes || test -f stage1-lean
40135 @endif opcodes
40136 @if binutils
40137 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
40138 mkdir stageprofile-binutils; \
40139 mv stageprofile-binutils binutils ; \
40140 mv stage1-binutils prev-binutils || test -f stage1-lean
40141 @endif binutils
40142 @if gas
40143 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
40144 mkdir stageprofile-gas; \
40145 mv stageprofile-gas gas ; \
40146 mv stage1-gas prev-gas || test -f stage1-lean
40147 @endif gas
40148 @if gcc
40149 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
40150 mkdir stageprofile-gcc; \
40151 mv stageprofile-gcc gcc ; \
40152 mv stage1-gcc prev-gcc || test -f stage1-lean
40153 @endif gcc
40154 @if intl
40155 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
40156 mkdir stageprofile-intl; \
40157 mv stageprofile-intl intl ; \
40158 mv stage1-intl prev-intl || test -f stage1-lean
40159 @endif intl
40160 @if ld
40161 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
40162 mkdir stageprofile-ld; \
40163 mv stageprofile-ld ld ; \
40164 mv stage1-ld prev-ld || test -f stage1-lean
40165 @endif ld
40166 @if libcpp
40167 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
40168 mkdir stageprofile-libcpp; \
40169 mv stageprofile-libcpp libcpp ; \
40170 mv stage1-libcpp prev-libcpp || test -f stage1-lean
40171 @endif libcpp
40172 @if libdecnumber
40173 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
40174 mkdir stageprofile-libdecnumber; \
40175 mv stageprofile-libdecnumber libdecnumber ; \
40176 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
40177 @endif libdecnumber
40178 @if libiberty
40179 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
40180 mkdir stageprofile-libiberty; \
40181 mv stageprofile-libiberty libiberty ; \
40182 mv stage1-libiberty prev-libiberty || test -f stage1-lean
40183 @endif libiberty
40184 @if zlib
40185 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
40186 mkdir stageprofile-zlib; \
40187 mv stageprofile-zlib zlib ; \
40188 mv stage1-zlib prev-zlib || test -f stage1-lean
40189 @endif zlib
40190 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
40191 mkdir stageprofile-$(TARGET_SUBDIR); \
40192 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
40193 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
40195 stageprofile-end::
40196 @if bfd
40197 @if test -d $(HOST_SUBDIR)/bfd ; then \
40198 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
40199 mv prev-bfd stage1-bfd ; : ; \
40201 @endif bfd
40202 @if opcodes
40203 @if test -d $(HOST_SUBDIR)/opcodes ; then \
40204 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
40205 mv prev-opcodes stage1-opcodes ; : ; \
40207 @endif opcodes
40208 @if binutils
40209 @if test -d $(HOST_SUBDIR)/binutils ; then \
40210 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
40211 mv prev-binutils stage1-binutils ; : ; \
40213 @endif binutils
40214 @if gas
40215 @if test -d $(HOST_SUBDIR)/gas ; then \
40216 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
40217 mv prev-gas stage1-gas ; : ; \
40219 @endif gas
40220 @if gcc
40221 @if test -d $(HOST_SUBDIR)/gcc ; then \
40222 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
40223 mv prev-gcc stage1-gcc ; : ; \
40225 @endif gcc
40226 @if intl
40227 @if test -d $(HOST_SUBDIR)/intl ; then \
40228 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
40229 mv prev-intl stage1-intl ; : ; \
40231 @endif intl
40232 @if ld
40233 @if test -d $(HOST_SUBDIR)/ld ; then \
40234 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
40235 mv prev-ld stage1-ld ; : ; \
40237 @endif ld
40238 @if libcpp
40239 @if test -d $(HOST_SUBDIR)/libcpp ; then \
40240 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
40241 mv prev-libcpp stage1-libcpp ; : ; \
40243 @endif libcpp
40244 @if libdecnumber
40245 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
40246 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
40247 mv prev-libdecnumber stage1-libdecnumber ; : ; \
40249 @endif libdecnumber
40250 @if libiberty
40251 @if test -d $(HOST_SUBDIR)/libiberty ; then \
40252 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
40253 mv prev-libiberty stage1-libiberty ; : ; \
40255 @endif libiberty
40256 @if zlib
40257 @if test -d $(HOST_SUBDIR)/zlib ; then \
40258 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
40259 mv prev-zlib stage1-zlib ; : ; \
40261 @endif zlib
40262 @if test -d $(TARGET_SUBDIR) ; then \
40263 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
40264 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
40266 rm -f stage_current
40268 # Bubble a bugfix through all the stages up to stage profile. They are
40269 # remade, but not reconfigured. The next stage (if any) will not be
40270 # reconfigured as well.
40271 .PHONY: stageprofile-bubble
40272 stageprofile-bubble:: stage1-bubble
40273 @r=`${PWD_COMMAND}`; export r; \
40274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40275 if test -f stageprofile-lean || test -f stage1-lean ; then \
40276 echo Skipping rebuild of stageprofile ; \
40277 else \
40278 $(MAKE) stageprofile-start; \
40279 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
40282 .PHONY: all-stageprofile clean-stageprofile
40283 do-clean: clean-stageprofile
40285 # FIXME: Will not need to be conditional when toplevel bootstrap is the
40286 # only possibility, but now it conflicts with no-bootstrap rules
40287 @if gcc-bootstrap
40292 # Rules to wipe a stage and all the following ones, also used for cleanstrap
40293 distclean-stage1:: distclean-stageprofile
40294 .PHONY: distclean-stageprofile
40295 distclean-stageprofile::
40296 @: $(MAKE); $(stage)
40297 rm -rf stageprofile-*
40300 @endif gcc-bootstrap
40303 .PHONY: stagefeedback-start stagefeedback-end
40305 stagefeedback-start::
40306 @: $(MAKE); $(stage); \
40307 echo stagefeedback > stage_current ; \
40308 echo stagefeedback > stage_last; \
40309 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
40310 @if bfd
40311 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
40312 mkdir stagefeedback-bfd; \
40313 mv stagefeedback-bfd bfd ; \
40314 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
40315 @endif bfd
40316 @if opcodes
40317 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
40318 mkdir stagefeedback-opcodes; \
40319 mv stagefeedback-opcodes opcodes ; \
40320 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
40321 @endif opcodes
40322 @if binutils
40323 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
40324 mkdir stagefeedback-binutils; \
40325 mv stagefeedback-binutils binutils ; \
40326 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
40327 @endif binutils
40328 @if gas
40329 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
40330 mkdir stagefeedback-gas; \
40331 mv stagefeedback-gas gas ; \
40332 mv stageprofile-gas prev-gas || test -f stageprofile-lean
40333 @endif gas
40334 @if gcc
40335 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
40336 mkdir stagefeedback-gcc; \
40337 mv stagefeedback-gcc gcc ; \
40338 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
40339 @endif gcc
40340 @if intl
40341 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
40342 mkdir stagefeedback-intl; \
40343 mv stagefeedback-intl intl ; \
40344 mv stageprofile-intl prev-intl || test -f stageprofile-lean
40345 @endif intl
40346 @if ld
40347 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
40348 mkdir stagefeedback-ld; \
40349 mv stagefeedback-ld ld ; \
40350 mv stageprofile-ld prev-ld || test -f stageprofile-lean
40351 @endif ld
40352 @if libcpp
40353 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
40354 mkdir stagefeedback-libcpp; \
40355 mv stagefeedback-libcpp libcpp ; \
40356 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
40357 @endif libcpp
40358 @if libdecnumber
40359 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
40360 mkdir stagefeedback-libdecnumber; \
40361 mv stagefeedback-libdecnumber libdecnumber ; \
40362 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
40363 @endif libdecnumber
40364 @if libiberty
40365 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
40366 mkdir stagefeedback-libiberty; \
40367 mv stagefeedback-libiberty libiberty ; \
40368 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
40369 @endif libiberty
40370 @if zlib
40371 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
40372 mkdir stagefeedback-zlib; \
40373 mv stagefeedback-zlib zlib ; \
40374 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
40375 @endif zlib
40376 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
40377 mkdir stagefeedback-$(TARGET_SUBDIR); \
40378 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
40379 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
40381 stagefeedback-end::
40382 @if bfd
40383 @if test -d $(HOST_SUBDIR)/bfd ; then \
40384 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
40385 mv prev-bfd stageprofile-bfd ; : ; \
40387 @endif bfd
40388 @if opcodes
40389 @if test -d $(HOST_SUBDIR)/opcodes ; then \
40390 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
40391 mv prev-opcodes stageprofile-opcodes ; : ; \
40393 @endif opcodes
40394 @if binutils
40395 @if test -d $(HOST_SUBDIR)/binutils ; then \
40396 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
40397 mv prev-binutils stageprofile-binutils ; : ; \
40399 @endif binutils
40400 @if gas
40401 @if test -d $(HOST_SUBDIR)/gas ; then \
40402 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
40403 mv prev-gas stageprofile-gas ; : ; \
40405 @endif gas
40406 @if gcc
40407 @if test -d $(HOST_SUBDIR)/gcc ; then \
40408 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
40409 mv prev-gcc stageprofile-gcc ; : ; \
40411 @endif gcc
40412 @if intl
40413 @if test -d $(HOST_SUBDIR)/intl ; then \
40414 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
40415 mv prev-intl stageprofile-intl ; : ; \
40417 @endif intl
40418 @if ld
40419 @if test -d $(HOST_SUBDIR)/ld ; then \
40420 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
40421 mv prev-ld stageprofile-ld ; : ; \
40423 @endif ld
40424 @if libcpp
40425 @if test -d $(HOST_SUBDIR)/libcpp ; then \
40426 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
40427 mv prev-libcpp stageprofile-libcpp ; : ; \
40429 @endif libcpp
40430 @if libdecnumber
40431 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
40432 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
40433 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
40435 @endif libdecnumber
40436 @if libiberty
40437 @if test -d $(HOST_SUBDIR)/libiberty ; then \
40438 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
40439 mv prev-libiberty stageprofile-libiberty ; : ; \
40441 @endif libiberty
40442 @if zlib
40443 @if test -d $(HOST_SUBDIR)/zlib ; then \
40444 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
40445 mv prev-zlib stageprofile-zlib ; : ; \
40447 @endif zlib
40448 @if test -d $(TARGET_SUBDIR) ; then \
40449 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
40450 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
40452 rm -f stage_current
40454 # Bubble a bugfix through all the stages up to stage feedback. They are
40455 # remade, but not reconfigured. The next stage (if any) will not be
40456 # reconfigured as well.
40457 .PHONY: stagefeedback-bubble
40458 stagefeedback-bubble:: stageprofile-bubble
40459 @r=`${PWD_COMMAND}`; export r; \
40460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40461 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
40462 echo Skipping rebuild of stagefeedback ; \
40463 else \
40464 $(MAKE) stagefeedback-start; \
40465 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
40468 .PHONY: all-stagefeedback clean-stagefeedback
40469 do-clean: clean-stagefeedback
40471 # FIXME: Will not need to be conditional when toplevel bootstrap is the
40472 # only possibility, but now it conflicts with no-bootstrap rules
40473 @if gcc-bootstrap
40477 .PHONY: profiledbootstrap profiledbootstrap-lean
40478 profiledbootstrap:
40479 echo stagefeedback > stage_final
40480 @r=`${PWD_COMMAND}`; export r; \
40481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40482 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
40483 @: $(MAKE); $(unstage)
40484 @r=`${PWD_COMMAND}`; export r; \
40485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40486 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
40488 profiledbootstrap-lean:
40489 echo stagefeedback > stage_final
40490 @r=`${PWD_COMMAND}`; export r; \
40491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40492 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
40493 @: $(MAKE); $(unstage)
40494 @r=`${PWD_COMMAND}`; export r; \
40495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40496 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
40499 # Rules to wipe a stage and all the following ones, also used for cleanstrap
40500 distclean-stageprofile:: distclean-stagefeedback
40501 .PHONY: distclean-stagefeedback
40502 distclean-stagefeedback::
40503 @: $(MAKE); $(stage)
40504 rm -rf stagefeedback-*
40507 @endif gcc-bootstrap
40511 stageprofile-end::
40512 $(MAKE) distclean-stagefeedback
40514 stagefeedback-start::
40515 @r=`${PWD_COMMAND}`; export r; \
40516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40517 for i in prev-*; do \
40518 j=`echo $$i | sed s/^prev-//` ; \
40519 cd $$r/$$i && \
40520 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
40521 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
40522 done
40524 @if gcc-bootstrap
40525 do-distclean: distclean-stage1
40527 # Provide a GCC build when we're building target libraries. This does
40528 # not work as a dependency, just as the minimum necessary to avoid errors.
40529 stage_last:
40530 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
40532 # Same as unstage, but not phony and defaulting to stage1-start. We place
40533 # it in the dependency so that for example `make -j3 all-gcc' works.
40534 stage_current:
40535 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
40537 .PHONY: restrap
40538 restrap:
40539 @: $(MAKE); $(stage)
40540 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
40541 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
40542 @endif gcc-bootstrap
40544 # --------------------------------------
40545 # Dependencies between different modules
40546 # --------------------------------------
40548 # Generic dependencies for target modules on host stuff, especially gcc
40549 @if gcc-bootstrap
40550 configure-target-libstdc++-v3: stage_last
40551 configure-target-libmudflap: stage_last
40552 configure-target-libssp: stage_last
40553 configure-target-newlib: stage_last
40554 configure-target-libgfortran: stage_last
40555 configure-target-libobjc: stage_last
40556 configure-target-libtermcap: stage_last
40557 configure-target-winsup: stage_last
40558 configure-target-libgloss: stage_last
40559 configure-target-libiberty: stage_last
40560 configure-target-gperf: stage_last
40561 configure-target-examples: stage_last
40562 configure-target-libffi: stage_last
40563 configure-target-libjava: stage_last
40564 configure-target-zlib: stage_last
40565 configure-target-boehm-gc: stage_last
40566 configure-target-qthreads: stage_last
40567 configure-target-rda: stage_last
40568 configure-target-libada: stage_last
40569 configure-target-libgomp: stage_last
40570 @endif gcc-bootstrap
40572 @if gcc-no-bootstrap
40573 configure-target-libstdc++-v3: maybe-all-gcc
40574 configure-target-libmudflap: maybe-all-gcc
40575 configure-target-libssp: maybe-all-gcc
40576 configure-target-newlib: maybe-all-gcc
40577 configure-target-libgfortran: maybe-all-gcc
40578 configure-target-libobjc: maybe-all-gcc
40579 configure-target-libtermcap: maybe-all-gcc
40580 configure-target-winsup: maybe-all-gcc
40581 configure-target-libgloss: maybe-all-gcc
40582 configure-target-libiberty: maybe-all-gcc
40583 configure-target-gperf: maybe-all-gcc
40584 configure-target-examples: maybe-all-gcc
40585 configure-target-libffi: maybe-all-gcc
40586 configure-target-libjava: maybe-all-gcc
40587 configure-target-zlib: maybe-all-gcc
40588 configure-target-boehm-gc: maybe-all-gcc
40589 configure-target-qthreads: maybe-all-gcc
40590 configure-target-rda: maybe-all-gcc
40591 configure-target-libada: maybe-all-gcc
40592 configure-target-libgomp: maybe-all-gcc
40593 @endif gcc-no-bootstrap
40597 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
40599 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
40600 configure-target-gperf: maybe-all-target-libstdc++-v3
40602 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
40604 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
40606 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
40608 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
40609 configure-target-libjava: maybe-all-target-libstdc++-v3
40611 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
40613 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
40615 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
40617 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
40619 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
40621 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
40623 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
40625 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
40627 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
40629 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
40632 # There are two types of dependencies here: 'hard' dependencies, where one
40633 # module simply won't build without the other; and 'soft' dependencies, where
40634 # if the depended-on module is missing, the depending module will do without
40635 # or find a substitute somewhere (perhaps installed). Soft dependencies
40636 # are made here to depend on a 'maybe-' target. If you're not sure,
40637 # it's safer to use a soft dependency.
40644 # With all the machinery above in place, it is pretty easy to generate
40645 # dependencies. Host dependencies are a bit more complex because we have
40646 # to check for bootstrap/prebootstrap dependencies. To resolve
40647 # prebootstrap dependencies, prebootstrap modules are gathered in
40648 # a hash table.
40649 all-build-bison: maybe-all-build-texinfo
40650 all-build-byacc: maybe-all-build-texinfo
40651 all-build-flex: maybe-all-build-texinfo
40652 all-build-flex: maybe-all-build-bison
40653 all-build-flex: maybe-all-build-byacc
40654 all-build-flex: maybe-all-build-m4
40655 all-build-libiberty: maybe-all-build-texinfo
40656 all-build-m4: maybe-all-build-texinfo
40657 all-build-fixincludes: maybe-all-build-libiberty
40658 configure-gcc: maybe-configure-intl
40660 configure-stage1-gcc: maybe-configure-stage1-intl
40661 configure-stage2-gcc: maybe-configure-stage2-intl
40662 configure-stage3-gcc: maybe-configure-stage3-intl
40663 configure-stage4-gcc: maybe-configure-stage4-intl
40664 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
40665 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
40666 configure-gcc: maybe-all-binutils
40668 configure-stage1-gcc: maybe-all-stage1-binutils
40669 configure-stage2-gcc: maybe-all-stage2-binutils
40670 configure-stage3-gcc: maybe-all-stage3-binutils
40671 configure-stage4-gcc: maybe-all-stage4-binutils
40672 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
40673 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
40674 configure-gcc: maybe-all-gas
40676 configure-stage1-gcc: maybe-all-stage1-gas
40677 configure-stage2-gcc: maybe-all-stage2-gas
40678 configure-stage3-gcc: maybe-all-stage3-gas
40679 configure-stage4-gcc: maybe-all-stage4-gas
40680 configure-stageprofile-gcc: maybe-all-stageprofile-gas
40681 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
40682 configure-gcc: maybe-all-ld
40684 configure-stage1-gcc: maybe-all-stage1-ld
40685 configure-stage2-gcc: maybe-all-stage2-ld
40686 configure-stage3-gcc: maybe-all-stage3-ld
40687 configure-stage4-gcc: maybe-all-stage4-ld
40688 configure-stageprofile-gcc: maybe-all-stageprofile-ld
40689 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
40690 all-gcc: all-libiberty
40692 all-stage1-gcc: all-stage1-libiberty
40693 all-stage2-gcc: all-stage2-libiberty
40694 all-stage3-gcc: all-stage3-libiberty
40695 all-stage4-gcc: all-stage4-libiberty
40696 all-stageprofile-gcc: all-stageprofile-libiberty
40697 all-stagefeedback-gcc: all-stagefeedback-libiberty
40698 all-gcc: maybe-all-intl
40700 all-stage1-gcc: maybe-all-stage1-intl
40701 all-stage2-gcc: maybe-all-stage2-intl
40702 all-stage3-gcc: maybe-all-stage3-intl
40703 all-stage4-gcc: maybe-all-stage4-intl
40704 all-stageprofile-gcc: maybe-all-stageprofile-intl
40705 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
40706 all-gcc: maybe-all-build-texinfo
40708 all-stage1-gcc: maybe-all-build-texinfo
40709 all-stage2-gcc: maybe-all-build-texinfo
40710 all-stage3-gcc: maybe-all-build-texinfo
40711 all-stage4-gcc: maybe-all-build-texinfo
40712 all-stageprofile-gcc: maybe-all-build-texinfo
40713 all-stagefeedback-gcc: maybe-all-build-texinfo
40714 all-prebootstrap: maybe-all-build-texinfo
40715 all-gcc: maybe-all-build-bison
40717 all-stage1-gcc: maybe-all-build-bison
40718 all-stage2-gcc: maybe-all-build-bison
40719 all-stage3-gcc: maybe-all-build-bison
40720 all-stage4-gcc: maybe-all-build-bison
40721 all-stageprofile-gcc: maybe-all-build-bison
40722 all-stagefeedback-gcc: maybe-all-build-bison
40723 all-prebootstrap: maybe-all-build-bison
40724 all-gcc: maybe-all-build-byacc
40726 all-stage1-gcc: maybe-all-build-byacc
40727 all-stage2-gcc: maybe-all-build-byacc
40728 all-stage3-gcc: maybe-all-build-byacc
40729 all-stage4-gcc: maybe-all-build-byacc
40730 all-stageprofile-gcc: maybe-all-build-byacc
40731 all-stagefeedback-gcc: maybe-all-build-byacc
40732 all-prebootstrap: maybe-all-build-byacc
40733 all-gcc: maybe-all-build-flex
40735 all-stage1-gcc: maybe-all-build-flex
40736 all-stage2-gcc: maybe-all-build-flex
40737 all-stage3-gcc: maybe-all-build-flex
40738 all-stage4-gcc: maybe-all-build-flex
40739 all-stageprofile-gcc: maybe-all-build-flex
40740 all-stagefeedback-gcc: maybe-all-build-flex
40741 all-prebootstrap: maybe-all-build-flex
40742 all-gcc: maybe-all-build-libiberty
40744 all-stage1-gcc: maybe-all-build-libiberty
40745 all-stage2-gcc: maybe-all-build-libiberty
40746 all-stage3-gcc: maybe-all-build-libiberty
40747 all-stage4-gcc: maybe-all-build-libiberty
40748 all-stageprofile-gcc: maybe-all-build-libiberty
40749 all-stagefeedback-gcc: maybe-all-build-libiberty
40750 all-prebootstrap: maybe-all-build-libiberty
40751 all-gcc: maybe-all-build-fixincludes
40753 all-stage1-gcc: maybe-all-build-fixincludes
40754 all-stage2-gcc: maybe-all-build-fixincludes
40755 all-stage3-gcc: maybe-all-build-fixincludes
40756 all-stage4-gcc: maybe-all-build-fixincludes
40757 all-stageprofile-gcc: maybe-all-build-fixincludes
40758 all-stagefeedback-gcc: maybe-all-build-fixincludes
40759 all-prebootstrap: maybe-all-build-fixincludes
40760 all-gcc: maybe-all-zlib
40762 all-stage1-gcc: maybe-all-stage1-zlib
40763 all-stage2-gcc: maybe-all-stage2-zlib
40764 all-stage3-gcc: maybe-all-stage3-zlib
40765 all-stage4-gcc: maybe-all-stage4-zlib
40766 all-stageprofile-gcc: maybe-all-stageprofile-zlib
40767 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
40768 all-gcc: all-libcpp
40770 all-stage1-gcc: all-stage1-libcpp
40771 all-stage2-gcc: all-stage2-libcpp
40772 all-stage3-gcc: all-stage3-libcpp
40773 all-stage4-gcc: all-stage4-libcpp
40774 all-stageprofile-gcc: all-stageprofile-libcpp
40775 all-stagefeedback-gcc: all-stagefeedback-libcpp
40776 all-gcc: all-libdecnumber
40778 all-stage1-gcc: all-stage1-libdecnumber
40779 all-stage2-gcc: all-stage2-libdecnumber
40780 all-stage3-gcc: all-stage3-libdecnumber
40781 all-stage4-gcc: all-stage4-libdecnumber
40782 all-stageprofile-gcc: all-stageprofile-libdecnumber
40783 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
40784 all-gcc: maybe-all-libiberty
40786 all-stage1-gcc: maybe-all-stage1-libiberty
40787 all-stage2-gcc: maybe-all-stage2-libiberty
40788 all-stage3-gcc: maybe-all-stage3-libiberty
40789 all-stage4-gcc: maybe-all-stage4-libiberty
40790 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
40791 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
40792 all-gcc: maybe-all-fixincludes
40793 install-gcc: maybe-install-fixincludes
40794 configure-libcpp: configure-libiberty
40796 configure-stage1-libcpp: configure-stage1-libiberty
40797 configure-stage2-libcpp: configure-stage2-libiberty
40798 configure-stage3-libcpp: configure-stage3-libiberty
40799 configure-stage4-libcpp: configure-stage4-libiberty
40800 configure-stageprofile-libcpp: configure-stageprofile-libiberty
40801 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
40802 configure-libcpp: maybe-configure-intl
40804 configure-stage1-libcpp: maybe-configure-stage1-intl
40805 configure-stage2-libcpp: maybe-configure-stage2-intl
40806 configure-stage3-libcpp: maybe-configure-stage3-intl
40807 configure-stage4-libcpp: maybe-configure-stage4-intl
40808 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
40809 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
40810 all-libcpp: all-libiberty
40812 all-stage1-libcpp: all-stage1-libiberty
40813 all-stage2-libcpp: all-stage2-libiberty
40814 all-stage3-libcpp: all-stage3-libiberty
40815 all-stage4-libcpp: all-stage4-libiberty
40816 all-stageprofile-libcpp: all-stageprofile-libiberty
40817 all-stagefeedback-libcpp: all-stagefeedback-libiberty
40818 all-libcpp: maybe-all-intl
40820 all-stage1-libcpp: maybe-all-stage1-intl
40821 all-stage2-libcpp: maybe-all-stage2-intl
40822 all-stage3-libcpp: maybe-all-stage3-intl
40823 all-stage4-libcpp: maybe-all-stage4-intl
40824 all-stageprofile-libcpp: maybe-all-stageprofile-intl
40825 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
40826 all-fixincludes: maybe-all-libiberty
40827 all-gnattools: maybe-all-target-libada
40828 configure-gdb: maybe-configure-intl
40829 configure-gdb: maybe-configure-sim
40830 all-gdb: maybe-all-intl
40831 all-gdb: maybe-all-libiberty
40832 all-gdb: maybe-all-opcodes
40833 all-gdb: maybe-all-bfd
40834 all-gdb: maybe-all-readline
40835 all-gdb: maybe-all-build-bison
40836 all-gdb: maybe-all-build-byacc
40837 all-gdb: maybe-all-sim
40838 configure-libgui: maybe-configure-tcl
40839 configure-libgui: maybe-configure-tk
40840 all-libgui: maybe-all-tcl
40841 all-libgui: maybe-all-tk
40842 all-libgui: maybe-all-itcl
40843 configure-bfd: configure-libiberty
40845 configure-stage1-bfd: configure-stage1-libiberty
40846 configure-stage2-bfd: configure-stage2-libiberty
40847 configure-stage3-bfd: configure-stage3-libiberty
40848 configure-stage4-bfd: configure-stage4-libiberty
40849 configure-stageprofile-bfd: configure-stageprofile-libiberty
40850 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
40851 configure-bfd: maybe-configure-intl
40853 configure-stage1-bfd: maybe-configure-stage1-intl
40854 configure-stage2-bfd: maybe-configure-stage2-intl
40855 configure-stage3-bfd: maybe-configure-stage3-intl
40856 configure-stage4-bfd: maybe-configure-stage4-intl
40857 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
40858 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
40859 all-bfd: maybe-all-libiberty
40861 all-stage1-bfd: maybe-all-stage1-libiberty
40862 all-stage2-bfd: maybe-all-stage2-libiberty
40863 all-stage3-bfd: maybe-all-stage3-libiberty
40864 all-stage4-bfd: maybe-all-stage4-libiberty
40865 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
40866 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
40867 all-bfd: maybe-all-intl
40869 all-stage1-bfd: maybe-all-stage1-intl
40870 all-stage2-bfd: maybe-all-stage2-intl
40871 all-stage3-bfd: maybe-all-stage3-intl
40872 all-stage4-bfd: maybe-all-stage4-intl
40873 all-stageprofile-bfd: maybe-all-stageprofile-intl
40874 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
40875 configure-binutils: maybe-configure-intl
40877 configure-stage1-binutils: maybe-configure-stage1-intl
40878 configure-stage2-binutils: maybe-configure-stage2-intl
40879 configure-stage3-binutils: maybe-configure-stage3-intl
40880 configure-stage4-binutils: maybe-configure-stage4-intl
40881 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
40882 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
40883 all-binutils: maybe-all-libiberty
40885 all-stage1-binutils: maybe-all-stage1-libiberty
40886 all-stage2-binutils: maybe-all-stage2-libiberty
40887 all-stage3-binutils: maybe-all-stage3-libiberty
40888 all-stage4-binutils: maybe-all-stage4-libiberty
40889 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
40890 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
40891 all-binutils: maybe-all-opcodes
40893 all-stage1-binutils: maybe-all-stage1-opcodes
40894 all-stage2-binutils: maybe-all-stage2-opcodes
40895 all-stage3-binutils: maybe-all-stage3-opcodes
40896 all-stage4-binutils: maybe-all-stage4-opcodes
40897 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
40898 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
40899 all-binutils: maybe-all-bfd
40901 all-stage1-binutils: maybe-all-stage1-bfd
40902 all-stage2-binutils: maybe-all-stage2-bfd
40903 all-stage3-binutils: maybe-all-stage3-bfd
40904 all-stage4-binutils: maybe-all-stage4-bfd
40905 all-stageprofile-binutils: maybe-all-stageprofile-bfd
40906 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
40907 all-binutils: maybe-all-build-flex
40909 all-stage1-binutils: maybe-all-build-flex
40910 all-stage2-binutils: maybe-all-build-flex
40911 all-stage3-binutils: maybe-all-build-flex
40912 all-stage4-binutils: maybe-all-build-flex
40913 all-stageprofile-binutils: maybe-all-build-flex
40914 all-stagefeedback-binutils: maybe-all-build-flex
40915 all-prebootstrap: maybe-all-build-flex
40916 all-binutils: maybe-all-build-bison
40918 all-stage1-binutils: maybe-all-build-bison
40919 all-stage2-binutils: maybe-all-build-bison
40920 all-stage3-binutils: maybe-all-build-bison
40921 all-stage4-binutils: maybe-all-build-bison
40922 all-stageprofile-binutils: maybe-all-build-bison
40923 all-stagefeedback-binutils: maybe-all-build-bison
40924 all-prebootstrap: maybe-all-build-bison
40925 all-binutils: maybe-all-build-byacc
40927 all-stage1-binutils: maybe-all-build-byacc
40928 all-stage2-binutils: maybe-all-build-byacc
40929 all-stage3-binutils: maybe-all-build-byacc
40930 all-stage4-binutils: maybe-all-build-byacc
40931 all-stageprofile-binutils: maybe-all-build-byacc
40932 all-stagefeedback-binutils: maybe-all-build-byacc
40933 all-prebootstrap: maybe-all-build-byacc
40934 all-binutils: maybe-all-intl
40936 all-stage1-binutils: maybe-all-stage1-intl
40937 all-stage2-binutils: maybe-all-stage2-intl
40938 all-stage3-binutils: maybe-all-stage3-intl
40939 all-stage4-binutils: maybe-all-stage4-intl
40940 all-stageprofile-binutils: maybe-all-stageprofile-intl
40941 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
40942 install-binutils: maybe-install-opcodes
40943 install-opcodes: maybe-install-bfd
40944 configure-gas: maybe-configure-intl
40946 configure-stage1-gas: maybe-configure-stage1-intl
40947 configure-stage2-gas: maybe-configure-stage2-intl
40948 configure-stage3-gas: maybe-configure-stage3-intl
40949 configure-stage4-gas: maybe-configure-stage4-intl
40950 configure-stageprofile-gas: maybe-configure-stageprofile-intl
40951 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
40952 all-gas: maybe-all-libiberty
40954 all-stage1-gas: maybe-all-stage1-libiberty
40955 all-stage2-gas: maybe-all-stage2-libiberty
40956 all-stage3-gas: maybe-all-stage3-libiberty
40957 all-stage4-gas: maybe-all-stage4-libiberty
40958 all-stageprofile-gas: maybe-all-stageprofile-libiberty
40959 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
40960 all-gas: maybe-all-opcodes
40962 all-stage1-gas: maybe-all-stage1-opcodes
40963 all-stage2-gas: maybe-all-stage2-opcodes
40964 all-stage3-gas: maybe-all-stage3-opcodes
40965 all-stage4-gas: maybe-all-stage4-opcodes
40966 all-stageprofile-gas: maybe-all-stageprofile-opcodes
40967 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
40968 all-gas: maybe-all-bfd
40970 all-stage1-gas: maybe-all-stage1-bfd
40971 all-stage2-gas: maybe-all-stage2-bfd
40972 all-stage3-gas: maybe-all-stage3-bfd
40973 all-stage4-gas: maybe-all-stage4-bfd
40974 all-stageprofile-gas: maybe-all-stageprofile-bfd
40975 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
40976 all-gas: maybe-all-intl
40978 all-stage1-gas: maybe-all-stage1-intl
40979 all-stage2-gas: maybe-all-stage2-intl
40980 all-stage3-gas: maybe-all-stage3-intl
40981 all-stage4-gas: maybe-all-stage4-intl
40982 all-stageprofile-gas: maybe-all-stageprofile-intl
40983 all-stagefeedback-gas: maybe-all-stagefeedback-intl
40984 configure-gprof: maybe-configure-intl
40985 all-gprof: maybe-all-libiberty
40986 all-gprof: maybe-all-bfd
40987 all-gprof: maybe-all-opcodes
40988 all-gprof: maybe-all-intl
40989 configure-ld: maybe-configure-intl
40991 configure-stage1-ld: maybe-configure-stage1-intl
40992 configure-stage2-ld: maybe-configure-stage2-intl
40993 configure-stage3-ld: maybe-configure-stage3-intl
40994 configure-stage4-ld: maybe-configure-stage4-intl
40995 configure-stageprofile-ld: maybe-configure-stageprofile-intl
40996 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
40997 all-ld: maybe-all-libiberty
40999 all-stage1-ld: maybe-all-stage1-libiberty
41000 all-stage2-ld: maybe-all-stage2-libiberty
41001 all-stage3-ld: maybe-all-stage3-libiberty
41002 all-stage4-ld: maybe-all-stage4-libiberty
41003 all-stageprofile-ld: maybe-all-stageprofile-libiberty
41004 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
41005 all-ld: maybe-all-bfd
41007 all-stage1-ld: maybe-all-stage1-bfd
41008 all-stage2-ld: maybe-all-stage2-bfd
41009 all-stage3-ld: maybe-all-stage3-bfd
41010 all-stage4-ld: maybe-all-stage4-bfd
41011 all-stageprofile-ld: maybe-all-stageprofile-bfd
41012 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
41013 all-ld: maybe-all-opcodes
41015 all-stage1-ld: maybe-all-stage1-opcodes
41016 all-stage2-ld: maybe-all-stage2-opcodes
41017 all-stage3-ld: maybe-all-stage3-opcodes
41018 all-stage4-ld: maybe-all-stage4-opcodes
41019 all-stageprofile-ld: maybe-all-stageprofile-opcodes
41020 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
41021 all-ld: maybe-all-build-bison
41023 all-stage1-ld: maybe-all-build-bison
41024 all-stage2-ld: maybe-all-build-bison
41025 all-stage3-ld: maybe-all-build-bison
41026 all-stage4-ld: maybe-all-build-bison
41027 all-stageprofile-ld: maybe-all-build-bison
41028 all-stagefeedback-ld: maybe-all-build-bison
41029 all-prebootstrap: maybe-all-build-bison
41030 all-ld: maybe-all-build-byacc
41032 all-stage1-ld: maybe-all-build-byacc
41033 all-stage2-ld: maybe-all-build-byacc
41034 all-stage3-ld: maybe-all-build-byacc
41035 all-stage4-ld: maybe-all-build-byacc
41036 all-stageprofile-ld: maybe-all-build-byacc
41037 all-stagefeedback-ld: maybe-all-build-byacc
41038 all-prebootstrap: maybe-all-build-byacc
41039 all-ld: maybe-all-build-flex
41041 all-stage1-ld: maybe-all-build-flex
41042 all-stage2-ld: maybe-all-build-flex
41043 all-stage3-ld: maybe-all-build-flex
41044 all-stage4-ld: maybe-all-build-flex
41045 all-stageprofile-ld: maybe-all-build-flex
41046 all-stagefeedback-ld: maybe-all-build-flex
41047 all-prebootstrap: maybe-all-build-flex
41048 all-ld: maybe-all-intl
41050 all-stage1-ld: maybe-all-stage1-intl
41051 all-stage2-ld: maybe-all-stage2-intl
41052 all-stage3-ld: maybe-all-stage3-intl
41053 all-stage4-ld: maybe-all-stage4-intl
41054 all-stageprofile-ld: maybe-all-stageprofile-intl
41055 all-stagefeedback-ld: maybe-all-stagefeedback-intl
41056 all-opcodes: maybe-all-bfd
41058 all-stage1-opcodes: maybe-all-stage1-bfd
41059 all-stage2-opcodes: maybe-all-stage2-bfd
41060 all-stage3-opcodes: maybe-all-stage3-bfd
41061 all-stage4-opcodes: maybe-all-stage4-bfd
41062 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
41063 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
41064 all-opcodes: maybe-all-libiberty
41066 all-stage1-opcodes: maybe-all-stage1-libiberty
41067 all-stage2-opcodes: maybe-all-stage2-libiberty
41068 all-stage3-opcodes: maybe-all-stage3-libiberty
41069 all-stage4-opcodes: maybe-all-stage4-libiberty
41070 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
41071 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
41072 all-dejagnu: maybe-all-tcl
41073 all-dejagnu: maybe-all-expect
41074 all-dejagnu: maybe-all-tk
41075 configure-expect: maybe-configure-tcl
41076 configure-expect: maybe-configure-tk
41077 all-expect: maybe-all-tcl
41078 all-expect: maybe-all-tk
41079 configure-itcl: maybe-configure-tcl
41080 configure-itcl: maybe-configure-tk
41081 all-itcl: maybe-all-tcl
41082 all-itcl: maybe-all-tk
41083 install-itcl: maybe-install-tcl
41084 configure-tk: maybe-configure-tcl
41085 all-tk: maybe-all-tcl
41086 all-sid: maybe-all-libiberty
41087 all-sid: maybe-all-bfd
41088 all-sid: maybe-all-opcodes
41089 all-sid: maybe-all-tcl
41090 all-sid: maybe-all-tk
41091 install-sid: maybe-install-tcl
41092 install-sid: maybe-install-tk
41093 configure-sim: maybe-configure-intl
41094 all-sim: maybe-all-intl
41095 all-sim: maybe-all-libiberty
41096 all-sim: maybe-all-bfd
41097 all-sim: maybe-all-opcodes
41098 all-sim: maybe-all-readline
41099 all-sim: maybe-configure-gdb
41100 all-fastjar: maybe-all-zlib
41101 all-fastjar: maybe-all-build-texinfo
41102 all-fastjar: maybe-all-libiberty
41103 all-autoconf: maybe-all-m4
41104 all-autoconf: maybe-all-build-texinfo
41105 all-automake: maybe-all-m4
41106 all-automake: maybe-all-build-texinfo
41107 all-automake: maybe-all-autoconf
41108 all-bison: maybe-all-intl
41109 all-bison: maybe-all-build-texinfo
41110 all-diff: maybe-all-intl
41111 all-diff: maybe-all-build-texinfo
41112 all-fileutils: maybe-all-intl
41113 all-fileutils: maybe-all-build-texinfo
41114 all-flex: maybe-all-build-bison
41115 all-flex: maybe-all-build-byacc
41116 all-flex: maybe-all-intl
41117 all-flex: maybe-all-m4
41118 all-flex: maybe-all-build-texinfo
41119 all-gzip: maybe-all-intl
41120 all-gzip: maybe-all-zlib
41121 all-gzip: maybe-all-build-texinfo
41122 all-hello: maybe-all-intl
41123 all-hello: maybe-all-build-texinfo
41124 all-m4: maybe-all-intl
41125 all-m4: maybe-all-build-texinfo
41126 all-make: maybe-all-intl
41127 all-make: maybe-all-build-texinfo
41128 all-patch: maybe-all-build-texinfo
41129 all-make: maybe-all-build-texinfo
41130 all-prms: maybe-all-libiberty
41131 all-recode: maybe-all-build-texinfo
41132 all-sed: maybe-all-build-texinfo
41133 all-send-pr: maybe-all-prms
41134 all-tar: maybe-all-build-texinfo
41135 all-uudecode: maybe-all-build-texinfo
41136 configure-target-boehm-gc: maybe-configure-target-qthreads
41137 configure-target-fastjar: maybe-configure-target-zlib
41138 all-target-fastjar: maybe-all-target-zlib
41139 all-target-fastjar: maybe-all-target-libiberty
41140 configure-target-libjava: maybe-configure-target-zlib
41141 configure-target-libjava: maybe-configure-target-boehm-gc
41142 configure-target-libjava: maybe-configure-target-qthreads
41143 configure-target-libjava: maybe-configure-target-libffi
41144 all-target-libjava: maybe-all-fastjar
41145 all-target-libjava: maybe-all-target-zlib
41146 all-target-libjava: maybe-all-target-boehm-gc
41147 all-target-libjava: maybe-all-target-qthreads
41148 all-target-libjava: maybe-all-target-libffi
41149 configure-target-libobjc: maybe-configure-target-boehm-gc
41150 all-target-libobjc: maybe-all-target-libiberty
41151 all-target-libobjc: maybe-all-target-boehm-gc
41152 all-target-libstdc++-v3: maybe-all-target-libiberty
41153 all-target-libgloss: maybe-configure-target-newlib
41154 all-target-winsup: maybe-all-target-libiberty
41155 all-target-winsup: maybe-all-target-libtermcap
41158 # Non-toplevel bootstrap rules must depend on several packages, to be built
41159 # before gcc. Another wart that will go away, hopefully soon.
41160 @if gcc-no-bootstrap
41162 all-prebootstrap: maybe-all-bfd
41163 all-prebootstrap: maybe-all-opcodes
41164 all-prebootstrap: maybe-all-binutils
41165 all-prebootstrap: maybe-all-gas
41166 all-prebootstrap: maybe-all-intl
41167 all-prebootstrap: maybe-all-ld
41168 all-prebootstrap: maybe-all-libcpp
41169 all-prebootstrap: maybe-all-libdecnumber
41170 all-prebootstrap: maybe-all-libiberty
41171 all-prebootstrap: maybe-all-zlib
41172 @endif gcc-no-bootstrap
41174 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
41175 GDB_TK = @GDB_TK@
41176 INSTALL_GDB_TK = @INSTALL_GDB_TK@
41177 configure-gdb: $(CONFIGURE_GDB_TK)
41178 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
41179 install-gdb: $(INSTALL_GDB_TK)
41181 # Serialization dependencies. Host configures don't work well in parallel to
41182 # each other, due to contention over config.cache. Target configures and
41183 # build configures are similar.
41184 @serialization_dependencies@
41186 # --------------------------------
41187 # Regenerating top level configury
41188 # --------------------------------
41190 # Rebuilding Makefile.in, using autogen.
41191 AUTOGEN = autogen
41192 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
41193 cd $(srcdir) && $(AUTOGEN) Makefile.def
41195 # Rebuilding Makefile.
41196 Makefile: $(srcdir)/Makefile.in config.status
41197 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
41199 config.status: configure
41200 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
41202 # Rebuilding configure.
41203 AUTOCONF = autoconf
41204 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
41205 cd $(srcdir) && $(AUTOCONF)
41207 # ------------------------------
41208 # Special directives to GNU Make
41209 # ------------------------------
41211 # Don't pass command-line variables to submakes.
41212 .NOEXPORT:
41213 MAKEOVERRIDES=
41215 # end of Makefile.in