daily update
[binutils.git] / Makefile.in
blobee1357b3ab401517c826661b813535581e8803c1
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@
73 MAINT = @MAINT@
74 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
75 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
77 # -------------------------------------------------
78 # Miscellaneous non-standard autoconf-set variables
79 # -------------------------------------------------
81 # The gcc driver likes to know the arguments it was configured with.
82 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
84 tooldir = @tooldir@
85 build_tooldir = @build_tooldir@
87 GDB_NLM_DEPS =
89 # This is the name of the environment variable used for the path to
90 # the libraries.
91 RPATH_ENVVAR = @RPATH_ENVVAR@
93 # Build programs are put under this directory.
94 BUILD_SUBDIR = @build_subdir@
95 # This is set by the configure script to the arguments to use when configuring
96 # directories built for the build system.
97 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
99 # This is the list of variables to export in the environment when
100 # configuring any subdirectory. It must also be exported whenever
101 # recursing into a build directory in case that directory's Makefile
102 # re-runs configure.
103 BASE_EXPORTS = \
104 FLEX="$(FLEX)"; export FLEX; \
105 LEX="$(LEX)"; export LEX; \
106 BISON="$(BISON)"; export BISON; \
107 YACC="$(YACC)"; export YACC; \
108 M4="$(M4)"; export M4; \
109 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
111 # This is the list of variables to export in the environment when
112 # configuring subdirectories for the build system.
113 BUILD_EXPORTS = \
114 $(BASE_EXPORTS) \
115 AR="$(AR_FOR_BUILD)"; export AR; \
116 AS="$(AS_FOR_BUILD)"; export AS; \
117 CC="$(CC_FOR_BUILD)"; export CC; \
118 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
119 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
120 CXX="$(CXX_FOR_BUILD)"; export CXX; \
121 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
122 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
123 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
124 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
125 LD="$(LD_FOR_BUILD)"; export LD; \
126 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
127 NM="$(NM_FOR_BUILD)"; export NM; \
128 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
129 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
131 # This is the list of directories to built for the host system.
132 SUBDIRS = @configdirs@
133 # This is set by the configure script to the arguments to use when configuring
134 # directories built for the host system.
135 HOST_CONFIGARGS = @host_configargs@
136 # Host programs are put under this directory, which is . except if building
137 # with srcdir=..
138 HOST_SUBDIR = @host_subdir@
139 # This is the list of variables to export in the environment when
140 # configuring subdirectories for the host system. We need to pass
141 # some to the GCC configure because of its hybrid host/target nature.
142 HOST_EXPORTS = \
143 $(BASE_EXPORTS) \
144 CC="$(CC)"; export CC; \
145 CFLAGS="$(CFLAGS)"; export CFLAGS; \
146 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
147 CXX="$(CXX)"; export CXX; \
148 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
149 AR="$(AR)"; export AR; \
150 AS="$(AS)"; export AS; \
151 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
152 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
153 LD="$(LD)"; export LD; \
154 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
155 NM="$(NM)"; export NM; \
156 RANLIB="$(RANLIB)"; export RANLIB; \
157 WINDRES="$(WINDRES)"; export WINDRES; \
158 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
159 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
160 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
161 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
162 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
163 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
164 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
165 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
166 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
167 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
168 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
169 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
170 @if gcc-bootstrap
171 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
172 @endif gcc-bootstrap
173 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
175 # Similar, for later GCC stages.
176 POSTSTAGE1_HOST_EXPORTS = \
177 $(HOST_EXPORTS) \
178 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
179 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
180 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
181 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
182 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
183 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
184 CFLAGS="$(BOOT_CFLAGS)"; export CFLAGS; \
185 LDFLAGS="$(BOOT_LDFLAGS)"; export LDFLAGS;
187 # Target libraries are put under this directory:
188 TARGET_SUBDIR = @target_subdir@
189 # This is set by the configure script to the arguments to use when configuring
190 # directories built for the target.
191 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
192 # This is the list of variables to export in the environment when
193 # configuring subdirectories for the host system.
194 BASE_TARGET_EXPORTS = \
195 $(BASE_EXPORTS) \
196 AR="$(AR_FOR_TARGET)"; export AR; \
197 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
198 CC="$(CC_FOR_TARGET)"; export CC; \
199 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
200 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
201 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
202 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
203 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
204 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
205 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
206 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
207 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
208 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
209 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
210 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
211 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
212 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
213 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
214 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
216 RAW_CXX_TARGET_EXPORTS = \
217 $(BASE_TARGET_EXPORTS) \
218 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
219 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
221 NORMAL_TARGET_EXPORTS = \
222 $(BASE_TARGET_EXPORTS) \
223 CXX="$(CXX_FOR_TARGET)"; export CXX;
225 # Where to find GMP
226 HOST_GMPLIBS = @gmplibs@
227 HOST_GMPINC = @gmpinc@
229 # ----------------------------------------------
230 # Programs producing files for the BUILD machine
231 # ----------------------------------------------
233 SHELL = @config_shell@
235 # pwd command to use. Allow user to override default by setting PWDCMD in
236 # the environment to account for automounters. The make variable must not
237 # be called PWDCMD, otherwise the value set here is passed to make
238 # subprocesses and overrides the setting from the user's environment.
239 # Don't use PWD since it is a common shell environment variable and we
240 # don't want to corrupt it.
241 PWD_COMMAND = $${PWDCMD-pwd}
243 # compilers to use to create programs which must be run in the build
244 # environment.
245 CC_FOR_BUILD = @CC_FOR_BUILD@
246 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
248 CXX_FOR_BUILD = $(CXX)
250 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
251 # here so that they can be overridden by Makefile fragments.
252 BUILD_PREFIX = @BUILD_PREFIX@
253 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
255 # Flags to pass to stage2 and later makes. They are defined
256 # here so that they can be overridden by Makefile fragments.
257 BOOT_CFLAGS= -g -O2
258 BOOT_LDFLAGS=
260 BISON = @BISON@
261 YACC = @YACC@
262 FLEX = @FLEX@
263 LEX = @LEX@
264 M4 = @M4@
265 MAKEINFO = @MAKEINFO@
266 EXPECT = @EXPECT@
267 RUNTEST = @RUNTEST@
269 # This just becomes part of the MAKEINFO definition passed down to
270 # sub-makes. It lets flags be given on the command line while still
271 # using the makeinfo from the object tree.
272 # (Default to avoid splitting info files by setting the threshold high.)
273 MAKEINFOFLAGS = --split-size=5000000
275 # ---------------------------------------------
276 # Programs producing files for the HOST machine
277 # ---------------------------------------------
279 AS = @AS@
280 AR = @AR@
281 AR_FLAGS = rc
282 CC = @CC@
283 CXX = @CXX@
284 DLLTOOL = @DLLTOOL@
285 LD = @LD@
286 LIPO = @LIPO@
287 NM = @NM@
288 OBJDUMP = @OBJDUMP@
289 RANLIB = @RANLIB@
290 STRIP = @STRIP@
291 WINDRES = @WINDRES@
293 CFLAGS = @CFLAGS@
294 LDFLAGS =
295 LIBCFLAGS = $(CFLAGS)
296 CXXFLAGS = @CXXFLAGS@
297 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
298 PICFLAG =
300 # Only build the C compiler for stage1, because that is the only one that
301 # we can guarantee will build with the native compiler, and also it is the
302 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
303 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
304 # overrideable (for a bootstrap build stage1 also builds gcc.info).
306 STAGE1_CFLAGS=@stage1_cflags@
307 STAGE1_CHECKING=@stage1_checking@
308 STAGE1_LANGUAGES=@stage1_languages@
310 # -----------------------------------------------
311 # Programs producing files for the TARGET machine
312 # -----------------------------------------------
314 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
316 AR_FOR_TARGET=@AR_FOR_TARGET@
317 AS_FOR_TARGET=@AS_FOR_TARGET@
318 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
320 # If GCC_FOR_TARGET is not overriden on the command line, then this
321 # variable is passed down to the gcc Makefile, where it is used to
322 # build libgcc2.a. We define it here so that it can itself be
323 # overridden on the command line.
324 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
325 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
326 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
327 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
328 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
329 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
330 LD_FOR_TARGET=@LD_FOR_TARGET@
332 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
333 NM_FOR_TARGET=@NM_FOR_TARGET@
334 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
335 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
336 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
337 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
339 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
340 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
341 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
343 # During gcc bootstrap, if we use some random cc for stage1 then
344 # CFLAGS will be just -g. We want to ensure that TARGET libraries
345 # (which we know are built with gcc) are built with optimizations so
346 # prepend -O2 when setting CFLAGS_FOR_TARGET.
347 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
348 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
349 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
350 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
351 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
352 LDFLAGS_FOR_TARGET =
353 PICFLAG_FOR_TARGET =
355 # ------------------------------------
356 # Miscellaneous targets and flag lists
357 # ------------------------------------
359 # The first rule in the file had better be this one. Don't put any above it.
360 # This lives here to allow makefile fragments to contain dependencies.
361 all:
363 #### host and target specific makefile fragments come in here.
364 @target_makefile_frag@
365 @alphaieee_frag@
366 @ospace_frag@
367 @host_makefile_frag@
370 # This is the list of directories that may be needed in RPATH_ENVVAR
371 # so that prorgams built for the target machine work.
372 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
374 @if target-libstdc++-v3
375 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
376 @endif target-libstdc++-v3
378 @if target-libmudflap
379 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
380 @endif target-libmudflap
382 @if target-libssp
383 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
384 @endif target-libssp
386 @if target-libgomp
387 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
388 @endif target-libgomp
392 # This is the list of directories that may be needed in RPATH_ENVVAR
393 # so that programs built for the host machine work.
394 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
396 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
397 @if gcc
398 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
399 @endif gcc
402 @if bfd
403 HOST_LIB_PATH_bfd = \
404 $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
405 @endif bfd
407 @if opcodes
408 HOST_LIB_PATH_opcodes = \
409 $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
410 @endif opcodes
413 # Flags to pass down to all sub-makes.
414 BASE_FLAGS_TO_PASS = \
415 "DESTDIR=$(DESTDIR)" \
416 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
417 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
418 "bindir=$(bindir)" \
419 "datadir=$(datadir)" \
420 "exec_prefix=$(exec_prefix)" \
421 "includedir=$(includedir)" \
422 "datarootdir=$(datarootdir)" \
423 "docdir=$(docdir)" \
424 "infodir=$(infodir)" \
425 "htmldir=$(htmldir)" \
426 "libdir=$(libdir)" \
427 "libexecdir=$(libexecdir)" \
428 "lispdir=$(lispdir)" \
429 "localstatedir=$(localstatedir)" \
430 "mandir=$(mandir)" \
431 "oldincludedir=$(oldincludedir)" \
432 "prefix=$(prefix)" \
433 "sbindir=$(sbindir)" \
434 "sharedstatedir=$(sharedstatedir)" \
435 "sysconfdir=$(sysconfdir)" \
436 "tooldir=$(tooldir)" \
437 "build_tooldir=$(build_tooldir)" \
438 "target_alias=$(target_alias)" \
439 "BISON=$(BISON)" \
440 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
441 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
442 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
443 "EXPECT=$(EXPECT)" \
444 "FLEX=$(FLEX)" \
445 "INSTALL=$(INSTALL)" \
446 "INSTALL_DATA=$(INSTALL_DATA)" \
447 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
448 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
449 "LEX=$(LEX)" \
450 "M4=$(M4)" \
451 "MAKE=$(MAKE)" \
452 "RUNTEST=$(RUNTEST)" \
453 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
454 "SHELL=$(SHELL)" \
455 "YACC=$(YACC)" \
456 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
457 "AR_FLAGS=$(AR_FLAGS)" \
458 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
459 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
460 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
461 "CFLAGS=$(CFLAGS)" \
462 "CXXFLAGS=$(CXXFLAGS)" \
463 "LDFLAGS=$(LDFLAGS)" \
464 "LIBCFLAGS=$(LIBCFLAGS)" \
465 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
466 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
467 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
468 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
469 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
470 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
471 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
472 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
473 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
474 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
475 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
476 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
477 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
478 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
479 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
480 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
481 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
482 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
483 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
484 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
485 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
486 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
487 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
488 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
489 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
490 "LEAN=$(LEAN)" \
491 "CONFIG_SHELL=$(SHELL)" \
492 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
494 # We leave this in just in case, but it is not needed anymore.
495 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
497 # Flags to pass down to most sub-makes, in which we're building with
498 # the host environment.
499 EXTRA_HOST_FLAGS = \
500 'AR=$(AR)' \
501 'AS=$(AS)' \
502 'CC=$(CC)' \
503 'CXX=$(CXX)' \
504 'DLLTOOL=$(DLLTOOL)' \
505 'LD=$(LD)' \
506 'LIPO=$(LIPO)' \
507 'NM=$(NM)' \
508 'OBJDUMP=$(OBJDUMP)' \
509 'RANLIB=$(RANLIB)' \
510 'STRIP=$(STRIP)' \
511 'WINDRES=$(WINDRES)'
513 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
515 # Flags that are concerned with the location of the X11 include files
516 # and library files
518 # NOTE: until the top-level is getting the values via autoconf, it only
519 # causes problems to have this top-level Makefile overriding the autoconf-set
520 # values in child directories. Only variables that don't conflict with
521 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
523 X11_FLAGS_TO_PASS = \
524 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
525 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
527 # Flags to pass to stage2 and later makes.
529 POSTSTAGE1_FLAGS_TO_PASS = \
530 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
531 STAGE_PREFIX="$$r/$(HOST_SUBDIR)/prev-gcc/" \
532 CFLAGS="$(BOOT_CFLAGS)" \
533 LIBCFLAGS="$(BOOT_CFLAGS)" \
534 LDFLAGS="$(BOOT_LDFLAGS)" \
535 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
537 # Flags to pass down to makes which are built with the target environment.
538 # The double $ decreases the length of the command line; those variables
539 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
540 # COMPILER_ prefixed variables are not passed down so we expand them here.
541 EXTRA_TARGET_FLAGS = \
542 'AR=$$(AR_FOR_TARGET)' \
543 'AS=$(COMPILER_AS_FOR_TARGET)' \
544 'CC=$$(CC_FOR_TARGET)' \
545 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
546 'CXX=$$(CXX_FOR_TARGET)' \
547 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
548 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
549 'LD=$(COMPILER_LD_FOR_TARGET)' \
550 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
551 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
552 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
553 'NM=$(COMPILER_NM_FOR_TARGET)' \
554 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
555 'RANLIB=$$(RANLIB_FOR_TARGET)' \
556 'WINDRES=$$(WINDRES_FOR_TARGET)'
558 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
560 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
561 # unfortunately needs the native compiler and the target ar and
562 # ranlib.
563 # If any variables are added here, they must be added to do-*, below.
564 # The BUILD_* variables are a special case, which are used for the gcc
565 # cross-building scheme.
566 EXTRA_GCC_FLAGS = \
567 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
568 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
569 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
570 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
571 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
572 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
574 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
576 .PHONY: configure-host
577 configure-host: \
578 maybe-configure-ash \
579 maybe-configure-autoconf \
580 maybe-configure-automake \
581 maybe-configure-bash \
582 maybe-configure-bfd \
583 maybe-configure-opcodes \
584 maybe-configure-binutils \
585 maybe-configure-bison \
586 maybe-configure-byacc \
587 maybe-configure-bzip2 \
588 maybe-configure-dejagnu \
589 maybe-configure-diff \
590 maybe-configure-dosutils \
591 maybe-configure-etc \
592 maybe-configure-fastjar \
593 maybe-configure-fileutils \
594 maybe-configure-findutils \
595 maybe-configure-find \
596 maybe-configure-fixincludes \
597 maybe-configure-flex \
598 maybe-configure-gas \
599 maybe-configure-gcc \
600 maybe-configure-gawk \
601 maybe-configure-gettext \
602 maybe-configure-gnuserv \
603 maybe-configure-gprof \
604 maybe-configure-gzip \
605 maybe-configure-hello \
606 maybe-configure-indent \
607 maybe-configure-intl \
608 maybe-configure-tcl \
609 maybe-configure-itcl \
610 maybe-configure-ld \
611 maybe-configure-libcpp \
612 maybe-configure-libdecnumber \
613 maybe-configure-libgui \
614 maybe-configure-libiberty \
615 maybe-configure-libtool \
616 maybe-configure-m4 \
617 maybe-configure-make \
618 maybe-configure-mmalloc \
619 maybe-configure-patch \
620 maybe-configure-perl \
621 maybe-configure-prms \
622 maybe-configure-rcs \
623 maybe-configure-readline \
624 maybe-configure-release \
625 maybe-configure-recode \
626 maybe-configure-sed \
627 maybe-configure-send-pr \
628 maybe-configure-shellutils \
629 maybe-configure-sid \
630 maybe-configure-sim \
631 maybe-configure-tar \
632 maybe-configure-texinfo \
633 maybe-configure-textutils \
634 maybe-configure-time \
635 maybe-configure-uudecode \
636 maybe-configure-wdiff \
637 maybe-configure-zip \
638 maybe-configure-zlib \
639 maybe-configure-gdb \
640 maybe-configure-expect \
641 maybe-configure-guile \
642 maybe-configure-tk \
643 maybe-configure-libtermcap \
644 maybe-configure-utils \
645 maybe-configure-gnattools
646 .PHONY: configure-target
647 configure-target: \
648 maybe-configure-target-libstdc++-v3 \
649 maybe-configure-target-libmudflap \
650 maybe-configure-target-libssp \
651 maybe-configure-target-newlib \
652 maybe-configure-target-libgcc \
653 maybe-configure-target-libgfortran \
654 maybe-configure-target-libobjc \
655 maybe-configure-target-libtermcap \
656 maybe-configure-target-winsup \
657 maybe-configure-target-libgloss \
658 maybe-configure-target-libiberty \
659 maybe-configure-target-gperf \
660 maybe-configure-target-examples \
661 maybe-configure-target-libffi \
662 maybe-configure-target-libjava \
663 maybe-configure-target-zlib \
664 maybe-configure-target-boehm-gc \
665 maybe-configure-target-qthreads \
666 maybe-configure-target-rda \
667 maybe-configure-target-libada \
668 maybe-configure-target-libgomp
670 # The target built for a native non-bootstrap build.
671 .PHONY: all
672 all:
673 @if gcc-bootstrap
674 [ -f stage_final ] || echo stage3 > stage_final
675 @r=`${PWD_COMMAND}`; export r; \
676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
677 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
678 @endif gcc-bootstrap
679 @: $(MAKE); $(unstage)
680 @r=`${PWD_COMMAND}`; export r; \
681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
682 if [ -f stage_last ]; then \
683 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
684 else \
685 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
688 .PHONY: all-build
690 all-build: maybe-all-build-libiberty
691 all-build: maybe-all-build-bison
692 all-build: maybe-all-build-byacc
693 all-build: maybe-all-build-flex
694 all-build: maybe-all-build-m4
695 all-build: maybe-all-build-texinfo
696 all-build: maybe-all-build-fixincludes
698 .PHONY: all-host
700 all-host: maybe-all-ash
701 all-host: maybe-all-autoconf
702 all-host: maybe-all-automake
703 all-host: maybe-all-bash
704 @if bfd-no-bootstrap
705 all-host: maybe-all-bfd
706 @endif bfd-no-bootstrap
707 @if opcodes-no-bootstrap
708 all-host: maybe-all-opcodes
709 @endif opcodes-no-bootstrap
710 @if binutils-no-bootstrap
711 all-host: maybe-all-binutils
712 @endif binutils-no-bootstrap
713 all-host: maybe-all-bison
714 all-host: maybe-all-byacc
715 all-host: maybe-all-bzip2
716 all-host: maybe-all-dejagnu
717 all-host: maybe-all-diff
718 all-host: maybe-all-dosutils
719 all-host: maybe-all-etc
720 all-host: maybe-all-fastjar
721 all-host: maybe-all-fileutils
722 all-host: maybe-all-findutils
723 all-host: maybe-all-find
724 all-host: maybe-all-fixincludes
725 all-host: maybe-all-flex
726 @if gas-no-bootstrap
727 all-host: maybe-all-gas
728 @endif gas-no-bootstrap
729 @if gcc-no-bootstrap
730 all-host: maybe-all-gcc
731 @endif gcc-no-bootstrap
732 all-host: maybe-all-gawk
733 all-host: maybe-all-gettext
734 all-host: maybe-all-gnuserv
735 all-host: maybe-all-gprof
736 all-host: maybe-all-gzip
737 all-host: maybe-all-hello
738 all-host: maybe-all-indent
739 @if intl-no-bootstrap
740 all-host: maybe-all-intl
741 @endif intl-no-bootstrap
742 all-host: maybe-all-tcl
743 all-host: maybe-all-itcl
744 @if ld-no-bootstrap
745 all-host: maybe-all-ld
746 @endif ld-no-bootstrap
747 @if libcpp-no-bootstrap
748 all-host: maybe-all-libcpp
749 @endif libcpp-no-bootstrap
750 @if libdecnumber-no-bootstrap
751 all-host: maybe-all-libdecnumber
752 @endif libdecnumber-no-bootstrap
753 all-host: maybe-all-libgui
754 @if libiberty-no-bootstrap
755 all-host: maybe-all-libiberty
756 @endif libiberty-no-bootstrap
757 all-host: maybe-all-libtool
758 all-host: maybe-all-m4
759 all-host: maybe-all-make
760 all-host: maybe-all-mmalloc
761 all-host: maybe-all-patch
762 all-host: maybe-all-perl
763 all-host: maybe-all-prms
764 all-host: maybe-all-rcs
765 all-host: maybe-all-readline
766 all-host: maybe-all-release
767 all-host: maybe-all-recode
768 all-host: maybe-all-sed
769 all-host: maybe-all-send-pr
770 all-host: maybe-all-shellutils
771 all-host: maybe-all-sid
772 all-host: maybe-all-sim
773 all-host: maybe-all-tar
774 all-host: maybe-all-texinfo
775 all-host: maybe-all-textutils
776 all-host: maybe-all-time
777 all-host: maybe-all-uudecode
778 all-host: maybe-all-wdiff
779 all-host: maybe-all-zip
780 @if zlib-no-bootstrap
781 all-host: maybe-all-zlib
782 @endif zlib-no-bootstrap
783 all-host: maybe-all-gdb
784 all-host: maybe-all-expect
785 all-host: maybe-all-guile
786 all-host: maybe-all-tk
787 all-host: maybe-all-libtermcap
788 all-host: maybe-all-utils
789 all-host: maybe-all-gnattools
791 .PHONY: all-target
793 all-target: maybe-all-target-libstdc++-v3
794 all-target: maybe-all-target-libmudflap
795 all-target: maybe-all-target-libssp
796 all-target: maybe-all-target-newlib
797 @if libgcc-no-bootstrap
798 all-target: maybe-all-target-libgcc
799 @endif libgcc-no-bootstrap
800 all-target: maybe-all-target-libgfortran
801 all-target: maybe-all-target-libobjc
802 all-target: maybe-all-target-libtermcap
803 all-target: maybe-all-target-winsup
804 all-target: maybe-all-target-libgloss
805 all-target: maybe-all-target-libiberty
806 all-target: maybe-all-target-gperf
807 all-target: maybe-all-target-examples
808 all-target: maybe-all-target-libffi
809 all-target: maybe-all-target-libjava
810 all-target: maybe-all-target-zlib
811 all-target: maybe-all-target-boehm-gc
812 all-target: maybe-all-target-qthreads
813 all-target: maybe-all-target-rda
814 all-target: maybe-all-target-libada
815 all-target: maybe-all-target-libgomp
817 # Do a target for all the subdirectories. A ``make do-X'' will do a
818 # ``make X'' in all subdirectories (because, in general, there is a
819 # dependency (below) of X upon do-X, a ``make X'' will also do this,
820 # but it may do additional work as well).
822 .PHONY: do-info
823 do-info:
824 @: $(MAKE); $(unstage)
825 @r=`${PWD_COMMAND}`; export r; \
826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
827 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
828 info-target
831 .PHONY: info-host
833 info-host: maybe-info-ash
834 info-host: maybe-info-autoconf
835 info-host: maybe-info-automake
836 info-host: maybe-info-bash
837 info-host: maybe-info-bfd
838 info-host: maybe-info-opcodes
839 info-host: maybe-info-binutils
840 info-host: maybe-info-bison
841 info-host: maybe-info-byacc
842 info-host: maybe-info-bzip2
843 info-host: maybe-info-dejagnu
844 info-host: maybe-info-diff
845 info-host: maybe-info-dosutils
846 info-host: maybe-info-etc
847 info-host: maybe-info-fastjar
848 info-host: maybe-info-fileutils
849 info-host: maybe-info-findutils
850 info-host: maybe-info-find
851 info-host: maybe-info-fixincludes
852 info-host: maybe-info-flex
853 info-host: maybe-info-gas
854 info-host: maybe-info-gcc
855 info-host: maybe-info-gawk
856 info-host: maybe-info-gettext
857 info-host: maybe-info-gnuserv
858 info-host: maybe-info-gprof
859 info-host: maybe-info-gzip
860 info-host: maybe-info-hello
861 info-host: maybe-info-indent
862 info-host: maybe-info-intl
863 info-host: maybe-info-tcl
864 info-host: maybe-info-itcl
865 info-host: maybe-info-ld
866 info-host: maybe-info-libcpp
867 info-host: maybe-info-libdecnumber
868 info-host: maybe-info-libgui
869 info-host: maybe-info-libiberty
870 info-host: maybe-info-libtool
871 info-host: maybe-info-m4
872 info-host: maybe-info-make
873 info-host: maybe-info-mmalloc
874 info-host: maybe-info-patch
875 info-host: maybe-info-perl
876 info-host: maybe-info-prms
877 info-host: maybe-info-rcs
878 info-host: maybe-info-readline
879 info-host: maybe-info-release
880 info-host: maybe-info-recode
881 info-host: maybe-info-sed
882 info-host: maybe-info-send-pr
883 info-host: maybe-info-shellutils
884 info-host: maybe-info-sid
885 info-host: maybe-info-sim
886 info-host: maybe-info-tar
887 info-host: maybe-info-texinfo
888 info-host: maybe-info-textutils
889 info-host: maybe-info-time
890 info-host: maybe-info-uudecode
891 info-host: maybe-info-wdiff
892 info-host: maybe-info-zip
893 info-host: maybe-info-zlib
894 info-host: maybe-info-gdb
895 info-host: maybe-info-expect
896 info-host: maybe-info-guile
897 info-host: maybe-info-tk
898 info-host: maybe-info-libtermcap
899 info-host: maybe-info-utils
900 info-host: maybe-info-gnattools
902 .PHONY: info-target
904 info-target: maybe-info-target-libstdc++-v3
905 info-target: maybe-info-target-libmudflap
906 info-target: maybe-info-target-libssp
907 info-target: maybe-info-target-newlib
908 info-target: maybe-info-target-libgcc
909 info-target: maybe-info-target-libgfortran
910 info-target: maybe-info-target-libobjc
911 info-target: maybe-info-target-libtermcap
912 info-target: maybe-info-target-winsup
913 info-target: maybe-info-target-libgloss
914 info-target: maybe-info-target-libiberty
915 info-target: maybe-info-target-gperf
916 info-target: maybe-info-target-examples
917 info-target: maybe-info-target-libffi
918 info-target: maybe-info-target-libjava
919 info-target: maybe-info-target-zlib
920 info-target: maybe-info-target-boehm-gc
921 info-target: maybe-info-target-qthreads
922 info-target: maybe-info-target-rda
923 info-target: maybe-info-target-libada
924 info-target: maybe-info-target-libgomp
926 .PHONY: do-dvi
927 do-dvi:
928 @: $(MAKE); $(unstage)
929 @r=`${PWD_COMMAND}`; export r; \
930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
931 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
932 dvi-target
935 .PHONY: dvi-host
937 dvi-host: maybe-dvi-ash
938 dvi-host: maybe-dvi-autoconf
939 dvi-host: maybe-dvi-automake
940 dvi-host: maybe-dvi-bash
941 dvi-host: maybe-dvi-bfd
942 dvi-host: maybe-dvi-opcodes
943 dvi-host: maybe-dvi-binutils
944 dvi-host: maybe-dvi-bison
945 dvi-host: maybe-dvi-byacc
946 dvi-host: maybe-dvi-bzip2
947 dvi-host: maybe-dvi-dejagnu
948 dvi-host: maybe-dvi-diff
949 dvi-host: maybe-dvi-dosutils
950 dvi-host: maybe-dvi-etc
951 dvi-host: maybe-dvi-fastjar
952 dvi-host: maybe-dvi-fileutils
953 dvi-host: maybe-dvi-findutils
954 dvi-host: maybe-dvi-find
955 dvi-host: maybe-dvi-fixincludes
956 dvi-host: maybe-dvi-flex
957 dvi-host: maybe-dvi-gas
958 dvi-host: maybe-dvi-gcc
959 dvi-host: maybe-dvi-gawk
960 dvi-host: maybe-dvi-gettext
961 dvi-host: maybe-dvi-gnuserv
962 dvi-host: maybe-dvi-gprof
963 dvi-host: maybe-dvi-gzip
964 dvi-host: maybe-dvi-hello
965 dvi-host: maybe-dvi-indent
966 dvi-host: maybe-dvi-intl
967 dvi-host: maybe-dvi-tcl
968 dvi-host: maybe-dvi-itcl
969 dvi-host: maybe-dvi-ld
970 dvi-host: maybe-dvi-libcpp
971 dvi-host: maybe-dvi-libdecnumber
972 dvi-host: maybe-dvi-libgui
973 dvi-host: maybe-dvi-libiberty
974 dvi-host: maybe-dvi-libtool
975 dvi-host: maybe-dvi-m4
976 dvi-host: maybe-dvi-make
977 dvi-host: maybe-dvi-mmalloc
978 dvi-host: maybe-dvi-patch
979 dvi-host: maybe-dvi-perl
980 dvi-host: maybe-dvi-prms
981 dvi-host: maybe-dvi-rcs
982 dvi-host: maybe-dvi-readline
983 dvi-host: maybe-dvi-release
984 dvi-host: maybe-dvi-recode
985 dvi-host: maybe-dvi-sed
986 dvi-host: maybe-dvi-send-pr
987 dvi-host: maybe-dvi-shellutils
988 dvi-host: maybe-dvi-sid
989 dvi-host: maybe-dvi-sim
990 dvi-host: maybe-dvi-tar
991 dvi-host: maybe-dvi-texinfo
992 dvi-host: maybe-dvi-textutils
993 dvi-host: maybe-dvi-time
994 dvi-host: maybe-dvi-uudecode
995 dvi-host: maybe-dvi-wdiff
996 dvi-host: maybe-dvi-zip
997 dvi-host: maybe-dvi-zlib
998 dvi-host: maybe-dvi-gdb
999 dvi-host: maybe-dvi-expect
1000 dvi-host: maybe-dvi-guile
1001 dvi-host: maybe-dvi-tk
1002 dvi-host: maybe-dvi-libtermcap
1003 dvi-host: maybe-dvi-utils
1004 dvi-host: maybe-dvi-gnattools
1006 .PHONY: dvi-target
1008 dvi-target: maybe-dvi-target-libstdc++-v3
1009 dvi-target: maybe-dvi-target-libmudflap
1010 dvi-target: maybe-dvi-target-libssp
1011 dvi-target: maybe-dvi-target-newlib
1012 dvi-target: maybe-dvi-target-libgcc
1013 dvi-target: maybe-dvi-target-libgfortran
1014 dvi-target: maybe-dvi-target-libobjc
1015 dvi-target: maybe-dvi-target-libtermcap
1016 dvi-target: maybe-dvi-target-winsup
1017 dvi-target: maybe-dvi-target-libgloss
1018 dvi-target: maybe-dvi-target-libiberty
1019 dvi-target: maybe-dvi-target-gperf
1020 dvi-target: maybe-dvi-target-examples
1021 dvi-target: maybe-dvi-target-libffi
1022 dvi-target: maybe-dvi-target-libjava
1023 dvi-target: maybe-dvi-target-zlib
1024 dvi-target: maybe-dvi-target-boehm-gc
1025 dvi-target: maybe-dvi-target-qthreads
1026 dvi-target: maybe-dvi-target-rda
1027 dvi-target: maybe-dvi-target-libada
1028 dvi-target: maybe-dvi-target-libgomp
1030 .PHONY: do-pdf
1031 do-pdf:
1032 @: $(MAKE); $(unstage)
1033 @r=`${PWD_COMMAND}`; export r; \
1034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1035 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1036 pdf-target
1039 .PHONY: pdf-host
1041 pdf-host: maybe-pdf-ash
1042 pdf-host: maybe-pdf-autoconf
1043 pdf-host: maybe-pdf-automake
1044 pdf-host: maybe-pdf-bash
1045 pdf-host: maybe-pdf-bfd
1046 pdf-host: maybe-pdf-opcodes
1047 pdf-host: maybe-pdf-binutils
1048 pdf-host: maybe-pdf-bison
1049 pdf-host: maybe-pdf-byacc
1050 pdf-host: maybe-pdf-bzip2
1051 pdf-host: maybe-pdf-dejagnu
1052 pdf-host: maybe-pdf-diff
1053 pdf-host: maybe-pdf-dosutils
1054 pdf-host: maybe-pdf-etc
1055 pdf-host: maybe-pdf-fastjar
1056 pdf-host: maybe-pdf-fileutils
1057 pdf-host: maybe-pdf-findutils
1058 pdf-host: maybe-pdf-find
1059 pdf-host: maybe-pdf-fixincludes
1060 pdf-host: maybe-pdf-flex
1061 pdf-host: maybe-pdf-gas
1062 pdf-host: maybe-pdf-gcc
1063 pdf-host: maybe-pdf-gawk
1064 pdf-host: maybe-pdf-gettext
1065 pdf-host: maybe-pdf-gnuserv
1066 pdf-host: maybe-pdf-gprof
1067 pdf-host: maybe-pdf-gzip
1068 pdf-host: maybe-pdf-hello
1069 pdf-host: maybe-pdf-indent
1070 pdf-host: maybe-pdf-intl
1071 pdf-host: maybe-pdf-tcl
1072 pdf-host: maybe-pdf-itcl
1073 pdf-host: maybe-pdf-ld
1074 pdf-host: maybe-pdf-libcpp
1075 pdf-host: maybe-pdf-libdecnumber
1076 pdf-host: maybe-pdf-libgui
1077 pdf-host: maybe-pdf-libiberty
1078 pdf-host: maybe-pdf-libtool
1079 pdf-host: maybe-pdf-m4
1080 pdf-host: maybe-pdf-make
1081 pdf-host: maybe-pdf-mmalloc
1082 pdf-host: maybe-pdf-patch
1083 pdf-host: maybe-pdf-perl
1084 pdf-host: maybe-pdf-prms
1085 pdf-host: maybe-pdf-rcs
1086 pdf-host: maybe-pdf-readline
1087 pdf-host: maybe-pdf-release
1088 pdf-host: maybe-pdf-recode
1089 pdf-host: maybe-pdf-sed
1090 pdf-host: maybe-pdf-send-pr
1091 pdf-host: maybe-pdf-shellutils
1092 pdf-host: maybe-pdf-sid
1093 pdf-host: maybe-pdf-sim
1094 pdf-host: maybe-pdf-tar
1095 pdf-host: maybe-pdf-texinfo
1096 pdf-host: maybe-pdf-textutils
1097 pdf-host: maybe-pdf-time
1098 pdf-host: maybe-pdf-uudecode
1099 pdf-host: maybe-pdf-wdiff
1100 pdf-host: maybe-pdf-zip
1101 pdf-host: maybe-pdf-zlib
1102 pdf-host: maybe-pdf-gdb
1103 pdf-host: maybe-pdf-expect
1104 pdf-host: maybe-pdf-guile
1105 pdf-host: maybe-pdf-tk
1106 pdf-host: maybe-pdf-libtermcap
1107 pdf-host: maybe-pdf-utils
1108 pdf-host: maybe-pdf-gnattools
1110 .PHONY: pdf-target
1112 pdf-target: maybe-pdf-target-libstdc++-v3
1113 pdf-target: maybe-pdf-target-libmudflap
1114 pdf-target: maybe-pdf-target-libssp
1115 pdf-target: maybe-pdf-target-newlib
1116 pdf-target: maybe-pdf-target-libgcc
1117 pdf-target: maybe-pdf-target-libgfortran
1118 pdf-target: maybe-pdf-target-libobjc
1119 pdf-target: maybe-pdf-target-libtermcap
1120 pdf-target: maybe-pdf-target-winsup
1121 pdf-target: maybe-pdf-target-libgloss
1122 pdf-target: maybe-pdf-target-libiberty
1123 pdf-target: maybe-pdf-target-gperf
1124 pdf-target: maybe-pdf-target-examples
1125 pdf-target: maybe-pdf-target-libffi
1126 pdf-target: maybe-pdf-target-libjava
1127 pdf-target: maybe-pdf-target-zlib
1128 pdf-target: maybe-pdf-target-boehm-gc
1129 pdf-target: maybe-pdf-target-qthreads
1130 pdf-target: maybe-pdf-target-rda
1131 pdf-target: maybe-pdf-target-libada
1132 pdf-target: maybe-pdf-target-libgomp
1134 .PHONY: do-html
1135 do-html:
1136 @: $(MAKE); $(unstage)
1137 @r=`${PWD_COMMAND}`; export r; \
1138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1139 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1140 html-target
1143 .PHONY: html-host
1145 html-host: maybe-html-ash
1146 html-host: maybe-html-autoconf
1147 html-host: maybe-html-automake
1148 html-host: maybe-html-bash
1149 html-host: maybe-html-bfd
1150 html-host: maybe-html-opcodes
1151 html-host: maybe-html-binutils
1152 html-host: maybe-html-bison
1153 html-host: maybe-html-byacc
1154 html-host: maybe-html-bzip2
1155 html-host: maybe-html-dejagnu
1156 html-host: maybe-html-diff
1157 html-host: maybe-html-dosutils
1158 html-host: maybe-html-etc
1159 html-host: maybe-html-fastjar
1160 html-host: maybe-html-fileutils
1161 html-host: maybe-html-findutils
1162 html-host: maybe-html-find
1163 html-host: maybe-html-fixincludes
1164 html-host: maybe-html-flex
1165 html-host: maybe-html-gas
1166 html-host: maybe-html-gcc
1167 html-host: maybe-html-gawk
1168 html-host: maybe-html-gettext
1169 html-host: maybe-html-gnuserv
1170 html-host: maybe-html-gprof
1171 html-host: maybe-html-gzip
1172 html-host: maybe-html-hello
1173 html-host: maybe-html-indent
1174 html-host: maybe-html-intl
1175 html-host: maybe-html-tcl
1176 html-host: maybe-html-itcl
1177 html-host: maybe-html-ld
1178 html-host: maybe-html-libcpp
1179 html-host: maybe-html-libdecnumber
1180 html-host: maybe-html-libgui
1181 html-host: maybe-html-libiberty
1182 html-host: maybe-html-libtool
1183 html-host: maybe-html-m4
1184 html-host: maybe-html-make
1185 html-host: maybe-html-mmalloc
1186 html-host: maybe-html-patch
1187 html-host: maybe-html-perl
1188 html-host: maybe-html-prms
1189 html-host: maybe-html-rcs
1190 html-host: maybe-html-readline
1191 html-host: maybe-html-release
1192 html-host: maybe-html-recode
1193 html-host: maybe-html-sed
1194 html-host: maybe-html-send-pr
1195 html-host: maybe-html-shellutils
1196 html-host: maybe-html-sid
1197 html-host: maybe-html-sim
1198 html-host: maybe-html-tar
1199 html-host: maybe-html-texinfo
1200 html-host: maybe-html-textutils
1201 html-host: maybe-html-time
1202 html-host: maybe-html-uudecode
1203 html-host: maybe-html-wdiff
1204 html-host: maybe-html-zip
1205 html-host: maybe-html-zlib
1206 html-host: maybe-html-gdb
1207 html-host: maybe-html-expect
1208 html-host: maybe-html-guile
1209 html-host: maybe-html-tk
1210 html-host: maybe-html-libtermcap
1211 html-host: maybe-html-utils
1212 html-host: maybe-html-gnattools
1214 .PHONY: html-target
1216 html-target: maybe-html-target-libstdc++-v3
1217 html-target: maybe-html-target-libmudflap
1218 html-target: maybe-html-target-libssp
1219 html-target: maybe-html-target-newlib
1220 html-target: maybe-html-target-libgcc
1221 html-target: maybe-html-target-libgfortran
1222 html-target: maybe-html-target-libobjc
1223 html-target: maybe-html-target-libtermcap
1224 html-target: maybe-html-target-winsup
1225 html-target: maybe-html-target-libgloss
1226 html-target: maybe-html-target-libiberty
1227 html-target: maybe-html-target-gperf
1228 html-target: maybe-html-target-examples
1229 html-target: maybe-html-target-libffi
1230 html-target: maybe-html-target-libjava
1231 html-target: maybe-html-target-zlib
1232 html-target: maybe-html-target-boehm-gc
1233 html-target: maybe-html-target-qthreads
1234 html-target: maybe-html-target-rda
1235 html-target: maybe-html-target-libada
1236 html-target: maybe-html-target-libgomp
1238 .PHONY: do-TAGS
1239 do-TAGS:
1240 @: $(MAKE); $(unstage)
1241 @r=`${PWD_COMMAND}`; export r; \
1242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1243 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1244 TAGS-target
1247 .PHONY: TAGS-host
1249 TAGS-host: maybe-TAGS-ash
1250 TAGS-host: maybe-TAGS-autoconf
1251 TAGS-host: maybe-TAGS-automake
1252 TAGS-host: maybe-TAGS-bash
1253 TAGS-host: maybe-TAGS-bfd
1254 TAGS-host: maybe-TAGS-opcodes
1255 TAGS-host: maybe-TAGS-binutils
1256 TAGS-host: maybe-TAGS-bison
1257 TAGS-host: maybe-TAGS-byacc
1258 TAGS-host: maybe-TAGS-bzip2
1259 TAGS-host: maybe-TAGS-dejagnu
1260 TAGS-host: maybe-TAGS-diff
1261 TAGS-host: maybe-TAGS-dosutils
1262 TAGS-host: maybe-TAGS-etc
1263 TAGS-host: maybe-TAGS-fastjar
1264 TAGS-host: maybe-TAGS-fileutils
1265 TAGS-host: maybe-TAGS-findutils
1266 TAGS-host: maybe-TAGS-find
1267 TAGS-host: maybe-TAGS-fixincludes
1268 TAGS-host: maybe-TAGS-flex
1269 TAGS-host: maybe-TAGS-gas
1270 TAGS-host: maybe-TAGS-gcc
1271 TAGS-host: maybe-TAGS-gawk
1272 TAGS-host: maybe-TAGS-gettext
1273 TAGS-host: maybe-TAGS-gnuserv
1274 TAGS-host: maybe-TAGS-gprof
1275 TAGS-host: maybe-TAGS-gzip
1276 TAGS-host: maybe-TAGS-hello
1277 TAGS-host: maybe-TAGS-indent
1278 TAGS-host: maybe-TAGS-intl
1279 TAGS-host: maybe-TAGS-tcl
1280 TAGS-host: maybe-TAGS-itcl
1281 TAGS-host: maybe-TAGS-ld
1282 TAGS-host: maybe-TAGS-libcpp
1283 TAGS-host: maybe-TAGS-libdecnumber
1284 TAGS-host: maybe-TAGS-libgui
1285 TAGS-host: maybe-TAGS-libiberty
1286 TAGS-host: maybe-TAGS-libtool
1287 TAGS-host: maybe-TAGS-m4
1288 TAGS-host: maybe-TAGS-make
1289 TAGS-host: maybe-TAGS-mmalloc
1290 TAGS-host: maybe-TAGS-patch
1291 TAGS-host: maybe-TAGS-perl
1292 TAGS-host: maybe-TAGS-prms
1293 TAGS-host: maybe-TAGS-rcs
1294 TAGS-host: maybe-TAGS-readline
1295 TAGS-host: maybe-TAGS-release
1296 TAGS-host: maybe-TAGS-recode
1297 TAGS-host: maybe-TAGS-sed
1298 TAGS-host: maybe-TAGS-send-pr
1299 TAGS-host: maybe-TAGS-shellutils
1300 TAGS-host: maybe-TAGS-sid
1301 TAGS-host: maybe-TAGS-sim
1302 TAGS-host: maybe-TAGS-tar
1303 TAGS-host: maybe-TAGS-texinfo
1304 TAGS-host: maybe-TAGS-textutils
1305 TAGS-host: maybe-TAGS-time
1306 TAGS-host: maybe-TAGS-uudecode
1307 TAGS-host: maybe-TAGS-wdiff
1308 TAGS-host: maybe-TAGS-zip
1309 TAGS-host: maybe-TAGS-zlib
1310 TAGS-host: maybe-TAGS-gdb
1311 TAGS-host: maybe-TAGS-expect
1312 TAGS-host: maybe-TAGS-guile
1313 TAGS-host: maybe-TAGS-tk
1314 TAGS-host: maybe-TAGS-libtermcap
1315 TAGS-host: maybe-TAGS-utils
1316 TAGS-host: maybe-TAGS-gnattools
1318 .PHONY: TAGS-target
1320 TAGS-target: maybe-TAGS-target-libstdc++-v3
1321 TAGS-target: maybe-TAGS-target-libmudflap
1322 TAGS-target: maybe-TAGS-target-libssp
1323 TAGS-target: maybe-TAGS-target-newlib
1324 TAGS-target: maybe-TAGS-target-libgcc
1325 TAGS-target: maybe-TAGS-target-libgfortran
1326 TAGS-target: maybe-TAGS-target-libobjc
1327 TAGS-target: maybe-TAGS-target-libtermcap
1328 TAGS-target: maybe-TAGS-target-winsup
1329 TAGS-target: maybe-TAGS-target-libgloss
1330 TAGS-target: maybe-TAGS-target-libiberty
1331 TAGS-target: maybe-TAGS-target-gperf
1332 TAGS-target: maybe-TAGS-target-examples
1333 TAGS-target: maybe-TAGS-target-libffi
1334 TAGS-target: maybe-TAGS-target-libjava
1335 TAGS-target: maybe-TAGS-target-zlib
1336 TAGS-target: maybe-TAGS-target-boehm-gc
1337 TAGS-target: maybe-TAGS-target-qthreads
1338 TAGS-target: maybe-TAGS-target-rda
1339 TAGS-target: maybe-TAGS-target-libada
1340 TAGS-target: maybe-TAGS-target-libgomp
1342 .PHONY: do-install-info
1343 do-install-info:
1344 @: $(MAKE); $(unstage)
1345 @r=`${PWD_COMMAND}`; export r; \
1346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1347 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1348 install-info-target
1351 .PHONY: install-info-host
1353 install-info-host: maybe-install-info-ash
1354 install-info-host: maybe-install-info-autoconf
1355 install-info-host: maybe-install-info-automake
1356 install-info-host: maybe-install-info-bash
1357 install-info-host: maybe-install-info-bfd
1358 install-info-host: maybe-install-info-opcodes
1359 install-info-host: maybe-install-info-binutils
1360 install-info-host: maybe-install-info-bison
1361 install-info-host: maybe-install-info-byacc
1362 install-info-host: maybe-install-info-bzip2
1363 install-info-host: maybe-install-info-dejagnu
1364 install-info-host: maybe-install-info-diff
1365 install-info-host: maybe-install-info-dosutils
1366 install-info-host: maybe-install-info-etc
1367 install-info-host: maybe-install-info-fastjar
1368 install-info-host: maybe-install-info-fileutils
1369 install-info-host: maybe-install-info-findutils
1370 install-info-host: maybe-install-info-find
1371 install-info-host: maybe-install-info-fixincludes
1372 install-info-host: maybe-install-info-flex
1373 install-info-host: maybe-install-info-gas
1374 install-info-host: maybe-install-info-gcc
1375 install-info-host: maybe-install-info-gawk
1376 install-info-host: maybe-install-info-gettext
1377 install-info-host: maybe-install-info-gnuserv
1378 install-info-host: maybe-install-info-gprof
1379 install-info-host: maybe-install-info-gzip
1380 install-info-host: maybe-install-info-hello
1381 install-info-host: maybe-install-info-indent
1382 install-info-host: maybe-install-info-intl
1383 install-info-host: maybe-install-info-tcl
1384 install-info-host: maybe-install-info-itcl
1385 install-info-host: maybe-install-info-ld
1386 install-info-host: maybe-install-info-libcpp
1387 install-info-host: maybe-install-info-libdecnumber
1388 install-info-host: maybe-install-info-libgui
1389 install-info-host: maybe-install-info-libiberty
1390 install-info-host: maybe-install-info-libtool
1391 install-info-host: maybe-install-info-m4
1392 install-info-host: maybe-install-info-make
1393 install-info-host: maybe-install-info-mmalloc
1394 install-info-host: maybe-install-info-patch
1395 install-info-host: maybe-install-info-perl
1396 install-info-host: maybe-install-info-prms
1397 install-info-host: maybe-install-info-rcs
1398 install-info-host: maybe-install-info-readline
1399 install-info-host: maybe-install-info-release
1400 install-info-host: maybe-install-info-recode
1401 install-info-host: maybe-install-info-sed
1402 install-info-host: maybe-install-info-send-pr
1403 install-info-host: maybe-install-info-shellutils
1404 install-info-host: maybe-install-info-sid
1405 install-info-host: maybe-install-info-sim
1406 install-info-host: maybe-install-info-tar
1407 install-info-host: maybe-install-info-texinfo
1408 install-info-host: maybe-install-info-textutils
1409 install-info-host: maybe-install-info-time
1410 install-info-host: maybe-install-info-uudecode
1411 install-info-host: maybe-install-info-wdiff
1412 install-info-host: maybe-install-info-zip
1413 install-info-host: maybe-install-info-zlib
1414 install-info-host: maybe-install-info-gdb
1415 install-info-host: maybe-install-info-expect
1416 install-info-host: maybe-install-info-guile
1417 install-info-host: maybe-install-info-tk
1418 install-info-host: maybe-install-info-libtermcap
1419 install-info-host: maybe-install-info-utils
1420 install-info-host: maybe-install-info-gnattools
1422 .PHONY: install-info-target
1424 install-info-target: maybe-install-info-target-libstdc++-v3
1425 install-info-target: maybe-install-info-target-libmudflap
1426 install-info-target: maybe-install-info-target-libssp
1427 install-info-target: maybe-install-info-target-newlib
1428 install-info-target: maybe-install-info-target-libgcc
1429 install-info-target: maybe-install-info-target-libgfortran
1430 install-info-target: maybe-install-info-target-libobjc
1431 install-info-target: maybe-install-info-target-libtermcap
1432 install-info-target: maybe-install-info-target-winsup
1433 install-info-target: maybe-install-info-target-libgloss
1434 install-info-target: maybe-install-info-target-libiberty
1435 install-info-target: maybe-install-info-target-gperf
1436 install-info-target: maybe-install-info-target-examples
1437 install-info-target: maybe-install-info-target-libffi
1438 install-info-target: maybe-install-info-target-libjava
1439 install-info-target: maybe-install-info-target-zlib
1440 install-info-target: maybe-install-info-target-boehm-gc
1441 install-info-target: maybe-install-info-target-qthreads
1442 install-info-target: maybe-install-info-target-rda
1443 install-info-target: maybe-install-info-target-libada
1444 install-info-target: maybe-install-info-target-libgomp
1446 .PHONY: do-install-html
1447 do-install-html:
1448 @: $(MAKE); $(unstage)
1449 @r=`${PWD_COMMAND}`; export r; \
1450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1451 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1452 install-html-target
1455 .PHONY: install-html-host
1457 install-html-host: maybe-install-html-ash
1458 install-html-host: maybe-install-html-autoconf
1459 install-html-host: maybe-install-html-automake
1460 install-html-host: maybe-install-html-bash
1461 install-html-host: maybe-install-html-bfd
1462 install-html-host: maybe-install-html-opcodes
1463 install-html-host: maybe-install-html-binutils
1464 install-html-host: maybe-install-html-bison
1465 install-html-host: maybe-install-html-byacc
1466 install-html-host: maybe-install-html-bzip2
1467 install-html-host: maybe-install-html-dejagnu
1468 install-html-host: maybe-install-html-diff
1469 install-html-host: maybe-install-html-dosutils
1470 install-html-host: maybe-install-html-etc
1471 install-html-host: maybe-install-html-fastjar
1472 install-html-host: maybe-install-html-fileutils
1473 install-html-host: maybe-install-html-findutils
1474 install-html-host: maybe-install-html-find
1475 install-html-host: maybe-install-html-fixincludes
1476 install-html-host: maybe-install-html-flex
1477 install-html-host: maybe-install-html-gas
1478 install-html-host: maybe-install-html-gcc
1479 install-html-host: maybe-install-html-gawk
1480 install-html-host: maybe-install-html-gettext
1481 install-html-host: maybe-install-html-gnuserv
1482 install-html-host: maybe-install-html-gprof
1483 install-html-host: maybe-install-html-gzip
1484 install-html-host: maybe-install-html-hello
1485 install-html-host: maybe-install-html-indent
1486 install-html-host: maybe-install-html-intl
1487 install-html-host: maybe-install-html-tcl
1488 install-html-host: maybe-install-html-itcl
1489 install-html-host: maybe-install-html-ld
1490 install-html-host: maybe-install-html-libcpp
1491 install-html-host: maybe-install-html-libdecnumber
1492 install-html-host: maybe-install-html-libgui
1493 install-html-host: maybe-install-html-libiberty
1494 install-html-host: maybe-install-html-libtool
1495 install-html-host: maybe-install-html-m4
1496 install-html-host: maybe-install-html-make
1497 install-html-host: maybe-install-html-mmalloc
1498 install-html-host: maybe-install-html-patch
1499 install-html-host: maybe-install-html-perl
1500 install-html-host: maybe-install-html-prms
1501 install-html-host: maybe-install-html-rcs
1502 install-html-host: maybe-install-html-readline
1503 install-html-host: maybe-install-html-release
1504 install-html-host: maybe-install-html-recode
1505 install-html-host: maybe-install-html-sed
1506 install-html-host: maybe-install-html-send-pr
1507 install-html-host: maybe-install-html-shellutils
1508 install-html-host: maybe-install-html-sid
1509 install-html-host: maybe-install-html-sim
1510 install-html-host: maybe-install-html-tar
1511 install-html-host: maybe-install-html-texinfo
1512 install-html-host: maybe-install-html-textutils
1513 install-html-host: maybe-install-html-time
1514 install-html-host: maybe-install-html-uudecode
1515 install-html-host: maybe-install-html-wdiff
1516 install-html-host: maybe-install-html-zip
1517 install-html-host: maybe-install-html-zlib
1518 install-html-host: maybe-install-html-gdb
1519 install-html-host: maybe-install-html-expect
1520 install-html-host: maybe-install-html-guile
1521 install-html-host: maybe-install-html-tk
1522 install-html-host: maybe-install-html-libtermcap
1523 install-html-host: maybe-install-html-utils
1524 install-html-host: maybe-install-html-gnattools
1526 .PHONY: install-html-target
1528 install-html-target: maybe-install-html-target-libstdc++-v3
1529 install-html-target: maybe-install-html-target-libmudflap
1530 install-html-target: maybe-install-html-target-libssp
1531 install-html-target: maybe-install-html-target-newlib
1532 install-html-target: maybe-install-html-target-libgcc
1533 install-html-target: maybe-install-html-target-libgfortran
1534 install-html-target: maybe-install-html-target-libobjc
1535 install-html-target: maybe-install-html-target-libtermcap
1536 install-html-target: maybe-install-html-target-winsup
1537 install-html-target: maybe-install-html-target-libgloss
1538 install-html-target: maybe-install-html-target-libiberty
1539 install-html-target: maybe-install-html-target-gperf
1540 install-html-target: maybe-install-html-target-examples
1541 install-html-target: maybe-install-html-target-libffi
1542 install-html-target: maybe-install-html-target-libjava
1543 install-html-target: maybe-install-html-target-zlib
1544 install-html-target: maybe-install-html-target-boehm-gc
1545 install-html-target: maybe-install-html-target-qthreads
1546 install-html-target: maybe-install-html-target-rda
1547 install-html-target: maybe-install-html-target-libada
1548 install-html-target: maybe-install-html-target-libgomp
1550 .PHONY: do-installcheck
1551 do-installcheck:
1552 @: $(MAKE); $(unstage)
1553 @r=`${PWD_COMMAND}`; export r; \
1554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1555 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1556 installcheck-target
1559 .PHONY: installcheck-host
1561 installcheck-host: maybe-installcheck-ash
1562 installcheck-host: maybe-installcheck-autoconf
1563 installcheck-host: maybe-installcheck-automake
1564 installcheck-host: maybe-installcheck-bash
1565 installcheck-host: maybe-installcheck-bfd
1566 installcheck-host: maybe-installcheck-opcodes
1567 installcheck-host: maybe-installcheck-binutils
1568 installcheck-host: maybe-installcheck-bison
1569 installcheck-host: maybe-installcheck-byacc
1570 installcheck-host: maybe-installcheck-bzip2
1571 installcheck-host: maybe-installcheck-dejagnu
1572 installcheck-host: maybe-installcheck-diff
1573 installcheck-host: maybe-installcheck-dosutils
1574 installcheck-host: maybe-installcheck-etc
1575 installcheck-host: maybe-installcheck-fastjar
1576 installcheck-host: maybe-installcheck-fileutils
1577 installcheck-host: maybe-installcheck-findutils
1578 installcheck-host: maybe-installcheck-find
1579 installcheck-host: maybe-installcheck-fixincludes
1580 installcheck-host: maybe-installcheck-flex
1581 installcheck-host: maybe-installcheck-gas
1582 installcheck-host: maybe-installcheck-gcc
1583 installcheck-host: maybe-installcheck-gawk
1584 installcheck-host: maybe-installcheck-gettext
1585 installcheck-host: maybe-installcheck-gnuserv
1586 installcheck-host: maybe-installcheck-gprof
1587 installcheck-host: maybe-installcheck-gzip
1588 installcheck-host: maybe-installcheck-hello
1589 installcheck-host: maybe-installcheck-indent
1590 installcheck-host: maybe-installcheck-intl
1591 installcheck-host: maybe-installcheck-tcl
1592 installcheck-host: maybe-installcheck-itcl
1593 installcheck-host: maybe-installcheck-ld
1594 installcheck-host: maybe-installcheck-libcpp
1595 installcheck-host: maybe-installcheck-libdecnumber
1596 installcheck-host: maybe-installcheck-libgui
1597 installcheck-host: maybe-installcheck-libiberty
1598 installcheck-host: maybe-installcheck-libtool
1599 installcheck-host: maybe-installcheck-m4
1600 installcheck-host: maybe-installcheck-make
1601 installcheck-host: maybe-installcheck-mmalloc
1602 installcheck-host: maybe-installcheck-patch
1603 installcheck-host: maybe-installcheck-perl
1604 installcheck-host: maybe-installcheck-prms
1605 installcheck-host: maybe-installcheck-rcs
1606 installcheck-host: maybe-installcheck-readline
1607 installcheck-host: maybe-installcheck-release
1608 installcheck-host: maybe-installcheck-recode
1609 installcheck-host: maybe-installcheck-sed
1610 installcheck-host: maybe-installcheck-send-pr
1611 installcheck-host: maybe-installcheck-shellutils
1612 installcheck-host: maybe-installcheck-sid
1613 installcheck-host: maybe-installcheck-sim
1614 installcheck-host: maybe-installcheck-tar
1615 installcheck-host: maybe-installcheck-texinfo
1616 installcheck-host: maybe-installcheck-textutils
1617 installcheck-host: maybe-installcheck-time
1618 installcheck-host: maybe-installcheck-uudecode
1619 installcheck-host: maybe-installcheck-wdiff
1620 installcheck-host: maybe-installcheck-zip
1621 installcheck-host: maybe-installcheck-zlib
1622 installcheck-host: maybe-installcheck-gdb
1623 installcheck-host: maybe-installcheck-expect
1624 installcheck-host: maybe-installcheck-guile
1625 installcheck-host: maybe-installcheck-tk
1626 installcheck-host: maybe-installcheck-libtermcap
1627 installcheck-host: maybe-installcheck-utils
1628 installcheck-host: maybe-installcheck-gnattools
1630 .PHONY: installcheck-target
1632 installcheck-target: maybe-installcheck-target-libstdc++-v3
1633 installcheck-target: maybe-installcheck-target-libmudflap
1634 installcheck-target: maybe-installcheck-target-libssp
1635 installcheck-target: maybe-installcheck-target-newlib
1636 installcheck-target: maybe-installcheck-target-libgcc
1637 installcheck-target: maybe-installcheck-target-libgfortran
1638 installcheck-target: maybe-installcheck-target-libobjc
1639 installcheck-target: maybe-installcheck-target-libtermcap
1640 installcheck-target: maybe-installcheck-target-winsup
1641 installcheck-target: maybe-installcheck-target-libgloss
1642 installcheck-target: maybe-installcheck-target-libiberty
1643 installcheck-target: maybe-installcheck-target-gperf
1644 installcheck-target: maybe-installcheck-target-examples
1645 installcheck-target: maybe-installcheck-target-libffi
1646 installcheck-target: maybe-installcheck-target-libjava
1647 installcheck-target: maybe-installcheck-target-zlib
1648 installcheck-target: maybe-installcheck-target-boehm-gc
1649 installcheck-target: maybe-installcheck-target-qthreads
1650 installcheck-target: maybe-installcheck-target-rda
1651 installcheck-target: maybe-installcheck-target-libada
1652 installcheck-target: maybe-installcheck-target-libgomp
1654 .PHONY: do-mostlyclean
1655 do-mostlyclean:
1656 @: $(MAKE); $(unstage)
1657 @r=`${PWD_COMMAND}`; export r; \
1658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1659 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1660 mostlyclean-target
1663 .PHONY: mostlyclean-host
1665 mostlyclean-host: maybe-mostlyclean-ash
1666 mostlyclean-host: maybe-mostlyclean-autoconf
1667 mostlyclean-host: maybe-mostlyclean-automake
1668 mostlyclean-host: maybe-mostlyclean-bash
1669 mostlyclean-host: maybe-mostlyclean-bfd
1670 mostlyclean-host: maybe-mostlyclean-opcodes
1671 mostlyclean-host: maybe-mostlyclean-binutils
1672 mostlyclean-host: maybe-mostlyclean-bison
1673 mostlyclean-host: maybe-mostlyclean-byacc
1674 mostlyclean-host: maybe-mostlyclean-bzip2
1675 mostlyclean-host: maybe-mostlyclean-dejagnu
1676 mostlyclean-host: maybe-mostlyclean-diff
1677 mostlyclean-host: maybe-mostlyclean-dosutils
1678 mostlyclean-host: maybe-mostlyclean-etc
1679 mostlyclean-host: maybe-mostlyclean-fastjar
1680 mostlyclean-host: maybe-mostlyclean-fileutils
1681 mostlyclean-host: maybe-mostlyclean-findutils
1682 mostlyclean-host: maybe-mostlyclean-find
1683 mostlyclean-host: maybe-mostlyclean-fixincludes
1684 mostlyclean-host: maybe-mostlyclean-flex
1685 mostlyclean-host: maybe-mostlyclean-gas
1686 mostlyclean-host: maybe-mostlyclean-gcc
1687 mostlyclean-host: maybe-mostlyclean-gawk
1688 mostlyclean-host: maybe-mostlyclean-gettext
1689 mostlyclean-host: maybe-mostlyclean-gnuserv
1690 mostlyclean-host: maybe-mostlyclean-gprof
1691 mostlyclean-host: maybe-mostlyclean-gzip
1692 mostlyclean-host: maybe-mostlyclean-hello
1693 mostlyclean-host: maybe-mostlyclean-indent
1694 mostlyclean-host: maybe-mostlyclean-intl
1695 mostlyclean-host: maybe-mostlyclean-tcl
1696 mostlyclean-host: maybe-mostlyclean-itcl
1697 mostlyclean-host: maybe-mostlyclean-ld
1698 mostlyclean-host: maybe-mostlyclean-libcpp
1699 mostlyclean-host: maybe-mostlyclean-libdecnumber
1700 mostlyclean-host: maybe-mostlyclean-libgui
1701 mostlyclean-host: maybe-mostlyclean-libiberty
1702 mostlyclean-host: maybe-mostlyclean-libtool
1703 mostlyclean-host: maybe-mostlyclean-m4
1704 mostlyclean-host: maybe-mostlyclean-make
1705 mostlyclean-host: maybe-mostlyclean-mmalloc
1706 mostlyclean-host: maybe-mostlyclean-patch
1707 mostlyclean-host: maybe-mostlyclean-perl
1708 mostlyclean-host: maybe-mostlyclean-prms
1709 mostlyclean-host: maybe-mostlyclean-rcs
1710 mostlyclean-host: maybe-mostlyclean-readline
1711 mostlyclean-host: maybe-mostlyclean-release
1712 mostlyclean-host: maybe-mostlyclean-recode
1713 mostlyclean-host: maybe-mostlyclean-sed
1714 mostlyclean-host: maybe-mostlyclean-send-pr
1715 mostlyclean-host: maybe-mostlyclean-shellutils
1716 mostlyclean-host: maybe-mostlyclean-sid
1717 mostlyclean-host: maybe-mostlyclean-sim
1718 mostlyclean-host: maybe-mostlyclean-tar
1719 mostlyclean-host: maybe-mostlyclean-texinfo
1720 mostlyclean-host: maybe-mostlyclean-textutils
1721 mostlyclean-host: maybe-mostlyclean-time
1722 mostlyclean-host: maybe-mostlyclean-uudecode
1723 mostlyclean-host: maybe-mostlyclean-wdiff
1724 mostlyclean-host: maybe-mostlyclean-zip
1725 mostlyclean-host: maybe-mostlyclean-zlib
1726 mostlyclean-host: maybe-mostlyclean-gdb
1727 mostlyclean-host: maybe-mostlyclean-expect
1728 mostlyclean-host: maybe-mostlyclean-guile
1729 mostlyclean-host: maybe-mostlyclean-tk
1730 mostlyclean-host: maybe-mostlyclean-libtermcap
1731 mostlyclean-host: maybe-mostlyclean-utils
1732 mostlyclean-host: maybe-mostlyclean-gnattools
1734 .PHONY: mostlyclean-target
1736 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1737 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1738 mostlyclean-target: maybe-mostlyclean-target-libssp
1739 mostlyclean-target: maybe-mostlyclean-target-newlib
1740 mostlyclean-target: maybe-mostlyclean-target-libgcc
1741 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1742 mostlyclean-target: maybe-mostlyclean-target-libobjc
1743 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1744 mostlyclean-target: maybe-mostlyclean-target-winsup
1745 mostlyclean-target: maybe-mostlyclean-target-libgloss
1746 mostlyclean-target: maybe-mostlyclean-target-libiberty
1747 mostlyclean-target: maybe-mostlyclean-target-gperf
1748 mostlyclean-target: maybe-mostlyclean-target-examples
1749 mostlyclean-target: maybe-mostlyclean-target-libffi
1750 mostlyclean-target: maybe-mostlyclean-target-libjava
1751 mostlyclean-target: maybe-mostlyclean-target-zlib
1752 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1753 mostlyclean-target: maybe-mostlyclean-target-qthreads
1754 mostlyclean-target: maybe-mostlyclean-target-rda
1755 mostlyclean-target: maybe-mostlyclean-target-libada
1756 mostlyclean-target: maybe-mostlyclean-target-libgomp
1758 .PHONY: do-clean
1759 do-clean:
1760 @: $(MAKE); $(unstage)
1761 @r=`${PWD_COMMAND}`; export r; \
1762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1763 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1764 clean-target
1767 .PHONY: clean-host
1769 clean-host: maybe-clean-ash
1770 clean-host: maybe-clean-autoconf
1771 clean-host: maybe-clean-automake
1772 clean-host: maybe-clean-bash
1773 clean-host: maybe-clean-bfd
1774 clean-host: maybe-clean-opcodes
1775 clean-host: maybe-clean-binutils
1776 clean-host: maybe-clean-bison
1777 clean-host: maybe-clean-byacc
1778 clean-host: maybe-clean-bzip2
1779 clean-host: maybe-clean-dejagnu
1780 clean-host: maybe-clean-diff
1781 clean-host: maybe-clean-dosutils
1782 clean-host: maybe-clean-etc
1783 clean-host: maybe-clean-fastjar
1784 clean-host: maybe-clean-fileutils
1785 clean-host: maybe-clean-findutils
1786 clean-host: maybe-clean-find
1787 clean-host: maybe-clean-fixincludes
1788 clean-host: maybe-clean-flex
1789 clean-host: maybe-clean-gas
1790 clean-host: maybe-clean-gcc
1791 clean-host: maybe-clean-gawk
1792 clean-host: maybe-clean-gettext
1793 clean-host: maybe-clean-gnuserv
1794 clean-host: maybe-clean-gprof
1795 clean-host: maybe-clean-gzip
1796 clean-host: maybe-clean-hello
1797 clean-host: maybe-clean-indent
1798 clean-host: maybe-clean-intl
1799 clean-host: maybe-clean-tcl
1800 clean-host: maybe-clean-itcl
1801 clean-host: maybe-clean-ld
1802 clean-host: maybe-clean-libcpp
1803 clean-host: maybe-clean-libdecnumber
1804 clean-host: maybe-clean-libgui
1805 clean-host: maybe-clean-libiberty
1806 clean-host: maybe-clean-libtool
1807 clean-host: maybe-clean-m4
1808 clean-host: maybe-clean-make
1809 clean-host: maybe-clean-mmalloc
1810 clean-host: maybe-clean-patch
1811 clean-host: maybe-clean-perl
1812 clean-host: maybe-clean-prms
1813 clean-host: maybe-clean-rcs
1814 clean-host: maybe-clean-readline
1815 clean-host: maybe-clean-release
1816 clean-host: maybe-clean-recode
1817 clean-host: maybe-clean-sed
1818 clean-host: maybe-clean-send-pr
1819 clean-host: maybe-clean-shellutils
1820 clean-host: maybe-clean-sid
1821 clean-host: maybe-clean-sim
1822 clean-host: maybe-clean-tar
1823 clean-host: maybe-clean-texinfo
1824 clean-host: maybe-clean-textutils
1825 clean-host: maybe-clean-time
1826 clean-host: maybe-clean-uudecode
1827 clean-host: maybe-clean-wdiff
1828 clean-host: maybe-clean-zip
1829 clean-host: maybe-clean-zlib
1830 clean-host: maybe-clean-gdb
1831 clean-host: maybe-clean-expect
1832 clean-host: maybe-clean-guile
1833 clean-host: maybe-clean-tk
1834 clean-host: maybe-clean-libtermcap
1835 clean-host: maybe-clean-utils
1836 clean-host: maybe-clean-gnattools
1838 .PHONY: clean-target
1840 clean-target: maybe-clean-target-libstdc++-v3
1841 clean-target: maybe-clean-target-libmudflap
1842 clean-target: maybe-clean-target-libssp
1843 clean-target: maybe-clean-target-newlib
1844 clean-target: maybe-clean-target-libgcc
1845 clean-target: maybe-clean-target-libgfortran
1846 clean-target: maybe-clean-target-libobjc
1847 clean-target: maybe-clean-target-libtermcap
1848 clean-target: maybe-clean-target-winsup
1849 clean-target: maybe-clean-target-libgloss
1850 clean-target: maybe-clean-target-libiberty
1851 clean-target: maybe-clean-target-gperf
1852 clean-target: maybe-clean-target-examples
1853 clean-target: maybe-clean-target-libffi
1854 clean-target: maybe-clean-target-libjava
1855 clean-target: maybe-clean-target-zlib
1856 clean-target: maybe-clean-target-boehm-gc
1857 clean-target: maybe-clean-target-qthreads
1858 clean-target: maybe-clean-target-rda
1859 clean-target: maybe-clean-target-libada
1860 clean-target: maybe-clean-target-libgomp
1862 .PHONY: do-distclean
1863 do-distclean:
1864 @: $(MAKE); $(unstage)
1865 @r=`${PWD_COMMAND}`; export r; \
1866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1867 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1868 distclean-target
1871 .PHONY: distclean-host
1873 distclean-host: maybe-distclean-ash
1874 distclean-host: maybe-distclean-autoconf
1875 distclean-host: maybe-distclean-automake
1876 distclean-host: maybe-distclean-bash
1877 distclean-host: maybe-distclean-bfd
1878 distclean-host: maybe-distclean-opcodes
1879 distclean-host: maybe-distclean-binutils
1880 distclean-host: maybe-distclean-bison
1881 distclean-host: maybe-distclean-byacc
1882 distclean-host: maybe-distclean-bzip2
1883 distclean-host: maybe-distclean-dejagnu
1884 distclean-host: maybe-distclean-diff
1885 distclean-host: maybe-distclean-dosutils
1886 distclean-host: maybe-distclean-etc
1887 distclean-host: maybe-distclean-fastjar
1888 distclean-host: maybe-distclean-fileutils
1889 distclean-host: maybe-distclean-findutils
1890 distclean-host: maybe-distclean-find
1891 distclean-host: maybe-distclean-fixincludes
1892 distclean-host: maybe-distclean-flex
1893 distclean-host: maybe-distclean-gas
1894 distclean-host: maybe-distclean-gcc
1895 distclean-host: maybe-distclean-gawk
1896 distclean-host: maybe-distclean-gettext
1897 distclean-host: maybe-distclean-gnuserv
1898 distclean-host: maybe-distclean-gprof
1899 distclean-host: maybe-distclean-gzip
1900 distclean-host: maybe-distclean-hello
1901 distclean-host: maybe-distclean-indent
1902 distclean-host: maybe-distclean-intl
1903 distclean-host: maybe-distclean-tcl
1904 distclean-host: maybe-distclean-itcl
1905 distclean-host: maybe-distclean-ld
1906 distclean-host: maybe-distclean-libcpp
1907 distclean-host: maybe-distclean-libdecnumber
1908 distclean-host: maybe-distclean-libgui
1909 distclean-host: maybe-distclean-libiberty
1910 distclean-host: maybe-distclean-libtool
1911 distclean-host: maybe-distclean-m4
1912 distclean-host: maybe-distclean-make
1913 distclean-host: maybe-distclean-mmalloc
1914 distclean-host: maybe-distclean-patch
1915 distclean-host: maybe-distclean-perl
1916 distclean-host: maybe-distclean-prms
1917 distclean-host: maybe-distclean-rcs
1918 distclean-host: maybe-distclean-readline
1919 distclean-host: maybe-distclean-release
1920 distclean-host: maybe-distclean-recode
1921 distclean-host: maybe-distclean-sed
1922 distclean-host: maybe-distclean-send-pr
1923 distclean-host: maybe-distclean-shellutils
1924 distclean-host: maybe-distclean-sid
1925 distclean-host: maybe-distclean-sim
1926 distclean-host: maybe-distclean-tar
1927 distclean-host: maybe-distclean-texinfo
1928 distclean-host: maybe-distclean-textutils
1929 distclean-host: maybe-distclean-time
1930 distclean-host: maybe-distclean-uudecode
1931 distclean-host: maybe-distclean-wdiff
1932 distclean-host: maybe-distclean-zip
1933 distclean-host: maybe-distclean-zlib
1934 distclean-host: maybe-distclean-gdb
1935 distclean-host: maybe-distclean-expect
1936 distclean-host: maybe-distclean-guile
1937 distclean-host: maybe-distclean-tk
1938 distclean-host: maybe-distclean-libtermcap
1939 distclean-host: maybe-distclean-utils
1940 distclean-host: maybe-distclean-gnattools
1942 .PHONY: distclean-target
1944 distclean-target: maybe-distclean-target-libstdc++-v3
1945 distclean-target: maybe-distclean-target-libmudflap
1946 distclean-target: maybe-distclean-target-libssp
1947 distclean-target: maybe-distclean-target-newlib
1948 distclean-target: maybe-distclean-target-libgcc
1949 distclean-target: maybe-distclean-target-libgfortran
1950 distclean-target: maybe-distclean-target-libobjc
1951 distclean-target: maybe-distclean-target-libtermcap
1952 distclean-target: maybe-distclean-target-winsup
1953 distclean-target: maybe-distclean-target-libgloss
1954 distclean-target: maybe-distclean-target-libiberty
1955 distclean-target: maybe-distclean-target-gperf
1956 distclean-target: maybe-distclean-target-examples
1957 distclean-target: maybe-distclean-target-libffi
1958 distclean-target: maybe-distclean-target-libjava
1959 distclean-target: maybe-distclean-target-zlib
1960 distclean-target: maybe-distclean-target-boehm-gc
1961 distclean-target: maybe-distclean-target-qthreads
1962 distclean-target: maybe-distclean-target-rda
1963 distclean-target: maybe-distclean-target-libada
1964 distclean-target: maybe-distclean-target-libgomp
1966 .PHONY: do-maintainer-clean
1967 do-maintainer-clean:
1968 @: $(MAKE); $(unstage)
1969 @r=`${PWD_COMMAND}`; export r; \
1970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1971 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1972 maintainer-clean-target
1975 .PHONY: maintainer-clean-host
1977 maintainer-clean-host: maybe-maintainer-clean-ash
1978 maintainer-clean-host: maybe-maintainer-clean-autoconf
1979 maintainer-clean-host: maybe-maintainer-clean-automake
1980 maintainer-clean-host: maybe-maintainer-clean-bash
1981 maintainer-clean-host: maybe-maintainer-clean-bfd
1982 maintainer-clean-host: maybe-maintainer-clean-opcodes
1983 maintainer-clean-host: maybe-maintainer-clean-binutils
1984 maintainer-clean-host: maybe-maintainer-clean-bison
1985 maintainer-clean-host: maybe-maintainer-clean-byacc
1986 maintainer-clean-host: maybe-maintainer-clean-bzip2
1987 maintainer-clean-host: maybe-maintainer-clean-dejagnu
1988 maintainer-clean-host: maybe-maintainer-clean-diff
1989 maintainer-clean-host: maybe-maintainer-clean-dosutils
1990 maintainer-clean-host: maybe-maintainer-clean-etc
1991 maintainer-clean-host: maybe-maintainer-clean-fastjar
1992 maintainer-clean-host: maybe-maintainer-clean-fileutils
1993 maintainer-clean-host: maybe-maintainer-clean-findutils
1994 maintainer-clean-host: maybe-maintainer-clean-find
1995 maintainer-clean-host: maybe-maintainer-clean-fixincludes
1996 maintainer-clean-host: maybe-maintainer-clean-flex
1997 maintainer-clean-host: maybe-maintainer-clean-gas
1998 maintainer-clean-host: maybe-maintainer-clean-gcc
1999 maintainer-clean-host: maybe-maintainer-clean-gawk
2000 maintainer-clean-host: maybe-maintainer-clean-gettext
2001 maintainer-clean-host: maybe-maintainer-clean-gnuserv
2002 maintainer-clean-host: maybe-maintainer-clean-gprof
2003 maintainer-clean-host: maybe-maintainer-clean-gzip
2004 maintainer-clean-host: maybe-maintainer-clean-hello
2005 maintainer-clean-host: maybe-maintainer-clean-indent
2006 maintainer-clean-host: maybe-maintainer-clean-intl
2007 maintainer-clean-host: maybe-maintainer-clean-tcl
2008 maintainer-clean-host: maybe-maintainer-clean-itcl
2009 maintainer-clean-host: maybe-maintainer-clean-ld
2010 maintainer-clean-host: maybe-maintainer-clean-libcpp
2011 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2012 maintainer-clean-host: maybe-maintainer-clean-libgui
2013 maintainer-clean-host: maybe-maintainer-clean-libiberty
2014 maintainer-clean-host: maybe-maintainer-clean-libtool
2015 maintainer-clean-host: maybe-maintainer-clean-m4
2016 maintainer-clean-host: maybe-maintainer-clean-make
2017 maintainer-clean-host: maybe-maintainer-clean-mmalloc
2018 maintainer-clean-host: maybe-maintainer-clean-patch
2019 maintainer-clean-host: maybe-maintainer-clean-perl
2020 maintainer-clean-host: maybe-maintainer-clean-prms
2021 maintainer-clean-host: maybe-maintainer-clean-rcs
2022 maintainer-clean-host: maybe-maintainer-clean-readline
2023 maintainer-clean-host: maybe-maintainer-clean-release
2024 maintainer-clean-host: maybe-maintainer-clean-recode
2025 maintainer-clean-host: maybe-maintainer-clean-sed
2026 maintainer-clean-host: maybe-maintainer-clean-send-pr
2027 maintainer-clean-host: maybe-maintainer-clean-shellutils
2028 maintainer-clean-host: maybe-maintainer-clean-sid
2029 maintainer-clean-host: maybe-maintainer-clean-sim
2030 maintainer-clean-host: maybe-maintainer-clean-tar
2031 maintainer-clean-host: maybe-maintainer-clean-texinfo
2032 maintainer-clean-host: maybe-maintainer-clean-textutils
2033 maintainer-clean-host: maybe-maintainer-clean-time
2034 maintainer-clean-host: maybe-maintainer-clean-uudecode
2035 maintainer-clean-host: maybe-maintainer-clean-wdiff
2036 maintainer-clean-host: maybe-maintainer-clean-zip
2037 maintainer-clean-host: maybe-maintainer-clean-zlib
2038 maintainer-clean-host: maybe-maintainer-clean-gdb
2039 maintainer-clean-host: maybe-maintainer-clean-expect
2040 maintainer-clean-host: maybe-maintainer-clean-guile
2041 maintainer-clean-host: maybe-maintainer-clean-tk
2042 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2043 maintainer-clean-host: maybe-maintainer-clean-utils
2044 maintainer-clean-host: maybe-maintainer-clean-gnattools
2046 .PHONY: maintainer-clean-target
2048 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2049 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2050 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2051 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2052 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2053 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2054 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2055 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2056 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2057 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2058 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
2059 maintainer-clean-target: maybe-maintainer-clean-target-gperf
2060 maintainer-clean-target: maybe-maintainer-clean-target-examples
2061 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2062 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2063 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2064 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2065 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
2066 maintainer-clean-target: maybe-maintainer-clean-target-rda
2067 maintainer-clean-target: maybe-maintainer-clean-target-libada
2068 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2071 # Here are the targets which correspond to the do-X targets.
2073 .PHONY: info installcheck dvi pdf html install-info install-html
2074 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2075 .PHONY: local-clean local-distclean local-maintainer-clean
2076 info: do-info
2077 installcheck: do-installcheck
2078 dvi: do-dvi
2079 pdf: do-pdf
2080 html: do-html
2082 # Make sure makeinfo is built before we do a `make info', if we're
2083 # in fact building texinfo.
2084 do-info: maybe-all-texinfo
2086 install-info: do-install-info dir.info
2087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2088 if [ -f dir.info ] ; then \
2089 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2090 else true ; fi
2092 install-html: do-install-html
2094 local-clean:
2095 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2097 local-distclean:
2098 -rm -f Makefile config.status config.cache mh-frag mt-frag
2099 -rm -f maybedep.tmp serdep.tmp
2100 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2101 rm -rf $(TARGET_SUBDIR); \
2102 else true; fi
2103 -rm -rf $(BUILD_SUBDIR)
2104 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2105 rm -rf $(HOST_SUBDIR); \
2106 else true; fi
2107 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2108 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2109 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2110 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2111 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2113 local-maintainer-clean:
2114 @echo "This command is intended for maintainers to use;"
2115 @echo "it deletes files that may require special tools to rebuild."
2117 clean: do-clean local-clean
2118 mostlyclean: do-mostlyclean local-clean
2119 distclean: do-distclean local-clean local-distclean
2120 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2121 maintainer-clean: local-distclean
2122 realclean: maintainer-clean
2124 # Check target.
2126 .PHONY: check do-check
2127 check: do-check
2129 # Only include modules actually being configured and built.
2130 .PHONY: check-host
2131 check-host: \
2132 maybe-check-ash \
2133 maybe-check-autoconf \
2134 maybe-check-automake \
2135 maybe-check-bash \
2136 maybe-check-bfd \
2137 maybe-check-opcodes \
2138 maybe-check-binutils \
2139 maybe-check-bison \
2140 maybe-check-byacc \
2141 maybe-check-bzip2 \
2142 maybe-check-dejagnu \
2143 maybe-check-diff \
2144 maybe-check-dosutils \
2145 maybe-check-etc \
2146 maybe-check-fastjar \
2147 maybe-check-fileutils \
2148 maybe-check-findutils \
2149 maybe-check-find \
2150 maybe-check-fixincludes \
2151 maybe-check-flex \
2152 maybe-check-gas \
2153 maybe-check-gcc \
2154 maybe-check-gawk \
2155 maybe-check-gettext \
2156 maybe-check-gnuserv \
2157 maybe-check-gprof \
2158 maybe-check-gzip \
2159 maybe-check-hello \
2160 maybe-check-indent \
2161 maybe-check-intl \
2162 maybe-check-tcl \
2163 maybe-check-itcl \
2164 maybe-check-ld \
2165 maybe-check-libcpp \
2166 maybe-check-libdecnumber \
2167 maybe-check-libgui \
2168 maybe-check-libiberty \
2169 maybe-check-libtool \
2170 maybe-check-m4 \
2171 maybe-check-make \
2172 maybe-check-mmalloc \
2173 maybe-check-patch \
2174 maybe-check-perl \
2175 maybe-check-prms \
2176 maybe-check-rcs \
2177 maybe-check-readline \
2178 maybe-check-release \
2179 maybe-check-recode \
2180 maybe-check-sed \
2181 maybe-check-send-pr \
2182 maybe-check-shellutils \
2183 maybe-check-sid \
2184 maybe-check-sim \
2185 maybe-check-tar \
2186 maybe-check-texinfo \
2187 maybe-check-textutils \
2188 maybe-check-time \
2189 maybe-check-uudecode \
2190 maybe-check-wdiff \
2191 maybe-check-zip \
2192 maybe-check-zlib \
2193 maybe-check-gdb \
2194 maybe-check-expect \
2195 maybe-check-guile \
2196 maybe-check-tk \
2197 maybe-check-libtermcap \
2198 maybe-check-utils \
2199 maybe-check-gnattools
2201 .PHONY: check-target
2202 check-target: \
2203 maybe-check-target-libstdc++-v3 \
2204 maybe-check-target-libmudflap \
2205 maybe-check-target-libssp \
2206 maybe-check-target-newlib \
2207 maybe-check-target-libgcc \
2208 maybe-check-target-libgfortran \
2209 maybe-check-target-libobjc \
2210 maybe-check-target-libtermcap \
2211 maybe-check-target-winsup \
2212 maybe-check-target-libgloss \
2213 maybe-check-target-libiberty \
2214 maybe-check-target-gperf \
2215 maybe-check-target-examples \
2216 maybe-check-target-libffi \
2217 maybe-check-target-libjava \
2218 maybe-check-target-zlib \
2219 maybe-check-target-boehm-gc \
2220 maybe-check-target-qthreads \
2221 maybe-check-target-rda \
2222 maybe-check-target-libada \
2223 maybe-check-target-libgomp
2225 do-check:
2226 @: $(MAKE); $(unstage)
2227 @r=`${PWD_COMMAND}`; export r; \
2228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2229 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2231 # Automated reporting of test results.
2233 warning.log: build.log
2234 $(srcdir)/contrib/warn_summary build.log > $@
2236 mail-report.log:
2237 if test x'$(BOOT_CFLAGS)' != x''; then \
2238 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2239 fi; \
2240 $(srcdir)/contrib/test_summary -t >$@
2241 chmod +x $@
2242 echo If you really want to send e-mail, run ./$@ now
2244 mail-report-with-warnings.log: warning.log
2245 if test x'$(BOOT_CFLAGS)' != x''; then \
2246 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2247 fi; \
2248 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2249 chmod +x $@
2250 echo If you really want to send e-mail, run ./$@ now
2252 # Installation targets.
2254 .PHONY: install uninstall
2255 install:
2256 @: $(MAKE); $(unstage)
2257 @r=`${PWD_COMMAND}`; export r; \
2258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2259 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2261 .PHONY: install-host-nogcc
2262 install-host-nogcc: \
2263 maybe-install-ash \
2264 maybe-install-autoconf \
2265 maybe-install-automake \
2266 maybe-install-bash \
2267 maybe-install-bfd \
2268 maybe-install-opcodes \
2269 maybe-install-binutils \
2270 maybe-install-bison \
2271 maybe-install-byacc \
2272 maybe-install-bzip2 \
2273 maybe-install-dejagnu \
2274 maybe-install-diff \
2275 maybe-install-dosutils \
2276 maybe-install-etc \
2277 maybe-install-fastjar \
2278 maybe-install-fileutils \
2279 maybe-install-findutils \
2280 maybe-install-find \
2281 maybe-install-fixincludes \
2282 maybe-install-flex \
2283 maybe-install-gas \
2284 maybe-install-gawk \
2285 maybe-install-gettext \
2286 maybe-install-gnuserv \
2287 maybe-install-gprof \
2288 maybe-install-gzip \
2289 maybe-install-hello \
2290 maybe-install-indent \
2291 maybe-install-intl \
2292 maybe-install-tcl \
2293 maybe-install-itcl \
2294 maybe-install-ld \
2295 maybe-install-libcpp \
2296 maybe-install-libdecnumber \
2297 maybe-install-libgui \
2298 maybe-install-libiberty \
2299 maybe-install-libtool \
2300 maybe-install-m4 \
2301 maybe-install-make \
2302 maybe-install-mmalloc \
2303 maybe-install-patch \
2304 maybe-install-perl \
2305 maybe-install-prms \
2306 maybe-install-rcs \
2307 maybe-install-readline \
2308 maybe-install-release \
2309 maybe-install-recode \
2310 maybe-install-sed \
2311 maybe-install-send-pr \
2312 maybe-install-shellutils \
2313 maybe-install-sid \
2314 maybe-install-sim \
2315 maybe-install-tar \
2316 maybe-install-texinfo \
2317 maybe-install-textutils \
2318 maybe-install-time \
2319 maybe-install-uudecode \
2320 maybe-install-wdiff \
2321 maybe-install-zip \
2322 maybe-install-zlib \
2323 maybe-install-gdb \
2324 maybe-install-expect \
2325 maybe-install-guile \
2326 maybe-install-tk \
2327 maybe-install-libtermcap \
2328 maybe-install-utils \
2329 maybe-install-gnattools
2331 .PHONY: install-host
2332 install-host: \
2333 maybe-install-ash \
2334 maybe-install-autoconf \
2335 maybe-install-automake \
2336 maybe-install-bash \
2337 maybe-install-bfd \
2338 maybe-install-opcodes \
2339 maybe-install-binutils \
2340 maybe-install-bison \
2341 maybe-install-byacc \
2342 maybe-install-bzip2 \
2343 maybe-install-dejagnu \
2344 maybe-install-diff \
2345 maybe-install-dosutils \
2346 maybe-install-etc \
2347 maybe-install-fastjar \
2348 maybe-install-fileutils \
2349 maybe-install-findutils \
2350 maybe-install-find \
2351 maybe-install-fixincludes \
2352 maybe-install-flex \
2353 maybe-install-gas \
2354 maybe-install-gcc \
2355 maybe-install-gawk \
2356 maybe-install-gettext \
2357 maybe-install-gnuserv \
2358 maybe-install-gprof \
2359 maybe-install-gzip \
2360 maybe-install-hello \
2361 maybe-install-indent \
2362 maybe-install-intl \
2363 maybe-install-tcl \
2364 maybe-install-itcl \
2365 maybe-install-ld \
2366 maybe-install-libcpp \
2367 maybe-install-libdecnumber \
2368 maybe-install-libgui \
2369 maybe-install-libiberty \
2370 maybe-install-libtool \
2371 maybe-install-m4 \
2372 maybe-install-make \
2373 maybe-install-mmalloc \
2374 maybe-install-patch \
2375 maybe-install-perl \
2376 maybe-install-prms \
2377 maybe-install-rcs \
2378 maybe-install-readline \
2379 maybe-install-release \
2380 maybe-install-recode \
2381 maybe-install-sed \
2382 maybe-install-send-pr \
2383 maybe-install-shellutils \
2384 maybe-install-sid \
2385 maybe-install-sim \
2386 maybe-install-tar \
2387 maybe-install-texinfo \
2388 maybe-install-textutils \
2389 maybe-install-time \
2390 maybe-install-uudecode \
2391 maybe-install-wdiff \
2392 maybe-install-zip \
2393 maybe-install-zlib \
2394 maybe-install-gdb \
2395 maybe-install-expect \
2396 maybe-install-guile \
2397 maybe-install-tk \
2398 maybe-install-libtermcap \
2399 maybe-install-utils \
2400 maybe-install-gnattools
2402 .PHONY: install-target
2403 install-target: \
2404 maybe-install-target-libstdc++-v3 \
2405 maybe-install-target-libmudflap \
2406 maybe-install-target-libssp \
2407 maybe-install-target-newlib \
2408 maybe-install-target-libgcc \
2409 maybe-install-target-libgfortran \
2410 maybe-install-target-libobjc \
2411 maybe-install-target-libtermcap \
2412 maybe-install-target-winsup \
2413 maybe-install-target-libgloss \
2414 maybe-install-target-libiberty \
2415 maybe-install-target-gperf \
2416 maybe-install-target-examples \
2417 maybe-install-target-libffi \
2418 maybe-install-target-libjava \
2419 maybe-install-target-zlib \
2420 maybe-install-target-boehm-gc \
2421 maybe-install-target-qthreads \
2422 maybe-install-target-rda \
2423 maybe-install-target-libada \
2424 maybe-install-target-libgomp
2426 uninstall:
2427 @echo "the uninstall target is not supported in this tree"
2429 .PHONY: install.all
2430 install.all: install-no-fixedincludes
2431 @if [ -f ./gcc/Makefile ] ; then \
2432 r=`${PWD_COMMAND}` ; export r ; \
2433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2434 $(HOST_EXPORTS) \
2435 (cd ./gcc && \
2436 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2437 else \
2438 true ; \
2441 # install-no-fixedincludes is used because Cygnus can not distribute
2442 # the fixed header files.
2443 .PHONY: install-no-fixedincludes
2444 install-no-fixedincludes: installdirs install-host-nogcc \
2445 install-target gcc-no-fixedincludes
2447 ### other supporting targets
2449 MAKEDIRS= \
2450 $(DESTDIR)$(prefix) \
2451 $(DESTDIR)$(exec_prefix)
2452 .PHONY: installdirs
2453 installdirs: mkinstalldirs
2454 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2456 dir.info: do-install-info
2457 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2458 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2459 mv -f dir.info.new dir.info ; \
2460 else true ; \
2463 dist:
2464 @echo "Building a full distribution of this tree isn't done"
2465 @echo "via 'make dist'. Check out the etc/ subdirectory"
2467 etags tags: TAGS
2469 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2470 # ability to use several tags files at once, so there is probably no need
2471 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2472 # (if we felt like it) have this Makefile write a piece of elisp which
2473 # the user could load to tell emacs19 where all the TAGS files we just
2474 # built are.
2475 TAGS: do-TAGS
2477 # ------------------------------------
2478 # Macros for configure and all targets
2479 # ------------------------------------
2485 # --------------------------------------
2486 # Modules which run on the build machine
2487 # --------------------------------------
2490 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2491 maybe-configure-build-libiberty:
2492 @if gcc-bootstrap
2493 configure-build-libiberty: stage_current
2494 @endif gcc-bootstrap
2495 @if build-libiberty
2496 maybe-configure-build-libiberty: configure-build-libiberty
2497 configure-build-libiberty:
2498 @: $(MAKE); $(unstage)
2499 @r=`${PWD_COMMAND}`; export r; \
2500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2501 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2502 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2503 $(BUILD_EXPORTS) \
2504 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2505 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2506 case $(srcdir) in \
2507 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2508 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2509 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2510 esac; \
2511 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2512 libsrcdir="$$s/libiberty"; \
2513 rm -f no-such-file || : ; \
2514 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2515 $(BUILD_CONFIGARGS) $${srcdiroption} \
2516 || exit 1
2517 @endif build-libiberty
2523 .PHONY: all-build-libiberty maybe-all-build-libiberty
2524 maybe-all-build-libiberty:
2525 @if gcc-bootstrap
2526 all-build-libiberty: stage_current
2527 @endif gcc-bootstrap
2528 @if build-libiberty
2529 TARGET-build-libiberty=all
2530 maybe-all-build-libiberty: all-build-libiberty
2531 all-build-libiberty: configure-build-libiberty
2532 @: $(MAKE); $(unstage)
2533 @r=`${PWD_COMMAND}`; export r; \
2534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2535 $(BUILD_EXPORTS) \
2536 (cd $(BUILD_SUBDIR)/libiberty && \
2537 $(MAKE) $(TARGET-build-libiberty))
2538 @endif build-libiberty
2544 .PHONY: configure-build-bison maybe-configure-build-bison
2545 maybe-configure-build-bison:
2546 @if gcc-bootstrap
2547 configure-build-bison: stage_current
2548 @endif gcc-bootstrap
2549 @if build-bison
2550 maybe-configure-build-bison: configure-build-bison
2551 configure-build-bison:
2552 @: $(MAKE); $(unstage)
2553 @r=`${PWD_COMMAND}`; export r; \
2554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2555 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2556 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2557 $(BUILD_EXPORTS) \
2558 echo Configuring in $(BUILD_SUBDIR)/bison; \
2559 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2560 case $(srcdir) in \
2561 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2562 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2563 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2564 esac; \
2565 srcdiroption="--srcdir=$${topdir}/bison"; \
2566 libsrcdir="$$s/bison"; \
2567 rm -f no-such-file || : ; \
2568 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2569 $(BUILD_CONFIGARGS) $${srcdiroption} \
2570 || exit 1
2571 @endif build-bison
2577 .PHONY: all-build-bison maybe-all-build-bison
2578 maybe-all-build-bison:
2579 @if gcc-bootstrap
2580 all-build-bison: stage_current
2581 @endif gcc-bootstrap
2582 @if build-bison
2583 TARGET-build-bison=all
2584 maybe-all-build-bison: all-build-bison
2585 all-build-bison: configure-build-bison
2586 @: $(MAKE); $(unstage)
2587 @r=`${PWD_COMMAND}`; export r; \
2588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2589 $(BUILD_EXPORTS) \
2590 (cd $(BUILD_SUBDIR)/bison && \
2591 $(MAKE) $(TARGET-build-bison))
2592 @endif build-bison
2598 .PHONY: configure-build-byacc maybe-configure-build-byacc
2599 maybe-configure-build-byacc:
2600 @if gcc-bootstrap
2601 configure-build-byacc: stage_current
2602 @endif gcc-bootstrap
2603 @if build-byacc
2604 maybe-configure-build-byacc: configure-build-byacc
2605 configure-build-byacc:
2606 @: $(MAKE); $(unstage)
2607 @r=`${PWD_COMMAND}`; export r; \
2608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2609 test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2610 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2611 $(BUILD_EXPORTS) \
2612 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2613 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2614 case $(srcdir) in \
2615 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2616 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2617 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2618 esac; \
2619 srcdiroption="--srcdir=$${topdir}/byacc"; \
2620 libsrcdir="$$s/byacc"; \
2621 rm -f no-such-file || : ; \
2622 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2623 $(BUILD_CONFIGARGS) $${srcdiroption} \
2624 || exit 1
2625 @endif build-byacc
2631 .PHONY: all-build-byacc maybe-all-build-byacc
2632 maybe-all-build-byacc:
2633 @if gcc-bootstrap
2634 all-build-byacc: stage_current
2635 @endif gcc-bootstrap
2636 @if build-byacc
2637 TARGET-build-byacc=all
2638 maybe-all-build-byacc: all-build-byacc
2639 all-build-byacc: configure-build-byacc
2640 @: $(MAKE); $(unstage)
2641 @r=`${PWD_COMMAND}`; export r; \
2642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2643 $(BUILD_EXPORTS) \
2644 (cd $(BUILD_SUBDIR)/byacc && \
2645 $(MAKE) $(TARGET-build-byacc))
2646 @endif build-byacc
2652 .PHONY: configure-build-flex maybe-configure-build-flex
2653 maybe-configure-build-flex:
2654 @if gcc-bootstrap
2655 configure-build-flex: stage_current
2656 @endif gcc-bootstrap
2657 @if build-flex
2658 maybe-configure-build-flex: configure-build-flex
2659 configure-build-flex:
2660 @: $(MAKE); $(unstage)
2661 @r=`${PWD_COMMAND}`; export r; \
2662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2663 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2664 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2665 $(BUILD_EXPORTS) \
2666 echo Configuring in $(BUILD_SUBDIR)/flex; \
2667 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2668 case $(srcdir) in \
2669 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2670 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2671 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2672 esac; \
2673 srcdiroption="--srcdir=$${topdir}/flex"; \
2674 libsrcdir="$$s/flex"; \
2675 rm -f no-such-file || : ; \
2676 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2677 $(BUILD_CONFIGARGS) $${srcdiroption} \
2678 || exit 1
2679 @endif build-flex
2685 .PHONY: all-build-flex maybe-all-build-flex
2686 maybe-all-build-flex:
2687 @if gcc-bootstrap
2688 all-build-flex: stage_current
2689 @endif gcc-bootstrap
2690 @if build-flex
2691 TARGET-build-flex=all
2692 maybe-all-build-flex: all-build-flex
2693 all-build-flex: configure-build-flex
2694 @: $(MAKE); $(unstage)
2695 @r=`${PWD_COMMAND}`; export r; \
2696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2697 $(BUILD_EXPORTS) \
2698 (cd $(BUILD_SUBDIR)/flex && \
2699 $(MAKE) $(TARGET-build-flex))
2700 @endif build-flex
2706 .PHONY: configure-build-m4 maybe-configure-build-m4
2707 maybe-configure-build-m4:
2708 @if gcc-bootstrap
2709 configure-build-m4: stage_current
2710 @endif gcc-bootstrap
2711 @if build-m4
2712 maybe-configure-build-m4: configure-build-m4
2713 configure-build-m4:
2714 @: $(MAKE); $(unstage)
2715 @r=`${PWD_COMMAND}`; export r; \
2716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2717 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2718 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2719 $(BUILD_EXPORTS) \
2720 echo Configuring in $(BUILD_SUBDIR)/m4; \
2721 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2722 case $(srcdir) in \
2723 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2724 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2725 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2726 esac; \
2727 srcdiroption="--srcdir=$${topdir}/m4"; \
2728 libsrcdir="$$s/m4"; \
2729 rm -f no-such-file || : ; \
2730 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2731 $(BUILD_CONFIGARGS) $${srcdiroption} \
2732 || exit 1
2733 @endif build-m4
2739 .PHONY: all-build-m4 maybe-all-build-m4
2740 maybe-all-build-m4:
2741 @if gcc-bootstrap
2742 all-build-m4: stage_current
2743 @endif gcc-bootstrap
2744 @if build-m4
2745 TARGET-build-m4=all
2746 maybe-all-build-m4: all-build-m4
2747 all-build-m4: configure-build-m4
2748 @: $(MAKE); $(unstage)
2749 @r=`${PWD_COMMAND}`; export r; \
2750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2751 $(BUILD_EXPORTS) \
2752 (cd $(BUILD_SUBDIR)/m4 && \
2753 $(MAKE) $(TARGET-build-m4))
2754 @endif build-m4
2760 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2761 maybe-configure-build-texinfo:
2762 @if gcc-bootstrap
2763 configure-build-texinfo: stage_current
2764 @endif gcc-bootstrap
2765 @if build-texinfo
2766 maybe-configure-build-texinfo: configure-build-texinfo
2767 configure-build-texinfo:
2768 @: $(MAKE); $(unstage)
2769 @r=`${PWD_COMMAND}`; export r; \
2770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2771 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2772 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2773 $(BUILD_EXPORTS) \
2774 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2775 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2776 case $(srcdir) in \
2777 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2778 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2779 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2780 esac; \
2781 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2782 libsrcdir="$$s/texinfo"; \
2783 rm -f no-such-file || : ; \
2784 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2785 $(BUILD_CONFIGARGS) $${srcdiroption} \
2786 || exit 1
2787 @endif build-texinfo
2793 .PHONY: all-build-texinfo maybe-all-build-texinfo
2794 maybe-all-build-texinfo:
2795 @if gcc-bootstrap
2796 all-build-texinfo: stage_current
2797 @endif gcc-bootstrap
2798 @if build-texinfo
2799 TARGET-build-texinfo=all
2800 maybe-all-build-texinfo: all-build-texinfo
2801 all-build-texinfo: configure-build-texinfo
2802 @: $(MAKE); $(unstage)
2803 @r=`${PWD_COMMAND}`; export r; \
2804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2805 $(BUILD_EXPORTS) \
2806 (cd $(BUILD_SUBDIR)/texinfo && \
2807 $(MAKE) $(TARGET-build-texinfo))
2808 @endif build-texinfo
2814 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2815 maybe-configure-build-fixincludes:
2816 @if gcc-bootstrap
2817 configure-build-fixincludes: stage_current
2818 @endif gcc-bootstrap
2819 @if build-fixincludes
2820 maybe-configure-build-fixincludes: configure-build-fixincludes
2821 configure-build-fixincludes:
2822 @: $(MAKE); $(unstage)
2823 @r=`${PWD_COMMAND}`; export r; \
2824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2825 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2826 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2827 $(BUILD_EXPORTS) \
2828 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2829 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2830 case $(srcdir) in \
2831 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2832 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2833 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2834 esac; \
2835 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2836 libsrcdir="$$s/fixincludes"; \
2837 rm -f no-such-file || : ; \
2838 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2839 $(BUILD_CONFIGARGS) $${srcdiroption} \
2840 || exit 1
2841 @endif build-fixincludes
2847 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2848 maybe-all-build-fixincludes:
2849 @if gcc-bootstrap
2850 all-build-fixincludes: stage_current
2851 @endif gcc-bootstrap
2852 @if build-fixincludes
2853 TARGET-build-fixincludes=all
2854 maybe-all-build-fixincludes: all-build-fixincludes
2855 all-build-fixincludes: configure-build-fixincludes
2856 @: $(MAKE); $(unstage)
2857 @r=`${PWD_COMMAND}`; export r; \
2858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2859 $(BUILD_EXPORTS) \
2860 (cd $(BUILD_SUBDIR)/fixincludes && \
2861 $(MAKE) $(TARGET-build-fixincludes))
2862 @endif build-fixincludes
2868 # --------------------------------------
2869 # Modules which run on the host machine
2870 # --------------------------------------
2873 .PHONY: configure-ash maybe-configure-ash
2874 maybe-configure-ash:
2875 @if gcc-bootstrap
2876 configure-ash: stage_current
2877 @endif gcc-bootstrap
2878 @if ash
2879 maybe-configure-ash: configure-ash
2880 configure-ash:
2881 @: $(MAKE); $(unstage)
2882 @r=`${PWD_COMMAND}`; export r; \
2883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2884 test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2885 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2886 $(HOST_EXPORTS) \
2887 echo Configuring in $(HOST_SUBDIR)/ash; \
2888 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2889 case $(srcdir) in \
2890 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2891 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2892 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2893 esac; \
2894 srcdiroption="--srcdir=$${topdir}/ash"; \
2895 libsrcdir="$$s/ash"; \
2896 $(SHELL) $${libsrcdir}/configure \
2897 $(HOST_CONFIGARGS) $${srcdiroption} \
2898 || exit 1
2899 @endif ash
2905 .PHONY: all-ash maybe-all-ash
2906 maybe-all-ash:
2907 @if gcc-bootstrap
2908 all-ash: stage_current
2909 @endif gcc-bootstrap
2910 @if ash
2911 TARGET-ash=all
2912 maybe-all-ash: all-ash
2913 all-ash: configure-ash
2914 @: $(MAKE); $(unstage)
2915 @r=`${PWD_COMMAND}`; export r; \
2916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2917 $(HOST_EXPORTS) \
2918 (cd $(HOST_SUBDIR)/ash && \
2919 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2920 @endif ash
2925 .PHONY: check-ash maybe-check-ash
2926 maybe-check-ash:
2927 @if ash
2928 maybe-check-ash: check-ash
2930 check-ash:
2931 @: $(MAKE); $(unstage)
2932 @r=`${PWD_COMMAND}`; export r; \
2933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2934 $(HOST_EXPORTS) \
2935 (cd $(HOST_SUBDIR)/ash && \
2936 $(MAKE) $(FLAGS_TO_PASS) check)
2938 @endif ash
2940 .PHONY: install-ash maybe-install-ash
2941 maybe-install-ash:
2942 @if ash
2943 maybe-install-ash: install-ash
2945 install-ash: installdirs
2946 @: $(MAKE); $(unstage)
2947 @r=`${PWD_COMMAND}`; export r; \
2948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2949 $(HOST_EXPORTS) \
2950 (cd $(HOST_SUBDIR)/ash && \
2951 $(MAKE) $(FLAGS_TO_PASS) install)
2953 @endif ash
2955 # Other targets (info, dvi, pdf, etc.)
2957 .PHONY: maybe-info-ash info-ash
2958 maybe-info-ash:
2959 @if ash
2960 maybe-info-ash: info-ash
2962 info-ash: \
2963 configure-ash
2964 @: $(MAKE); $(unstage)
2965 @[ -f ./ash/Makefile ] || exit 0; \
2966 r=`${PWD_COMMAND}`; export r; \
2967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2968 $(HOST_EXPORTS) \
2969 for flag in $(EXTRA_HOST_FLAGS) ; do \
2970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2971 done; \
2972 echo "Doing info in ash" ; \
2973 (cd $(HOST_SUBDIR)/ash && \
2974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2976 "RANLIB=$${RANLIB}" \
2977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2978 info) \
2979 || exit 1
2981 @endif ash
2983 .PHONY: maybe-dvi-ash dvi-ash
2984 maybe-dvi-ash:
2985 @if ash
2986 maybe-dvi-ash: dvi-ash
2988 dvi-ash: \
2989 configure-ash
2990 @: $(MAKE); $(unstage)
2991 @[ -f ./ash/Makefile ] || exit 0; \
2992 r=`${PWD_COMMAND}`; export r; \
2993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2994 $(HOST_EXPORTS) \
2995 for flag in $(EXTRA_HOST_FLAGS) ; do \
2996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2997 done; \
2998 echo "Doing dvi in ash" ; \
2999 (cd $(HOST_SUBDIR)/ash && \
3000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3002 "RANLIB=$${RANLIB}" \
3003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3004 dvi) \
3005 || exit 1
3007 @endif ash
3009 .PHONY: maybe-pdf-ash pdf-ash
3010 maybe-pdf-ash:
3011 @if ash
3012 maybe-pdf-ash: pdf-ash
3014 pdf-ash: \
3015 configure-ash
3016 @: $(MAKE); $(unstage)
3017 @[ -f ./ash/Makefile ] || exit 0; \
3018 r=`${PWD_COMMAND}`; export r; \
3019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3020 $(HOST_EXPORTS) \
3021 for flag in $(EXTRA_HOST_FLAGS) ; do \
3022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3023 done; \
3024 echo "Doing pdf in ash" ; \
3025 (cd $(HOST_SUBDIR)/ash && \
3026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3028 "RANLIB=$${RANLIB}" \
3029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3030 pdf) \
3031 || exit 1
3033 @endif ash
3035 .PHONY: maybe-html-ash html-ash
3036 maybe-html-ash:
3037 @if ash
3038 maybe-html-ash: html-ash
3040 html-ash: \
3041 configure-ash
3042 @: $(MAKE); $(unstage)
3043 @[ -f ./ash/Makefile ] || exit 0; \
3044 r=`${PWD_COMMAND}`; export r; \
3045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3046 $(HOST_EXPORTS) \
3047 for flag in $(EXTRA_HOST_FLAGS) ; do \
3048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3049 done; \
3050 echo "Doing html in ash" ; \
3051 (cd $(HOST_SUBDIR)/ash && \
3052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3054 "RANLIB=$${RANLIB}" \
3055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3056 html) \
3057 || exit 1
3059 @endif ash
3061 .PHONY: maybe-TAGS-ash TAGS-ash
3062 maybe-TAGS-ash:
3063 @if ash
3064 maybe-TAGS-ash: TAGS-ash
3066 TAGS-ash: \
3067 configure-ash
3068 @: $(MAKE); $(unstage)
3069 @[ -f ./ash/Makefile ] || exit 0; \
3070 r=`${PWD_COMMAND}`; export r; \
3071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3072 $(HOST_EXPORTS) \
3073 for flag in $(EXTRA_HOST_FLAGS) ; do \
3074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3075 done; \
3076 echo "Doing TAGS in ash" ; \
3077 (cd $(HOST_SUBDIR)/ash && \
3078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3080 "RANLIB=$${RANLIB}" \
3081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3082 TAGS) \
3083 || exit 1
3085 @endif ash
3087 .PHONY: maybe-install-info-ash install-info-ash
3088 maybe-install-info-ash:
3089 @if ash
3090 maybe-install-info-ash: install-info-ash
3092 install-info-ash: \
3093 configure-ash \
3094 info-ash
3095 @: $(MAKE); $(unstage)
3096 @[ -f ./ash/Makefile ] || exit 0; \
3097 r=`${PWD_COMMAND}`; export r; \
3098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3099 $(HOST_EXPORTS) \
3100 for flag in $(EXTRA_HOST_FLAGS) ; do \
3101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3102 done; \
3103 echo "Doing install-info in ash" ; \
3104 (cd $(HOST_SUBDIR)/ash && \
3105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3107 "RANLIB=$${RANLIB}" \
3108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3109 install-info) \
3110 || exit 1
3112 @endif ash
3114 .PHONY: maybe-install-html-ash install-html-ash
3115 maybe-install-html-ash:
3116 @if ash
3117 maybe-install-html-ash: install-html-ash
3119 install-html-ash: \
3120 configure-ash \
3121 html-ash
3122 @: $(MAKE); $(unstage)
3123 @[ -f ./ash/Makefile ] || exit 0; \
3124 r=`${PWD_COMMAND}`; export r; \
3125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3126 $(HOST_EXPORTS) \
3127 for flag in $(EXTRA_HOST_FLAGS) ; do \
3128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3129 done; \
3130 echo "Doing install-html in ash" ; \
3131 (cd $(HOST_SUBDIR)/ash && \
3132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3134 "RANLIB=$${RANLIB}" \
3135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3136 install-html) \
3137 || exit 1
3139 @endif ash
3141 .PHONY: maybe-installcheck-ash installcheck-ash
3142 maybe-installcheck-ash:
3143 @if ash
3144 maybe-installcheck-ash: installcheck-ash
3146 installcheck-ash: \
3147 configure-ash
3148 @: $(MAKE); $(unstage)
3149 @[ -f ./ash/Makefile ] || exit 0; \
3150 r=`${PWD_COMMAND}`; export r; \
3151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3152 $(HOST_EXPORTS) \
3153 for flag in $(EXTRA_HOST_FLAGS) ; do \
3154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3155 done; \
3156 echo "Doing installcheck in ash" ; \
3157 (cd $(HOST_SUBDIR)/ash && \
3158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3160 "RANLIB=$${RANLIB}" \
3161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3162 installcheck) \
3163 || exit 1
3165 @endif ash
3167 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
3168 maybe-mostlyclean-ash:
3169 @if ash
3170 maybe-mostlyclean-ash: mostlyclean-ash
3172 mostlyclean-ash:
3173 @: $(MAKE); $(unstage)
3174 @[ -f ./ash/Makefile ] || exit 0; \
3175 r=`${PWD_COMMAND}`; export r; \
3176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3177 $(HOST_EXPORTS) \
3178 for flag in $(EXTRA_HOST_FLAGS) ; do \
3179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3180 done; \
3181 echo "Doing mostlyclean in ash" ; \
3182 (cd $(HOST_SUBDIR)/ash && \
3183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3185 "RANLIB=$${RANLIB}" \
3186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3187 mostlyclean) \
3188 || exit 1
3190 @endif ash
3192 .PHONY: maybe-clean-ash clean-ash
3193 maybe-clean-ash:
3194 @if ash
3195 maybe-clean-ash: clean-ash
3197 clean-ash:
3198 @: $(MAKE); $(unstage)
3199 @[ -f ./ash/Makefile ] || exit 0; \
3200 r=`${PWD_COMMAND}`; export r; \
3201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3202 $(HOST_EXPORTS) \
3203 for flag in $(EXTRA_HOST_FLAGS) ; do \
3204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3205 done; \
3206 echo "Doing clean in ash" ; \
3207 (cd $(HOST_SUBDIR)/ash && \
3208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3210 "RANLIB=$${RANLIB}" \
3211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3212 clean) \
3213 || exit 1
3215 @endif ash
3217 .PHONY: maybe-distclean-ash distclean-ash
3218 maybe-distclean-ash:
3219 @if ash
3220 maybe-distclean-ash: distclean-ash
3222 distclean-ash:
3223 @: $(MAKE); $(unstage)
3224 @[ -f ./ash/Makefile ] || exit 0; \
3225 r=`${PWD_COMMAND}`; export r; \
3226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3227 $(HOST_EXPORTS) \
3228 for flag in $(EXTRA_HOST_FLAGS) ; do \
3229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3230 done; \
3231 echo "Doing distclean in ash" ; \
3232 (cd $(HOST_SUBDIR)/ash && \
3233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3235 "RANLIB=$${RANLIB}" \
3236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3237 distclean) \
3238 || exit 1
3240 @endif ash
3242 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
3243 maybe-maintainer-clean-ash:
3244 @if ash
3245 maybe-maintainer-clean-ash: maintainer-clean-ash
3247 maintainer-clean-ash:
3248 @: $(MAKE); $(unstage)
3249 @[ -f ./ash/Makefile ] || exit 0; \
3250 r=`${PWD_COMMAND}`; export r; \
3251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3252 $(HOST_EXPORTS) \
3253 for flag in $(EXTRA_HOST_FLAGS) ; do \
3254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3255 done; \
3256 echo "Doing maintainer-clean in ash" ; \
3257 (cd $(HOST_SUBDIR)/ash && \
3258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3260 "RANLIB=$${RANLIB}" \
3261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3262 maintainer-clean) \
3263 || exit 1
3265 @endif ash
3269 .PHONY: configure-autoconf maybe-configure-autoconf
3270 maybe-configure-autoconf:
3271 @if gcc-bootstrap
3272 configure-autoconf: stage_current
3273 @endif gcc-bootstrap
3274 @if autoconf
3275 maybe-configure-autoconf: configure-autoconf
3276 configure-autoconf:
3277 @: $(MAKE); $(unstage)
3278 @r=`${PWD_COMMAND}`; export r; \
3279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3280 test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
3281 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
3282 $(HOST_EXPORTS) \
3283 echo Configuring in $(HOST_SUBDIR)/autoconf; \
3284 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
3285 case $(srcdir) in \
3286 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3287 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
3288 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3289 esac; \
3290 srcdiroption="--srcdir=$${topdir}/autoconf"; \
3291 libsrcdir="$$s/autoconf"; \
3292 $(SHELL) $${libsrcdir}/configure \
3293 $(HOST_CONFIGARGS) $${srcdiroption} \
3294 || exit 1
3295 @endif autoconf
3301 .PHONY: all-autoconf maybe-all-autoconf
3302 maybe-all-autoconf:
3303 @if gcc-bootstrap
3304 all-autoconf: stage_current
3305 @endif gcc-bootstrap
3306 @if autoconf
3307 TARGET-autoconf=all
3308 maybe-all-autoconf: all-autoconf
3309 all-autoconf: configure-autoconf
3310 @: $(MAKE); $(unstage)
3311 @r=`${PWD_COMMAND}`; export r; \
3312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3313 $(HOST_EXPORTS) \
3314 (cd $(HOST_SUBDIR)/autoconf && \
3315 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
3316 @endif autoconf
3321 .PHONY: check-autoconf maybe-check-autoconf
3322 maybe-check-autoconf:
3323 @if autoconf
3324 maybe-check-autoconf: check-autoconf
3326 check-autoconf:
3327 @: $(MAKE); $(unstage)
3328 @r=`${PWD_COMMAND}`; export r; \
3329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3330 $(HOST_EXPORTS) \
3331 (cd $(HOST_SUBDIR)/autoconf && \
3332 $(MAKE) $(FLAGS_TO_PASS) check)
3334 @endif autoconf
3336 .PHONY: install-autoconf maybe-install-autoconf
3337 maybe-install-autoconf:
3338 @if autoconf
3339 maybe-install-autoconf: install-autoconf
3341 install-autoconf: installdirs
3342 @: $(MAKE); $(unstage)
3343 @r=`${PWD_COMMAND}`; export r; \
3344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3345 $(HOST_EXPORTS) \
3346 (cd $(HOST_SUBDIR)/autoconf && \
3347 $(MAKE) $(FLAGS_TO_PASS) install)
3349 @endif autoconf
3351 # Other targets (info, dvi, pdf, etc.)
3353 .PHONY: maybe-info-autoconf info-autoconf
3354 maybe-info-autoconf:
3355 @if autoconf
3356 maybe-info-autoconf: info-autoconf
3358 info-autoconf: \
3359 configure-autoconf
3360 @: $(MAKE); $(unstage)
3361 @[ -f ./autoconf/Makefile ] || exit 0; \
3362 r=`${PWD_COMMAND}`; export r; \
3363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3364 $(HOST_EXPORTS) \
3365 for flag in $(EXTRA_HOST_FLAGS) ; do \
3366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3367 done; \
3368 echo "Doing info in autoconf" ; \
3369 (cd $(HOST_SUBDIR)/autoconf && \
3370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3372 "RANLIB=$${RANLIB}" \
3373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3374 info) \
3375 || exit 1
3377 @endif autoconf
3379 .PHONY: maybe-dvi-autoconf dvi-autoconf
3380 maybe-dvi-autoconf:
3381 @if autoconf
3382 maybe-dvi-autoconf: dvi-autoconf
3384 dvi-autoconf: \
3385 configure-autoconf
3386 @: $(MAKE); $(unstage)
3387 @[ -f ./autoconf/Makefile ] || exit 0; \
3388 r=`${PWD_COMMAND}`; export r; \
3389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3390 $(HOST_EXPORTS) \
3391 for flag in $(EXTRA_HOST_FLAGS) ; do \
3392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3393 done; \
3394 echo "Doing dvi in autoconf" ; \
3395 (cd $(HOST_SUBDIR)/autoconf && \
3396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3398 "RANLIB=$${RANLIB}" \
3399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3400 dvi) \
3401 || exit 1
3403 @endif autoconf
3405 .PHONY: maybe-pdf-autoconf pdf-autoconf
3406 maybe-pdf-autoconf:
3407 @if autoconf
3408 maybe-pdf-autoconf: pdf-autoconf
3410 pdf-autoconf: \
3411 configure-autoconf
3412 @: $(MAKE); $(unstage)
3413 @[ -f ./autoconf/Makefile ] || exit 0; \
3414 r=`${PWD_COMMAND}`; export r; \
3415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3416 $(HOST_EXPORTS) \
3417 for flag in $(EXTRA_HOST_FLAGS) ; do \
3418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3419 done; \
3420 echo "Doing pdf in autoconf" ; \
3421 (cd $(HOST_SUBDIR)/autoconf && \
3422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3424 "RANLIB=$${RANLIB}" \
3425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3426 pdf) \
3427 || exit 1
3429 @endif autoconf
3431 .PHONY: maybe-html-autoconf html-autoconf
3432 maybe-html-autoconf:
3433 @if autoconf
3434 maybe-html-autoconf: html-autoconf
3436 html-autoconf: \
3437 configure-autoconf
3438 @: $(MAKE); $(unstage)
3439 @[ -f ./autoconf/Makefile ] || exit 0; \
3440 r=`${PWD_COMMAND}`; export r; \
3441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3442 $(HOST_EXPORTS) \
3443 for flag in $(EXTRA_HOST_FLAGS) ; do \
3444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3445 done; \
3446 echo "Doing html in autoconf" ; \
3447 (cd $(HOST_SUBDIR)/autoconf && \
3448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3450 "RANLIB=$${RANLIB}" \
3451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3452 html) \
3453 || exit 1
3455 @endif autoconf
3457 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3458 maybe-TAGS-autoconf:
3459 @if autoconf
3460 maybe-TAGS-autoconf: TAGS-autoconf
3462 TAGS-autoconf: \
3463 configure-autoconf
3464 @: $(MAKE); $(unstage)
3465 @[ -f ./autoconf/Makefile ] || exit 0; \
3466 r=`${PWD_COMMAND}`; export r; \
3467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3468 $(HOST_EXPORTS) \
3469 for flag in $(EXTRA_HOST_FLAGS) ; do \
3470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3471 done; \
3472 echo "Doing TAGS in autoconf" ; \
3473 (cd $(HOST_SUBDIR)/autoconf && \
3474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3476 "RANLIB=$${RANLIB}" \
3477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3478 TAGS) \
3479 || exit 1
3481 @endif autoconf
3483 .PHONY: maybe-install-info-autoconf install-info-autoconf
3484 maybe-install-info-autoconf:
3485 @if autoconf
3486 maybe-install-info-autoconf: install-info-autoconf
3488 install-info-autoconf: \
3489 configure-autoconf \
3490 info-autoconf
3491 @: $(MAKE); $(unstage)
3492 @[ -f ./autoconf/Makefile ] || exit 0; \
3493 r=`${PWD_COMMAND}`; export r; \
3494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3495 $(HOST_EXPORTS) \
3496 for flag in $(EXTRA_HOST_FLAGS) ; do \
3497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3498 done; \
3499 echo "Doing install-info in autoconf" ; \
3500 (cd $(HOST_SUBDIR)/autoconf && \
3501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3503 "RANLIB=$${RANLIB}" \
3504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3505 install-info) \
3506 || exit 1
3508 @endif autoconf
3510 .PHONY: maybe-install-html-autoconf install-html-autoconf
3511 maybe-install-html-autoconf:
3512 @if autoconf
3513 maybe-install-html-autoconf: install-html-autoconf
3515 install-html-autoconf: \
3516 configure-autoconf \
3517 html-autoconf
3518 @: $(MAKE); $(unstage)
3519 @[ -f ./autoconf/Makefile ] || exit 0; \
3520 r=`${PWD_COMMAND}`; export r; \
3521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3522 $(HOST_EXPORTS) \
3523 for flag in $(EXTRA_HOST_FLAGS) ; do \
3524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3525 done; \
3526 echo "Doing install-html in autoconf" ; \
3527 (cd $(HOST_SUBDIR)/autoconf && \
3528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3530 "RANLIB=$${RANLIB}" \
3531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3532 install-html) \
3533 || exit 1
3535 @endif autoconf
3537 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3538 maybe-installcheck-autoconf:
3539 @if autoconf
3540 maybe-installcheck-autoconf: installcheck-autoconf
3542 installcheck-autoconf: \
3543 configure-autoconf
3544 @: $(MAKE); $(unstage)
3545 @[ -f ./autoconf/Makefile ] || exit 0; \
3546 r=`${PWD_COMMAND}`; export r; \
3547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3548 $(HOST_EXPORTS) \
3549 for flag in $(EXTRA_HOST_FLAGS) ; do \
3550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3551 done; \
3552 echo "Doing installcheck in autoconf" ; \
3553 (cd $(HOST_SUBDIR)/autoconf && \
3554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3556 "RANLIB=$${RANLIB}" \
3557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3558 installcheck) \
3559 || exit 1
3561 @endif autoconf
3563 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3564 maybe-mostlyclean-autoconf:
3565 @if autoconf
3566 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3568 mostlyclean-autoconf:
3569 @: $(MAKE); $(unstage)
3570 @[ -f ./autoconf/Makefile ] || exit 0; \
3571 r=`${PWD_COMMAND}`; export r; \
3572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3573 $(HOST_EXPORTS) \
3574 for flag in $(EXTRA_HOST_FLAGS) ; do \
3575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3576 done; \
3577 echo "Doing mostlyclean in autoconf" ; \
3578 (cd $(HOST_SUBDIR)/autoconf && \
3579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3581 "RANLIB=$${RANLIB}" \
3582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3583 mostlyclean) \
3584 || exit 1
3586 @endif autoconf
3588 .PHONY: maybe-clean-autoconf clean-autoconf
3589 maybe-clean-autoconf:
3590 @if autoconf
3591 maybe-clean-autoconf: clean-autoconf
3593 clean-autoconf:
3594 @: $(MAKE); $(unstage)
3595 @[ -f ./autoconf/Makefile ] || exit 0; \
3596 r=`${PWD_COMMAND}`; export r; \
3597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3598 $(HOST_EXPORTS) \
3599 for flag in $(EXTRA_HOST_FLAGS) ; do \
3600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3601 done; \
3602 echo "Doing clean in autoconf" ; \
3603 (cd $(HOST_SUBDIR)/autoconf && \
3604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3606 "RANLIB=$${RANLIB}" \
3607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3608 clean) \
3609 || exit 1
3611 @endif autoconf
3613 .PHONY: maybe-distclean-autoconf distclean-autoconf
3614 maybe-distclean-autoconf:
3615 @if autoconf
3616 maybe-distclean-autoconf: distclean-autoconf
3618 distclean-autoconf:
3619 @: $(MAKE); $(unstage)
3620 @[ -f ./autoconf/Makefile ] || exit 0; \
3621 r=`${PWD_COMMAND}`; export r; \
3622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3623 $(HOST_EXPORTS) \
3624 for flag in $(EXTRA_HOST_FLAGS) ; do \
3625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3626 done; \
3627 echo "Doing distclean in autoconf" ; \
3628 (cd $(HOST_SUBDIR)/autoconf && \
3629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3631 "RANLIB=$${RANLIB}" \
3632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3633 distclean) \
3634 || exit 1
3636 @endif autoconf
3638 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3639 maybe-maintainer-clean-autoconf:
3640 @if autoconf
3641 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3643 maintainer-clean-autoconf:
3644 @: $(MAKE); $(unstage)
3645 @[ -f ./autoconf/Makefile ] || exit 0; \
3646 r=`${PWD_COMMAND}`; export r; \
3647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3648 $(HOST_EXPORTS) \
3649 for flag in $(EXTRA_HOST_FLAGS) ; do \
3650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3651 done; \
3652 echo "Doing maintainer-clean in autoconf" ; \
3653 (cd $(HOST_SUBDIR)/autoconf && \
3654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3656 "RANLIB=$${RANLIB}" \
3657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3658 maintainer-clean) \
3659 || exit 1
3661 @endif autoconf
3665 .PHONY: configure-automake maybe-configure-automake
3666 maybe-configure-automake:
3667 @if gcc-bootstrap
3668 configure-automake: stage_current
3669 @endif gcc-bootstrap
3670 @if automake
3671 maybe-configure-automake: configure-automake
3672 configure-automake:
3673 @: $(MAKE); $(unstage)
3674 @r=`${PWD_COMMAND}`; export r; \
3675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3676 test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3677 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3678 $(HOST_EXPORTS) \
3679 echo Configuring in $(HOST_SUBDIR)/automake; \
3680 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3681 case $(srcdir) in \
3682 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3683 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3684 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3685 esac; \
3686 srcdiroption="--srcdir=$${topdir}/automake"; \
3687 libsrcdir="$$s/automake"; \
3688 $(SHELL) $${libsrcdir}/configure \
3689 $(HOST_CONFIGARGS) $${srcdiroption} \
3690 || exit 1
3691 @endif automake
3697 .PHONY: all-automake maybe-all-automake
3698 maybe-all-automake:
3699 @if gcc-bootstrap
3700 all-automake: stage_current
3701 @endif gcc-bootstrap
3702 @if automake
3703 TARGET-automake=all
3704 maybe-all-automake: all-automake
3705 all-automake: configure-automake
3706 @: $(MAKE); $(unstage)
3707 @r=`${PWD_COMMAND}`; export r; \
3708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3709 $(HOST_EXPORTS) \
3710 (cd $(HOST_SUBDIR)/automake && \
3711 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3712 @endif automake
3717 .PHONY: check-automake maybe-check-automake
3718 maybe-check-automake:
3719 @if automake
3720 maybe-check-automake: check-automake
3722 check-automake:
3723 @: $(MAKE); $(unstage)
3724 @r=`${PWD_COMMAND}`; export r; \
3725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3726 $(HOST_EXPORTS) \
3727 (cd $(HOST_SUBDIR)/automake && \
3728 $(MAKE) $(FLAGS_TO_PASS) check)
3730 @endif automake
3732 .PHONY: install-automake maybe-install-automake
3733 maybe-install-automake:
3734 @if automake
3735 maybe-install-automake: install-automake
3737 install-automake: installdirs
3738 @: $(MAKE); $(unstage)
3739 @r=`${PWD_COMMAND}`; export r; \
3740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3741 $(HOST_EXPORTS) \
3742 (cd $(HOST_SUBDIR)/automake && \
3743 $(MAKE) $(FLAGS_TO_PASS) install)
3745 @endif automake
3747 # Other targets (info, dvi, pdf, etc.)
3749 .PHONY: maybe-info-automake info-automake
3750 maybe-info-automake:
3751 @if automake
3752 maybe-info-automake: info-automake
3754 info-automake: \
3755 configure-automake
3756 @: $(MAKE); $(unstage)
3757 @[ -f ./automake/Makefile ] || exit 0; \
3758 r=`${PWD_COMMAND}`; export r; \
3759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3760 $(HOST_EXPORTS) \
3761 for flag in $(EXTRA_HOST_FLAGS) ; do \
3762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3763 done; \
3764 echo "Doing info in automake" ; \
3765 (cd $(HOST_SUBDIR)/automake && \
3766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3768 "RANLIB=$${RANLIB}" \
3769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3770 info) \
3771 || exit 1
3773 @endif automake
3775 .PHONY: maybe-dvi-automake dvi-automake
3776 maybe-dvi-automake:
3777 @if automake
3778 maybe-dvi-automake: dvi-automake
3780 dvi-automake: \
3781 configure-automake
3782 @: $(MAKE); $(unstage)
3783 @[ -f ./automake/Makefile ] || exit 0; \
3784 r=`${PWD_COMMAND}`; export r; \
3785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3786 $(HOST_EXPORTS) \
3787 for flag in $(EXTRA_HOST_FLAGS) ; do \
3788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3789 done; \
3790 echo "Doing dvi in automake" ; \
3791 (cd $(HOST_SUBDIR)/automake && \
3792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3794 "RANLIB=$${RANLIB}" \
3795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3796 dvi) \
3797 || exit 1
3799 @endif automake
3801 .PHONY: maybe-pdf-automake pdf-automake
3802 maybe-pdf-automake:
3803 @if automake
3804 maybe-pdf-automake: pdf-automake
3806 pdf-automake: \
3807 configure-automake
3808 @: $(MAKE); $(unstage)
3809 @[ -f ./automake/Makefile ] || exit 0; \
3810 r=`${PWD_COMMAND}`; export r; \
3811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3812 $(HOST_EXPORTS) \
3813 for flag in $(EXTRA_HOST_FLAGS) ; do \
3814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3815 done; \
3816 echo "Doing pdf in automake" ; \
3817 (cd $(HOST_SUBDIR)/automake && \
3818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3820 "RANLIB=$${RANLIB}" \
3821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3822 pdf) \
3823 || exit 1
3825 @endif automake
3827 .PHONY: maybe-html-automake html-automake
3828 maybe-html-automake:
3829 @if automake
3830 maybe-html-automake: html-automake
3832 html-automake: \
3833 configure-automake
3834 @: $(MAKE); $(unstage)
3835 @[ -f ./automake/Makefile ] || exit 0; \
3836 r=`${PWD_COMMAND}`; export r; \
3837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3838 $(HOST_EXPORTS) \
3839 for flag in $(EXTRA_HOST_FLAGS) ; do \
3840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3841 done; \
3842 echo "Doing html in automake" ; \
3843 (cd $(HOST_SUBDIR)/automake && \
3844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3846 "RANLIB=$${RANLIB}" \
3847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3848 html) \
3849 || exit 1
3851 @endif automake
3853 .PHONY: maybe-TAGS-automake TAGS-automake
3854 maybe-TAGS-automake:
3855 @if automake
3856 maybe-TAGS-automake: TAGS-automake
3858 TAGS-automake: \
3859 configure-automake
3860 @: $(MAKE); $(unstage)
3861 @[ -f ./automake/Makefile ] || exit 0; \
3862 r=`${PWD_COMMAND}`; export r; \
3863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3864 $(HOST_EXPORTS) \
3865 for flag in $(EXTRA_HOST_FLAGS) ; do \
3866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3867 done; \
3868 echo "Doing TAGS in automake" ; \
3869 (cd $(HOST_SUBDIR)/automake && \
3870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3872 "RANLIB=$${RANLIB}" \
3873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3874 TAGS) \
3875 || exit 1
3877 @endif automake
3879 .PHONY: maybe-install-info-automake install-info-automake
3880 maybe-install-info-automake:
3881 @if automake
3882 maybe-install-info-automake: install-info-automake
3884 install-info-automake: \
3885 configure-automake \
3886 info-automake
3887 @: $(MAKE); $(unstage)
3888 @[ -f ./automake/Makefile ] || exit 0; \
3889 r=`${PWD_COMMAND}`; export r; \
3890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3891 $(HOST_EXPORTS) \
3892 for flag in $(EXTRA_HOST_FLAGS) ; do \
3893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3894 done; \
3895 echo "Doing install-info in automake" ; \
3896 (cd $(HOST_SUBDIR)/automake && \
3897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3899 "RANLIB=$${RANLIB}" \
3900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3901 install-info) \
3902 || exit 1
3904 @endif automake
3906 .PHONY: maybe-install-html-automake install-html-automake
3907 maybe-install-html-automake:
3908 @if automake
3909 maybe-install-html-automake: install-html-automake
3911 install-html-automake: \
3912 configure-automake \
3913 html-automake
3914 @: $(MAKE); $(unstage)
3915 @[ -f ./automake/Makefile ] || exit 0; \
3916 r=`${PWD_COMMAND}`; export r; \
3917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3918 $(HOST_EXPORTS) \
3919 for flag in $(EXTRA_HOST_FLAGS) ; do \
3920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3921 done; \
3922 echo "Doing install-html in automake" ; \
3923 (cd $(HOST_SUBDIR)/automake && \
3924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3926 "RANLIB=$${RANLIB}" \
3927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3928 install-html) \
3929 || exit 1
3931 @endif automake
3933 .PHONY: maybe-installcheck-automake installcheck-automake
3934 maybe-installcheck-automake:
3935 @if automake
3936 maybe-installcheck-automake: installcheck-automake
3938 installcheck-automake: \
3939 configure-automake
3940 @: $(MAKE); $(unstage)
3941 @[ -f ./automake/Makefile ] || exit 0; \
3942 r=`${PWD_COMMAND}`; export r; \
3943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3944 $(HOST_EXPORTS) \
3945 for flag in $(EXTRA_HOST_FLAGS) ; do \
3946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3947 done; \
3948 echo "Doing installcheck in automake" ; \
3949 (cd $(HOST_SUBDIR)/automake && \
3950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3952 "RANLIB=$${RANLIB}" \
3953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3954 installcheck) \
3955 || exit 1
3957 @endif automake
3959 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3960 maybe-mostlyclean-automake:
3961 @if automake
3962 maybe-mostlyclean-automake: mostlyclean-automake
3964 mostlyclean-automake:
3965 @: $(MAKE); $(unstage)
3966 @[ -f ./automake/Makefile ] || exit 0; \
3967 r=`${PWD_COMMAND}`; export r; \
3968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3969 $(HOST_EXPORTS) \
3970 for flag in $(EXTRA_HOST_FLAGS) ; do \
3971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3972 done; \
3973 echo "Doing mostlyclean in automake" ; \
3974 (cd $(HOST_SUBDIR)/automake && \
3975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3977 "RANLIB=$${RANLIB}" \
3978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3979 mostlyclean) \
3980 || exit 1
3982 @endif automake
3984 .PHONY: maybe-clean-automake clean-automake
3985 maybe-clean-automake:
3986 @if automake
3987 maybe-clean-automake: clean-automake
3989 clean-automake:
3990 @: $(MAKE); $(unstage)
3991 @[ -f ./automake/Makefile ] || exit 0; \
3992 r=`${PWD_COMMAND}`; export r; \
3993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3994 $(HOST_EXPORTS) \
3995 for flag in $(EXTRA_HOST_FLAGS) ; do \
3996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3997 done; \
3998 echo "Doing clean in automake" ; \
3999 (cd $(HOST_SUBDIR)/automake && \
4000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4002 "RANLIB=$${RANLIB}" \
4003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4004 clean) \
4005 || exit 1
4007 @endif automake
4009 .PHONY: maybe-distclean-automake distclean-automake
4010 maybe-distclean-automake:
4011 @if automake
4012 maybe-distclean-automake: distclean-automake
4014 distclean-automake:
4015 @: $(MAKE); $(unstage)
4016 @[ -f ./automake/Makefile ] || exit 0; \
4017 r=`${PWD_COMMAND}`; export r; \
4018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4019 $(HOST_EXPORTS) \
4020 for flag in $(EXTRA_HOST_FLAGS) ; do \
4021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4022 done; \
4023 echo "Doing distclean in automake" ; \
4024 (cd $(HOST_SUBDIR)/automake && \
4025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4027 "RANLIB=$${RANLIB}" \
4028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4029 distclean) \
4030 || exit 1
4032 @endif automake
4034 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
4035 maybe-maintainer-clean-automake:
4036 @if automake
4037 maybe-maintainer-clean-automake: maintainer-clean-automake
4039 maintainer-clean-automake:
4040 @: $(MAKE); $(unstage)
4041 @[ -f ./automake/Makefile ] || exit 0; \
4042 r=`${PWD_COMMAND}`; export r; \
4043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4044 $(HOST_EXPORTS) \
4045 for flag in $(EXTRA_HOST_FLAGS) ; do \
4046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4047 done; \
4048 echo "Doing maintainer-clean in automake" ; \
4049 (cd $(HOST_SUBDIR)/automake && \
4050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4052 "RANLIB=$${RANLIB}" \
4053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4054 maintainer-clean) \
4055 || exit 1
4057 @endif automake
4061 .PHONY: configure-bash maybe-configure-bash
4062 maybe-configure-bash:
4063 @if gcc-bootstrap
4064 configure-bash: stage_current
4065 @endif gcc-bootstrap
4066 @if bash
4067 maybe-configure-bash: configure-bash
4068 configure-bash:
4069 @: $(MAKE); $(unstage)
4070 @r=`${PWD_COMMAND}`; export r; \
4071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4072 test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
4073 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
4074 $(HOST_EXPORTS) \
4075 echo Configuring in $(HOST_SUBDIR)/bash; \
4076 cd "$(HOST_SUBDIR)/bash" || exit 1; \
4077 case $(srcdir) in \
4078 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4079 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
4080 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4081 esac; \
4082 srcdiroption="--srcdir=$${topdir}/bash"; \
4083 libsrcdir="$$s/bash"; \
4084 $(SHELL) $${libsrcdir}/configure \
4085 $(HOST_CONFIGARGS) $${srcdiroption} \
4086 || exit 1
4087 @endif bash
4093 .PHONY: all-bash maybe-all-bash
4094 maybe-all-bash:
4095 @if gcc-bootstrap
4096 all-bash: stage_current
4097 @endif gcc-bootstrap
4098 @if bash
4099 TARGET-bash=all
4100 maybe-all-bash: all-bash
4101 all-bash: configure-bash
4102 @: $(MAKE); $(unstage)
4103 @r=`${PWD_COMMAND}`; export r; \
4104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4105 $(HOST_EXPORTS) \
4106 (cd $(HOST_SUBDIR)/bash && \
4107 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
4108 @endif bash
4113 .PHONY: check-bash maybe-check-bash
4114 maybe-check-bash:
4115 @if bash
4116 maybe-check-bash: check-bash
4118 check-bash:
4119 @: $(MAKE); $(unstage)
4120 @r=`${PWD_COMMAND}`; export r; \
4121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4122 $(HOST_EXPORTS) \
4123 (cd $(HOST_SUBDIR)/bash && \
4124 $(MAKE) $(FLAGS_TO_PASS) check)
4126 @endif bash
4128 .PHONY: install-bash maybe-install-bash
4129 maybe-install-bash:
4130 @if bash
4131 maybe-install-bash: install-bash
4133 install-bash: installdirs
4134 @: $(MAKE); $(unstage)
4135 @r=`${PWD_COMMAND}`; export r; \
4136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4137 $(HOST_EXPORTS) \
4138 (cd $(HOST_SUBDIR)/bash && \
4139 $(MAKE) $(FLAGS_TO_PASS) install)
4141 @endif bash
4143 # Other targets (info, dvi, pdf, etc.)
4145 .PHONY: maybe-info-bash info-bash
4146 maybe-info-bash:
4147 @if bash
4148 maybe-info-bash: info-bash
4150 info-bash: \
4151 configure-bash
4152 @: $(MAKE); $(unstage)
4153 @[ -f ./bash/Makefile ] || exit 0; \
4154 r=`${PWD_COMMAND}`; export r; \
4155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4156 $(HOST_EXPORTS) \
4157 for flag in $(EXTRA_HOST_FLAGS) ; do \
4158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4159 done; \
4160 echo "Doing info in bash" ; \
4161 (cd $(HOST_SUBDIR)/bash && \
4162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4164 "RANLIB=$${RANLIB}" \
4165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4166 info) \
4167 || exit 1
4169 @endif bash
4171 .PHONY: maybe-dvi-bash dvi-bash
4172 maybe-dvi-bash:
4173 @if bash
4174 maybe-dvi-bash: dvi-bash
4176 dvi-bash: \
4177 configure-bash
4178 @: $(MAKE); $(unstage)
4179 @[ -f ./bash/Makefile ] || exit 0; \
4180 r=`${PWD_COMMAND}`; export r; \
4181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4182 $(HOST_EXPORTS) \
4183 for flag in $(EXTRA_HOST_FLAGS) ; do \
4184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4185 done; \
4186 echo "Doing dvi in bash" ; \
4187 (cd $(HOST_SUBDIR)/bash && \
4188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4190 "RANLIB=$${RANLIB}" \
4191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4192 dvi) \
4193 || exit 1
4195 @endif bash
4197 .PHONY: maybe-pdf-bash pdf-bash
4198 maybe-pdf-bash:
4199 @if bash
4200 maybe-pdf-bash: pdf-bash
4202 pdf-bash: \
4203 configure-bash
4204 @: $(MAKE); $(unstage)
4205 @[ -f ./bash/Makefile ] || exit 0; \
4206 r=`${PWD_COMMAND}`; export r; \
4207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4208 $(HOST_EXPORTS) \
4209 for flag in $(EXTRA_HOST_FLAGS) ; do \
4210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4211 done; \
4212 echo "Doing pdf in bash" ; \
4213 (cd $(HOST_SUBDIR)/bash && \
4214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4216 "RANLIB=$${RANLIB}" \
4217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4218 pdf) \
4219 || exit 1
4221 @endif bash
4223 .PHONY: maybe-html-bash html-bash
4224 maybe-html-bash:
4225 @if bash
4226 maybe-html-bash: html-bash
4228 html-bash: \
4229 configure-bash
4230 @: $(MAKE); $(unstage)
4231 @[ -f ./bash/Makefile ] || exit 0; \
4232 r=`${PWD_COMMAND}`; export r; \
4233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4234 $(HOST_EXPORTS) \
4235 for flag in $(EXTRA_HOST_FLAGS) ; do \
4236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4237 done; \
4238 echo "Doing html in bash" ; \
4239 (cd $(HOST_SUBDIR)/bash && \
4240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4242 "RANLIB=$${RANLIB}" \
4243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4244 html) \
4245 || exit 1
4247 @endif bash
4249 .PHONY: maybe-TAGS-bash TAGS-bash
4250 maybe-TAGS-bash:
4251 @if bash
4252 maybe-TAGS-bash: TAGS-bash
4254 TAGS-bash: \
4255 configure-bash
4256 @: $(MAKE); $(unstage)
4257 @[ -f ./bash/Makefile ] || exit 0; \
4258 r=`${PWD_COMMAND}`; export r; \
4259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4260 $(HOST_EXPORTS) \
4261 for flag in $(EXTRA_HOST_FLAGS) ; do \
4262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4263 done; \
4264 echo "Doing TAGS in bash" ; \
4265 (cd $(HOST_SUBDIR)/bash && \
4266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4268 "RANLIB=$${RANLIB}" \
4269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4270 TAGS) \
4271 || exit 1
4273 @endif bash
4275 .PHONY: maybe-install-info-bash install-info-bash
4276 maybe-install-info-bash:
4277 @if bash
4278 maybe-install-info-bash: install-info-bash
4280 install-info-bash: \
4281 configure-bash \
4282 info-bash
4283 @: $(MAKE); $(unstage)
4284 @[ -f ./bash/Makefile ] || exit 0; \
4285 r=`${PWD_COMMAND}`; export r; \
4286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4287 $(HOST_EXPORTS) \
4288 for flag in $(EXTRA_HOST_FLAGS) ; do \
4289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4290 done; \
4291 echo "Doing install-info in bash" ; \
4292 (cd $(HOST_SUBDIR)/bash && \
4293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4295 "RANLIB=$${RANLIB}" \
4296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4297 install-info) \
4298 || exit 1
4300 @endif bash
4302 .PHONY: maybe-install-html-bash install-html-bash
4303 maybe-install-html-bash:
4304 @if bash
4305 maybe-install-html-bash: install-html-bash
4307 install-html-bash: \
4308 configure-bash \
4309 html-bash
4310 @: $(MAKE); $(unstage)
4311 @[ -f ./bash/Makefile ] || exit 0; \
4312 r=`${PWD_COMMAND}`; export r; \
4313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4314 $(HOST_EXPORTS) \
4315 for flag in $(EXTRA_HOST_FLAGS) ; do \
4316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4317 done; \
4318 echo "Doing install-html in bash" ; \
4319 (cd $(HOST_SUBDIR)/bash && \
4320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4322 "RANLIB=$${RANLIB}" \
4323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4324 install-html) \
4325 || exit 1
4327 @endif bash
4329 .PHONY: maybe-installcheck-bash installcheck-bash
4330 maybe-installcheck-bash:
4331 @if bash
4332 maybe-installcheck-bash: installcheck-bash
4334 installcheck-bash: \
4335 configure-bash
4336 @: $(MAKE); $(unstage)
4337 @[ -f ./bash/Makefile ] || exit 0; \
4338 r=`${PWD_COMMAND}`; export r; \
4339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4340 $(HOST_EXPORTS) \
4341 for flag in $(EXTRA_HOST_FLAGS) ; do \
4342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4343 done; \
4344 echo "Doing installcheck in bash" ; \
4345 (cd $(HOST_SUBDIR)/bash && \
4346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4348 "RANLIB=$${RANLIB}" \
4349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4350 installcheck) \
4351 || exit 1
4353 @endif bash
4355 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
4356 maybe-mostlyclean-bash:
4357 @if bash
4358 maybe-mostlyclean-bash: mostlyclean-bash
4360 mostlyclean-bash:
4361 @: $(MAKE); $(unstage)
4362 @[ -f ./bash/Makefile ] || exit 0; \
4363 r=`${PWD_COMMAND}`; export r; \
4364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4365 $(HOST_EXPORTS) \
4366 for flag in $(EXTRA_HOST_FLAGS) ; do \
4367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4368 done; \
4369 echo "Doing mostlyclean in bash" ; \
4370 (cd $(HOST_SUBDIR)/bash && \
4371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4373 "RANLIB=$${RANLIB}" \
4374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4375 mostlyclean) \
4376 || exit 1
4378 @endif bash
4380 .PHONY: maybe-clean-bash clean-bash
4381 maybe-clean-bash:
4382 @if bash
4383 maybe-clean-bash: clean-bash
4385 clean-bash:
4386 @: $(MAKE); $(unstage)
4387 @[ -f ./bash/Makefile ] || exit 0; \
4388 r=`${PWD_COMMAND}`; export r; \
4389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4390 $(HOST_EXPORTS) \
4391 for flag in $(EXTRA_HOST_FLAGS) ; do \
4392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4393 done; \
4394 echo "Doing clean in bash" ; \
4395 (cd $(HOST_SUBDIR)/bash && \
4396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4398 "RANLIB=$${RANLIB}" \
4399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4400 clean) \
4401 || exit 1
4403 @endif bash
4405 .PHONY: maybe-distclean-bash distclean-bash
4406 maybe-distclean-bash:
4407 @if bash
4408 maybe-distclean-bash: distclean-bash
4410 distclean-bash:
4411 @: $(MAKE); $(unstage)
4412 @[ -f ./bash/Makefile ] || exit 0; \
4413 r=`${PWD_COMMAND}`; export r; \
4414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4415 $(HOST_EXPORTS) \
4416 for flag in $(EXTRA_HOST_FLAGS) ; do \
4417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4418 done; \
4419 echo "Doing distclean in bash" ; \
4420 (cd $(HOST_SUBDIR)/bash && \
4421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4423 "RANLIB=$${RANLIB}" \
4424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4425 distclean) \
4426 || exit 1
4428 @endif bash
4430 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
4431 maybe-maintainer-clean-bash:
4432 @if bash
4433 maybe-maintainer-clean-bash: maintainer-clean-bash
4435 maintainer-clean-bash:
4436 @: $(MAKE); $(unstage)
4437 @[ -f ./bash/Makefile ] || exit 0; \
4438 r=`${PWD_COMMAND}`; export r; \
4439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4440 $(HOST_EXPORTS) \
4441 for flag in $(EXTRA_HOST_FLAGS) ; do \
4442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4443 done; \
4444 echo "Doing maintainer-clean in bash" ; \
4445 (cd $(HOST_SUBDIR)/bash && \
4446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4448 "RANLIB=$${RANLIB}" \
4449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4450 maintainer-clean) \
4451 || exit 1
4453 @endif bash
4457 .PHONY: configure-bfd maybe-configure-bfd
4458 maybe-configure-bfd:
4459 @if gcc-bootstrap
4460 configure-bfd: stage_current
4461 @endif gcc-bootstrap
4462 @if bfd
4463 maybe-configure-bfd: configure-bfd
4464 configure-bfd:
4465 @r=`${PWD_COMMAND}`; export r; \
4466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4467 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4468 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4469 $(HOST_EXPORTS) \
4470 echo Configuring in $(HOST_SUBDIR)/bfd; \
4471 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
4472 case $(srcdir) in \
4473 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4474 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4475 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4476 esac; \
4477 srcdiroption="--srcdir=$${topdir}/bfd"; \
4478 libsrcdir="$$s/bfd"; \
4479 $(SHELL) $${libsrcdir}/configure \
4480 $(HOST_CONFIGARGS) $${srcdiroption} \
4481 || exit 1
4482 @endif bfd
4486 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
4487 maybe-configure-stage1-bfd:
4488 @if bfd-bootstrap
4489 maybe-configure-stage1-bfd: configure-stage1-bfd
4490 configure-stage1-bfd:
4491 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4492 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4493 @r=`${PWD_COMMAND}`; export r; \
4494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4495 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4496 $(HOST_EXPORTS) \
4497 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
4498 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4499 cd $(HOST_SUBDIR)/bfd || exit 1; \
4500 case $(srcdir) in \
4501 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4502 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4503 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4504 esac; \
4505 srcdiroption="--srcdir=$${topdir}/bfd"; \
4506 libsrcdir="$$s/bfd"; \
4507 $(SHELL) $${libsrcdir}/configure \
4508 $(HOST_CONFIGARGS) $${srcdiroption} \
4510 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4511 @endif bfd-bootstrap
4513 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
4514 maybe-configure-stage2-bfd:
4515 @if bfd-bootstrap
4516 maybe-configure-stage2-bfd: configure-stage2-bfd
4517 configure-stage2-bfd:
4518 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4519 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4520 @r=`${PWD_COMMAND}`; export r; \
4521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4522 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4523 $(HOST_EXPORTS) \
4524 $(POSTSTAGE1_HOST_EXPORTS) \
4525 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4526 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4527 cd $(HOST_SUBDIR)/bfd || exit 1; \
4528 case $(srcdir) in \
4529 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4530 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4531 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4532 esac; \
4533 srcdiroption="--srcdir=$${topdir}/bfd"; \
4534 libsrcdir="$$s/bfd"; \
4535 $(SHELL) $${libsrcdir}/configure \
4536 $(HOST_CONFIGARGS) $${srcdiroption} \
4537 --with-build-libsubdir=$(HOST_SUBDIR) \
4538 @stage2_werror_flag@
4539 @endif bfd-bootstrap
4541 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
4542 maybe-configure-stage3-bfd:
4543 @if bfd-bootstrap
4544 maybe-configure-stage3-bfd: configure-stage3-bfd
4545 configure-stage3-bfd:
4546 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4547 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4548 @r=`${PWD_COMMAND}`; export r; \
4549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4550 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4551 $(HOST_EXPORTS) \
4552 $(POSTSTAGE1_HOST_EXPORTS) \
4553 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4554 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4555 cd $(HOST_SUBDIR)/bfd || exit 1; \
4556 case $(srcdir) in \
4557 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4558 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4559 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4560 esac; \
4561 srcdiroption="--srcdir=$${topdir}/bfd"; \
4562 libsrcdir="$$s/bfd"; \
4563 $(SHELL) $${libsrcdir}/configure \
4564 $(HOST_CONFIGARGS) $${srcdiroption} \
4565 --with-build-libsubdir=$(HOST_SUBDIR) \
4566 @stage2_werror_flag@
4567 @endif bfd-bootstrap
4569 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4570 maybe-configure-stage4-bfd:
4571 @if bfd-bootstrap
4572 maybe-configure-stage4-bfd: configure-stage4-bfd
4573 configure-stage4-bfd:
4574 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4575 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4576 @r=`${PWD_COMMAND}`; export r; \
4577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4578 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4579 $(HOST_EXPORTS) \
4580 $(POSTSTAGE1_HOST_EXPORTS) \
4581 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4582 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4583 cd $(HOST_SUBDIR)/bfd || exit 1; \
4584 case $(srcdir) in \
4585 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4586 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4587 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4588 esac; \
4589 srcdiroption="--srcdir=$${topdir}/bfd"; \
4590 libsrcdir="$$s/bfd"; \
4591 $(SHELL) $${libsrcdir}/configure \
4592 $(HOST_CONFIGARGS) $${srcdiroption} \
4593 --with-build-libsubdir=$(HOST_SUBDIR) \
4594 @stage2_werror_flag@
4595 @endif bfd-bootstrap
4597 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4598 maybe-configure-stageprofile-bfd:
4599 @if bfd-bootstrap
4600 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4601 configure-stageprofile-bfd:
4602 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4603 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4604 @r=`${PWD_COMMAND}`; export r; \
4605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4606 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4607 $(HOST_EXPORTS) \
4608 $(POSTSTAGE1_HOST_EXPORTS) \
4609 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4610 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4611 cd $(HOST_SUBDIR)/bfd || exit 1; \
4612 case $(srcdir) in \
4613 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4614 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4615 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4616 esac; \
4617 srcdiroption="--srcdir=$${topdir}/bfd"; \
4618 libsrcdir="$$s/bfd"; \
4619 $(SHELL) $${libsrcdir}/configure \
4620 $(HOST_CONFIGARGS) $${srcdiroption} \
4621 --with-build-libsubdir=$(HOST_SUBDIR) \
4622 @stage2_werror_flag@
4623 @endif bfd-bootstrap
4625 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4626 maybe-configure-stagefeedback-bfd:
4627 @if bfd-bootstrap
4628 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4629 configure-stagefeedback-bfd:
4630 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4631 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4632 @r=`${PWD_COMMAND}`; export r; \
4633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4634 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4635 $(HOST_EXPORTS) \
4636 $(POSTSTAGE1_HOST_EXPORTS) \
4637 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4638 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4639 cd $(HOST_SUBDIR)/bfd || exit 1; \
4640 case $(srcdir) in \
4641 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4642 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4643 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4644 esac; \
4645 srcdiroption="--srcdir=$${topdir}/bfd"; \
4646 libsrcdir="$$s/bfd"; \
4647 $(SHELL) $${libsrcdir}/configure \
4648 $(HOST_CONFIGARGS) $${srcdiroption} \
4649 --with-build-libsubdir=$(HOST_SUBDIR) \
4650 @stage2_werror_flag@
4651 @endif bfd-bootstrap
4657 .PHONY: all-bfd maybe-all-bfd
4658 maybe-all-bfd:
4659 @if gcc-bootstrap
4660 all-bfd: stage_current
4661 @endif gcc-bootstrap
4662 @if bfd
4663 TARGET-bfd=all
4664 maybe-all-bfd: all-bfd
4665 all-bfd: configure-bfd
4666 @r=`${PWD_COMMAND}`; export r; \
4667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4668 $(HOST_EXPORTS) \
4669 (cd $(HOST_SUBDIR)/bfd && \
4670 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4671 @endif bfd
4675 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4676 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4677 maybe-all-stage1-bfd:
4678 maybe-clean-stage1-bfd:
4679 @if bfd-bootstrap
4680 maybe-all-stage1-bfd: all-stage1-bfd
4681 all-stage1: all-stage1-bfd
4682 TARGET-stage1-bfd = $(TARGET-bfd)
4683 all-stage1-bfd: configure-stage1-bfd
4684 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4685 @r=`${PWD_COMMAND}`; export r; \
4686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4687 $(HOST_EXPORTS) \
4688 cd $(HOST_SUBDIR)/bfd && \
4689 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
4690 $(TARGET-stage1-bfd)
4692 maybe-clean-stage1-bfd: clean-stage1-bfd
4693 clean-stage1: clean-stage1-bfd
4694 clean-stage1-bfd:
4695 @if [ $(current_stage) = stage1 ]; then \
4696 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4697 else \
4698 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
4699 $(MAKE) stage1-start; \
4700 fi; \
4701 cd $(HOST_SUBDIR)/bfd && \
4702 $(MAKE) $(FLAGS_TO_PASS) \
4703 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
4704 @endif bfd-bootstrap
4707 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4708 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4709 maybe-all-stage2-bfd:
4710 maybe-clean-stage2-bfd:
4711 @if bfd-bootstrap
4712 maybe-all-stage2-bfd: all-stage2-bfd
4713 all-stage2: all-stage2-bfd
4714 TARGET-stage2-bfd = $(TARGET-bfd)
4715 all-stage2-bfd: configure-stage2-bfd
4716 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4717 @r=`${PWD_COMMAND}`; export r; \
4718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4719 $(HOST_EXPORTS) \
4720 $(POSTSTAGE1_HOST_EXPORTS) \
4721 cd $(HOST_SUBDIR)/bfd && \
4722 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4723 $(TARGET-stage2-bfd)
4725 maybe-clean-stage2-bfd: clean-stage2-bfd
4726 clean-stage2: clean-stage2-bfd
4727 clean-stage2-bfd:
4728 @if [ $(current_stage) = stage2 ]; then \
4729 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4730 else \
4731 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
4732 $(MAKE) stage2-start; \
4733 fi; \
4734 cd $(HOST_SUBDIR)/bfd && \
4735 $(MAKE) $(FLAGS_TO_PASS) \
4736 $(POSTSTAGE1_FLAGS_TO_PASS) \
4737 clean
4738 @endif bfd-bootstrap
4741 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4742 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4743 maybe-all-stage3-bfd:
4744 maybe-clean-stage3-bfd:
4745 @if bfd-bootstrap
4746 maybe-all-stage3-bfd: all-stage3-bfd
4747 all-stage3: all-stage3-bfd
4748 TARGET-stage3-bfd = $(TARGET-bfd)
4749 all-stage3-bfd: configure-stage3-bfd
4750 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4751 @r=`${PWD_COMMAND}`; export r; \
4752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4753 $(HOST_EXPORTS) \
4754 $(POSTSTAGE1_HOST_EXPORTS) \
4755 cd $(HOST_SUBDIR)/bfd && \
4756 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4757 $(TARGET-stage3-bfd)
4759 maybe-clean-stage3-bfd: clean-stage3-bfd
4760 clean-stage3: clean-stage3-bfd
4761 clean-stage3-bfd:
4762 @if [ $(current_stage) = stage3 ]; then \
4763 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4764 else \
4765 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
4766 $(MAKE) stage3-start; \
4767 fi; \
4768 cd $(HOST_SUBDIR)/bfd && \
4769 $(MAKE) $(FLAGS_TO_PASS) \
4770 $(POSTSTAGE1_FLAGS_TO_PASS) \
4771 clean
4772 @endif bfd-bootstrap
4775 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4776 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4777 maybe-all-stage4-bfd:
4778 maybe-clean-stage4-bfd:
4779 @if bfd-bootstrap
4780 maybe-all-stage4-bfd: all-stage4-bfd
4781 all-stage4: all-stage4-bfd
4782 TARGET-stage4-bfd = $(TARGET-bfd)
4783 all-stage4-bfd: configure-stage4-bfd
4784 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4785 @r=`${PWD_COMMAND}`; export r; \
4786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4787 $(HOST_EXPORTS) \
4788 $(POSTSTAGE1_HOST_EXPORTS) \
4789 cd $(HOST_SUBDIR)/bfd && \
4790 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4791 $(TARGET-stage4-bfd)
4793 maybe-clean-stage4-bfd: clean-stage4-bfd
4794 clean-stage4: clean-stage4-bfd
4795 clean-stage4-bfd:
4796 @if [ $(current_stage) = stage4 ]; then \
4797 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4798 else \
4799 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
4800 $(MAKE) stage4-start; \
4801 fi; \
4802 cd $(HOST_SUBDIR)/bfd && \
4803 $(MAKE) $(FLAGS_TO_PASS) \
4804 $(POSTSTAGE1_FLAGS_TO_PASS) \
4805 clean
4806 @endif bfd-bootstrap
4809 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4810 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4811 maybe-all-stageprofile-bfd:
4812 maybe-clean-stageprofile-bfd:
4813 @if bfd-bootstrap
4814 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4815 all-stageprofile: all-stageprofile-bfd
4816 TARGET-stageprofile-bfd = $(TARGET-bfd)
4817 all-stageprofile-bfd: configure-stageprofile-bfd
4818 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4819 @r=`${PWD_COMMAND}`; export r; \
4820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4821 $(HOST_EXPORTS) \
4822 $(POSTSTAGE1_HOST_EXPORTS) \
4823 cd $(HOST_SUBDIR)/bfd && \
4824 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4825 $(TARGET-stageprofile-bfd)
4827 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4828 clean-stageprofile: clean-stageprofile-bfd
4829 clean-stageprofile-bfd:
4830 @if [ $(current_stage) = stageprofile ]; then \
4831 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4832 else \
4833 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
4834 $(MAKE) stageprofile-start; \
4835 fi; \
4836 cd $(HOST_SUBDIR)/bfd && \
4837 $(MAKE) $(FLAGS_TO_PASS) \
4838 $(POSTSTAGE1_FLAGS_TO_PASS) \
4839 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4840 @endif bfd-bootstrap
4843 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4844 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4845 maybe-all-stagefeedback-bfd:
4846 maybe-clean-stagefeedback-bfd:
4847 @if bfd-bootstrap
4848 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4849 all-stagefeedback: all-stagefeedback-bfd
4850 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4851 all-stagefeedback-bfd: configure-stagefeedback-bfd
4852 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4853 @r=`${PWD_COMMAND}`; export r; \
4854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4855 $(HOST_EXPORTS) \
4856 $(POSTSTAGE1_HOST_EXPORTS) \
4857 cd $(HOST_SUBDIR)/bfd && \
4858 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4859 $(TARGET-stagefeedback-bfd)
4861 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4862 clean-stagefeedback: clean-stagefeedback-bfd
4863 clean-stagefeedback-bfd:
4864 @if [ $(current_stage) = stagefeedback ]; then \
4865 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4866 else \
4867 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
4868 $(MAKE) stagefeedback-start; \
4869 fi; \
4870 cd $(HOST_SUBDIR)/bfd && \
4871 $(MAKE) $(FLAGS_TO_PASS) \
4872 $(POSTSTAGE1_FLAGS_TO_PASS) \
4873 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4874 @endif bfd-bootstrap
4880 .PHONY: check-bfd maybe-check-bfd
4881 maybe-check-bfd:
4882 @if bfd
4883 maybe-check-bfd: check-bfd
4885 check-bfd:
4886 @: $(MAKE); $(unstage)
4887 @r=`${PWD_COMMAND}`; export r; \
4888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4889 $(HOST_EXPORTS) \
4890 (cd $(HOST_SUBDIR)/bfd && \
4891 $(MAKE) $(FLAGS_TO_PASS) check)
4893 @endif bfd
4895 .PHONY: install-bfd maybe-install-bfd
4896 maybe-install-bfd:
4897 @if bfd
4898 maybe-install-bfd: install-bfd
4900 install-bfd: installdirs
4901 @: $(MAKE); $(unstage)
4902 @r=`${PWD_COMMAND}`; export r; \
4903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4904 $(HOST_EXPORTS) \
4905 (cd $(HOST_SUBDIR)/bfd && \
4906 $(MAKE) $(FLAGS_TO_PASS) install)
4908 @endif bfd
4910 # Other targets (info, dvi, pdf, etc.)
4912 .PHONY: maybe-info-bfd info-bfd
4913 maybe-info-bfd:
4914 @if bfd
4915 maybe-info-bfd: info-bfd
4917 info-bfd: \
4918 configure-bfd
4919 @[ -f ./bfd/Makefile ] || exit 0; \
4920 r=`${PWD_COMMAND}`; export r; \
4921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4922 $(HOST_EXPORTS) \
4923 for flag in $(EXTRA_HOST_FLAGS) ; do \
4924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4925 done; \
4926 echo "Doing info in bfd" ; \
4927 (cd $(HOST_SUBDIR)/bfd && \
4928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4930 "RANLIB=$${RANLIB}" \
4931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4932 info) \
4933 || exit 1
4935 @endif bfd
4937 .PHONY: maybe-dvi-bfd dvi-bfd
4938 maybe-dvi-bfd:
4939 @if bfd
4940 maybe-dvi-bfd: dvi-bfd
4942 dvi-bfd: \
4943 configure-bfd
4944 @[ -f ./bfd/Makefile ] || exit 0; \
4945 r=`${PWD_COMMAND}`; export r; \
4946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4947 $(HOST_EXPORTS) \
4948 for flag in $(EXTRA_HOST_FLAGS) ; do \
4949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4950 done; \
4951 echo "Doing dvi in bfd" ; \
4952 (cd $(HOST_SUBDIR)/bfd && \
4953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4955 "RANLIB=$${RANLIB}" \
4956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4957 dvi) \
4958 || exit 1
4960 @endif bfd
4962 .PHONY: maybe-pdf-bfd pdf-bfd
4963 maybe-pdf-bfd:
4964 @if bfd
4965 maybe-pdf-bfd: pdf-bfd
4967 pdf-bfd: \
4968 configure-bfd
4969 @[ -f ./bfd/Makefile ] || exit 0; \
4970 r=`${PWD_COMMAND}`; export r; \
4971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4972 $(HOST_EXPORTS) \
4973 for flag in $(EXTRA_HOST_FLAGS) ; do \
4974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4975 done; \
4976 echo "Doing pdf in bfd" ; \
4977 (cd $(HOST_SUBDIR)/bfd && \
4978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4980 "RANLIB=$${RANLIB}" \
4981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4982 pdf) \
4983 || exit 1
4985 @endif bfd
4987 .PHONY: maybe-html-bfd html-bfd
4988 maybe-html-bfd:
4989 @if bfd
4990 maybe-html-bfd: html-bfd
4992 html-bfd: \
4993 configure-bfd
4994 @[ -f ./bfd/Makefile ] || exit 0; \
4995 r=`${PWD_COMMAND}`; export r; \
4996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4997 $(HOST_EXPORTS) \
4998 for flag in $(EXTRA_HOST_FLAGS) ; do \
4999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5000 done; \
5001 echo "Doing html in bfd" ; \
5002 (cd $(HOST_SUBDIR)/bfd && \
5003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5005 "RANLIB=$${RANLIB}" \
5006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5007 html) \
5008 || exit 1
5010 @endif bfd
5012 .PHONY: maybe-TAGS-bfd TAGS-bfd
5013 maybe-TAGS-bfd:
5014 @if bfd
5015 maybe-TAGS-bfd: TAGS-bfd
5017 TAGS-bfd: \
5018 configure-bfd
5019 @[ -f ./bfd/Makefile ] || exit 0; \
5020 r=`${PWD_COMMAND}`; export r; \
5021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5022 $(HOST_EXPORTS) \
5023 for flag in $(EXTRA_HOST_FLAGS) ; do \
5024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5025 done; \
5026 echo "Doing TAGS in bfd" ; \
5027 (cd $(HOST_SUBDIR)/bfd && \
5028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5030 "RANLIB=$${RANLIB}" \
5031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5032 TAGS) \
5033 || exit 1
5035 @endif bfd
5037 .PHONY: maybe-install-info-bfd install-info-bfd
5038 maybe-install-info-bfd:
5039 @if bfd
5040 maybe-install-info-bfd: install-info-bfd
5042 install-info-bfd: \
5043 configure-bfd \
5044 info-bfd
5045 @[ -f ./bfd/Makefile ] || exit 0; \
5046 r=`${PWD_COMMAND}`; export r; \
5047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5048 $(HOST_EXPORTS) \
5049 for flag in $(EXTRA_HOST_FLAGS) ; do \
5050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5051 done; \
5052 echo "Doing install-info in bfd" ; \
5053 (cd $(HOST_SUBDIR)/bfd && \
5054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5056 "RANLIB=$${RANLIB}" \
5057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5058 install-info) \
5059 || exit 1
5061 @endif bfd
5063 .PHONY: maybe-install-html-bfd install-html-bfd
5064 maybe-install-html-bfd:
5065 @if bfd
5066 maybe-install-html-bfd: install-html-bfd
5068 install-html-bfd: \
5069 configure-bfd \
5070 html-bfd
5071 @[ -f ./bfd/Makefile ] || exit 0; \
5072 r=`${PWD_COMMAND}`; export r; \
5073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5074 $(HOST_EXPORTS) \
5075 for flag in $(EXTRA_HOST_FLAGS) ; do \
5076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5077 done; \
5078 echo "Doing install-html in bfd" ; \
5079 (cd $(HOST_SUBDIR)/bfd && \
5080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5082 "RANLIB=$${RANLIB}" \
5083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5084 install-html) \
5085 || exit 1
5087 @endif bfd
5089 .PHONY: maybe-installcheck-bfd installcheck-bfd
5090 maybe-installcheck-bfd:
5091 @if bfd
5092 maybe-installcheck-bfd: installcheck-bfd
5094 installcheck-bfd: \
5095 configure-bfd
5096 @[ -f ./bfd/Makefile ] || exit 0; \
5097 r=`${PWD_COMMAND}`; export r; \
5098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5099 $(HOST_EXPORTS) \
5100 for flag in $(EXTRA_HOST_FLAGS) ; do \
5101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5102 done; \
5103 echo "Doing installcheck in bfd" ; \
5104 (cd $(HOST_SUBDIR)/bfd && \
5105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5107 "RANLIB=$${RANLIB}" \
5108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5109 installcheck) \
5110 || exit 1
5112 @endif bfd
5114 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
5115 maybe-mostlyclean-bfd:
5116 @if bfd
5117 maybe-mostlyclean-bfd: mostlyclean-bfd
5119 mostlyclean-bfd:
5120 @[ -f ./bfd/Makefile ] || exit 0; \
5121 r=`${PWD_COMMAND}`; export r; \
5122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5123 $(HOST_EXPORTS) \
5124 for flag in $(EXTRA_HOST_FLAGS) ; do \
5125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5126 done; \
5127 echo "Doing mostlyclean in bfd" ; \
5128 (cd $(HOST_SUBDIR)/bfd && \
5129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5131 "RANLIB=$${RANLIB}" \
5132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5133 mostlyclean) \
5134 || exit 1
5136 @endif bfd
5138 .PHONY: maybe-clean-bfd clean-bfd
5139 maybe-clean-bfd:
5140 @if bfd
5141 maybe-clean-bfd: clean-bfd
5143 clean-bfd:
5144 @[ -f ./bfd/Makefile ] || exit 0; \
5145 r=`${PWD_COMMAND}`; export r; \
5146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5147 $(HOST_EXPORTS) \
5148 for flag in $(EXTRA_HOST_FLAGS) ; do \
5149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5150 done; \
5151 echo "Doing clean in bfd" ; \
5152 (cd $(HOST_SUBDIR)/bfd && \
5153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5155 "RANLIB=$${RANLIB}" \
5156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5157 clean) \
5158 || exit 1
5160 @endif bfd
5162 .PHONY: maybe-distclean-bfd distclean-bfd
5163 maybe-distclean-bfd:
5164 @if bfd
5165 maybe-distclean-bfd: distclean-bfd
5167 distclean-bfd:
5168 @[ -f ./bfd/Makefile ] || exit 0; \
5169 r=`${PWD_COMMAND}`; export r; \
5170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5171 $(HOST_EXPORTS) \
5172 for flag in $(EXTRA_HOST_FLAGS) ; do \
5173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5174 done; \
5175 echo "Doing distclean in bfd" ; \
5176 (cd $(HOST_SUBDIR)/bfd && \
5177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5179 "RANLIB=$${RANLIB}" \
5180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5181 distclean) \
5182 || exit 1
5184 @endif bfd
5186 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
5187 maybe-maintainer-clean-bfd:
5188 @if bfd
5189 maybe-maintainer-clean-bfd: maintainer-clean-bfd
5191 maintainer-clean-bfd:
5192 @[ -f ./bfd/Makefile ] || exit 0; \
5193 r=`${PWD_COMMAND}`; export r; \
5194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5195 $(HOST_EXPORTS) \
5196 for flag in $(EXTRA_HOST_FLAGS) ; do \
5197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5198 done; \
5199 echo "Doing maintainer-clean in bfd" ; \
5200 (cd $(HOST_SUBDIR)/bfd && \
5201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5203 "RANLIB=$${RANLIB}" \
5204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5205 maintainer-clean) \
5206 || exit 1
5208 @endif bfd
5212 .PHONY: configure-opcodes maybe-configure-opcodes
5213 maybe-configure-opcodes:
5214 @if gcc-bootstrap
5215 configure-opcodes: stage_current
5216 @endif gcc-bootstrap
5217 @if opcodes
5218 maybe-configure-opcodes: configure-opcodes
5219 configure-opcodes:
5220 @r=`${PWD_COMMAND}`; export r; \
5221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5222 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5223 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5224 $(HOST_EXPORTS) \
5225 echo Configuring in $(HOST_SUBDIR)/opcodes; \
5226 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
5227 case $(srcdir) in \
5228 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5229 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5230 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5231 esac; \
5232 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5233 libsrcdir="$$s/opcodes"; \
5234 $(SHELL) $${libsrcdir}/configure \
5235 $(HOST_CONFIGARGS) $${srcdiroption} \
5236 || exit 1
5237 @endif opcodes
5241 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
5242 maybe-configure-stage1-opcodes:
5243 @if opcodes-bootstrap
5244 maybe-configure-stage1-opcodes: configure-stage1-opcodes
5245 configure-stage1-opcodes:
5246 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5247 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5248 @r=`${PWD_COMMAND}`; export r; \
5249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5250 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5251 $(HOST_EXPORTS) \
5252 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
5253 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5254 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5255 case $(srcdir) in \
5256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5257 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5259 esac; \
5260 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5261 libsrcdir="$$s/opcodes"; \
5262 $(SHELL) $${libsrcdir}/configure \
5263 $(HOST_CONFIGARGS) $${srcdiroption} \
5265 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5266 @endif opcodes-bootstrap
5268 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
5269 maybe-configure-stage2-opcodes:
5270 @if opcodes-bootstrap
5271 maybe-configure-stage2-opcodes: configure-stage2-opcodes
5272 configure-stage2-opcodes:
5273 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5274 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5275 @r=`${PWD_COMMAND}`; export r; \
5276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5277 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5278 $(HOST_EXPORTS) \
5279 $(POSTSTAGE1_HOST_EXPORTS) \
5280 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
5281 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5282 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5283 case $(srcdir) in \
5284 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5285 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5286 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5287 esac; \
5288 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5289 libsrcdir="$$s/opcodes"; \
5290 $(SHELL) $${libsrcdir}/configure \
5291 $(HOST_CONFIGARGS) $${srcdiroption} \
5292 --with-build-libsubdir=$(HOST_SUBDIR) \
5293 @stage2_werror_flag@
5294 @endif opcodes-bootstrap
5296 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
5297 maybe-configure-stage3-opcodes:
5298 @if opcodes-bootstrap
5299 maybe-configure-stage3-opcodes: configure-stage3-opcodes
5300 configure-stage3-opcodes:
5301 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5302 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5303 @r=`${PWD_COMMAND}`; export r; \
5304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5305 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5306 $(HOST_EXPORTS) \
5307 $(POSTSTAGE1_HOST_EXPORTS) \
5308 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
5309 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5310 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5311 case $(srcdir) in \
5312 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5313 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5314 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5315 esac; \
5316 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5317 libsrcdir="$$s/opcodes"; \
5318 $(SHELL) $${libsrcdir}/configure \
5319 $(HOST_CONFIGARGS) $${srcdiroption} \
5320 --with-build-libsubdir=$(HOST_SUBDIR) \
5321 @stage2_werror_flag@
5322 @endif opcodes-bootstrap
5324 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
5325 maybe-configure-stage4-opcodes:
5326 @if opcodes-bootstrap
5327 maybe-configure-stage4-opcodes: configure-stage4-opcodes
5328 configure-stage4-opcodes:
5329 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5330 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5331 @r=`${PWD_COMMAND}`; export r; \
5332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5333 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5334 $(HOST_EXPORTS) \
5335 $(POSTSTAGE1_HOST_EXPORTS) \
5336 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
5337 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5338 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5339 case $(srcdir) in \
5340 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5341 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5342 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5343 esac; \
5344 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5345 libsrcdir="$$s/opcodes"; \
5346 $(SHELL) $${libsrcdir}/configure \
5347 $(HOST_CONFIGARGS) $${srcdiroption} \
5348 --with-build-libsubdir=$(HOST_SUBDIR) \
5349 @stage2_werror_flag@
5350 @endif opcodes-bootstrap
5352 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
5353 maybe-configure-stageprofile-opcodes:
5354 @if opcodes-bootstrap
5355 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
5356 configure-stageprofile-opcodes:
5357 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5358 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5359 @r=`${PWD_COMMAND}`; export r; \
5360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5361 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5362 $(HOST_EXPORTS) \
5363 $(POSTSTAGE1_HOST_EXPORTS) \
5364 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
5365 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5366 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5367 case $(srcdir) in \
5368 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5369 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5370 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5371 esac; \
5372 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5373 libsrcdir="$$s/opcodes"; \
5374 $(SHELL) $${libsrcdir}/configure \
5375 $(HOST_CONFIGARGS) $${srcdiroption} \
5376 --with-build-libsubdir=$(HOST_SUBDIR) \
5377 @stage2_werror_flag@
5378 @endif opcodes-bootstrap
5380 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
5381 maybe-configure-stagefeedback-opcodes:
5382 @if opcodes-bootstrap
5383 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
5384 configure-stagefeedback-opcodes:
5385 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5386 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5387 @r=`${PWD_COMMAND}`; export r; \
5388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5389 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5390 $(HOST_EXPORTS) \
5391 $(POSTSTAGE1_HOST_EXPORTS) \
5392 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
5393 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5394 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5395 case $(srcdir) in \
5396 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5397 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5398 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5399 esac; \
5400 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5401 libsrcdir="$$s/opcodes"; \
5402 $(SHELL) $${libsrcdir}/configure \
5403 $(HOST_CONFIGARGS) $${srcdiroption} \
5404 --with-build-libsubdir=$(HOST_SUBDIR) \
5405 @stage2_werror_flag@
5406 @endif opcodes-bootstrap
5412 .PHONY: all-opcodes maybe-all-opcodes
5413 maybe-all-opcodes:
5414 @if gcc-bootstrap
5415 all-opcodes: stage_current
5416 @endif gcc-bootstrap
5417 @if opcodes
5418 TARGET-opcodes=all
5419 maybe-all-opcodes: all-opcodes
5420 all-opcodes: configure-opcodes
5421 @r=`${PWD_COMMAND}`; export r; \
5422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5423 $(HOST_EXPORTS) \
5424 (cd $(HOST_SUBDIR)/opcodes && \
5425 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
5426 @endif opcodes
5430 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
5431 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
5432 maybe-all-stage1-opcodes:
5433 maybe-clean-stage1-opcodes:
5434 @if opcodes-bootstrap
5435 maybe-all-stage1-opcodes: all-stage1-opcodes
5436 all-stage1: all-stage1-opcodes
5437 TARGET-stage1-opcodes = $(TARGET-opcodes)
5438 all-stage1-opcodes: configure-stage1-opcodes
5439 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5440 @r=`${PWD_COMMAND}`; export r; \
5441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5442 $(HOST_EXPORTS) \
5443 cd $(HOST_SUBDIR)/opcodes && \
5444 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
5445 $(TARGET-stage1-opcodes)
5447 maybe-clean-stage1-opcodes: clean-stage1-opcodes
5448 clean-stage1: clean-stage1-opcodes
5449 clean-stage1-opcodes:
5450 @if [ $(current_stage) = stage1 ]; then \
5451 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5452 else \
5453 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
5454 $(MAKE) stage1-start; \
5455 fi; \
5456 cd $(HOST_SUBDIR)/opcodes && \
5457 $(MAKE) $(FLAGS_TO_PASS) \
5458 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
5459 @endif opcodes-bootstrap
5462 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
5463 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
5464 maybe-all-stage2-opcodes:
5465 maybe-clean-stage2-opcodes:
5466 @if opcodes-bootstrap
5467 maybe-all-stage2-opcodes: all-stage2-opcodes
5468 all-stage2: all-stage2-opcodes
5469 TARGET-stage2-opcodes = $(TARGET-opcodes)
5470 all-stage2-opcodes: configure-stage2-opcodes
5471 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5472 @r=`${PWD_COMMAND}`; export r; \
5473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5474 $(HOST_EXPORTS) \
5475 $(POSTSTAGE1_HOST_EXPORTS) \
5476 cd $(HOST_SUBDIR)/opcodes && \
5477 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5478 $(TARGET-stage2-opcodes)
5480 maybe-clean-stage2-opcodes: clean-stage2-opcodes
5481 clean-stage2: clean-stage2-opcodes
5482 clean-stage2-opcodes:
5483 @if [ $(current_stage) = stage2 ]; then \
5484 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5485 else \
5486 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
5487 $(MAKE) stage2-start; \
5488 fi; \
5489 cd $(HOST_SUBDIR)/opcodes && \
5490 $(MAKE) $(FLAGS_TO_PASS) \
5491 $(POSTSTAGE1_FLAGS_TO_PASS) \
5492 clean
5493 @endif opcodes-bootstrap
5496 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
5497 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
5498 maybe-all-stage3-opcodes:
5499 maybe-clean-stage3-opcodes:
5500 @if opcodes-bootstrap
5501 maybe-all-stage3-opcodes: all-stage3-opcodes
5502 all-stage3: all-stage3-opcodes
5503 TARGET-stage3-opcodes = $(TARGET-opcodes)
5504 all-stage3-opcodes: configure-stage3-opcodes
5505 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5506 @r=`${PWD_COMMAND}`; export r; \
5507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5508 $(HOST_EXPORTS) \
5509 $(POSTSTAGE1_HOST_EXPORTS) \
5510 cd $(HOST_SUBDIR)/opcodes && \
5511 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5512 $(TARGET-stage3-opcodes)
5514 maybe-clean-stage3-opcodes: clean-stage3-opcodes
5515 clean-stage3: clean-stage3-opcodes
5516 clean-stage3-opcodes:
5517 @if [ $(current_stage) = stage3 ]; then \
5518 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5519 else \
5520 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
5521 $(MAKE) stage3-start; \
5522 fi; \
5523 cd $(HOST_SUBDIR)/opcodes && \
5524 $(MAKE) $(FLAGS_TO_PASS) \
5525 $(POSTSTAGE1_FLAGS_TO_PASS) \
5526 clean
5527 @endif opcodes-bootstrap
5530 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
5531 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
5532 maybe-all-stage4-opcodes:
5533 maybe-clean-stage4-opcodes:
5534 @if opcodes-bootstrap
5535 maybe-all-stage4-opcodes: all-stage4-opcodes
5536 all-stage4: all-stage4-opcodes
5537 TARGET-stage4-opcodes = $(TARGET-opcodes)
5538 all-stage4-opcodes: configure-stage4-opcodes
5539 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5540 @r=`${PWD_COMMAND}`; export r; \
5541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5542 $(HOST_EXPORTS) \
5543 $(POSTSTAGE1_HOST_EXPORTS) \
5544 cd $(HOST_SUBDIR)/opcodes && \
5545 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5546 $(TARGET-stage4-opcodes)
5548 maybe-clean-stage4-opcodes: clean-stage4-opcodes
5549 clean-stage4: clean-stage4-opcodes
5550 clean-stage4-opcodes:
5551 @if [ $(current_stage) = stage4 ]; then \
5552 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5553 else \
5554 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
5555 $(MAKE) stage4-start; \
5556 fi; \
5557 cd $(HOST_SUBDIR)/opcodes && \
5558 $(MAKE) $(FLAGS_TO_PASS) \
5559 $(POSTSTAGE1_FLAGS_TO_PASS) \
5560 clean
5561 @endif opcodes-bootstrap
5564 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
5565 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
5566 maybe-all-stageprofile-opcodes:
5567 maybe-clean-stageprofile-opcodes:
5568 @if opcodes-bootstrap
5569 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
5570 all-stageprofile: all-stageprofile-opcodes
5571 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
5572 all-stageprofile-opcodes: configure-stageprofile-opcodes
5573 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5574 @r=`${PWD_COMMAND}`; export r; \
5575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5576 $(HOST_EXPORTS) \
5577 $(POSTSTAGE1_HOST_EXPORTS) \
5578 cd $(HOST_SUBDIR)/opcodes && \
5579 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5580 $(TARGET-stageprofile-opcodes)
5582 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
5583 clean-stageprofile: clean-stageprofile-opcodes
5584 clean-stageprofile-opcodes:
5585 @if [ $(current_stage) = stageprofile ]; then \
5586 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5587 else \
5588 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
5589 $(MAKE) stageprofile-start; \
5590 fi; \
5591 cd $(HOST_SUBDIR)/opcodes && \
5592 $(MAKE) $(FLAGS_TO_PASS) \
5593 $(POSTSTAGE1_FLAGS_TO_PASS) \
5594 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5595 @endif opcodes-bootstrap
5598 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
5599 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
5600 maybe-all-stagefeedback-opcodes:
5601 maybe-clean-stagefeedback-opcodes:
5602 @if opcodes-bootstrap
5603 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
5604 all-stagefeedback: all-stagefeedback-opcodes
5605 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
5606 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
5607 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5608 @r=`${PWD_COMMAND}`; export r; \
5609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5610 $(HOST_EXPORTS) \
5611 $(POSTSTAGE1_HOST_EXPORTS) \
5612 cd $(HOST_SUBDIR)/opcodes && \
5613 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5614 $(TARGET-stagefeedback-opcodes)
5616 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5617 clean-stagefeedback: clean-stagefeedback-opcodes
5618 clean-stagefeedback-opcodes:
5619 @if [ $(current_stage) = stagefeedback ]; then \
5620 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5621 else \
5622 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
5623 $(MAKE) stagefeedback-start; \
5624 fi; \
5625 cd $(HOST_SUBDIR)/opcodes && \
5626 $(MAKE) $(FLAGS_TO_PASS) \
5627 $(POSTSTAGE1_FLAGS_TO_PASS) \
5628 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5629 @endif opcodes-bootstrap
5635 .PHONY: check-opcodes maybe-check-opcodes
5636 maybe-check-opcodes:
5637 @if opcodes
5638 maybe-check-opcodes: check-opcodes
5640 check-opcodes:
5641 @: $(MAKE); $(unstage)
5642 @r=`${PWD_COMMAND}`; export r; \
5643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5644 $(HOST_EXPORTS) \
5645 (cd $(HOST_SUBDIR)/opcodes && \
5646 $(MAKE) $(FLAGS_TO_PASS) check)
5648 @endif opcodes
5650 .PHONY: install-opcodes maybe-install-opcodes
5651 maybe-install-opcodes:
5652 @if opcodes
5653 maybe-install-opcodes: install-opcodes
5655 install-opcodes: installdirs
5656 @: $(MAKE); $(unstage)
5657 @r=`${PWD_COMMAND}`; export r; \
5658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5659 $(HOST_EXPORTS) \
5660 (cd $(HOST_SUBDIR)/opcodes && \
5661 $(MAKE) $(FLAGS_TO_PASS) install)
5663 @endif opcodes
5665 # Other targets (info, dvi, pdf, etc.)
5667 .PHONY: maybe-info-opcodes info-opcodes
5668 maybe-info-opcodes:
5669 @if opcodes
5670 maybe-info-opcodes: info-opcodes
5672 info-opcodes: \
5673 configure-opcodes
5674 @[ -f ./opcodes/Makefile ] || exit 0; \
5675 r=`${PWD_COMMAND}`; export r; \
5676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5677 $(HOST_EXPORTS) \
5678 for flag in $(EXTRA_HOST_FLAGS) ; do \
5679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5680 done; \
5681 echo "Doing info in opcodes" ; \
5682 (cd $(HOST_SUBDIR)/opcodes && \
5683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5685 "RANLIB=$${RANLIB}" \
5686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5687 info) \
5688 || exit 1
5690 @endif opcodes
5692 .PHONY: maybe-dvi-opcodes dvi-opcodes
5693 maybe-dvi-opcodes:
5694 @if opcodes
5695 maybe-dvi-opcodes: dvi-opcodes
5697 dvi-opcodes: \
5698 configure-opcodes
5699 @[ -f ./opcodes/Makefile ] || exit 0; \
5700 r=`${PWD_COMMAND}`; export r; \
5701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5702 $(HOST_EXPORTS) \
5703 for flag in $(EXTRA_HOST_FLAGS) ; do \
5704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5705 done; \
5706 echo "Doing dvi in opcodes" ; \
5707 (cd $(HOST_SUBDIR)/opcodes && \
5708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5710 "RANLIB=$${RANLIB}" \
5711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5712 dvi) \
5713 || exit 1
5715 @endif opcodes
5717 .PHONY: maybe-pdf-opcodes pdf-opcodes
5718 maybe-pdf-opcodes:
5719 @if opcodes
5720 maybe-pdf-opcodes: pdf-opcodes
5722 pdf-opcodes: \
5723 configure-opcodes
5724 @[ -f ./opcodes/Makefile ] || exit 0; \
5725 r=`${PWD_COMMAND}`; export r; \
5726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5727 $(HOST_EXPORTS) \
5728 for flag in $(EXTRA_HOST_FLAGS) ; do \
5729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5730 done; \
5731 echo "Doing pdf in opcodes" ; \
5732 (cd $(HOST_SUBDIR)/opcodes && \
5733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5735 "RANLIB=$${RANLIB}" \
5736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5737 pdf) \
5738 || exit 1
5740 @endif opcodes
5742 .PHONY: maybe-html-opcodes html-opcodes
5743 maybe-html-opcodes:
5744 @if opcodes
5745 maybe-html-opcodes: html-opcodes
5747 html-opcodes: \
5748 configure-opcodes
5749 @[ -f ./opcodes/Makefile ] || exit 0; \
5750 r=`${PWD_COMMAND}`; export r; \
5751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5752 $(HOST_EXPORTS) \
5753 for flag in $(EXTRA_HOST_FLAGS) ; do \
5754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5755 done; \
5756 echo "Doing html in opcodes" ; \
5757 (cd $(HOST_SUBDIR)/opcodes && \
5758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5760 "RANLIB=$${RANLIB}" \
5761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5762 html) \
5763 || exit 1
5765 @endif opcodes
5767 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5768 maybe-TAGS-opcodes:
5769 @if opcodes
5770 maybe-TAGS-opcodes: TAGS-opcodes
5772 TAGS-opcodes: \
5773 configure-opcodes
5774 @[ -f ./opcodes/Makefile ] || exit 0; \
5775 r=`${PWD_COMMAND}`; export r; \
5776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5777 $(HOST_EXPORTS) \
5778 for flag in $(EXTRA_HOST_FLAGS) ; do \
5779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5780 done; \
5781 echo "Doing TAGS in opcodes" ; \
5782 (cd $(HOST_SUBDIR)/opcodes && \
5783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5785 "RANLIB=$${RANLIB}" \
5786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5787 TAGS) \
5788 || exit 1
5790 @endif opcodes
5792 .PHONY: maybe-install-info-opcodes install-info-opcodes
5793 maybe-install-info-opcodes:
5794 @if opcodes
5795 maybe-install-info-opcodes: install-info-opcodes
5797 install-info-opcodes: \
5798 configure-opcodes \
5799 info-opcodes
5800 @[ -f ./opcodes/Makefile ] || exit 0; \
5801 r=`${PWD_COMMAND}`; export r; \
5802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5803 $(HOST_EXPORTS) \
5804 for flag in $(EXTRA_HOST_FLAGS) ; do \
5805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5806 done; \
5807 echo "Doing install-info in opcodes" ; \
5808 (cd $(HOST_SUBDIR)/opcodes && \
5809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5811 "RANLIB=$${RANLIB}" \
5812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5813 install-info) \
5814 || exit 1
5816 @endif opcodes
5818 .PHONY: maybe-install-html-opcodes install-html-opcodes
5819 maybe-install-html-opcodes:
5820 @if opcodes
5821 maybe-install-html-opcodes: install-html-opcodes
5823 install-html-opcodes: \
5824 configure-opcodes \
5825 html-opcodes
5826 @[ -f ./opcodes/Makefile ] || exit 0; \
5827 r=`${PWD_COMMAND}`; export r; \
5828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5829 $(HOST_EXPORTS) \
5830 for flag in $(EXTRA_HOST_FLAGS) ; do \
5831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5832 done; \
5833 echo "Doing install-html in opcodes" ; \
5834 (cd $(HOST_SUBDIR)/opcodes && \
5835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5837 "RANLIB=$${RANLIB}" \
5838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5839 install-html) \
5840 || exit 1
5842 @endif opcodes
5844 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5845 maybe-installcheck-opcodes:
5846 @if opcodes
5847 maybe-installcheck-opcodes: installcheck-opcodes
5849 installcheck-opcodes: \
5850 configure-opcodes
5851 @[ -f ./opcodes/Makefile ] || exit 0; \
5852 r=`${PWD_COMMAND}`; export r; \
5853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5854 $(HOST_EXPORTS) \
5855 for flag in $(EXTRA_HOST_FLAGS) ; do \
5856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5857 done; \
5858 echo "Doing installcheck in opcodes" ; \
5859 (cd $(HOST_SUBDIR)/opcodes && \
5860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5862 "RANLIB=$${RANLIB}" \
5863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5864 installcheck) \
5865 || exit 1
5867 @endif opcodes
5869 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5870 maybe-mostlyclean-opcodes:
5871 @if opcodes
5872 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5874 mostlyclean-opcodes:
5875 @[ -f ./opcodes/Makefile ] || exit 0; \
5876 r=`${PWD_COMMAND}`; export r; \
5877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5878 $(HOST_EXPORTS) \
5879 for flag in $(EXTRA_HOST_FLAGS) ; do \
5880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5881 done; \
5882 echo "Doing mostlyclean in opcodes" ; \
5883 (cd $(HOST_SUBDIR)/opcodes && \
5884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5886 "RANLIB=$${RANLIB}" \
5887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5888 mostlyclean) \
5889 || exit 1
5891 @endif opcodes
5893 .PHONY: maybe-clean-opcodes clean-opcodes
5894 maybe-clean-opcodes:
5895 @if opcodes
5896 maybe-clean-opcodes: clean-opcodes
5898 clean-opcodes:
5899 @[ -f ./opcodes/Makefile ] || exit 0; \
5900 r=`${PWD_COMMAND}`; export r; \
5901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5902 $(HOST_EXPORTS) \
5903 for flag in $(EXTRA_HOST_FLAGS) ; do \
5904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5905 done; \
5906 echo "Doing clean in opcodes" ; \
5907 (cd $(HOST_SUBDIR)/opcodes && \
5908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5910 "RANLIB=$${RANLIB}" \
5911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5912 clean) \
5913 || exit 1
5915 @endif opcodes
5917 .PHONY: maybe-distclean-opcodes distclean-opcodes
5918 maybe-distclean-opcodes:
5919 @if opcodes
5920 maybe-distclean-opcodes: distclean-opcodes
5922 distclean-opcodes:
5923 @[ -f ./opcodes/Makefile ] || exit 0; \
5924 r=`${PWD_COMMAND}`; export r; \
5925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5926 $(HOST_EXPORTS) \
5927 for flag in $(EXTRA_HOST_FLAGS) ; do \
5928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5929 done; \
5930 echo "Doing distclean in opcodes" ; \
5931 (cd $(HOST_SUBDIR)/opcodes && \
5932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5934 "RANLIB=$${RANLIB}" \
5935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5936 distclean) \
5937 || exit 1
5939 @endif opcodes
5941 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5942 maybe-maintainer-clean-opcodes:
5943 @if opcodes
5944 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5946 maintainer-clean-opcodes:
5947 @[ -f ./opcodes/Makefile ] || exit 0; \
5948 r=`${PWD_COMMAND}`; export r; \
5949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5950 $(HOST_EXPORTS) \
5951 for flag in $(EXTRA_HOST_FLAGS) ; do \
5952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5953 done; \
5954 echo "Doing maintainer-clean in opcodes" ; \
5955 (cd $(HOST_SUBDIR)/opcodes && \
5956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5958 "RANLIB=$${RANLIB}" \
5959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5960 maintainer-clean) \
5961 || exit 1
5963 @endif opcodes
5967 .PHONY: configure-binutils maybe-configure-binutils
5968 maybe-configure-binutils:
5969 @if gcc-bootstrap
5970 configure-binutils: stage_current
5971 @endif gcc-bootstrap
5972 @if binutils
5973 maybe-configure-binutils: configure-binutils
5974 configure-binutils:
5975 @r=`${PWD_COMMAND}`; export r; \
5976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5977 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5978 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5979 $(HOST_EXPORTS) \
5980 echo Configuring in $(HOST_SUBDIR)/binutils; \
5981 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5982 case $(srcdir) in \
5983 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5984 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5985 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5986 esac; \
5987 srcdiroption="--srcdir=$${topdir}/binutils"; \
5988 libsrcdir="$$s/binutils"; \
5989 $(SHELL) $${libsrcdir}/configure \
5990 $(HOST_CONFIGARGS) $${srcdiroption} \
5991 || exit 1
5992 @endif binutils
5996 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5997 maybe-configure-stage1-binutils:
5998 @if binutils-bootstrap
5999 maybe-configure-stage1-binutils: configure-stage1-binutils
6000 configure-stage1-binutils:
6001 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6002 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6003 @r=`${PWD_COMMAND}`; export r; \
6004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6005 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6006 $(HOST_EXPORTS) \
6007 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
6008 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6009 cd $(HOST_SUBDIR)/binutils || exit 1; \
6010 case $(srcdir) in \
6011 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6012 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6013 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6014 esac; \
6015 srcdiroption="--srcdir=$${topdir}/binutils"; \
6016 libsrcdir="$$s/binutils"; \
6017 $(SHELL) $${libsrcdir}/configure \
6018 $(HOST_CONFIGARGS) $${srcdiroption} \
6020 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
6021 @endif binutils-bootstrap
6023 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
6024 maybe-configure-stage2-binutils:
6025 @if binutils-bootstrap
6026 maybe-configure-stage2-binutils: configure-stage2-binutils
6027 configure-stage2-binutils:
6028 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6029 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6030 @r=`${PWD_COMMAND}`; export r; \
6031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6032 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6033 $(HOST_EXPORTS) \
6034 $(POSTSTAGE1_HOST_EXPORTS) \
6035 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
6036 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6037 cd $(HOST_SUBDIR)/binutils || exit 1; \
6038 case $(srcdir) in \
6039 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6040 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6041 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6042 esac; \
6043 srcdiroption="--srcdir=$${topdir}/binutils"; \
6044 libsrcdir="$$s/binutils"; \
6045 $(SHELL) $${libsrcdir}/configure \
6046 $(HOST_CONFIGARGS) $${srcdiroption} \
6047 --with-build-libsubdir=$(HOST_SUBDIR) \
6048 @stage2_werror_flag@
6049 @endif binutils-bootstrap
6051 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
6052 maybe-configure-stage3-binutils:
6053 @if binutils-bootstrap
6054 maybe-configure-stage3-binutils: configure-stage3-binutils
6055 configure-stage3-binutils:
6056 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6057 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6058 @r=`${PWD_COMMAND}`; export r; \
6059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6060 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6061 $(HOST_EXPORTS) \
6062 $(POSTSTAGE1_HOST_EXPORTS) \
6063 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
6064 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6065 cd $(HOST_SUBDIR)/binutils || exit 1; \
6066 case $(srcdir) in \
6067 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6068 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6069 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6070 esac; \
6071 srcdiroption="--srcdir=$${topdir}/binutils"; \
6072 libsrcdir="$$s/binutils"; \
6073 $(SHELL) $${libsrcdir}/configure \
6074 $(HOST_CONFIGARGS) $${srcdiroption} \
6075 --with-build-libsubdir=$(HOST_SUBDIR) \
6076 @stage2_werror_flag@
6077 @endif binutils-bootstrap
6079 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
6080 maybe-configure-stage4-binutils:
6081 @if binutils-bootstrap
6082 maybe-configure-stage4-binutils: configure-stage4-binutils
6083 configure-stage4-binutils:
6084 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6085 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6086 @r=`${PWD_COMMAND}`; export r; \
6087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6088 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6089 $(HOST_EXPORTS) \
6090 $(POSTSTAGE1_HOST_EXPORTS) \
6091 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
6092 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6093 cd $(HOST_SUBDIR)/binutils || exit 1; \
6094 case $(srcdir) in \
6095 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6096 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6097 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6098 esac; \
6099 srcdiroption="--srcdir=$${topdir}/binutils"; \
6100 libsrcdir="$$s/binutils"; \
6101 $(SHELL) $${libsrcdir}/configure \
6102 $(HOST_CONFIGARGS) $${srcdiroption} \
6103 --with-build-libsubdir=$(HOST_SUBDIR) \
6104 @stage2_werror_flag@
6105 @endif binutils-bootstrap
6107 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
6108 maybe-configure-stageprofile-binutils:
6109 @if binutils-bootstrap
6110 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
6111 configure-stageprofile-binutils:
6112 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6113 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6114 @r=`${PWD_COMMAND}`; export r; \
6115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6116 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6117 $(HOST_EXPORTS) \
6118 $(POSTSTAGE1_HOST_EXPORTS) \
6119 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
6120 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6121 cd $(HOST_SUBDIR)/binutils || exit 1; \
6122 case $(srcdir) in \
6123 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6124 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6125 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6126 esac; \
6127 srcdiroption="--srcdir=$${topdir}/binutils"; \
6128 libsrcdir="$$s/binutils"; \
6129 $(SHELL) $${libsrcdir}/configure \
6130 $(HOST_CONFIGARGS) $${srcdiroption} \
6131 --with-build-libsubdir=$(HOST_SUBDIR) \
6132 @stage2_werror_flag@
6133 @endif binutils-bootstrap
6135 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
6136 maybe-configure-stagefeedback-binutils:
6137 @if binutils-bootstrap
6138 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
6139 configure-stagefeedback-binutils:
6140 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6141 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6142 @r=`${PWD_COMMAND}`; export r; \
6143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6144 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6145 $(HOST_EXPORTS) \
6146 $(POSTSTAGE1_HOST_EXPORTS) \
6147 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
6148 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6149 cd $(HOST_SUBDIR)/binutils || exit 1; \
6150 case $(srcdir) in \
6151 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6152 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6153 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6154 esac; \
6155 srcdiroption="--srcdir=$${topdir}/binutils"; \
6156 libsrcdir="$$s/binutils"; \
6157 $(SHELL) $${libsrcdir}/configure \
6158 $(HOST_CONFIGARGS) $${srcdiroption} \
6159 --with-build-libsubdir=$(HOST_SUBDIR) \
6160 @stage2_werror_flag@
6161 @endif binutils-bootstrap
6167 .PHONY: all-binutils maybe-all-binutils
6168 maybe-all-binutils:
6169 @if gcc-bootstrap
6170 all-binutils: stage_current
6171 @endif gcc-bootstrap
6172 @if binutils
6173 TARGET-binutils=all
6174 maybe-all-binutils: all-binutils
6175 all-binutils: configure-binutils
6176 @r=`${PWD_COMMAND}`; export r; \
6177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6178 $(HOST_EXPORTS) \
6179 (cd $(HOST_SUBDIR)/binutils && \
6180 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
6181 @endif binutils
6185 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
6186 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
6187 maybe-all-stage1-binutils:
6188 maybe-clean-stage1-binutils:
6189 @if binutils-bootstrap
6190 maybe-all-stage1-binutils: all-stage1-binutils
6191 all-stage1: all-stage1-binutils
6192 TARGET-stage1-binutils = $(TARGET-binutils)
6193 all-stage1-binutils: configure-stage1-binutils
6194 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6195 @r=`${PWD_COMMAND}`; export r; \
6196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6197 $(HOST_EXPORTS) \
6198 cd $(HOST_SUBDIR)/binutils && \
6199 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
6200 $(TARGET-stage1-binutils)
6202 maybe-clean-stage1-binutils: clean-stage1-binutils
6203 clean-stage1: clean-stage1-binutils
6204 clean-stage1-binutils:
6205 @if [ $(current_stage) = stage1 ]; then \
6206 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6207 else \
6208 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
6209 $(MAKE) stage1-start; \
6210 fi; \
6211 cd $(HOST_SUBDIR)/binutils && \
6212 $(MAKE) $(FLAGS_TO_PASS) \
6213 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
6214 @endif binutils-bootstrap
6217 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
6218 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
6219 maybe-all-stage2-binutils:
6220 maybe-clean-stage2-binutils:
6221 @if binutils-bootstrap
6222 maybe-all-stage2-binutils: all-stage2-binutils
6223 all-stage2: all-stage2-binutils
6224 TARGET-stage2-binutils = $(TARGET-binutils)
6225 all-stage2-binutils: configure-stage2-binutils
6226 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6227 @r=`${PWD_COMMAND}`; export r; \
6228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6229 $(HOST_EXPORTS) \
6230 $(POSTSTAGE1_HOST_EXPORTS) \
6231 cd $(HOST_SUBDIR)/binutils && \
6232 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6233 $(TARGET-stage2-binutils)
6235 maybe-clean-stage2-binutils: clean-stage2-binutils
6236 clean-stage2: clean-stage2-binutils
6237 clean-stage2-binutils:
6238 @if [ $(current_stage) = stage2 ]; then \
6239 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6240 else \
6241 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
6242 $(MAKE) stage2-start; \
6243 fi; \
6244 cd $(HOST_SUBDIR)/binutils && \
6245 $(MAKE) $(FLAGS_TO_PASS) \
6246 $(POSTSTAGE1_FLAGS_TO_PASS) \
6247 clean
6248 @endif binutils-bootstrap
6251 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
6252 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
6253 maybe-all-stage3-binutils:
6254 maybe-clean-stage3-binutils:
6255 @if binutils-bootstrap
6256 maybe-all-stage3-binutils: all-stage3-binutils
6257 all-stage3: all-stage3-binutils
6258 TARGET-stage3-binutils = $(TARGET-binutils)
6259 all-stage3-binutils: configure-stage3-binutils
6260 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6261 @r=`${PWD_COMMAND}`; export r; \
6262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6263 $(HOST_EXPORTS) \
6264 $(POSTSTAGE1_HOST_EXPORTS) \
6265 cd $(HOST_SUBDIR)/binutils && \
6266 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6267 $(TARGET-stage3-binutils)
6269 maybe-clean-stage3-binutils: clean-stage3-binutils
6270 clean-stage3: clean-stage3-binutils
6271 clean-stage3-binutils:
6272 @if [ $(current_stage) = stage3 ]; then \
6273 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6274 else \
6275 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
6276 $(MAKE) stage3-start; \
6277 fi; \
6278 cd $(HOST_SUBDIR)/binutils && \
6279 $(MAKE) $(FLAGS_TO_PASS) \
6280 $(POSTSTAGE1_FLAGS_TO_PASS) \
6281 clean
6282 @endif binutils-bootstrap
6285 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
6286 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
6287 maybe-all-stage4-binutils:
6288 maybe-clean-stage4-binutils:
6289 @if binutils-bootstrap
6290 maybe-all-stage4-binutils: all-stage4-binutils
6291 all-stage4: all-stage4-binutils
6292 TARGET-stage4-binutils = $(TARGET-binutils)
6293 all-stage4-binutils: configure-stage4-binutils
6294 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6295 @r=`${PWD_COMMAND}`; export r; \
6296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6297 $(HOST_EXPORTS) \
6298 $(POSTSTAGE1_HOST_EXPORTS) \
6299 cd $(HOST_SUBDIR)/binutils && \
6300 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6301 $(TARGET-stage4-binutils)
6303 maybe-clean-stage4-binutils: clean-stage4-binutils
6304 clean-stage4: clean-stage4-binutils
6305 clean-stage4-binutils:
6306 @if [ $(current_stage) = stage4 ]; then \
6307 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6308 else \
6309 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
6310 $(MAKE) stage4-start; \
6311 fi; \
6312 cd $(HOST_SUBDIR)/binutils && \
6313 $(MAKE) $(FLAGS_TO_PASS) \
6314 $(POSTSTAGE1_FLAGS_TO_PASS) \
6315 clean
6316 @endif binutils-bootstrap
6319 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
6320 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
6321 maybe-all-stageprofile-binutils:
6322 maybe-clean-stageprofile-binutils:
6323 @if binutils-bootstrap
6324 maybe-all-stageprofile-binutils: all-stageprofile-binutils
6325 all-stageprofile: all-stageprofile-binutils
6326 TARGET-stageprofile-binutils = $(TARGET-binutils)
6327 all-stageprofile-binutils: configure-stageprofile-binutils
6328 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6329 @r=`${PWD_COMMAND}`; export r; \
6330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6331 $(HOST_EXPORTS) \
6332 $(POSTSTAGE1_HOST_EXPORTS) \
6333 cd $(HOST_SUBDIR)/binutils && \
6334 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
6335 $(TARGET-stageprofile-binutils)
6337 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
6338 clean-stageprofile: clean-stageprofile-binutils
6339 clean-stageprofile-binutils:
6340 @if [ $(current_stage) = stageprofile ]; then \
6341 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6342 else \
6343 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
6344 $(MAKE) stageprofile-start; \
6345 fi; \
6346 cd $(HOST_SUBDIR)/binutils && \
6347 $(MAKE) $(FLAGS_TO_PASS) \
6348 $(POSTSTAGE1_FLAGS_TO_PASS) \
6349 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
6350 @endif binutils-bootstrap
6353 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
6354 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
6355 maybe-all-stagefeedback-binutils:
6356 maybe-clean-stagefeedback-binutils:
6357 @if binutils-bootstrap
6358 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
6359 all-stagefeedback: all-stagefeedback-binutils
6360 TARGET-stagefeedback-binutils = $(TARGET-binutils)
6361 all-stagefeedback-binutils: configure-stagefeedback-binutils
6362 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6363 @r=`${PWD_COMMAND}`; export r; \
6364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6365 $(HOST_EXPORTS) \
6366 $(POSTSTAGE1_HOST_EXPORTS) \
6367 cd $(HOST_SUBDIR)/binutils && \
6368 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
6369 $(TARGET-stagefeedback-binutils)
6371 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
6372 clean-stagefeedback: clean-stagefeedback-binutils
6373 clean-stagefeedback-binutils:
6374 @if [ $(current_stage) = stagefeedback ]; then \
6375 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6376 else \
6377 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
6378 $(MAKE) stagefeedback-start; \
6379 fi; \
6380 cd $(HOST_SUBDIR)/binutils && \
6381 $(MAKE) $(FLAGS_TO_PASS) \
6382 $(POSTSTAGE1_FLAGS_TO_PASS) \
6383 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
6384 @endif binutils-bootstrap
6390 .PHONY: check-binutils maybe-check-binutils
6391 maybe-check-binutils:
6392 @if binutils
6393 maybe-check-binutils: check-binutils
6395 check-binutils:
6396 @: $(MAKE); $(unstage)
6397 @r=`${PWD_COMMAND}`; export r; \
6398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6399 $(HOST_EXPORTS) \
6400 (cd $(HOST_SUBDIR)/binutils && \
6401 $(MAKE) $(FLAGS_TO_PASS) check)
6403 @endif binutils
6405 .PHONY: install-binutils maybe-install-binutils
6406 maybe-install-binutils:
6407 @if binutils
6408 maybe-install-binutils: install-binutils
6410 install-binutils: installdirs
6411 @: $(MAKE); $(unstage)
6412 @r=`${PWD_COMMAND}`; export r; \
6413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6414 $(HOST_EXPORTS) \
6415 (cd $(HOST_SUBDIR)/binutils && \
6416 $(MAKE) $(FLAGS_TO_PASS) install)
6418 @endif binutils
6420 # Other targets (info, dvi, pdf, etc.)
6422 .PHONY: maybe-info-binutils info-binutils
6423 maybe-info-binutils:
6424 @if binutils
6425 maybe-info-binutils: info-binutils
6427 info-binutils: \
6428 configure-binutils
6429 @[ -f ./binutils/Makefile ] || exit 0; \
6430 r=`${PWD_COMMAND}`; export r; \
6431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6432 $(HOST_EXPORTS) \
6433 for flag in $(EXTRA_HOST_FLAGS) ; do \
6434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6435 done; \
6436 echo "Doing info in binutils" ; \
6437 (cd $(HOST_SUBDIR)/binutils && \
6438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6440 "RANLIB=$${RANLIB}" \
6441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6442 info) \
6443 || exit 1
6445 @endif binutils
6447 .PHONY: maybe-dvi-binutils dvi-binutils
6448 maybe-dvi-binutils:
6449 @if binutils
6450 maybe-dvi-binutils: dvi-binutils
6452 dvi-binutils: \
6453 configure-binutils
6454 @[ -f ./binutils/Makefile ] || exit 0; \
6455 r=`${PWD_COMMAND}`; export r; \
6456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6457 $(HOST_EXPORTS) \
6458 for flag in $(EXTRA_HOST_FLAGS) ; do \
6459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6460 done; \
6461 echo "Doing dvi in binutils" ; \
6462 (cd $(HOST_SUBDIR)/binutils && \
6463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6465 "RANLIB=$${RANLIB}" \
6466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6467 dvi) \
6468 || exit 1
6470 @endif binutils
6472 .PHONY: maybe-pdf-binutils pdf-binutils
6473 maybe-pdf-binutils:
6474 @if binutils
6475 maybe-pdf-binutils: pdf-binutils
6477 pdf-binutils: \
6478 configure-binutils
6479 @[ -f ./binutils/Makefile ] || exit 0; \
6480 r=`${PWD_COMMAND}`; export r; \
6481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6482 $(HOST_EXPORTS) \
6483 for flag in $(EXTRA_HOST_FLAGS) ; do \
6484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6485 done; \
6486 echo "Doing pdf in binutils" ; \
6487 (cd $(HOST_SUBDIR)/binutils && \
6488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6490 "RANLIB=$${RANLIB}" \
6491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6492 pdf) \
6493 || exit 1
6495 @endif binutils
6497 .PHONY: maybe-html-binutils html-binutils
6498 maybe-html-binutils:
6499 @if binutils
6500 maybe-html-binutils: html-binutils
6502 html-binutils: \
6503 configure-binutils
6504 @[ -f ./binutils/Makefile ] || exit 0; \
6505 r=`${PWD_COMMAND}`; export r; \
6506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6507 $(HOST_EXPORTS) \
6508 for flag in $(EXTRA_HOST_FLAGS) ; do \
6509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6510 done; \
6511 echo "Doing html in binutils" ; \
6512 (cd $(HOST_SUBDIR)/binutils && \
6513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6515 "RANLIB=$${RANLIB}" \
6516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6517 html) \
6518 || exit 1
6520 @endif binutils
6522 .PHONY: maybe-TAGS-binutils TAGS-binutils
6523 maybe-TAGS-binutils:
6524 @if binutils
6525 maybe-TAGS-binutils: TAGS-binutils
6527 TAGS-binutils: \
6528 configure-binutils
6529 @[ -f ./binutils/Makefile ] || exit 0; \
6530 r=`${PWD_COMMAND}`; export r; \
6531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6532 $(HOST_EXPORTS) \
6533 for flag in $(EXTRA_HOST_FLAGS) ; do \
6534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6535 done; \
6536 echo "Doing TAGS in binutils" ; \
6537 (cd $(HOST_SUBDIR)/binutils && \
6538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6540 "RANLIB=$${RANLIB}" \
6541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6542 TAGS) \
6543 || exit 1
6545 @endif binutils
6547 .PHONY: maybe-install-info-binutils install-info-binutils
6548 maybe-install-info-binutils:
6549 @if binutils
6550 maybe-install-info-binutils: install-info-binutils
6552 install-info-binutils: \
6553 configure-binutils \
6554 info-binutils
6555 @[ -f ./binutils/Makefile ] || exit 0; \
6556 r=`${PWD_COMMAND}`; export r; \
6557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6558 $(HOST_EXPORTS) \
6559 for flag in $(EXTRA_HOST_FLAGS) ; do \
6560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6561 done; \
6562 echo "Doing install-info in binutils" ; \
6563 (cd $(HOST_SUBDIR)/binutils && \
6564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6566 "RANLIB=$${RANLIB}" \
6567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6568 install-info) \
6569 || exit 1
6571 @endif binutils
6573 .PHONY: maybe-install-html-binutils install-html-binutils
6574 maybe-install-html-binutils:
6575 @if binutils
6576 maybe-install-html-binutils: install-html-binutils
6578 install-html-binutils: \
6579 configure-binutils \
6580 html-binutils
6581 @[ -f ./binutils/Makefile ] || exit 0; \
6582 r=`${PWD_COMMAND}`; export r; \
6583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6584 $(HOST_EXPORTS) \
6585 for flag in $(EXTRA_HOST_FLAGS) ; do \
6586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6587 done; \
6588 echo "Doing install-html in binutils" ; \
6589 (cd $(HOST_SUBDIR)/binutils && \
6590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6592 "RANLIB=$${RANLIB}" \
6593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6594 install-html) \
6595 || exit 1
6597 @endif binutils
6599 .PHONY: maybe-installcheck-binutils installcheck-binutils
6600 maybe-installcheck-binutils:
6601 @if binutils
6602 maybe-installcheck-binutils: installcheck-binutils
6604 installcheck-binutils: \
6605 configure-binutils
6606 @[ -f ./binutils/Makefile ] || exit 0; \
6607 r=`${PWD_COMMAND}`; export r; \
6608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6609 $(HOST_EXPORTS) \
6610 for flag in $(EXTRA_HOST_FLAGS) ; do \
6611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6612 done; \
6613 echo "Doing installcheck in binutils" ; \
6614 (cd $(HOST_SUBDIR)/binutils && \
6615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6617 "RANLIB=$${RANLIB}" \
6618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6619 installcheck) \
6620 || exit 1
6622 @endif binutils
6624 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6625 maybe-mostlyclean-binutils:
6626 @if binutils
6627 maybe-mostlyclean-binutils: mostlyclean-binutils
6629 mostlyclean-binutils:
6630 @[ -f ./binutils/Makefile ] || exit 0; \
6631 r=`${PWD_COMMAND}`; export r; \
6632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6633 $(HOST_EXPORTS) \
6634 for flag in $(EXTRA_HOST_FLAGS) ; do \
6635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6636 done; \
6637 echo "Doing mostlyclean in binutils" ; \
6638 (cd $(HOST_SUBDIR)/binutils && \
6639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6641 "RANLIB=$${RANLIB}" \
6642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6643 mostlyclean) \
6644 || exit 1
6646 @endif binutils
6648 .PHONY: maybe-clean-binutils clean-binutils
6649 maybe-clean-binutils:
6650 @if binutils
6651 maybe-clean-binutils: clean-binutils
6653 clean-binutils:
6654 @[ -f ./binutils/Makefile ] || exit 0; \
6655 r=`${PWD_COMMAND}`; export r; \
6656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6657 $(HOST_EXPORTS) \
6658 for flag in $(EXTRA_HOST_FLAGS) ; do \
6659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6660 done; \
6661 echo "Doing clean in binutils" ; \
6662 (cd $(HOST_SUBDIR)/binutils && \
6663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6665 "RANLIB=$${RANLIB}" \
6666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6667 clean) \
6668 || exit 1
6670 @endif binutils
6672 .PHONY: maybe-distclean-binutils distclean-binutils
6673 maybe-distclean-binutils:
6674 @if binutils
6675 maybe-distclean-binutils: distclean-binutils
6677 distclean-binutils:
6678 @[ -f ./binutils/Makefile ] || exit 0; \
6679 r=`${PWD_COMMAND}`; export r; \
6680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6681 $(HOST_EXPORTS) \
6682 for flag in $(EXTRA_HOST_FLAGS) ; do \
6683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6684 done; \
6685 echo "Doing distclean in binutils" ; \
6686 (cd $(HOST_SUBDIR)/binutils && \
6687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6689 "RANLIB=$${RANLIB}" \
6690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6691 distclean) \
6692 || exit 1
6694 @endif binutils
6696 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6697 maybe-maintainer-clean-binutils:
6698 @if binutils
6699 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6701 maintainer-clean-binutils:
6702 @[ -f ./binutils/Makefile ] || exit 0; \
6703 r=`${PWD_COMMAND}`; export r; \
6704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6705 $(HOST_EXPORTS) \
6706 for flag in $(EXTRA_HOST_FLAGS) ; do \
6707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6708 done; \
6709 echo "Doing maintainer-clean in binutils" ; \
6710 (cd $(HOST_SUBDIR)/binutils && \
6711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6713 "RANLIB=$${RANLIB}" \
6714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6715 maintainer-clean) \
6716 || exit 1
6718 @endif binutils
6722 .PHONY: configure-bison maybe-configure-bison
6723 maybe-configure-bison:
6724 @if gcc-bootstrap
6725 configure-bison: stage_current
6726 @endif gcc-bootstrap
6727 @if bison
6728 maybe-configure-bison: configure-bison
6729 configure-bison:
6730 @: $(MAKE); $(unstage)
6731 @r=`${PWD_COMMAND}`; export r; \
6732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6733 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6734 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
6735 $(HOST_EXPORTS) \
6736 echo Configuring in $(HOST_SUBDIR)/bison; \
6737 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6738 case $(srcdir) in \
6739 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6740 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6741 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6742 esac; \
6743 srcdiroption="--srcdir=$${topdir}/bison"; \
6744 libsrcdir="$$s/bison"; \
6745 $(SHELL) $${libsrcdir}/configure \
6746 $(HOST_CONFIGARGS) $${srcdiroption} \
6747 || exit 1
6748 @endif bison
6754 .PHONY: all-bison maybe-all-bison
6755 maybe-all-bison:
6756 @if gcc-bootstrap
6757 all-bison: stage_current
6758 @endif gcc-bootstrap
6759 @if bison
6760 TARGET-bison=all
6761 maybe-all-bison: all-bison
6762 all-bison: configure-bison
6763 @: $(MAKE); $(unstage)
6764 @r=`${PWD_COMMAND}`; export r; \
6765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6766 $(HOST_EXPORTS) \
6767 (cd $(HOST_SUBDIR)/bison && \
6768 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
6769 @endif bison
6774 .PHONY: check-bison maybe-check-bison
6775 maybe-check-bison:
6776 @if bison
6777 maybe-check-bison: check-bison
6779 # This module is only tested in a native toolchain.
6780 check-bison:
6781 @: $(MAKE); $(unstage)
6782 @if [ '$(host)' = '$(target)' ] ; then \
6783 r=`${PWD_COMMAND}`; export r; \
6784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6785 $(HOST_EXPORTS) \
6786 (cd $(HOST_SUBDIR)/bison && \
6787 $(MAKE) $(FLAGS_TO_PASS) check); \
6790 @endif bison
6792 .PHONY: install-bison maybe-install-bison
6793 maybe-install-bison:
6794 @if bison
6795 maybe-install-bison: install-bison
6797 install-bison: installdirs
6798 @: $(MAKE); $(unstage)
6799 @r=`${PWD_COMMAND}`; export r; \
6800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6801 $(HOST_EXPORTS) \
6802 (cd $(HOST_SUBDIR)/bison && \
6803 $(MAKE) $(FLAGS_TO_PASS) install)
6805 @endif bison
6807 # Other targets (info, dvi, pdf, etc.)
6809 .PHONY: maybe-info-bison info-bison
6810 maybe-info-bison:
6811 @if bison
6812 maybe-info-bison: info-bison
6814 info-bison: \
6815 configure-bison
6816 @: $(MAKE); $(unstage)
6817 @[ -f ./bison/Makefile ] || exit 0; \
6818 r=`${PWD_COMMAND}`; export r; \
6819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6820 $(HOST_EXPORTS) \
6821 for flag in $(EXTRA_HOST_FLAGS) ; do \
6822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6823 done; \
6824 echo "Doing info in bison" ; \
6825 (cd $(HOST_SUBDIR)/bison && \
6826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6828 "RANLIB=$${RANLIB}" \
6829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6830 info) \
6831 || exit 1
6833 @endif bison
6835 .PHONY: maybe-dvi-bison dvi-bison
6836 maybe-dvi-bison:
6837 @if bison
6838 maybe-dvi-bison: dvi-bison
6840 dvi-bison: \
6841 configure-bison
6842 @: $(MAKE); $(unstage)
6843 @[ -f ./bison/Makefile ] || exit 0; \
6844 r=`${PWD_COMMAND}`; export r; \
6845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6846 $(HOST_EXPORTS) \
6847 for flag in $(EXTRA_HOST_FLAGS) ; do \
6848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6849 done; \
6850 echo "Doing dvi in bison" ; \
6851 (cd $(HOST_SUBDIR)/bison && \
6852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6854 "RANLIB=$${RANLIB}" \
6855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6856 dvi) \
6857 || exit 1
6859 @endif bison
6861 .PHONY: maybe-pdf-bison pdf-bison
6862 maybe-pdf-bison:
6863 @if bison
6864 maybe-pdf-bison: pdf-bison
6866 pdf-bison: \
6867 configure-bison
6868 @: $(MAKE); $(unstage)
6869 @[ -f ./bison/Makefile ] || exit 0; \
6870 r=`${PWD_COMMAND}`; export r; \
6871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6872 $(HOST_EXPORTS) \
6873 for flag in $(EXTRA_HOST_FLAGS) ; do \
6874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6875 done; \
6876 echo "Doing pdf in bison" ; \
6877 (cd $(HOST_SUBDIR)/bison && \
6878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6880 "RANLIB=$${RANLIB}" \
6881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6882 pdf) \
6883 || exit 1
6885 @endif bison
6887 .PHONY: maybe-html-bison html-bison
6888 maybe-html-bison:
6889 @if bison
6890 maybe-html-bison: html-bison
6892 html-bison: \
6893 configure-bison
6894 @: $(MAKE); $(unstage)
6895 @[ -f ./bison/Makefile ] || exit 0; \
6896 r=`${PWD_COMMAND}`; export r; \
6897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6898 $(HOST_EXPORTS) \
6899 for flag in $(EXTRA_HOST_FLAGS) ; do \
6900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6901 done; \
6902 echo "Doing html in bison" ; \
6903 (cd $(HOST_SUBDIR)/bison && \
6904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6906 "RANLIB=$${RANLIB}" \
6907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6908 html) \
6909 || exit 1
6911 @endif bison
6913 .PHONY: maybe-TAGS-bison TAGS-bison
6914 maybe-TAGS-bison:
6915 @if bison
6916 maybe-TAGS-bison: TAGS-bison
6918 TAGS-bison: \
6919 configure-bison
6920 @: $(MAKE); $(unstage)
6921 @[ -f ./bison/Makefile ] || exit 0; \
6922 r=`${PWD_COMMAND}`; export r; \
6923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6924 $(HOST_EXPORTS) \
6925 for flag in $(EXTRA_HOST_FLAGS) ; do \
6926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6927 done; \
6928 echo "Doing TAGS in bison" ; \
6929 (cd $(HOST_SUBDIR)/bison && \
6930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6932 "RANLIB=$${RANLIB}" \
6933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6934 TAGS) \
6935 || exit 1
6937 @endif bison
6939 .PHONY: maybe-install-info-bison install-info-bison
6940 maybe-install-info-bison:
6941 @if bison
6942 maybe-install-info-bison: install-info-bison
6944 install-info-bison: \
6945 configure-bison \
6946 info-bison
6947 @: $(MAKE); $(unstage)
6948 @[ -f ./bison/Makefile ] || exit 0; \
6949 r=`${PWD_COMMAND}`; export r; \
6950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6951 $(HOST_EXPORTS) \
6952 for flag in $(EXTRA_HOST_FLAGS) ; do \
6953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6954 done; \
6955 echo "Doing install-info in bison" ; \
6956 (cd $(HOST_SUBDIR)/bison && \
6957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6959 "RANLIB=$${RANLIB}" \
6960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6961 install-info) \
6962 || exit 1
6964 @endif bison
6966 .PHONY: maybe-install-html-bison install-html-bison
6967 maybe-install-html-bison:
6968 @if bison
6969 maybe-install-html-bison: install-html-bison
6971 install-html-bison: \
6972 configure-bison \
6973 html-bison
6974 @: $(MAKE); $(unstage)
6975 @[ -f ./bison/Makefile ] || exit 0; \
6976 r=`${PWD_COMMAND}`; export r; \
6977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6978 $(HOST_EXPORTS) \
6979 for flag in $(EXTRA_HOST_FLAGS) ; do \
6980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6981 done; \
6982 echo "Doing install-html in bison" ; \
6983 (cd $(HOST_SUBDIR)/bison && \
6984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6986 "RANLIB=$${RANLIB}" \
6987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6988 install-html) \
6989 || exit 1
6991 @endif bison
6993 .PHONY: maybe-installcheck-bison installcheck-bison
6994 maybe-installcheck-bison:
6995 @if bison
6996 maybe-installcheck-bison: installcheck-bison
6998 installcheck-bison: \
6999 configure-bison
7000 @: $(MAKE); $(unstage)
7001 @[ -f ./bison/Makefile ] || exit 0; \
7002 r=`${PWD_COMMAND}`; export r; \
7003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7004 $(HOST_EXPORTS) \
7005 for flag in $(EXTRA_HOST_FLAGS) ; do \
7006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7007 done; \
7008 echo "Doing installcheck in bison" ; \
7009 (cd $(HOST_SUBDIR)/bison && \
7010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7012 "RANLIB=$${RANLIB}" \
7013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7014 installcheck) \
7015 || exit 1
7017 @endif bison
7019 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
7020 maybe-mostlyclean-bison:
7021 @if bison
7022 maybe-mostlyclean-bison: mostlyclean-bison
7024 mostlyclean-bison:
7025 @: $(MAKE); $(unstage)
7026 @[ -f ./bison/Makefile ] || exit 0; \
7027 r=`${PWD_COMMAND}`; export r; \
7028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7029 $(HOST_EXPORTS) \
7030 for flag in $(EXTRA_HOST_FLAGS) ; do \
7031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7032 done; \
7033 echo "Doing mostlyclean in bison" ; \
7034 (cd $(HOST_SUBDIR)/bison && \
7035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7037 "RANLIB=$${RANLIB}" \
7038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7039 mostlyclean) \
7040 || exit 1
7042 @endif bison
7044 .PHONY: maybe-clean-bison clean-bison
7045 maybe-clean-bison:
7046 @if bison
7047 maybe-clean-bison: clean-bison
7049 clean-bison:
7050 @: $(MAKE); $(unstage)
7051 @[ -f ./bison/Makefile ] || exit 0; \
7052 r=`${PWD_COMMAND}`; export r; \
7053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7054 $(HOST_EXPORTS) \
7055 for flag in $(EXTRA_HOST_FLAGS) ; do \
7056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7057 done; \
7058 echo "Doing clean in bison" ; \
7059 (cd $(HOST_SUBDIR)/bison && \
7060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7062 "RANLIB=$${RANLIB}" \
7063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7064 clean) \
7065 || exit 1
7067 @endif bison
7069 .PHONY: maybe-distclean-bison distclean-bison
7070 maybe-distclean-bison:
7071 @if bison
7072 maybe-distclean-bison: distclean-bison
7074 distclean-bison:
7075 @: $(MAKE); $(unstage)
7076 @[ -f ./bison/Makefile ] || exit 0; \
7077 r=`${PWD_COMMAND}`; export r; \
7078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7079 $(HOST_EXPORTS) \
7080 for flag in $(EXTRA_HOST_FLAGS) ; do \
7081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7082 done; \
7083 echo "Doing distclean in bison" ; \
7084 (cd $(HOST_SUBDIR)/bison && \
7085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7087 "RANLIB=$${RANLIB}" \
7088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7089 distclean) \
7090 || exit 1
7092 @endif bison
7094 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
7095 maybe-maintainer-clean-bison:
7096 @if bison
7097 maybe-maintainer-clean-bison: maintainer-clean-bison
7099 maintainer-clean-bison:
7100 @: $(MAKE); $(unstage)
7101 @[ -f ./bison/Makefile ] || exit 0; \
7102 r=`${PWD_COMMAND}`; export r; \
7103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7104 $(HOST_EXPORTS) \
7105 for flag in $(EXTRA_HOST_FLAGS) ; do \
7106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7107 done; \
7108 echo "Doing maintainer-clean in bison" ; \
7109 (cd $(HOST_SUBDIR)/bison && \
7110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7112 "RANLIB=$${RANLIB}" \
7113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7114 maintainer-clean) \
7115 || exit 1
7117 @endif bison
7121 .PHONY: configure-byacc maybe-configure-byacc
7122 maybe-configure-byacc:
7123 @if gcc-bootstrap
7124 configure-byacc: stage_current
7125 @endif gcc-bootstrap
7126 @if byacc
7127 maybe-configure-byacc: configure-byacc
7128 configure-byacc:
7129 @: $(MAKE); $(unstage)
7130 @r=`${PWD_COMMAND}`; export r; \
7131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7132 test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
7133 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
7134 $(HOST_EXPORTS) \
7135 echo Configuring in $(HOST_SUBDIR)/byacc; \
7136 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
7137 case $(srcdir) in \
7138 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7139 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
7140 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7141 esac; \
7142 srcdiroption="--srcdir=$${topdir}/byacc"; \
7143 libsrcdir="$$s/byacc"; \
7144 $(SHELL) $${libsrcdir}/configure \
7145 $(HOST_CONFIGARGS) $${srcdiroption} \
7146 || exit 1
7147 @endif byacc
7153 .PHONY: all-byacc maybe-all-byacc
7154 maybe-all-byacc:
7155 @if gcc-bootstrap
7156 all-byacc: stage_current
7157 @endif gcc-bootstrap
7158 @if byacc
7159 TARGET-byacc=all
7160 maybe-all-byacc: all-byacc
7161 all-byacc: configure-byacc
7162 @: $(MAKE); $(unstage)
7163 @r=`${PWD_COMMAND}`; export r; \
7164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7165 $(HOST_EXPORTS) \
7166 (cd $(HOST_SUBDIR)/byacc && \
7167 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
7168 @endif byacc
7173 .PHONY: check-byacc maybe-check-byacc
7174 maybe-check-byacc:
7175 @if byacc
7176 maybe-check-byacc: check-byacc
7178 # This module is only tested in a native toolchain.
7179 check-byacc:
7180 @: $(MAKE); $(unstage)
7181 @if [ '$(host)' = '$(target)' ] ; then \
7182 r=`${PWD_COMMAND}`; export r; \
7183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7184 $(HOST_EXPORTS) \
7185 (cd $(HOST_SUBDIR)/byacc && \
7186 $(MAKE) $(FLAGS_TO_PASS) check); \
7189 @endif byacc
7191 .PHONY: install-byacc maybe-install-byacc
7192 maybe-install-byacc:
7193 @if byacc
7194 maybe-install-byacc: install-byacc
7196 install-byacc: installdirs
7197 @: $(MAKE); $(unstage)
7198 @r=`${PWD_COMMAND}`; export r; \
7199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7200 $(HOST_EXPORTS) \
7201 (cd $(HOST_SUBDIR)/byacc && \
7202 $(MAKE) $(FLAGS_TO_PASS) install)
7204 @endif byacc
7206 # Other targets (info, dvi, pdf, etc.)
7208 .PHONY: maybe-info-byacc info-byacc
7209 maybe-info-byacc:
7210 @if byacc
7211 maybe-info-byacc: info-byacc
7213 info-byacc: \
7214 configure-byacc
7215 @: $(MAKE); $(unstage)
7216 @[ -f ./byacc/Makefile ] || exit 0; \
7217 r=`${PWD_COMMAND}`; export r; \
7218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7219 $(HOST_EXPORTS) \
7220 for flag in $(EXTRA_HOST_FLAGS) ; do \
7221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7222 done; \
7223 echo "Doing info in byacc" ; \
7224 (cd $(HOST_SUBDIR)/byacc && \
7225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7227 "RANLIB=$${RANLIB}" \
7228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7229 info) \
7230 || exit 1
7232 @endif byacc
7234 .PHONY: maybe-dvi-byacc dvi-byacc
7235 maybe-dvi-byacc:
7236 @if byacc
7237 maybe-dvi-byacc: dvi-byacc
7239 dvi-byacc: \
7240 configure-byacc
7241 @: $(MAKE); $(unstage)
7242 @[ -f ./byacc/Makefile ] || exit 0; \
7243 r=`${PWD_COMMAND}`; export r; \
7244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7245 $(HOST_EXPORTS) \
7246 for flag in $(EXTRA_HOST_FLAGS) ; do \
7247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7248 done; \
7249 echo "Doing dvi in byacc" ; \
7250 (cd $(HOST_SUBDIR)/byacc && \
7251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7253 "RANLIB=$${RANLIB}" \
7254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7255 dvi) \
7256 || exit 1
7258 @endif byacc
7260 .PHONY: maybe-pdf-byacc pdf-byacc
7261 maybe-pdf-byacc:
7262 @if byacc
7263 maybe-pdf-byacc: pdf-byacc
7265 pdf-byacc: \
7266 configure-byacc
7267 @: $(MAKE); $(unstage)
7268 @[ -f ./byacc/Makefile ] || exit 0; \
7269 r=`${PWD_COMMAND}`; export r; \
7270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7271 $(HOST_EXPORTS) \
7272 for flag in $(EXTRA_HOST_FLAGS) ; do \
7273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7274 done; \
7275 echo "Doing pdf in byacc" ; \
7276 (cd $(HOST_SUBDIR)/byacc && \
7277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7279 "RANLIB=$${RANLIB}" \
7280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7281 pdf) \
7282 || exit 1
7284 @endif byacc
7286 .PHONY: maybe-html-byacc html-byacc
7287 maybe-html-byacc:
7288 @if byacc
7289 maybe-html-byacc: html-byacc
7291 html-byacc: \
7292 configure-byacc
7293 @: $(MAKE); $(unstage)
7294 @[ -f ./byacc/Makefile ] || exit 0; \
7295 r=`${PWD_COMMAND}`; export r; \
7296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7297 $(HOST_EXPORTS) \
7298 for flag in $(EXTRA_HOST_FLAGS) ; do \
7299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7300 done; \
7301 echo "Doing html in byacc" ; \
7302 (cd $(HOST_SUBDIR)/byacc && \
7303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7305 "RANLIB=$${RANLIB}" \
7306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7307 html) \
7308 || exit 1
7310 @endif byacc
7312 .PHONY: maybe-TAGS-byacc TAGS-byacc
7313 maybe-TAGS-byacc:
7314 @if byacc
7315 maybe-TAGS-byacc: TAGS-byacc
7317 TAGS-byacc: \
7318 configure-byacc
7319 @: $(MAKE); $(unstage)
7320 @[ -f ./byacc/Makefile ] || exit 0; \
7321 r=`${PWD_COMMAND}`; export r; \
7322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7323 $(HOST_EXPORTS) \
7324 for flag in $(EXTRA_HOST_FLAGS) ; do \
7325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7326 done; \
7327 echo "Doing TAGS in byacc" ; \
7328 (cd $(HOST_SUBDIR)/byacc && \
7329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7331 "RANLIB=$${RANLIB}" \
7332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7333 TAGS) \
7334 || exit 1
7336 @endif byacc
7338 .PHONY: maybe-install-info-byacc install-info-byacc
7339 maybe-install-info-byacc:
7340 @if byacc
7341 maybe-install-info-byacc: install-info-byacc
7343 install-info-byacc: \
7344 configure-byacc \
7345 info-byacc
7346 @: $(MAKE); $(unstage)
7347 @[ -f ./byacc/Makefile ] || exit 0; \
7348 r=`${PWD_COMMAND}`; export r; \
7349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7350 $(HOST_EXPORTS) \
7351 for flag in $(EXTRA_HOST_FLAGS) ; do \
7352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7353 done; \
7354 echo "Doing install-info in byacc" ; \
7355 (cd $(HOST_SUBDIR)/byacc && \
7356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7358 "RANLIB=$${RANLIB}" \
7359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7360 install-info) \
7361 || exit 1
7363 @endif byacc
7365 .PHONY: maybe-install-html-byacc install-html-byacc
7366 maybe-install-html-byacc:
7367 @if byacc
7368 maybe-install-html-byacc: install-html-byacc
7370 install-html-byacc: \
7371 configure-byacc \
7372 html-byacc
7373 @: $(MAKE); $(unstage)
7374 @[ -f ./byacc/Makefile ] || exit 0; \
7375 r=`${PWD_COMMAND}`; export r; \
7376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7377 $(HOST_EXPORTS) \
7378 for flag in $(EXTRA_HOST_FLAGS) ; do \
7379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7380 done; \
7381 echo "Doing install-html in byacc" ; \
7382 (cd $(HOST_SUBDIR)/byacc && \
7383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7385 "RANLIB=$${RANLIB}" \
7386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7387 install-html) \
7388 || exit 1
7390 @endif byacc
7392 .PHONY: maybe-installcheck-byacc installcheck-byacc
7393 maybe-installcheck-byacc:
7394 @if byacc
7395 maybe-installcheck-byacc: installcheck-byacc
7397 installcheck-byacc: \
7398 configure-byacc
7399 @: $(MAKE); $(unstage)
7400 @[ -f ./byacc/Makefile ] || exit 0; \
7401 r=`${PWD_COMMAND}`; export r; \
7402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7403 $(HOST_EXPORTS) \
7404 for flag in $(EXTRA_HOST_FLAGS) ; do \
7405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7406 done; \
7407 echo "Doing installcheck in byacc" ; \
7408 (cd $(HOST_SUBDIR)/byacc && \
7409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7411 "RANLIB=$${RANLIB}" \
7412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7413 installcheck) \
7414 || exit 1
7416 @endif byacc
7418 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
7419 maybe-mostlyclean-byacc:
7420 @if byacc
7421 maybe-mostlyclean-byacc: mostlyclean-byacc
7423 mostlyclean-byacc:
7424 @: $(MAKE); $(unstage)
7425 @[ -f ./byacc/Makefile ] || exit 0; \
7426 r=`${PWD_COMMAND}`; export r; \
7427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7428 $(HOST_EXPORTS) \
7429 for flag in $(EXTRA_HOST_FLAGS) ; do \
7430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7431 done; \
7432 echo "Doing mostlyclean in byacc" ; \
7433 (cd $(HOST_SUBDIR)/byacc && \
7434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7436 "RANLIB=$${RANLIB}" \
7437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7438 mostlyclean) \
7439 || exit 1
7441 @endif byacc
7443 .PHONY: maybe-clean-byacc clean-byacc
7444 maybe-clean-byacc:
7445 @if byacc
7446 maybe-clean-byacc: clean-byacc
7448 clean-byacc:
7449 @: $(MAKE); $(unstage)
7450 @[ -f ./byacc/Makefile ] || exit 0; \
7451 r=`${PWD_COMMAND}`; export r; \
7452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7453 $(HOST_EXPORTS) \
7454 for flag in $(EXTRA_HOST_FLAGS) ; do \
7455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7456 done; \
7457 echo "Doing clean in byacc" ; \
7458 (cd $(HOST_SUBDIR)/byacc && \
7459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7461 "RANLIB=$${RANLIB}" \
7462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7463 clean) \
7464 || exit 1
7466 @endif byacc
7468 .PHONY: maybe-distclean-byacc distclean-byacc
7469 maybe-distclean-byacc:
7470 @if byacc
7471 maybe-distclean-byacc: distclean-byacc
7473 distclean-byacc:
7474 @: $(MAKE); $(unstage)
7475 @[ -f ./byacc/Makefile ] || exit 0; \
7476 r=`${PWD_COMMAND}`; export r; \
7477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7478 $(HOST_EXPORTS) \
7479 for flag in $(EXTRA_HOST_FLAGS) ; do \
7480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7481 done; \
7482 echo "Doing distclean in byacc" ; \
7483 (cd $(HOST_SUBDIR)/byacc && \
7484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7486 "RANLIB=$${RANLIB}" \
7487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7488 distclean) \
7489 || exit 1
7491 @endif byacc
7493 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
7494 maybe-maintainer-clean-byacc:
7495 @if byacc
7496 maybe-maintainer-clean-byacc: maintainer-clean-byacc
7498 maintainer-clean-byacc:
7499 @: $(MAKE); $(unstage)
7500 @[ -f ./byacc/Makefile ] || exit 0; \
7501 r=`${PWD_COMMAND}`; export r; \
7502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7503 $(HOST_EXPORTS) \
7504 for flag in $(EXTRA_HOST_FLAGS) ; do \
7505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7506 done; \
7507 echo "Doing maintainer-clean in byacc" ; \
7508 (cd $(HOST_SUBDIR)/byacc && \
7509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7511 "RANLIB=$${RANLIB}" \
7512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7513 maintainer-clean) \
7514 || exit 1
7516 @endif byacc
7520 .PHONY: configure-bzip2 maybe-configure-bzip2
7521 maybe-configure-bzip2:
7522 @if gcc-bootstrap
7523 configure-bzip2: stage_current
7524 @endif gcc-bootstrap
7525 @if bzip2
7526 maybe-configure-bzip2: configure-bzip2
7527 configure-bzip2:
7528 @: $(MAKE); $(unstage)
7529 @r=`${PWD_COMMAND}`; export r; \
7530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7531 test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
7532 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
7533 $(HOST_EXPORTS) \
7534 echo Configuring in $(HOST_SUBDIR)/bzip2; \
7535 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
7536 case $(srcdir) in \
7537 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7538 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
7539 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7540 esac; \
7541 srcdiroption="--srcdir=$${topdir}/bzip2"; \
7542 libsrcdir="$$s/bzip2"; \
7543 $(SHELL) $${libsrcdir}/configure \
7544 $(HOST_CONFIGARGS) $${srcdiroption} \
7545 || exit 1
7546 @endif bzip2
7552 .PHONY: all-bzip2 maybe-all-bzip2
7553 maybe-all-bzip2:
7554 @if gcc-bootstrap
7555 all-bzip2: stage_current
7556 @endif gcc-bootstrap
7557 @if bzip2
7558 TARGET-bzip2=all
7559 maybe-all-bzip2: all-bzip2
7560 all-bzip2: configure-bzip2
7561 @: $(MAKE); $(unstage)
7562 @r=`${PWD_COMMAND}`; export r; \
7563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7564 $(HOST_EXPORTS) \
7565 (cd $(HOST_SUBDIR)/bzip2 && \
7566 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
7567 @endif bzip2
7572 .PHONY: check-bzip2 maybe-check-bzip2
7573 maybe-check-bzip2:
7574 @if bzip2
7575 maybe-check-bzip2: check-bzip2
7577 check-bzip2:
7578 @: $(MAKE); $(unstage)
7579 @r=`${PWD_COMMAND}`; export r; \
7580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7581 $(HOST_EXPORTS) \
7582 (cd $(HOST_SUBDIR)/bzip2 && \
7583 $(MAKE) $(FLAGS_TO_PASS) check)
7585 @endif bzip2
7587 .PHONY: install-bzip2 maybe-install-bzip2
7588 maybe-install-bzip2:
7589 @if bzip2
7590 maybe-install-bzip2: install-bzip2
7592 install-bzip2: installdirs
7593 @: $(MAKE); $(unstage)
7594 @r=`${PWD_COMMAND}`; export r; \
7595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7596 $(HOST_EXPORTS) \
7597 (cd $(HOST_SUBDIR)/bzip2 && \
7598 $(MAKE) $(FLAGS_TO_PASS) install)
7600 @endif bzip2
7602 # Other targets (info, dvi, pdf, etc.)
7604 .PHONY: maybe-info-bzip2 info-bzip2
7605 maybe-info-bzip2:
7606 @if bzip2
7607 maybe-info-bzip2: info-bzip2
7609 info-bzip2: \
7610 configure-bzip2
7611 @: $(MAKE); $(unstage)
7612 @[ -f ./bzip2/Makefile ] || exit 0; \
7613 r=`${PWD_COMMAND}`; export r; \
7614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7615 $(HOST_EXPORTS) \
7616 for flag in $(EXTRA_HOST_FLAGS) ; do \
7617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7618 done; \
7619 echo "Doing info in bzip2" ; \
7620 (cd $(HOST_SUBDIR)/bzip2 && \
7621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7623 "RANLIB=$${RANLIB}" \
7624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7625 info) \
7626 || exit 1
7628 @endif bzip2
7630 .PHONY: maybe-dvi-bzip2 dvi-bzip2
7631 maybe-dvi-bzip2:
7632 @if bzip2
7633 maybe-dvi-bzip2: dvi-bzip2
7635 dvi-bzip2: \
7636 configure-bzip2
7637 @: $(MAKE); $(unstage)
7638 @[ -f ./bzip2/Makefile ] || exit 0; \
7639 r=`${PWD_COMMAND}`; export r; \
7640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7641 $(HOST_EXPORTS) \
7642 for flag in $(EXTRA_HOST_FLAGS) ; do \
7643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7644 done; \
7645 echo "Doing dvi in bzip2" ; \
7646 (cd $(HOST_SUBDIR)/bzip2 && \
7647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7649 "RANLIB=$${RANLIB}" \
7650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7651 dvi) \
7652 || exit 1
7654 @endif bzip2
7656 .PHONY: maybe-pdf-bzip2 pdf-bzip2
7657 maybe-pdf-bzip2:
7658 @if bzip2
7659 maybe-pdf-bzip2: pdf-bzip2
7661 pdf-bzip2: \
7662 configure-bzip2
7663 @: $(MAKE); $(unstage)
7664 @[ -f ./bzip2/Makefile ] || exit 0; \
7665 r=`${PWD_COMMAND}`; export r; \
7666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7667 $(HOST_EXPORTS) \
7668 for flag in $(EXTRA_HOST_FLAGS) ; do \
7669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7670 done; \
7671 echo "Doing pdf in bzip2" ; \
7672 (cd $(HOST_SUBDIR)/bzip2 && \
7673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7675 "RANLIB=$${RANLIB}" \
7676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7677 pdf) \
7678 || exit 1
7680 @endif bzip2
7682 .PHONY: maybe-html-bzip2 html-bzip2
7683 maybe-html-bzip2:
7684 @if bzip2
7685 maybe-html-bzip2: html-bzip2
7687 html-bzip2: \
7688 configure-bzip2
7689 @: $(MAKE); $(unstage)
7690 @[ -f ./bzip2/Makefile ] || exit 0; \
7691 r=`${PWD_COMMAND}`; export r; \
7692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7693 $(HOST_EXPORTS) \
7694 for flag in $(EXTRA_HOST_FLAGS) ; do \
7695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7696 done; \
7697 echo "Doing html in bzip2" ; \
7698 (cd $(HOST_SUBDIR)/bzip2 && \
7699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7701 "RANLIB=$${RANLIB}" \
7702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7703 html) \
7704 || exit 1
7706 @endif bzip2
7708 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
7709 maybe-TAGS-bzip2:
7710 @if bzip2
7711 maybe-TAGS-bzip2: TAGS-bzip2
7713 TAGS-bzip2: \
7714 configure-bzip2
7715 @: $(MAKE); $(unstage)
7716 @[ -f ./bzip2/Makefile ] || exit 0; \
7717 r=`${PWD_COMMAND}`; export r; \
7718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7719 $(HOST_EXPORTS) \
7720 for flag in $(EXTRA_HOST_FLAGS) ; do \
7721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7722 done; \
7723 echo "Doing TAGS in bzip2" ; \
7724 (cd $(HOST_SUBDIR)/bzip2 && \
7725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7727 "RANLIB=$${RANLIB}" \
7728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7729 TAGS) \
7730 || exit 1
7732 @endif bzip2
7734 .PHONY: maybe-install-info-bzip2 install-info-bzip2
7735 maybe-install-info-bzip2:
7736 @if bzip2
7737 maybe-install-info-bzip2: install-info-bzip2
7739 install-info-bzip2: \
7740 configure-bzip2 \
7741 info-bzip2
7742 @: $(MAKE); $(unstage)
7743 @[ -f ./bzip2/Makefile ] || exit 0; \
7744 r=`${PWD_COMMAND}`; export r; \
7745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7746 $(HOST_EXPORTS) \
7747 for flag in $(EXTRA_HOST_FLAGS) ; do \
7748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7749 done; \
7750 echo "Doing install-info in bzip2" ; \
7751 (cd $(HOST_SUBDIR)/bzip2 && \
7752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7754 "RANLIB=$${RANLIB}" \
7755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7756 install-info) \
7757 || exit 1
7759 @endif bzip2
7761 .PHONY: maybe-install-html-bzip2 install-html-bzip2
7762 maybe-install-html-bzip2:
7763 @if bzip2
7764 maybe-install-html-bzip2: install-html-bzip2
7766 install-html-bzip2: \
7767 configure-bzip2 \
7768 html-bzip2
7769 @: $(MAKE); $(unstage)
7770 @[ -f ./bzip2/Makefile ] || exit 0; \
7771 r=`${PWD_COMMAND}`; export r; \
7772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7773 $(HOST_EXPORTS) \
7774 for flag in $(EXTRA_HOST_FLAGS) ; do \
7775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7776 done; \
7777 echo "Doing install-html in bzip2" ; \
7778 (cd $(HOST_SUBDIR)/bzip2 && \
7779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7781 "RANLIB=$${RANLIB}" \
7782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7783 install-html) \
7784 || exit 1
7786 @endif bzip2
7788 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
7789 maybe-installcheck-bzip2:
7790 @if bzip2
7791 maybe-installcheck-bzip2: installcheck-bzip2
7793 installcheck-bzip2: \
7794 configure-bzip2
7795 @: $(MAKE); $(unstage)
7796 @[ -f ./bzip2/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 installcheck in bzip2" ; \
7804 (cd $(HOST_SUBDIR)/bzip2 && \
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 installcheck) \
7810 || exit 1
7812 @endif bzip2
7814 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
7815 maybe-mostlyclean-bzip2:
7816 @if bzip2
7817 maybe-mostlyclean-bzip2: mostlyclean-bzip2
7819 mostlyclean-bzip2:
7820 @: $(MAKE); $(unstage)
7821 @[ -f ./bzip2/Makefile ] || exit 0; \
7822 r=`${PWD_COMMAND}`; export r; \
7823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7824 $(HOST_EXPORTS) \
7825 for flag in $(EXTRA_HOST_FLAGS) ; do \
7826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7827 done; \
7828 echo "Doing mostlyclean in bzip2" ; \
7829 (cd $(HOST_SUBDIR)/bzip2 && \
7830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7832 "RANLIB=$${RANLIB}" \
7833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7834 mostlyclean) \
7835 || exit 1
7837 @endif bzip2
7839 .PHONY: maybe-clean-bzip2 clean-bzip2
7840 maybe-clean-bzip2:
7841 @if bzip2
7842 maybe-clean-bzip2: clean-bzip2
7844 clean-bzip2:
7845 @: $(MAKE); $(unstage)
7846 @[ -f ./bzip2/Makefile ] || exit 0; \
7847 r=`${PWD_COMMAND}`; export r; \
7848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7849 $(HOST_EXPORTS) \
7850 for flag in $(EXTRA_HOST_FLAGS) ; do \
7851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7852 done; \
7853 echo "Doing clean in bzip2" ; \
7854 (cd $(HOST_SUBDIR)/bzip2 && \
7855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7857 "RANLIB=$${RANLIB}" \
7858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7859 clean) \
7860 || exit 1
7862 @endif bzip2
7864 .PHONY: maybe-distclean-bzip2 distclean-bzip2
7865 maybe-distclean-bzip2:
7866 @if bzip2
7867 maybe-distclean-bzip2: distclean-bzip2
7869 distclean-bzip2:
7870 @: $(MAKE); $(unstage)
7871 @[ -f ./bzip2/Makefile ] || exit 0; \
7872 r=`${PWD_COMMAND}`; export r; \
7873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7874 $(HOST_EXPORTS) \
7875 for flag in $(EXTRA_HOST_FLAGS) ; do \
7876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7877 done; \
7878 echo "Doing distclean in bzip2" ; \
7879 (cd $(HOST_SUBDIR)/bzip2 && \
7880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7882 "RANLIB=$${RANLIB}" \
7883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7884 distclean) \
7885 || exit 1
7887 @endif bzip2
7889 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
7890 maybe-maintainer-clean-bzip2:
7891 @if bzip2
7892 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
7894 maintainer-clean-bzip2:
7895 @: $(MAKE); $(unstage)
7896 @[ -f ./bzip2/Makefile ] || exit 0; \
7897 r=`${PWD_COMMAND}`; export r; \
7898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7899 $(HOST_EXPORTS) \
7900 for flag in $(EXTRA_HOST_FLAGS) ; do \
7901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7902 done; \
7903 echo "Doing maintainer-clean in bzip2" ; \
7904 (cd $(HOST_SUBDIR)/bzip2 && \
7905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7907 "RANLIB=$${RANLIB}" \
7908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7909 maintainer-clean) \
7910 || exit 1
7912 @endif bzip2
7916 .PHONY: configure-dejagnu maybe-configure-dejagnu
7917 maybe-configure-dejagnu:
7918 @if gcc-bootstrap
7919 configure-dejagnu: stage_current
7920 @endif gcc-bootstrap
7921 @if dejagnu
7922 maybe-configure-dejagnu: configure-dejagnu
7923 configure-dejagnu:
7924 @: $(MAKE); $(unstage)
7925 @r=`${PWD_COMMAND}`; export r; \
7926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7927 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7928 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
7929 $(HOST_EXPORTS) \
7930 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7931 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7932 case $(srcdir) in \
7933 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7934 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7935 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7936 esac; \
7937 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
7938 libsrcdir="$$s/dejagnu"; \
7939 $(SHELL) $${libsrcdir}/configure \
7940 $(HOST_CONFIGARGS) $${srcdiroption} \
7941 || exit 1
7942 @endif dejagnu
7948 .PHONY: all-dejagnu maybe-all-dejagnu
7949 maybe-all-dejagnu:
7950 @if gcc-bootstrap
7951 all-dejagnu: stage_current
7952 @endif gcc-bootstrap
7953 @if dejagnu
7954 TARGET-dejagnu=all
7955 maybe-all-dejagnu: all-dejagnu
7956 all-dejagnu: configure-dejagnu
7957 @: $(MAKE); $(unstage)
7958 @r=`${PWD_COMMAND}`; export r; \
7959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7960 $(HOST_EXPORTS) \
7961 (cd $(HOST_SUBDIR)/dejagnu && \
7962 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
7963 @endif dejagnu
7968 .PHONY: check-dejagnu maybe-check-dejagnu
7969 maybe-check-dejagnu:
7970 @if dejagnu
7971 maybe-check-dejagnu: check-dejagnu
7973 check-dejagnu:
7974 @: $(MAKE); $(unstage)
7975 @r=`${PWD_COMMAND}`; export r; \
7976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7977 $(HOST_EXPORTS) \
7978 (cd $(HOST_SUBDIR)/dejagnu && \
7979 $(MAKE) $(FLAGS_TO_PASS) check)
7981 @endif dejagnu
7983 .PHONY: install-dejagnu maybe-install-dejagnu
7984 maybe-install-dejagnu:
7985 @if dejagnu
7986 maybe-install-dejagnu: install-dejagnu
7988 install-dejagnu: installdirs
7989 @: $(MAKE); $(unstage)
7990 @r=`${PWD_COMMAND}`; export r; \
7991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7992 $(HOST_EXPORTS) \
7993 (cd $(HOST_SUBDIR)/dejagnu && \
7994 $(MAKE) $(FLAGS_TO_PASS) install)
7996 @endif dejagnu
7998 # Other targets (info, dvi, pdf, etc.)
8000 .PHONY: maybe-info-dejagnu info-dejagnu
8001 maybe-info-dejagnu:
8002 @if dejagnu
8003 maybe-info-dejagnu: info-dejagnu
8005 info-dejagnu: \
8006 configure-dejagnu
8007 @: $(MAKE); $(unstage)
8008 @[ -f ./dejagnu/Makefile ] || exit 0; \
8009 r=`${PWD_COMMAND}`; export r; \
8010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8011 $(HOST_EXPORTS) \
8012 for flag in $(EXTRA_HOST_FLAGS) ; do \
8013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8014 done; \
8015 echo "Doing info in dejagnu" ; \
8016 (cd $(HOST_SUBDIR)/dejagnu && \
8017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8019 "RANLIB=$${RANLIB}" \
8020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8021 info) \
8022 || exit 1
8024 @endif dejagnu
8026 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
8027 maybe-dvi-dejagnu:
8028 @if dejagnu
8029 maybe-dvi-dejagnu: dvi-dejagnu
8031 dvi-dejagnu: \
8032 configure-dejagnu
8033 @: $(MAKE); $(unstage)
8034 @[ -f ./dejagnu/Makefile ] || exit 0; \
8035 r=`${PWD_COMMAND}`; export r; \
8036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8037 $(HOST_EXPORTS) \
8038 for flag in $(EXTRA_HOST_FLAGS) ; do \
8039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8040 done; \
8041 echo "Doing dvi in dejagnu" ; \
8042 (cd $(HOST_SUBDIR)/dejagnu && \
8043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8045 "RANLIB=$${RANLIB}" \
8046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8047 dvi) \
8048 || exit 1
8050 @endif dejagnu
8052 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
8053 maybe-pdf-dejagnu:
8054 @if dejagnu
8055 maybe-pdf-dejagnu: pdf-dejagnu
8057 pdf-dejagnu: \
8058 configure-dejagnu
8059 @: $(MAKE); $(unstage)
8060 @[ -f ./dejagnu/Makefile ] || exit 0; \
8061 r=`${PWD_COMMAND}`; export r; \
8062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8063 $(HOST_EXPORTS) \
8064 for flag in $(EXTRA_HOST_FLAGS) ; do \
8065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8066 done; \
8067 echo "Doing pdf in dejagnu" ; \
8068 (cd $(HOST_SUBDIR)/dejagnu && \
8069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8071 "RANLIB=$${RANLIB}" \
8072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8073 pdf) \
8074 || exit 1
8076 @endif dejagnu
8078 .PHONY: maybe-html-dejagnu html-dejagnu
8079 maybe-html-dejagnu:
8080 @if dejagnu
8081 maybe-html-dejagnu: html-dejagnu
8083 html-dejagnu: \
8084 configure-dejagnu
8085 @: $(MAKE); $(unstage)
8086 @[ -f ./dejagnu/Makefile ] || exit 0; \
8087 r=`${PWD_COMMAND}`; export r; \
8088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8089 $(HOST_EXPORTS) \
8090 for flag in $(EXTRA_HOST_FLAGS) ; do \
8091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8092 done; \
8093 echo "Doing html in dejagnu" ; \
8094 (cd $(HOST_SUBDIR)/dejagnu && \
8095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8097 "RANLIB=$${RANLIB}" \
8098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8099 html) \
8100 || exit 1
8102 @endif dejagnu
8104 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
8105 maybe-TAGS-dejagnu:
8106 @if dejagnu
8107 maybe-TAGS-dejagnu: TAGS-dejagnu
8109 TAGS-dejagnu: \
8110 configure-dejagnu
8111 @: $(MAKE); $(unstage)
8112 @[ -f ./dejagnu/Makefile ] || exit 0; \
8113 r=`${PWD_COMMAND}`; export r; \
8114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8115 $(HOST_EXPORTS) \
8116 for flag in $(EXTRA_HOST_FLAGS) ; do \
8117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8118 done; \
8119 echo "Doing TAGS in dejagnu" ; \
8120 (cd $(HOST_SUBDIR)/dejagnu && \
8121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8123 "RANLIB=$${RANLIB}" \
8124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8125 TAGS) \
8126 || exit 1
8128 @endif dejagnu
8130 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
8131 maybe-install-info-dejagnu:
8132 @if dejagnu
8133 maybe-install-info-dejagnu: install-info-dejagnu
8135 install-info-dejagnu: \
8136 configure-dejagnu \
8137 info-dejagnu
8138 @: $(MAKE); $(unstage)
8139 @[ -f ./dejagnu/Makefile ] || exit 0; \
8140 r=`${PWD_COMMAND}`; export r; \
8141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8142 $(HOST_EXPORTS) \
8143 for flag in $(EXTRA_HOST_FLAGS) ; do \
8144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8145 done; \
8146 echo "Doing install-info in dejagnu" ; \
8147 (cd $(HOST_SUBDIR)/dejagnu && \
8148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8150 "RANLIB=$${RANLIB}" \
8151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8152 install-info) \
8153 || exit 1
8155 @endif dejagnu
8157 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
8158 maybe-install-html-dejagnu:
8159 @if dejagnu
8160 maybe-install-html-dejagnu: install-html-dejagnu
8162 install-html-dejagnu: \
8163 configure-dejagnu \
8164 html-dejagnu
8165 @: $(MAKE); $(unstage)
8166 @[ -f ./dejagnu/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 install-html in dejagnu" ; \
8174 (cd $(HOST_SUBDIR)/dejagnu && \
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 install-html) \
8180 || exit 1
8182 @endif dejagnu
8184 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
8185 maybe-installcheck-dejagnu:
8186 @if dejagnu
8187 maybe-installcheck-dejagnu: installcheck-dejagnu
8189 installcheck-dejagnu: \
8190 configure-dejagnu
8191 @: $(MAKE); $(unstage)
8192 @[ -f ./dejagnu/Makefile ] || exit 0; \
8193 r=`${PWD_COMMAND}`; export r; \
8194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8195 $(HOST_EXPORTS) \
8196 for flag in $(EXTRA_HOST_FLAGS) ; do \
8197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8198 done; \
8199 echo "Doing installcheck in dejagnu" ; \
8200 (cd $(HOST_SUBDIR)/dejagnu && \
8201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8203 "RANLIB=$${RANLIB}" \
8204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8205 installcheck) \
8206 || exit 1
8208 @endif dejagnu
8210 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
8211 maybe-mostlyclean-dejagnu:
8212 @if dejagnu
8213 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
8215 mostlyclean-dejagnu:
8216 @: $(MAKE); $(unstage)
8217 @[ -f ./dejagnu/Makefile ] || exit 0; \
8218 r=`${PWD_COMMAND}`; export r; \
8219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8220 $(HOST_EXPORTS) \
8221 for flag in $(EXTRA_HOST_FLAGS) ; do \
8222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8223 done; \
8224 echo "Doing mostlyclean in dejagnu" ; \
8225 (cd $(HOST_SUBDIR)/dejagnu && \
8226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8228 "RANLIB=$${RANLIB}" \
8229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8230 mostlyclean) \
8231 || exit 1
8233 @endif dejagnu
8235 .PHONY: maybe-clean-dejagnu clean-dejagnu
8236 maybe-clean-dejagnu:
8237 @if dejagnu
8238 maybe-clean-dejagnu: clean-dejagnu
8240 clean-dejagnu:
8241 @: $(MAKE); $(unstage)
8242 @[ -f ./dejagnu/Makefile ] || exit 0; \
8243 r=`${PWD_COMMAND}`; export r; \
8244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8245 $(HOST_EXPORTS) \
8246 for flag in $(EXTRA_HOST_FLAGS) ; do \
8247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8248 done; \
8249 echo "Doing clean in dejagnu" ; \
8250 (cd $(HOST_SUBDIR)/dejagnu && \
8251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8253 "RANLIB=$${RANLIB}" \
8254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8255 clean) \
8256 || exit 1
8258 @endif dejagnu
8260 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
8261 maybe-distclean-dejagnu:
8262 @if dejagnu
8263 maybe-distclean-dejagnu: distclean-dejagnu
8265 distclean-dejagnu:
8266 @: $(MAKE); $(unstage)
8267 @[ -f ./dejagnu/Makefile ] || exit 0; \
8268 r=`${PWD_COMMAND}`; export r; \
8269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8270 $(HOST_EXPORTS) \
8271 for flag in $(EXTRA_HOST_FLAGS) ; do \
8272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8273 done; \
8274 echo "Doing distclean in dejagnu" ; \
8275 (cd $(HOST_SUBDIR)/dejagnu && \
8276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8278 "RANLIB=$${RANLIB}" \
8279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8280 distclean) \
8281 || exit 1
8283 @endif dejagnu
8285 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
8286 maybe-maintainer-clean-dejagnu:
8287 @if dejagnu
8288 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
8290 maintainer-clean-dejagnu:
8291 @: $(MAKE); $(unstage)
8292 @[ -f ./dejagnu/Makefile ] || exit 0; \
8293 r=`${PWD_COMMAND}`; export r; \
8294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8295 $(HOST_EXPORTS) \
8296 for flag in $(EXTRA_HOST_FLAGS) ; do \
8297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8298 done; \
8299 echo "Doing maintainer-clean in dejagnu" ; \
8300 (cd $(HOST_SUBDIR)/dejagnu && \
8301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8303 "RANLIB=$${RANLIB}" \
8304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8305 maintainer-clean) \
8306 || exit 1
8308 @endif dejagnu
8312 .PHONY: configure-diff maybe-configure-diff
8313 maybe-configure-diff:
8314 @if gcc-bootstrap
8315 configure-diff: stage_current
8316 @endif gcc-bootstrap
8317 @if diff
8318 maybe-configure-diff: configure-diff
8319 configure-diff:
8320 @: $(MAKE); $(unstage)
8321 @r=`${PWD_COMMAND}`; export r; \
8322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8323 test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
8324 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
8325 $(HOST_EXPORTS) \
8326 echo Configuring in $(HOST_SUBDIR)/diff; \
8327 cd "$(HOST_SUBDIR)/diff" || exit 1; \
8328 case $(srcdir) in \
8329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8330 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
8331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8332 esac; \
8333 srcdiroption="--srcdir=$${topdir}/diff"; \
8334 libsrcdir="$$s/diff"; \
8335 $(SHELL) $${libsrcdir}/configure \
8336 $(HOST_CONFIGARGS) $${srcdiroption} \
8337 || exit 1
8338 @endif diff
8344 .PHONY: all-diff maybe-all-diff
8345 maybe-all-diff:
8346 @if gcc-bootstrap
8347 all-diff: stage_current
8348 @endif gcc-bootstrap
8349 @if diff
8350 TARGET-diff=all
8351 maybe-all-diff: all-diff
8352 all-diff: configure-diff
8353 @: $(MAKE); $(unstage)
8354 @r=`${PWD_COMMAND}`; export r; \
8355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8356 $(HOST_EXPORTS) \
8357 (cd $(HOST_SUBDIR)/diff && \
8358 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
8359 @endif diff
8364 .PHONY: check-diff maybe-check-diff
8365 maybe-check-diff:
8366 @if diff
8367 maybe-check-diff: check-diff
8369 check-diff:
8370 @: $(MAKE); $(unstage)
8371 @r=`${PWD_COMMAND}`; export r; \
8372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8373 $(HOST_EXPORTS) \
8374 (cd $(HOST_SUBDIR)/diff && \
8375 $(MAKE) $(FLAGS_TO_PASS) check)
8377 @endif diff
8379 .PHONY: install-diff maybe-install-diff
8380 maybe-install-diff:
8381 @if diff
8382 maybe-install-diff: install-diff
8384 install-diff: installdirs
8385 @: $(MAKE); $(unstage)
8386 @r=`${PWD_COMMAND}`; export r; \
8387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8388 $(HOST_EXPORTS) \
8389 (cd $(HOST_SUBDIR)/diff && \
8390 $(MAKE) $(FLAGS_TO_PASS) install)
8392 @endif diff
8394 # Other targets (info, dvi, pdf, etc.)
8396 .PHONY: maybe-info-diff info-diff
8397 maybe-info-diff:
8398 @if diff
8399 maybe-info-diff: info-diff
8401 info-diff: \
8402 configure-diff
8403 @: $(MAKE); $(unstage)
8404 @[ -f ./diff/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 info in diff" ; \
8412 (cd $(HOST_SUBDIR)/diff && \
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 info) \
8418 || exit 1
8420 @endif diff
8422 .PHONY: maybe-dvi-diff dvi-diff
8423 maybe-dvi-diff:
8424 @if diff
8425 maybe-dvi-diff: dvi-diff
8427 dvi-diff: \
8428 configure-diff
8429 @: $(MAKE); $(unstage)
8430 @[ -f ./diff/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 dvi in diff" ; \
8438 (cd $(HOST_SUBDIR)/diff && \
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 dvi) \
8444 || exit 1
8446 @endif diff
8448 .PHONY: maybe-pdf-diff pdf-diff
8449 maybe-pdf-diff:
8450 @if diff
8451 maybe-pdf-diff: pdf-diff
8453 pdf-diff: \
8454 configure-diff
8455 @: $(MAKE); $(unstage)
8456 @[ -f ./diff/Makefile ] || exit 0; \
8457 r=`${PWD_COMMAND}`; export r; \
8458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8459 $(HOST_EXPORTS) \
8460 for flag in $(EXTRA_HOST_FLAGS) ; do \
8461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8462 done; \
8463 echo "Doing pdf in diff" ; \
8464 (cd $(HOST_SUBDIR)/diff && \
8465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8467 "RANLIB=$${RANLIB}" \
8468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8469 pdf) \
8470 || exit 1
8472 @endif diff
8474 .PHONY: maybe-html-diff html-diff
8475 maybe-html-diff:
8476 @if diff
8477 maybe-html-diff: html-diff
8479 html-diff: \
8480 configure-diff
8481 @: $(MAKE); $(unstage)
8482 @[ -f ./diff/Makefile ] || exit 0; \
8483 r=`${PWD_COMMAND}`; export r; \
8484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8485 $(HOST_EXPORTS) \
8486 for flag in $(EXTRA_HOST_FLAGS) ; do \
8487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8488 done; \
8489 echo "Doing html in diff" ; \
8490 (cd $(HOST_SUBDIR)/diff && \
8491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8493 "RANLIB=$${RANLIB}" \
8494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8495 html) \
8496 || exit 1
8498 @endif diff
8500 .PHONY: maybe-TAGS-diff TAGS-diff
8501 maybe-TAGS-diff:
8502 @if diff
8503 maybe-TAGS-diff: TAGS-diff
8505 TAGS-diff: \
8506 configure-diff
8507 @: $(MAKE); $(unstage)
8508 @[ -f ./diff/Makefile ] || exit 0; \
8509 r=`${PWD_COMMAND}`; export r; \
8510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8511 $(HOST_EXPORTS) \
8512 for flag in $(EXTRA_HOST_FLAGS) ; do \
8513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8514 done; \
8515 echo "Doing TAGS in diff" ; \
8516 (cd $(HOST_SUBDIR)/diff && \
8517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8519 "RANLIB=$${RANLIB}" \
8520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8521 TAGS) \
8522 || exit 1
8524 @endif diff
8526 .PHONY: maybe-install-info-diff install-info-diff
8527 maybe-install-info-diff:
8528 @if diff
8529 maybe-install-info-diff: install-info-diff
8531 install-info-diff: \
8532 configure-diff \
8533 info-diff
8534 @: $(MAKE); $(unstage)
8535 @[ -f ./diff/Makefile ] || exit 0; \
8536 r=`${PWD_COMMAND}`; export r; \
8537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8538 $(HOST_EXPORTS) \
8539 for flag in $(EXTRA_HOST_FLAGS) ; do \
8540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8541 done; \
8542 echo "Doing install-info in diff" ; \
8543 (cd $(HOST_SUBDIR)/diff && \
8544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8546 "RANLIB=$${RANLIB}" \
8547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8548 install-info) \
8549 || exit 1
8551 @endif diff
8553 .PHONY: maybe-install-html-diff install-html-diff
8554 maybe-install-html-diff:
8555 @if diff
8556 maybe-install-html-diff: install-html-diff
8558 install-html-diff: \
8559 configure-diff \
8560 html-diff
8561 @: $(MAKE); $(unstage)
8562 @[ -f ./diff/Makefile ] || exit 0; \
8563 r=`${PWD_COMMAND}`; export r; \
8564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8565 $(HOST_EXPORTS) \
8566 for flag in $(EXTRA_HOST_FLAGS) ; do \
8567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8568 done; \
8569 echo "Doing install-html in diff" ; \
8570 (cd $(HOST_SUBDIR)/diff && \
8571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8573 "RANLIB=$${RANLIB}" \
8574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8575 install-html) \
8576 || exit 1
8578 @endif diff
8580 .PHONY: maybe-installcheck-diff installcheck-diff
8581 maybe-installcheck-diff:
8582 @if diff
8583 maybe-installcheck-diff: installcheck-diff
8585 installcheck-diff: \
8586 configure-diff
8587 @: $(MAKE); $(unstage)
8588 @[ -f ./diff/Makefile ] || exit 0; \
8589 r=`${PWD_COMMAND}`; export r; \
8590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8591 $(HOST_EXPORTS) \
8592 for flag in $(EXTRA_HOST_FLAGS) ; do \
8593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8594 done; \
8595 echo "Doing installcheck in diff" ; \
8596 (cd $(HOST_SUBDIR)/diff && \
8597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8599 "RANLIB=$${RANLIB}" \
8600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8601 installcheck) \
8602 || exit 1
8604 @endif diff
8606 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
8607 maybe-mostlyclean-diff:
8608 @if diff
8609 maybe-mostlyclean-diff: mostlyclean-diff
8611 mostlyclean-diff:
8612 @: $(MAKE); $(unstage)
8613 @[ -f ./diff/Makefile ] || exit 0; \
8614 r=`${PWD_COMMAND}`; export r; \
8615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8616 $(HOST_EXPORTS) \
8617 for flag in $(EXTRA_HOST_FLAGS) ; do \
8618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8619 done; \
8620 echo "Doing mostlyclean in diff" ; \
8621 (cd $(HOST_SUBDIR)/diff && \
8622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8624 "RANLIB=$${RANLIB}" \
8625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8626 mostlyclean) \
8627 || exit 1
8629 @endif diff
8631 .PHONY: maybe-clean-diff clean-diff
8632 maybe-clean-diff:
8633 @if diff
8634 maybe-clean-diff: clean-diff
8636 clean-diff:
8637 @: $(MAKE); $(unstage)
8638 @[ -f ./diff/Makefile ] || exit 0; \
8639 r=`${PWD_COMMAND}`; export r; \
8640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8641 $(HOST_EXPORTS) \
8642 for flag in $(EXTRA_HOST_FLAGS) ; do \
8643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8644 done; \
8645 echo "Doing clean in diff" ; \
8646 (cd $(HOST_SUBDIR)/diff && \
8647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8649 "RANLIB=$${RANLIB}" \
8650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8651 clean) \
8652 || exit 1
8654 @endif diff
8656 .PHONY: maybe-distclean-diff distclean-diff
8657 maybe-distclean-diff:
8658 @if diff
8659 maybe-distclean-diff: distclean-diff
8661 distclean-diff:
8662 @: $(MAKE); $(unstage)
8663 @[ -f ./diff/Makefile ] || exit 0; \
8664 r=`${PWD_COMMAND}`; export r; \
8665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8666 $(HOST_EXPORTS) \
8667 for flag in $(EXTRA_HOST_FLAGS) ; do \
8668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8669 done; \
8670 echo "Doing distclean in diff" ; \
8671 (cd $(HOST_SUBDIR)/diff && \
8672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8674 "RANLIB=$${RANLIB}" \
8675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8676 distclean) \
8677 || exit 1
8679 @endif diff
8681 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
8682 maybe-maintainer-clean-diff:
8683 @if diff
8684 maybe-maintainer-clean-diff: maintainer-clean-diff
8686 maintainer-clean-diff:
8687 @: $(MAKE); $(unstage)
8688 @[ -f ./diff/Makefile ] || exit 0; \
8689 r=`${PWD_COMMAND}`; export r; \
8690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8691 $(HOST_EXPORTS) \
8692 for flag in $(EXTRA_HOST_FLAGS) ; do \
8693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8694 done; \
8695 echo "Doing maintainer-clean in diff" ; \
8696 (cd $(HOST_SUBDIR)/diff && \
8697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8699 "RANLIB=$${RANLIB}" \
8700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8701 maintainer-clean) \
8702 || exit 1
8704 @endif diff
8708 .PHONY: configure-dosutils maybe-configure-dosutils
8709 maybe-configure-dosutils:
8710 @if gcc-bootstrap
8711 configure-dosutils: stage_current
8712 @endif gcc-bootstrap
8713 @if dosutils
8714 maybe-configure-dosutils: configure-dosutils
8715 configure-dosutils:
8716 @: $(MAKE); $(unstage)
8717 @r=`${PWD_COMMAND}`; export r; \
8718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8719 test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
8720 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
8721 $(HOST_EXPORTS) \
8722 echo Configuring in $(HOST_SUBDIR)/dosutils; \
8723 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
8724 case $(srcdir) in \
8725 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8726 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
8727 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8728 esac; \
8729 srcdiroption="--srcdir=$${topdir}/dosutils"; \
8730 libsrcdir="$$s/dosutils"; \
8731 $(SHELL) $${libsrcdir}/configure \
8732 $(HOST_CONFIGARGS) $${srcdiroption} \
8733 || exit 1
8734 @endif dosutils
8740 .PHONY: all-dosutils maybe-all-dosutils
8741 maybe-all-dosutils:
8742 @if gcc-bootstrap
8743 all-dosutils: stage_current
8744 @endif gcc-bootstrap
8745 @if dosutils
8746 TARGET-dosutils=all
8747 maybe-all-dosutils: all-dosutils
8748 all-dosutils: configure-dosutils
8749 @: $(MAKE); $(unstage)
8750 @r=`${PWD_COMMAND}`; export r; \
8751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8752 $(HOST_EXPORTS) \
8753 (cd $(HOST_SUBDIR)/dosutils && \
8754 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
8755 @endif dosutils
8760 .PHONY: check-dosutils maybe-check-dosutils
8761 maybe-check-dosutils:
8762 @if dosutils
8763 maybe-check-dosutils: check-dosutils
8765 check-dosutils:
8767 @endif dosutils
8769 .PHONY: install-dosutils maybe-install-dosutils
8770 maybe-install-dosutils:
8771 @if dosutils
8772 maybe-install-dosutils: install-dosutils
8774 install-dosutils: installdirs
8775 @: $(MAKE); $(unstage)
8776 @r=`${PWD_COMMAND}`; export r; \
8777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8778 $(HOST_EXPORTS) \
8779 (cd $(HOST_SUBDIR)/dosutils && \
8780 $(MAKE) $(FLAGS_TO_PASS) install)
8782 @endif dosutils
8784 # Other targets (info, dvi, pdf, etc.)
8786 .PHONY: maybe-info-dosutils info-dosutils
8787 maybe-info-dosutils:
8788 @if dosutils
8789 maybe-info-dosutils: info-dosutils
8791 info-dosutils: \
8792 configure-dosutils
8793 @: $(MAKE); $(unstage)
8794 @[ -f ./dosutils/Makefile ] || exit 0; \
8795 r=`${PWD_COMMAND}`; export r; \
8796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8797 $(HOST_EXPORTS) \
8798 for flag in $(EXTRA_HOST_FLAGS) ; do \
8799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8800 done; \
8801 echo "Doing info in dosutils" ; \
8802 (cd $(HOST_SUBDIR)/dosutils && \
8803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8805 "RANLIB=$${RANLIB}" \
8806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8807 info) \
8808 || exit 1
8810 @endif dosutils
8812 .PHONY: maybe-dvi-dosutils dvi-dosutils
8813 maybe-dvi-dosutils:
8814 @if dosutils
8815 maybe-dvi-dosutils: dvi-dosutils
8817 dvi-dosutils: \
8818 configure-dosutils
8819 @: $(MAKE); $(unstage)
8820 @[ -f ./dosutils/Makefile ] || exit 0; \
8821 r=`${PWD_COMMAND}`; export r; \
8822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8823 $(HOST_EXPORTS) \
8824 for flag in $(EXTRA_HOST_FLAGS) ; do \
8825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8826 done; \
8827 echo "Doing dvi in dosutils" ; \
8828 (cd $(HOST_SUBDIR)/dosutils && \
8829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8831 "RANLIB=$${RANLIB}" \
8832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8833 dvi) \
8834 || exit 1
8836 @endif dosutils
8838 .PHONY: maybe-pdf-dosutils pdf-dosutils
8839 maybe-pdf-dosutils:
8840 @if dosutils
8841 maybe-pdf-dosutils: pdf-dosutils
8843 pdf-dosutils: \
8844 configure-dosutils
8845 @: $(MAKE); $(unstage)
8846 @[ -f ./dosutils/Makefile ] || exit 0; \
8847 r=`${PWD_COMMAND}`; export r; \
8848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8849 $(HOST_EXPORTS) \
8850 for flag in $(EXTRA_HOST_FLAGS) ; do \
8851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8852 done; \
8853 echo "Doing pdf in dosutils" ; \
8854 (cd $(HOST_SUBDIR)/dosutils && \
8855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8857 "RANLIB=$${RANLIB}" \
8858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8859 pdf) \
8860 || exit 1
8862 @endif dosutils
8864 .PHONY: maybe-html-dosutils html-dosutils
8865 maybe-html-dosutils:
8866 @if dosutils
8867 maybe-html-dosutils: html-dosutils
8869 html-dosutils: \
8870 configure-dosutils
8871 @: $(MAKE); $(unstage)
8872 @[ -f ./dosutils/Makefile ] || exit 0; \
8873 r=`${PWD_COMMAND}`; export r; \
8874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8875 $(HOST_EXPORTS) \
8876 for flag in $(EXTRA_HOST_FLAGS) ; do \
8877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8878 done; \
8879 echo "Doing html in dosutils" ; \
8880 (cd $(HOST_SUBDIR)/dosutils && \
8881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8883 "RANLIB=$${RANLIB}" \
8884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8885 html) \
8886 || exit 1
8888 @endif dosutils
8890 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
8891 maybe-TAGS-dosutils:
8892 @if dosutils
8893 maybe-TAGS-dosutils: TAGS-dosutils
8895 TAGS-dosutils: \
8896 configure-dosutils
8897 @: $(MAKE); $(unstage)
8898 @[ -f ./dosutils/Makefile ] || exit 0; \
8899 r=`${PWD_COMMAND}`; export r; \
8900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8901 $(HOST_EXPORTS) \
8902 for flag in $(EXTRA_HOST_FLAGS) ; do \
8903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8904 done; \
8905 echo "Doing TAGS in dosutils" ; \
8906 (cd $(HOST_SUBDIR)/dosutils && \
8907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8909 "RANLIB=$${RANLIB}" \
8910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8911 TAGS) \
8912 || exit 1
8914 @endif dosutils
8916 .PHONY: maybe-install-info-dosutils install-info-dosutils
8917 maybe-install-info-dosutils:
8918 @if dosutils
8919 maybe-install-info-dosutils: install-info-dosutils
8921 install-info-dosutils: \
8922 configure-dosutils \
8923 info-dosutils
8924 @: $(MAKE); $(unstage)
8925 @[ -f ./dosutils/Makefile ] || exit 0; \
8926 r=`${PWD_COMMAND}`; export r; \
8927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8928 $(HOST_EXPORTS) \
8929 for flag in $(EXTRA_HOST_FLAGS) ; do \
8930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8931 done; \
8932 echo "Doing install-info in dosutils" ; \
8933 (cd $(HOST_SUBDIR)/dosutils && \
8934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8936 "RANLIB=$${RANLIB}" \
8937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8938 install-info) \
8939 || exit 1
8941 @endif dosutils
8943 .PHONY: maybe-install-html-dosutils install-html-dosutils
8944 maybe-install-html-dosutils:
8945 @if dosutils
8946 maybe-install-html-dosutils: install-html-dosutils
8948 install-html-dosutils: \
8949 configure-dosutils \
8950 html-dosutils
8951 @: $(MAKE); $(unstage)
8952 @[ -f ./dosutils/Makefile ] || exit 0; \
8953 r=`${PWD_COMMAND}`; export r; \
8954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8955 $(HOST_EXPORTS) \
8956 for flag in $(EXTRA_HOST_FLAGS) ; do \
8957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8958 done; \
8959 echo "Doing install-html in dosutils" ; \
8960 (cd $(HOST_SUBDIR)/dosutils && \
8961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8963 "RANLIB=$${RANLIB}" \
8964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8965 install-html) \
8966 || exit 1
8968 @endif dosutils
8970 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
8971 maybe-installcheck-dosutils:
8972 @if dosutils
8973 maybe-installcheck-dosutils: installcheck-dosutils
8975 installcheck-dosutils: \
8976 configure-dosutils
8977 @: $(MAKE); $(unstage)
8978 @[ -f ./dosutils/Makefile ] || exit 0; \
8979 r=`${PWD_COMMAND}`; export r; \
8980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8981 $(HOST_EXPORTS) \
8982 for flag in $(EXTRA_HOST_FLAGS) ; do \
8983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8984 done; \
8985 echo "Doing installcheck in dosutils" ; \
8986 (cd $(HOST_SUBDIR)/dosutils && \
8987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8989 "RANLIB=$${RANLIB}" \
8990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8991 installcheck) \
8992 || exit 1
8994 @endif dosutils
8996 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
8997 maybe-mostlyclean-dosutils:
8998 @if dosutils
8999 maybe-mostlyclean-dosutils: mostlyclean-dosutils
9001 mostlyclean-dosutils:
9002 @: $(MAKE); $(unstage)
9003 @[ -f ./dosutils/Makefile ] || exit 0; \
9004 r=`${PWD_COMMAND}`; export r; \
9005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9006 $(HOST_EXPORTS) \
9007 for flag in $(EXTRA_HOST_FLAGS) ; do \
9008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9009 done; \
9010 echo "Doing mostlyclean in dosutils" ; \
9011 (cd $(HOST_SUBDIR)/dosutils && \
9012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9014 "RANLIB=$${RANLIB}" \
9015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9016 mostlyclean) \
9017 || exit 1
9019 @endif dosutils
9021 .PHONY: maybe-clean-dosutils clean-dosutils
9022 maybe-clean-dosutils:
9023 @if dosutils
9024 maybe-clean-dosutils: clean-dosutils
9026 clean-dosutils:
9027 @: $(MAKE); $(unstage)
9028 @[ -f ./dosutils/Makefile ] || exit 0; \
9029 r=`${PWD_COMMAND}`; export r; \
9030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9031 $(HOST_EXPORTS) \
9032 for flag in $(EXTRA_HOST_FLAGS) ; do \
9033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9034 done; \
9035 echo "Doing clean in dosutils" ; \
9036 (cd $(HOST_SUBDIR)/dosutils && \
9037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9039 "RANLIB=$${RANLIB}" \
9040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9041 clean) \
9042 || exit 1
9044 @endif dosutils
9046 .PHONY: maybe-distclean-dosutils distclean-dosutils
9047 maybe-distclean-dosutils:
9048 @if dosutils
9049 maybe-distclean-dosutils: distclean-dosutils
9051 distclean-dosutils:
9052 @: $(MAKE); $(unstage)
9053 @[ -f ./dosutils/Makefile ] || exit 0; \
9054 r=`${PWD_COMMAND}`; export r; \
9055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9056 $(HOST_EXPORTS) \
9057 for flag in $(EXTRA_HOST_FLAGS) ; do \
9058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9059 done; \
9060 echo "Doing distclean in dosutils" ; \
9061 (cd $(HOST_SUBDIR)/dosutils && \
9062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9064 "RANLIB=$${RANLIB}" \
9065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9066 distclean) \
9067 || exit 1
9069 @endif dosutils
9071 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
9072 maybe-maintainer-clean-dosutils:
9073 @if dosutils
9074 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
9076 maintainer-clean-dosutils:
9077 @: $(MAKE); $(unstage)
9078 @[ -f ./dosutils/Makefile ] || exit 0; \
9079 r=`${PWD_COMMAND}`; export r; \
9080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9081 $(HOST_EXPORTS) \
9082 for flag in $(EXTRA_HOST_FLAGS) ; do \
9083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9084 done; \
9085 echo "Doing maintainer-clean in dosutils" ; \
9086 (cd $(HOST_SUBDIR)/dosutils && \
9087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9089 "RANLIB=$${RANLIB}" \
9090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9091 maintainer-clean) \
9092 || exit 1
9094 @endif dosutils
9098 .PHONY: configure-etc maybe-configure-etc
9099 maybe-configure-etc:
9100 @if gcc-bootstrap
9101 configure-etc: stage_current
9102 @endif gcc-bootstrap
9103 @if etc
9104 maybe-configure-etc: configure-etc
9105 configure-etc:
9106 @: $(MAKE); $(unstage)
9107 @r=`${PWD_COMMAND}`; export r; \
9108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9109 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
9110 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
9111 $(HOST_EXPORTS) \
9112 echo Configuring in $(HOST_SUBDIR)/etc; \
9113 cd "$(HOST_SUBDIR)/etc" || exit 1; \
9114 case $(srcdir) in \
9115 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9116 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
9117 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9118 esac; \
9119 srcdiroption="--srcdir=$${topdir}/etc"; \
9120 libsrcdir="$$s/etc"; \
9121 $(SHELL) $${libsrcdir}/configure \
9122 $(HOST_CONFIGARGS) $${srcdiroption} \
9123 || exit 1
9124 @endif etc
9130 .PHONY: all-etc maybe-all-etc
9131 maybe-all-etc:
9132 @if gcc-bootstrap
9133 all-etc: stage_current
9134 @endif gcc-bootstrap
9135 @if etc
9136 TARGET-etc=all
9137 maybe-all-etc: all-etc
9138 all-etc: configure-etc
9139 @: $(MAKE); $(unstage)
9140 @r=`${PWD_COMMAND}`; export r; \
9141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9142 $(HOST_EXPORTS) \
9143 (cd $(HOST_SUBDIR)/etc && \
9144 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
9145 @endif etc
9150 .PHONY: check-etc maybe-check-etc
9151 maybe-check-etc:
9152 @if etc
9153 maybe-check-etc: check-etc
9155 check-etc:
9156 @: $(MAKE); $(unstage)
9157 @r=`${PWD_COMMAND}`; export r; \
9158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9159 $(HOST_EXPORTS) \
9160 (cd $(HOST_SUBDIR)/etc && \
9161 $(MAKE) $(FLAGS_TO_PASS) check)
9163 @endif etc
9165 .PHONY: install-etc maybe-install-etc
9166 maybe-install-etc:
9167 @if etc
9168 maybe-install-etc: install-etc
9170 install-etc: installdirs
9171 @: $(MAKE); $(unstage)
9172 @r=`${PWD_COMMAND}`; export r; \
9173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9174 $(HOST_EXPORTS) \
9175 (cd $(HOST_SUBDIR)/etc && \
9176 $(MAKE) $(FLAGS_TO_PASS) install)
9178 @endif etc
9180 # Other targets (info, dvi, pdf, etc.)
9182 .PHONY: maybe-info-etc info-etc
9183 maybe-info-etc:
9184 @if etc
9185 maybe-info-etc: info-etc
9187 info-etc: \
9188 configure-etc
9189 @: $(MAKE); $(unstage)
9190 @[ -f ./etc/Makefile ] || exit 0; \
9191 r=`${PWD_COMMAND}`; export r; \
9192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9193 $(HOST_EXPORTS) \
9194 for flag in $(EXTRA_HOST_FLAGS) ; do \
9195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9196 done; \
9197 echo "Doing info in etc" ; \
9198 (cd $(HOST_SUBDIR)/etc && \
9199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9201 "RANLIB=$${RANLIB}" \
9202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9203 info) \
9204 || exit 1
9206 @endif etc
9208 .PHONY: maybe-dvi-etc dvi-etc
9209 maybe-dvi-etc:
9210 @if etc
9211 maybe-dvi-etc: dvi-etc
9213 dvi-etc: \
9214 configure-etc
9215 @: $(MAKE); $(unstage)
9216 @[ -f ./etc/Makefile ] || exit 0; \
9217 r=`${PWD_COMMAND}`; export r; \
9218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9219 $(HOST_EXPORTS) \
9220 for flag in $(EXTRA_HOST_FLAGS) ; do \
9221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9222 done; \
9223 echo "Doing dvi in etc" ; \
9224 (cd $(HOST_SUBDIR)/etc && \
9225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9227 "RANLIB=$${RANLIB}" \
9228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9229 dvi) \
9230 || exit 1
9232 @endif etc
9234 .PHONY: maybe-pdf-etc pdf-etc
9235 maybe-pdf-etc:
9236 @if etc
9237 maybe-pdf-etc: pdf-etc
9239 pdf-etc: \
9240 configure-etc
9241 @: $(MAKE); $(unstage)
9242 @[ -f ./etc/Makefile ] || exit 0; \
9243 r=`${PWD_COMMAND}`; export r; \
9244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9245 $(HOST_EXPORTS) \
9246 for flag in $(EXTRA_HOST_FLAGS) ; do \
9247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9248 done; \
9249 echo "Doing pdf in etc" ; \
9250 (cd $(HOST_SUBDIR)/etc && \
9251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9253 "RANLIB=$${RANLIB}" \
9254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9255 pdf) \
9256 || exit 1
9258 @endif etc
9260 .PHONY: maybe-html-etc html-etc
9261 maybe-html-etc:
9262 @if etc
9263 maybe-html-etc: html-etc
9265 html-etc: \
9266 configure-etc
9267 @: $(MAKE); $(unstage)
9268 @[ -f ./etc/Makefile ] || exit 0; \
9269 r=`${PWD_COMMAND}`; export r; \
9270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9271 $(HOST_EXPORTS) \
9272 for flag in $(EXTRA_HOST_FLAGS) ; do \
9273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9274 done; \
9275 echo "Doing html in etc" ; \
9276 (cd $(HOST_SUBDIR)/etc && \
9277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9279 "RANLIB=$${RANLIB}" \
9280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9281 html) \
9282 || exit 1
9284 @endif etc
9286 .PHONY: maybe-TAGS-etc TAGS-etc
9287 maybe-TAGS-etc:
9288 @if etc
9289 maybe-TAGS-etc: TAGS-etc
9291 TAGS-etc: \
9292 configure-etc
9293 @: $(MAKE); $(unstage)
9294 @[ -f ./etc/Makefile ] || exit 0; \
9295 r=`${PWD_COMMAND}`; export r; \
9296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9297 $(HOST_EXPORTS) \
9298 for flag in $(EXTRA_HOST_FLAGS) ; do \
9299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9300 done; \
9301 echo "Doing TAGS in etc" ; \
9302 (cd $(HOST_SUBDIR)/etc && \
9303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9305 "RANLIB=$${RANLIB}" \
9306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9307 TAGS) \
9308 || exit 1
9310 @endif etc
9312 .PHONY: maybe-install-info-etc install-info-etc
9313 maybe-install-info-etc:
9314 @if etc
9315 maybe-install-info-etc: install-info-etc
9317 install-info-etc: \
9318 configure-etc \
9319 info-etc
9320 @: $(MAKE); $(unstage)
9321 @[ -f ./etc/Makefile ] || exit 0; \
9322 r=`${PWD_COMMAND}`; export r; \
9323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9324 $(HOST_EXPORTS) \
9325 for flag in $(EXTRA_HOST_FLAGS) ; do \
9326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9327 done; \
9328 echo "Doing install-info in etc" ; \
9329 (cd $(HOST_SUBDIR)/etc && \
9330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9332 "RANLIB=$${RANLIB}" \
9333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9334 install-info) \
9335 || exit 1
9337 @endif etc
9339 .PHONY: maybe-install-html-etc install-html-etc
9340 maybe-install-html-etc:
9341 @if etc
9342 maybe-install-html-etc: install-html-etc
9344 install-html-etc: \
9345 configure-etc \
9346 html-etc
9347 @: $(MAKE); $(unstage)
9348 @[ -f ./etc/Makefile ] || exit 0; \
9349 r=`${PWD_COMMAND}`; export r; \
9350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9351 $(HOST_EXPORTS) \
9352 for flag in $(EXTRA_HOST_FLAGS) ; do \
9353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9354 done; \
9355 echo "Doing install-html in etc" ; \
9356 (cd $(HOST_SUBDIR)/etc && \
9357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9359 "RANLIB=$${RANLIB}" \
9360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9361 install-html) \
9362 || exit 1
9364 @endif etc
9366 .PHONY: maybe-installcheck-etc installcheck-etc
9367 maybe-installcheck-etc:
9368 @if etc
9369 maybe-installcheck-etc: installcheck-etc
9371 installcheck-etc: \
9372 configure-etc
9373 @: $(MAKE); $(unstage)
9374 @[ -f ./etc/Makefile ] || exit 0; \
9375 r=`${PWD_COMMAND}`; export r; \
9376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9377 $(HOST_EXPORTS) \
9378 for flag in $(EXTRA_HOST_FLAGS) ; do \
9379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9380 done; \
9381 echo "Doing installcheck in etc" ; \
9382 (cd $(HOST_SUBDIR)/etc && \
9383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9385 "RANLIB=$${RANLIB}" \
9386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9387 installcheck) \
9388 || exit 1
9390 @endif etc
9392 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
9393 maybe-mostlyclean-etc:
9394 @if etc
9395 maybe-mostlyclean-etc: mostlyclean-etc
9397 mostlyclean-etc:
9398 @: $(MAKE); $(unstage)
9399 @[ -f ./etc/Makefile ] || exit 0; \
9400 r=`${PWD_COMMAND}`; export r; \
9401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9402 $(HOST_EXPORTS) \
9403 for flag in $(EXTRA_HOST_FLAGS) ; do \
9404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9405 done; \
9406 echo "Doing mostlyclean in etc" ; \
9407 (cd $(HOST_SUBDIR)/etc && \
9408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9410 "RANLIB=$${RANLIB}" \
9411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9412 mostlyclean) \
9413 || exit 1
9415 @endif etc
9417 .PHONY: maybe-clean-etc clean-etc
9418 maybe-clean-etc:
9419 @if etc
9420 maybe-clean-etc: clean-etc
9422 clean-etc:
9423 @: $(MAKE); $(unstage)
9424 @[ -f ./etc/Makefile ] || exit 0; \
9425 r=`${PWD_COMMAND}`; export r; \
9426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9427 $(HOST_EXPORTS) \
9428 for flag in $(EXTRA_HOST_FLAGS) ; do \
9429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9430 done; \
9431 echo "Doing clean in etc" ; \
9432 (cd $(HOST_SUBDIR)/etc && \
9433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9435 "RANLIB=$${RANLIB}" \
9436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9437 clean) \
9438 || exit 1
9440 @endif etc
9442 .PHONY: maybe-distclean-etc distclean-etc
9443 maybe-distclean-etc:
9444 @if etc
9445 maybe-distclean-etc: distclean-etc
9447 distclean-etc:
9448 @: $(MAKE); $(unstage)
9449 @[ -f ./etc/Makefile ] || exit 0; \
9450 r=`${PWD_COMMAND}`; export r; \
9451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9452 $(HOST_EXPORTS) \
9453 for flag in $(EXTRA_HOST_FLAGS) ; do \
9454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9455 done; \
9456 echo "Doing distclean in etc" ; \
9457 (cd $(HOST_SUBDIR)/etc && \
9458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9460 "RANLIB=$${RANLIB}" \
9461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9462 distclean) \
9463 || exit 1
9465 @endif etc
9467 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
9468 maybe-maintainer-clean-etc:
9469 @if etc
9470 maybe-maintainer-clean-etc: maintainer-clean-etc
9472 maintainer-clean-etc:
9473 @: $(MAKE); $(unstage)
9474 @[ -f ./etc/Makefile ] || exit 0; \
9475 r=`${PWD_COMMAND}`; export r; \
9476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9477 $(HOST_EXPORTS) \
9478 for flag in $(EXTRA_HOST_FLAGS) ; do \
9479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9480 done; \
9481 echo "Doing maintainer-clean in etc" ; \
9482 (cd $(HOST_SUBDIR)/etc && \
9483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9485 "RANLIB=$${RANLIB}" \
9486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9487 maintainer-clean) \
9488 || exit 1
9490 @endif etc
9494 .PHONY: configure-fastjar maybe-configure-fastjar
9495 maybe-configure-fastjar:
9496 @if gcc-bootstrap
9497 configure-fastjar: stage_current
9498 @endif gcc-bootstrap
9499 @if fastjar
9500 maybe-configure-fastjar: configure-fastjar
9501 configure-fastjar:
9502 @: $(MAKE); $(unstage)
9503 @r=`${PWD_COMMAND}`; export r; \
9504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9505 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
9506 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
9507 $(HOST_EXPORTS) \
9508 echo Configuring in $(HOST_SUBDIR)/fastjar; \
9509 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
9510 case $(srcdir) in \
9511 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9512 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
9513 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9514 esac; \
9515 srcdiroption="--srcdir=$${topdir}/fastjar"; \
9516 libsrcdir="$$s/fastjar"; \
9517 $(SHELL) $${libsrcdir}/configure \
9518 $(HOST_CONFIGARGS) $${srcdiroption} \
9519 || exit 1
9520 @endif fastjar
9526 .PHONY: all-fastjar maybe-all-fastjar
9527 maybe-all-fastjar:
9528 @if gcc-bootstrap
9529 all-fastjar: stage_current
9530 @endif gcc-bootstrap
9531 @if fastjar
9532 TARGET-fastjar=all
9533 maybe-all-fastjar: all-fastjar
9534 all-fastjar: configure-fastjar
9535 @: $(MAKE); $(unstage)
9536 @r=`${PWD_COMMAND}`; export r; \
9537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9538 $(HOST_EXPORTS) \
9539 (cd $(HOST_SUBDIR)/fastjar && \
9540 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
9541 @endif fastjar
9546 .PHONY: check-fastjar maybe-check-fastjar
9547 maybe-check-fastjar:
9548 @if fastjar
9549 maybe-check-fastjar: check-fastjar
9551 # This module is only tested in a native toolchain.
9552 check-fastjar:
9553 @: $(MAKE); $(unstage)
9554 @if [ '$(host)' = '$(target)' ] ; then \
9555 r=`${PWD_COMMAND}`; export r; \
9556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9557 $(HOST_EXPORTS) \
9558 (cd $(HOST_SUBDIR)/fastjar && \
9559 $(MAKE) $(FLAGS_TO_PASS) check); \
9562 @endif fastjar
9564 .PHONY: install-fastjar maybe-install-fastjar
9565 maybe-install-fastjar:
9566 @if fastjar
9567 maybe-install-fastjar: install-fastjar
9569 install-fastjar: installdirs
9570 @: $(MAKE); $(unstage)
9571 @r=`${PWD_COMMAND}`; export r; \
9572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9573 $(HOST_EXPORTS) \
9574 (cd $(HOST_SUBDIR)/fastjar && \
9575 $(MAKE) $(FLAGS_TO_PASS) install)
9577 @endif fastjar
9579 # Other targets (info, dvi, pdf, etc.)
9581 .PHONY: maybe-info-fastjar info-fastjar
9582 maybe-info-fastjar:
9583 @if fastjar
9584 maybe-info-fastjar: info-fastjar
9586 info-fastjar: \
9587 configure-fastjar
9588 @: $(MAKE); $(unstage)
9589 @[ -f ./fastjar/Makefile ] || exit 0; \
9590 r=`${PWD_COMMAND}`; export r; \
9591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9592 $(HOST_EXPORTS) \
9593 for flag in $(EXTRA_HOST_FLAGS) ; do \
9594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9595 done; \
9596 echo "Doing info in fastjar" ; \
9597 (cd $(HOST_SUBDIR)/fastjar && \
9598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9600 "RANLIB=$${RANLIB}" \
9601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9602 info) \
9603 || exit 1
9605 @endif fastjar
9607 .PHONY: maybe-dvi-fastjar dvi-fastjar
9608 maybe-dvi-fastjar:
9609 @if fastjar
9610 maybe-dvi-fastjar: dvi-fastjar
9612 dvi-fastjar: \
9613 configure-fastjar
9614 @: $(MAKE); $(unstage)
9615 @[ -f ./fastjar/Makefile ] || exit 0; \
9616 r=`${PWD_COMMAND}`; export r; \
9617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9618 $(HOST_EXPORTS) \
9619 for flag in $(EXTRA_HOST_FLAGS) ; do \
9620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9621 done; \
9622 echo "Doing dvi in fastjar" ; \
9623 (cd $(HOST_SUBDIR)/fastjar && \
9624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9626 "RANLIB=$${RANLIB}" \
9627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9628 dvi) \
9629 || exit 1
9631 @endif fastjar
9633 .PHONY: maybe-pdf-fastjar pdf-fastjar
9634 maybe-pdf-fastjar:
9635 @if fastjar
9636 maybe-pdf-fastjar: pdf-fastjar
9638 pdf-fastjar: \
9639 configure-fastjar
9640 @: $(MAKE); $(unstage)
9641 @[ -f ./fastjar/Makefile ] || exit 0; \
9642 r=`${PWD_COMMAND}`; export r; \
9643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9644 $(HOST_EXPORTS) \
9645 for flag in $(EXTRA_HOST_FLAGS) ; do \
9646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9647 done; \
9648 echo "Doing pdf in fastjar" ; \
9649 (cd $(HOST_SUBDIR)/fastjar && \
9650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9652 "RANLIB=$${RANLIB}" \
9653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9654 pdf) \
9655 || exit 1
9657 @endif fastjar
9659 .PHONY: maybe-html-fastjar html-fastjar
9660 maybe-html-fastjar:
9661 @if fastjar
9662 maybe-html-fastjar: html-fastjar
9664 html-fastjar: \
9665 configure-fastjar
9666 @: $(MAKE); $(unstage)
9667 @[ -f ./fastjar/Makefile ] || exit 0; \
9668 r=`${PWD_COMMAND}`; export r; \
9669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9670 $(HOST_EXPORTS) \
9671 for flag in $(EXTRA_HOST_FLAGS) ; do \
9672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9673 done; \
9674 echo "Doing html in fastjar" ; \
9675 (cd $(HOST_SUBDIR)/fastjar && \
9676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9678 "RANLIB=$${RANLIB}" \
9679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9680 html) \
9681 || exit 1
9683 @endif fastjar
9685 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
9686 maybe-TAGS-fastjar:
9687 @if fastjar
9688 maybe-TAGS-fastjar: TAGS-fastjar
9690 TAGS-fastjar: \
9691 configure-fastjar
9692 @: $(MAKE); $(unstage)
9693 @[ -f ./fastjar/Makefile ] || exit 0; \
9694 r=`${PWD_COMMAND}`; export r; \
9695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9696 $(HOST_EXPORTS) \
9697 for flag in $(EXTRA_HOST_FLAGS) ; do \
9698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9699 done; \
9700 echo "Doing TAGS in fastjar" ; \
9701 (cd $(HOST_SUBDIR)/fastjar && \
9702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9704 "RANLIB=$${RANLIB}" \
9705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9706 TAGS) \
9707 || exit 1
9709 @endif fastjar
9711 .PHONY: maybe-install-info-fastjar install-info-fastjar
9712 maybe-install-info-fastjar:
9713 @if fastjar
9714 maybe-install-info-fastjar: install-info-fastjar
9716 install-info-fastjar: \
9717 configure-fastjar \
9718 info-fastjar
9719 @: $(MAKE); $(unstage)
9720 @[ -f ./fastjar/Makefile ] || exit 0; \
9721 r=`${PWD_COMMAND}`; export r; \
9722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9723 $(HOST_EXPORTS) \
9724 for flag in $(EXTRA_HOST_FLAGS) ; do \
9725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9726 done; \
9727 echo "Doing install-info in fastjar" ; \
9728 (cd $(HOST_SUBDIR)/fastjar && \
9729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9731 "RANLIB=$${RANLIB}" \
9732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9733 install-info) \
9734 || exit 1
9736 @endif fastjar
9738 .PHONY: maybe-install-html-fastjar install-html-fastjar
9739 maybe-install-html-fastjar:
9740 @if fastjar
9741 maybe-install-html-fastjar: install-html-fastjar
9743 install-html-fastjar: \
9744 configure-fastjar \
9745 html-fastjar
9746 @: $(MAKE); $(unstage)
9747 @[ -f ./fastjar/Makefile ] || exit 0; \
9748 r=`${PWD_COMMAND}`; export r; \
9749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9750 $(HOST_EXPORTS) \
9751 for flag in $(EXTRA_HOST_FLAGS) ; do \
9752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9753 done; \
9754 echo "Doing install-html in fastjar" ; \
9755 (cd $(HOST_SUBDIR)/fastjar && \
9756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9758 "RANLIB=$${RANLIB}" \
9759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9760 install-html) \
9761 || exit 1
9763 @endif fastjar
9765 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
9766 maybe-installcheck-fastjar:
9767 @if fastjar
9768 maybe-installcheck-fastjar: installcheck-fastjar
9770 installcheck-fastjar: \
9771 configure-fastjar
9772 @: $(MAKE); $(unstage)
9773 @[ -f ./fastjar/Makefile ] || exit 0; \
9774 r=`${PWD_COMMAND}`; export r; \
9775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9776 $(HOST_EXPORTS) \
9777 for flag in $(EXTRA_HOST_FLAGS) ; do \
9778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9779 done; \
9780 echo "Doing installcheck in fastjar" ; \
9781 (cd $(HOST_SUBDIR)/fastjar && \
9782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9784 "RANLIB=$${RANLIB}" \
9785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9786 installcheck) \
9787 || exit 1
9789 @endif fastjar
9791 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
9792 maybe-mostlyclean-fastjar:
9793 @if fastjar
9794 maybe-mostlyclean-fastjar: mostlyclean-fastjar
9796 mostlyclean-fastjar:
9797 @: $(MAKE); $(unstage)
9798 @[ -f ./fastjar/Makefile ] || exit 0; \
9799 r=`${PWD_COMMAND}`; export r; \
9800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9801 $(HOST_EXPORTS) \
9802 for flag in $(EXTRA_HOST_FLAGS) ; do \
9803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9804 done; \
9805 echo "Doing mostlyclean in fastjar" ; \
9806 (cd $(HOST_SUBDIR)/fastjar && \
9807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9809 "RANLIB=$${RANLIB}" \
9810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9811 mostlyclean) \
9812 || exit 1
9814 @endif fastjar
9816 .PHONY: maybe-clean-fastjar clean-fastjar
9817 maybe-clean-fastjar:
9818 @if fastjar
9819 maybe-clean-fastjar: clean-fastjar
9821 clean-fastjar:
9822 @: $(MAKE); $(unstage)
9823 @[ -f ./fastjar/Makefile ] || exit 0; \
9824 r=`${PWD_COMMAND}`; export r; \
9825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9826 $(HOST_EXPORTS) \
9827 for flag in $(EXTRA_HOST_FLAGS) ; do \
9828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9829 done; \
9830 echo "Doing clean in fastjar" ; \
9831 (cd $(HOST_SUBDIR)/fastjar && \
9832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9834 "RANLIB=$${RANLIB}" \
9835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9836 clean) \
9837 || exit 1
9839 @endif fastjar
9841 .PHONY: maybe-distclean-fastjar distclean-fastjar
9842 maybe-distclean-fastjar:
9843 @if fastjar
9844 maybe-distclean-fastjar: distclean-fastjar
9846 distclean-fastjar:
9847 @: $(MAKE); $(unstage)
9848 @[ -f ./fastjar/Makefile ] || exit 0; \
9849 r=`${PWD_COMMAND}`; export r; \
9850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9851 $(HOST_EXPORTS) \
9852 for flag in $(EXTRA_HOST_FLAGS) ; do \
9853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9854 done; \
9855 echo "Doing distclean in fastjar" ; \
9856 (cd $(HOST_SUBDIR)/fastjar && \
9857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9859 "RANLIB=$${RANLIB}" \
9860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9861 distclean) \
9862 || exit 1
9864 @endif fastjar
9866 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
9867 maybe-maintainer-clean-fastjar:
9868 @if fastjar
9869 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
9871 maintainer-clean-fastjar:
9872 @: $(MAKE); $(unstage)
9873 @[ -f ./fastjar/Makefile ] || exit 0; \
9874 r=`${PWD_COMMAND}`; export r; \
9875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9876 $(HOST_EXPORTS) \
9877 for flag in $(EXTRA_HOST_FLAGS) ; do \
9878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9879 done; \
9880 echo "Doing maintainer-clean in fastjar" ; \
9881 (cd $(HOST_SUBDIR)/fastjar && \
9882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9884 "RANLIB=$${RANLIB}" \
9885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9886 maintainer-clean) \
9887 || exit 1
9889 @endif fastjar
9893 .PHONY: configure-fileutils maybe-configure-fileutils
9894 maybe-configure-fileutils:
9895 @if gcc-bootstrap
9896 configure-fileutils: stage_current
9897 @endif gcc-bootstrap
9898 @if fileutils
9899 maybe-configure-fileutils: configure-fileutils
9900 configure-fileutils:
9901 @: $(MAKE); $(unstage)
9902 @r=`${PWD_COMMAND}`; export r; \
9903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9904 test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
9905 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
9906 $(HOST_EXPORTS) \
9907 echo Configuring in $(HOST_SUBDIR)/fileutils; \
9908 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
9909 case $(srcdir) in \
9910 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9911 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
9912 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9913 esac; \
9914 srcdiroption="--srcdir=$${topdir}/fileutils"; \
9915 libsrcdir="$$s/fileutils"; \
9916 $(SHELL) $${libsrcdir}/configure \
9917 $(HOST_CONFIGARGS) $${srcdiroption} \
9918 || exit 1
9919 @endif fileutils
9925 .PHONY: all-fileutils maybe-all-fileutils
9926 maybe-all-fileutils:
9927 @if gcc-bootstrap
9928 all-fileutils: stage_current
9929 @endif gcc-bootstrap
9930 @if fileutils
9931 TARGET-fileutils=all
9932 maybe-all-fileutils: all-fileutils
9933 all-fileutils: configure-fileutils
9934 @: $(MAKE); $(unstage)
9935 @r=`${PWD_COMMAND}`; export r; \
9936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9937 $(HOST_EXPORTS) \
9938 (cd $(HOST_SUBDIR)/fileutils && \
9939 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
9940 @endif fileutils
9945 .PHONY: check-fileutils maybe-check-fileutils
9946 maybe-check-fileutils:
9947 @if fileutils
9948 maybe-check-fileutils: check-fileutils
9950 check-fileutils:
9951 @: $(MAKE); $(unstage)
9952 @r=`${PWD_COMMAND}`; export r; \
9953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9954 $(HOST_EXPORTS) \
9955 (cd $(HOST_SUBDIR)/fileutils && \
9956 $(MAKE) $(FLAGS_TO_PASS) check)
9958 @endif fileutils
9960 .PHONY: install-fileutils maybe-install-fileutils
9961 maybe-install-fileutils:
9962 @if fileutils
9963 maybe-install-fileutils: install-fileutils
9965 install-fileutils: installdirs
9966 @: $(MAKE); $(unstage)
9967 @r=`${PWD_COMMAND}`; export r; \
9968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9969 $(HOST_EXPORTS) \
9970 (cd $(HOST_SUBDIR)/fileutils && \
9971 $(MAKE) $(FLAGS_TO_PASS) install)
9973 @endif fileutils
9975 # Other targets (info, dvi, pdf, etc.)
9977 .PHONY: maybe-info-fileutils info-fileutils
9978 maybe-info-fileutils:
9979 @if fileutils
9980 maybe-info-fileutils: info-fileutils
9982 info-fileutils: \
9983 configure-fileutils
9984 @: $(MAKE); $(unstage)
9985 @[ -f ./fileutils/Makefile ] || exit 0; \
9986 r=`${PWD_COMMAND}`; export r; \
9987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9988 $(HOST_EXPORTS) \
9989 for flag in $(EXTRA_HOST_FLAGS) ; do \
9990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9991 done; \
9992 echo "Doing info in fileutils" ; \
9993 (cd $(HOST_SUBDIR)/fileutils && \
9994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9996 "RANLIB=$${RANLIB}" \
9997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9998 info) \
9999 || exit 1
10001 @endif fileutils
10003 .PHONY: maybe-dvi-fileutils dvi-fileutils
10004 maybe-dvi-fileutils:
10005 @if fileutils
10006 maybe-dvi-fileutils: dvi-fileutils
10008 dvi-fileutils: \
10009 configure-fileutils
10010 @: $(MAKE); $(unstage)
10011 @[ -f ./fileutils/Makefile ] || exit 0; \
10012 r=`${PWD_COMMAND}`; export r; \
10013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10014 $(HOST_EXPORTS) \
10015 for flag in $(EXTRA_HOST_FLAGS) ; do \
10016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10017 done; \
10018 echo "Doing dvi in fileutils" ; \
10019 (cd $(HOST_SUBDIR)/fileutils && \
10020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10022 "RANLIB=$${RANLIB}" \
10023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10024 dvi) \
10025 || exit 1
10027 @endif fileutils
10029 .PHONY: maybe-pdf-fileutils pdf-fileutils
10030 maybe-pdf-fileutils:
10031 @if fileutils
10032 maybe-pdf-fileutils: pdf-fileutils
10034 pdf-fileutils: \
10035 configure-fileutils
10036 @: $(MAKE); $(unstage)
10037 @[ -f ./fileutils/Makefile ] || exit 0; \
10038 r=`${PWD_COMMAND}`; export r; \
10039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10040 $(HOST_EXPORTS) \
10041 for flag in $(EXTRA_HOST_FLAGS) ; do \
10042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10043 done; \
10044 echo "Doing pdf in fileutils" ; \
10045 (cd $(HOST_SUBDIR)/fileutils && \
10046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10048 "RANLIB=$${RANLIB}" \
10049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10050 pdf) \
10051 || exit 1
10053 @endif fileutils
10055 .PHONY: maybe-html-fileutils html-fileutils
10056 maybe-html-fileutils:
10057 @if fileutils
10058 maybe-html-fileutils: html-fileutils
10060 html-fileutils: \
10061 configure-fileutils
10062 @: $(MAKE); $(unstage)
10063 @[ -f ./fileutils/Makefile ] || exit 0; \
10064 r=`${PWD_COMMAND}`; export r; \
10065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10066 $(HOST_EXPORTS) \
10067 for flag in $(EXTRA_HOST_FLAGS) ; do \
10068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10069 done; \
10070 echo "Doing html in fileutils" ; \
10071 (cd $(HOST_SUBDIR)/fileutils && \
10072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10074 "RANLIB=$${RANLIB}" \
10075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10076 html) \
10077 || exit 1
10079 @endif fileutils
10081 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
10082 maybe-TAGS-fileutils:
10083 @if fileutils
10084 maybe-TAGS-fileutils: TAGS-fileutils
10086 TAGS-fileutils: \
10087 configure-fileutils
10088 @: $(MAKE); $(unstage)
10089 @[ -f ./fileutils/Makefile ] || exit 0; \
10090 r=`${PWD_COMMAND}`; export r; \
10091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10092 $(HOST_EXPORTS) \
10093 for flag in $(EXTRA_HOST_FLAGS) ; do \
10094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10095 done; \
10096 echo "Doing TAGS in fileutils" ; \
10097 (cd $(HOST_SUBDIR)/fileutils && \
10098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10100 "RANLIB=$${RANLIB}" \
10101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10102 TAGS) \
10103 || exit 1
10105 @endif fileutils
10107 .PHONY: maybe-install-info-fileutils install-info-fileutils
10108 maybe-install-info-fileutils:
10109 @if fileutils
10110 maybe-install-info-fileutils: install-info-fileutils
10112 install-info-fileutils: \
10113 configure-fileutils \
10114 info-fileutils
10115 @: $(MAKE); $(unstage)
10116 @[ -f ./fileutils/Makefile ] || exit 0; \
10117 r=`${PWD_COMMAND}`; export r; \
10118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10119 $(HOST_EXPORTS) \
10120 for flag in $(EXTRA_HOST_FLAGS) ; do \
10121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10122 done; \
10123 echo "Doing install-info in fileutils" ; \
10124 (cd $(HOST_SUBDIR)/fileutils && \
10125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10127 "RANLIB=$${RANLIB}" \
10128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10129 install-info) \
10130 || exit 1
10132 @endif fileutils
10134 .PHONY: maybe-install-html-fileutils install-html-fileutils
10135 maybe-install-html-fileutils:
10136 @if fileutils
10137 maybe-install-html-fileutils: install-html-fileutils
10139 install-html-fileutils: \
10140 configure-fileutils \
10141 html-fileutils
10142 @: $(MAKE); $(unstage)
10143 @[ -f ./fileutils/Makefile ] || exit 0; \
10144 r=`${PWD_COMMAND}`; export r; \
10145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10146 $(HOST_EXPORTS) \
10147 for flag in $(EXTRA_HOST_FLAGS) ; do \
10148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10149 done; \
10150 echo "Doing install-html in fileutils" ; \
10151 (cd $(HOST_SUBDIR)/fileutils && \
10152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10154 "RANLIB=$${RANLIB}" \
10155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10156 install-html) \
10157 || exit 1
10159 @endif fileutils
10161 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
10162 maybe-installcheck-fileutils:
10163 @if fileutils
10164 maybe-installcheck-fileutils: installcheck-fileutils
10166 installcheck-fileutils: \
10167 configure-fileutils
10168 @: $(MAKE); $(unstage)
10169 @[ -f ./fileutils/Makefile ] || exit 0; \
10170 r=`${PWD_COMMAND}`; export r; \
10171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10172 $(HOST_EXPORTS) \
10173 for flag in $(EXTRA_HOST_FLAGS) ; do \
10174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10175 done; \
10176 echo "Doing installcheck in fileutils" ; \
10177 (cd $(HOST_SUBDIR)/fileutils && \
10178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10180 "RANLIB=$${RANLIB}" \
10181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10182 installcheck) \
10183 || exit 1
10185 @endif fileutils
10187 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
10188 maybe-mostlyclean-fileutils:
10189 @if fileutils
10190 maybe-mostlyclean-fileutils: mostlyclean-fileutils
10192 mostlyclean-fileutils:
10193 @: $(MAKE); $(unstage)
10194 @[ -f ./fileutils/Makefile ] || exit 0; \
10195 r=`${PWD_COMMAND}`; export r; \
10196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10197 $(HOST_EXPORTS) \
10198 for flag in $(EXTRA_HOST_FLAGS) ; do \
10199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10200 done; \
10201 echo "Doing mostlyclean in fileutils" ; \
10202 (cd $(HOST_SUBDIR)/fileutils && \
10203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10205 "RANLIB=$${RANLIB}" \
10206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10207 mostlyclean) \
10208 || exit 1
10210 @endif fileutils
10212 .PHONY: maybe-clean-fileutils clean-fileutils
10213 maybe-clean-fileutils:
10214 @if fileutils
10215 maybe-clean-fileutils: clean-fileutils
10217 clean-fileutils:
10218 @: $(MAKE); $(unstage)
10219 @[ -f ./fileutils/Makefile ] || exit 0; \
10220 r=`${PWD_COMMAND}`; export r; \
10221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10222 $(HOST_EXPORTS) \
10223 for flag in $(EXTRA_HOST_FLAGS) ; do \
10224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10225 done; \
10226 echo "Doing clean in fileutils" ; \
10227 (cd $(HOST_SUBDIR)/fileutils && \
10228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10230 "RANLIB=$${RANLIB}" \
10231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10232 clean) \
10233 || exit 1
10235 @endif fileutils
10237 .PHONY: maybe-distclean-fileutils distclean-fileutils
10238 maybe-distclean-fileutils:
10239 @if fileutils
10240 maybe-distclean-fileutils: distclean-fileutils
10242 distclean-fileutils:
10243 @: $(MAKE); $(unstage)
10244 @[ -f ./fileutils/Makefile ] || exit 0; \
10245 r=`${PWD_COMMAND}`; export r; \
10246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10247 $(HOST_EXPORTS) \
10248 for flag in $(EXTRA_HOST_FLAGS) ; do \
10249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10250 done; \
10251 echo "Doing distclean in fileutils" ; \
10252 (cd $(HOST_SUBDIR)/fileutils && \
10253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10255 "RANLIB=$${RANLIB}" \
10256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10257 distclean) \
10258 || exit 1
10260 @endif fileutils
10262 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
10263 maybe-maintainer-clean-fileutils:
10264 @if fileutils
10265 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
10267 maintainer-clean-fileutils:
10268 @: $(MAKE); $(unstage)
10269 @[ -f ./fileutils/Makefile ] || exit 0; \
10270 r=`${PWD_COMMAND}`; export r; \
10271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10272 $(HOST_EXPORTS) \
10273 for flag in $(EXTRA_HOST_FLAGS) ; do \
10274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10275 done; \
10276 echo "Doing maintainer-clean in fileutils" ; \
10277 (cd $(HOST_SUBDIR)/fileutils && \
10278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10280 "RANLIB=$${RANLIB}" \
10281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10282 maintainer-clean) \
10283 || exit 1
10285 @endif fileutils
10289 .PHONY: configure-findutils maybe-configure-findutils
10290 maybe-configure-findutils:
10291 @if gcc-bootstrap
10292 configure-findutils: stage_current
10293 @endif gcc-bootstrap
10294 @if findutils
10295 maybe-configure-findutils: configure-findutils
10296 configure-findutils:
10297 @: $(MAKE); $(unstage)
10298 @r=`${PWD_COMMAND}`; export r; \
10299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10300 test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
10301 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
10302 $(HOST_EXPORTS) \
10303 echo Configuring in $(HOST_SUBDIR)/findutils; \
10304 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
10305 case $(srcdir) in \
10306 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10307 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
10308 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10309 esac; \
10310 srcdiroption="--srcdir=$${topdir}/findutils"; \
10311 libsrcdir="$$s/findutils"; \
10312 $(SHELL) $${libsrcdir}/configure \
10313 $(HOST_CONFIGARGS) $${srcdiroption} \
10314 || exit 1
10315 @endif findutils
10321 .PHONY: all-findutils maybe-all-findutils
10322 maybe-all-findutils:
10323 @if gcc-bootstrap
10324 all-findutils: stage_current
10325 @endif gcc-bootstrap
10326 @if findutils
10327 TARGET-findutils=all
10328 maybe-all-findutils: all-findutils
10329 all-findutils: configure-findutils
10330 @: $(MAKE); $(unstage)
10331 @r=`${PWD_COMMAND}`; export r; \
10332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10333 $(HOST_EXPORTS) \
10334 (cd $(HOST_SUBDIR)/findutils && \
10335 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
10336 @endif findutils
10341 .PHONY: check-findutils maybe-check-findutils
10342 maybe-check-findutils:
10343 @if findutils
10344 maybe-check-findutils: check-findutils
10346 check-findutils:
10347 @: $(MAKE); $(unstage)
10348 @r=`${PWD_COMMAND}`; export r; \
10349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10350 $(HOST_EXPORTS) \
10351 (cd $(HOST_SUBDIR)/findutils && \
10352 $(MAKE) $(FLAGS_TO_PASS) check)
10354 @endif findutils
10356 .PHONY: install-findutils maybe-install-findutils
10357 maybe-install-findutils:
10358 @if findutils
10359 maybe-install-findutils: install-findutils
10361 install-findutils: installdirs
10362 @: $(MAKE); $(unstage)
10363 @r=`${PWD_COMMAND}`; export r; \
10364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10365 $(HOST_EXPORTS) \
10366 (cd $(HOST_SUBDIR)/findutils && \
10367 $(MAKE) $(FLAGS_TO_PASS) install)
10369 @endif findutils
10371 # Other targets (info, dvi, pdf, etc.)
10373 .PHONY: maybe-info-findutils info-findutils
10374 maybe-info-findutils:
10375 @if findutils
10376 maybe-info-findutils: info-findutils
10378 info-findutils: \
10379 configure-findutils
10380 @: $(MAKE); $(unstage)
10381 @[ -f ./findutils/Makefile ] || exit 0; \
10382 r=`${PWD_COMMAND}`; export r; \
10383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10384 $(HOST_EXPORTS) \
10385 for flag in $(EXTRA_HOST_FLAGS) ; do \
10386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10387 done; \
10388 echo "Doing info in findutils" ; \
10389 (cd $(HOST_SUBDIR)/findutils && \
10390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10392 "RANLIB=$${RANLIB}" \
10393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10394 info) \
10395 || exit 1
10397 @endif findutils
10399 .PHONY: maybe-dvi-findutils dvi-findutils
10400 maybe-dvi-findutils:
10401 @if findutils
10402 maybe-dvi-findutils: dvi-findutils
10404 dvi-findutils: \
10405 configure-findutils
10406 @: $(MAKE); $(unstage)
10407 @[ -f ./findutils/Makefile ] || exit 0; \
10408 r=`${PWD_COMMAND}`; export r; \
10409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10410 $(HOST_EXPORTS) \
10411 for flag in $(EXTRA_HOST_FLAGS) ; do \
10412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10413 done; \
10414 echo "Doing dvi in findutils" ; \
10415 (cd $(HOST_SUBDIR)/findutils && \
10416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10418 "RANLIB=$${RANLIB}" \
10419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10420 dvi) \
10421 || exit 1
10423 @endif findutils
10425 .PHONY: maybe-pdf-findutils pdf-findutils
10426 maybe-pdf-findutils:
10427 @if findutils
10428 maybe-pdf-findutils: pdf-findutils
10430 pdf-findutils: \
10431 configure-findutils
10432 @: $(MAKE); $(unstage)
10433 @[ -f ./findutils/Makefile ] || exit 0; \
10434 r=`${PWD_COMMAND}`; export r; \
10435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10436 $(HOST_EXPORTS) \
10437 for flag in $(EXTRA_HOST_FLAGS) ; do \
10438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10439 done; \
10440 echo "Doing pdf in findutils" ; \
10441 (cd $(HOST_SUBDIR)/findutils && \
10442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10444 "RANLIB=$${RANLIB}" \
10445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10446 pdf) \
10447 || exit 1
10449 @endif findutils
10451 .PHONY: maybe-html-findutils html-findutils
10452 maybe-html-findutils:
10453 @if findutils
10454 maybe-html-findutils: html-findutils
10456 html-findutils: \
10457 configure-findutils
10458 @: $(MAKE); $(unstage)
10459 @[ -f ./findutils/Makefile ] || exit 0; \
10460 r=`${PWD_COMMAND}`; export r; \
10461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10462 $(HOST_EXPORTS) \
10463 for flag in $(EXTRA_HOST_FLAGS) ; do \
10464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10465 done; \
10466 echo "Doing html in findutils" ; \
10467 (cd $(HOST_SUBDIR)/findutils && \
10468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10470 "RANLIB=$${RANLIB}" \
10471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10472 html) \
10473 || exit 1
10475 @endif findutils
10477 .PHONY: maybe-TAGS-findutils TAGS-findutils
10478 maybe-TAGS-findutils:
10479 @if findutils
10480 maybe-TAGS-findutils: TAGS-findutils
10482 TAGS-findutils: \
10483 configure-findutils
10484 @: $(MAKE); $(unstage)
10485 @[ -f ./findutils/Makefile ] || exit 0; \
10486 r=`${PWD_COMMAND}`; export r; \
10487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10488 $(HOST_EXPORTS) \
10489 for flag in $(EXTRA_HOST_FLAGS) ; do \
10490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10491 done; \
10492 echo "Doing TAGS in findutils" ; \
10493 (cd $(HOST_SUBDIR)/findutils && \
10494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10496 "RANLIB=$${RANLIB}" \
10497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10498 TAGS) \
10499 || exit 1
10501 @endif findutils
10503 .PHONY: maybe-install-info-findutils install-info-findutils
10504 maybe-install-info-findutils:
10505 @if findutils
10506 maybe-install-info-findutils: install-info-findutils
10508 install-info-findutils: \
10509 configure-findutils \
10510 info-findutils
10511 @: $(MAKE); $(unstage)
10512 @[ -f ./findutils/Makefile ] || exit 0; \
10513 r=`${PWD_COMMAND}`; export r; \
10514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10515 $(HOST_EXPORTS) \
10516 for flag in $(EXTRA_HOST_FLAGS) ; do \
10517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10518 done; \
10519 echo "Doing install-info in findutils" ; \
10520 (cd $(HOST_SUBDIR)/findutils && \
10521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10523 "RANLIB=$${RANLIB}" \
10524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10525 install-info) \
10526 || exit 1
10528 @endif findutils
10530 .PHONY: maybe-install-html-findutils install-html-findutils
10531 maybe-install-html-findutils:
10532 @if findutils
10533 maybe-install-html-findutils: install-html-findutils
10535 install-html-findutils: \
10536 configure-findutils \
10537 html-findutils
10538 @: $(MAKE); $(unstage)
10539 @[ -f ./findutils/Makefile ] || exit 0; \
10540 r=`${PWD_COMMAND}`; export r; \
10541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10542 $(HOST_EXPORTS) \
10543 for flag in $(EXTRA_HOST_FLAGS) ; do \
10544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10545 done; \
10546 echo "Doing install-html in findutils" ; \
10547 (cd $(HOST_SUBDIR)/findutils && \
10548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10550 "RANLIB=$${RANLIB}" \
10551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10552 install-html) \
10553 || exit 1
10555 @endif findutils
10557 .PHONY: maybe-installcheck-findutils installcheck-findutils
10558 maybe-installcheck-findutils:
10559 @if findutils
10560 maybe-installcheck-findutils: installcheck-findutils
10562 installcheck-findutils: \
10563 configure-findutils
10564 @: $(MAKE); $(unstage)
10565 @[ -f ./findutils/Makefile ] || exit 0; \
10566 r=`${PWD_COMMAND}`; export r; \
10567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10568 $(HOST_EXPORTS) \
10569 for flag in $(EXTRA_HOST_FLAGS) ; do \
10570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10571 done; \
10572 echo "Doing installcheck in findutils" ; \
10573 (cd $(HOST_SUBDIR)/findutils && \
10574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10576 "RANLIB=$${RANLIB}" \
10577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10578 installcheck) \
10579 || exit 1
10581 @endif findutils
10583 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
10584 maybe-mostlyclean-findutils:
10585 @if findutils
10586 maybe-mostlyclean-findutils: mostlyclean-findutils
10588 mostlyclean-findutils:
10589 @: $(MAKE); $(unstage)
10590 @[ -f ./findutils/Makefile ] || exit 0; \
10591 r=`${PWD_COMMAND}`; export r; \
10592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10593 $(HOST_EXPORTS) \
10594 for flag in $(EXTRA_HOST_FLAGS) ; do \
10595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10596 done; \
10597 echo "Doing mostlyclean in findutils" ; \
10598 (cd $(HOST_SUBDIR)/findutils && \
10599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10601 "RANLIB=$${RANLIB}" \
10602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10603 mostlyclean) \
10604 || exit 1
10606 @endif findutils
10608 .PHONY: maybe-clean-findutils clean-findutils
10609 maybe-clean-findutils:
10610 @if findutils
10611 maybe-clean-findutils: clean-findutils
10613 clean-findutils:
10614 @: $(MAKE); $(unstage)
10615 @[ -f ./findutils/Makefile ] || exit 0; \
10616 r=`${PWD_COMMAND}`; export r; \
10617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10618 $(HOST_EXPORTS) \
10619 for flag in $(EXTRA_HOST_FLAGS) ; do \
10620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10621 done; \
10622 echo "Doing clean in findutils" ; \
10623 (cd $(HOST_SUBDIR)/findutils && \
10624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10626 "RANLIB=$${RANLIB}" \
10627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10628 clean) \
10629 || exit 1
10631 @endif findutils
10633 .PHONY: maybe-distclean-findutils distclean-findutils
10634 maybe-distclean-findutils:
10635 @if findutils
10636 maybe-distclean-findutils: distclean-findutils
10638 distclean-findutils:
10639 @: $(MAKE); $(unstage)
10640 @[ -f ./findutils/Makefile ] || exit 0; \
10641 r=`${PWD_COMMAND}`; export r; \
10642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10643 $(HOST_EXPORTS) \
10644 for flag in $(EXTRA_HOST_FLAGS) ; do \
10645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10646 done; \
10647 echo "Doing distclean in findutils" ; \
10648 (cd $(HOST_SUBDIR)/findutils && \
10649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10651 "RANLIB=$${RANLIB}" \
10652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10653 distclean) \
10654 || exit 1
10656 @endif findutils
10658 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
10659 maybe-maintainer-clean-findutils:
10660 @if findutils
10661 maybe-maintainer-clean-findutils: maintainer-clean-findutils
10663 maintainer-clean-findutils:
10664 @: $(MAKE); $(unstage)
10665 @[ -f ./findutils/Makefile ] || exit 0; \
10666 r=`${PWD_COMMAND}`; export r; \
10667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10668 $(HOST_EXPORTS) \
10669 for flag in $(EXTRA_HOST_FLAGS) ; do \
10670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10671 done; \
10672 echo "Doing maintainer-clean in findutils" ; \
10673 (cd $(HOST_SUBDIR)/findutils && \
10674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10676 "RANLIB=$${RANLIB}" \
10677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10678 maintainer-clean) \
10679 || exit 1
10681 @endif findutils
10685 .PHONY: configure-find maybe-configure-find
10686 maybe-configure-find:
10687 @if gcc-bootstrap
10688 configure-find: stage_current
10689 @endif gcc-bootstrap
10690 @if find
10691 maybe-configure-find: configure-find
10692 configure-find:
10693 @: $(MAKE); $(unstage)
10694 @r=`${PWD_COMMAND}`; export r; \
10695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10696 test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
10697 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
10698 $(HOST_EXPORTS) \
10699 echo Configuring in $(HOST_SUBDIR)/find; \
10700 cd "$(HOST_SUBDIR)/find" || exit 1; \
10701 case $(srcdir) in \
10702 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10703 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
10704 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10705 esac; \
10706 srcdiroption="--srcdir=$${topdir}/find"; \
10707 libsrcdir="$$s/find"; \
10708 $(SHELL) $${libsrcdir}/configure \
10709 $(HOST_CONFIGARGS) $${srcdiroption} \
10710 || exit 1
10711 @endif find
10717 .PHONY: all-find maybe-all-find
10718 maybe-all-find:
10719 @if gcc-bootstrap
10720 all-find: stage_current
10721 @endif gcc-bootstrap
10722 @if find
10723 TARGET-find=all
10724 maybe-all-find: all-find
10725 all-find: configure-find
10726 @: $(MAKE); $(unstage)
10727 @r=`${PWD_COMMAND}`; export r; \
10728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10729 $(HOST_EXPORTS) \
10730 (cd $(HOST_SUBDIR)/find && \
10731 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
10732 @endif find
10737 .PHONY: check-find maybe-check-find
10738 maybe-check-find:
10739 @if find
10740 maybe-check-find: check-find
10742 check-find:
10743 @: $(MAKE); $(unstage)
10744 @r=`${PWD_COMMAND}`; export r; \
10745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10746 $(HOST_EXPORTS) \
10747 (cd $(HOST_SUBDIR)/find && \
10748 $(MAKE) $(FLAGS_TO_PASS) check)
10750 @endif find
10752 .PHONY: install-find maybe-install-find
10753 maybe-install-find:
10754 @if find
10755 maybe-install-find: install-find
10757 install-find: installdirs
10758 @: $(MAKE); $(unstage)
10759 @r=`${PWD_COMMAND}`; export r; \
10760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10761 $(HOST_EXPORTS) \
10762 (cd $(HOST_SUBDIR)/find && \
10763 $(MAKE) $(FLAGS_TO_PASS) install)
10765 @endif find
10767 # Other targets (info, dvi, pdf, etc.)
10769 .PHONY: maybe-info-find info-find
10770 maybe-info-find:
10771 @if find
10772 maybe-info-find: info-find
10774 info-find: \
10775 configure-find
10776 @: $(MAKE); $(unstage)
10777 @[ -f ./find/Makefile ] || exit 0; \
10778 r=`${PWD_COMMAND}`; export r; \
10779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10780 $(HOST_EXPORTS) \
10781 for flag in $(EXTRA_HOST_FLAGS) ; do \
10782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10783 done; \
10784 echo "Doing info in find" ; \
10785 (cd $(HOST_SUBDIR)/find && \
10786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10788 "RANLIB=$${RANLIB}" \
10789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10790 info) \
10791 || exit 1
10793 @endif find
10795 .PHONY: maybe-dvi-find dvi-find
10796 maybe-dvi-find:
10797 @if find
10798 maybe-dvi-find: dvi-find
10800 dvi-find: \
10801 configure-find
10802 @: $(MAKE); $(unstage)
10803 @[ -f ./find/Makefile ] || exit 0; \
10804 r=`${PWD_COMMAND}`; export r; \
10805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10806 $(HOST_EXPORTS) \
10807 for flag in $(EXTRA_HOST_FLAGS) ; do \
10808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10809 done; \
10810 echo "Doing dvi in find" ; \
10811 (cd $(HOST_SUBDIR)/find && \
10812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10814 "RANLIB=$${RANLIB}" \
10815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10816 dvi) \
10817 || exit 1
10819 @endif find
10821 .PHONY: maybe-pdf-find pdf-find
10822 maybe-pdf-find:
10823 @if find
10824 maybe-pdf-find: pdf-find
10826 pdf-find: \
10827 configure-find
10828 @: $(MAKE); $(unstage)
10829 @[ -f ./find/Makefile ] || exit 0; \
10830 r=`${PWD_COMMAND}`; export r; \
10831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10832 $(HOST_EXPORTS) \
10833 for flag in $(EXTRA_HOST_FLAGS) ; do \
10834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10835 done; \
10836 echo "Doing pdf in find" ; \
10837 (cd $(HOST_SUBDIR)/find && \
10838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10840 "RANLIB=$${RANLIB}" \
10841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10842 pdf) \
10843 || exit 1
10845 @endif find
10847 .PHONY: maybe-html-find html-find
10848 maybe-html-find:
10849 @if find
10850 maybe-html-find: html-find
10852 html-find: \
10853 configure-find
10854 @: $(MAKE); $(unstage)
10855 @[ -f ./find/Makefile ] || exit 0; \
10856 r=`${PWD_COMMAND}`; export r; \
10857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10858 $(HOST_EXPORTS) \
10859 for flag in $(EXTRA_HOST_FLAGS) ; do \
10860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10861 done; \
10862 echo "Doing html in find" ; \
10863 (cd $(HOST_SUBDIR)/find && \
10864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10866 "RANLIB=$${RANLIB}" \
10867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10868 html) \
10869 || exit 1
10871 @endif find
10873 .PHONY: maybe-TAGS-find TAGS-find
10874 maybe-TAGS-find:
10875 @if find
10876 maybe-TAGS-find: TAGS-find
10878 TAGS-find: \
10879 configure-find
10880 @: $(MAKE); $(unstage)
10881 @[ -f ./find/Makefile ] || exit 0; \
10882 r=`${PWD_COMMAND}`; export r; \
10883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10884 $(HOST_EXPORTS) \
10885 for flag in $(EXTRA_HOST_FLAGS) ; do \
10886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10887 done; \
10888 echo "Doing TAGS in find" ; \
10889 (cd $(HOST_SUBDIR)/find && \
10890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10892 "RANLIB=$${RANLIB}" \
10893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10894 TAGS) \
10895 || exit 1
10897 @endif find
10899 .PHONY: maybe-install-info-find install-info-find
10900 maybe-install-info-find:
10901 @if find
10902 maybe-install-info-find: install-info-find
10904 install-info-find: \
10905 configure-find \
10906 info-find
10907 @: $(MAKE); $(unstage)
10908 @[ -f ./find/Makefile ] || exit 0; \
10909 r=`${PWD_COMMAND}`; export r; \
10910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10911 $(HOST_EXPORTS) \
10912 for flag in $(EXTRA_HOST_FLAGS) ; do \
10913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10914 done; \
10915 echo "Doing install-info in find" ; \
10916 (cd $(HOST_SUBDIR)/find && \
10917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10919 "RANLIB=$${RANLIB}" \
10920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10921 install-info) \
10922 || exit 1
10924 @endif find
10926 .PHONY: maybe-install-html-find install-html-find
10927 maybe-install-html-find:
10928 @if find
10929 maybe-install-html-find: install-html-find
10931 install-html-find: \
10932 configure-find \
10933 html-find
10934 @: $(MAKE); $(unstage)
10935 @[ -f ./find/Makefile ] || exit 0; \
10936 r=`${PWD_COMMAND}`; export r; \
10937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10938 $(HOST_EXPORTS) \
10939 for flag in $(EXTRA_HOST_FLAGS) ; do \
10940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10941 done; \
10942 echo "Doing install-html in find" ; \
10943 (cd $(HOST_SUBDIR)/find && \
10944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10946 "RANLIB=$${RANLIB}" \
10947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10948 install-html) \
10949 || exit 1
10951 @endif find
10953 .PHONY: maybe-installcheck-find installcheck-find
10954 maybe-installcheck-find:
10955 @if find
10956 maybe-installcheck-find: installcheck-find
10958 installcheck-find: \
10959 configure-find
10960 @: $(MAKE); $(unstage)
10961 @[ -f ./find/Makefile ] || exit 0; \
10962 r=`${PWD_COMMAND}`; export r; \
10963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10964 $(HOST_EXPORTS) \
10965 for flag in $(EXTRA_HOST_FLAGS) ; do \
10966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10967 done; \
10968 echo "Doing installcheck in find" ; \
10969 (cd $(HOST_SUBDIR)/find && \
10970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10972 "RANLIB=$${RANLIB}" \
10973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10974 installcheck) \
10975 || exit 1
10977 @endif find
10979 .PHONY: maybe-mostlyclean-find mostlyclean-find
10980 maybe-mostlyclean-find:
10981 @if find
10982 maybe-mostlyclean-find: mostlyclean-find
10984 mostlyclean-find:
10985 @: $(MAKE); $(unstage)
10986 @[ -f ./find/Makefile ] || exit 0; \
10987 r=`${PWD_COMMAND}`; export r; \
10988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10989 $(HOST_EXPORTS) \
10990 for flag in $(EXTRA_HOST_FLAGS) ; do \
10991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10992 done; \
10993 echo "Doing mostlyclean in find" ; \
10994 (cd $(HOST_SUBDIR)/find && \
10995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10997 "RANLIB=$${RANLIB}" \
10998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10999 mostlyclean) \
11000 || exit 1
11002 @endif find
11004 .PHONY: maybe-clean-find clean-find
11005 maybe-clean-find:
11006 @if find
11007 maybe-clean-find: clean-find
11009 clean-find:
11010 @: $(MAKE); $(unstage)
11011 @[ -f ./find/Makefile ] || exit 0; \
11012 r=`${PWD_COMMAND}`; export r; \
11013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11014 $(HOST_EXPORTS) \
11015 for flag in $(EXTRA_HOST_FLAGS) ; do \
11016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11017 done; \
11018 echo "Doing clean in find" ; \
11019 (cd $(HOST_SUBDIR)/find && \
11020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11022 "RANLIB=$${RANLIB}" \
11023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11024 clean) \
11025 || exit 1
11027 @endif find
11029 .PHONY: maybe-distclean-find distclean-find
11030 maybe-distclean-find:
11031 @if find
11032 maybe-distclean-find: distclean-find
11034 distclean-find:
11035 @: $(MAKE); $(unstage)
11036 @[ -f ./find/Makefile ] || exit 0; \
11037 r=`${PWD_COMMAND}`; export r; \
11038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11039 $(HOST_EXPORTS) \
11040 for flag in $(EXTRA_HOST_FLAGS) ; do \
11041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11042 done; \
11043 echo "Doing distclean in find" ; \
11044 (cd $(HOST_SUBDIR)/find && \
11045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11047 "RANLIB=$${RANLIB}" \
11048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11049 distclean) \
11050 || exit 1
11052 @endif find
11054 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
11055 maybe-maintainer-clean-find:
11056 @if find
11057 maybe-maintainer-clean-find: maintainer-clean-find
11059 maintainer-clean-find:
11060 @: $(MAKE); $(unstage)
11061 @[ -f ./find/Makefile ] || exit 0; \
11062 r=`${PWD_COMMAND}`; export r; \
11063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11064 $(HOST_EXPORTS) \
11065 for flag in $(EXTRA_HOST_FLAGS) ; do \
11066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11067 done; \
11068 echo "Doing maintainer-clean in find" ; \
11069 (cd $(HOST_SUBDIR)/find && \
11070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11072 "RANLIB=$${RANLIB}" \
11073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11074 maintainer-clean) \
11075 || exit 1
11077 @endif find
11081 .PHONY: configure-fixincludes maybe-configure-fixincludes
11082 maybe-configure-fixincludes:
11083 @if gcc-bootstrap
11084 configure-fixincludes: stage_current
11085 @endif gcc-bootstrap
11086 @if fixincludes
11087 maybe-configure-fixincludes: configure-fixincludes
11088 configure-fixincludes:
11089 @: $(MAKE); $(unstage)
11090 @r=`${PWD_COMMAND}`; export r; \
11091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11092 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
11093 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
11094 $(HOST_EXPORTS) \
11095 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
11096 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
11097 case $(srcdir) in \
11098 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11099 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
11100 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11101 esac; \
11102 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
11103 libsrcdir="$$s/fixincludes"; \
11104 $(SHELL) $${libsrcdir}/configure \
11105 $(HOST_CONFIGARGS) $${srcdiroption} \
11106 || exit 1
11107 @endif fixincludes
11113 .PHONY: all-fixincludes maybe-all-fixincludes
11114 maybe-all-fixincludes:
11115 @if gcc-bootstrap
11116 all-fixincludes: stage_current
11117 @endif gcc-bootstrap
11118 @if fixincludes
11119 TARGET-fixincludes=all
11120 maybe-all-fixincludes: all-fixincludes
11121 all-fixincludes: configure-fixincludes
11122 @: $(MAKE); $(unstage)
11123 @r=`${PWD_COMMAND}`; export r; \
11124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11125 $(HOST_EXPORTS) \
11126 (cd $(HOST_SUBDIR)/fixincludes && \
11127 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
11128 @endif fixincludes
11133 .PHONY: check-fixincludes maybe-check-fixincludes
11134 maybe-check-fixincludes:
11135 @if fixincludes
11136 maybe-check-fixincludes: check-fixincludes
11138 check-fixincludes:
11139 @: $(MAKE); $(unstage)
11140 @r=`${PWD_COMMAND}`; export r; \
11141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11142 $(HOST_EXPORTS) \
11143 (cd $(HOST_SUBDIR)/fixincludes && \
11144 $(MAKE) $(FLAGS_TO_PASS) check)
11146 @endif fixincludes
11148 .PHONY: install-fixincludes maybe-install-fixincludes
11149 maybe-install-fixincludes:
11150 @if fixincludes
11151 maybe-install-fixincludes: install-fixincludes
11153 install-fixincludes: installdirs
11154 @: $(MAKE); $(unstage)
11155 @r=`${PWD_COMMAND}`; export r; \
11156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11157 $(HOST_EXPORTS) \
11158 (cd $(HOST_SUBDIR)/fixincludes && \
11159 $(MAKE) $(FLAGS_TO_PASS) install)
11161 @endif fixincludes
11163 # Other targets (info, dvi, pdf, etc.)
11165 .PHONY: maybe-info-fixincludes info-fixincludes
11166 maybe-info-fixincludes:
11167 @if fixincludes
11168 maybe-info-fixincludes: info-fixincludes
11170 # fixincludes doesn't support info.
11171 info-fixincludes:
11173 @endif fixincludes
11175 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
11176 maybe-dvi-fixincludes:
11177 @if fixincludes
11178 maybe-dvi-fixincludes: dvi-fixincludes
11180 # fixincludes doesn't support dvi.
11181 dvi-fixincludes:
11183 @endif fixincludes
11185 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
11186 maybe-pdf-fixincludes:
11187 @if fixincludes
11188 maybe-pdf-fixincludes: pdf-fixincludes
11190 # fixincludes doesn't support pdf.
11191 pdf-fixincludes:
11193 @endif fixincludes
11195 .PHONY: maybe-html-fixincludes html-fixincludes
11196 maybe-html-fixincludes:
11197 @if fixincludes
11198 maybe-html-fixincludes: html-fixincludes
11200 html-fixincludes: \
11201 configure-fixincludes
11202 @: $(MAKE); $(unstage)
11203 @[ -f ./fixincludes/Makefile ] || exit 0; \
11204 r=`${PWD_COMMAND}`; export r; \
11205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11206 $(HOST_EXPORTS) \
11207 for flag in $(EXTRA_HOST_FLAGS) ; do \
11208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11209 done; \
11210 echo "Doing html in fixincludes" ; \
11211 (cd $(HOST_SUBDIR)/fixincludes && \
11212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11214 "RANLIB=$${RANLIB}" \
11215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11216 html) \
11217 || exit 1
11219 @endif fixincludes
11221 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
11222 maybe-TAGS-fixincludes:
11223 @if fixincludes
11224 maybe-TAGS-fixincludes: TAGS-fixincludes
11226 # fixincludes doesn't support TAGS.
11227 TAGS-fixincludes:
11229 @endif fixincludes
11231 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
11232 maybe-install-info-fixincludes:
11233 @if fixincludes
11234 maybe-install-info-fixincludes: install-info-fixincludes
11236 # fixincludes doesn't support install-info.
11237 install-info-fixincludes:
11239 @endif fixincludes
11241 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
11242 maybe-install-html-fixincludes:
11243 @if fixincludes
11244 maybe-install-html-fixincludes: install-html-fixincludes
11246 install-html-fixincludes: \
11247 configure-fixincludes \
11248 html-fixincludes
11249 @: $(MAKE); $(unstage)
11250 @[ -f ./fixincludes/Makefile ] || exit 0; \
11251 r=`${PWD_COMMAND}`; export r; \
11252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11253 $(HOST_EXPORTS) \
11254 for flag in $(EXTRA_HOST_FLAGS) ; do \
11255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11256 done; \
11257 echo "Doing install-html in fixincludes" ; \
11258 (cd $(HOST_SUBDIR)/fixincludes && \
11259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11261 "RANLIB=$${RANLIB}" \
11262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11263 install-html) \
11264 || exit 1
11266 @endif fixincludes
11268 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
11269 maybe-installcheck-fixincludes:
11270 @if fixincludes
11271 maybe-installcheck-fixincludes: installcheck-fixincludes
11273 # fixincludes doesn't support installcheck.
11274 installcheck-fixincludes:
11276 @endif fixincludes
11278 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
11279 maybe-mostlyclean-fixincludes:
11280 @if fixincludes
11281 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
11283 mostlyclean-fixincludes:
11284 @: $(MAKE); $(unstage)
11285 @[ -f ./fixincludes/Makefile ] || exit 0; \
11286 r=`${PWD_COMMAND}`; export r; \
11287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11288 $(HOST_EXPORTS) \
11289 for flag in $(EXTRA_HOST_FLAGS) ; do \
11290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11291 done; \
11292 echo "Doing mostlyclean in fixincludes" ; \
11293 (cd $(HOST_SUBDIR)/fixincludes && \
11294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11296 "RANLIB=$${RANLIB}" \
11297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11298 mostlyclean) \
11299 || exit 1
11301 @endif fixincludes
11303 .PHONY: maybe-clean-fixincludes clean-fixincludes
11304 maybe-clean-fixincludes:
11305 @if fixincludes
11306 maybe-clean-fixincludes: clean-fixincludes
11308 clean-fixincludes:
11309 @: $(MAKE); $(unstage)
11310 @[ -f ./fixincludes/Makefile ] || exit 0; \
11311 r=`${PWD_COMMAND}`; export r; \
11312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11313 $(HOST_EXPORTS) \
11314 for flag in $(EXTRA_HOST_FLAGS) ; do \
11315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11316 done; \
11317 echo "Doing clean in fixincludes" ; \
11318 (cd $(HOST_SUBDIR)/fixincludes && \
11319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11321 "RANLIB=$${RANLIB}" \
11322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11323 clean) \
11324 || exit 1
11326 @endif fixincludes
11328 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
11329 maybe-distclean-fixincludes:
11330 @if fixincludes
11331 maybe-distclean-fixincludes: distclean-fixincludes
11333 distclean-fixincludes:
11334 @: $(MAKE); $(unstage)
11335 @[ -f ./fixincludes/Makefile ] || exit 0; \
11336 r=`${PWD_COMMAND}`; export r; \
11337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11338 $(HOST_EXPORTS) \
11339 for flag in $(EXTRA_HOST_FLAGS) ; do \
11340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11341 done; \
11342 echo "Doing distclean in fixincludes" ; \
11343 (cd $(HOST_SUBDIR)/fixincludes && \
11344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11346 "RANLIB=$${RANLIB}" \
11347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11348 distclean) \
11349 || exit 1
11351 @endif fixincludes
11353 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
11354 maybe-maintainer-clean-fixincludes:
11355 @if fixincludes
11356 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
11358 maintainer-clean-fixincludes:
11359 @: $(MAKE); $(unstage)
11360 @[ -f ./fixincludes/Makefile ] || exit 0; \
11361 r=`${PWD_COMMAND}`; export r; \
11362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11363 $(HOST_EXPORTS) \
11364 for flag in $(EXTRA_HOST_FLAGS) ; do \
11365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11366 done; \
11367 echo "Doing maintainer-clean in fixincludes" ; \
11368 (cd $(HOST_SUBDIR)/fixincludes && \
11369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11371 "RANLIB=$${RANLIB}" \
11372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11373 maintainer-clean) \
11374 || exit 1
11376 @endif fixincludes
11380 .PHONY: configure-flex maybe-configure-flex
11381 maybe-configure-flex:
11382 @if gcc-bootstrap
11383 configure-flex: stage_current
11384 @endif gcc-bootstrap
11385 @if flex
11386 maybe-configure-flex: configure-flex
11387 configure-flex:
11388 @: $(MAKE); $(unstage)
11389 @r=`${PWD_COMMAND}`; export r; \
11390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11391 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
11392 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
11393 $(HOST_EXPORTS) \
11394 echo Configuring in $(HOST_SUBDIR)/flex; \
11395 cd "$(HOST_SUBDIR)/flex" || exit 1; \
11396 case $(srcdir) in \
11397 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11398 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
11399 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11400 esac; \
11401 srcdiroption="--srcdir=$${topdir}/flex"; \
11402 libsrcdir="$$s/flex"; \
11403 $(SHELL) $${libsrcdir}/configure \
11404 $(HOST_CONFIGARGS) $${srcdiroption} \
11405 || exit 1
11406 @endif flex
11412 .PHONY: all-flex maybe-all-flex
11413 maybe-all-flex:
11414 @if gcc-bootstrap
11415 all-flex: stage_current
11416 @endif gcc-bootstrap
11417 @if flex
11418 TARGET-flex=all
11419 maybe-all-flex: all-flex
11420 all-flex: configure-flex
11421 @: $(MAKE); $(unstage)
11422 @r=`${PWD_COMMAND}`; export r; \
11423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11424 $(HOST_EXPORTS) \
11425 (cd $(HOST_SUBDIR)/flex && \
11426 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
11427 @endif flex
11432 .PHONY: check-flex maybe-check-flex
11433 maybe-check-flex:
11434 @if flex
11435 maybe-check-flex: check-flex
11437 # This module is only tested in a native toolchain.
11438 check-flex:
11439 @: $(MAKE); $(unstage)
11440 @if [ '$(host)' = '$(target)' ] ; then \
11441 r=`${PWD_COMMAND}`; export r; \
11442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11443 $(HOST_EXPORTS) \
11444 (cd $(HOST_SUBDIR)/flex && \
11445 $(MAKE) $(FLAGS_TO_PASS) check); \
11448 @endif flex
11450 .PHONY: install-flex maybe-install-flex
11451 maybe-install-flex:
11452 @if flex
11453 maybe-install-flex: install-flex
11455 install-flex: installdirs
11456 @: $(MAKE); $(unstage)
11457 @r=`${PWD_COMMAND}`; export r; \
11458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11459 $(HOST_EXPORTS) \
11460 (cd $(HOST_SUBDIR)/flex && \
11461 $(MAKE) $(FLAGS_TO_PASS) install)
11463 @endif flex
11465 # Other targets (info, dvi, pdf, etc.)
11467 .PHONY: maybe-info-flex info-flex
11468 maybe-info-flex:
11469 @if flex
11470 maybe-info-flex: info-flex
11472 info-flex: \
11473 configure-flex
11474 @: $(MAKE); $(unstage)
11475 @[ -f ./flex/Makefile ] || exit 0; \
11476 r=`${PWD_COMMAND}`; export r; \
11477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11478 $(HOST_EXPORTS) \
11479 for flag in $(EXTRA_HOST_FLAGS) ; do \
11480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11481 done; \
11482 echo "Doing info in flex" ; \
11483 (cd $(HOST_SUBDIR)/flex && \
11484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11486 "RANLIB=$${RANLIB}" \
11487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11488 info) \
11489 || exit 1
11491 @endif flex
11493 .PHONY: maybe-dvi-flex dvi-flex
11494 maybe-dvi-flex:
11495 @if flex
11496 maybe-dvi-flex: dvi-flex
11498 dvi-flex: \
11499 configure-flex
11500 @: $(MAKE); $(unstage)
11501 @[ -f ./flex/Makefile ] || exit 0; \
11502 r=`${PWD_COMMAND}`; export r; \
11503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11504 $(HOST_EXPORTS) \
11505 for flag in $(EXTRA_HOST_FLAGS) ; do \
11506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11507 done; \
11508 echo "Doing dvi in flex" ; \
11509 (cd $(HOST_SUBDIR)/flex && \
11510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11512 "RANLIB=$${RANLIB}" \
11513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11514 dvi) \
11515 || exit 1
11517 @endif flex
11519 .PHONY: maybe-pdf-flex pdf-flex
11520 maybe-pdf-flex:
11521 @if flex
11522 maybe-pdf-flex: pdf-flex
11524 pdf-flex: \
11525 configure-flex
11526 @: $(MAKE); $(unstage)
11527 @[ -f ./flex/Makefile ] || exit 0; \
11528 r=`${PWD_COMMAND}`; export r; \
11529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11530 $(HOST_EXPORTS) \
11531 for flag in $(EXTRA_HOST_FLAGS) ; do \
11532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11533 done; \
11534 echo "Doing pdf in flex" ; \
11535 (cd $(HOST_SUBDIR)/flex && \
11536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11538 "RANLIB=$${RANLIB}" \
11539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11540 pdf) \
11541 || exit 1
11543 @endif flex
11545 .PHONY: maybe-html-flex html-flex
11546 maybe-html-flex:
11547 @if flex
11548 maybe-html-flex: html-flex
11550 html-flex: \
11551 configure-flex
11552 @: $(MAKE); $(unstage)
11553 @[ -f ./flex/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 flex" ; \
11561 (cd $(HOST_SUBDIR)/flex && \
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 flex
11571 .PHONY: maybe-TAGS-flex TAGS-flex
11572 maybe-TAGS-flex:
11573 @if flex
11574 maybe-TAGS-flex: TAGS-flex
11576 TAGS-flex: \
11577 configure-flex
11578 @: $(MAKE); $(unstage)
11579 @[ -f ./flex/Makefile ] || exit 0; \
11580 r=`${PWD_COMMAND}`; export r; \
11581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11582 $(HOST_EXPORTS) \
11583 for flag in $(EXTRA_HOST_FLAGS) ; do \
11584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11585 done; \
11586 echo "Doing TAGS in flex" ; \
11587 (cd $(HOST_SUBDIR)/flex && \
11588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11590 "RANLIB=$${RANLIB}" \
11591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11592 TAGS) \
11593 || exit 1
11595 @endif flex
11597 .PHONY: maybe-install-info-flex install-info-flex
11598 maybe-install-info-flex:
11599 @if flex
11600 maybe-install-info-flex: install-info-flex
11602 install-info-flex: \
11603 configure-flex \
11604 info-flex
11605 @: $(MAKE); $(unstage)
11606 @[ -f ./flex/Makefile ] || exit 0; \
11607 r=`${PWD_COMMAND}`; export r; \
11608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11609 $(HOST_EXPORTS) \
11610 for flag in $(EXTRA_HOST_FLAGS) ; do \
11611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11612 done; \
11613 echo "Doing install-info in flex" ; \
11614 (cd $(HOST_SUBDIR)/flex && \
11615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11617 "RANLIB=$${RANLIB}" \
11618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11619 install-info) \
11620 || exit 1
11622 @endif flex
11624 .PHONY: maybe-install-html-flex install-html-flex
11625 maybe-install-html-flex:
11626 @if flex
11627 maybe-install-html-flex: install-html-flex
11629 install-html-flex: \
11630 configure-flex \
11631 html-flex
11632 @: $(MAKE); $(unstage)
11633 @[ -f ./flex/Makefile ] || exit 0; \
11634 r=`${PWD_COMMAND}`; export r; \
11635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11636 $(HOST_EXPORTS) \
11637 for flag in $(EXTRA_HOST_FLAGS) ; do \
11638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11639 done; \
11640 echo "Doing install-html in flex" ; \
11641 (cd $(HOST_SUBDIR)/flex && \
11642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11644 "RANLIB=$${RANLIB}" \
11645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11646 install-html) \
11647 || exit 1
11649 @endif flex
11651 .PHONY: maybe-installcheck-flex installcheck-flex
11652 maybe-installcheck-flex:
11653 @if flex
11654 maybe-installcheck-flex: installcheck-flex
11656 installcheck-flex: \
11657 configure-flex
11658 @: $(MAKE); $(unstage)
11659 @[ -f ./flex/Makefile ] || exit 0; \
11660 r=`${PWD_COMMAND}`; export r; \
11661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11662 $(HOST_EXPORTS) \
11663 for flag in $(EXTRA_HOST_FLAGS) ; do \
11664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11665 done; \
11666 echo "Doing installcheck in flex" ; \
11667 (cd $(HOST_SUBDIR)/flex && \
11668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11670 "RANLIB=$${RANLIB}" \
11671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11672 installcheck) \
11673 || exit 1
11675 @endif flex
11677 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
11678 maybe-mostlyclean-flex:
11679 @if flex
11680 maybe-mostlyclean-flex: mostlyclean-flex
11682 mostlyclean-flex:
11683 @: $(MAKE); $(unstage)
11684 @[ -f ./flex/Makefile ] || exit 0; \
11685 r=`${PWD_COMMAND}`; export r; \
11686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11687 $(HOST_EXPORTS) \
11688 for flag in $(EXTRA_HOST_FLAGS) ; do \
11689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11690 done; \
11691 echo "Doing mostlyclean in flex" ; \
11692 (cd $(HOST_SUBDIR)/flex && \
11693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11695 "RANLIB=$${RANLIB}" \
11696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11697 mostlyclean) \
11698 || exit 1
11700 @endif flex
11702 .PHONY: maybe-clean-flex clean-flex
11703 maybe-clean-flex:
11704 @if flex
11705 maybe-clean-flex: clean-flex
11707 clean-flex:
11708 @: $(MAKE); $(unstage)
11709 @[ -f ./flex/Makefile ] || exit 0; \
11710 r=`${PWD_COMMAND}`; export r; \
11711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11712 $(HOST_EXPORTS) \
11713 for flag in $(EXTRA_HOST_FLAGS) ; do \
11714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11715 done; \
11716 echo "Doing clean in flex" ; \
11717 (cd $(HOST_SUBDIR)/flex && \
11718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11720 "RANLIB=$${RANLIB}" \
11721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11722 clean) \
11723 || exit 1
11725 @endif flex
11727 .PHONY: maybe-distclean-flex distclean-flex
11728 maybe-distclean-flex:
11729 @if flex
11730 maybe-distclean-flex: distclean-flex
11732 distclean-flex:
11733 @: $(MAKE); $(unstage)
11734 @[ -f ./flex/Makefile ] || exit 0; \
11735 r=`${PWD_COMMAND}`; export r; \
11736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11737 $(HOST_EXPORTS) \
11738 for flag in $(EXTRA_HOST_FLAGS) ; do \
11739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11740 done; \
11741 echo "Doing distclean in flex" ; \
11742 (cd $(HOST_SUBDIR)/flex && \
11743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11745 "RANLIB=$${RANLIB}" \
11746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11747 distclean) \
11748 || exit 1
11750 @endif flex
11752 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
11753 maybe-maintainer-clean-flex:
11754 @if flex
11755 maybe-maintainer-clean-flex: maintainer-clean-flex
11757 maintainer-clean-flex:
11758 @: $(MAKE); $(unstage)
11759 @[ -f ./flex/Makefile ] || exit 0; \
11760 r=`${PWD_COMMAND}`; export r; \
11761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11762 $(HOST_EXPORTS) \
11763 for flag in $(EXTRA_HOST_FLAGS) ; do \
11764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11765 done; \
11766 echo "Doing maintainer-clean in flex" ; \
11767 (cd $(HOST_SUBDIR)/flex && \
11768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11770 "RANLIB=$${RANLIB}" \
11771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11772 maintainer-clean) \
11773 || exit 1
11775 @endif flex
11779 .PHONY: configure-gas maybe-configure-gas
11780 maybe-configure-gas:
11781 @if gcc-bootstrap
11782 configure-gas: stage_current
11783 @endif gcc-bootstrap
11784 @if gas
11785 maybe-configure-gas: configure-gas
11786 configure-gas:
11787 @r=`${PWD_COMMAND}`; export r; \
11788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11789 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11790 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11791 $(HOST_EXPORTS) \
11792 echo Configuring in $(HOST_SUBDIR)/gas; \
11793 cd "$(HOST_SUBDIR)/gas" || exit 1; \
11794 case $(srcdir) in \
11795 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11796 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11797 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11798 esac; \
11799 srcdiroption="--srcdir=$${topdir}/gas"; \
11800 libsrcdir="$$s/gas"; \
11801 $(SHELL) $${libsrcdir}/configure \
11802 $(HOST_CONFIGARGS) $${srcdiroption} \
11803 || exit 1
11804 @endif gas
11808 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
11809 maybe-configure-stage1-gas:
11810 @if gas-bootstrap
11811 maybe-configure-stage1-gas: configure-stage1-gas
11812 configure-stage1-gas:
11813 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11814 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11815 @r=`${PWD_COMMAND}`; export r; \
11816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11817 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11818 $(HOST_EXPORTS) \
11819 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
11820 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11821 cd $(HOST_SUBDIR)/gas || exit 1; \
11822 case $(srcdir) in \
11823 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11824 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11825 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11826 esac; \
11827 srcdiroption="--srcdir=$${topdir}/gas"; \
11828 libsrcdir="$$s/gas"; \
11829 $(SHELL) $${libsrcdir}/configure \
11830 $(HOST_CONFIGARGS) $${srcdiroption} \
11832 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
11833 @endif gas-bootstrap
11835 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
11836 maybe-configure-stage2-gas:
11837 @if gas-bootstrap
11838 maybe-configure-stage2-gas: configure-stage2-gas
11839 configure-stage2-gas:
11840 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11841 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11842 @r=`${PWD_COMMAND}`; export r; \
11843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11844 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11845 $(HOST_EXPORTS) \
11846 $(POSTSTAGE1_HOST_EXPORTS) \
11847 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
11848 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11849 cd $(HOST_SUBDIR)/gas || exit 1; \
11850 case $(srcdir) in \
11851 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11852 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11853 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11854 esac; \
11855 srcdiroption="--srcdir=$${topdir}/gas"; \
11856 libsrcdir="$$s/gas"; \
11857 $(SHELL) $${libsrcdir}/configure \
11858 $(HOST_CONFIGARGS) $${srcdiroption} \
11859 --with-build-libsubdir=$(HOST_SUBDIR) \
11860 @stage2_werror_flag@
11861 @endif gas-bootstrap
11863 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
11864 maybe-configure-stage3-gas:
11865 @if gas-bootstrap
11866 maybe-configure-stage3-gas: configure-stage3-gas
11867 configure-stage3-gas:
11868 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11869 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11870 @r=`${PWD_COMMAND}`; export r; \
11871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11872 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11873 $(HOST_EXPORTS) \
11874 $(POSTSTAGE1_HOST_EXPORTS) \
11875 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
11876 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11877 cd $(HOST_SUBDIR)/gas || exit 1; \
11878 case $(srcdir) in \
11879 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11880 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11881 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11882 esac; \
11883 srcdiroption="--srcdir=$${topdir}/gas"; \
11884 libsrcdir="$$s/gas"; \
11885 $(SHELL) $${libsrcdir}/configure \
11886 $(HOST_CONFIGARGS) $${srcdiroption} \
11887 --with-build-libsubdir=$(HOST_SUBDIR) \
11888 @stage2_werror_flag@
11889 @endif gas-bootstrap
11891 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
11892 maybe-configure-stage4-gas:
11893 @if gas-bootstrap
11894 maybe-configure-stage4-gas: configure-stage4-gas
11895 configure-stage4-gas:
11896 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11897 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11898 @r=`${PWD_COMMAND}`; export r; \
11899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11900 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11901 $(HOST_EXPORTS) \
11902 $(POSTSTAGE1_HOST_EXPORTS) \
11903 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
11904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11905 cd $(HOST_SUBDIR)/gas || exit 1; \
11906 case $(srcdir) in \
11907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11908 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11910 esac; \
11911 srcdiroption="--srcdir=$${topdir}/gas"; \
11912 libsrcdir="$$s/gas"; \
11913 $(SHELL) $${libsrcdir}/configure \
11914 $(HOST_CONFIGARGS) $${srcdiroption} \
11915 --with-build-libsubdir=$(HOST_SUBDIR) \
11916 @stage2_werror_flag@
11917 @endif gas-bootstrap
11919 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
11920 maybe-configure-stageprofile-gas:
11921 @if gas-bootstrap
11922 maybe-configure-stageprofile-gas: configure-stageprofile-gas
11923 configure-stageprofile-gas:
11924 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11925 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11926 @r=`${PWD_COMMAND}`; export r; \
11927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11928 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11929 $(HOST_EXPORTS) \
11930 $(POSTSTAGE1_HOST_EXPORTS) \
11931 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
11932 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11933 cd $(HOST_SUBDIR)/gas || exit 1; \
11934 case $(srcdir) in \
11935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11936 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11938 esac; \
11939 srcdiroption="--srcdir=$${topdir}/gas"; \
11940 libsrcdir="$$s/gas"; \
11941 $(SHELL) $${libsrcdir}/configure \
11942 $(HOST_CONFIGARGS) $${srcdiroption} \
11943 --with-build-libsubdir=$(HOST_SUBDIR) \
11944 @stage2_werror_flag@
11945 @endif gas-bootstrap
11947 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
11948 maybe-configure-stagefeedback-gas:
11949 @if gas-bootstrap
11950 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
11951 configure-stagefeedback-gas:
11952 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11953 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11954 @r=`${PWD_COMMAND}`; export r; \
11955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11956 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11957 $(HOST_EXPORTS) \
11958 $(POSTSTAGE1_HOST_EXPORTS) \
11959 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
11960 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11961 cd $(HOST_SUBDIR)/gas || exit 1; \
11962 case $(srcdir) in \
11963 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11964 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11965 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11966 esac; \
11967 srcdiroption="--srcdir=$${topdir}/gas"; \
11968 libsrcdir="$$s/gas"; \
11969 $(SHELL) $${libsrcdir}/configure \
11970 $(HOST_CONFIGARGS) $${srcdiroption} \
11971 --with-build-libsubdir=$(HOST_SUBDIR) \
11972 @stage2_werror_flag@
11973 @endif gas-bootstrap
11979 .PHONY: all-gas maybe-all-gas
11980 maybe-all-gas:
11981 @if gcc-bootstrap
11982 all-gas: stage_current
11983 @endif gcc-bootstrap
11984 @if gas
11985 TARGET-gas=all
11986 maybe-all-gas: all-gas
11987 all-gas: configure-gas
11988 @r=`${PWD_COMMAND}`; export r; \
11989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11990 $(HOST_EXPORTS) \
11991 (cd $(HOST_SUBDIR)/gas && \
11992 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
11993 @endif gas
11997 .PHONY: all-stage1-gas maybe-all-stage1-gas
11998 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
11999 maybe-all-stage1-gas:
12000 maybe-clean-stage1-gas:
12001 @if gas-bootstrap
12002 maybe-all-stage1-gas: all-stage1-gas
12003 all-stage1: all-stage1-gas
12004 TARGET-stage1-gas = $(TARGET-gas)
12005 all-stage1-gas: configure-stage1-gas
12006 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12007 @r=`${PWD_COMMAND}`; export r; \
12008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12009 $(HOST_EXPORTS) \
12010 cd $(HOST_SUBDIR)/gas && \
12011 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
12012 $(TARGET-stage1-gas)
12014 maybe-clean-stage1-gas: clean-stage1-gas
12015 clean-stage1: clean-stage1-gas
12016 clean-stage1-gas:
12017 @if [ $(current_stage) = stage1 ]; then \
12018 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12019 else \
12020 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
12021 $(MAKE) stage1-start; \
12022 fi; \
12023 cd $(HOST_SUBDIR)/gas && \
12024 $(MAKE) $(FLAGS_TO_PASS) \
12025 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
12026 @endif gas-bootstrap
12029 .PHONY: all-stage2-gas maybe-all-stage2-gas
12030 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
12031 maybe-all-stage2-gas:
12032 maybe-clean-stage2-gas:
12033 @if gas-bootstrap
12034 maybe-all-stage2-gas: all-stage2-gas
12035 all-stage2: all-stage2-gas
12036 TARGET-stage2-gas = $(TARGET-gas)
12037 all-stage2-gas: configure-stage2-gas
12038 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12039 @r=`${PWD_COMMAND}`; export r; \
12040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12041 $(HOST_EXPORTS) \
12042 $(POSTSTAGE1_HOST_EXPORTS) \
12043 cd $(HOST_SUBDIR)/gas && \
12044 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12045 $(TARGET-stage2-gas)
12047 maybe-clean-stage2-gas: clean-stage2-gas
12048 clean-stage2: clean-stage2-gas
12049 clean-stage2-gas:
12050 @if [ $(current_stage) = stage2 ]; then \
12051 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12052 else \
12053 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
12054 $(MAKE) stage2-start; \
12055 fi; \
12056 cd $(HOST_SUBDIR)/gas && \
12057 $(MAKE) $(FLAGS_TO_PASS) \
12058 $(POSTSTAGE1_FLAGS_TO_PASS) \
12059 clean
12060 @endif gas-bootstrap
12063 .PHONY: all-stage3-gas maybe-all-stage3-gas
12064 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
12065 maybe-all-stage3-gas:
12066 maybe-clean-stage3-gas:
12067 @if gas-bootstrap
12068 maybe-all-stage3-gas: all-stage3-gas
12069 all-stage3: all-stage3-gas
12070 TARGET-stage3-gas = $(TARGET-gas)
12071 all-stage3-gas: configure-stage3-gas
12072 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12073 @r=`${PWD_COMMAND}`; export r; \
12074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12075 $(HOST_EXPORTS) \
12076 $(POSTSTAGE1_HOST_EXPORTS) \
12077 cd $(HOST_SUBDIR)/gas && \
12078 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12079 $(TARGET-stage3-gas)
12081 maybe-clean-stage3-gas: clean-stage3-gas
12082 clean-stage3: clean-stage3-gas
12083 clean-stage3-gas:
12084 @if [ $(current_stage) = stage3 ]; then \
12085 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12086 else \
12087 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
12088 $(MAKE) stage3-start; \
12089 fi; \
12090 cd $(HOST_SUBDIR)/gas && \
12091 $(MAKE) $(FLAGS_TO_PASS) \
12092 $(POSTSTAGE1_FLAGS_TO_PASS) \
12093 clean
12094 @endif gas-bootstrap
12097 .PHONY: all-stage4-gas maybe-all-stage4-gas
12098 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
12099 maybe-all-stage4-gas:
12100 maybe-clean-stage4-gas:
12101 @if gas-bootstrap
12102 maybe-all-stage4-gas: all-stage4-gas
12103 all-stage4: all-stage4-gas
12104 TARGET-stage4-gas = $(TARGET-gas)
12105 all-stage4-gas: configure-stage4-gas
12106 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12107 @r=`${PWD_COMMAND}`; export r; \
12108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12109 $(HOST_EXPORTS) \
12110 $(POSTSTAGE1_HOST_EXPORTS) \
12111 cd $(HOST_SUBDIR)/gas && \
12112 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12113 $(TARGET-stage4-gas)
12115 maybe-clean-stage4-gas: clean-stage4-gas
12116 clean-stage4: clean-stage4-gas
12117 clean-stage4-gas:
12118 @if [ $(current_stage) = stage4 ]; then \
12119 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12120 else \
12121 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
12122 $(MAKE) stage4-start; \
12123 fi; \
12124 cd $(HOST_SUBDIR)/gas && \
12125 $(MAKE) $(FLAGS_TO_PASS) \
12126 $(POSTSTAGE1_FLAGS_TO_PASS) \
12127 clean
12128 @endif gas-bootstrap
12131 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
12132 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
12133 maybe-all-stageprofile-gas:
12134 maybe-clean-stageprofile-gas:
12135 @if gas-bootstrap
12136 maybe-all-stageprofile-gas: all-stageprofile-gas
12137 all-stageprofile: all-stageprofile-gas
12138 TARGET-stageprofile-gas = $(TARGET-gas)
12139 all-stageprofile-gas: configure-stageprofile-gas
12140 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12141 @r=`${PWD_COMMAND}`; export r; \
12142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12143 $(HOST_EXPORTS) \
12144 $(POSTSTAGE1_HOST_EXPORTS) \
12145 cd $(HOST_SUBDIR)/gas && \
12146 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
12147 $(TARGET-stageprofile-gas)
12149 maybe-clean-stageprofile-gas: clean-stageprofile-gas
12150 clean-stageprofile: clean-stageprofile-gas
12151 clean-stageprofile-gas:
12152 @if [ $(current_stage) = stageprofile ]; then \
12153 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12154 else \
12155 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
12156 $(MAKE) stageprofile-start; \
12157 fi; \
12158 cd $(HOST_SUBDIR)/gas && \
12159 $(MAKE) $(FLAGS_TO_PASS) \
12160 $(POSTSTAGE1_FLAGS_TO_PASS) \
12161 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
12162 @endif gas-bootstrap
12165 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
12166 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
12167 maybe-all-stagefeedback-gas:
12168 maybe-clean-stagefeedback-gas:
12169 @if gas-bootstrap
12170 maybe-all-stagefeedback-gas: all-stagefeedback-gas
12171 all-stagefeedback: all-stagefeedback-gas
12172 TARGET-stagefeedback-gas = $(TARGET-gas)
12173 all-stagefeedback-gas: configure-stagefeedback-gas
12174 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12175 @r=`${PWD_COMMAND}`; export r; \
12176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12177 $(HOST_EXPORTS) \
12178 $(POSTSTAGE1_HOST_EXPORTS) \
12179 cd $(HOST_SUBDIR)/gas && \
12180 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
12181 $(TARGET-stagefeedback-gas)
12183 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
12184 clean-stagefeedback: clean-stagefeedback-gas
12185 clean-stagefeedback-gas:
12186 @if [ $(current_stage) = stagefeedback ]; then \
12187 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12188 else \
12189 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
12190 $(MAKE) stagefeedback-start; \
12191 fi; \
12192 cd $(HOST_SUBDIR)/gas && \
12193 $(MAKE) $(FLAGS_TO_PASS) \
12194 $(POSTSTAGE1_FLAGS_TO_PASS) \
12195 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
12196 @endif gas-bootstrap
12202 .PHONY: check-gas maybe-check-gas
12203 maybe-check-gas:
12204 @if gas
12205 maybe-check-gas: check-gas
12207 check-gas:
12208 @: $(MAKE); $(unstage)
12209 @r=`${PWD_COMMAND}`; export r; \
12210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12211 $(HOST_EXPORTS) \
12212 (cd $(HOST_SUBDIR)/gas && \
12213 $(MAKE) $(FLAGS_TO_PASS) check)
12215 @endif gas
12217 .PHONY: install-gas maybe-install-gas
12218 maybe-install-gas:
12219 @if gas
12220 maybe-install-gas: install-gas
12222 install-gas: installdirs
12223 @: $(MAKE); $(unstage)
12224 @r=`${PWD_COMMAND}`; export r; \
12225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12226 $(HOST_EXPORTS) \
12227 (cd $(HOST_SUBDIR)/gas && \
12228 $(MAKE) $(FLAGS_TO_PASS) install)
12230 @endif gas
12232 # Other targets (info, dvi, pdf, etc.)
12234 .PHONY: maybe-info-gas info-gas
12235 maybe-info-gas:
12236 @if gas
12237 maybe-info-gas: info-gas
12239 info-gas: \
12240 configure-gas
12241 @[ -f ./gas/Makefile ] || exit 0; \
12242 r=`${PWD_COMMAND}`; export r; \
12243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12244 $(HOST_EXPORTS) \
12245 for flag in $(EXTRA_HOST_FLAGS) ; do \
12246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12247 done; \
12248 echo "Doing info in gas" ; \
12249 (cd $(HOST_SUBDIR)/gas && \
12250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12252 "RANLIB=$${RANLIB}" \
12253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12254 info) \
12255 || exit 1
12257 @endif gas
12259 .PHONY: maybe-dvi-gas dvi-gas
12260 maybe-dvi-gas:
12261 @if gas
12262 maybe-dvi-gas: dvi-gas
12264 dvi-gas: \
12265 configure-gas
12266 @[ -f ./gas/Makefile ] || exit 0; \
12267 r=`${PWD_COMMAND}`; export r; \
12268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12269 $(HOST_EXPORTS) \
12270 for flag in $(EXTRA_HOST_FLAGS) ; do \
12271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12272 done; \
12273 echo "Doing dvi in gas" ; \
12274 (cd $(HOST_SUBDIR)/gas && \
12275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12277 "RANLIB=$${RANLIB}" \
12278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12279 dvi) \
12280 || exit 1
12282 @endif gas
12284 .PHONY: maybe-pdf-gas pdf-gas
12285 maybe-pdf-gas:
12286 @if gas
12287 maybe-pdf-gas: pdf-gas
12289 pdf-gas: \
12290 configure-gas
12291 @[ -f ./gas/Makefile ] || exit 0; \
12292 r=`${PWD_COMMAND}`; export r; \
12293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12294 $(HOST_EXPORTS) \
12295 for flag in $(EXTRA_HOST_FLAGS) ; do \
12296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12297 done; \
12298 echo "Doing pdf in gas" ; \
12299 (cd $(HOST_SUBDIR)/gas && \
12300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12302 "RANLIB=$${RANLIB}" \
12303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12304 pdf) \
12305 || exit 1
12307 @endif gas
12309 .PHONY: maybe-html-gas html-gas
12310 maybe-html-gas:
12311 @if gas
12312 maybe-html-gas: html-gas
12314 html-gas: \
12315 configure-gas
12316 @[ -f ./gas/Makefile ] || exit 0; \
12317 r=`${PWD_COMMAND}`; export r; \
12318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12319 $(HOST_EXPORTS) \
12320 for flag in $(EXTRA_HOST_FLAGS) ; do \
12321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12322 done; \
12323 echo "Doing html in gas" ; \
12324 (cd $(HOST_SUBDIR)/gas && \
12325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12327 "RANLIB=$${RANLIB}" \
12328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12329 html) \
12330 || exit 1
12332 @endif gas
12334 .PHONY: maybe-TAGS-gas TAGS-gas
12335 maybe-TAGS-gas:
12336 @if gas
12337 maybe-TAGS-gas: TAGS-gas
12339 TAGS-gas: \
12340 configure-gas
12341 @[ -f ./gas/Makefile ] || exit 0; \
12342 r=`${PWD_COMMAND}`; export r; \
12343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12344 $(HOST_EXPORTS) \
12345 for flag in $(EXTRA_HOST_FLAGS) ; do \
12346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12347 done; \
12348 echo "Doing TAGS in gas" ; \
12349 (cd $(HOST_SUBDIR)/gas && \
12350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12352 "RANLIB=$${RANLIB}" \
12353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12354 TAGS) \
12355 || exit 1
12357 @endif gas
12359 .PHONY: maybe-install-info-gas install-info-gas
12360 maybe-install-info-gas:
12361 @if gas
12362 maybe-install-info-gas: install-info-gas
12364 install-info-gas: \
12365 configure-gas \
12366 info-gas
12367 @[ -f ./gas/Makefile ] || exit 0; \
12368 r=`${PWD_COMMAND}`; export r; \
12369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12370 $(HOST_EXPORTS) \
12371 for flag in $(EXTRA_HOST_FLAGS) ; do \
12372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12373 done; \
12374 echo "Doing install-info in gas" ; \
12375 (cd $(HOST_SUBDIR)/gas && \
12376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12378 "RANLIB=$${RANLIB}" \
12379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12380 install-info) \
12381 || exit 1
12383 @endif gas
12385 .PHONY: maybe-install-html-gas install-html-gas
12386 maybe-install-html-gas:
12387 @if gas
12388 maybe-install-html-gas: install-html-gas
12390 install-html-gas: \
12391 configure-gas \
12392 html-gas
12393 @[ -f ./gas/Makefile ] || exit 0; \
12394 r=`${PWD_COMMAND}`; export r; \
12395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12396 $(HOST_EXPORTS) \
12397 for flag in $(EXTRA_HOST_FLAGS) ; do \
12398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12399 done; \
12400 echo "Doing install-html in gas" ; \
12401 (cd $(HOST_SUBDIR)/gas && \
12402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12404 "RANLIB=$${RANLIB}" \
12405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12406 install-html) \
12407 || exit 1
12409 @endif gas
12411 .PHONY: maybe-installcheck-gas installcheck-gas
12412 maybe-installcheck-gas:
12413 @if gas
12414 maybe-installcheck-gas: installcheck-gas
12416 installcheck-gas: \
12417 configure-gas
12418 @[ -f ./gas/Makefile ] || exit 0; \
12419 r=`${PWD_COMMAND}`; export r; \
12420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12421 $(HOST_EXPORTS) \
12422 for flag in $(EXTRA_HOST_FLAGS) ; do \
12423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12424 done; \
12425 echo "Doing installcheck in gas" ; \
12426 (cd $(HOST_SUBDIR)/gas && \
12427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12429 "RANLIB=$${RANLIB}" \
12430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12431 installcheck) \
12432 || exit 1
12434 @endif gas
12436 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
12437 maybe-mostlyclean-gas:
12438 @if gas
12439 maybe-mostlyclean-gas: mostlyclean-gas
12441 mostlyclean-gas:
12442 @[ -f ./gas/Makefile ] || exit 0; \
12443 r=`${PWD_COMMAND}`; export r; \
12444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12445 $(HOST_EXPORTS) \
12446 for flag in $(EXTRA_HOST_FLAGS) ; do \
12447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12448 done; \
12449 echo "Doing mostlyclean in gas" ; \
12450 (cd $(HOST_SUBDIR)/gas && \
12451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12453 "RANLIB=$${RANLIB}" \
12454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12455 mostlyclean) \
12456 || exit 1
12458 @endif gas
12460 .PHONY: maybe-clean-gas clean-gas
12461 maybe-clean-gas:
12462 @if gas
12463 maybe-clean-gas: clean-gas
12465 clean-gas:
12466 @[ -f ./gas/Makefile ] || exit 0; \
12467 r=`${PWD_COMMAND}`; export r; \
12468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12469 $(HOST_EXPORTS) \
12470 for flag in $(EXTRA_HOST_FLAGS) ; do \
12471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12472 done; \
12473 echo "Doing clean in gas" ; \
12474 (cd $(HOST_SUBDIR)/gas && \
12475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12477 "RANLIB=$${RANLIB}" \
12478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12479 clean) \
12480 || exit 1
12482 @endif gas
12484 .PHONY: maybe-distclean-gas distclean-gas
12485 maybe-distclean-gas:
12486 @if gas
12487 maybe-distclean-gas: distclean-gas
12489 distclean-gas:
12490 @[ -f ./gas/Makefile ] || exit 0; \
12491 r=`${PWD_COMMAND}`; export r; \
12492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12493 $(HOST_EXPORTS) \
12494 for flag in $(EXTRA_HOST_FLAGS) ; do \
12495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12496 done; \
12497 echo "Doing distclean in gas" ; \
12498 (cd $(HOST_SUBDIR)/gas && \
12499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12501 "RANLIB=$${RANLIB}" \
12502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12503 distclean) \
12504 || exit 1
12506 @endif gas
12508 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
12509 maybe-maintainer-clean-gas:
12510 @if gas
12511 maybe-maintainer-clean-gas: maintainer-clean-gas
12513 maintainer-clean-gas:
12514 @[ -f ./gas/Makefile ] || exit 0; \
12515 r=`${PWD_COMMAND}`; export r; \
12516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12517 $(HOST_EXPORTS) \
12518 for flag in $(EXTRA_HOST_FLAGS) ; do \
12519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12520 done; \
12521 echo "Doing maintainer-clean in gas" ; \
12522 (cd $(HOST_SUBDIR)/gas && \
12523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12525 "RANLIB=$${RANLIB}" \
12526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12527 maintainer-clean) \
12528 || exit 1
12530 @endif gas
12534 .PHONY: configure-gcc maybe-configure-gcc
12535 maybe-configure-gcc:
12536 @if gcc-bootstrap
12537 configure-gcc: stage_current
12538 @endif gcc-bootstrap
12539 @if gcc
12540 maybe-configure-gcc: configure-gcc
12541 configure-gcc:
12542 @r=`${PWD_COMMAND}`; export r; \
12543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12544 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12545 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12546 $(HOST_EXPORTS) \
12547 echo Configuring in $(HOST_SUBDIR)/gcc; \
12548 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
12549 case $(srcdir) in \
12550 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12551 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12552 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12553 esac; \
12554 srcdiroption="--srcdir=$${topdir}/gcc"; \
12555 libsrcdir="$$s/gcc"; \
12556 $(SHELL) $${libsrcdir}/configure \
12557 $(HOST_CONFIGARGS) $${srcdiroption} \
12558 || exit 1
12559 @endif gcc
12563 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
12564 maybe-configure-stage1-gcc:
12565 @if gcc-bootstrap
12566 maybe-configure-stage1-gcc: configure-stage1-gcc
12567 configure-stage1-gcc:
12568 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12569 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12570 @r=`${PWD_COMMAND}`; export r; \
12571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12572 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12573 $(HOST_EXPORTS) \
12574 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
12575 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12576 cd $(HOST_SUBDIR)/gcc || exit 1; \
12577 case $(srcdir) in \
12578 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12579 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12580 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12581 esac; \
12582 srcdiroption="--srcdir=$${topdir}/gcc"; \
12583 libsrcdir="$$s/gcc"; \
12584 $(SHELL) $${libsrcdir}/configure \
12585 $(HOST_CONFIGARGS) $${srcdiroption} \
12587 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
12588 @endif gcc-bootstrap
12590 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
12591 maybe-configure-stage2-gcc:
12592 @if gcc-bootstrap
12593 maybe-configure-stage2-gcc: configure-stage2-gcc
12594 configure-stage2-gcc:
12595 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12596 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12597 @r=`${PWD_COMMAND}`; export r; \
12598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12599 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12600 $(HOST_EXPORTS) \
12601 $(POSTSTAGE1_HOST_EXPORTS) \
12602 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
12603 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12604 cd $(HOST_SUBDIR)/gcc || exit 1; \
12605 case $(srcdir) in \
12606 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12607 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12608 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12609 esac; \
12610 srcdiroption="--srcdir=$${topdir}/gcc"; \
12611 libsrcdir="$$s/gcc"; \
12612 $(SHELL) $${libsrcdir}/configure \
12613 $(HOST_CONFIGARGS) $${srcdiroption} \
12614 --with-build-libsubdir=$(HOST_SUBDIR) \
12615 @stage2_werror_flag@
12616 @endif gcc-bootstrap
12618 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
12619 maybe-configure-stage3-gcc:
12620 @if gcc-bootstrap
12621 maybe-configure-stage3-gcc: configure-stage3-gcc
12622 configure-stage3-gcc:
12623 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12624 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12625 @r=`${PWD_COMMAND}`; export r; \
12626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12627 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12628 $(HOST_EXPORTS) \
12629 $(POSTSTAGE1_HOST_EXPORTS) \
12630 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
12631 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12632 cd $(HOST_SUBDIR)/gcc || exit 1; \
12633 case $(srcdir) in \
12634 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12635 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12636 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12637 esac; \
12638 srcdiroption="--srcdir=$${topdir}/gcc"; \
12639 libsrcdir="$$s/gcc"; \
12640 $(SHELL) $${libsrcdir}/configure \
12641 $(HOST_CONFIGARGS) $${srcdiroption} \
12642 --with-build-libsubdir=$(HOST_SUBDIR) \
12643 @stage2_werror_flag@
12644 @endif gcc-bootstrap
12646 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
12647 maybe-configure-stage4-gcc:
12648 @if gcc-bootstrap
12649 maybe-configure-stage4-gcc: configure-stage4-gcc
12650 configure-stage4-gcc:
12651 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12652 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12653 @r=`${PWD_COMMAND}`; export r; \
12654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12655 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12656 $(HOST_EXPORTS) \
12657 $(POSTSTAGE1_HOST_EXPORTS) \
12658 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
12659 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12660 cd $(HOST_SUBDIR)/gcc || exit 1; \
12661 case $(srcdir) in \
12662 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12663 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12664 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12665 esac; \
12666 srcdiroption="--srcdir=$${topdir}/gcc"; \
12667 libsrcdir="$$s/gcc"; \
12668 $(SHELL) $${libsrcdir}/configure \
12669 $(HOST_CONFIGARGS) $${srcdiroption} \
12670 --with-build-libsubdir=$(HOST_SUBDIR) \
12671 @stage2_werror_flag@
12672 @endif gcc-bootstrap
12674 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
12675 maybe-configure-stageprofile-gcc:
12676 @if gcc-bootstrap
12677 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
12678 configure-stageprofile-gcc:
12679 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12680 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12681 @r=`${PWD_COMMAND}`; export r; \
12682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12683 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12684 $(HOST_EXPORTS) \
12685 $(POSTSTAGE1_HOST_EXPORTS) \
12686 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
12687 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12688 cd $(HOST_SUBDIR)/gcc || exit 1; \
12689 case $(srcdir) in \
12690 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12691 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12692 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12693 esac; \
12694 srcdiroption="--srcdir=$${topdir}/gcc"; \
12695 libsrcdir="$$s/gcc"; \
12696 $(SHELL) $${libsrcdir}/configure \
12697 $(HOST_CONFIGARGS) $${srcdiroption} \
12698 --with-build-libsubdir=$(HOST_SUBDIR) \
12699 @stage2_werror_flag@
12700 @endif gcc-bootstrap
12702 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
12703 maybe-configure-stagefeedback-gcc:
12704 @if gcc-bootstrap
12705 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
12706 configure-stagefeedback-gcc:
12707 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12708 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12709 @r=`${PWD_COMMAND}`; export r; \
12710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12711 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12712 $(HOST_EXPORTS) \
12713 $(POSTSTAGE1_HOST_EXPORTS) \
12714 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
12715 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12716 cd $(HOST_SUBDIR)/gcc || exit 1; \
12717 case $(srcdir) in \
12718 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12719 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12720 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12721 esac; \
12722 srcdiroption="--srcdir=$${topdir}/gcc"; \
12723 libsrcdir="$$s/gcc"; \
12724 $(SHELL) $${libsrcdir}/configure \
12725 $(HOST_CONFIGARGS) $${srcdiroption} \
12726 --with-build-libsubdir=$(HOST_SUBDIR) \
12727 @stage2_werror_flag@
12728 @endif gcc-bootstrap
12734 .PHONY: all-gcc maybe-all-gcc
12735 maybe-all-gcc:
12736 @if gcc-bootstrap
12737 all-gcc: stage_current
12738 @endif gcc-bootstrap
12739 @if gcc
12740 TARGET-gcc=`if [ -f stage_last ]; then echo quickstrap ; else echo all; fi`
12741 maybe-all-gcc: all-gcc
12742 all-gcc: configure-gcc
12743 @r=`${PWD_COMMAND}`; export r; \
12744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12745 $(HOST_EXPORTS) \
12746 (cd $(HOST_SUBDIR)/gcc && \
12747 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
12748 @endif gcc
12752 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
12753 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
12754 maybe-all-stage1-gcc:
12755 maybe-clean-stage1-gcc:
12756 @if gcc-bootstrap
12757 maybe-all-stage1-gcc: all-stage1-gcc
12758 all-stage1: all-stage1-gcc
12759 TARGET-stage1-gcc = $(TARGET-gcc)
12760 all-stage1-gcc: configure-stage1-gcc
12761 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12762 @r=`${PWD_COMMAND}`; export r; \
12763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12764 $(HOST_EXPORTS) \
12765 cd $(HOST_SUBDIR)/gcc && \
12766 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
12767 $(TARGET-stage1-gcc)
12769 maybe-clean-stage1-gcc: clean-stage1-gcc
12770 clean-stage1: clean-stage1-gcc
12771 clean-stage1-gcc:
12772 @if [ $(current_stage) = stage1 ]; then \
12773 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12774 else \
12775 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
12776 $(MAKE) stage1-start; \
12777 fi; \
12778 cd $(HOST_SUBDIR)/gcc && \
12779 $(MAKE) $(FLAGS_TO_PASS) \
12780 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
12781 @endif gcc-bootstrap
12784 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
12785 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
12786 maybe-all-stage2-gcc:
12787 maybe-clean-stage2-gcc:
12788 @if gcc-bootstrap
12789 maybe-all-stage2-gcc: all-stage2-gcc
12790 all-stage2: all-stage2-gcc
12791 TARGET-stage2-gcc = $(TARGET-gcc)
12792 all-stage2-gcc: configure-stage2-gcc
12793 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12794 @r=`${PWD_COMMAND}`; export r; \
12795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12796 $(HOST_EXPORTS) \
12797 $(POSTSTAGE1_HOST_EXPORTS) \
12798 cd $(HOST_SUBDIR)/gcc && \
12799 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12800 $(TARGET-stage2-gcc)
12802 maybe-clean-stage2-gcc: clean-stage2-gcc
12803 clean-stage2: clean-stage2-gcc
12804 clean-stage2-gcc:
12805 @if [ $(current_stage) = stage2 ]; then \
12806 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12807 else \
12808 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
12809 $(MAKE) stage2-start; \
12810 fi; \
12811 cd $(HOST_SUBDIR)/gcc && \
12812 $(MAKE) $(FLAGS_TO_PASS) \
12813 $(POSTSTAGE1_FLAGS_TO_PASS) \
12814 $(EXTRA_GCC_FLAGS) clean
12815 @endif gcc-bootstrap
12818 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
12819 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
12820 maybe-all-stage3-gcc:
12821 maybe-clean-stage3-gcc:
12822 @if gcc-bootstrap
12823 maybe-all-stage3-gcc: all-stage3-gcc
12824 all-stage3: all-stage3-gcc
12825 TARGET-stage3-gcc = $(TARGET-gcc)
12826 all-stage3-gcc: configure-stage3-gcc
12827 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12828 @r=`${PWD_COMMAND}`; export r; \
12829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12830 $(HOST_EXPORTS) \
12831 $(POSTSTAGE1_HOST_EXPORTS) \
12832 cd $(HOST_SUBDIR)/gcc && \
12833 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12834 $(TARGET-stage3-gcc)
12836 maybe-clean-stage3-gcc: clean-stage3-gcc
12837 clean-stage3: clean-stage3-gcc
12838 clean-stage3-gcc:
12839 @if [ $(current_stage) = stage3 ]; then \
12840 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12841 else \
12842 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
12843 $(MAKE) stage3-start; \
12844 fi; \
12845 cd $(HOST_SUBDIR)/gcc && \
12846 $(MAKE) $(FLAGS_TO_PASS) \
12847 $(POSTSTAGE1_FLAGS_TO_PASS) \
12848 $(EXTRA_GCC_FLAGS) clean
12849 @endif gcc-bootstrap
12852 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
12853 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
12854 maybe-all-stage4-gcc:
12855 maybe-clean-stage4-gcc:
12856 @if gcc-bootstrap
12857 maybe-all-stage4-gcc: all-stage4-gcc
12858 all-stage4: all-stage4-gcc
12859 TARGET-stage4-gcc = $(TARGET-gcc)
12860 all-stage4-gcc: configure-stage4-gcc
12861 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12862 @r=`${PWD_COMMAND}`; export r; \
12863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12864 $(HOST_EXPORTS) \
12865 $(POSTSTAGE1_HOST_EXPORTS) \
12866 cd $(HOST_SUBDIR)/gcc && \
12867 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12868 $(TARGET-stage4-gcc)
12870 maybe-clean-stage4-gcc: clean-stage4-gcc
12871 clean-stage4: clean-stage4-gcc
12872 clean-stage4-gcc:
12873 @if [ $(current_stage) = stage4 ]; then \
12874 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12875 else \
12876 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
12877 $(MAKE) stage4-start; \
12878 fi; \
12879 cd $(HOST_SUBDIR)/gcc && \
12880 $(MAKE) $(FLAGS_TO_PASS) \
12881 $(POSTSTAGE1_FLAGS_TO_PASS) \
12882 $(EXTRA_GCC_FLAGS) clean
12883 @endif gcc-bootstrap
12886 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
12887 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
12888 maybe-all-stageprofile-gcc:
12889 maybe-clean-stageprofile-gcc:
12890 @if gcc-bootstrap
12891 maybe-all-stageprofile-gcc: all-stageprofile-gcc
12892 all-stageprofile: all-stageprofile-gcc
12893 TARGET-stageprofile-gcc = $(TARGET-gcc)
12894 all-stageprofile-gcc: configure-stageprofile-gcc
12895 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12896 @r=`${PWD_COMMAND}`; export r; \
12897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12898 $(HOST_EXPORTS) \
12899 $(POSTSTAGE1_HOST_EXPORTS) \
12900 cd $(HOST_SUBDIR)/gcc && \
12901 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
12902 $(TARGET-stageprofile-gcc)
12904 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
12905 clean-stageprofile: clean-stageprofile-gcc
12906 clean-stageprofile-gcc:
12907 @if [ $(current_stage) = stageprofile ]; then \
12908 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12909 else \
12910 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
12911 $(MAKE) stageprofile-start; \
12912 fi; \
12913 cd $(HOST_SUBDIR)/gcc && \
12914 $(MAKE) $(FLAGS_TO_PASS) \
12915 $(POSTSTAGE1_FLAGS_TO_PASS) \
12916 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
12917 @endif gcc-bootstrap
12920 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
12921 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
12922 maybe-all-stagefeedback-gcc:
12923 maybe-clean-stagefeedback-gcc:
12924 @if gcc-bootstrap
12925 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
12926 all-stagefeedback: all-stagefeedback-gcc
12927 TARGET-stagefeedback-gcc = $(TARGET-gcc)
12928 all-stagefeedback-gcc: configure-stagefeedback-gcc
12929 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12930 @r=`${PWD_COMMAND}`; export r; \
12931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12932 $(HOST_EXPORTS) \
12933 $(POSTSTAGE1_HOST_EXPORTS) \
12934 cd $(HOST_SUBDIR)/gcc && \
12935 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
12936 $(TARGET-stagefeedback-gcc)
12938 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
12939 clean-stagefeedback: clean-stagefeedback-gcc
12940 clean-stagefeedback-gcc:
12941 @if [ $(current_stage) = stagefeedback ]; then \
12942 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12943 else \
12944 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
12945 $(MAKE) stagefeedback-start; \
12946 fi; \
12947 cd $(HOST_SUBDIR)/gcc && \
12948 $(MAKE) $(FLAGS_TO_PASS) \
12949 $(POSTSTAGE1_FLAGS_TO_PASS) \
12950 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
12951 @endif gcc-bootstrap
12957 .PHONY: check-gcc maybe-check-gcc
12958 maybe-check-gcc:
12959 @if gcc
12960 maybe-check-gcc: check-gcc
12962 check-gcc:
12963 @: $(MAKE); $(unstage)
12964 @r=`${PWD_COMMAND}`; export r; \
12965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12966 $(HOST_EXPORTS) \
12967 (cd $(HOST_SUBDIR)/gcc && \
12968 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
12970 @endif gcc
12972 .PHONY: install-gcc maybe-install-gcc
12973 maybe-install-gcc:
12974 @if gcc
12975 maybe-install-gcc: install-gcc
12977 install-gcc: installdirs
12978 @: $(MAKE); $(unstage)
12979 @r=`${PWD_COMMAND}`; export r; \
12980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12981 $(HOST_EXPORTS) \
12982 (cd $(HOST_SUBDIR)/gcc && \
12983 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
12985 @endif gcc
12987 # Other targets (info, dvi, pdf, etc.)
12989 .PHONY: maybe-info-gcc info-gcc
12990 maybe-info-gcc:
12991 @if gcc
12992 maybe-info-gcc: info-gcc
12994 info-gcc: \
12995 configure-gcc
12996 @[ -f ./gcc/Makefile ] || exit 0; \
12997 r=`${PWD_COMMAND}`; export r; \
12998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12999 $(HOST_EXPORTS) \
13000 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13002 done; \
13003 echo "Doing info in gcc" ; \
13004 (cd $(HOST_SUBDIR)/gcc && \
13005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13007 "RANLIB=$${RANLIB}" \
13008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13009 info) \
13010 || exit 1
13012 @endif gcc
13014 .PHONY: maybe-dvi-gcc dvi-gcc
13015 maybe-dvi-gcc:
13016 @if gcc
13017 maybe-dvi-gcc: dvi-gcc
13019 dvi-gcc: \
13020 configure-gcc
13021 @[ -f ./gcc/Makefile ] || exit 0; \
13022 r=`${PWD_COMMAND}`; export r; \
13023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13024 $(HOST_EXPORTS) \
13025 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13027 done; \
13028 echo "Doing dvi in gcc" ; \
13029 (cd $(HOST_SUBDIR)/gcc && \
13030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13032 "RANLIB=$${RANLIB}" \
13033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13034 dvi) \
13035 || exit 1
13037 @endif gcc
13039 .PHONY: maybe-pdf-gcc pdf-gcc
13040 maybe-pdf-gcc:
13041 @if gcc
13042 maybe-pdf-gcc: pdf-gcc
13044 pdf-gcc: \
13045 configure-gcc
13046 @[ -f ./gcc/Makefile ] || exit 0; \
13047 r=`${PWD_COMMAND}`; export r; \
13048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13049 $(HOST_EXPORTS) \
13050 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13052 done; \
13053 echo "Doing pdf in gcc" ; \
13054 (cd $(HOST_SUBDIR)/gcc && \
13055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13057 "RANLIB=$${RANLIB}" \
13058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13059 pdf) \
13060 || exit 1
13062 @endif gcc
13064 .PHONY: maybe-html-gcc html-gcc
13065 maybe-html-gcc:
13066 @if gcc
13067 maybe-html-gcc: html-gcc
13069 html-gcc: \
13070 configure-gcc
13071 @[ -f ./gcc/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) $(EXTRA_GCC_FLAGS); do \
13076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13077 done; \
13078 echo "Doing html in gcc" ; \
13079 (cd $(HOST_SUBDIR)/gcc && \
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 html) \
13085 || exit 1
13087 @endif gcc
13089 .PHONY: maybe-TAGS-gcc TAGS-gcc
13090 maybe-TAGS-gcc:
13091 @if gcc
13092 maybe-TAGS-gcc: TAGS-gcc
13094 TAGS-gcc: \
13095 configure-gcc
13096 @[ -f ./gcc/Makefile ] || exit 0; \
13097 r=`${PWD_COMMAND}`; export r; \
13098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13099 $(HOST_EXPORTS) \
13100 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13102 done; \
13103 echo "Doing TAGS in gcc" ; \
13104 (cd $(HOST_SUBDIR)/gcc && \
13105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13107 "RANLIB=$${RANLIB}" \
13108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13109 TAGS) \
13110 || exit 1
13112 @endif gcc
13114 .PHONY: maybe-install-info-gcc install-info-gcc
13115 maybe-install-info-gcc:
13116 @if gcc
13117 maybe-install-info-gcc: install-info-gcc
13119 install-info-gcc: \
13120 configure-gcc \
13121 info-gcc
13122 @[ -f ./gcc/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) $(EXTRA_GCC_FLAGS); do \
13127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13128 done; \
13129 echo "Doing install-info in gcc" ; \
13130 (cd $(HOST_SUBDIR)/gcc && \
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 install-info) \
13136 || exit 1
13138 @endif gcc
13140 .PHONY: maybe-install-html-gcc install-html-gcc
13141 maybe-install-html-gcc:
13142 @if gcc
13143 maybe-install-html-gcc: install-html-gcc
13145 install-html-gcc: \
13146 configure-gcc \
13147 html-gcc
13148 @[ -f ./gcc/Makefile ] || exit 0; \
13149 r=`${PWD_COMMAND}`; export r; \
13150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13151 $(HOST_EXPORTS) \
13152 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13154 done; \
13155 echo "Doing install-html in gcc" ; \
13156 (cd $(HOST_SUBDIR)/gcc && \
13157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13159 "RANLIB=$${RANLIB}" \
13160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13161 install-html) \
13162 || exit 1
13164 @endif gcc
13166 .PHONY: maybe-installcheck-gcc installcheck-gcc
13167 maybe-installcheck-gcc:
13168 @if gcc
13169 maybe-installcheck-gcc: installcheck-gcc
13171 installcheck-gcc: \
13172 configure-gcc
13173 @[ -f ./gcc/Makefile ] || exit 0; \
13174 r=`${PWD_COMMAND}`; export r; \
13175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13176 $(HOST_EXPORTS) \
13177 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13179 done; \
13180 echo "Doing installcheck in gcc" ; \
13181 (cd $(HOST_SUBDIR)/gcc && \
13182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13184 "RANLIB=$${RANLIB}" \
13185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13186 installcheck) \
13187 || exit 1
13189 @endif gcc
13191 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
13192 maybe-mostlyclean-gcc:
13193 @if gcc
13194 maybe-mostlyclean-gcc: mostlyclean-gcc
13196 mostlyclean-gcc:
13197 @[ -f ./gcc/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) $(EXTRA_GCC_FLAGS); do \
13202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13203 done; \
13204 echo "Doing mostlyclean in gcc" ; \
13205 (cd $(HOST_SUBDIR)/gcc && \
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 mostlyclean) \
13211 || exit 1
13213 @endif gcc
13215 .PHONY: maybe-clean-gcc clean-gcc
13216 maybe-clean-gcc:
13217 @if gcc
13218 maybe-clean-gcc: clean-gcc
13220 clean-gcc:
13221 @[ -f ./gcc/Makefile ] || exit 0; \
13222 r=`${PWD_COMMAND}`; export r; \
13223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13224 $(HOST_EXPORTS) \
13225 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13227 done; \
13228 echo "Doing clean in gcc" ; \
13229 (cd $(HOST_SUBDIR)/gcc && \
13230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13232 "RANLIB=$${RANLIB}" \
13233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13234 clean) \
13235 || exit 1
13237 @endif gcc
13239 .PHONY: maybe-distclean-gcc distclean-gcc
13240 maybe-distclean-gcc:
13241 @if gcc
13242 maybe-distclean-gcc: distclean-gcc
13244 distclean-gcc:
13245 @[ -f ./gcc/Makefile ] || exit 0; \
13246 r=`${PWD_COMMAND}`; export r; \
13247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13248 $(HOST_EXPORTS) \
13249 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13251 done; \
13252 echo "Doing distclean in gcc" ; \
13253 (cd $(HOST_SUBDIR)/gcc && \
13254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13256 "RANLIB=$${RANLIB}" \
13257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13258 distclean) \
13259 || exit 1
13261 @endif gcc
13263 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
13264 maybe-maintainer-clean-gcc:
13265 @if gcc
13266 maybe-maintainer-clean-gcc: maintainer-clean-gcc
13268 maintainer-clean-gcc:
13269 @[ -f ./gcc/Makefile ] || exit 0; \
13270 r=`${PWD_COMMAND}`; export r; \
13271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13272 $(HOST_EXPORTS) \
13273 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13275 done; \
13276 echo "Doing maintainer-clean in gcc" ; \
13277 (cd $(HOST_SUBDIR)/gcc && \
13278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13280 "RANLIB=$${RANLIB}" \
13281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13282 maintainer-clean) \
13283 || exit 1
13285 @endif gcc
13289 .PHONY: configure-gawk maybe-configure-gawk
13290 maybe-configure-gawk:
13291 @if gcc-bootstrap
13292 configure-gawk: stage_current
13293 @endif gcc-bootstrap
13294 @if gawk
13295 maybe-configure-gawk: configure-gawk
13296 configure-gawk:
13297 @: $(MAKE); $(unstage)
13298 @r=`${PWD_COMMAND}`; export r; \
13299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13300 test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
13301 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
13302 $(HOST_EXPORTS) \
13303 echo Configuring in $(HOST_SUBDIR)/gawk; \
13304 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
13305 case $(srcdir) in \
13306 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13307 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
13308 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13309 esac; \
13310 srcdiroption="--srcdir=$${topdir}/gawk"; \
13311 libsrcdir="$$s/gawk"; \
13312 $(SHELL) $${libsrcdir}/configure \
13313 $(HOST_CONFIGARGS) $${srcdiroption} \
13314 || exit 1
13315 @endif gawk
13321 .PHONY: all-gawk maybe-all-gawk
13322 maybe-all-gawk:
13323 @if gcc-bootstrap
13324 all-gawk: stage_current
13325 @endif gcc-bootstrap
13326 @if gawk
13327 TARGET-gawk=all
13328 maybe-all-gawk: all-gawk
13329 all-gawk: configure-gawk
13330 @: $(MAKE); $(unstage)
13331 @r=`${PWD_COMMAND}`; export r; \
13332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13333 $(HOST_EXPORTS) \
13334 (cd $(HOST_SUBDIR)/gawk && \
13335 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
13336 @endif gawk
13341 .PHONY: check-gawk maybe-check-gawk
13342 maybe-check-gawk:
13343 @if gawk
13344 maybe-check-gawk: check-gawk
13346 check-gawk:
13347 @: $(MAKE); $(unstage)
13348 @r=`${PWD_COMMAND}`; export r; \
13349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13350 $(HOST_EXPORTS) \
13351 (cd $(HOST_SUBDIR)/gawk && \
13352 $(MAKE) $(FLAGS_TO_PASS) check)
13354 @endif gawk
13356 .PHONY: install-gawk maybe-install-gawk
13357 maybe-install-gawk:
13358 @if gawk
13359 maybe-install-gawk: install-gawk
13361 install-gawk: installdirs
13362 @: $(MAKE); $(unstage)
13363 @r=`${PWD_COMMAND}`; export r; \
13364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13365 $(HOST_EXPORTS) \
13366 (cd $(HOST_SUBDIR)/gawk && \
13367 $(MAKE) $(FLAGS_TO_PASS) install)
13369 @endif gawk
13371 # Other targets (info, dvi, pdf, etc.)
13373 .PHONY: maybe-info-gawk info-gawk
13374 maybe-info-gawk:
13375 @if gawk
13376 maybe-info-gawk: info-gawk
13378 info-gawk: \
13379 configure-gawk
13380 @: $(MAKE); $(unstage)
13381 @[ -f ./gawk/Makefile ] || exit 0; \
13382 r=`${PWD_COMMAND}`; export r; \
13383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13384 $(HOST_EXPORTS) \
13385 for flag in $(EXTRA_HOST_FLAGS) ; do \
13386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13387 done; \
13388 echo "Doing info in gawk" ; \
13389 (cd $(HOST_SUBDIR)/gawk && \
13390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13392 "RANLIB=$${RANLIB}" \
13393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13394 info) \
13395 || exit 1
13397 @endif gawk
13399 .PHONY: maybe-dvi-gawk dvi-gawk
13400 maybe-dvi-gawk:
13401 @if gawk
13402 maybe-dvi-gawk: dvi-gawk
13404 dvi-gawk: \
13405 configure-gawk
13406 @: $(MAKE); $(unstage)
13407 @[ -f ./gawk/Makefile ] || exit 0; \
13408 r=`${PWD_COMMAND}`; export r; \
13409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13410 $(HOST_EXPORTS) \
13411 for flag in $(EXTRA_HOST_FLAGS) ; do \
13412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13413 done; \
13414 echo "Doing dvi in gawk" ; \
13415 (cd $(HOST_SUBDIR)/gawk && \
13416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13418 "RANLIB=$${RANLIB}" \
13419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13420 dvi) \
13421 || exit 1
13423 @endif gawk
13425 .PHONY: maybe-pdf-gawk pdf-gawk
13426 maybe-pdf-gawk:
13427 @if gawk
13428 maybe-pdf-gawk: pdf-gawk
13430 pdf-gawk: \
13431 configure-gawk
13432 @: $(MAKE); $(unstage)
13433 @[ -f ./gawk/Makefile ] || exit 0; \
13434 r=`${PWD_COMMAND}`; export r; \
13435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13436 $(HOST_EXPORTS) \
13437 for flag in $(EXTRA_HOST_FLAGS) ; do \
13438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13439 done; \
13440 echo "Doing pdf in gawk" ; \
13441 (cd $(HOST_SUBDIR)/gawk && \
13442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13444 "RANLIB=$${RANLIB}" \
13445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13446 pdf) \
13447 || exit 1
13449 @endif gawk
13451 .PHONY: maybe-html-gawk html-gawk
13452 maybe-html-gawk:
13453 @if gawk
13454 maybe-html-gawk: html-gawk
13456 html-gawk: \
13457 configure-gawk
13458 @: $(MAKE); $(unstage)
13459 @[ -f ./gawk/Makefile ] || exit 0; \
13460 r=`${PWD_COMMAND}`; export r; \
13461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13462 $(HOST_EXPORTS) \
13463 for flag in $(EXTRA_HOST_FLAGS) ; do \
13464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13465 done; \
13466 echo "Doing html in gawk" ; \
13467 (cd $(HOST_SUBDIR)/gawk && \
13468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13470 "RANLIB=$${RANLIB}" \
13471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13472 html) \
13473 || exit 1
13475 @endif gawk
13477 .PHONY: maybe-TAGS-gawk TAGS-gawk
13478 maybe-TAGS-gawk:
13479 @if gawk
13480 maybe-TAGS-gawk: TAGS-gawk
13482 TAGS-gawk: \
13483 configure-gawk
13484 @: $(MAKE); $(unstage)
13485 @[ -f ./gawk/Makefile ] || exit 0; \
13486 r=`${PWD_COMMAND}`; export r; \
13487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13488 $(HOST_EXPORTS) \
13489 for flag in $(EXTRA_HOST_FLAGS) ; do \
13490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13491 done; \
13492 echo "Doing TAGS in gawk" ; \
13493 (cd $(HOST_SUBDIR)/gawk && \
13494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13496 "RANLIB=$${RANLIB}" \
13497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13498 TAGS) \
13499 || exit 1
13501 @endif gawk
13503 .PHONY: maybe-install-info-gawk install-info-gawk
13504 maybe-install-info-gawk:
13505 @if gawk
13506 maybe-install-info-gawk: install-info-gawk
13508 install-info-gawk: \
13509 configure-gawk \
13510 info-gawk
13511 @: $(MAKE); $(unstage)
13512 @[ -f ./gawk/Makefile ] || exit 0; \
13513 r=`${PWD_COMMAND}`; export r; \
13514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13515 $(HOST_EXPORTS) \
13516 for flag in $(EXTRA_HOST_FLAGS) ; do \
13517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13518 done; \
13519 echo "Doing install-info in gawk" ; \
13520 (cd $(HOST_SUBDIR)/gawk && \
13521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13523 "RANLIB=$${RANLIB}" \
13524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13525 install-info) \
13526 || exit 1
13528 @endif gawk
13530 .PHONY: maybe-install-html-gawk install-html-gawk
13531 maybe-install-html-gawk:
13532 @if gawk
13533 maybe-install-html-gawk: install-html-gawk
13535 install-html-gawk: \
13536 configure-gawk \
13537 html-gawk
13538 @: $(MAKE); $(unstage)
13539 @[ -f ./gawk/Makefile ] || exit 0; \
13540 r=`${PWD_COMMAND}`; export r; \
13541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13542 $(HOST_EXPORTS) \
13543 for flag in $(EXTRA_HOST_FLAGS) ; do \
13544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13545 done; \
13546 echo "Doing install-html in gawk" ; \
13547 (cd $(HOST_SUBDIR)/gawk && \
13548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13550 "RANLIB=$${RANLIB}" \
13551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13552 install-html) \
13553 || exit 1
13555 @endif gawk
13557 .PHONY: maybe-installcheck-gawk installcheck-gawk
13558 maybe-installcheck-gawk:
13559 @if gawk
13560 maybe-installcheck-gawk: installcheck-gawk
13562 installcheck-gawk: \
13563 configure-gawk
13564 @: $(MAKE); $(unstage)
13565 @[ -f ./gawk/Makefile ] || exit 0; \
13566 r=`${PWD_COMMAND}`; export r; \
13567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13568 $(HOST_EXPORTS) \
13569 for flag in $(EXTRA_HOST_FLAGS) ; do \
13570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13571 done; \
13572 echo "Doing installcheck in gawk" ; \
13573 (cd $(HOST_SUBDIR)/gawk && \
13574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13576 "RANLIB=$${RANLIB}" \
13577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13578 installcheck) \
13579 || exit 1
13581 @endif gawk
13583 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
13584 maybe-mostlyclean-gawk:
13585 @if gawk
13586 maybe-mostlyclean-gawk: mostlyclean-gawk
13588 mostlyclean-gawk:
13589 @: $(MAKE); $(unstage)
13590 @[ -f ./gawk/Makefile ] || exit 0; \
13591 r=`${PWD_COMMAND}`; export r; \
13592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13593 $(HOST_EXPORTS) \
13594 for flag in $(EXTRA_HOST_FLAGS) ; do \
13595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13596 done; \
13597 echo "Doing mostlyclean in gawk" ; \
13598 (cd $(HOST_SUBDIR)/gawk && \
13599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13601 "RANLIB=$${RANLIB}" \
13602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13603 mostlyclean) \
13604 || exit 1
13606 @endif gawk
13608 .PHONY: maybe-clean-gawk clean-gawk
13609 maybe-clean-gawk:
13610 @if gawk
13611 maybe-clean-gawk: clean-gawk
13613 clean-gawk:
13614 @: $(MAKE); $(unstage)
13615 @[ -f ./gawk/Makefile ] || exit 0; \
13616 r=`${PWD_COMMAND}`; export r; \
13617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13618 $(HOST_EXPORTS) \
13619 for flag in $(EXTRA_HOST_FLAGS) ; do \
13620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13621 done; \
13622 echo "Doing clean in gawk" ; \
13623 (cd $(HOST_SUBDIR)/gawk && \
13624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13626 "RANLIB=$${RANLIB}" \
13627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13628 clean) \
13629 || exit 1
13631 @endif gawk
13633 .PHONY: maybe-distclean-gawk distclean-gawk
13634 maybe-distclean-gawk:
13635 @if gawk
13636 maybe-distclean-gawk: distclean-gawk
13638 distclean-gawk:
13639 @: $(MAKE); $(unstage)
13640 @[ -f ./gawk/Makefile ] || exit 0; \
13641 r=`${PWD_COMMAND}`; export r; \
13642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13643 $(HOST_EXPORTS) \
13644 for flag in $(EXTRA_HOST_FLAGS) ; do \
13645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13646 done; \
13647 echo "Doing distclean in gawk" ; \
13648 (cd $(HOST_SUBDIR)/gawk && \
13649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13651 "RANLIB=$${RANLIB}" \
13652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13653 distclean) \
13654 || exit 1
13656 @endif gawk
13658 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
13659 maybe-maintainer-clean-gawk:
13660 @if gawk
13661 maybe-maintainer-clean-gawk: maintainer-clean-gawk
13663 maintainer-clean-gawk:
13664 @: $(MAKE); $(unstage)
13665 @[ -f ./gawk/Makefile ] || exit 0; \
13666 r=`${PWD_COMMAND}`; export r; \
13667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13668 $(HOST_EXPORTS) \
13669 for flag in $(EXTRA_HOST_FLAGS) ; do \
13670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13671 done; \
13672 echo "Doing maintainer-clean in gawk" ; \
13673 (cd $(HOST_SUBDIR)/gawk && \
13674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13676 "RANLIB=$${RANLIB}" \
13677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13678 maintainer-clean) \
13679 || exit 1
13681 @endif gawk
13685 .PHONY: configure-gettext maybe-configure-gettext
13686 maybe-configure-gettext:
13687 @if gcc-bootstrap
13688 configure-gettext: stage_current
13689 @endif gcc-bootstrap
13690 @if gettext
13691 maybe-configure-gettext: configure-gettext
13692 configure-gettext:
13693 @: $(MAKE); $(unstage)
13694 @r=`${PWD_COMMAND}`; export r; \
13695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13696 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
13697 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
13698 $(HOST_EXPORTS) \
13699 echo Configuring in $(HOST_SUBDIR)/gettext; \
13700 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
13701 case $(srcdir) in \
13702 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13703 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
13704 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13705 esac; \
13706 srcdiroption="--srcdir=$${topdir}/gettext"; \
13707 libsrcdir="$$s/gettext"; \
13708 $(SHELL) $${libsrcdir}/configure \
13709 $(HOST_CONFIGARGS) $${srcdiroption} \
13710 || exit 1
13711 @endif gettext
13717 .PHONY: all-gettext maybe-all-gettext
13718 maybe-all-gettext:
13719 @if gcc-bootstrap
13720 all-gettext: stage_current
13721 @endif gcc-bootstrap
13722 @if gettext
13723 TARGET-gettext=all
13724 maybe-all-gettext: all-gettext
13725 all-gettext: configure-gettext
13726 @: $(MAKE); $(unstage)
13727 @r=`${PWD_COMMAND}`; export r; \
13728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13729 $(HOST_EXPORTS) \
13730 (cd $(HOST_SUBDIR)/gettext && \
13731 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
13732 @endif gettext
13737 .PHONY: check-gettext maybe-check-gettext
13738 maybe-check-gettext:
13739 @if gettext
13740 maybe-check-gettext: check-gettext
13742 check-gettext:
13743 @: $(MAKE); $(unstage)
13744 @r=`${PWD_COMMAND}`; export r; \
13745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13746 $(HOST_EXPORTS) \
13747 (cd $(HOST_SUBDIR)/gettext && \
13748 $(MAKE) $(FLAGS_TO_PASS) check)
13750 @endif gettext
13752 .PHONY: install-gettext maybe-install-gettext
13753 maybe-install-gettext:
13754 @if gettext
13755 maybe-install-gettext: install-gettext
13757 install-gettext: installdirs
13758 @: $(MAKE); $(unstage)
13759 @r=`${PWD_COMMAND}`; export r; \
13760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13761 $(HOST_EXPORTS) \
13762 (cd $(HOST_SUBDIR)/gettext && \
13763 $(MAKE) $(FLAGS_TO_PASS) install)
13765 @endif gettext
13767 # Other targets (info, dvi, pdf, etc.)
13769 .PHONY: maybe-info-gettext info-gettext
13770 maybe-info-gettext:
13771 @if gettext
13772 maybe-info-gettext: info-gettext
13774 info-gettext: \
13775 configure-gettext
13776 @: $(MAKE); $(unstage)
13777 @[ -f ./gettext/Makefile ] || exit 0; \
13778 r=`${PWD_COMMAND}`; export r; \
13779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13780 $(HOST_EXPORTS) \
13781 for flag in $(EXTRA_HOST_FLAGS) ; do \
13782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13783 done; \
13784 echo "Doing info in gettext" ; \
13785 (cd $(HOST_SUBDIR)/gettext && \
13786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13788 "RANLIB=$${RANLIB}" \
13789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13790 info) \
13791 || exit 1
13793 @endif gettext
13795 .PHONY: maybe-dvi-gettext dvi-gettext
13796 maybe-dvi-gettext:
13797 @if gettext
13798 maybe-dvi-gettext: dvi-gettext
13800 dvi-gettext: \
13801 configure-gettext
13802 @: $(MAKE); $(unstage)
13803 @[ -f ./gettext/Makefile ] || exit 0; \
13804 r=`${PWD_COMMAND}`; export r; \
13805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13806 $(HOST_EXPORTS) \
13807 for flag in $(EXTRA_HOST_FLAGS) ; do \
13808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13809 done; \
13810 echo "Doing dvi in gettext" ; \
13811 (cd $(HOST_SUBDIR)/gettext && \
13812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13814 "RANLIB=$${RANLIB}" \
13815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13816 dvi) \
13817 || exit 1
13819 @endif gettext
13821 .PHONY: maybe-pdf-gettext pdf-gettext
13822 maybe-pdf-gettext:
13823 @if gettext
13824 maybe-pdf-gettext: pdf-gettext
13826 pdf-gettext: \
13827 configure-gettext
13828 @: $(MAKE); $(unstage)
13829 @[ -f ./gettext/Makefile ] || exit 0; \
13830 r=`${PWD_COMMAND}`; export r; \
13831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13832 $(HOST_EXPORTS) \
13833 for flag in $(EXTRA_HOST_FLAGS) ; do \
13834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13835 done; \
13836 echo "Doing pdf in gettext" ; \
13837 (cd $(HOST_SUBDIR)/gettext && \
13838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13840 "RANLIB=$${RANLIB}" \
13841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13842 pdf) \
13843 || exit 1
13845 @endif gettext
13847 .PHONY: maybe-html-gettext html-gettext
13848 maybe-html-gettext:
13849 @if gettext
13850 maybe-html-gettext: html-gettext
13852 html-gettext: \
13853 configure-gettext
13854 @: $(MAKE); $(unstage)
13855 @[ -f ./gettext/Makefile ] || exit 0; \
13856 r=`${PWD_COMMAND}`; export r; \
13857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13858 $(HOST_EXPORTS) \
13859 for flag in $(EXTRA_HOST_FLAGS) ; do \
13860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13861 done; \
13862 echo "Doing html in gettext" ; \
13863 (cd $(HOST_SUBDIR)/gettext && \
13864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13866 "RANLIB=$${RANLIB}" \
13867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13868 html) \
13869 || exit 1
13871 @endif gettext
13873 .PHONY: maybe-TAGS-gettext TAGS-gettext
13874 maybe-TAGS-gettext:
13875 @if gettext
13876 maybe-TAGS-gettext: TAGS-gettext
13878 TAGS-gettext: \
13879 configure-gettext
13880 @: $(MAKE); $(unstage)
13881 @[ -f ./gettext/Makefile ] || exit 0; \
13882 r=`${PWD_COMMAND}`; export r; \
13883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13884 $(HOST_EXPORTS) \
13885 for flag in $(EXTRA_HOST_FLAGS) ; do \
13886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13887 done; \
13888 echo "Doing TAGS in gettext" ; \
13889 (cd $(HOST_SUBDIR)/gettext && \
13890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13892 "RANLIB=$${RANLIB}" \
13893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13894 TAGS) \
13895 || exit 1
13897 @endif gettext
13899 .PHONY: maybe-install-info-gettext install-info-gettext
13900 maybe-install-info-gettext:
13901 @if gettext
13902 maybe-install-info-gettext: install-info-gettext
13904 install-info-gettext: \
13905 configure-gettext \
13906 info-gettext
13907 @: $(MAKE); $(unstage)
13908 @[ -f ./gettext/Makefile ] || exit 0; \
13909 r=`${PWD_COMMAND}`; export r; \
13910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13911 $(HOST_EXPORTS) \
13912 for flag in $(EXTRA_HOST_FLAGS) ; do \
13913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13914 done; \
13915 echo "Doing install-info in gettext" ; \
13916 (cd $(HOST_SUBDIR)/gettext && \
13917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13919 "RANLIB=$${RANLIB}" \
13920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13921 install-info) \
13922 || exit 1
13924 @endif gettext
13926 .PHONY: maybe-install-html-gettext install-html-gettext
13927 maybe-install-html-gettext:
13928 @if gettext
13929 maybe-install-html-gettext: install-html-gettext
13931 install-html-gettext: \
13932 configure-gettext \
13933 html-gettext
13934 @: $(MAKE); $(unstage)
13935 @[ -f ./gettext/Makefile ] || exit 0; \
13936 r=`${PWD_COMMAND}`; export r; \
13937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13938 $(HOST_EXPORTS) \
13939 for flag in $(EXTRA_HOST_FLAGS) ; do \
13940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13941 done; \
13942 echo "Doing install-html in gettext" ; \
13943 (cd $(HOST_SUBDIR)/gettext && \
13944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13946 "RANLIB=$${RANLIB}" \
13947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13948 install-html) \
13949 || exit 1
13951 @endif gettext
13953 .PHONY: maybe-installcheck-gettext installcheck-gettext
13954 maybe-installcheck-gettext:
13955 @if gettext
13956 maybe-installcheck-gettext: installcheck-gettext
13958 installcheck-gettext: \
13959 configure-gettext
13960 @: $(MAKE); $(unstage)
13961 @[ -f ./gettext/Makefile ] || exit 0; \
13962 r=`${PWD_COMMAND}`; export r; \
13963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13964 $(HOST_EXPORTS) \
13965 for flag in $(EXTRA_HOST_FLAGS) ; do \
13966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13967 done; \
13968 echo "Doing installcheck in gettext" ; \
13969 (cd $(HOST_SUBDIR)/gettext && \
13970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13972 "RANLIB=$${RANLIB}" \
13973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13974 installcheck) \
13975 || exit 1
13977 @endif gettext
13979 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
13980 maybe-mostlyclean-gettext:
13981 @if gettext
13982 maybe-mostlyclean-gettext: mostlyclean-gettext
13984 mostlyclean-gettext:
13985 @: $(MAKE); $(unstage)
13986 @[ -f ./gettext/Makefile ] || exit 0; \
13987 r=`${PWD_COMMAND}`; export r; \
13988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13989 $(HOST_EXPORTS) \
13990 for flag in $(EXTRA_HOST_FLAGS) ; do \
13991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13992 done; \
13993 echo "Doing mostlyclean in gettext" ; \
13994 (cd $(HOST_SUBDIR)/gettext && \
13995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13997 "RANLIB=$${RANLIB}" \
13998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13999 mostlyclean) \
14000 || exit 1
14002 @endif gettext
14004 .PHONY: maybe-clean-gettext clean-gettext
14005 maybe-clean-gettext:
14006 @if gettext
14007 maybe-clean-gettext: clean-gettext
14009 clean-gettext:
14010 @: $(MAKE); $(unstage)
14011 @[ -f ./gettext/Makefile ] || exit 0; \
14012 r=`${PWD_COMMAND}`; export r; \
14013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14014 $(HOST_EXPORTS) \
14015 for flag in $(EXTRA_HOST_FLAGS) ; do \
14016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14017 done; \
14018 echo "Doing clean in gettext" ; \
14019 (cd $(HOST_SUBDIR)/gettext && \
14020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14022 "RANLIB=$${RANLIB}" \
14023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14024 clean) \
14025 || exit 1
14027 @endif gettext
14029 .PHONY: maybe-distclean-gettext distclean-gettext
14030 maybe-distclean-gettext:
14031 @if gettext
14032 maybe-distclean-gettext: distclean-gettext
14034 distclean-gettext:
14035 @: $(MAKE); $(unstage)
14036 @[ -f ./gettext/Makefile ] || exit 0; \
14037 r=`${PWD_COMMAND}`; export r; \
14038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14039 $(HOST_EXPORTS) \
14040 for flag in $(EXTRA_HOST_FLAGS) ; do \
14041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14042 done; \
14043 echo "Doing distclean in gettext" ; \
14044 (cd $(HOST_SUBDIR)/gettext && \
14045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14047 "RANLIB=$${RANLIB}" \
14048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14049 distclean) \
14050 || exit 1
14052 @endif gettext
14054 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
14055 maybe-maintainer-clean-gettext:
14056 @if gettext
14057 maybe-maintainer-clean-gettext: maintainer-clean-gettext
14059 maintainer-clean-gettext:
14060 @: $(MAKE); $(unstage)
14061 @[ -f ./gettext/Makefile ] || exit 0; \
14062 r=`${PWD_COMMAND}`; export r; \
14063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14064 $(HOST_EXPORTS) \
14065 for flag in $(EXTRA_HOST_FLAGS) ; do \
14066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14067 done; \
14068 echo "Doing maintainer-clean in gettext" ; \
14069 (cd $(HOST_SUBDIR)/gettext && \
14070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14072 "RANLIB=$${RANLIB}" \
14073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14074 maintainer-clean) \
14075 || exit 1
14077 @endif gettext
14081 .PHONY: configure-gnuserv maybe-configure-gnuserv
14082 maybe-configure-gnuserv:
14083 @if gcc-bootstrap
14084 configure-gnuserv: stage_current
14085 @endif gcc-bootstrap
14086 @if gnuserv
14087 maybe-configure-gnuserv: configure-gnuserv
14088 configure-gnuserv:
14089 @: $(MAKE); $(unstage)
14090 @r=`${PWD_COMMAND}`; export r; \
14091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14092 test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
14093 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
14094 $(HOST_EXPORTS) \
14095 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
14096 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
14097 case $(srcdir) in \
14098 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14099 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
14100 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14101 esac; \
14102 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
14103 libsrcdir="$$s/gnuserv"; \
14104 $(SHELL) $${libsrcdir}/configure \
14105 $(HOST_CONFIGARGS) $${srcdiroption} \
14106 || exit 1
14107 @endif gnuserv
14113 .PHONY: all-gnuserv maybe-all-gnuserv
14114 maybe-all-gnuserv:
14115 @if gcc-bootstrap
14116 all-gnuserv: stage_current
14117 @endif gcc-bootstrap
14118 @if gnuserv
14119 TARGET-gnuserv=all
14120 maybe-all-gnuserv: all-gnuserv
14121 all-gnuserv: configure-gnuserv
14122 @: $(MAKE); $(unstage)
14123 @r=`${PWD_COMMAND}`; export r; \
14124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14125 $(HOST_EXPORTS) \
14126 (cd $(HOST_SUBDIR)/gnuserv && \
14127 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
14128 @endif gnuserv
14133 .PHONY: check-gnuserv maybe-check-gnuserv
14134 maybe-check-gnuserv:
14135 @if gnuserv
14136 maybe-check-gnuserv: check-gnuserv
14138 check-gnuserv:
14139 @: $(MAKE); $(unstage)
14140 @r=`${PWD_COMMAND}`; export r; \
14141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14142 $(HOST_EXPORTS) \
14143 (cd $(HOST_SUBDIR)/gnuserv && \
14144 $(MAKE) $(FLAGS_TO_PASS) check)
14146 @endif gnuserv
14148 .PHONY: install-gnuserv maybe-install-gnuserv
14149 maybe-install-gnuserv:
14150 @if gnuserv
14151 maybe-install-gnuserv: install-gnuserv
14153 install-gnuserv: installdirs
14154 @: $(MAKE); $(unstage)
14155 @r=`${PWD_COMMAND}`; export r; \
14156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14157 $(HOST_EXPORTS) \
14158 (cd $(HOST_SUBDIR)/gnuserv && \
14159 $(MAKE) $(FLAGS_TO_PASS) install)
14161 @endif gnuserv
14163 # Other targets (info, dvi, pdf, etc.)
14165 .PHONY: maybe-info-gnuserv info-gnuserv
14166 maybe-info-gnuserv:
14167 @if gnuserv
14168 maybe-info-gnuserv: info-gnuserv
14170 info-gnuserv: \
14171 configure-gnuserv
14172 @: $(MAKE); $(unstage)
14173 @[ -f ./gnuserv/Makefile ] || exit 0; \
14174 r=`${PWD_COMMAND}`; export r; \
14175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14176 $(HOST_EXPORTS) \
14177 for flag in $(EXTRA_HOST_FLAGS) ; do \
14178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14179 done; \
14180 echo "Doing info in gnuserv" ; \
14181 (cd $(HOST_SUBDIR)/gnuserv && \
14182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14184 "RANLIB=$${RANLIB}" \
14185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14186 info) \
14187 || exit 1
14189 @endif gnuserv
14191 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
14192 maybe-dvi-gnuserv:
14193 @if gnuserv
14194 maybe-dvi-gnuserv: dvi-gnuserv
14196 dvi-gnuserv: \
14197 configure-gnuserv
14198 @: $(MAKE); $(unstage)
14199 @[ -f ./gnuserv/Makefile ] || exit 0; \
14200 r=`${PWD_COMMAND}`; export r; \
14201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14202 $(HOST_EXPORTS) \
14203 for flag in $(EXTRA_HOST_FLAGS) ; do \
14204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14205 done; \
14206 echo "Doing dvi in gnuserv" ; \
14207 (cd $(HOST_SUBDIR)/gnuserv && \
14208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14210 "RANLIB=$${RANLIB}" \
14211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14212 dvi) \
14213 || exit 1
14215 @endif gnuserv
14217 .PHONY: maybe-pdf-gnuserv pdf-gnuserv
14218 maybe-pdf-gnuserv:
14219 @if gnuserv
14220 maybe-pdf-gnuserv: pdf-gnuserv
14222 pdf-gnuserv: \
14223 configure-gnuserv
14224 @: $(MAKE); $(unstage)
14225 @[ -f ./gnuserv/Makefile ] || exit 0; \
14226 r=`${PWD_COMMAND}`; export r; \
14227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14228 $(HOST_EXPORTS) \
14229 for flag in $(EXTRA_HOST_FLAGS) ; do \
14230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14231 done; \
14232 echo "Doing pdf in gnuserv" ; \
14233 (cd $(HOST_SUBDIR)/gnuserv && \
14234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14236 "RANLIB=$${RANLIB}" \
14237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14238 pdf) \
14239 || exit 1
14241 @endif gnuserv
14243 .PHONY: maybe-html-gnuserv html-gnuserv
14244 maybe-html-gnuserv:
14245 @if gnuserv
14246 maybe-html-gnuserv: html-gnuserv
14248 html-gnuserv: \
14249 configure-gnuserv
14250 @: $(MAKE); $(unstage)
14251 @[ -f ./gnuserv/Makefile ] || exit 0; \
14252 r=`${PWD_COMMAND}`; export r; \
14253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14254 $(HOST_EXPORTS) \
14255 for flag in $(EXTRA_HOST_FLAGS) ; do \
14256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14257 done; \
14258 echo "Doing html in gnuserv" ; \
14259 (cd $(HOST_SUBDIR)/gnuserv && \
14260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14262 "RANLIB=$${RANLIB}" \
14263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14264 html) \
14265 || exit 1
14267 @endif gnuserv
14269 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
14270 maybe-TAGS-gnuserv:
14271 @if gnuserv
14272 maybe-TAGS-gnuserv: TAGS-gnuserv
14274 TAGS-gnuserv: \
14275 configure-gnuserv
14276 @: $(MAKE); $(unstage)
14277 @[ -f ./gnuserv/Makefile ] || exit 0; \
14278 r=`${PWD_COMMAND}`; export r; \
14279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14280 $(HOST_EXPORTS) \
14281 for flag in $(EXTRA_HOST_FLAGS) ; do \
14282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14283 done; \
14284 echo "Doing TAGS in gnuserv" ; \
14285 (cd $(HOST_SUBDIR)/gnuserv && \
14286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14288 "RANLIB=$${RANLIB}" \
14289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14290 TAGS) \
14291 || exit 1
14293 @endif gnuserv
14295 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
14296 maybe-install-info-gnuserv:
14297 @if gnuserv
14298 maybe-install-info-gnuserv: install-info-gnuserv
14300 install-info-gnuserv: \
14301 configure-gnuserv \
14302 info-gnuserv
14303 @: $(MAKE); $(unstage)
14304 @[ -f ./gnuserv/Makefile ] || exit 0; \
14305 r=`${PWD_COMMAND}`; export r; \
14306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14307 $(HOST_EXPORTS) \
14308 for flag in $(EXTRA_HOST_FLAGS) ; do \
14309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14310 done; \
14311 echo "Doing install-info in gnuserv" ; \
14312 (cd $(HOST_SUBDIR)/gnuserv && \
14313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14315 "RANLIB=$${RANLIB}" \
14316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14317 install-info) \
14318 || exit 1
14320 @endif gnuserv
14322 .PHONY: maybe-install-html-gnuserv install-html-gnuserv
14323 maybe-install-html-gnuserv:
14324 @if gnuserv
14325 maybe-install-html-gnuserv: install-html-gnuserv
14327 install-html-gnuserv: \
14328 configure-gnuserv \
14329 html-gnuserv
14330 @: $(MAKE); $(unstage)
14331 @[ -f ./gnuserv/Makefile ] || exit 0; \
14332 r=`${PWD_COMMAND}`; export r; \
14333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14334 $(HOST_EXPORTS) \
14335 for flag in $(EXTRA_HOST_FLAGS) ; do \
14336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14337 done; \
14338 echo "Doing install-html in gnuserv" ; \
14339 (cd $(HOST_SUBDIR)/gnuserv && \
14340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14342 "RANLIB=$${RANLIB}" \
14343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14344 install-html) \
14345 || exit 1
14347 @endif gnuserv
14349 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
14350 maybe-installcheck-gnuserv:
14351 @if gnuserv
14352 maybe-installcheck-gnuserv: installcheck-gnuserv
14354 installcheck-gnuserv: \
14355 configure-gnuserv
14356 @: $(MAKE); $(unstage)
14357 @[ -f ./gnuserv/Makefile ] || exit 0; \
14358 r=`${PWD_COMMAND}`; export r; \
14359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14360 $(HOST_EXPORTS) \
14361 for flag in $(EXTRA_HOST_FLAGS) ; do \
14362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14363 done; \
14364 echo "Doing installcheck in gnuserv" ; \
14365 (cd $(HOST_SUBDIR)/gnuserv && \
14366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14368 "RANLIB=$${RANLIB}" \
14369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14370 installcheck) \
14371 || exit 1
14373 @endif gnuserv
14375 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
14376 maybe-mostlyclean-gnuserv:
14377 @if gnuserv
14378 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
14380 mostlyclean-gnuserv:
14381 @: $(MAKE); $(unstage)
14382 @[ -f ./gnuserv/Makefile ] || exit 0; \
14383 r=`${PWD_COMMAND}`; export r; \
14384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14385 $(HOST_EXPORTS) \
14386 for flag in $(EXTRA_HOST_FLAGS) ; do \
14387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14388 done; \
14389 echo "Doing mostlyclean in gnuserv" ; \
14390 (cd $(HOST_SUBDIR)/gnuserv && \
14391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14393 "RANLIB=$${RANLIB}" \
14394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14395 mostlyclean) \
14396 || exit 1
14398 @endif gnuserv
14400 .PHONY: maybe-clean-gnuserv clean-gnuserv
14401 maybe-clean-gnuserv:
14402 @if gnuserv
14403 maybe-clean-gnuserv: clean-gnuserv
14405 clean-gnuserv:
14406 @: $(MAKE); $(unstage)
14407 @[ -f ./gnuserv/Makefile ] || exit 0; \
14408 r=`${PWD_COMMAND}`; export r; \
14409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14410 $(HOST_EXPORTS) \
14411 for flag in $(EXTRA_HOST_FLAGS) ; do \
14412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14413 done; \
14414 echo "Doing clean in gnuserv" ; \
14415 (cd $(HOST_SUBDIR)/gnuserv && \
14416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14418 "RANLIB=$${RANLIB}" \
14419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14420 clean) \
14421 || exit 1
14423 @endif gnuserv
14425 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
14426 maybe-distclean-gnuserv:
14427 @if gnuserv
14428 maybe-distclean-gnuserv: distclean-gnuserv
14430 distclean-gnuserv:
14431 @: $(MAKE); $(unstage)
14432 @[ -f ./gnuserv/Makefile ] || exit 0; \
14433 r=`${PWD_COMMAND}`; export r; \
14434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14435 $(HOST_EXPORTS) \
14436 for flag in $(EXTRA_HOST_FLAGS) ; do \
14437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14438 done; \
14439 echo "Doing distclean in gnuserv" ; \
14440 (cd $(HOST_SUBDIR)/gnuserv && \
14441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14443 "RANLIB=$${RANLIB}" \
14444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14445 distclean) \
14446 || exit 1
14448 @endif gnuserv
14450 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
14451 maybe-maintainer-clean-gnuserv:
14452 @if gnuserv
14453 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
14455 maintainer-clean-gnuserv:
14456 @: $(MAKE); $(unstage)
14457 @[ -f ./gnuserv/Makefile ] || exit 0; \
14458 r=`${PWD_COMMAND}`; export r; \
14459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14460 $(HOST_EXPORTS) \
14461 for flag in $(EXTRA_HOST_FLAGS) ; do \
14462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14463 done; \
14464 echo "Doing maintainer-clean in gnuserv" ; \
14465 (cd $(HOST_SUBDIR)/gnuserv && \
14466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14468 "RANLIB=$${RANLIB}" \
14469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14470 maintainer-clean) \
14471 || exit 1
14473 @endif gnuserv
14477 .PHONY: configure-gprof maybe-configure-gprof
14478 maybe-configure-gprof:
14479 @if gcc-bootstrap
14480 configure-gprof: stage_current
14481 @endif gcc-bootstrap
14482 @if gprof
14483 maybe-configure-gprof: configure-gprof
14484 configure-gprof:
14485 @: $(MAKE); $(unstage)
14486 @r=`${PWD_COMMAND}`; export r; \
14487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14488 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
14489 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
14490 $(HOST_EXPORTS) \
14491 echo Configuring in $(HOST_SUBDIR)/gprof; \
14492 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
14493 case $(srcdir) in \
14494 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14495 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
14496 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14497 esac; \
14498 srcdiroption="--srcdir=$${topdir}/gprof"; \
14499 libsrcdir="$$s/gprof"; \
14500 $(SHELL) $${libsrcdir}/configure \
14501 $(HOST_CONFIGARGS) $${srcdiroption} \
14502 || exit 1
14503 @endif gprof
14509 .PHONY: all-gprof maybe-all-gprof
14510 maybe-all-gprof:
14511 @if gcc-bootstrap
14512 all-gprof: stage_current
14513 @endif gcc-bootstrap
14514 @if gprof
14515 TARGET-gprof=all
14516 maybe-all-gprof: all-gprof
14517 all-gprof: configure-gprof
14518 @: $(MAKE); $(unstage)
14519 @r=`${PWD_COMMAND}`; export r; \
14520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14521 $(HOST_EXPORTS) \
14522 (cd $(HOST_SUBDIR)/gprof && \
14523 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
14524 @endif gprof
14529 .PHONY: check-gprof maybe-check-gprof
14530 maybe-check-gprof:
14531 @if gprof
14532 maybe-check-gprof: check-gprof
14534 check-gprof:
14535 @: $(MAKE); $(unstage)
14536 @r=`${PWD_COMMAND}`; export r; \
14537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14538 $(HOST_EXPORTS) \
14539 (cd $(HOST_SUBDIR)/gprof && \
14540 $(MAKE) $(FLAGS_TO_PASS) check)
14542 @endif gprof
14544 .PHONY: install-gprof maybe-install-gprof
14545 maybe-install-gprof:
14546 @if gprof
14547 maybe-install-gprof: install-gprof
14549 install-gprof: installdirs
14550 @: $(MAKE); $(unstage)
14551 @r=`${PWD_COMMAND}`; export r; \
14552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14553 $(HOST_EXPORTS) \
14554 (cd $(HOST_SUBDIR)/gprof && \
14555 $(MAKE) $(FLAGS_TO_PASS) install)
14557 @endif gprof
14559 # Other targets (info, dvi, pdf, etc.)
14561 .PHONY: maybe-info-gprof info-gprof
14562 maybe-info-gprof:
14563 @if gprof
14564 maybe-info-gprof: info-gprof
14566 info-gprof: \
14567 configure-gprof
14568 @: $(MAKE); $(unstage)
14569 @[ -f ./gprof/Makefile ] || exit 0; \
14570 r=`${PWD_COMMAND}`; export r; \
14571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14572 $(HOST_EXPORTS) \
14573 for flag in $(EXTRA_HOST_FLAGS) ; do \
14574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14575 done; \
14576 echo "Doing info in gprof" ; \
14577 (cd $(HOST_SUBDIR)/gprof && \
14578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14580 "RANLIB=$${RANLIB}" \
14581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14582 info) \
14583 || exit 1
14585 @endif gprof
14587 .PHONY: maybe-dvi-gprof dvi-gprof
14588 maybe-dvi-gprof:
14589 @if gprof
14590 maybe-dvi-gprof: dvi-gprof
14592 dvi-gprof: \
14593 configure-gprof
14594 @: $(MAKE); $(unstage)
14595 @[ -f ./gprof/Makefile ] || exit 0; \
14596 r=`${PWD_COMMAND}`; export r; \
14597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14598 $(HOST_EXPORTS) \
14599 for flag in $(EXTRA_HOST_FLAGS) ; do \
14600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14601 done; \
14602 echo "Doing dvi in gprof" ; \
14603 (cd $(HOST_SUBDIR)/gprof && \
14604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14606 "RANLIB=$${RANLIB}" \
14607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14608 dvi) \
14609 || exit 1
14611 @endif gprof
14613 .PHONY: maybe-pdf-gprof pdf-gprof
14614 maybe-pdf-gprof:
14615 @if gprof
14616 maybe-pdf-gprof: pdf-gprof
14618 pdf-gprof: \
14619 configure-gprof
14620 @: $(MAKE); $(unstage)
14621 @[ -f ./gprof/Makefile ] || exit 0; \
14622 r=`${PWD_COMMAND}`; export r; \
14623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14624 $(HOST_EXPORTS) \
14625 for flag in $(EXTRA_HOST_FLAGS) ; do \
14626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14627 done; \
14628 echo "Doing pdf in gprof" ; \
14629 (cd $(HOST_SUBDIR)/gprof && \
14630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14632 "RANLIB=$${RANLIB}" \
14633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14634 pdf) \
14635 || exit 1
14637 @endif gprof
14639 .PHONY: maybe-html-gprof html-gprof
14640 maybe-html-gprof:
14641 @if gprof
14642 maybe-html-gprof: html-gprof
14644 html-gprof: \
14645 configure-gprof
14646 @: $(MAKE); $(unstage)
14647 @[ -f ./gprof/Makefile ] || exit 0; \
14648 r=`${PWD_COMMAND}`; export r; \
14649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14650 $(HOST_EXPORTS) \
14651 for flag in $(EXTRA_HOST_FLAGS) ; do \
14652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14653 done; \
14654 echo "Doing html in gprof" ; \
14655 (cd $(HOST_SUBDIR)/gprof && \
14656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14658 "RANLIB=$${RANLIB}" \
14659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14660 html) \
14661 || exit 1
14663 @endif gprof
14665 .PHONY: maybe-TAGS-gprof TAGS-gprof
14666 maybe-TAGS-gprof:
14667 @if gprof
14668 maybe-TAGS-gprof: TAGS-gprof
14670 TAGS-gprof: \
14671 configure-gprof
14672 @: $(MAKE); $(unstage)
14673 @[ -f ./gprof/Makefile ] || exit 0; \
14674 r=`${PWD_COMMAND}`; export r; \
14675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14676 $(HOST_EXPORTS) \
14677 for flag in $(EXTRA_HOST_FLAGS) ; do \
14678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14679 done; \
14680 echo "Doing TAGS in gprof" ; \
14681 (cd $(HOST_SUBDIR)/gprof && \
14682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14684 "RANLIB=$${RANLIB}" \
14685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14686 TAGS) \
14687 || exit 1
14689 @endif gprof
14691 .PHONY: maybe-install-info-gprof install-info-gprof
14692 maybe-install-info-gprof:
14693 @if gprof
14694 maybe-install-info-gprof: install-info-gprof
14696 install-info-gprof: \
14697 configure-gprof \
14698 info-gprof
14699 @: $(MAKE); $(unstage)
14700 @[ -f ./gprof/Makefile ] || exit 0; \
14701 r=`${PWD_COMMAND}`; export r; \
14702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14703 $(HOST_EXPORTS) \
14704 for flag in $(EXTRA_HOST_FLAGS) ; do \
14705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14706 done; \
14707 echo "Doing install-info in gprof" ; \
14708 (cd $(HOST_SUBDIR)/gprof && \
14709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14711 "RANLIB=$${RANLIB}" \
14712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14713 install-info) \
14714 || exit 1
14716 @endif gprof
14718 .PHONY: maybe-install-html-gprof install-html-gprof
14719 maybe-install-html-gprof:
14720 @if gprof
14721 maybe-install-html-gprof: install-html-gprof
14723 install-html-gprof: \
14724 configure-gprof \
14725 html-gprof
14726 @: $(MAKE); $(unstage)
14727 @[ -f ./gprof/Makefile ] || exit 0; \
14728 r=`${PWD_COMMAND}`; export r; \
14729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14730 $(HOST_EXPORTS) \
14731 for flag in $(EXTRA_HOST_FLAGS) ; do \
14732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14733 done; \
14734 echo "Doing install-html in gprof" ; \
14735 (cd $(HOST_SUBDIR)/gprof && \
14736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14738 "RANLIB=$${RANLIB}" \
14739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14740 install-html) \
14741 || exit 1
14743 @endif gprof
14745 .PHONY: maybe-installcheck-gprof installcheck-gprof
14746 maybe-installcheck-gprof:
14747 @if gprof
14748 maybe-installcheck-gprof: installcheck-gprof
14750 installcheck-gprof: \
14751 configure-gprof
14752 @: $(MAKE); $(unstage)
14753 @[ -f ./gprof/Makefile ] || exit 0; \
14754 r=`${PWD_COMMAND}`; export r; \
14755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14756 $(HOST_EXPORTS) \
14757 for flag in $(EXTRA_HOST_FLAGS) ; do \
14758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14759 done; \
14760 echo "Doing installcheck in gprof" ; \
14761 (cd $(HOST_SUBDIR)/gprof && \
14762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14764 "RANLIB=$${RANLIB}" \
14765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14766 installcheck) \
14767 || exit 1
14769 @endif gprof
14771 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
14772 maybe-mostlyclean-gprof:
14773 @if gprof
14774 maybe-mostlyclean-gprof: mostlyclean-gprof
14776 mostlyclean-gprof:
14777 @: $(MAKE); $(unstage)
14778 @[ -f ./gprof/Makefile ] || exit 0; \
14779 r=`${PWD_COMMAND}`; export r; \
14780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14781 $(HOST_EXPORTS) \
14782 for flag in $(EXTRA_HOST_FLAGS) ; do \
14783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14784 done; \
14785 echo "Doing mostlyclean in gprof" ; \
14786 (cd $(HOST_SUBDIR)/gprof && \
14787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14789 "RANLIB=$${RANLIB}" \
14790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14791 mostlyclean) \
14792 || exit 1
14794 @endif gprof
14796 .PHONY: maybe-clean-gprof clean-gprof
14797 maybe-clean-gprof:
14798 @if gprof
14799 maybe-clean-gprof: clean-gprof
14801 clean-gprof:
14802 @: $(MAKE); $(unstage)
14803 @[ -f ./gprof/Makefile ] || exit 0; \
14804 r=`${PWD_COMMAND}`; export r; \
14805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14806 $(HOST_EXPORTS) \
14807 for flag in $(EXTRA_HOST_FLAGS) ; do \
14808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14809 done; \
14810 echo "Doing clean in gprof" ; \
14811 (cd $(HOST_SUBDIR)/gprof && \
14812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14814 "RANLIB=$${RANLIB}" \
14815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14816 clean) \
14817 || exit 1
14819 @endif gprof
14821 .PHONY: maybe-distclean-gprof distclean-gprof
14822 maybe-distclean-gprof:
14823 @if gprof
14824 maybe-distclean-gprof: distclean-gprof
14826 distclean-gprof:
14827 @: $(MAKE); $(unstage)
14828 @[ -f ./gprof/Makefile ] || exit 0; \
14829 r=`${PWD_COMMAND}`; export r; \
14830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14831 $(HOST_EXPORTS) \
14832 for flag in $(EXTRA_HOST_FLAGS) ; do \
14833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14834 done; \
14835 echo "Doing distclean in gprof" ; \
14836 (cd $(HOST_SUBDIR)/gprof && \
14837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14839 "RANLIB=$${RANLIB}" \
14840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14841 distclean) \
14842 || exit 1
14844 @endif gprof
14846 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
14847 maybe-maintainer-clean-gprof:
14848 @if gprof
14849 maybe-maintainer-clean-gprof: maintainer-clean-gprof
14851 maintainer-clean-gprof:
14852 @: $(MAKE); $(unstage)
14853 @[ -f ./gprof/Makefile ] || exit 0; \
14854 r=`${PWD_COMMAND}`; export r; \
14855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14856 $(HOST_EXPORTS) \
14857 for flag in $(EXTRA_HOST_FLAGS) ; do \
14858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14859 done; \
14860 echo "Doing maintainer-clean in gprof" ; \
14861 (cd $(HOST_SUBDIR)/gprof && \
14862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14864 "RANLIB=$${RANLIB}" \
14865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14866 maintainer-clean) \
14867 || exit 1
14869 @endif gprof
14873 .PHONY: configure-gzip maybe-configure-gzip
14874 maybe-configure-gzip:
14875 @if gcc-bootstrap
14876 configure-gzip: stage_current
14877 @endif gcc-bootstrap
14878 @if gzip
14879 maybe-configure-gzip: configure-gzip
14880 configure-gzip:
14881 @: $(MAKE); $(unstage)
14882 @r=`${PWD_COMMAND}`; export r; \
14883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14884 test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
14885 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
14886 $(HOST_EXPORTS) \
14887 echo Configuring in $(HOST_SUBDIR)/gzip; \
14888 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
14889 case $(srcdir) in \
14890 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14891 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
14892 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14893 esac; \
14894 srcdiroption="--srcdir=$${topdir}/gzip"; \
14895 libsrcdir="$$s/gzip"; \
14896 $(SHELL) $${libsrcdir}/configure \
14897 $(HOST_CONFIGARGS) $${srcdiroption} \
14898 || exit 1
14899 @endif gzip
14905 .PHONY: all-gzip maybe-all-gzip
14906 maybe-all-gzip:
14907 @if gcc-bootstrap
14908 all-gzip: stage_current
14909 @endif gcc-bootstrap
14910 @if gzip
14911 TARGET-gzip=all
14912 maybe-all-gzip: all-gzip
14913 all-gzip: configure-gzip
14914 @: $(MAKE); $(unstage)
14915 @r=`${PWD_COMMAND}`; export r; \
14916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14917 $(HOST_EXPORTS) \
14918 (cd $(HOST_SUBDIR)/gzip && \
14919 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
14920 @endif gzip
14925 .PHONY: check-gzip maybe-check-gzip
14926 maybe-check-gzip:
14927 @if gzip
14928 maybe-check-gzip: check-gzip
14930 check-gzip:
14931 @: $(MAKE); $(unstage)
14932 @r=`${PWD_COMMAND}`; export r; \
14933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14934 $(HOST_EXPORTS) \
14935 (cd $(HOST_SUBDIR)/gzip && \
14936 $(MAKE) $(FLAGS_TO_PASS) check)
14938 @endif gzip
14940 .PHONY: install-gzip maybe-install-gzip
14941 maybe-install-gzip:
14942 @if gzip
14943 maybe-install-gzip: install-gzip
14945 install-gzip: installdirs
14946 @: $(MAKE); $(unstage)
14947 @r=`${PWD_COMMAND}`; export r; \
14948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14949 $(HOST_EXPORTS) \
14950 (cd $(HOST_SUBDIR)/gzip && \
14951 $(MAKE) $(FLAGS_TO_PASS) install)
14953 @endif gzip
14955 # Other targets (info, dvi, pdf, etc.)
14957 .PHONY: maybe-info-gzip info-gzip
14958 maybe-info-gzip:
14959 @if gzip
14960 maybe-info-gzip: info-gzip
14962 info-gzip: \
14963 configure-gzip
14964 @: $(MAKE); $(unstage)
14965 @[ -f ./gzip/Makefile ] || exit 0; \
14966 r=`${PWD_COMMAND}`; export r; \
14967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14968 $(HOST_EXPORTS) \
14969 for flag in $(EXTRA_HOST_FLAGS) ; do \
14970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14971 done; \
14972 echo "Doing info in gzip" ; \
14973 (cd $(HOST_SUBDIR)/gzip && \
14974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14976 "RANLIB=$${RANLIB}" \
14977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14978 info) \
14979 || exit 1
14981 @endif gzip
14983 .PHONY: maybe-dvi-gzip dvi-gzip
14984 maybe-dvi-gzip:
14985 @if gzip
14986 maybe-dvi-gzip: dvi-gzip
14988 dvi-gzip: \
14989 configure-gzip
14990 @: $(MAKE); $(unstage)
14991 @[ -f ./gzip/Makefile ] || exit 0; \
14992 r=`${PWD_COMMAND}`; export r; \
14993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14994 $(HOST_EXPORTS) \
14995 for flag in $(EXTRA_HOST_FLAGS) ; do \
14996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14997 done; \
14998 echo "Doing dvi in gzip" ; \
14999 (cd $(HOST_SUBDIR)/gzip && \
15000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15002 "RANLIB=$${RANLIB}" \
15003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15004 dvi) \
15005 || exit 1
15007 @endif gzip
15009 .PHONY: maybe-pdf-gzip pdf-gzip
15010 maybe-pdf-gzip:
15011 @if gzip
15012 maybe-pdf-gzip: pdf-gzip
15014 pdf-gzip: \
15015 configure-gzip
15016 @: $(MAKE); $(unstage)
15017 @[ -f ./gzip/Makefile ] || exit 0; \
15018 r=`${PWD_COMMAND}`; export r; \
15019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15020 $(HOST_EXPORTS) \
15021 for flag in $(EXTRA_HOST_FLAGS) ; do \
15022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15023 done; \
15024 echo "Doing pdf in gzip" ; \
15025 (cd $(HOST_SUBDIR)/gzip && \
15026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15028 "RANLIB=$${RANLIB}" \
15029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15030 pdf) \
15031 || exit 1
15033 @endif gzip
15035 .PHONY: maybe-html-gzip html-gzip
15036 maybe-html-gzip:
15037 @if gzip
15038 maybe-html-gzip: html-gzip
15040 html-gzip: \
15041 configure-gzip
15042 @: $(MAKE); $(unstage)
15043 @[ -f ./gzip/Makefile ] || exit 0; \
15044 r=`${PWD_COMMAND}`; export r; \
15045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15046 $(HOST_EXPORTS) \
15047 for flag in $(EXTRA_HOST_FLAGS) ; do \
15048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15049 done; \
15050 echo "Doing html in gzip" ; \
15051 (cd $(HOST_SUBDIR)/gzip && \
15052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15054 "RANLIB=$${RANLIB}" \
15055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15056 html) \
15057 || exit 1
15059 @endif gzip
15061 .PHONY: maybe-TAGS-gzip TAGS-gzip
15062 maybe-TAGS-gzip:
15063 @if gzip
15064 maybe-TAGS-gzip: TAGS-gzip
15066 TAGS-gzip: \
15067 configure-gzip
15068 @: $(MAKE); $(unstage)
15069 @[ -f ./gzip/Makefile ] || exit 0; \
15070 r=`${PWD_COMMAND}`; export r; \
15071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15072 $(HOST_EXPORTS) \
15073 for flag in $(EXTRA_HOST_FLAGS) ; do \
15074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15075 done; \
15076 echo "Doing TAGS in gzip" ; \
15077 (cd $(HOST_SUBDIR)/gzip && \
15078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15080 "RANLIB=$${RANLIB}" \
15081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15082 TAGS) \
15083 || exit 1
15085 @endif gzip
15087 .PHONY: maybe-install-info-gzip install-info-gzip
15088 maybe-install-info-gzip:
15089 @if gzip
15090 maybe-install-info-gzip: install-info-gzip
15092 install-info-gzip: \
15093 configure-gzip \
15094 info-gzip
15095 @: $(MAKE); $(unstage)
15096 @[ -f ./gzip/Makefile ] || exit 0; \
15097 r=`${PWD_COMMAND}`; export r; \
15098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15099 $(HOST_EXPORTS) \
15100 for flag in $(EXTRA_HOST_FLAGS) ; do \
15101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15102 done; \
15103 echo "Doing install-info in gzip" ; \
15104 (cd $(HOST_SUBDIR)/gzip && \
15105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15107 "RANLIB=$${RANLIB}" \
15108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15109 install-info) \
15110 || exit 1
15112 @endif gzip
15114 .PHONY: maybe-install-html-gzip install-html-gzip
15115 maybe-install-html-gzip:
15116 @if gzip
15117 maybe-install-html-gzip: install-html-gzip
15119 install-html-gzip: \
15120 configure-gzip \
15121 html-gzip
15122 @: $(MAKE); $(unstage)
15123 @[ -f ./gzip/Makefile ] || exit 0; \
15124 r=`${PWD_COMMAND}`; export r; \
15125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15126 $(HOST_EXPORTS) \
15127 for flag in $(EXTRA_HOST_FLAGS) ; do \
15128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15129 done; \
15130 echo "Doing install-html in gzip" ; \
15131 (cd $(HOST_SUBDIR)/gzip && \
15132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15134 "RANLIB=$${RANLIB}" \
15135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15136 install-html) \
15137 || exit 1
15139 @endif gzip
15141 .PHONY: maybe-installcheck-gzip installcheck-gzip
15142 maybe-installcheck-gzip:
15143 @if gzip
15144 maybe-installcheck-gzip: installcheck-gzip
15146 installcheck-gzip: \
15147 configure-gzip
15148 @: $(MAKE); $(unstage)
15149 @[ -f ./gzip/Makefile ] || exit 0; \
15150 r=`${PWD_COMMAND}`; export r; \
15151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15152 $(HOST_EXPORTS) \
15153 for flag in $(EXTRA_HOST_FLAGS) ; do \
15154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15155 done; \
15156 echo "Doing installcheck in gzip" ; \
15157 (cd $(HOST_SUBDIR)/gzip && \
15158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15160 "RANLIB=$${RANLIB}" \
15161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15162 installcheck) \
15163 || exit 1
15165 @endif gzip
15167 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
15168 maybe-mostlyclean-gzip:
15169 @if gzip
15170 maybe-mostlyclean-gzip: mostlyclean-gzip
15172 mostlyclean-gzip:
15173 @: $(MAKE); $(unstage)
15174 @[ -f ./gzip/Makefile ] || exit 0; \
15175 r=`${PWD_COMMAND}`; export r; \
15176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15177 $(HOST_EXPORTS) \
15178 for flag in $(EXTRA_HOST_FLAGS) ; do \
15179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15180 done; \
15181 echo "Doing mostlyclean in gzip" ; \
15182 (cd $(HOST_SUBDIR)/gzip && \
15183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15185 "RANLIB=$${RANLIB}" \
15186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15187 mostlyclean) \
15188 || exit 1
15190 @endif gzip
15192 .PHONY: maybe-clean-gzip clean-gzip
15193 maybe-clean-gzip:
15194 @if gzip
15195 maybe-clean-gzip: clean-gzip
15197 clean-gzip:
15198 @: $(MAKE); $(unstage)
15199 @[ -f ./gzip/Makefile ] || exit 0; \
15200 r=`${PWD_COMMAND}`; export r; \
15201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15202 $(HOST_EXPORTS) \
15203 for flag in $(EXTRA_HOST_FLAGS) ; do \
15204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15205 done; \
15206 echo "Doing clean in gzip" ; \
15207 (cd $(HOST_SUBDIR)/gzip && \
15208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15210 "RANLIB=$${RANLIB}" \
15211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15212 clean) \
15213 || exit 1
15215 @endif gzip
15217 .PHONY: maybe-distclean-gzip distclean-gzip
15218 maybe-distclean-gzip:
15219 @if gzip
15220 maybe-distclean-gzip: distclean-gzip
15222 distclean-gzip:
15223 @: $(MAKE); $(unstage)
15224 @[ -f ./gzip/Makefile ] || exit 0; \
15225 r=`${PWD_COMMAND}`; export r; \
15226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15227 $(HOST_EXPORTS) \
15228 for flag in $(EXTRA_HOST_FLAGS) ; do \
15229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15230 done; \
15231 echo "Doing distclean in gzip" ; \
15232 (cd $(HOST_SUBDIR)/gzip && \
15233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15235 "RANLIB=$${RANLIB}" \
15236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15237 distclean) \
15238 || exit 1
15240 @endif gzip
15242 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
15243 maybe-maintainer-clean-gzip:
15244 @if gzip
15245 maybe-maintainer-clean-gzip: maintainer-clean-gzip
15247 maintainer-clean-gzip:
15248 @: $(MAKE); $(unstage)
15249 @[ -f ./gzip/Makefile ] || exit 0; \
15250 r=`${PWD_COMMAND}`; export r; \
15251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15252 $(HOST_EXPORTS) \
15253 for flag in $(EXTRA_HOST_FLAGS) ; do \
15254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15255 done; \
15256 echo "Doing maintainer-clean in gzip" ; \
15257 (cd $(HOST_SUBDIR)/gzip && \
15258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15260 "RANLIB=$${RANLIB}" \
15261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15262 maintainer-clean) \
15263 || exit 1
15265 @endif gzip
15269 .PHONY: configure-hello maybe-configure-hello
15270 maybe-configure-hello:
15271 @if gcc-bootstrap
15272 configure-hello: stage_current
15273 @endif gcc-bootstrap
15274 @if hello
15275 maybe-configure-hello: configure-hello
15276 configure-hello:
15277 @: $(MAKE); $(unstage)
15278 @r=`${PWD_COMMAND}`; export r; \
15279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15280 test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
15281 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
15282 $(HOST_EXPORTS) \
15283 echo Configuring in $(HOST_SUBDIR)/hello; \
15284 cd "$(HOST_SUBDIR)/hello" || exit 1; \
15285 case $(srcdir) in \
15286 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15287 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
15288 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15289 esac; \
15290 srcdiroption="--srcdir=$${topdir}/hello"; \
15291 libsrcdir="$$s/hello"; \
15292 $(SHELL) $${libsrcdir}/configure \
15293 $(HOST_CONFIGARGS) $${srcdiroption} \
15294 || exit 1
15295 @endif hello
15301 .PHONY: all-hello maybe-all-hello
15302 maybe-all-hello:
15303 @if gcc-bootstrap
15304 all-hello: stage_current
15305 @endif gcc-bootstrap
15306 @if hello
15307 TARGET-hello=all
15308 maybe-all-hello: all-hello
15309 all-hello: configure-hello
15310 @: $(MAKE); $(unstage)
15311 @r=`${PWD_COMMAND}`; export r; \
15312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15313 $(HOST_EXPORTS) \
15314 (cd $(HOST_SUBDIR)/hello && \
15315 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
15316 @endif hello
15321 .PHONY: check-hello maybe-check-hello
15322 maybe-check-hello:
15323 @if hello
15324 maybe-check-hello: check-hello
15326 check-hello:
15327 @: $(MAKE); $(unstage)
15328 @r=`${PWD_COMMAND}`; export r; \
15329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15330 $(HOST_EXPORTS) \
15331 (cd $(HOST_SUBDIR)/hello && \
15332 $(MAKE) $(FLAGS_TO_PASS) check)
15334 @endif hello
15336 .PHONY: install-hello maybe-install-hello
15337 maybe-install-hello:
15338 @if hello
15339 maybe-install-hello: install-hello
15341 install-hello: installdirs
15342 @: $(MAKE); $(unstage)
15343 @r=`${PWD_COMMAND}`; export r; \
15344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15345 $(HOST_EXPORTS) \
15346 (cd $(HOST_SUBDIR)/hello && \
15347 $(MAKE) $(FLAGS_TO_PASS) install)
15349 @endif hello
15351 # Other targets (info, dvi, pdf, etc.)
15353 .PHONY: maybe-info-hello info-hello
15354 maybe-info-hello:
15355 @if hello
15356 maybe-info-hello: info-hello
15358 info-hello: \
15359 configure-hello
15360 @: $(MAKE); $(unstage)
15361 @[ -f ./hello/Makefile ] || exit 0; \
15362 r=`${PWD_COMMAND}`; export r; \
15363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15364 $(HOST_EXPORTS) \
15365 for flag in $(EXTRA_HOST_FLAGS) ; do \
15366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15367 done; \
15368 echo "Doing info in hello" ; \
15369 (cd $(HOST_SUBDIR)/hello && \
15370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15372 "RANLIB=$${RANLIB}" \
15373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15374 info) \
15375 || exit 1
15377 @endif hello
15379 .PHONY: maybe-dvi-hello dvi-hello
15380 maybe-dvi-hello:
15381 @if hello
15382 maybe-dvi-hello: dvi-hello
15384 dvi-hello: \
15385 configure-hello
15386 @: $(MAKE); $(unstage)
15387 @[ -f ./hello/Makefile ] || exit 0; \
15388 r=`${PWD_COMMAND}`; export r; \
15389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15390 $(HOST_EXPORTS) \
15391 for flag in $(EXTRA_HOST_FLAGS) ; do \
15392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15393 done; \
15394 echo "Doing dvi in hello" ; \
15395 (cd $(HOST_SUBDIR)/hello && \
15396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15398 "RANLIB=$${RANLIB}" \
15399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15400 dvi) \
15401 || exit 1
15403 @endif hello
15405 .PHONY: maybe-pdf-hello pdf-hello
15406 maybe-pdf-hello:
15407 @if hello
15408 maybe-pdf-hello: pdf-hello
15410 pdf-hello: \
15411 configure-hello
15412 @: $(MAKE); $(unstage)
15413 @[ -f ./hello/Makefile ] || exit 0; \
15414 r=`${PWD_COMMAND}`; export r; \
15415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15416 $(HOST_EXPORTS) \
15417 for flag in $(EXTRA_HOST_FLAGS) ; do \
15418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15419 done; \
15420 echo "Doing pdf in hello" ; \
15421 (cd $(HOST_SUBDIR)/hello && \
15422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15424 "RANLIB=$${RANLIB}" \
15425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15426 pdf) \
15427 || exit 1
15429 @endif hello
15431 .PHONY: maybe-html-hello html-hello
15432 maybe-html-hello:
15433 @if hello
15434 maybe-html-hello: html-hello
15436 html-hello: \
15437 configure-hello
15438 @: $(MAKE); $(unstage)
15439 @[ -f ./hello/Makefile ] || exit 0; \
15440 r=`${PWD_COMMAND}`; export r; \
15441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15442 $(HOST_EXPORTS) \
15443 for flag in $(EXTRA_HOST_FLAGS) ; do \
15444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15445 done; \
15446 echo "Doing html in hello" ; \
15447 (cd $(HOST_SUBDIR)/hello && \
15448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15450 "RANLIB=$${RANLIB}" \
15451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15452 html) \
15453 || exit 1
15455 @endif hello
15457 .PHONY: maybe-TAGS-hello TAGS-hello
15458 maybe-TAGS-hello:
15459 @if hello
15460 maybe-TAGS-hello: TAGS-hello
15462 TAGS-hello: \
15463 configure-hello
15464 @: $(MAKE); $(unstage)
15465 @[ -f ./hello/Makefile ] || exit 0; \
15466 r=`${PWD_COMMAND}`; export r; \
15467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15468 $(HOST_EXPORTS) \
15469 for flag in $(EXTRA_HOST_FLAGS) ; do \
15470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15471 done; \
15472 echo "Doing TAGS in hello" ; \
15473 (cd $(HOST_SUBDIR)/hello && \
15474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15476 "RANLIB=$${RANLIB}" \
15477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15478 TAGS) \
15479 || exit 1
15481 @endif hello
15483 .PHONY: maybe-install-info-hello install-info-hello
15484 maybe-install-info-hello:
15485 @if hello
15486 maybe-install-info-hello: install-info-hello
15488 install-info-hello: \
15489 configure-hello \
15490 info-hello
15491 @: $(MAKE); $(unstage)
15492 @[ -f ./hello/Makefile ] || exit 0; \
15493 r=`${PWD_COMMAND}`; export r; \
15494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15495 $(HOST_EXPORTS) \
15496 for flag in $(EXTRA_HOST_FLAGS) ; do \
15497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15498 done; \
15499 echo "Doing install-info in hello" ; \
15500 (cd $(HOST_SUBDIR)/hello && \
15501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15503 "RANLIB=$${RANLIB}" \
15504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15505 install-info) \
15506 || exit 1
15508 @endif hello
15510 .PHONY: maybe-install-html-hello install-html-hello
15511 maybe-install-html-hello:
15512 @if hello
15513 maybe-install-html-hello: install-html-hello
15515 install-html-hello: \
15516 configure-hello \
15517 html-hello
15518 @: $(MAKE); $(unstage)
15519 @[ -f ./hello/Makefile ] || exit 0; \
15520 r=`${PWD_COMMAND}`; export r; \
15521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15522 $(HOST_EXPORTS) \
15523 for flag in $(EXTRA_HOST_FLAGS) ; do \
15524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15525 done; \
15526 echo "Doing install-html in hello" ; \
15527 (cd $(HOST_SUBDIR)/hello && \
15528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15530 "RANLIB=$${RANLIB}" \
15531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15532 install-html) \
15533 || exit 1
15535 @endif hello
15537 .PHONY: maybe-installcheck-hello installcheck-hello
15538 maybe-installcheck-hello:
15539 @if hello
15540 maybe-installcheck-hello: installcheck-hello
15542 installcheck-hello: \
15543 configure-hello
15544 @: $(MAKE); $(unstage)
15545 @[ -f ./hello/Makefile ] || exit 0; \
15546 r=`${PWD_COMMAND}`; export r; \
15547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15548 $(HOST_EXPORTS) \
15549 for flag in $(EXTRA_HOST_FLAGS) ; do \
15550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15551 done; \
15552 echo "Doing installcheck in hello" ; \
15553 (cd $(HOST_SUBDIR)/hello && \
15554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15556 "RANLIB=$${RANLIB}" \
15557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15558 installcheck) \
15559 || exit 1
15561 @endif hello
15563 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
15564 maybe-mostlyclean-hello:
15565 @if hello
15566 maybe-mostlyclean-hello: mostlyclean-hello
15568 mostlyclean-hello:
15569 @: $(MAKE); $(unstage)
15570 @[ -f ./hello/Makefile ] || exit 0; \
15571 r=`${PWD_COMMAND}`; export r; \
15572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15573 $(HOST_EXPORTS) \
15574 for flag in $(EXTRA_HOST_FLAGS) ; do \
15575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15576 done; \
15577 echo "Doing mostlyclean in hello" ; \
15578 (cd $(HOST_SUBDIR)/hello && \
15579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15581 "RANLIB=$${RANLIB}" \
15582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15583 mostlyclean) \
15584 || exit 1
15586 @endif hello
15588 .PHONY: maybe-clean-hello clean-hello
15589 maybe-clean-hello:
15590 @if hello
15591 maybe-clean-hello: clean-hello
15593 clean-hello:
15594 @: $(MAKE); $(unstage)
15595 @[ -f ./hello/Makefile ] || exit 0; \
15596 r=`${PWD_COMMAND}`; export r; \
15597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15598 $(HOST_EXPORTS) \
15599 for flag in $(EXTRA_HOST_FLAGS) ; do \
15600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15601 done; \
15602 echo "Doing clean in hello" ; \
15603 (cd $(HOST_SUBDIR)/hello && \
15604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15606 "RANLIB=$${RANLIB}" \
15607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15608 clean) \
15609 || exit 1
15611 @endif hello
15613 .PHONY: maybe-distclean-hello distclean-hello
15614 maybe-distclean-hello:
15615 @if hello
15616 maybe-distclean-hello: distclean-hello
15618 distclean-hello:
15619 @: $(MAKE); $(unstage)
15620 @[ -f ./hello/Makefile ] || exit 0; \
15621 r=`${PWD_COMMAND}`; export r; \
15622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15623 $(HOST_EXPORTS) \
15624 for flag in $(EXTRA_HOST_FLAGS) ; do \
15625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15626 done; \
15627 echo "Doing distclean in hello" ; \
15628 (cd $(HOST_SUBDIR)/hello && \
15629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15631 "RANLIB=$${RANLIB}" \
15632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15633 distclean) \
15634 || exit 1
15636 @endif hello
15638 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
15639 maybe-maintainer-clean-hello:
15640 @if hello
15641 maybe-maintainer-clean-hello: maintainer-clean-hello
15643 maintainer-clean-hello:
15644 @: $(MAKE); $(unstage)
15645 @[ -f ./hello/Makefile ] || exit 0; \
15646 r=`${PWD_COMMAND}`; export r; \
15647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15648 $(HOST_EXPORTS) \
15649 for flag in $(EXTRA_HOST_FLAGS) ; do \
15650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15651 done; \
15652 echo "Doing maintainer-clean in hello" ; \
15653 (cd $(HOST_SUBDIR)/hello && \
15654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15656 "RANLIB=$${RANLIB}" \
15657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15658 maintainer-clean) \
15659 || exit 1
15661 @endif hello
15665 .PHONY: configure-indent maybe-configure-indent
15666 maybe-configure-indent:
15667 @if gcc-bootstrap
15668 configure-indent: stage_current
15669 @endif gcc-bootstrap
15670 @if indent
15671 maybe-configure-indent: configure-indent
15672 configure-indent:
15673 @: $(MAKE); $(unstage)
15674 @r=`${PWD_COMMAND}`; export r; \
15675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15676 test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
15677 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
15678 $(HOST_EXPORTS) \
15679 echo Configuring in $(HOST_SUBDIR)/indent; \
15680 cd "$(HOST_SUBDIR)/indent" || exit 1; \
15681 case $(srcdir) in \
15682 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15683 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
15684 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15685 esac; \
15686 srcdiroption="--srcdir=$${topdir}/indent"; \
15687 libsrcdir="$$s/indent"; \
15688 $(SHELL) $${libsrcdir}/configure \
15689 $(HOST_CONFIGARGS) $${srcdiroption} \
15690 || exit 1
15691 @endif indent
15697 .PHONY: all-indent maybe-all-indent
15698 maybe-all-indent:
15699 @if gcc-bootstrap
15700 all-indent: stage_current
15701 @endif gcc-bootstrap
15702 @if indent
15703 TARGET-indent=all
15704 maybe-all-indent: all-indent
15705 all-indent: configure-indent
15706 @: $(MAKE); $(unstage)
15707 @r=`${PWD_COMMAND}`; export r; \
15708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15709 $(HOST_EXPORTS) \
15710 (cd $(HOST_SUBDIR)/indent && \
15711 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
15712 @endif indent
15717 .PHONY: check-indent maybe-check-indent
15718 maybe-check-indent:
15719 @if indent
15720 maybe-check-indent: check-indent
15722 check-indent:
15723 @: $(MAKE); $(unstage)
15724 @r=`${PWD_COMMAND}`; export r; \
15725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15726 $(HOST_EXPORTS) \
15727 (cd $(HOST_SUBDIR)/indent && \
15728 $(MAKE) $(FLAGS_TO_PASS) check)
15730 @endif indent
15732 .PHONY: install-indent maybe-install-indent
15733 maybe-install-indent:
15734 @if indent
15735 maybe-install-indent: install-indent
15737 install-indent: installdirs
15738 @: $(MAKE); $(unstage)
15739 @r=`${PWD_COMMAND}`; export r; \
15740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15741 $(HOST_EXPORTS) \
15742 (cd $(HOST_SUBDIR)/indent && \
15743 $(MAKE) $(FLAGS_TO_PASS) install)
15745 @endif indent
15747 # Other targets (info, dvi, pdf, etc.)
15749 .PHONY: maybe-info-indent info-indent
15750 maybe-info-indent:
15751 @if indent
15752 maybe-info-indent: info-indent
15754 info-indent: \
15755 configure-indent
15756 @: $(MAKE); $(unstage)
15757 @[ -f ./indent/Makefile ] || exit 0; \
15758 r=`${PWD_COMMAND}`; export r; \
15759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15760 $(HOST_EXPORTS) \
15761 for flag in $(EXTRA_HOST_FLAGS) ; do \
15762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15763 done; \
15764 echo "Doing info in indent" ; \
15765 (cd $(HOST_SUBDIR)/indent && \
15766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15768 "RANLIB=$${RANLIB}" \
15769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15770 info) \
15771 || exit 1
15773 @endif indent
15775 .PHONY: maybe-dvi-indent dvi-indent
15776 maybe-dvi-indent:
15777 @if indent
15778 maybe-dvi-indent: dvi-indent
15780 dvi-indent: \
15781 configure-indent
15782 @: $(MAKE); $(unstage)
15783 @[ -f ./indent/Makefile ] || exit 0; \
15784 r=`${PWD_COMMAND}`; export r; \
15785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15786 $(HOST_EXPORTS) \
15787 for flag in $(EXTRA_HOST_FLAGS) ; do \
15788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15789 done; \
15790 echo "Doing dvi in indent" ; \
15791 (cd $(HOST_SUBDIR)/indent && \
15792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15794 "RANLIB=$${RANLIB}" \
15795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15796 dvi) \
15797 || exit 1
15799 @endif indent
15801 .PHONY: maybe-pdf-indent pdf-indent
15802 maybe-pdf-indent:
15803 @if indent
15804 maybe-pdf-indent: pdf-indent
15806 pdf-indent: \
15807 configure-indent
15808 @: $(MAKE); $(unstage)
15809 @[ -f ./indent/Makefile ] || exit 0; \
15810 r=`${PWD_COMMAND}`; export r; \
15811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15812 $(HOST_EXPORTS) \
15813 for flag in $(EXTRA_HOST_FLAGS) ; do \
15814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15815 done; \
15816 echo "Doing pdf in indent" ; \
15817 (cd $(HOST_SUBDIR)/indent && \
15818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15820 "RANLIB=$${RANLIB}" \
15821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15822 pdf) \
15823 || exit 1
15825 @endif indent
15827 .PHONY: maybe-html-indent html-indent
15828 maybe-html-indent:
15829 @if indent
15830 maybe-html-indent: html-indent
15832 html-indent: \
15833 configure-indent
15834 @: $(MAKE); $(unstage)
15835 @[ -f ./indent/Makefile ] || exit 0; \
15836 r=`${PWD_COMMAND}`; export r; \
15837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15838 $(HOST_EXPORTS) \
15839 for flag in $(EXTRA_HOST_FLAGS) ; do \
15840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15841 done; \
15842 echo "Doing html in indent" ; \
15843 (cd $(HOST_SUBDIR)/indent && \
15844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15846 "RANLIB=$${RANLIB}" \
15847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15848 html) \
15849 || exit 1
15851 @endif indent
15853 .PHONY: maybe-TAGS-indent TAGS-indent
15854 maybe-TAGS-indent:
15855 @if indent
15856 maybe-TAGS-indent: TAGS-indent
15858 TAGS-indent: \
15859 configure-indent
15860 @: $(MAKE); $(unstage)
15861 @[ -f ./indent/Makefile ] || exit 0; \
15862 r=`${PWD_COMMAND}`; export r; \
15863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15864 $(HOST_EXPORTS) \
15865 for flag in $(EXTRA_HOST_FLAGS) ; do \
15866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15867 done; \
15868 echo "Doing TAGS in indent" ; \
15869 (cd $(HOST_SUBDIR)/indent && \
15870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15872 "RANLIB=$${RANLIB}" \
15873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15874 TAGS) \
15875 || exit 1
15877 @endif indent
15879 .PHONY: maybe-install-info-indent install-info-indent
15880 maybe-install-info-indent:
15881 @if indent
15882 maybe-install-info-indent: install-info-indent
15884 install-info-indent: \
15885 configure-indent \
15886 info-indent
15887 @: $(MAKE); $(unstage)
15888 @[ -f ./indent/Makefile ] || exit 0; \
15889 r=`${PWD_COMMAND}`; export r; \
15890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15891 $(HOST_EXPORTS) \
15892 for flag in $(EXTRA_HOST_FLAGS) ; do \
15893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15894 done; \
15895 echo "Doing install-info in indent" ; \
15896 (cd $(HOST_SUBDIR)/indent && \
15897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15899 "RANLIB=$${RANLIB}" \
15900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15901 install-info) \
15902 || exit 1
15904 @endif indent
15906 .PHONY: maybe-install-html-indent install-html-indent
15907 maybe-install-html-indent:
15908 @if indent
15909 maybe-install-html-indent: install-html-indent
15911 install-html-indent: \
15912 configure-indent \
15913 html-indent
15914 @: $(MAKE); $(unstage)
15915 @[ -f ./indent/Makefile ] || exit 0; \
15916 r=`${PWD_COMMAND}`; export r; \
15917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15918 $(HOST_EXPORTS) \
15919 for flag in $(EXTRA_HOST_FLAGS) ; do \
15920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15921 done; \
15922 echo "Doing install-html in indent" ; \
15923 (cd $(HOST_SUBDIR)/indent && \
15924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15926 "RANLIB=$${RANLIB}" \
15927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15928 install-html) \
15929 || exit 1
15931 @endif indent
15933 .PHONY: maybe-installcheck-indent installcheck-indent
15934 maybe-installcheck-indent:
15935 @if indent
15936 maybe-installcheck-indent: installcheck-indent
15938 installcheck-indent: \
15939 configure-indent
15940 @: $(MAKE); $(unstage)
15941 @[ -f ./indent/Makefile ] || exit 0; \
15942 r=`${PWD_COMMAND}`; export r; \
15943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15944 $(HOST_EXPORTS) \
15945 for flag in $(EXTRA_HOST_FLAGS) ; do \
15946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15947 done; \
15948 echo "Doing installcheck in indent" ; \
15949 (cd $(HOST_SUBDIR)/indent && \
15950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15952 "RANLIB=$${RANLIB}" \
15953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15954 installcheck) \
15955 || exit 1
15957 @endif indent
15959 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
15960 maybe-mostlyclean-indent:
15961 @if indent
15962 maybe-mostlyclean-indent: mostlyclean-indent
15964 mostlyclean-indent:
15965 @: $(MAKE); $(unstage)
15966 @[ -f ./indent/Makefile ] || exit 0; \
15967 r=`${PWD_COMMAND}`; export r; \
15968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15969 $(HOST_EXPORTS) \
15970 for flag in $(EXTRA_HOST_FLAGS) ; do \
15971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15972 done; \
15973 echo "Doing mostlyclean in indent" ; \
15974 (cd $(HOST_SUBDIR)/indent && \
15975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15977 "RANLIB=$${RANLIB}" \
15978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15979 mostlyclean) \
15980 || exit 1
15982 @endif indent
15984 .PHONY: maybe-clean-indent clean-indent
15985 maybe-clean-indent:
15986 @if indent
15987 maybe-clean-indent: clean-indent
15989 clean-indent:
15990 @: $(MAKE); $(unstage)
15991 @[ -f ./indent/Makefile ] || exit 0; \
15992 r=`${PWD_COMMAND}`; export r; \
15993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15994 $(HOST_EXPORTS) \
15995 for flag in $(EXTRA_HOST_FLAGS) ; do \
15996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15997 done; \
15998 echo "Doing clean in indent" ; \
15999 (cd $(HOST_SUBDIR)/indent && \
16000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16002 "RANLIB=$${RANLIB}" \
16003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16004 clean) \
16005 || exit 1
16007 @endif indent
16009 .PHONY: maybe-distclean-indent distclean-indent
16010 maybe-distclean-indent:
16011 @if indent
16012 maybe-distclean-indent: distclean-indent
16014 distclean-indent:
16015 @: $(MAKE); $(unstage)
16016 @[ -f ./indent/Makefile ] || exit 0; \
16017 r=`${PWD_COMMAND}`; export r; \
16018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16019 $(HOST_EXPORTS) \
16020 for flag in $(EXTRA_HOST_FLAGS) ; do \
16021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16022 done; \
16023 echo "Doing distclean in indent" ; \
16024 (cd $(HOST_SUBDIR)/indent && \
16025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16027 "RANLIB=$${RANLIB}" \
16028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16029 distclean) \
16030 || exit 1
16032 @endif indent
16034 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
16035 maybe-maintainer-clean-indent:
16036 @if indent
16037 maybe-maintainer-clean-indent: maintainer-clean-indent
16039 maintainer-clean-indent:
16040 @: $(MAKE); $(unstage)
16041 @[ -f ./indent/Makefile ] || exit 0; \
16042 r=`${PWD_COMMAND}`; export r; \
16043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16044 $(HOST_EXPORTS) \
16045 for flag in $(EXTRA_HOST_FLAGS) ; do \
16046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16047 done; \
16048 echo "Doing maintainer-clean in indent" ; \
16049 (cd $(HOST_SUBDIR)/indent && \
16050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16052 "RANLIB=$${RANLIB}" \
16053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16054 maintainer-clean) \
16055 || exit 1
16057 @endif indent
16061 .PHONY: configure-intl maybe-configure-intl
16062 maybe-configure-intl:
16063 @if gcc-bootstrap
16064 configure-intl: stage_current
16065 @endif gcc-bootstrap
16066 @if intl
16067 maybe-configure-intl: configure-intl
16068 configure-intl:
16069 @r=`${PWD_COMMAND}`; export r; \
16070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16071 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16072 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16073 $(HOST_EXPORTS) \
16074 echo Configuring in $(HOST_SUBDIR)/intl; \
16075 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16076 case $(srcdir) in \
16077 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16078 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16079 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16080 esac; \
16081 srcdiroption="--srcdir=$${topdir}/intl"; \
16082 libsrcdir="$$s/intl"; \
16083 $(SHELL) $${libsrcdir}/configure \
16084 $(HOST_CONFIGARGS) $${srcdiroption} \
16085 || exit 1
16086 @endif intl
16090 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16091 maybe-configure-stage1-intl:
16092 @if intl-bootstrap
16093 maybe-configure-stage1-intl: configure-stage1-intl
16094 configure-stage1-intl:
16095 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16096 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16097 @r=`${PWD_COMMAND}`; export r; \
16098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16099 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16100 $(HOST_EXPORTS) \
16101 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
16102 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16103 cd $(HOST_SUBDIR)/intl || exit 1; \
16104 case $(srcdir) in \
16105 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16106 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16107 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16108 esac; \
16109 srcdiroption="--srcdir=$${topdir}/intl"; \
16110 libsrcdir="$$s/intl"; \
16111 $(SHELL) $${libsrcdir}/configure \
16112 $(HOST_CONFIGARGS) $${srcdiroption} \
16114 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16115 @endif intl-bootstrap
16117 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
16118 maybe-configure-stage2-intl:
16119 @if intl-bootstrap
16120 maybe-configure-stage2-intl: configure-stage2-intl
16121 configure-stage2-intl:
16122 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16123 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16124 @r=`${PWD_COMMAND}`; export r; \
16125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16126 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16127 $(HOST_EXPORTS) \
16128 $(POSTSTAGE1_HOST_EXPORTS) \
16129 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
16130 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16131 cd $(HOST_SUBDIR)/intl || exit 1; \
16132 case $(srcdir) in \
16133 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16134 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16135 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16136 esac; \
16137 srcdiroption="--srcdir=$${topdir}/intl"; \
16138 libsrcdir="$$s/intl"; \
16139 $(SHELL) $${libsrcdir}/configure \
16140 $(HOST_CONFIGARGS) $${srcdiroption} \
16141 --with-build-libsubdir=$(HOST_SUBDIR) \
16142 @stage2_werror_flag@
16143 @endif intl-bootstrap
16145 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
16146 maybe-configure-stage3-intl:
16147 @if intl-bootstrap
16148 maybe-configure-stage3-intl: configure-stage3-intl
16149 configure-stage3-intl:
16150 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16151 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16152 @r=`${PWD_COMMAND}`; export r; \
16153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16154 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16155 $(HOST_EXPORTS) \
16156 $(POSTSTAGE1_HOST_EXPORTS) \
16157 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
16158 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16159 cd $(HOST_SUBDIR)/intl || exit 1; \
16160 case $(srcdir) in \
16161 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16162 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16163 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16164 esac; \
16165 srcdiroption="--srcdir=$${topdir}/intl"; \
16166 libsrcdir="$$s/intl"; \
16167 $(SHELL) $${libsrcdir}/configure \
16168 $(HOST_CONFIGARGS) $${srcdiroption} \
16169 --with-build-libsubdir=$(HOST_SUBDIR) \
16170 @stage2_werror_flag@
16171 @endif intl-bootstrap
16173 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
16174 maybe-configure-stage4-intl:
16175 @if intl-bootstrap
16176 maybe-configure-stage4-intl: configure-stage4-intl
16177 configure-stage4-intl:
16178 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16179 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16180 @r=`${PWD_COMMAND}`; export r; \
16181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16182 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16183 $(HOST_EXPORTS) \
16184 $(POSTSTAGE1_HOST_EXPORTS) \
16185 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
16186 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16187 cd $(HOST_SUBDIR)/intl || exit 1; \
16188 case $(srcdir) in \
16189 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16190 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16191 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16192 esac; \
16193 srcdiroption="--srcdir=$${topdir}/intl"; \
16194 libsrcdir="$$s/intl"; \
16195 $(SHELL) $${libsrcdir}/configure \
16196 $(HOST_CONFIGARGS) $${srcdiroption} \
16197 --with-build-libsubdir=$(HOST_SUBDIR) \
16198 @stage2_werror_flag@
16199 @endif intl-bootstrap
16201 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
16202 maybe-configure-stageprofile-intl:
16203 @if intl-bootstrap
16204 maybe-configure-stageprofile-intl: configure-stageprofile-intl
16205 configure-stageprofile-intl:
16206 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16207 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16208 @r=`${PWD_COMMAND}`; export r; \
16209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16210 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16211 $(HOST_EXPORTS) \
16212 $(POSTSTAGE1_HOST_EXPORTS) \
16213 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
16214 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16215 cd $(HOST_SUBDIR)/intl || exit 1; \
16216 case $(srcdir) in \
16217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16218 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16220 esac; \
16221 srcdiroption="--srcdir=$${topdir}/intl"; \
16222 libsrcdir="$$s/intl"; \
16223 $(SHELL) $${libsrcdir}/configure \
16224 $(HOST_CONFIGARGS) $${srcdiroption} \
16225 --with-build-libsubdir=$(HOST_SUBDIR) \
16226 @stage2_werror_flag@
16227 @endif intl-bootstrap
16229 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
16230 maybe-configure-stagefeedback-intl:
16231 @if intl-bootstrap
16232 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
16233 configure-stagefeedback-intl:
16234 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16235 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16236 @r=`${PWD_COMMAND}`; export r; \
16237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16238 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16239 $(HOST_EXPORTS) \
16240 $(POSTSTAGE1_HOST_EXPORTS) \
16241 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
16242 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16243 cd $(HOST_SUBDIR)/intl || exit 1; \
16244 case $(srcdir) in \
16245 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16246 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16247 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16248 esac; \
16249 srcdiroption="--srcdir=$${topdir}/intl"; \
16250 libsrcdir="$$s/intl"; \
16251 $(SHELL) $${libsrcdir}/configure \
16252 $(HOST_CONFIGARGS) $${srcdiroption} \
16253 --with-build-libsubdir=$(HOST_SUBDIR) \
16254 @stage2_werror_flag@
16255 @endif intl-bootstrap
16261 .PHONY: all-intl maybe-all-intl
16262 maybe-all-intl:
16263 @if gcc-bootstrap
16264 all-intl: stage_current
16265 @endif gcc-bootstrap
16266 @if intl
16267 TARGET-intl=all
16268 maybe-all-intl: all-intl
16269 all-intl: configure-intl
16270 @r=`${PWD_COMMAND}`; export r; \
16271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16272 $(HOST_EXPORTS) \
16273 (cd $(HOST_SUBDIR)/intl && \
16274 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
16275 @endif intl
16279 .PHONY: all-stage1-intl maybe-all-stage1-intl
16280 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
16281 maybe-all-stage1-intl:
16282 maybe-clean-stage1-intl:
16283 @if intl-bootstrap
16284 maybe-all-stage1-intl: all-stage1-intl
16285 all-stage1: all-stage1-intl
16286 TARGET-stage1-intl = $(TARGET-intl)
16287 all-stage1-intl: configure-stage1-intl
16288 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16289 @r=`${PWD_COMMAND}`; export r; \
16290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16291 $(HOST_EXPORTS) \
16292 cd $(HOST_SUBDIR)/intl && \
16293 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
16294 $(TARGET-stage1-intl)
16296 maybe-clean-stage1-intl: clean-stage1-intl
16297 clean-stage1: clean-stage1-intl
16298 clean-stage1-intl:
16299 @if [ $(current_stage) = stage1 ]; then \
16300 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16301 else \
16302 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
16303 $(MAKE) stage1-start; \
16304 fi; \
16305 cd $(HOST_SUBDIR)/intl && \
16306 $(MAKE) $(FLAGS_TO_PASS) \
16307 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
16308 @endif intl-bootstrap
16311 .PHONY: all-stage2-intl maybe-all-stage2-intl
16312 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
16313 maybe-all-stage2-intl:
16314 maybe-clean-stage2-intl:
16315 @if intl-bootstrap
16316 maybe-all-stage2-intl: all-stage2-intl
16317 all-stage2: all-stage2-intl
16318 TARGET-stage2-intl = $(TARGET-intl)
16319 all-stage2-intl: configure-stage2-intl
16320 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16321 @r=`${PWD_COMMAND}`; export r; \
16322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16323 $(HOST_EXPORTS) \
16324 $(POSTSTAGE1_HOST_EXPORTS) \
16325 cd $(HOST_SUBDIR)/intl && \
16326 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16327 $(TARGET-stage2-intl)
16329 maybe-clean-stage2-intl: clean-stage2-intl
16330 clean-stage2: clean-stage2-intl
16331 clean-stage2-intl:
16332 @if [ $(current_stage) = stage2 ]; then \
16333 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16334 else \
16335 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
16336 $(MAKE) stage2-start; \
16337 fi; \
16338 cd $(HOST_SUBDIR)/intl && \
16339 $(MAKE) $(FLAGS_TO_PASS) \
16340 $(POSTSTAGE1_FLAGS_TO_PASS) \
16341 clean
16342 @endif intl-bootstrap
16345 .PHONY: all-stage3-intl maybe-all-stage3-intl
16346 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
16347 maybe-all-stage3-intl:
16348 maybe-clean-stage3-intl:
16349 @if intl-bootstrap
16350 maybe-all-stage3-intl: all-stage3-intl
16351 all-stage3: all-stage3-intl
16352 TARGET-stage3-intl = $(TARGET-intl)
16353 all-stage3-intl: configure-stage3-intl
16354 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16355 @r=`${PWD_COMMAND}`; export r; \
16356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16357 $(HOST_EXPORTS) \
16358 $(POSTSTAGE1_HOST_EXPORTS) \
16359 cd $(HOST_SUBDIR)/intl && \
16360 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16361 $(TARGET-stage3-intl)
16363 maybe-clean-stage3-intl: clean-stage3-intl
16364 clean-stage3: clean-stage3-intl
16365 clean-stage3-intl:
16366 @if [ $(current_stage) = stage3 ]; then \
16367 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16368 else \
16369 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
16370 $(MAKE) stage3-start; \
16371 fi; \
16372 cd $(HOST_SUBDIR)/intl && \
16373 $(MAKE) $(FLAGS_TO_PASS) \
16374 $(POSTSTAGE1_FLAGS_TO_PASS) \
16375 clean
16376 @endif intl-bootstrap
16379 .PHONY: all-stage4-intl maybe-all-stage4-intl
16380 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
16381 maybe-all-stage4-intl:
16382 maybe-clean-stage4-intl:
16383 @if intl-bootstrap
16384 maybe-all-stage4-intl: all-stage4-intl
16385 all-stage4: all-stage4-intl
16386 TARGET-stage4-intl = $(TARGET-intl)
16387 all-stage4-intl: configure-stage4-intl
16388 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16389 @r=`${PWD_COMMAND}`; export r; \
16390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16391 $(HOST_EXPORTS) \
16392 $(POSTSTAGE1_HOST_EXPORTS) \
16393 cd $(HOST_SUBDIR)/intl && \
16394 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16395 $(TARGET-stage4-intl)
16397 maybe-clean-stage4-intl: clean-stage4-intl
16398 clean-stage4: clean-stage4-intl
16399 clean-stage4-intl:
16400 @if [ $(current_stage) = stage4 ]; then \
16401 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16402 else \
16403 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
16404 $(MAKE) stage4-start; \
16405 fi; \
16406 cd $(HOST_SUBDIR)/intl && \
16407 $(MAKE) $(FLAGS_TO_PASS) \
16408 $(POSTSTAGE1_FLAGS_TO_PASS) \
16409 clean
16410 @endif intl-bootstrap
16413 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
16414 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
16415 maybe-all-stageprofile-intl:
16416 maybe-clean-stageprofile-intl:
16417 @if intl-bootstrap
16418 maybe-all-stageprofile-intl: all-stageprofile-intl
16419 all-stageprofile: all-stageprofile-intl
16420 TARGET-stageprofile-intl = $(TARGET-intl)
16421 all-stageprofile-intl: configure-stageprofile-intl
16422 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16423 @r=`${PWD_COMMAND}`; export r; \
16424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16425 $(HOST_EXPORTS) \
16426 $(POSTSTAGE1_HOST_EXPORTS) \
16427 cd $(HOST_SUBDIR)/intl && \
16428 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16429 $(TARGET-stageprofile-intl)
16431 maybe-clean-stageprofile-intl: clean-stageprofile-intl
16432 clean-stageprofile: clean-stageprofile-intl
16433 clean-stageprofile-intl:
16434 @if [ $(current_stage) = stageprofile ]; then \
16435 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16436 else \
16437 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
16438 $(MAKE) stageprofile-start; \
16439 fi; \
16440 cd $(HOST_SUBDIR)/intl && \
16441 $(MAKE) $(FLAGS_TO_PASS) \
16442 $(POSTSTAGE1_FLAGS_TO_PASS) \
16443 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16444 @endif intl-bootstrap
16447 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
16448 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
16449 maybe-all-stagefeedback-intl:
16450 maybe-clean-stagefeedback-intl:
16451 @if intl-bootstrap
16452 maybe-all-stagefeedback-intl: all-stagefeedback-intl
16453 all-stagefeedback: all-stagefeedback-intl
16454 TARGET-stagefeedback-intl = $(TARGET-intl)
16455 all-stagefeedback-intl: configure-stagefeedback-intl
16456 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16457 @r=`${PWD_COMMAND}`; export r; \
16458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16459 $(HOST_EXPORTS) \
16460 $(POSTSTAGE1_HOST_EXPORTS) \
16461 cd $(HOST_SUBDIR)/intl && \
16462 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16463 $(TARGET-stagefeedback-intl)
16465 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
16466 clean-stagefeedback: clean-stagefeedback-intl
16467 clean-stagefeedback-intl:
16468 @if [ $(current_stage) = stagefeedback ]; then \
16469 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16470 else \
16471 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
16472 $(MAKE) stagefeedback-start; \
16473 fi; \
16474 cd $(HOST_SUBDIR)/intl && \
16475 $(MAKE) $(FLAGS_TO_PASS) \
16476 $(POSTSTAGE1_FLAGS_TO_PASS) \
16477 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16478 @endif intl-bootstrap
16484 .PHONY: check-intl maybe-check-intl
16485 maybe-check-intl:
16486 @if intl
16487 maybe-check-intl: check-intl
16489 check-intl:
16490 @: $(MAKE); $(unstage)
16491 @r=`${PWD_COMMAND}`; export r; \
16492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16493 $(HOST_EXPORTS) \
16494 (cd $(HOST_SUBDIR)/intl && \
16495 $(MAKE) $(FLAGS_TO_PASS) check)
16497 @endif intl
16499 .PHONY: install-intl maybe-install-intl
16500 maybe-install-intl:
16501 @if intl
16502 maybe-install-intl: install-intl
16504 install-intl: installdirs
16505 @: $(MAKE); $(unstage)
16506 @r=`${PWD_COMMAND}`; export r; \
16507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16508 $(HOST_EXPORTS) \
16509 (cd $(HOST_SUBDIR)/intl && \
16510 $(MAKE) $(FLAGS_TO_PASS) install)
16512 @endif intl
16514 # Other targets (info, dvi, pdf, etc.)
16516 .PHONY: maybe-info-intl info-intl
16517 maybe-info-intl:
16518 @if intl
16519 maybe-info-intl: info-intl
16521 info-intl: \
16522 configure-intl
16523 @[ -f ./intl/Makefile ] || exit 0; \
16524 r=`${PWD_COMMAND}`; export r; \
16525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16526 $(HOST_EXPORTS) \
16527 for flag in $(EXTRA_HOST_FLAGS) ; do \
16528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16529 done; \
16530 echo "Doing info in intl" ; \
16531 (cd $(HOST_SUBDIR)/intl && \
16532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16534 "RANLIB=$${RANLIB}" \
16535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16536 info) \
16537 || exit 1
16539 @endif intl
16541 .PHONY: maybe-dvi-intl dvi-intl
16542 maybe-dvi-intl:
16543 @if intl
16544 maybe-dvi-intl: dvi-intl
16546 dvi-intl: \
16547 configure-intl
16548 @[ -f ./intl/Makefile ] || exit 0; \
16549 r=`${PWD_COMMAND}`; export r; \
16550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16551 $(HOST_EXPORTS) \
16552 for flag in $(EXTRA_HOST_FLAGS) ; do \
16553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16554 done; \
16555 echo "Doing dvi in intl" ; \
16556 (cd $(HOST_SUBDIR)/intl && \
16557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16559 "RANLIB=$${RANLIB}" \
16560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16561 dvi) \
16562 || exit 1
16564 @endif intl
16566 .PHONY: maybe-pdf-intl pdf-intl
16567 maybe-pdf-intl:
16568 @if intl
16569 maybe-pdf-intl: pdf-intl
16571 pdf-intl: \
16572 configure-intl
16573 @[ -f ./intl/Makefile ] || exit 0; \
16574 r=`${PWD_COMMAND}`; export r; \
16575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16576 $(HOST_EXPORTS) \
16577 for flag in $(EXTRA_HOST_FLAGS) ; do \
16578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16579 done; \
16580 echo "Doing pdf in intl" ; \
16581 (cd $(HOST_SUBDIR)/intl && \
16582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16584 "RANLIB=$${RANLIB}" \
16585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16586 pdf) \
16587 || exit 1
16589 @endif intl
16591 .PHONY: maybe-html-intl html-intl
16592 maybe-html-intl:
16593 @if intl
16594 maybe-html-intl: html-intl
16596 html-intl: \
16597 configure-intl
16598 @[ -f ./intl/Makefile ] || exit 0; \
16599 r=`${PWD_COMMAND}`; export r; \
16600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16601 $(HOST_EXPORTS) \
16602 for flag in $(EXTRA_HOST_FLAGS) ; do \
16603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16604 done; \
16605 echo "Doing html in intl" ; \
16606 (cd $(HOST_SUBDIR)/intl && \
16607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16609 "RANLIB=$${RANLIB}" \
16610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16611 html) \
16612 || exit 1
16614 @endif intl
16616 .PHONY: maybe-TAGS-intl TAGS-intl
16617 maybe-TAGS-intl:
16618 @if intl
16619 maybe-TAGS-intl: TAGS-intl
16621 TAGS-intl: \
16622 configure-intl
16623 @[ -f ./intl/Makefile ] || exit 0; \
16624 r=`${PWD_COMMAND}`; export r; \
16625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16626 $(HOST_EXPORTS) \
16627 for flag in $(EXTRA_HOST_FLAGS) ; do \
16628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16629 done; \
16630 echo "Doing TAGS in intl" ; \
16631 (cd $(HOST_SUBDIR)/intl && \
16632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16634 "RANLIB=$${RANLIB}" \
16635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16636 TAGS) \
16637 || exit 1
16639 @endif intl
16641 .PHONY: maybe-install-info-intl install-info-intl
16642 maybe-install-info-intl:
16643 @if intl
16644 maybe-install-info-intl: install-info-intl
16646 install-info-intl: \
16647 configure-intl \
16648 info-intl
16649 @[ -f ./intl/Makefile ] || exit 0; \
16650 r=`${PWD_COMMAND}`; export r; \
16651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16652 $(HOST_EXPORTS) \
16653 for flag in $(EXTRA_HOST_FLAGS) ; do \
16654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16655 done; \
16656 echo "Doing install-info in intl" ; \
16657 (cd $(HOST_SUBDIR)/intl && \
16658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16660 "RANLIB=$${RANLIB}" \
16661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16662 install-info) \
16663 || exit 1
16665 @endif intl
16667 .PHONY: maybe-install-html-intl install-html-intl
16668 maybe-install-html-intl:
16669 @if intl
16670 maybe-install-html-intl: install-html-intl
16672 install-html-intl: \
16673 configure-intl \
16674 html-intl
16675 @[ -f ./intl/Makefile ] || exit 0; \
16676 r=`${PWD_COMMAND}`; export r; \
16677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16678 $(HOST_EXPORTS) \
16679 for flag in $(EXTRA_HOST_FLAGS) ; do \
16680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16681 done; \
16682 echo "Doing install-html in intl" ; \
16683 (cd $(HOST_SUBDIR)/intl && \
16684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16686 "RANLIB=$${RANLIB}" \
16687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16688 install-html) \
16689 || exit 1
16691 @endif intl
16693 .PHONY: maybe-installcheck-intl installcheck-intl
16694 maybe-installcheck-intl:
16695 @if intl
16696 maybe-installcheck-intl: installcheck-intl
16698 installcheck-intl: \
16699 configure-intl
16700 @[ -f ./intl/Makefile ] || exit 0; \
16701 r=`${PWD_COMMAND}`; export r; \
16702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16703 $(HOST_EXPORTS) \
16704 for flag in $(EXTRA_HOST_FLAGS) ; do \
16705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16706 done; \
16707 echo "Doing installcheck in intl" ; \
16708 (cd $(HOST_SUBDIR)/intl && \
16709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16711 "RANLIB=$${RANLIB}" \
16712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16713 installcheck) \
16714 || exit 1
16716 @endif intl
16718 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
16719 maybe-mostlyclean-intl:
16720 @if intl
16721 maybe-mostlyclean-intl: mostlyclean-intl
16723 mostlyclean-intl:
16724 @[ -f ./intl/Makefile ] || exit 0; \
16725 r=`${PWD_COMMAND}`; export r; \
16726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16727 $(HOST_EXPORTS) \
16728 for flag in $(EXTRA_HOST_FLAGS) ; do \
16729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16730 done; \
16731 echo "Doing mostlyclean in intl" ; \
16732 (cd $(HOST_SUBDIR)/intl && \
16733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16735 "RANLIB=$${RANLIB}" \
16736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16737 mostlyclean) \
16738 || exit 1
16740 @endif intl
16742 .PHONY: maybe-clean-intl clean-intl
16743 maybe-clean-intl:
16744 @if intl
16745 maybe-clean-intl: clean-intl
16747 clean-intl:
16748 @[ -f ./intl/Makefile ] || exit 0; \
16749 r=`${PWD_COMMAND}`; export r; \
16750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16751 $(HOST_EXPORTS) \
16752 for flag in $(EXTRA_HOST_FLAGS) ; do \
16753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16754 done; \
16755 echo "Doing clean in intl" ; \
16756 (cd $(HOST_SUBDIR)/intl && \
16757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16759 "RANLIB=$${RANLIB}" \
16760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16761 clean) \
16762 || exit 1
16764 @endif intl
16766 .PHONY: maybe-distclean-intl distclean-intl
16767 maybe-distclean-intl:
16768 @if intl
16769 maybe-distclean-intl: distclean-intl
16771 distclean-intl:
16772 @[ -f ./intl/Makefile ] || exit 0; \
16773 r=`${PWD_COMMAND}`; export r; \
16774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16775 $(HOST_EXPORTS) \
16776 for flag in $(EXTRA_HOST_FLAGS) ; do \
16777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16778 done; \
16779 echo "Doing distclean in intl" ; \
16780 (cd $(HOST_SUBDIR)/intl && \
16781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16783 "RANLIB=$${RANLIB}" \
16784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16785 distclean) \
16786 || exit 1
16788 @endif intl
16790 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
16791 maybe-maintainer-clean-intl:
16792 @if intl
16793 maybe-maintainer-clean-intl: maintainer-clean-intl
16795 maintainer-clean-intl:
16796 @[ -f ./intl/Makefile ] || exit 0; \
16797 r=`${PWD_COMMAND}`; export r; \
16798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16799 $(HOST_EXPORTS) \
16800 for flag in $(EXTRA_HOST_FLAGS) ; do \
16801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16802 done; \
16803 echo "Doing maintainer-clean in intl" ; \
16804 (cd $(HOST_SUBDIR)/intl && \
16805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16807 "RANLIB=$${RANLIB}" \
16808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16809 maintainer-clean) \
16810 || exit 1
16812 @endif intl
16816 .PHONY: configure-tcl maybe-configure-tcl
16817 maybe-configure-tcl:
16818 @if gcc-bootstrap
16819 configure-tcl: stage_current
16820 @endif gcc-bootstrap
16821 @if tcl
16822 maybe-configure-tcl: configure-tcl
16823 configure-tcl:
16824 @: $(MAKE); $(unstage)
16825 @r=`${PWD_COMMAND}`; export r; \
16826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16827 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
16828 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
16829 $(HOST_EXPORTS) \
16830 echo Configuring in $(HOST_SUBDIR)/tcl; \
16831 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
16832 case $(srcdir) in \
16833 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16834 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
16835 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16836 esac; \
16837 srcdiroption="--srcdir=$${topdir}/tcl"; \
16838 libsrcdir="$$s/tcl"; \
16839 $(SHELL) $${libsrcdir}/configure \
16840 $(HOST_CONFIGARGS) $${srcdiroption} \
16841 || exit 1
16842 @endif tcl
16848 .PHONY: all-tcl maybe-all-tcl
16849 maybe-all-tcl:
16850 @if gcc-bootstrap
16851 all-tcl: stage_current
16852 @endif gcc-bootstrap
16853 @if tcl
16854 TARGET-tcl=all
16855 maybe-all-tcl: all-tcl
16856 all-tcl: configure-tcl
16857 @: $(MAKE); $(unstage)
16858 @r=`${PWD_COMMAND}`; export r; \
16859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16860 $(HOST_EXPORTS) \
16861 (cd $(HOST_SUBDIR)/tcl && \
16862 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
16863 @endif tcl
16868 .PHONY: check-tcl maybe-check-tcl
16869 maybe-check-tcl:
16870 @if tcl
16871 maybe-check-tcl: check-tcl
16873 check-tcl:
16874 @: $(MAKE); $(unstage)
16875 @r=`${PWD_COMMAND}`; export r; \
16876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16877 $(HOST_EXPORTS) \
16878 (cd $(HOST_SUBDIR)/tcl && \
16879 $(MAKE) $(FLAGS_TO_PASS) check)
16881 @endif tcl
16883 .PHONY: install-tcl maybe-install-tcl
16884 maybe-install-tcl:
16885 @if tcl
16886 maybe-install-tcl: install-tcl
16888 install-tcl: installdirs
16889 @: $(MAKE); $(unstage)
16890 @r=`${PWD_COMMAND}`; export r; \
16891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16892 $(HOST_EXPORTS) \
16893 (cd $(HOST_SUBDIR)/tcl && \
16894 $(MAKE) $(FLAGS_TO_PASS) install)
16896 @endif tcl
16898 # Other targets (info, dvi, pdf, etc.)
16900 .PHONY: maybe-info-tcl info-tcl
16901 maybe-info-tcl:
16902 @if tcl
16903 maybe-info-tcl: info-tcl
16905 info-tcl: \
16906 configure-tcl
16907 @: $(MAKE); $(unstage)
16908 @[ -f ./tcl/Makefile ] || exit 0; \
16909 r=`${PWD_COMMAND}`; export r; \
16910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16911 $(HOST_EXPORTS) \
16912 for flag in $(EXTRA_HOST_FLAGS) ; do \
16913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16914 done; \
16915 echo "Doing info in tcl" ; \
16916 (cd $(HOST_SUBDIR)/tcl && \
16917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16919 "RANLIB=$${RANLIB}" \
16920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16921 info) \
16922 || exit 1
16924 @endif tcl
16926 .PHONY: maybe-dvi-tcl dvi-tcl
16927 maybe-dvi-tcl:
16928 @if tcl
16929 maybe-dvi-tcl: dvi-tcl
16931 dvi-tcl: \
16932 configure-tcl
16933 @: $(MAKE); $(unstage)
16934 @[ -f ./tcl/Makefile ] || exit 0; \
16935 r=`${PWD_COMMAND}`; export r; \
16936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16937 $(HOST_EXPORTS) \
16938 for flag in $(EXTRA_HOST_FLAGS) ; do \
16939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16940 done; \
16941 echo "Doing dvi in tcl" ; \
16942 (cd $(HOST_SUBDIR)/tcl && \
16943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16945 "RANLIB=$${RANLIB}" \
16946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16947 dvi) \
16948 || exit 1
16950 @endif tcl
16952 .PHONY: maybe-pdf-tcl pdf-tcl
16953 maybe-pdf-tcl:
16954 @if tcl
16955 maybe-pdf-tcl: pdf-tcl
16957 pdf-tcl: \
16958 configure-tcl
16959 @: $(MAKE); $(unstage)
16960 @[ -f ./tcl/Makefile ] || exit 0; \
16961 r=`${PWD_COMMAND}`; export r; \
16962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16963 $(HOST_EXPORTS) \
16964 for flag in $(EXTRA_HOST_FLAGS) ; do \
16965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16966 done; \
16967 echo "Doing pdf in tcl" ; \
16968 (cd $(HOST_SUBDIR)/tcl && \
16969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16971 "RANLIB=$${RANLIB}" \
16972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16973 pdf) \
16974 || exit 1
16976 @endif tcl
16978 .PHONY: maybe-html-tcl html-tcl
16979 maybe-html-tcl:
16980 @if tcl
16981 maybe-html-tcl: html-tcl
16983 html-tcl: \
16984 configure-tcl
16985 @: $(MAKE); $(unstage)
16986 @[ -f ./tcl/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 tcl" ; \
16994 (cd $(HOST_SUBDIR)/tcl && \
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 tcl
17004 .PHONY: maybe-TAGS-tcl TAGS-tcl
17005 maybe-TAGS-tcl:
17006 @if tcl
17007 maybe-TAGS-tcl: TAGS-tcl
17009 TAGS-tcl: \
17010 configure-tcl
17011 @: $(MAKE); $(unstage)
17012 @[ -f ./tcl/Makefile ] || exit 0; \
17013 r=`${PWD_COMMAND}`; export r; \
17014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17015 $(HOST_EXPORTS) \
17016 for flag in $(EXTRA_HOST_FLAGS) ; do \
17017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17018 done; \
17019 echo "Doing TAGS in tcl" ; \
17020 (cd $(HOST_SUBDIR)/tcl && \
17021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17023 "RANLIB=$${RANLIB}" \
17024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17025 TAGS) \
17026 || exit 1
17028 @endif tcl
17030 .PHONY: maybe-install-info-tcl install-info-tcl
17031 maybe-install-info-tcl:
17032 @if tcl
17033 maybe-install-info-tcl: install-info-tcl
17035 install-info-tcl: \
17036 configure-tcl \
17037 info-tcl
17038 @: $(MAKE); $(unstage)
17039 @[ -f ./tcl/Makefile ] || exit 0; \
17040 r=`${PWD_COMMAND}`; export r; \
17041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17042 $(HOST_EXPORTS) \
17043 for flag in $(EXTRA_HOST_FLAGS) ; do \
17044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17045 done; \
17046 echo "Doing install-info in tcl" ; \
17047 (cd $(HOST_SUBDIR)/tcl && \
17048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17050 "RANLIB=$${RANLIB}" \
17051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17052 install-info) \
17053 || exit 1
17055 @endif tcl
17057 .PHONY: maybe-install-html-tcl install-html-tcl
17058 maybe-install-html-tcl:
17059 @if tcl
17060 maybe-install-html-tcl: install-html-tcl
17062 install-html-tcl: \
17063 configure-tcl \
17064 html-tcl
17065 @: $(MAKE); $(unstage)
17066 @[ -f ./tcl/Makefile ] || exit 0; \
17067 r=`${PWD_COMMAND}`; export r; \
17068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17069 $(HOST_EXPORTS) \
17070 for flag in $(EXTRA_HOST_FLAGS) ; do \
17071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17072 done; \
17073 echo "Doing install-html in tcl" ; \
17074 (cd $(HOST_SUBDIR)/tcl && \
17075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17077 "RANLIB=$${RANLIB}" \
17078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17079 install-html) \
17080 || exit 1
17082 @endif tcl
17084 .PHONY: maybe-installcheck-tcl installcheck-tcl
17085 maybe-installcheck-tcl:
17086 @if tcl
17087 maybe-installcheck-tcl: installcheck-tcl
17089 installcheck-tcl: \
17090 configure-tcl
17091 @: $(MAKE); $(unstage)
17092 @[ -f ./tcl/Makefile ] || exit 0; \
17093 r=`${PWD_COMMAND}`; export r; \
17094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17095 $(HOST_EXPORTS) \
17096 for flag in $(EXTRA_HOST_FLAGS) ; do \
17097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17098 done; \
17099 echo "Doing installcheck in tcl" ; \
17100 (cd $(HOST_SUBDIR)/tcl && \
17101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17103 "RANLIB=$${RANLIB}" \
17104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17105 installcheck) \
17106 || exit 1
17108 @endif tcl
17110 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
17111 maybe-mostlyclean-tcl:
17112 @if tcl
17113 maybe-mostlyclean-tcl: mostlyclean-tcl
17115 # tcl doesn't support mostlyclean.
17116 mostlyclean-tcl:
17118 @endif tcl
17120 .PHONY: maybe-clean-tcl clean-tcl
17121 maybe-clean-tcl:
17122 @if tcl
17123 maybe-clean-tcl: clean-tcl
17125 clean-tcl:
17126 @: $(MAKE); $(unstage)
17127 @[ -f ./tcl/Makefile ] || exit 0; \
17128 r=`${PWD_COMMAND}`; export r; \
17129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17130 $(HOST_EXPORTS) \
17131 for flag in $(EXTRA_HOST_FLAGS) ; do \
17132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17133 done; \
17134 echo "Doing clean in tcl" ; \
17135 (cd $(HOST_SUBDIR)/tcl && \
17136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17138 "RANLIB=$${RANLIB}" \
17139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17140 clean) \
17141 || exit 1
17143 @endif tcl
17145 .PHONY: maybe-distclean-tcl distclean-tcl
17146 maybe-distclean-tcl:
17147 @if tcl
17148 maybe-distclean-tcl: distclean-tcl
17150 distclean-tcl:
17151 @: $(MAKE); $(unstage)
17152 @[ -f ./tcl/Makefile ] || exit 0; \
17153 r=`${PWD_COMMAND}`; export r; \
17154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17155 $(HOST_EXPORTS) \
17156 for flag in $(EXTRA_HOST_FLAGS) ; do \
17157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17158 done; \
17159 echo "Doing distclean in tcl" ; \
17160 (cd $(HOST_SUBDIR)/tcl && \
17161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17163 "RANLIB=$${RANLIB}" \
17164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17165 distclean) \
17166 || exit 1
17168 @endif tcl
17170 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
17171 maybe-maintainer-clean-tcl:
17172 @if tcl
17173 maybe-maintainer-clean-tcl: maintainer-clean-tcl
17175 maintainer-clean-tcl:
17176 @: $(MAKE); $(unstage)
17177 @[ -f ./tcl/Makefile ] || exit 0; \
17178 r=`${PWD_COMMAND}`; export r; \
17179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17180 $(HOST_EXPORTS) \
17181 for flag in $(EXTRA_HOST_FLAGS) ; do \
17182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17183 done; \
17184 echo "Doing maintainer-clean in tcl" ; \
17185 (cd $(HOST_SUBDIR)/tcl && \
17186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17188 "RANLIB=$${RANLIB}" \
17189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17190 maintainer-clean) \
17191 || exit 1
17193 @endif tcl
17197 .PHONY: configure-itcl maybe-configure-itcl
17198 maybe-configure-itcl:
17199 @if gcc-bootstrap
17200 configure-itcl: stage_current
17201 @endif gcc-bootstrap
17202 @if itcl
17203 maybe-configure-itcl: configure-itcl
17204 configure-itcl:
17205 @: $(MAKE); $(unstage)
17206 @r=`${PWD_COMMAND}`; export r; \
17207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17208 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
17209 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
17210 $(HOST_EXPORTS) \
17211 echo Configuring in $(HOST_SUBDIR)/itcl; \
17212 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
17213 case $(srcdir) in \
17214 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17215 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
17216 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17217 esac; \
17218 srcdiroption="--srcdir=$${topdir}/itcl"; \
17219 libsrcdir="$$s/itcl"; \
17220 $(SHELL) $${libsrcdir}/configure \
17221 $(HOST_CONFIGARGS) $${srcdiroption} \
17222 || exit 1
17223 @endif itcl
17229 .PHONY: all-itcl maybe-all-itcl
17230 maybe-all-itcl:
17231 @if gcc-bootstrap
17232 all-itcl: stage_current
17233 @endif gcc-bootstrap
17234 @if itcl
17235 TARGET-itcl=all
17236 maybe-all-itcl: all-itcl
17237 all-itcl: configure-itcl
17238 @: $(MAKE); $(unstage)
17239 @r=`${PWD_COMMAND}`; export r; \
17240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17241 $(HOST_EXPORTS) \
17242 (cd $(HOST_SUBDIR)/itcl && \
17243 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
17244 @endif itcl
17249 .PHONY: check-itcl maybe-check-itcl
17250 maybe-check-itcl:
17251 @if itcl
17252 maybe-check-itcl: check-itcl
17254 check-itcl:
17255 @: $(MAKE); $(unstage)
17256 @r=`${PWD_COMMAND}`; export r; \
17257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17258 $(HOST_EXPORTS) \
17259 (cd $(HOST_SUBDIR)/itcl && \
17260 $(MAKE) $(FLAGS_TO_PASS) check)
17262 @endif itcl
17264 .PHONY: install-itcl maybe-install-itcl
17265 maybe-install-itcl:
17266 @if itcl
17267 maybe-install-itcl: install-itcl
17269 install-itcl: installdirs
17270 @: $(MAKE); $(unstage)
17271 @r=`${PWD_COMMAND}`; export r; \
17272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17273 $(HOST_EXPORTS) \
17274 (cd $(HOST_SUBDIR)/itcl && \
17275 $(MAKE) $(FLAGS_TO_PASS) install)
17277 @endif itcl
17279 # Other targets (info, dvi, pdf, etc.)
17281 .PHONY: maybe-info-itcl info-itcl
17282 maybe-info-itcl:
17283 @if itcl
17284 maybe-info-itcl: info-itcl
17286 info-itcl: \
17287 configure-itcl
17288 @: $(MAKE); $(unstage)
17289 @[ -f ./itcl/Makefile ] || exit 0; \
17290 r=`${PWD_COMMAND}`; export r; \
17291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17292 $(HOST_EXPORTS) \
17293 for flag in $(EXTRA_HOST_FLAGS) ; do \
17294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17295 done; \
17296 echo "Doing info in itcl" ; \
17297 (cd $(HOST_SUBDIR)/itcl && \
17298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17300 "RANLIB=$${RANLIB}" \
17301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17302 info) \
17303 || exit 1
17305 @endif itcl
17307 .PHONY: maybe-dvi-itcl dvi-itcl
17308 maybe-dvi-itcl:
17309 @if itcl
17310 maybe-dvi-itcl: dvi-itcl
17312 dvi-itcl: \
17313 configure-itcl
17314 @: $(MAKE); $(unstage)
17315 @[ -f ./itcl/Makefile ] || exit 0; \
17316 r=`${PWD_COMMAND}`; export r; \
17317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17318 $(HOST_EXPORTS) \
17319 for flag in $(EXTRA_HOST_FLAGS) ; do \
17320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17321 done; \
17322 echo "Doing dvi in itcl" ; \
17323 (cd $(HOST_SUBDIR)/itcl && \
17324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17326 "RANLIB=$${RANLIB}" \
17327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17328 dvi) \
17329 || exit 1
17331 @endif itcl
17333 .PHONY: maybe-pdf-itcl pdf-itcl
17334 maybe-pdf-itcl:
17335 @if itcl
17336 maybe-pdf-itcl: pdf-itcl
17338 pdf-itcl: \
17339 configure-itcl
17340 @: $(MAKE); $(unstage)
17341 @[ -f ./itcl/Makefile ] || exit 0; \
17342 r=`${PWD_COMMAND}`; export r; \
17343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17344 $(HOST_EXPORTS) \
17345 for flag in $(EXTRA_HOST_FLAGS) ; do \
17346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17347 done; \
17348 echo "Doing pdf in itcl" ; \
17349 (cd $(HOST_SUBDIR)/itcl && \
17350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17352 "RANLIB=$${RANLIB}" \
17353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17354 pdf) \
17355 || exit 1
17357 @endif itcl
17359 .PHONY: maybe-html-itcl html-itcl
17360 maybe-html-itcl:
17361 @if itcl
17362 maybe-html-itcl: html-itcl
17364 html-itcl: \
17365 configure-itcl
17366 @: $(MAKE); $(unstage)
17367 @[ -f ./itcl/Makefile ] || exit 0; \
17368 r=`${PWD_COMMAND}`; export r; \
17369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17370 $(HOST_EXPORTS) \
17371 for flag in $(EXTRA_HOST_FLAGS) ; do \
17372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17373 done; \
17374 echo "Doing html in itcl" ; \
17375 (cd $(HOST_SUBDIR)/itcl && \
17376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17378 "RANLIB=$${RANLIB}" \
17379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17380 html) \
17381 || exit 1
17383 @endif itcl
17385 .PHONY: maybe-TAGS-itcl TAGS-itcl
17386 maybe-TAGS-itcl:
17387 @if itcl
17388 maybe-TAGS-itcl: TAGS-itcl
17390 TAGS-itcl: \
17391 configure-itcl
17392 @: $(MAKE); $(unstage)
17393 @[ -f ./itcl/Makefile ] || exit 0; \
17394 r=`${PWD_COMMAND}`; export r; \
17395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17396 $(HOST_EXPORTS) \
17397 for flag in $(EXTRA_HOST_FLAGS) ; do \
17398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17399 done; \
17400 echo "Doing TAGS in itcl" ; \
17401 (cd $(HOST_SUBDIR)/itcl && \
17402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17404 "RANLIB=$${RANLIB}" \
17405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17406 TAGS) \
17407 || exit 1
17409 @endif itcl
17411 .PHONY: maybe-install-info-itcl install-info-itcl
17412 maybe-install-info-itcl:
17413 @if itcl
17414 maybe-install-info-itcl: install-info-itcl
17416 install-info-itcl: \
17417 configure-itcl \
17418 info-itcl
17419 @: $(MAKE); $(unstage)
17420 @[ -f ./itcl/Makefile ] || exit 0; \
17421 r=`${PWD_COMMAND}`; export r; \
17422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17423 $(HOST_EXPORTS) \
17424 for flag in $(EXTRA_HOST_FLAGS) ; do \
17425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17426 done; \
17427 echo "Doing install-info in itcl" ; \
17428 (cd $(HOST_SUBDIR)/itcl && \
17429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17431 "RANLIB=$${RANLIB}" \
17432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17433 install-info) \
17434 || exit 1
17436 @endif itcl
17438 .PHONY: maybe-install-html-itcl install-html-itcl
17439 maybe-install-html-itcl:
17440 @if itcl
17441 maybe-install-html-itcl: install-html-itcl
17443 install-html-itcl: \
17444 configure-itcl \
17445 html-itcl
17446 @: $(MAKE); $(unstage)
17447 @[ -f ./itcl/Makefile ] || exit 0; \
17448 r=`${PWD_COMMAND}`; export r; \
17449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17450 $(HOST_EXPORTS) \
17451 for flag in $(EXTRA_HOST_FLAGS) ; do \
17452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17453 done; \
17454 echo "Doing install-html in itcl" ; \
17455 (cd $(HOST_SUBDIR)/itcl && \
17456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17458 "RANLIB=$${RANLIB}" \
17459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17460 install-html) \
17461 || exit 1
17463 @endif itcl
17465 .PHONY: maybe-installcheck-itcl installcheck-itcl
17466 maybe-installcheck-itcl:
17467 @if itcl
17468 maybe-installcheck-itcl: installcheck-itcl
17470 installcheck-itcl: \
17471 configure-itcl
17472 @: $(MAKE); $(unstage)
17473 @[ -f ./itcl/Makefile ] || exit 0; \
17474 r=`${PWD_COMMAND}`; export r; \
17475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17476 $(HOST_EXPORTS) \
17477 for flag in $(EXTRA_HOST_FLAGS) ; do \
17478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17479 done; \
17480 echo "Doing installcheck in itcl" ; \
17481 (cd $(HOST_SUBDIR)/itcl && \
17482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17484 "RANLIB=$${RANLIB}" \
17485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17486 installcheck) \
17487 || exit 1
17489 @endif itcl
17491 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
17492 maybe-mostlyclean-itcl:
17493 @if itcl
17494 maybe-mostlyclean-itcl: mostlyclean-itcl
17496 mostlyclean-itcl:
17497 @: $(MAKE); $(unstage)
17498 @[ -f ./itcl/Makefile ] || exit 0; \
17499 r=`${PWD_COMMAND}`; export r; \
17500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17501 $(HOST_EXPORTS) \
17502 for flag in $(EXTRA_HOST_FLAGS) ; do \
17503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17504 done; \
17505 echo "Doing mostlyclean in itcl" ; \
17506 (cd $(HOST_SUBDIR)/itcl && \
17507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17509 "RANLIB=$${RANLIB}" \
17510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17511 mostlyclean) \
17512 || exit 1
17514 @endif itcl
17516 .PHONY: maybe-clean-itcl clean-itcl
17517 maybe-clean-itcl:
17518 @if itcl
17519 maybe-clean-itcl: clean-itcl
17521 clean-itcl:
17522 @: $(MAKE); $(unstage)
17523 @[ -f ./itcl/Makefile ] || exit 0; \
17524 r=`${PWD_COMMAND}`; export r; \
17525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17526 $(HOST_EXPORTS) \
17527 for flag in $(EXTRA_HOST_FLAGS) ; do \
17528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17529 done; \
17530 echo "Doing clean in itcl" ; \
17531 (cd $(HOST_SUBDIR)/itcl && \
17532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17534 "RANLIB=$${RANLIB}" \
17535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17536 clean) \
17537 || exit 1
17539 @endif itcl
17541 .PHONY: maybe-distclean-itcl distclean-itcl
17542 maybe-distclean-itcl:
17543 @if itcl
17544 maybe-distclean-itcl: distclean-itcl
17546 distclean-itcl:
17547 @: $(MAKE); $(unstage)
17548 @[ -f ./itcl/Makefile ] || exit 0; \
17549 r=`${PWD_COMMAND}`; export r; \
17550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17551 $(HOST_EXPORTS) \
17552 for flag in $(EXTRA_HOST_FLAGS) ; do \
17553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17554 done; \
17555 echo "Doing distclean in itcl" ; \
17556 (cd $(HOST_SUBDIR)/itcl && \
17557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17559 "RANLIB=$${RANLIB}" \
17560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17561 distclean) \
17562 || exit 1
17564 @endif itcl
17566 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
17567 maybe-maintainer-clean-itcl:
17568 @if itcl
17569 maybe-maintainer-clean-itcl: maintainer-clean-itcl
17571 maintainer-clean-itcl:
17572 @: $(MAKE); $(unstage)
17573 @[ -f ./itcl/Makefile ] || exit 0; \
17574 r=`${PWD_COMMAND}`; export r; \
17575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17576 $(HOST_EXPORTS) \
17577 for flag in $(EXTRA_HOST_FLAGS) ; do \
17578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17579 done; \
17580 echo "Doing maintainer-clean in itcl" ; \
17581 (cd $(HOST_SUBDIR)/itcl && \
17582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17584 "RANLIB=$${RANLIB}" \
17585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17586 maintainer-clean) \
17587 || exit 1
17589 @endif itcl
17593 .PHONY: configure-ld maybe-configure-ld
17594 maybe-configure-ld:
17595 @if gcc-bootstrap
17596 configure-ld: stage_current
17597 @endif gcc-bootstrap
17598 @if ld
17599 maybe-configure-ld: configure-ld
17600 configure-ld:
17601 @r=`${PWD_COMMAND}`; export r; \
17602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17603 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17604 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17605 $(HOST_EXPORTS) \
17606 echo Configuring in $(HOST_SUBDIR)/ld; \
17607 cd "$(HOST_SUBDIR)/ld" || exit 1; \
17608 case $(srcdir) in \
17609 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17610 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17611 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17612 esac; \
17613 srcdiroption="--srcdir=$${topdir}/ld"; \
17614 libsrcdir="$$s/ld"; \
17615 $(SHELL) $${libsrcdir}/configure \
17616 $(HOST_CONFIGARGS) $${srcdiroption} \
17617 || exit 1
17618 @endif ld
17622 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
17623 maybe-configure-stage1-ld:
17624 @if ld-bootstrap
17625 maybe-configure-stage1-ld: configure-stage1-ld
17626 configure-stage1-ld:
17627 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17628 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17629 @r=`${PWD_COMMAND}`; export r; \
17630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17631 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17632 $(HOST_EXPORTS) \
17633 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
17634 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17635 cd $(HOST_SUBDIR)/ld || exit 1; \
17636 case $(srcdir) in \
17637 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17638 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17639 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17640 esac; \
17641 srcdiroption="--srcdir=$${topdir}/ld"; \
17642 libsrcdir="$$s/ld"; \
17643 $(SHELL) $${libsrcdir}/configure \
17644 $(HOST_CONFIGARGS) $${srcdiroption} \
17646 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17647 @endif ld-bootstrap
17649 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
17650 maybe-configure-stage2-ld:
17651 @if ld-bootstrap
17652 maybe-configure-stage2-ld: configure-stage2-ld
17653 configure-stage2-ld:
17654 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17655 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17656 @r=`${PWD_COMMAND}`; export r; \
17657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17658 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17659 $(HOST_EXPORTS) \
17660 $(POSTSTAGE1_HOST_EXPORTS) \
17661 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
17662 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17663 cd $(HOST_SUBDIR)/ld || exit 1; \
17664 case $(srcdir) in \
17665 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17666 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17667 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17668 esac; \
17669 srcdiroption="--srcdir=$${topdir}/ld"; \
17670 libsrcdir="$$s/ld"; \
17671 $(SHELL) $${libsrcdir}/configure \
17672 $(HOST_CONFIGARGS) $${srcdiroption} \
17673 --with-build-libsubdir=$(HOST_SUBDIR) \
17674 @stage2_werror_flag@
17675 @endif ld-bootstrap
17677 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
17678 maybe-configure-stage3-ld:
17679 @if ld-bootstrap
17680 maybe-configure-stage3-ld: configure-stage3-ld
17681 configure-stage3-ld:
17682 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17683 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17684 @r=`${PWD_COMMAND}`; export r; \
17685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17686 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17687 $(HOST_EXPORTS) \
17688 $(POSTSTAGE1_HOST_EXPORTS) \
17689 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
17690 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17691 cd $(HOST_SUBDIR)/ld || exit 1; \
17692 case $(srcdir) in \
17693 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17694 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17695 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17696 esac; \
17697 srcdiroption="--srcdir=$${topdir}/ld"; \
17698 libsrcdir="$$s/ld"; \
17699 $(SHELL) $${libsrcdir}/configure \
17700 $(HOST_CONFIGARGS) $${srcdiroption} \
17701 --with-build-libsubdir=$(HOST_SUBDIR) \
17702 @stage2_werror_flag@
17703 @endif ld-bootstrap
17705 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
17706 maybe-configure-stage4-ld:
17707 @if ld-bootstrap
17708 maybe-configure-stage4-ld: configure-stage4-ld
17709 configure-stage4-ld:
17710 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17711 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17712 @r=`${PWD_COMMAND}`; export r; \
17713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17714 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17715 $(HOST_EXPORTS) \
17716 $(POSTSTAGE1_HOST_EXPORTS) \
17717 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
17718 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17719 cd $(HOST_SUBDIR)/ld || exit 1; \
17720 case $(srcdir) in \
17721 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17722 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17723 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17724 esac; \
17725 srcdiroption="--srcdir=$${topdir}/ld"; \
17726 libsrcdir="$$s/ld"; \
17727 $(SHELL) $${libsrcdir}/configure \
17728 $(HOST_CONFIGARGS) $${srcdiroption} \
17729 --with-build-libsubdir=$(HOST_SUBDIR) \
17730 @stage2_werror_flag@
17731 @endif ld-bootstrap
17733 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
17734 maybe-configure-stageprofile-ld:
17735 @if ld-bootstrap
17736 maybe-configure-stageprofile-ld: configure-stageprofile-ld
17737 configure-stageprofile-ld:
17738 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17739 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17740 @r=`${PWD_COMMAND}`; export r; \
17741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17742 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17743 $(HOST_EXPORTS) \
17744 $(POSTSTAGE1_HOST_EXPORTS) \
17745 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
17746 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17747 cd $(HOST_SUBDIR)/ld || exit 1; \
17748 case $(srcdir) in \
17749 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17750 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17751 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17752 esac; \
17753 srcdiroption="--srcdir=$${topdir}/ld"; \
17754 libsrcdir="$$s/ld"; \
17755 $(SHELL) $${libsrcdir}/configure \
17756 $(HOST_CONFIGARGS) $${srcdiroption} \
17757 --with-build-libsubdir=$(HOST_SUBDIR) \
17758 @stage2_werror_flag@
17759 @endif ld-bootstrap
17761 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
17762 maybe-configure-stagefeedback-ld:
17763 @if ld-bootstrap
17764 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
17765 configure-stagefeedback-ld:
17766 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17767 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
17768 @r=`${PWD_COMMAND}`; export r; \
17769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17770 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
17771 $(HOST_EXPORTS) \
17772 $(POSTSTAGE1_HOST_EXPORTS) \
17773 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
17774 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
17775 cd $(HOST_SUBDIR)/ld || exit 1; \
17776 case $(srcdir) in \
17777 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17778 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
17779 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17780 esac; \
17781 srcdiroption="--srcdir=$${topdir}/ld"; \
17782 libsrcdir="$$s/ld"; \
17783 $(SHELL) $${libsrcdir}/configure \
17784 $(HOST_CONFIGARGS) $${srcdiroption} \
17785 --with-build-libsubdir=$(HOST_SUBDIR) \
17786 @stage2_werror_flag@
17787 @endif ld-bootstrap
17793 .PHONY: all-ld maybe-all-ld
17794 maybe-all-ld:
17795 @if gcc-bootstrap
17796 all-ld: stage_current
17797 @endif gcc-bootstrap
17798 @if ld
17799 TARGET-ld=all
17800 maybe-all-ld: all-ld
17801 all-ld: configure-ld
17802 @r=`${PWD_COMMAND}`; export r; \
17803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17804 $(HOST_EXPORTS) \
17805 (cd $(HOST_SUBDIR)/ld && \
17806 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
17807 @endif ld
17811 .PHONY: all-stage1-ld maybe-all-stage1-ld
17812 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
17813 maybe-all-stage1-ld:
17814 maybe-clean-stage1-ld:
17815 @if ld-bootstrap
17816 maybe-all-stage1-ld: all-stage1-ld
17817 all-stage1: all-stage1-ld
17818 TARGET-stage1-ld = $(TARGET-ld)
17819 all-stage1-ld: configure-stage1-ld
17820 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17821 @r=`${PWD_COMMAND}`; export r; \
17822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17823 $(HOST_EXPORTS) \
17824 cd $(HOST_SUBDIR)/ld && \
17825 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
17826 $(TARGET-stage1-ld)
17828 maybe-clean-stage1-ld: clean-stage1-ld
17829 clean-stage1: clean-stage1-ld
17830 clean-stage1-ld:
17831 @if [ $(current_stage) = stage1 ]; then \
17832 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17833 else \
17834 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
17835 $(MAKE) stage1-start; \
17836 fi; \
17837 cd $(HOST_SUBDIR)/ld && \
17838 $(MAKE) $(FLAGS_TO_PASS) \
17839 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
17840 @endif ld-bootstrap
17843 .PHONY: all-stage2-ld maybe-all-stage2-ld
17844 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
17845 maybe-all-stage2-ld:
17846 maybe-clean-stage2-ld:
17847 @if ld-bootstrap
17848 maybe-all-stage2-ld: all-stage2-ld
17849 all-stage2: all-stage2-ld
17850 TARGET-stage2-ld = $(TARGET-ld)
17851 all-stage2-ld: configure-stage2-ld
17852 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17853 @r=`${PWD_COMMAND}`; export r; \
17854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17855 $(HOST_EXPORTS) \
17856 $(POSTSTAGE1_HOST_EXPORTS) \
17857 cd $(HOST_SUBDIR)/ld && \
17858 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17859 $(TARGET-stage2-ld)
17861 maybe-clean-stage2-ld: clean-stage2-ld
17862 clean-stage2: clean-stage2-ld
17863 clean-stage2-ld:
17864 @if [ $(current_stage) = stage2 ]; then \
17865 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17866 else \
17867 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
17868 $(MAKE) stage2-start; \
17869 fi; \
17870 cd $(HOST_SUBDIR)/ld && \
17871 $(MAKE) $(FLAGS_TO_PASS) \
17872 $(POSTSTAGE1_FLAGS_TO_PASS) \
17873 clean
17874 @endif ld-bootstrap
17877 .PHONY: all-stage3-ld maybe-all-stage3-ld
17878 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
17879 maybe-all-stage3-ld:
17880 maybe-clean-stage3-ld:
17881 @if ld-bootstrap
17882 maybe-all-stage3-ld: all-stage3-ld
17883 all-stage3: all-stage3-ld
17884 TARGET-stage3-ld = $(TARGET-ld)
17885 all-stage3-ld: configure-stage3-ld
17886 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17887 @r=`${PWD_COMMAND}`; export r; \
17888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17889 $(HOST_EXPORTS) \
17890 $(POSTSTAGE1_HOST_EXPORTS) \
17891 cd $(HOST_SUBDIR)/ld && \
17892 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17893 $(TARGET-stage3-ld)
17895 maybe-clean-stage3-ld: clean-stage3-ld
17896 clean-stage3: clean-stage3-ld
17897 clean-stage3-ld:
17898 @if [ $(current_stage) = stage3 ]; then \
17899 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17900 else \
17901 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
17902 $(MAKE) stage3-start; \
17903 fi; \
17904 cd $(HOST_SUBDIR)/ld && \
17905 $(MAKE) $(FLAGS_TO_PASS) \
17906 $(POSTSTAGE1_FLAGS_TO_PASS) \
17907 clean
17908 @endif ld-bootstrap
17911 .PHONY: all-stage4-ld maybe-all-stage4-ld
17912 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
17913 maybe-all-stage4-ld:
17914 maybe-clean-stage4-ld:
17915 @if ld-bootstrap
17916 maybe-all-stage4-ld: all-stage4-ld
17917 all-stage4: all-stage4-ld
17918 TARGET-stage4-ld = $(TARGET-ld)
17919 all-stage4-ld: configure-stage4-ld
17920 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17921 @r=`${PWD_COMMAND}`; export r; \
17922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17923 $(HOST_EXPORTS) \
17924 $(POSTSTAGE1_HOST_EXPORTS) \
17925 cd $(HOST_SUBDIR)/ld && \
17926 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17927 $(TARGET-stage4-ld)
17929 maybe-clean-stage4-ld: clean-stage4-ld
17930 clean-stage4: clean-stage4-ld
17931 clean-stage4-ld:
17932 @if [ $(current_stage) = stage4 ]; then \
17933 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17934 else \
17935 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
17936 $(MAKE) stage4-start; \
17937 fi; \
17938 cd $(HOST_SUBDIR)/ld && \
17939 $(MAKE) $(FLAGS_TO_PASS) \
17940 $(POSTSTAGE1_FLAGS_TO_PASS) \
17941 clean
17942 @endif ld-bootstrap
17945 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
17946 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
17947 maybe-all-stageprofile-ld:
17948 maybe-clean-stageprofile-ld:
17949 @if ld-bootstrap
17950 maybe-all-stageprofile-ld: all-stageprofile-ld
17951 all-stageprofile: all-stageprofile-ld
17952 TARGET-stageprofile-ld = $(TARGET-ld)
17953 all-stageprofile-ld: configure-stageprofile-ld
17954 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17955 @r=`${PWD_COMMAND}`; export r; \
17956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17957 $(HOST_EXPORTS) \
17958 $(POSTSTAGE1_HOST_EXPORTS) \
17959 cd $(HOST_SUBDIR)/ld && \
17960 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
17961 $(TARGET-stageprofile-ld)
17963 maybe-clean-stageprofile-ld: clean-stageprofile-ld
17964 clean-stageprofile: clean-stageprofile-ld
17965 clean-stageprofile-ld:
17966 @if [ $(current_stage) = stageprofile ]; then \
17967 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
17968 else \
17969 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
17970 $(MAKE) stageprofile-start; \
17971 fi; \
17972 cd $(HOST_SUBDIR)/ld && \
17973 $(MAKE) $(FLAGS_TO_PASS) \
17974 $(POSTSTAGE1_FLAGS_TO_PASS) \
17975 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
17976 @endif ld-bootstrap
17979 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
17980 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
17981 maybe-all-stagefeedback-ld:
17982 maybe-clean-stagefeedback-ld:
17983 @if ld-bootstrap
17984 maybe-all-stagefeedback-ld: all-stagefeedback-ld
17985 all-stagefeedback: all-stagefeedback-ld
17986 TARGET-stagefeedback-ld = $(TARGET-ld)
17987 all-stagefeedback-ld: configure-stagefeedback-ld
17988 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17989 @r=`${PWD_COMMAND}`; export r; \
17990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17991 $(HOST_EXPORTS) \
17992 $(POSTSTAGE1_HOST_EXPORTS) \
17993 cd $(HOST_SUBDIR)/ld && \
17994 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
17995 $(TARGET-stagefeedback-ld)
17997 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
17998 clean-stagefeedback: clean-stagefeedback-ld
17999 clean-stagefeedback-ld:
18000 @if [ $(current_stage) = stagefeedback ]; then \
18001 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18002 else \
18003 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
18004 $(MAKE) stagefeedback-start; \
18005 fi; \
18006 cd $(HOST_SUBDIR)/ld && \
18007 $(MAKE) $(FLAGS_TO_PASS) \
18008 $(POSTSTAGE1_FLAGS_TO_PASS) \
18009 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
18010 @endif ld-bootstrap
18016 .PHONY: check-ld maybe-check-ld
18017 maybe-check-ld:
18018 @if ld
18019 maybe-check-ld: check-ld
18021 check-ld:
18022 @: $(MAKE); $(unstage)
18023 @r=`${PWD_COMMAND}`; export r; \
18024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18025 $(HOST_EXPORTS) \
18026 (cd $(HOST_SUBDIR)/ld && \
18027 $(MAKE) $(FLAGS_TO_PASS) check)
18029 @endif ld
18031 .PHONY: install-ld maybe-install-ld
18032 maybe-install-ld:
18033 @if ld
18034 maybe-install-ld: install-ld
18036 install-ld: installdirs
18037 @: $(MAKE); $(unstage)
18038 @r=`${PWD_COMMAND}`; export r; \
18039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18040 $(HOST_EXPORTS) \
18041 (cd $(HOST_SUBDIR)/ld && \
18042 $(MAKE) $(FLAGS_TO_PASS) install)
18044 @endif ld
18046 # Other targets (info, dvi, pdf, etc.)
18048 .PHONY: maybe-info-ld info-ld
18049 maybe-info-ld:
18050 @if ld
18051 maybe-info-ld: info-ld
18053 info-ld: \
18054 configure-ld
18055 @[ -f ./ld/Makefile ] || exit 0; \
18056 r=`${PWD_COMMAND}`; export r; \
18057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18058 $(HOST_EXPORTS) \
18059 for flag in $(EXTRA_HOST_FLAGS) ; do \
18060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18061 done; \
18062 echo "Doing info in ld" ; \
18063 (cd $(HOST_SUBDIR)/ld && \
18064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18066 "RANLIB=$${RANLIB}" \
18067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18068 info) \
18069 || exit 1
18071 @endif ld
18073 .PHONY: maybe-dvi-ld dvi-ld
18074 maybe-dvi-ld:
18075 @if ld
18076 maybe-dvi-ld: dvi-ld
18078 dvi-ld: \
18079 configure-ld
18080 @[ -f ./ld/Makefile ] || exit 0; \
18081 r=`${PWD_COMMAND}`; export r; \
18082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18083 $(HOST_EXPORTS) \
18084 for flag in $(EXTRA_HOST_FLAGS) ; do \
18085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18086 done; \
18087 echo "Doing dvi in ld" ; \
18088 (cd $(HOST_SUBDIR)/ld && \
18089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18091 "RANLIB=$${RANLIB}" \
18092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18093 dvi) \
18094 || exit 1
18096 @endif ld
18098 .PHONY: maybe-pdf-ld pdf-ld
18099 maybe-pdf-ld:
18100 @if ld
18101 maybe-pdf-ld: pdf-ld
18103 pdf-ld: \
18104 configure-ld
18105 @[ -f ./ld/Makefile ] || exit 0; \
18106 r=`${PWD_COMMAND}`; export r; \
18107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18108 $(HOST_EXPORTS) \
18109 for flag in $(EXTRA_HOST_FLAGS) ; do \
18110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18111 done; \
18112 echo "Doing pdf in ld" ; \
18113 (cd $(HOST_SUBDIR)/ld && \
18114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18116 "RANLIB=$${RANLIB}" \
18117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18118 pdf) \
18119 || exit 1
18121 @endif ld
18123 .PHONY: maybe-html-ld html-ld
18124 maybe-html-ld:
18125 @if ld
18126 maybe-html-ld: html-ld
18128 html-ld: \
18129 configure-ld
18130 @[ -f ./ld/Makefile ] || exit 0; \
18131 r=`${PWD_COMMAND}`; export r; \
18132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18133 $(HOST_EXPORTS) \
18134 for flag in $(EXTRA_HOST_FLAGS) ; do \
18135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18136 done; \
18137 echo "Doing html in ld" ; \
18138 (cd $(HOST_SUBDIR)/ld && \
18139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18141 "RANLIB=$${RANLIB}" \
18142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18143 html) \
18144 || exit 1
18146 @endif ld
18148 .PHONY: maybe-TAGS-ld TAGS-ld
18149 maybe-TAGS-ld:
18150 @if ld
18151 maybe-TAGS-ld: TAGS-ld
18153 TAGS-ld: \
18154 configure-ld
18155 @[ -f ./ld/Makefile ] || exit 0; \
18156 r=`${PWD_COMMAND}`; export r; \
18157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18158 $(HOST_EXPORTS) \
18159 for flag in $(EXTRA_HOST_FLAGS) ; do \
18160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18161 done; \
18162 echo "Doing TAGS in ld" ; \
18163 (cd $(HOST_SUBDIR)/ld && \
18164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18166 "RANLIB=$${RANLIB}" \
18167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18168 TAGS) \
18169 || exit 1
18171 @endif ld
18173 .PHONY: maybe-install-info-ld install-info-ld
18174 maybe-install-info-ld:
18175 @if ld
18176 maybe-install-info-ld: install-info-ld
18178 install-info-ld: \
18179 configure-ld \
18180 info-ld
18181 @[ -f ./ld/Makefile ] || exit 0; \
18182 r=`${PWD_COMMAND}`; export r; \
18183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18184 $(HOST_EXPORTS) \
18185 for flag in $(EXTRA_HOST_FLAGS) ; do \
18186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18187 done; \
18188 echo "Doing install-info in ld" ; \
18189 (cd $(HOST_SUBDIR)/ld && \
18190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18192 "RANLIB=$${RANLIB}" \
18193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18194 install-info) \
18195 || exit 1
18197 @endif ld
18199 .PHONY: maybe-install-html-ld install-html-ld
18200 maybe-install-html-ld:
18201 @if ld
18202 maybe-install-html-ld: install-html-ld
18204 install-html-ld: \
18205 configure-ld \
18206 html-ld
18207 @[ -f ./ld/Makefile ] || exit 0; \
18208 r=`${PWD_COMMAND}`; export r; \
18209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18210 $(HOST_EXPORTS) \
18211 for flag in $(EXTRA_HOST_FLAGS) ; do \
18212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18213 done; \
18214 echo "Doing install-html in ld" ; \
18215 (cd $(HOST_SUBDIR)/ld && \
18216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18218 "RANLIB=$${RANLIB}" \
18219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18220 install-html) \
18221 || exit 1
18223 @endif ld
18225 .PHONY: maybe-installcheck-ld installcheck-ld
18226 maybe-installcheck-ld:
18227 @if ld
18228 maybe-installcheck-ld: installcheck-ld
18230 installcheck-ld: \
18231 configure-ld
18232 @[ -f ./ld/Makefile ] || exit 0; \
18233 r=`${PWD_COMMAND}`; export r; \
18234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18235 $(HOST_EXPORTS) \
18236 for flag in $(EXTRA_HOST_FLAGS) ; do \
18237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18238 done; \
18239 echo "Doing installcheck in ld" ; \
18240 (cd $(HOST_SUBDIR)/ld && \
18241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18243 "RANLIB=$${RANLIB}" \
18244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18245 installcheck) \
18246 || exit 1
18248 @endif ld
18250 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
18251 maybe-mostlyclean-ld:
18252 @if ld
18253 maybe-mostlyclean-ld: mostlyclean-ld
18255 mostlyclean-ld:
18256 @[ -f ./ld/Makefile ] || exit 0; \
18257 r=`${PWD_COMMAND}`; export r; \
18258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18259 $(HOST_EXPORTS) \
18260 for flag in $(EXTRA_HOST_FLAGS) ; do \
18261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18262 done; \
18263 echo "Doing mostlyclean in ld" ; \
18264 (cd $(HOST_SUBDIR)/ld && \
18265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18267 "RANLIB=$${RANLIB}" \
18268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18269 mostlyclean) \
18270 || exit 1
18272 @endif ld
18274 .PHONY: maybe-clean-ld clean-ld
18275 maybe-clean-ld:
18276 @if ld
18277 maybe-clean-ld: clean-ld
18279 clean-ld:
18280 @[ -f ./ld/Makefile ] || exit 0; \
18281 r=`${PWD_COMMAND}`; export r; \
18282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18283 $(HOST_EXPORTS) \
18284 for flag in $(EXTRA_HOST_FLAGS) ; do \
18285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18286 done; \
18287 echo "Doing clean in ld" ; \
18288 (cd $(HOST_SUBDIR)/ld && \
18289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18291 "RANLIB=$${RANLIB}" \
18292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18293 clean) \
18294 || exit 1
18296 @endif ld
18298 .PHONY: maybe-distclean-ld distclean-ld
18299 maybe-distclean-ld:
18300 @if ld
18301 maybe-distclean-ld: distclean-ld
18303 distclean-ld:
18304 @[ -f ./ld/Makefile ] || exit 0; \
18305 r=`${PWD_COMMAND}`; export r; \
18306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18307 $(HOST_EXPORTS) \
18308 for flag in $(EXTRA_HOST_FLAGS) ; do \
18309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18310 done; \
18311 echo "Doing distclean in ld" ; \
18312 (cd $(HOST_SUBDIR)/ld && \
18313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18315 "RANLIB=$${RANLIB}" \
18316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18317 distclean) \
18318 || exit 1
18320 @endif ld
18322 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
18323 maybe-maintainer-clean-ld:
18324 @if ld
18325 maybe-maintainer-clean-ld: maintainer-clean-ld
18327 maintainer-clean-ld:
18328 @[ -f ./ld/Makefile ] || exit 0; \
18329 r=`${PWD_COMMAND}`; export r; \
18330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18331 $(HOST_EXPORTS) \
18332 for flag in $(EXTRA_HOST_FLAGS) ; do \
18333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18334 done; \
18335 echo "Doing maintainer-clean in ld" ; \
18336 (cd $(HOST_SUBDIR)/ld && \
18337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18339 "RANLIB=$${RANLIB}" \
18340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18341 maintainer-clean) \
18342 || exit 1
18344 @endif ld
18348 .PHONY: configure-libcpp maybe-configure-libcpp
18349 maybe-configure-libcpp:
18350 @if gcc-bootstrap
18351 configure-libcpp: stage_current
18352 @endif gcc-bootstrap
18353 @if libcpp
18354 maybe-configure-libcpp: configure-libcpp
18355 configure-libcpp:
18356 @r=`${PWD_COMMAND}`; export r; \
18357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18358 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18359 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18360 $(HOST_EXPORTS) \
18361 echo Configuring in $(HOST_SUBDIR)/libcpp; \
18362 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
18363 case $(srcdir) in \
18364 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18365 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18366 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18367 esac; \
18368 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18369 libsrcdir="$$s/libcpp"; \
18370 $(SHELL) $${libsrcdir}/configure \
18371 $(HOST_CONFIGARGS) $${srcdiroption} \
18372 || exit 1
18373 @endif libcpp
18377 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
18378 maybe-configure-stage1-libcpp:
18379 @if libcpp-bootstrap
18380 maybe-configure-stage1-libcpp: configure-stage1-libcpp
18381 configure-stage1-libcpp:
18382 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18383 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18384 @r=`${PWD_COMMAND}`; export r; \
18385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18386 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18387 $(HOST_EXPORTS) \
18388 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
18389 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18390 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18391 case $(srcdir) in \
18392 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18393 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18394 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18395 esac; \
18396 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18397 libsrcdir="$$s/libcpp"; \
18398 $(SHELL) $${libsrcdir}/configure \
18399 $(HOST_CONFIGARGS) $${srcdiroption} \
18401 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
18402 @endif libcpp-bootstrap
18404 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
18405 maybe-configure-stage2-libcpp:
18406 @if libcpp-bootstrap
18407 maybe-configure-stage2-libcpp: configure-stage2-libcpp
18408 configure-stage2-libcpp:
18409 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18410 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18411 @r=`${PWD_COMMAND}`; export r; \
18412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18413 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18414 $(HOST_EXPORTS) \
18415 $(POSTSTAGE1_HOST_EXPORTS) \
18416 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
18417 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18418 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18419 case $(srcdir) in \
18420 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18421 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18422 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18423 esac; \
18424 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18425 libsrcdir="$$s/libcpp"; \
18426 $(SHELL) $${libsrcdir}/configure \
18427 $(HOST_CONFIGARGS) $${srcdiroption} \
18428 --with-build-libsubdir=$(HOST_SUBDIR) \
18429 @stage2_werror_flag@
18430 @endif libcpp-bootstrap
18432 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
18433 maybe-configure-stage3-libcpp:
18434 @if libcpp-bootstrap
18435 maybe-configure-stage3-libcpp: configure-stage3-libcpp
18436 configure-stage3-libcpp:
18437 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18438 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18439 @r=`${PWD_COMMAND}`; export r; \
18440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18441 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18442 $(HOST_EXPORTS) \
18443 $(POSTSTAGE1_HOST_EXPORTS) \
18444 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
18445 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18446 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18447 case $(srcdir) in \
18448 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18449 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18450 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18451 esac; \
18452 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18453 libsrcdir="$$s/libcpp"; \
18454 $(SHELL) $${libsrcdir}/configure \
18455 $(HOST_CONFIGARGS) $${srcdiroption} \
18456 --with-build-libsubdir=$(HOST_SUBDIR) \
18457 @stage2_werror_flag@
18458 @endif libcpp-bootstrap
18460 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
18461 maybe-configure-stage4-libcpp:
18462 @if libcpp-bootstrap
18463 maybe-configure-stage4-libcpp: configure-stage4-libcpp
18464 configure-stage4-libcpp:
18465 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18466 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18467 @r=`${PWD_COMMAND}`; export r; \
18468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18469 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18470 $(HOST_EXPORTS) \
18471 $(POSTSTAGE1_HOST_EXPORTS) \
18472 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
18473 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18474 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18475 case $(srcdir) in \
18476 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18477 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18478 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18479 esac; \
18480 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18481 libsrcdir="$$s/libcpp"; \
18482 $(SHELL) $${libsrcdir}/configure \
18483 $(HOST_CONFIGARGS) $${srcdiroption} \
18484 --with-build-libsubdir=$(HOST_SUBDIR) \
18485 @stage2_werror_flag@
18486 @endif libcpp-bootstrap
18488 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
18489 maybe-configure-stageprofile-libcpp:
18490 @if libcpp-bootstrap
18491 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
18492 configure-stageprofile-libcpp:
18493 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18494 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18495 @r=`${PWD_COMMAND}`; export r; \
18496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18497 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18498 $(HOST_EXPORTS) \
18499 $(POSTSTAGE1_HOST_EXPORTS) \
18500 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
18501 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18502 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18503 case $(srcdir) in \
18504 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18505 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18506 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18507 esac; \
18508 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18509 libsrcdir="$$s/libcpp"; \
18510 $(SHELL) $${libsrcdir}/configure \
18511 $(HOST_CONFIGARGS) $${srcdiroption} \
18512 --with-build-libsubdir=$(HOST_SUBDIR) \
18513 @stage2_werror_flag@
18514 @endif libcpp-bootstrap
18516 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
18517 maybe-configure-stagefeedback-libcpp:
18518 @if libcpp-bootstrap
18519 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
18520 configure-stagefeedback-libcpp:
18521 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18522 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
18523 @r=`${PWD_COMMAND}`; export r; \
18524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18525 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
18526 $(HOST_EXPORTS) \
18527 $(POSTSTAGE1_HOST_EXPORTS) \
18528 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
18529 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
18530 cd $(HOST_SUBDIR)/libcpp || exit 1; \
18531 case $(srcdir) in \
18532 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18533 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
18534 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18535 esac; \
18536 srcdiroption="--srcdir=$${topdir}/libcpp"; \
18537 libsrcdir="$$s/libcpp"; \
18538 $(SHELL) $${libsrcdir}/configure \
18539 $(HOST_CONFIGARGS) $${srcdiroption} \
18540 --with-build-libsubdir=$(HOST_SUBDIR) \
18541 @stage2_werror_flag@
18542 @endif libcpp-bootstrap
18548 .PHONY: all-libcpp maybe-all-libcpp
18549 maybe-all-libcpp:
18550 @if gcc-bootstrap
18551 all-libcpp: stage_current
18552 @endif gcc-bootstrap
18553 @if libcpp
18554 TARGET-libcpp=all
18555 maybe-all-libcpp: all-libcpp
18556 all-libcpp: configure-libcpp
18557 @r=`${PWD_COMMAND}`; export r; \
18558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18559 $(HOST_EXPORTS) \
18560 (cd $(HOST_SUBDIR)/libcpp && \
18561 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
18562 @endif libcpp
18566 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
18567 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
18568 maybe-all-stage1-libcpp:
18569 maybe-clean-stage1-libcpp:
18570 @if libcpp-bootstrap
18571 maybe-all-stage1-libcpp: all-stage1-libcpp
18572 all-stage1: all-stage1-libcpp
18573 TARGET-stage1-libcpp = $(TARGET-libcpp)
18574 all-stage1-libcpp: configure-stage1-libcpp
18575 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18576 @r=`${PWD_COMMAND}`; export r; \
18577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18578 $(HOST_EXPORTS) \
18579 cd $(HOST_SUBDIR)/libcpp && \
18580 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
18581 $(TARGET-stage1-libcpp)
18583 maybe-clean-stage1-libcpp: clean-stage1-libcpp
18584 clean-stage1: clean-stage1-libcpp
18585 clean-stage1-libcpp:
18586 @if [ $(current_stage) = stage1 ]; then \
18587 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18588 else \
18589 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
18590 $(MAKE) stage1-start; \
18591 fi; \
18592 cd $(HOST_SUBDIR)/libcpp && \
18593 $(MAKE) $(FLAGS_TO_PASS) \
18594 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
18595 @endif libcpp-bootstrap
18598 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
18599 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
18600 maybe-all-stage2-libcpp:
18601 maybe-clean-stage2-libcpp:
18602 @if libcpp-bootstrap
18603 maybe-all-stage2-libcpp: all-stage2-libcpp
18604 all-stage2: all-stage2-libcpp
18605 TARGET-stage2-libcpp = $(TARGET-libcpp)
18606 all-stage2-libcpp: configure-stage2-libcpp
18607 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18608 @r=`${PWD_COMMAND}`; export r; \
18609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18610 $(HOST_EXPORTS) \
18611 $(POSTSTAGE1_HOST_EXPORTS) \
18612 cd $(HOST_SUBDIR)/libcpp && \
18613 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18614 $(TARGET-stage2-libcpp)
18616 maybe-clean-stage2-libcpp: clean-stage2-libcpp
18617 clean-stage2: clean-stage2-libcpp
18618 clean-stage2-libcpp:
18619 @if [ $(current_stage) = stage2 ]; then \
18620 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18621 else \
18622 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
18623 $(MAKE) stage2-start; \
18624 fi; \
18625 cd $(HOST_SUBDIR)/libcpp && \
18626 $(MAKE) $(FLAGS_TO_PASS) \
18627 $(POSTSTAGE1_FLAGS_TO_PASS) \
18628 clean
18629 @endif libcpp-bootstrap
18632 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
18633 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
18634 maybe-all-stage3-libcpp:
18635 maybe-clean-stage3-libcpp:
18636 @if libcpp-bootstrap
18637 maybe-all-stage3-libcpp: all-stage3-libcpp
18638 all-stage3: all-stage3-libcpp
18639 TARGET-stage3-libcpp = $(TARGET-libcpp)
18640 all-stage3-libcpp: configure-stage3-libcpp
18641 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18642 @r=`${PWD_COMMAND}`; export r; \
18643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18644 $(HOST_EXPORTS) \
18645 $(POSTSTAGE1_HOST_EXPORTS) \
18646 cd $(HOST_SUBDIR)/libcpp && \
18647 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18648 $(TARGET-stage3-libcpp)
18650 maybe-clean-stage3-libcpp: clean-stage3-libcpp
18651 clean-stage3: clean-stage3-libcpp
18652 clean-stage3-libcpp:
18653 @if [ $(current_stage) = stage3 ]; then \
18654 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18655 else \
18656 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
18657 $(MAKE) stage3-start; \
18658 fi; \
18659 cd $(HOST_SUBDIR)/libcpp && \
18660 $(MAKE) $(FLAGS_TO_PASS) \
18661 $(POSTSTAGE1_FLAGS_TO_PASS) \
18662 clean
18663 @endif libcpp-bootstrap
18666 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
18667 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
18668 maybe-all-stage4-libcpp:
18669 maybe-clean-stage4-libcpp:
18670 @if libcpp-bootstrap
18671 maybe-all-stage4-libcpp: all-stage4-libcpp
18672 all-stage4: all-stage4-libcpp
18673 TARGET-stage4-libcpp = $(TARGET-libcpp)
18674 all-stage4-libcpp: configure-stage4-libcpp
18675 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18676 @r=`${PWD_COMMAND}`; export r; \
18677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18678 $(HOST_EXPORTS) \
18679 $(POSTSTAGE1_HOST_EXPORTS) \
18680 cd $(HOST_SUBDIR)/libcpp && \
18681 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18682 $(TARGET-stage4-libcpp)
18684 maybe-clean-stage4-libcpp: clean-stage4-libcpp
18685 clean-stage4: clean-stage4-libcpp
18686 clean-stage4-libcpp:
18687 @if [ $(current_stage) = stage4 ]; then \
18688 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18689 else \
18690 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
18691 $(MAKE) stage4-start; \
18692 fi; \
18693 cd $(HOST_SUBDIR)/libcpp && \
18694 $(MAKE) $(FLAGS_TO_PASS) \
18695 $(POSTSTAGE1_FLAGS_TO_PASS) \
18696 clean
18697 @endif libcpp-bootstrap
18700 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
18701 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
18702 maybe-all-stageprofile-libcpp:
18703 maybe-clean-stageprofile-libcpp:
18704 @if libcpp-bootstrap
18705 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
18706 all-stageprofile: all-stageprofile-libcpp
18707 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
18708 all-stageprofile-libcpp: configure-stageprofile-libcpp
18709 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18710 @r=`${PWD_COMMAND}`; export r; \
18711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18712 $(HOST_EXPORTS) \
18713 $(POSTSTAGE1_HOST_EXPORTS) \
18714 cd $(HOST_SUBDIR)/libcpp && \
18715 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
18716 $(TARGET-stageprofile-libcpp)
18718 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
18719 clean-stageprofile: clean-stageprofile-libcpp
18720 clean-stageprofile-libcpp:
18721 @if [ $(current_stage) = stageprofile ]; then \
18722 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18723 else \
18724 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
18725 $(MAKE) stageprofile-start; \
18726 fi; \
18727 cd $(HOST_SUBDIR)/libcpp && \
18728 $(MAKE) $(FLAGS_TO_PASS) \
18729 $(POSTSTAGE1_FLAGS_TO_PASS) \
18730 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
18731 @endif libcpp-bootstrap
18734 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
18735 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
18736 maybe-all-stagefeedback-libcpp:
18737 maybe-clean-stagefeedback-libcpp:
18738 @if libcpp-bootstrap
18739 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
18740 all-stagefeedback: all-stagefeedback-libcpp
18741 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
18742 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
18743 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18744 @r=`${PWD_COMMAND}`; export r; \
18745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18746 $(HOST_EXPORTS) \
18747 $(POSTSTAGE1_HOST_EXPORTS) \
18748 cd $(HOST_SUBDIR)/libcpp && \
18749 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
18750 $(TARGET-stagefeedback-libcpp)
18752 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
18753 clean-stagefeedback: clean-stagefeedback-libcpp
18754 clean-stagefeedback-libcpp:
18755 @if [ $(current_stage) = stagefeedback ]; then \
18756 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
18757 else \
18758 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
18759 $(MAKE) stagefeedback-start; \
18760 fi; \
18761 cd $(HOST_SUBDIR)/libcpp && \
18762 $(MAKE) $(FLAGS_TO_PASS) \
18763 $(POSTSTAGE1_FLAGS_TO_PASS) \
18764 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
18765 @endif libcpp-bootstrap
18771 .PHONY: check-libcpp maybe-check-libcpp
18772 maybe-check-libcpp:
18773 @if libcpp
18774 maybe-check-libcpp: check-libcpp
18776 check-libcpp:
18777 @: $(MAKE); $(unstage)
18778 @r=`${PWD_COMMAND}`; export r; \
18779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18780 $(HOST_EXPORTS) \
18781 (cd $(HOST_SUBDIR)/libcpp && \
18782 $(MAKE) $(FLAGS_TO_PASS) check)
18784 @endif libcpp
18786 .PHONY: install-libcpp maybe-install-libcpp
18787 maybe-install-libcpp:
18788 @if libcpp
18789 maybe-install-libcpp: install-libcpp
18791 install-libcpp: installdirs
18792 @: $(MAKE); $(unstage)
18793 @r=`${PWD_COMMAND}`; export r; \
18794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18795 $(HOST_EXPORTS) \
18796 (cd $(HOST_SUBDIR)/libcpp && \
18797 $(MAKE) $(FLAGS_TO_PASS) install)
18799 @endif libcpp
18801 # Other targets (info, dvi, pdf, etc.)
18803 .PHONY: maybe-info-libcpp info-libcpp
18804 maybe-info-libcpp:
18805 @if libcpp
18806 maybe-info-libcpp: info-libcpp
18808 info-libcpp: \
18809 configure-libcpp
18810 @[ -f ./libcpp/Makefile ] || exit 0; \
18811 r=`${PWD_COMMAND}`; export r; \
18812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18813 $(HOST_EXPORTS) \
18814 for flag in $(EXTRA_HOST_FLAGS) ; do \
18815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18816 done; \
18817 echo "Doing info in libcpp" ; \
18818 (cd $(HOST_SUBDIR)/libcpp && \
18819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18821 "RANLIB=$${RANLIB}" \
18822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18823 info) \
18824 || exit 1
18826 @endif libcpp
18828 .PHONY: maybe-dvi-libcpp dvi-libcpp
18829 maybe-dvi-libcpp:
18830 @if libcpp
18831 maybe-dvi-libcpp: dvi-libcpp
18833 dvi-libcpp: \
18834 configure-libcpp
18835 @[ -f ./libcpp/Makefile ] || exit 0; \
18836 r=`${PWD_COMMAND}`; export r; \
18837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18838 $(HOST_EXPORTS) \
18839 for flag in $(EXTRA_HOST_FLAGS) ; do \
18840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18841 done; \
18842 echo "Doing dvi in libcpp" ; \
18843 (cd $(HOST_SUBDIR)/libcpp && \
18844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18846 "RANLIB=$${RANLIB}" \
18847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18848 dvi) \
18849 || exit 1
18851 @endif libcpp
18853 .PHONY: maybe-pdf-libcpp pdf-libcpp
18854 maybe-pdf-libcpp:
18855 @if libcpp
18856 maybe-pdf-libcpp: pdf-libcpp
18858 pdf-libcpp: \
18859 configure-libcpp
18860 @[ -f ./libcpp/Makefile ] || exit 0; \
18861 r=`${PWD_COMMAND}`; export r; \
18862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18863 $(HOST_EXPORTS) \
18864 for flag in $(EXTRA_HOST_FLAGS) ; do \
18865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18866 done; \
18867 echo "Doing pdf in libcpp" ; \
18868 (cd $(HOST_SUBDIR)/libcpp && \
18869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18871 "RANLIB=$${RANLIB}" \
18872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18873 pdf) \
18874 || exit 1
18876 @endif libcpp
18878 .PHONY: maybe-html-libcpp html-libcpp
18879 maybe-html-libcpp:
18880 @if libcpp
18881 maybe-html-libcpp: html-libcpp
18883 html-libcpp: \
18884 configure-libcpp
18885 @[ -f ./libcpp/Makefile ] || exit 0; \
18886 r=`${PWD_COMMAND}`; export r; \
18887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18888 $(HOST_EXPORTS) \
18889 for flag in $(EXTRA_HOST_FLAGS) ; do \
18890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18891 done; \
18892 echo "Doing html in libcpp" ; \
18893 (cd $(HOST_SUBDIR)/libcpp && \
18894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18896 "RANLIB=$${RANLIB}" \
18897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18898 html) \
18899 || exit 1
18901 @endif libcpp
18903 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
18904 maybe-TAGS-libcpp:
18905 @if libcpp
18906 maybe-TAGS-libcpp: TAGS-libcpp
18908 TAGS-libcpp: \
18909 configure-libcpp
18910 @[ -f ./libcpp/Makefile ] || exit 0; \
18911 r=`${PWD_COMMAND}`; export r; \
18912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18913 $(HOST_EXPORTS) \
18914 for flag in $(EXTRA_HOST_FLAGS) ; do \
18915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18916 done; \
18917 echo "Doing TAGS in libcpp" ; \
18918 (cd $(HOST_SUBDIR)/libcpp && \
18919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18921 "RANLIB=$${RANLIB}" \
18922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18923 TAGS) \
18924 || exit 1
18926 @endif libcpp
18928 .PHONY: maybe-install-info-libcpp install-info-libcpp
18929 maybe-install-info-libcpp:
18930 @if libcpp
18931 maybe-install-info-libcpp: install-info-libcpp
18933 install-info-libcpp: \
18934 configure-libcpp \
18935 info-libcpp
18936 @[ -f ./libcpp/Makefile ] || exit 0; \
18937 r=`${PWD_COMMAND}`; export r; \
18938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18939 $(HOST_EXPORTS) \
18940 for flag in $(EXTRA_HOST_FLAGS) ; do \
18941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18942 done; \
18943 echo "Doing install-info in libcpp" ; \
18944 (cd $(HOST_SUBDIR)/libcpp && \
18945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18947 "RANLIB=$${RANLIB}" \
18948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18949 install-info) \
18950 || exit 1
18952 @endif libcpp
18954 .PHONY: maybe-install-html-libcpp install-html-libcpp
18955 maybe-install-html-libcpp:
18956 @if libcpp
18957 maybe-install-html-libcpp: install-html-libcpp
18959 install-html-libcpp: \
18960 configure-libcpp \
18961 html-libcpp
18962 @[ -f ./libcpp/Makefile ] || exit 0; \
18963 r=`${PWD_COMMAND}`; export r; \
18964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18965 $(HOST_EXPORTS) \
18966 for flag in $(EXTRA_HOST_FLAGS) ; do \
18967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18968 done; \
18969 echo "Doing install-html in libcpp" ; \
18970 (cd $(HOST_SUBDIR)/libcpp && \
18971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18973 "RANLIB=$${RANLIB}" \
18974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18975 install-html) \
18976 || exit 1
18978 @endif libcpp
18980 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
18981 maybe-installcheck-libcpp:
18982 @if libcpp
18983 maybe-installcheck-libcpp: installcheck-libcpp
18985 installcheck-libcpp: \
18986 configure-libcpp
18987 @[ -f ./libcpp/Makefile ] || exit 0; \
18988 r=`${PWD_COMMAND}`; export r; \
18989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18990 $(HOST_EXPORTS) \
18991 for flag in $(EXTRA_HOST_FLAGS) ; do \
18992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18993 done; \
18994 echo "Doing installcheck in libcpp" ; \
18995 (cd $(HOST_SUBDIR)/libcpp && \
18996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18998 "RANLIB=$${RANLIB}" \
18999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19000 installcheck) \
19001 || exit 1
19003 @endif libcpp
19005 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
19006 maybe-mostlyclean-libcpp:
19007 @if libcpp
19008 maybe-mostlyclean-libcpp: mostlyclean-libcpp
19010 mostlyclean-libcpp:
19011 @[ -f ./libcpp/Makefile ] || exit 0; \
19012 r=`${PWD_COMMAND}`; export r; \
19013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19014 $(HOST_EXPORTS) \
19015 for flag in $(EXTRA_HOST_FLAGS) ; do \
19016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19017 done; \
19018 echo "Doing mostlyclean in libcpp" ; \
19019 (cd $(HOST_SUBDIR)/libcpp && \
19020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19022 "RANLIB=$${RANLIB}" \
19023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19024 mostlyclean) \
19025 || exit 1
19027 @endif libcpp
19029 .PHONY: maybe-clean-libcpp clean-libcpp
19030 maybe-clean-libcpp:
19031 @if libcpp
19032 maybe-clean-libcpp: clean-libcpp
19034 clean-libcpp:
19035 @[ -f ./libcpp/Makefile ] || exit 0; \
19036 r=`${PWD_COMMAND}`; export r; \
19037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19038 $(HOST_EXPORTS) \
19039 for flag in $(EXTRA_HOST_FLAGS) ; do \
19040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19041 done; \
19042 echo "Doing clean in libcpp" ; \
19043 (cd $(HOST_SUBDIR)/libcpp && \
19044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19046 "RANLIB=$${RANLIB}" \
19047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19048 clean) \
19049 || exit 1
19051 @endif libcpp
19053 .PHONY: maybe-distclean-libcpp distclean-libcpp
19054 maybe-distclean-libcpp:
19055 @if libcpp
19056 maybe-distclean-libcpp: distclean-libcpp
19058 distclean-libcpp:
19059 @[ -f ./libcpp/Makefile ] || exit 0; \
19060 r=`${PWD_COMMAND}`; export r; \
19061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19062 $(HOST_EXPORTS) \
19063 for flag in $(EXTRA_HOST_FLAGS) ; do \
19064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19065 done; \
19066 echo "Doing distclean in libcpp" ; \
19067 (cd $(HOST_SUBDIR)/libcpp && \
19068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19070 "RANLIB=$${RANLIB}" \
19071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19072 distclean) \
19073 || exit 1
19075 @endif libcpp
19077 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
19078 maybe-maintainer-clean-libcpp:
19079 @if libcpp
19080 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
19082 maintainer-clean-libcpp:
19083 @[ -f ./libcpp/Makefile ] || exit 0; \
19084 r=`${PWD_COMMAND}`; export r; \
19085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19086 $(HOST_EXPORTS) \
19087 for flag in $(EXTRA_HOST_FLAGS) ; do \
19088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19089 done; \
19090 echo "Doing maintainer-clean in libcpp" ; \
19091 (cd $(HOST_SUBDIR)/libcpp && \
19092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19094 "RANLIB=$${RANLIB}" \
19095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19096 maintainer-clean) \
19097 || exit 1
19099 @endif libcpp
19103 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
19104 maybe-configure-libdecnumber:
19105 @if gcc-bootstrap
19106 configure-libdecnumber: stage_current
19107 @endif gcc-bootstrap
19108 @if libdecnumber
19109 maybe-configure-libdecnumber: configure-libdecnumber
19110 configure-libdecnumber:
19111 @r=`${PWD_COMMAND}`; export r; \
19112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19113 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19114 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19115 $(HOST_EXPORTS) \
19116 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
19117 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
19118 case $(srcdir) in \
19119 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19120 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19121 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19122 esac; \
19123 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19124 libsrcdir="$$s/libdecnumber"; \
19125 $(SHELL) $${libsrcdir}/configure \
19126 $(HOST_CONFIGARGS) $${srcdiroption} \
19127 || exit 1
19128 @endif libdecnumber
19132 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
19133 maybe-configure-stage1-libdecnumber:
19134 @if libdecnumber-bootstrap
19135 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
19136 configure-stage1-libdecnumber:
19137 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19138 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19139 @r=`${PWD_COMMAND}`; export r; \
19140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19141 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19142 $(HOST_EXPORTS) \
19143 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
19144 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19145 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19146 case $(srcdir) in \
19147 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19148 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19149 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19150 esac; \
19151 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19152 libsrcdir="$$s/libdecnumber"; \
19153 $(SHELL) $${libsrcdir}/configure \
19154 $(HOST_CONFIGARGS) $${srcdiroption} \
19156 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
19157 @endif libdecnumber-bootstrap
19159 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
19160 maybe-configure-stage2-libdecnumber:
19161 @if libdecnumber-bootstrap
19162 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
19163 configure-stage2-libdecnumber:
19164 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19165 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19166 @r=`${PWD_COMMAND}`; export r; \
19167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19168 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19169 $(HOST_EXPORTS) \
19170 $(POSTSTAGE1_HOST_EXPORTS) \
19171 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
19172 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19173 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19174 case $(srcdir) in \
19175 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19176 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19177 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19178 esac; \
19179 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19180 libsrcdir="$$s/libdecnumber"; \
19181 $(SHELL) $${libsrcdir}/configure \
19182 $(HOST_CONFIGARGS) $${srcdiroption} \
19183 --with-build-libsubdir=$(HOST_SUBDIR) \
19184 @stage2_werror_flag@
19185 @endif libdecnumber-bootstrap
19187 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
19188 maybe-configure-stage3-libdecnumber:
19189 @if libdecnumber-bootstrap
19190 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
19191 configure-stage3-libdecnumber:
19192 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19193 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19194 @r=`${PWD_COMMAND}`; export r; \
19195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19196 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19197 $(HOST_EXPORTS) \
19198 $(POSTSTAGE1_HOST_EXPORTS) \
19199 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
19200 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19201 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19202 case $(srcdir) in \
19203 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19204 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19205 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19206 esac; \
19207 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19208 libsrcdir="$$s/libdecnumber"; \
19209 $(SHELL) $${libsrcdir}/configure \
19210 $(HOST_CONFIGARGS) $${srcdiroption} \
19211 --with-build-libsubdir=$(HOST_SUBDIR) \
19212 @stage2_werror_flag@
19213 @endif libdecnumber-bootstrap
19215 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
19216 maybe-configure-stage4-libdecnumber:
19217 @if libdecnumber-bootstrap
19218 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
19219 configure-stage4-libdecnumber:
19220 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19221 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19222 @r=`${PWD_COMMAND}`; export r; \
19223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19224 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19225 $(HOST_EXPORTS) \
19226 $(POSTSTAGE1_HOST_EXPORTS) \
19227 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
19228 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19229 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19230 case $(srcdir) in \
19231 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19232 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19233 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19234 esac; \
19235 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19236 libsrcdir="$$s/libdecnumber"; \
19237 $(SHELL) $${libsrcdir}/configure \
19238 $(HOST_CONFIGARGS) $${srcdiroption} \
19239 --with-build-libsubdir=$(HOST_SUBDIR) \
19240 @stage2_werror_flag@
19241 @endif libdecnumber-bootstrap
19243 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
19244 maybe-configure-stageprofile-libdecnumber:
19245 @if libdecnumber-bootstrap
19246 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
19247 configure-stageprofile-libdecnumber:
19248 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19249 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19250 @r=`${PWD_COMMAND}`; export r; \
19251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19252 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19253 $(HOST_EXPORTS) \
19254 $(POSTSTAGE1_HOST_EXPORTS) \
19255 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
19256 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19257 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19258 case $(srcdir) in \
19259 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19260 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19261 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19262 esac; \
19263 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19264 libsrcdir="$$s/libdecnumber"; \
19265 $(SHELL) $${libsrcdir}/configure \
19266 $(HOST_CONFIGARGS) $${srcdiroption} \
19267 --with-build-libsubdir=$(HOST_SUBDIR) \
19268 @stage2_werror_flag@
19269 @endif libdecnumber-bootstrap
19271 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
19272 maybe-configure-stagefeedback-libdecnumber:
19273 @if libdecnumber-bootstrap
19274 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
19275 configure-stagefeedback-libdecnumber:
19276 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19277 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
19278 @r=`${PWD_COMMAND}`; export r; \
19279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19280 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
19281 $(HOST_EXPORTS) \
19282 $(POSTSTAGE1_HOST_EXPORTS) \
19283 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
19284 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
19285 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
19286 case $(srcdir) in \
19287 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19288 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
19289 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19290 esac; \
19291 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
19292 libsrcdir="$$s/libdecnumber"; \
19293 $(SHELL) $${libsrcdir}/configure \
19294 $(HOST_CONFIGARGS) $${srcdiroption} \
19295 --with-build-libsubdir=$(HOST_SUBDIR) \
19296 @stage2_werror_flag@
19297 @endif libdecnumber-bootstrap
19303 .PHONY: all-libdecnumber maybe-all-libdecnumber
19304 maybe-all-libdecnumber:
19305 @if gcc-bootstrap
19306 all-libdecnumber: stage_current
19307 @endif gcc-bootstrap
19308 @if libdecnumber
19309 TARGET-libdecnumber=all
19310 maybe-all-libdecnumber: all-libdecnumber
19311 all-libdecnumber: configure-libdecnumber
19312 @r=`${PWD_COMMAND}`; export r; \
19313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19314 $(HOST_EXPORTS) \
19315 (cd $(HOST_SUBDIR)/libdecnumber && \
19316 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libdecnumber))
19317 @endif libdecnumber
19321 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
19322 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
19323 maybe-all-stage1-libdecnumber:
19324 maybe-clean-stage1-libdecnumber:
19325 @if libdecnumber-bootstrap
19326 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
19327 all-stage1: all-stage1-libdecnumber
19328 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
19329 all-stage1-libdecnumber: configure-stage1-libdecnumber
19330 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19331 @r=`${PWD_COMMAND}`; export r; \
19332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19333 $(HOST_EXPORTS) \
19334 cd $(HOST_SUBDIR)/libdecnumber && \
19335 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
19336 $(TARGET-stage1-libdecnumber)
19338 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
19339 clean-stage1: clean-stage1-libdecnumber
19340 clean-stage1-libdecnumber:
19341 @if [ $(current_stage) = stage1 ]; then \
19342 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19343 else \
19344 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
19345 $(MAKE) stage1-start; \
19346 fi; \
19347 cd $(HOST_SUBDIR)/libdecnumber && \
19348 $(MAKE) $(FLAGS_TO_PASS) \
19349 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
19350 @endif libdecnumber-bootstrap
19353 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
19354 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
19355 maybe-all-stage2-libdecnumber:
19356 maybe-clean-stage2-libdecnumber:
19357 @if libdecnumber-bootstrap
19358 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
19359 all-stage2: all-stage2-libdecnumber
19360 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
19361 all-stage2-libdecnumber: configure-stage2-libdecnumber
19362 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19363 @r=`${PWD_COMMAND}`; export r; \
19364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19365 $(HOST_EXPORTS) \
19366 $(POSTSTAGE1_HOST_EXPORTS) \
19367 cd $(HOST_SUBDIR)/libdecnumber && \
19368 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19369 $(TARGET-stage2-libdecnumber)
19371 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
19372 clean-stage2: clean-stage2-libdecnumber
19373 clean-stage2-libdecnumber:
19374 @if [ $(current_stage) = stage2 ]; then \
19375 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19376 else \
19377 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
19378 $(MAKE) stage2-start; \
19379 fi; \
19380 cd $(HOST_SUBDIR)/libdecnumber && \
19381 $(MAKE) $(FLAGS_TO_PASS) \
19382 $(POSTSTAGE1_FLAGS_TO_PASS) \
19383 clean
19384 @endif libdecnumber-bootstrap
19387 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
19388 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
19389 maybe-all-stage3-libdecnumber:
19390 maybe-clean-stage3-libdecnumber:
19391 @if libdecnumber-bootstrap
19392 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
19393 all-stage3: all-stage3-libdecnumber
19394 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
19395 all-stage3-libdecnumber: configure-stage3-libdecnumber
19396 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19397 @r=`${PWD_COMMAND}`; export r; \
19398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19399 $(HOST_EXPORTS) \
19400 $(POSTSTAGE1_HOST_EXPORTS) \
19401 cd $(HOST_SUBDIR)/libdecnumber && \
19402 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19403 $(TARGET-stage3-libdecnumber)
19405 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
19406 clean-stage3: clean-stage3-libdecnumber
19407 clean-stage3-libdecnumber:
19408 @if [ $(current_stage) = stage3 ]; then \
19409 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19410 else \
19411 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
19412 $(MAKE) stage3-start; \
19413 fi; \
19414 cd $(HOST_SUBDIR)/libdecnumber && \
19415 $(MAKE) $(FLAGS_TO_PASS) \
19416 $(POSTSTAGE1_FLAGS_TO_PASS) \
19417 clean
19418 @endif libdecnumber-bootstrap
19421 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
19422 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
19423 maybe-all-stage4-libdecnumber:
19424 maybe-clean-stage4-libdecnumber:
19425 @if libdecnumber-bootstrap
19426 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
19427 all-stage4: all-stage4-libdecnumber
19428 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
19429 all-stage4-libdecnumber: configure-stage4-libdecnumber
19430 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19431 @r=`${PWD_COMMAND}`; export r; \
19432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19433 $(HOST_EXPORTS) \
19434 $(POSTSTAGE1_HOST_EXPORTS) \
19435 cd $(HOST_SUBDIR)/libdecnumber && \
19436 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19437 $(TARGET-stage4-libdecnumber)
19439 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
19440 clean-stage4: clean-stage4-libdecnumber
19441 clean-stage4-libdecnumber:
19442 @if [ $(current_stage) = stage4 ]; then \
19443 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19444 else \
19445 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
19446 $(MAKE) stage4-start; \
19447 fi; \
19448 cd $(HOST_SUBDIR)/libdecnumber && \
19449 $(MAKE) $(FLAGS_TO_PASS) \
19450 $(POSTSTAGE1_FLAGS_TO_PASS) \
19451 clean
19452 @endif libdecnumber-bootstrap
19455 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
19456 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
19457 maybe-all-stageprofile-libdecnumber:
19458 maybe-clean-stageprofile-libdecnumber:
19459 @if libdecnumber-bootstrap
19460 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
19461 all-stageprofile: all-stageprofile-libdecnumber
19462 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
19463 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
19464 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19465 @r=`${PWD_COMMAND}`; export r; \
19466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19467 $(HOST_EXPORTS) \
19468 $(POSTSTAGE1_HOST_EXPORTS) \
19469 cd $(HOST_SUBDIR)/libdecnumber && \
19470 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
19471 $(TARGET-stageprofile-libdecnumber)
19473 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
19474 clean-stageprofile: clean-stageprofile-libdecnumber
19475 clean-stageprofile-libdecnumber:
19476 @if [ $(current_stage) = stageprofile ]; then \
19477 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19478 else \
19479 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
19480 $(MAKE) stageprofile-start; \
19481 fi; \
19482 cd $(HOST_SUBDIR)/libdecnumber && \
19483 $(MAKE) $(FLAGS_TO_PASS) \
19484 $(POSTSTAGE1_FLAGS_TO_PASS) \
19485 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
19486 @endif libdecnumber-bootstrap
19489 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
19490 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
19491 maybe-all-stagefeedback-libdecnumber:
19492 maybe-clean-stagefeedback-libdecnumber:
19493 @if libdecnumber-bootstrap
19494 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
19495 all-stagefeedback: all-stagefeedback-libdecnumber
19496 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
19497 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
19498 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19499 @r=`${PWD_COMMAND}`; export r; \
19500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19501 $(HOST_EXPORTS) \
19502 $(POSTSTAGE1_HOST_EXPORTS) \
19503 cd $(HOST_SUBDIR)/libdecnumber && \
19504 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
19505 $(TARGET-stagefeedback-libdecnumber)
19507 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
19508 clean-stagefeedback: clean-stagefeedback-libdecnumber
19509 clean-stagefeedback-libdecnumber:
19510 @if [ $(current_stage) = stagefeedback ]; then \
19511 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
19512 else \
19513 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
19514 $(MAKE) stagefeedback-start; \
19515 fi; \
19516 cd $(HOST_SUBDIR)/libdecnumber && \
19517 $(MAKE) $(FLAGS_TO_PASS) \
19518 $(POSTSTAGE1_FLAGS_TO_PASS) \
19519 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
19520 @endif libdecnumber-bootstrap
19526 .PHONY: check-libdecnumber maybe-check-libdecnumber
19527 maybe-check-libdecnumber:
19528 @if libdecnumber
19529 maybe-check-libdecnumber: check-libdecnumber
19531 check-libdecnumber:
19532 @: $(MAKE); $(unstage)
19533 @r=`${PWD_COMMAND}`; export r; \
19534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19535 $(HOST_EXPORTS) \
19536 (cd $(HOST_SUBDIR)/libdecnumber && \
19537 $(MAKE) $(FLAGS_TO_PASS) check)
19539 @endif libdecnumber
19541 .PHONY: install-libdecnumber maybe-install-libdecnumber
19542 maybe-install-libdecnumber:
19543 @if libdecnumber
19544 maybe-install-libdecnumber: install-libdecnumber
19546 install-libdecnumber: installdirs
19547 @: $(MAKE); $(unstage)
19548 @r=`${PWD_COMMAND}`; export r; \
19549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19550 $(HOST_EXPORTS) \
19551 (cd $(HOST_SUBDIR)/libdecnumber && \
19552 $(MAKE) $(FLAGS_TO_PASS) install)
19554 @endif libdecnumber
19556 # Other targets (info, dvi, pdf, etc.)
19558 .PHONY: maybe-info-libdecnumber info-libdecnumber
19559 maybe-info-libdecnumber:
19560 @if libdecnumber
19561 maybe-info-libdecnumber: info-libdecnumber
19563 info-libdecnumber: \
19564 configure-libdecnumber
19565 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19566 r=`${PWD_COMMAND}`; export r; \
19567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19568 $(HOST_EXPORTS) \
19569 for flag in $(EXTRA_HOST_FLAGS) ; do \
19570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19571 done; \
19572 echo "Doing info in libdecnumber" ; \
19573 (cd $(HOST_SUBDIR)/libdecnumber && \
19574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19576 "RANLIB=$${RANLIB}" \
19577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19578 info) \
19579 || exit 1
19581 @endif libdecnumber
19583 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
19584 maybe-dvi-libdecnumber:
19585 @if libdecnumber
19586 maybe-dvi-libdecnumber: dvi-libdecnumber
19588 dvi-libdecnumber: \
19589 configure-libdecnumber
19590 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19591 r=`${PWD_COMMAND}`; export r; \
19592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19593 $(HOST_EXPORTS) \
19594 for flag in $(EXTRA_HOST_FLAGS) ; do \
19595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19596 done; \
19597 echo "Doing dvi in libdecnumber" ; \
19598 (cd $(HOST_SUBDIR)/libdecnumber && \
19599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19601 "RANLIB=$${RANLIB}" \
19602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19603 dvi) \
19604 || exit 1
19606 @endif libdecnumber
19608 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
19609 maybe-pdf-libdecnumber:
19610 @if libdecnumber
19611 maybe-pdf-libdecnumber: pdf-libdecnumber
19613 pdf-libdecnumber: \
19614 configure-libdecnumber
19615 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19616 r=`${PWD_COMMAND}`; export r; \
19617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19618 $(HOST_EXPORTS) \
19619 for flag in $(EXTRA_HOST_FLAGS) ; do \
19620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19621 done; \
19622 echo "Doing pdf in libdecnumber" ; \
19623 (cd $(HOST_SUBDIR)/libdecnumber && \
19624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19626 "RANLIB=$${RANLIB}" \
19627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19628 pdf) \
19629 || exit 1
19631 @endif libdecnumber
19633 .PHONY: maybe-html-libdecnumber html-libdecnumber
19634 maybe-html-libdecnumber:
19635 @if libdecnumber
19636 maybe-html-libdecnumber: html-libdecnumber
19638 html-libdecnumber: \
19639 configure-libdecnumber
19640 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19641 r=`${PWD_COMMAND}`; export r; \
19642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19643 $(HOST_EXPORTS) \
19644 for flag in $(EXTRA_HOST_FLAGS) ; do \
19645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19646 done; \
19647 echo "Doing html in libdecnumber" ; \
19648 (cd $(HOST_SUBDIR)/libdecnumber && \
19649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19651 "RANLIB=$${RANLIB}" \
19652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19653 html) \
19654 || exit 1
19656 @endif libdecnumber
19658 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
19659 maybe-TAGS-libdecnumber:
19660 @if libdecnumber
19661 maybe-TAGS-libdecnumber: TAGS-libdecnumber
19663 TAGS-libdecnumber: \
19664 configure-libdecnumber
19665 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19666 r=`${PWD_COMMAND}`; export r; \
19667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19668 $(HOST_EXPORTS) \
19669 for flag in $(EXTRA_HOST_FLAGS) ; do \
19670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19671 done; \
19672 echo "Doing TAGS in libdecnumber" ; \
19673 (cd $(HOST_SUBDIR)/libdecnumber && \
19674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19676 "RANLIB=$${RANLIB}" \
19677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19678 TAGS) \
19679 || exit 1
19681 @endif libdecnumber
19683 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
19684 maybe-install-info-libdecnumber:
19685 @if libdecnumber
19686 maybe-install-info-libdecnumber: install-info-libdecnumber
19688 install-info-libdecnumber: \
19689 configure-libdecnumber \
19690 info-libdecnumber
19691 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19692 r=`${PWD_COMMAND}`; export r; \
19693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19694 $(HOST_EXPORTS) \
19695 for flag in $(EXTRA_HOST_FLAGS) ; do \
19696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19697 done; \
19698 echo "Doing install-info in libdecnumber" ; \
19699 (cd $(HOST_SUBDIR)/libdecnumber && \
19700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19702 "RANLIB=$${RANLIB}" \
19703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19704 install-info) \
19705 || exit 1
19707 @endif libdecnumber
19709 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
19710 maybe-install-html-libdecnumber:
19711 @if libdecnumber
19712 maybe-install-html-libdecnumber: install-html-libdecnumber
19714 install-html-libdecnumber: \
19715 configure-libdecnumber \
19716 html-libdecnumber
19717 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19718 r=`${PWD_COMMAND}`; export r; \
19719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19720 $(HOST_EXPORTS) \
19721 for flag in $(EXTRA_HOST_FLAGS) ; do \
19722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19723 done; \
19724 echo "Doing install-html in libdecnumber" ; \
19725 (cd $(HOST_SUBDIR)/libdecnumber && \
19726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19728 "RANLIB=$${RANLIB}" \
19729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19730 install-html) \
19731 || exit 1
19733 @endif libdecnumber
19735 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
19736 maybe-installcheck-libdecnumber:
19737 @if libdecnumber
19738 maybe-installcheck-libdecnumber: installcheck-libdecnumber
19740 installcheck-libdecnumber: \
19741 configure-libdecnumber
19742 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19743 r=`${PWD_COMMAND}`; export r; \
19744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19745 $(HOST_EXPORTS) \
19746 for flag in $(EXTRA_HOST_FLAGS) ; do \
19747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19748 done; \
19749 echo "Doing installcheck in libdecnumber" ; \
19750 (cd $(HOST_SUBDIR)/libdecnumber && \
19751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19753 "RANLIB=$${RANLIB}" \
19754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19755 installcheck) \
19756 || exit 1
19758 @endif libdecnumber
19760 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
19761 maybe-mostlyclean-libdecnumber:
19762 @if libdecnumber
19763 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
19765 mostlyclean-libdecnumber:
19766 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19767 r=`${PWD_COMMAND}`; export r; \
19768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19769 $(HOST_EXPORTS) \
19770 for flag in $(EXTRA_HOST_FLAGS) ; do \
19771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19772 done; \
19773 echo "Doing mostlyclean in libdecnumber" ; \
19774 (cd $(HOST_SUBDIR)/libdecnumber && \
19775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19777 "RANLIB=$${RANLIB}" \
19778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19779 mostlyclean) \
19780 || exit 1
19782 @endif libdecnumber
19784 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
19785 maybe-clean-libdecnumber:
19786 @if libdecnumber
19787 maybe-clean-libdecnumber: clean-libdecnumber
19789 clean-libdecnumber:
19790 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19791 r=`${PWD_COMMAND}`; export r; \
19792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19793 $(HOST_EXPORTS) \
19794 for flag in $(EXTRA_HOST_FLAGS) ; do \
19795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19796 done; \
19797 echo "Doing clean in libdecnumber" ; \
19798 (cd $(HOST_SUBDIR)/libdecnumber && \
19799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19801 "RANLIB=$${RANLIB}" \
19802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19803 clean) \
19804 || exit 1
19806 @endif libdecnumber
19808 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
19809 maybe-distclean-libdecnumber:
19810 @if libdecnumber
19811 maybe-distclean-libdecnumber: distclean-libdecnumber
19813 distclean-libdecnumber:
19814 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19815 r=`${PWD_COMMAND}`; export r; \
19816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19817 $(HOST_EXPORTS) \
19818 for flag in $(EXTRA_HOST_FLAGS) ; do \
19819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19820 done; \
19821 echo "Doing distclean in libdecnumber" ; \
19822 (cd $(HOST_SUBDIR)/libdecnumber && \
19823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19825 "RANLIB=$${RANLIB}" \
19826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19827 distclean) \
19828 || exit 1
19830 @endif libdecnumber
19832 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
19833 maybe-maintainer-clean-libdecnumber:
19834 @if libdecnumber
19835 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
19837 maintainer-clean-libdecnumber:
19838 @[ -f ./libdecnumber/Makefile ] || exit 0; \
19839 r=`${PWD_COMMAND}`; export r; \
19840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19841 $(HOST_EXPORTS) \
19842 for flag in $(EXTRA_HOST_FLAGS) ; do \
19843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19844 done; \
19845 echo "Doing maintainer-clean in libdecnumber" ; \
19846 (cd $(HOST_SUBDIR)/libdecnumber && \
19847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19849 "RANLIB=$${RANLIB}" \
19850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19851 maintainer-clean) \
19852 || exit 1
19854 @endif libdecnumber
19858 .PHONY: configure-libgui maybe-configure-libgui
19859 maybe-configure-libgui:
19860 @if gcc-bootstrap
19861 configure-libgui: stage_current
19862 @endif gcc-bootstrap
19863 @if libgui
19864 maybe-configure-libgui: configure-libgui
19865 configure-libgui:
19866 @: $(MAKE); $(unstage)
19867 @r=`${PWD_COMMAND}`; export r; \
19868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19869 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
19870 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
19871 $(HOST_EXPORTS) \
19872 echo Configuring in $(HOST_SUBDIR)/libgui; \
19873 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
19874 case $(srcdir) in \
19875 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19876 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
19877 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19878 esac; \
19879 srcdiroption="--srcdir=$${topdir}/libgui"; \
19880 libsrcdir="$$s/libgui"; \
19881 $(SHELL) $${libsrcdir}/configure \
19882 $(HOST_CONFIGARGS) $${srcdiroption} \
19883 || exit 1
19884 @endif libgui
19890 .PHONY: all-libgui maybe-all-libgui
19891 maybe-all-libgui:
19892 @if gcc-bootstrap
19893 all-libgui: stage_current
19894 @endif gcc-bootstrap
19895 @if libgui
19896 TARGET-libgui=all
19897 maybe-all-libgui: all-libgui
19898 all-libgui: configure-libgui
19899 @: $(MAKE); $(unstage)
19900 @r=`${PWD_COMMAND}`; export r; \
19901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19902 $(HOST_EXPORTS) \
19903 (cd $(HOST_SUBDIR)/libgui && \
19904 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
19905 @endif libgui
19910 .PHONY: check-libgui maybe-check-libgui
19911 maybe-check-libgui:
19912 @if libgui
19913 maybe-check-libgui: check-libgui
19915 check-libgui:
19916 @: $(MAKE); $(unstage)
19917 @r=`${PWD_COMMAND}`; export r; \
19918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19919 $(HOST_EXPORTS) \
19920 (cd $(HOST_SUBDIR)/libgui && \
19921 $(MAKE) $(FLAGS_TO_PASS) check)
19923 @endif libgui
19925 .PHONY: install-libgui maybe-install-libgui
19926 maybe-install-libgui:
19927 @if libgui
19928 maybe-install-libgui: install-libgui
19930 install-libgui: installdirs
19931 @: $(MAKE); $(unstage)
19932 @r=`${PWD_COMMAND}`; export r; \
19933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19934 $(HOST_EXPORTS) \
19935 (cd $(HOST_SUBDIR)/libgui && \
19936 $(MAKE) $(FLAGS_TO_PASS) install)
19938 @endif libgui
19940 # Other targets (info, dvi, pdf, etc.)
19942 .PHONY: maybe-info-libgui info-libgui
19943 maybe-info-libgui:
19944 @if libgui
19945 maybe-info-libgui: info-libgui
19947 info-libgui: \
19948 configure-libgui
19949 @: $(MAKE); $(unstage)
19950 @[ -f ./libgui/Makefile ] || exit 0; \
19951 r=`${PWD_COMMAND}`; export r; \
19952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19953 $(HOST_EXPORTS) \
19954 for flag in $(EXTRA_HOST_FLAGS) ; do \
19955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19956 done; \
19957 echo "Doing info in libgui" ; \
19958 (cd $(HOST_SUBDIR)/libgui && \
19959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19961 "RANLIB=$${RANLIB}" \
19962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19963 info) \
19964 || exit 1
19966 @endif libgui
19968 .PHONY: maybe-dvi-libgui dvi-libgui
19969 maybe-dvi-libgui:
19970 @if libgui
19971 maybe-dvi-libgui: dvi-libgui
19973 dvi-libgui: \
19974 configure-libgui
19975 @: $(MAKE); $(unstage)
19976 @[ -f ./libgui/Makefile ] || exit 0; \
19977 r=`${PWD_COMMAND}`; export r; \
19978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19979 $(HOST_EXPORTS) \
19980 for flag in $(EXTRA_HOST_FLAGS) ; do \
19981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19982 done; \
19983 echo "Doing dvi in libgui" ; \
19984 (cd $(HOST_SUBDIR)/libgui && \
19985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19987 "RANLIB=$${RANLIB}" \
19988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19989 dvi) \
19990 || exit 1
19992 @endif libgui
19994 .PHONY: maybe-pdf-libgui pdf-libgui
19995 maybe-pdf-libgui:
19996 @if libgui
19997 maybe-pdf-libgui: pdf-libgui
19999 pdf-libgui: \
20000 configure-libgui
20001 @: $(MAKE); $(unstage)
20002 @[ -f ./libgui/Makefile ] || exit 0; \
20003 r=`${PWD_COMMAND}`; export r; \
20004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20005 $(HOST_EXPORTS) \
20006 for flag in $(EXTRA_HOST_FLAGS) ; do \
20007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20008 done; \
20009 echo "Doing pdf in libgui" ; \
20010 (cd $(HOST_SUBDIR)/libgui && \
20011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20013 "RANLIB=$${RANLIB}" \
20014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20015 pdf) \
20016 || exit 1
20018 @endif libgui
20020 .PHONY: maybe-html-libgui html-libgui
20021 maybe-html-libgui:
20022 @if libgui
20023 maybe-html-libgui: html-libgui
20025 html-libgui: \
20026 configure-libgui
20027 @: $(MAKE); $(unstage)
20028 @[ -f ./libgui/Makefile ] || exit 0; \
20029 r=`${PWD_COMMAND}`; export r; \
20030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20031 $(HOST_EXPORTS) \
20032 for flag in $(EXTRA_HOST_FLAGS) ; do \
20033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20034 done; \
20035 echo "Doing html in libgui" ; \
20036 (cd $(HOST_SUBDIR)/libgui && \
20037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20039 "RANLIB=$${RANLIB}" \
20040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20041 html) \
20042 || exit 1
20044 @endif libgui
20046 .PHONY: maybe-TAGS-libgui TAGS-libgui
20047 maybe-TAGS-libgui:
20048 @if libgui
20049 maybe-TAGS-libgui: TAGS-libgui
20051 TAGS-libgui: \
20052 configure-libgui
20053 @: $(MAKE); $(unstage)
20054 @[ -f ./libgui/Makefile ] || exit 0; \
20055 r=`${PWD_COMMAND}`; export r; \
20056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20057 $(HOST_EXPORTS) \
20058 for flag in $(EXTRA_HOST_FLAGS) ; do \
20059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20060 done; \
20061 echo "Doing TAGS in libgui" ; \
20062 (cd $(HOST_SUBDIR)/libgui && \
20063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20065 "RANLIB=$${RANLIB}" \
20066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20067 TAGS) \
20068 || exit 1
20070 @endif libgui
20072 .PHONY: maybe-install-info-libgui install-info-libgui
20073 maybe-install-info-libgui:
20074 @if libgui
20075 maybe-install-info-libgui: install-info-libgui
20077 install-info-libgui: \
20078 configure-libgui \
20079 info-libgui
20080 @: $(MAKE); $(unstage)
20081 @[ -f ./libgui/Makefile ] || exit 0; \
20082 r=`${PWD_COMMAND}`; export r; \
20083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20084 $(HOST_EXPORTS) \
20085 for flag in $(EXTRA_HOST_FLAGS) ; do \
20086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20087 done; \
20088 echo "Doing install-info in libgui" ; \
20089 (cd $(HOST_SUBDIR)/libgui && \
20090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20092 "RANLIB=$${RANLIB}" \
20093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20094 install-info) \
20095 || exit 1
20097 @endif libgui
20099 .PHONY: maybe-install-html-libgui install-html-libgui
20100 maybe-install-html-libgui:
20101 @if libgui
20102 maybe-install-html-libgui: install-html-libgui
20104 install-html-libgui: \
20105 configure-libgui \
20106 html-libgui
20107 @: $(MAKE); $(unstage)
20108 @[ -f ./libgui/Makefile ] || exit 0; \
20109 r=`${PWD_COMMAND}`; export r; \
20110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20111 $(HOST_EXPORTS) \
20112 for flag in $(EXTRA_HOST_FLAGS) ; do \
20113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20114 done; \
20115 echo "Doing install-html in libgui" ; \
20116 (cd $(HOST_SUBDIR)/libgui && \
20117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20119 "RANLIB=$${RANLIB}" \
20120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20121 install-html) \
20122 || exit 1
20124 @endif libgui
20126 .PHONY: maybe-installcheck-libgui installcheck-libgui
20127 maybe-installcheck-libgui:
20128 @if libgui
20129 maybe-installcheck-libgui: installcheck-libgui
20131 installcheck-libgui: \
20132 configure-libgui
20133 @: $(MAKE); $(unstage)
20134 @[ -f ./libgui/Makefile ] || exit 0; \
20135 r=`${PWD_COMMAND}`; export r; \
20136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20137 $(HOST_EXPORTS) \
20138 for flag in $(EXTRA_HOST_FLAGS) ; do \
20139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20140 done; \
20141 echo "Doing installcheck in libgui" ; \
20142 (cd $(HOST_SUBDIR)/libgui && \
20143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20145 "RANLIB=$${RANLIB}" \
20146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20147 installcheck) \
20148 || exit 1
20150 @endif libgui
20152 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
20153 maybe-mostlyclean-libgui:
20154 @if libgui
20155 maybe-mostlyclean-libgui: mostlyclean-libgui
20157 mostlyclean-libgui:
20158 @: $(MAKE); $(unstage)
20159 @[ -f ./libgui/Makefile ] || exit 0; \
20160 r=`${PWD_COMMAND}`; export r; \
20161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20162 $(HOST_EXPORTS) \
20163 for flag in $(EXTRA_HOST_FLAGS) ; do \
20164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20165 done; \
20166 echo "Doing mostlyclean in libgui" ; \
20167 (cd $(HOST_SUBDIR)/libgui && \
20168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20170 "RANLIB=$${RANLIB}" \
20171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20172 mostlyclean) \
20173 || exit 1
20175 @endif libgui
20177 .PHONY: maybe-clean-libgui clean-libgui
20178 maybe-clean-libgui:
20179 @if libgui
20180 maybe-clean-libgui: clean-libgui
20182 clean-libgui:
20183 @: $(MAKE); $(unstage)
20184 @[ -f ./libgui/Makefile ] || exit 0; \
20185 r=`${PWD_COMMAND}`; export r; \
20186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20187 $(HOST_EXPORTS) \
20188 for flag in $(EXTRA_HOST_FLAGS) ; do \
20189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20190 done; \
20191 echo "Doing clean in libgui" ; \
20192 (cd $(HOST_SUBDIR)/libgui && \
20193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20195 "RANLIB=$${RANLIB}" \
20196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20197 clean) \
20198 || exit 1
20200 @endif libgui
20202 .PHONY: maybe-distclean-libgui distclean-libgui
20203 maybe-distclean-libgui:
20204 @if libgui
20205 maybe-distclean-libgui: distclean-libgui
20207 distclean-libgui:
20208 @: $(MAKE); $(unstage)
20209 @[ -f ./libgui/Makefile ] || exit 0; \
20210 r=`${PWD_COMMAND}`; export r; \
20211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20212 $(HOST_EXPORTS) \
20213 for flag in $(EXTRA_HOST_FLAGS) ; do \
20214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20215 done; \
20216 echo "Doing distclean in libgui" ; \
20217 (cd $(HOST_SUBDIR)/libgui && \
20218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20220 "RANLIB=$${RANLIB}" \
20221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20222 distclean) \
20223 || exit 1
20225 @endif libgui
20227 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
20228 maybe-maintainer-clean-libgui:
20229 @if libgui
20230 maybe-maintainer-clean-libgui: maintainer-clean-libgui
20232 maintainer-clean-libgui:
20233 @: $(MAKE); $(unstage)
20234 @[ -f ./libgui/Makefile ] || exit 0; \
20235 r=`${PWD_COMMAND}`; export r; \
20236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20237 $(HOST_EXPORTS) \
20238 for flag in $(EXTRA_HOST_FLAGS) ; do \
20239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20240 done; \
20241 echo "Doing maintainer-clean in libgui" ; \
20242 (cd $(HOST_SUBDIR)/libgui && \
20243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20245 "RANLIB=$${RANLIB}" \
20246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20247 maintainer-clean) \
20248 || exit 1
20250 @endif libgui
20254 .PHONY: configure-libiberty maybe-configure-libiberty
20255 maybe-configure-libiberty:
20256 @if gcc-bootstrap
20257 configure-libiberty: stage_current
20258 @endif gcc-bootstrap
20259 @if libiberty
20260 maybe-configure-libiberty: configure-libiberty
20261 configure-libiberty:
20262 @r=`${PWD_COMMAND}`; export r; \
20263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20264 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20265 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20266 $(HOST_EXPORTS) \
20267 echo Configuring in $(HOST_SUBDIR)/libiberty; \
20268 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
20269 case $(srcdir) in \
20270 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20271 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20272 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20273 esac; \
20274 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20275 libsrcdir="$$s/libiberty"; \
20276 $(SHELL) $${libsrcdir}/configure \
20277 $(HOST_CONFIGARGS) $${srcdiroption} \
20278 || exit 1
20279 @endif libiberty
20283 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
20284 maybe-configure-stage1-libiberty:
20285 @if libiberty-bootstrap
20286 maybe-configure-stage1-libiberty: configure-stage1-libiberty
20287 configure-stage1-libiberty:
20288 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20289 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20290 @r=`${PWD_COMMAND}`; export r; \
20291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20292 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20293 $(HOST_EXPORTS) \
20294 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
20295 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20296 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20297 case $(srcdir) in \
20298 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20299 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20300 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20301 esac; \
20302 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20303 libsrcdir="$$s/libiberty"; \
20304 $(SHELL) $${libsrcdir}/configure \
20305 $(HOST_CONFIGARGS) $${srcdiroption} \
20307 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
20308 @endif libiberty-bootstrap
20310 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
20311 maybe-configure-stage2-libiberty:
20312 @if libiberty-bootstrap
20313 maybe-configure-stage2-libiberty: configure-stage2-libiberty
20314 configure-stage2-libiberty:
20315 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20316 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20317 @r=`${PWD_COMMAND}`; export r; \
20318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20319 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20320 $(HOST_EXPORTS) \
20321 $(POSTSTAGE1_HOST_EXPORTS) \
20322 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
20323 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20324 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20325 case $(srcdir) in \
20326 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20327 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20328 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20329 esac; \
20330 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20331 libsrcdir="$$s/libiberty"; \
20332 $(SHELL) $${libsrcdir}/configure \
20333 $(HOST_CONFIGARGS) $${srcdiroption} \
20334 --with-build-libsubdir=$(HOST_SUBDIR) \
20335 @stage2_werror_flag@
20336 @endif libiberty-bootstrap
20338 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
20339 maybe-configure-stage3-libiberty:
20340 @if libiberty-bootstrap
20341 maybe-configure-stage3-libiberty: configure-stage3-libiberty
20342 configure-stage3-libiberty:
20343 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20344 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20345 @r=`${PWD_COMMAND}`; export r; \
20346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20347 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20348 $(HOST_EXPORTS) \
20349 $(POSTSTAGE1_HOST_EXPORTS) \
20350 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
20351 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20352 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20353 case $(srcdir) in \
20354 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20355 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20356 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20357 esac; \
20358 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20359 libsrcdir="$$s/libiberty"; \
20360 $(SHELL) $${libsrcdir}/configure \
20361 $(HOST_CONFIGARGS) $${srcdiroption} \
20362 --with-build-libsubdir=$(HOST_SUBDIR) \
20363 @stage2_werror_flag@
20364 @endif libiberty-bootstrap
20366 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
20367 maybe-configure-stage4-libiberty:
20368 @if libiberty-bootstrap
20369 maybe-configure-stage4-libiberty: configure-stage4-libiberty
20370 configure-stage4-libiberty:
20371 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20372 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20373 @r=`${PWD_COMMAND}`; export r; \
20374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20375 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20376 $(HOST_EXPORTS) \
20377 $(POSTSTAGE1_HOST_EXPORTS) \
20378 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
20379 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20380 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20381 case $(srcdir) in \
20382 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20383 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20384 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20385 esac; \
20386 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20387 libsrcdir="$$s/libiberty"; \
20388 $(SHELL) $${libsrcdir}/configure \
20389 $(HOST_CONFIGARGS) $${srcdiroption} \
20390 --with-build-libsubdir=$(HOST_SUBDIR) \
20391 @stage2_werror_flag@
20392 @endif libiberty-bootstrap
20394 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
20395 maybe-configure-stageprofile-libiberty:
20396 @if libiberty-bootstrap
20397 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
20398 configure-stageprofile-libiberty:
20399 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20400 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20401 @r=`${PWD_COMMAND}`; export r; \
20402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20403 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20404 $(HOST_EXPORTS) \
20405 $(POSTSTAGE1_HOST_EXPORTS) \
20406 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
20407 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20408 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20409 case $(srcdir) in \
20410 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20411 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20412 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20413 esac; \
20414 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20415 libsrcdir="$$s/libiberty"; \
20416 $(SHELL) $${libsrcdir}/configure \
20417 $(HOST_CONFIGARGS) $${srcdiroption} \
20418 --with-build-libsubdir=$(HOST_SUBDIR) \
20419 @stage2_werror_flag@
20420 @endif libiberty-bootstrap
20422 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
20423 maybe-configure-stagefeedback-libiberty:
20424 @if libiberty-bootstrap
20425 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
20426 configure-stagefeedback-libiberty:
20427 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20428 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
20429 @r=`${PWD_COMMAND}`; export r; \
20430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20431 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
20432 $(HOST_EXPORTS) \
20433 $(POSTSTAGE1_HOST_EXPORTS) \
20434 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
20435 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
20436 cd $(HOST_SUBDIR)/libiberty || exit 1; \
20437 case $(srcdir) in \
20438 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20439 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
20440 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20441 esac; \
20442 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20443 libsrcdir="$$s/libiberty"; \
20444 $(SHELL) $${libsrcdir}/configure \
20445 $(HOST_CONFIGARGS) $${srcdiroption} \
20446 --with-build-libsubdir=$(HOST_SUBDIR) \
20447 @stage2_werror_flag@
20448 @endif libiberty-bootstrap
20454 .PHONY: all-libiberty maybe-all-libiberty
20455 maybe-all-libiberty:
20456 @if gcc-bootstrap
20457 all-libiberty: stage_current
20458 @endif gcc-bootstrap
20459 @if libiberty
20460 TARGET-libiberty=all
20461 maybe-all-libiberty: all-libiberty
20462 all-libiberty: configure-libiberty
20463 @r=`${PWD_COMMAND}`; export r; \
20464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20465 $(HOST_EXPORTS) \
20466 (cd $(HOST_SUBDIR)/libiberty && \
20467 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
20468 @endif libiberty
20472 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
20473 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
20474 maybe-all-stage1-libiberty:
20475 maybe-clean-stage1-libiberty:
20476 @if libiberty-bootstrap
20477 maybe-all-stage1-libiberty: all-stage1-libiberty
20478 all-stage1: all-stage1-libiberty
20479 TARGET-stage1-libiberty = $(TARGET-libiberty)
20480 all-stage1-libiberty: configure-stage1-libiberty
20481 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20482 @r=`${PWD_COMMAND}`; export r; \
20483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20484 $(HOST_EXPORTS) \
20485 cd $(HOST_SUBDIR)/libiberty && \
20486 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
20487 $(TARGET-stage1-libiberty)
20489 maybe-clean-stage1-libiberty: clean-stage1-libiberty
20490 clean-stage1: clean-stage1-libiberty
20491 clean-stage1-libiberty:
20492 @if [ $(current_stage) = stage1 ]; then \
20493 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20494 else \
20495 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
20496 $(MAKE) stage1-start; \
20497 fi; \
20498 cd $(HOST_SUBDIR)/libiberty && \
20499 $(MAKE) $(FLAGS_TO_PASS) \
20500 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
20501 @endif libiberty-bootstrap
20504 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
20505 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
20506 maybe-all-stage2-libiberty:
20507 maybe-clean-stage2-libiberty:
20508 @if libiberty-bootstrap
20509 maybe-all-stage2-libiberty: all-stage2-libiberty
20510 all-stage2: all-stage2-libiberty
20511 TARGET-stage2-libiberty = $(TARGET-libiberty)
20512 all-stage2-libiberty: configure-stage2-libiberty
20513 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20514 @r=`${PWD_COMMAND}`; export r; \
20515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20516 $(HOST_EXPORTS) \
20517 $(POSTSTAGE1_HOST_EXPORTS) \
20518 cd $(HOST_SUBDIR)/libiberty && \
20519 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20520 $(TARGET-stage2-libiberty)
20522 maybe-clean-stage2-libiberty: clean-stage2-libiberty
20523 clean-stage2: clean-stage2-libiberty
20524 clean-stage2-libiberty:
20525 @if [ $(current_stage) = stage2 ]; then \
20526 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20527 else \
20528 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
20529 $(MAKE) stage2-start; \
20530 fi; \
20531 cd $(HOST_SUBDIR)/libiberty && \
20532 $(MAKE) $(FLAGS_TO_PASS) \
20533 $(POSTSTAGE1_FLAGS_TO_PASS) \
20534 clean
20535 @endif libiberty-bootstrap
20538 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
20539 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
20540 maybe-all-stage3-libiberty:
20541 maybe-clean-stage3-libiberty:
20542 @if libiberty-bootstrap
20543 maybe-all-stage3-libiberty: all-stage3-libiberty
20544 all-stage3: all-stage3-libiberty
20545 TARGET-stage3-libiberty = $(TARGET-libiberty)
20546 all-stage3-libiberty: configure-stage3-libiberty
20547 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20548 @r=`${PWD_COMMAND}`; export r; \
20549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20550 $(HOST_EXPORTS) \
20551 $(POSTSTAGE1_HOST_EXPORTS) \
20552 cd $(HOST_SUBDIR)/libiberty && \
20553 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20554 $(TARGET-stage3-libiberty)
20556 maybe-clean-stage3-libiberty: clean-stage3-libiberty
20557 clean-stage3: clean-stage3-libiberty
20558 clean-stage3-libiberty:
20559 @if [ $(current_stage) = stage3 ]; then \
20560 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20561 else \
20562 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
20563 $(MAKE) stage3-start; \
20564 fi; \
20565 cd $(HOST_SUBDIR)/libiberty && \
20566 $(MAKE) $(FLAGS_TO_PASS) \
20567 $(POSTSTAGE1_FLAGS_TO_PASS) \
20568 clean
20569 @endif libiberty-bootstrap
20572 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
20573 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
20574 maybe-all-stage4-libiberty:
20575 maybe-clean-stage4-libiberty:
20576 @if libiberty-bootstrap
20577 maybe-all-stage4-libiberty: all-stage4-libiberty
20578 all-stage4: all-stage4-libiberty
20579 TARGET-stage4-libiberty = $(TARGET-libiberty)
20580 all-stage4-libiberty: configure-stage4-libiberty
20581 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20582 @r=`${PWD_COMMAND}`; export r; \
20583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20584 $(HOST_EXPORTS) \
20585 $(POSTSTAGE1_HOST_EXPORTS) \
20586 cd $(HOST_SUBDIR)/libiberty && \
20587 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20588 $(TARGET-stage4-libiberty)
20590 maybe-clean-stage4-libiberty: clean-stage4-libiberty
20591 clean-stage4: clean-stage4-libiberty
20592 clean-stage4-libiberty:
20593 @if [ $(current_stage) = stage4 ]; then \
20594 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20595 else \
20596 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
20597 $(MAKE) stage4-start; \
20598 fi; \
20599 cd $(HOST_SUBDIR)/libiberty && \
20600 $(MAKE) $(FLAGS_TO_PASS) \
20601 $(POSTSTAGE1_FLAGS_TO_PASS) \
20602 clean
20603 @endif libiberty-bootstrap
20606 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
20607 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
20608 maybe-all-stageprofile-libiberty:
20609 maybe-clean-stageprofile-libiberty:
20610 @if libiberty-bootstrap
20611 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
20612 all-stageprofile: all-stageprofile-libiberty
20613 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
20614 all-stageprofile-libiberty: configure-stageprofile-libiberty
20615 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20616 @r=`${PWD_COMMAND}`; export r; \
20617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20618 $(HOST_EXPORTS) \
20619 $(POSTSTAGE1_HOST_EXPORTS) \
20620 cd $(HOST_SUBDIR)/libiberty && \
20621 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
20622 $(TARGET-stageprofile-libiberty)
20624 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
20625 clean-stageprofile: clean-stageprofile-libiberty
20626 clean-stageprofile-libiberty:
20627 @if [ $(current_stage) = stageprofile ]; then \
20628 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20629 else \
20630 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
20631 $(MAKE) stageprofile-start; \
20632 fi; \
20633 cd $(HOST_SUBDIR)/libiberty && \
20634 $(MAKE) $(FLAGS_TO_PASS) \
20635 $(POSTSTAGE1_FLAGS_TO_PASS) \
20636 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
20637 @endif libiberty-bootstrap
20640 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
20641 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
20642 maybe-all-stagefeedback-libiberty:
20643 maybe-clean-stagefeedback-libiberty:
20644 @if libiberty-bootstrap
20645 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
20646 all-stagefeedback: all-stagefeedback-libiberty
20647 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
20648 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
20649 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20650 @r=`${PWD_COMMAND}`; export r; \
20651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20652 $(HOST_EXPORTS) \
20653 $(POSTSTAGE1_HOST_EXPORTS) \
20654 cd $(HOST_SUBDIR)/libiberty && \
20655 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
20656 $(TARGET-stagefeedback-libiberty)
20658 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
20659 clean-stagefeedback: clean-stagefeedback-libiberty
20660 clean-stagefeedback-libiberty:
20661 @if [ $(current_stage) = stagefeedback ]; then \
20662 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
20663 else \
20664 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
20665 $(MAKE) stagefeedback-start; \
20666 fi; \
20667 cd $(HOST_SUBDIR)/libiberty && \
20668 $(MAKE) $(FLAGS_TO_PASS) \
20669 $(POSTSTAGE1_FLAGS_TO_PASS) \
20670 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
20671 @endif libiberty-bootstrap
20677 .PHONY: check-libiberty maybe-check-libiberty
20678 maybe-check-libiberty:
20679 @if libiberty
20680 maybe-check-libiberty: check-libiberty
20682 check-libiberty:
20683 @: $(MAKE); $(unstage)
20684 @r=`${PWD_COMMAND}`; export r; \
20685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20686 $(HOST_EXPORTS) \
20687 (cd $(HOST_SUBDIR)/libiberty && \
20688 $(MAKE) $(FLAGS_TO_PASS) check)
20690 @endif libiberty
20692 .PHONY: install-libiberty maybe-install-libiberty
20693 maybe-install-libiberty:
20694 @if libiberty
20695 maybe-install-libiberty: install-libiberty
20697 install-libiberty: installdirs
20698 @: $(MAKE); $(unstage)
20699 @r=`${PWD_COMMAND}`; export r; \
20700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20701 $(HOST_EXPORTS) \
20702 (cd $(HOST_SUBDIR)/libiberty && \
20703 $(MAKE) $(FLAGS_TO_PASS) install)
20705 @endif libiberty
20707 # Other targets (info, dvi, pdf, etc.)
20709 .PHONY: maybe-info-libiberty info-libiberty
20710 maybe-info-libiberty:
20711 @if libiberty
20712 maybe-info-libiberty: info-libiberty
20714 info-libiberty: \
20715 configure-libiberty
20716 @[ -f ./libiberty/Makefile ] || exit 0; \
20717 r=`${PWD_COMMAND}`; export r; \
20718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20719 $(HOST_EXPORTS) \
20720 for flag in $(EXTRA_HOST_FLAGS) ; do \
20721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20722 done; \
20723 echo "Doing info in libiberty" ; \
20724 (cd $(HOST_SUBDIR)/libiberty && \
20725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20727 "RANLIB=$${RANLIB}" \
20728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20729 info) \
20730 || exit 1
20732 @endif libiberty
20734 .PHONY: maybe-dvi-libiberty dvi-libiberty
20735 maybe-dvi-libiberty:
20736 @if libiberty
20737 maybe-dvi-libiberty: dvi-libiberty
20739 dvi-libiberty: \
20740 configure-libiberty
20741 @[ -f ./libiberty/Makefile ] || exit 0; \
20742 r=`${PWD_COMMAND}`; export r; \
20743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20744 $(HOST_EXPORTS) \
20745 for flag in $(EXTRA_HOST_FLAGS) ; do \
20746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20747 done; \
20748 echo "Doing dvi in libiberty" ; \
20749 (cd $(HOST_SUBDIR)/libiberty && \
20750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20752 "RANLIB=$${RANLIB}" \
20753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20754 dvi) \
20755 || exit 1
20757 @endif libiberty
20759 .PHONY: maybe-pdf-libiberty pdf-libiberty
20760 maybe-pdf-libiberty:
20761 @if libiberty
20762 maybe-pdf-libiberty: pdf-libiberty
20764 pdf-libiberty: \
20765 configure-libiberty
20766 @[ -f ./libiberty/Makefile ] || exit 0; \
20767 r=`${PWD_COMMAND}`; export r; \
20768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20769 $(HOST_EXPORTS) \
20770 for flag in $(EXTRA_HOST_FLAGS) ; do \
20771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20772 done; \
20773 echo "Doing pdf in libiberty" ; \
20774 (cd $(HOST_SUBDIR)/libiberty && \
20775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20777 "RANLIB=$${RANLIB}" \
20778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20779 pdf) \
20780 || exit 1
20782 @endif libiberty
20784 .PHONY: maybe-html-libiberty html-libiberty
20785 maybe-html-libiberty:
20786 @if libiberty
20787 maybe-html-libiberty: html-libiberty
20789 html-libiberty: \
20790 configure-libiberty
20791 @[ -f ./libiberty/Makefile ] || exit 0; \
20792 r=`${PWD_COMMAND}`; export r; \
20793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20794 $(HOST_EXPORTS) \
20795 for flag in $(EXTRA_HOST_FLAGS) ; do \
20796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20797 done; \
20798 echo "Doing html in libiberty" ; \
20799 (cd $(HOST_SUBDIR)/libiberty && \
20800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20802 "RANLIB=$${RANLIB}" \
20803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20804 html) \
20805 || exit 1
20807 @endif libiberty
20809 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
20810 maybe-TAGS-libiberty:
20811 @if libiberty
20812 maybe-TAGS-libiberty: TAGS-libiberty
20814 TAGS-libiberty: \
20815 configure-libiberty
20816 @[ -f ./libiberty/Makefile ] || exit 0; \
20817 r=`${PWD_COMMAND}`; export r; \
20818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20819 $(HOST_EXPORTS) \
20820 for flag in $(EXTRA_HOST_FLAGS) ; do \
20821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20822 done; \
20823 echo "Doing TAGS in libiberty" ; \
20824 (cd $(HOST_SUBDIR)/libiberty && \
20825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20827 "RANLIB=$${RANLIB}" \
20828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20829 TAGS) \
20830 || exit 1
20832 @endif libiberty
20834 .PHONY: maybe-install-info-libiberty install-info-libiberty
20835 maybe-install-info-libiberty:
20836 @if libiberty
20837 maybe-install-info-libiberty: install-info-libiberty
20839 install-info-libiberty: \
20840 configure-libiberty \
20841 info-libiberty
20842 @[ -f ./libiberty/Makefile ] || exit 0; \
20843 r=`${PWD_COMMAND}`; export r; \
20844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20845 $(HOST_EXPORTS) \
20846 for flag in $(EXTRA_HOST_FLAGS) ; do \
20847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20848 done; \
20849 echo "Doing install-info in libiberty" ; \
20850 (cd $(HOST_SUBDIR)/libiberty && \
20851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20853 "RANLIB=$${RANLIB}" \
20854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20855 install-info) \
20856 || exit 1
20858 @endif libiberty
20860 .PHONY: maybe-install-html-libiberty install-html-libiberty
20861 maybe-install-html-libiberty:
20862 @if libiberty
20863 maybe-install-html-libiberty: install-html-libiberty
20865 install-html-libiberty: \
20866 configure-libiberty \
20867 html-libiberty
20868 @[ -f ./libiberty/Makefile ] || exit 0; \
20869 r=`${PWD_COMMAND}`; export r; \
20870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20871 $(HOST_EXPORTS) \
20872 for flag in $(EXTRA_HOST_FLAGS) ; do \
20873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20874 done; \
20875 echo "Doing install-html in libiberty" ; \
20876 (cd $(HOST_SUBDIR)/libiberty && \
20877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20879 "RANLIB=$${RANLIB}" \
20880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20881 install-html) \
20882 || exit 1
20884 @endif libiberty
20886 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
20887 maybe-installcheck-libiberty:
20888 @if libiberty
20889 maybe-installcheck-libiberty: installcheck-libiberty
20891 installcheck-libiberty: \
20892 configure-libiberty
20893 @[ -f ./libiberty/Makefile ] || exit 0; \
20894 r=`${PWD_COMMAND}`; export r; \
20895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20896 $(HOST_EXPORTS) \
20897 for flag in $(EXTRA_HOST_FLAGS) ; do \
20898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20899 done; \
20900 echo "Doing installcheck in libiberty" ; \
20901 (cd $(HOST_SUBDIR)/libiberty && \
20902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20904 "RANLIB=$${RANLIB}" \
20905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20906 installcheck) \
20907 || exit 1
20909 @endif libiberty
20911 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
20912 maybe-mostlyclean-libiberty:
20913 @if libiberty
20914 maybe-mostlyclean-libiberty: mostlyclean-libiberty
20916 mostlyclean-libiberty:
20917 @[ -f ./libiberty/Makefile ] || exit 0; \
20918 r=`${PWD_COMMAND}`; export r; \
20919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20920 $(HOST_EXPORTS) \
20921 for flag in $(EXTRA_HOST_FLAGS) ; do \
20922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20923 done; \
20924 echo "Doing mostlyclean in libiberty" ; \
20925 (cd $(HOST_SUBDIR)/libiberty && \
20926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20928 "RANLIB=$${RANLIB}" \
20929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20930 mostlyclean) \
20931 || exit 1
20933 @endif libiberty
20935 .PHONY: maybe-clean-libiberty clean-libiberty
20936 maybe-clean-libiberty:
20937 @if libiberty
20938 maybe-clean-libiberty: clean-libiberty
20940 clean-libiberty:
20941 @[ -f ./libiberty/Makefile ] || exit 0; \
20942 r=`${PWD_COMMAND}`; export r; \
20943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20944 $(HOST_EXPORTS) \
20945 for flag in $(EXTRA_HOST_FLAGS) ; do \
20946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20947 done; \
20948 echo "Doing clean in libiberty" ; \
20949 (cd $(HOST_SUBDIR)/libiberty && \
20950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20952 "RANLIB=$${RANLIB}" \
20953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20954 clean) \
20955 || exit 1
20957 @endif libiberty
20959 .PHONY: maybe-distclean-libiberty distclean-libiberty
20960 maybe-distclean-libiberty:
20961 @if libiberty
20962 maybe-distclean-libiberty: distclean-libiberty
20964 distclean-libiberty:
20965 @[ -f ./libiberty/Makefile ] || exit 0; \
20966 r=`${PWD_COMMAND}`; export r; \
20967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20968 $(HOST_EXPORTS) \
20969 for flag in $(EXTRA_HOST_FLAGS) ; do \
20970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20971 done; \
20972 echo "Doing distclean in libiberty" ; \
20973 (cd $(HOST_SUBDIR)/libiberty && \
20974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20976 "RANLIB=$${RANLIB}" \
20977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20978 distclean) \
20979 || exit 1
20981 @endif libiberty
20983 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
20984 maybe-maintainer-clean-libiberty:
20985 @if libiberty
20986 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
20988 maintainer-clean-libiberty:
20989 @[ -f ./libiberty/Makefile ] || exit 0; \
20990 r=`${PWD_COMMAND}`; export r; \
20991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20992 $(HOST_EXPORTS) \
20993 for flag in $(EXTRA_HOST_FLAGS) ; do \
20994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20995 done; \
20996 echo "Doing maintainer-clean in libiberty" ; \
20997 (cd $(HOST_SUBDIR)/libiberty && \
20998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21000 "RANLIB=$${RANLIB}" \
21001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21002 maintainer-clean) \
21003 || exit 1
21005 @endif libiberty
21009 .PHONY: configure-libtool maybe-configure-libtool
21010 maybe-configure-libtool:
21011 @if gcc-bootstrap
21012 configure-libtool: stage_current
21013 @endif gcc-bootstrap
21014 @if libtool
21015 maybe-configure-libtool: configure-libtool
21016 configure-libtool:
21017 @: $(MAKE); $(unstage)
21018 @r=`${PWD_COMMAND}`; export r; \
21019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21020 test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
21021 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
21022 $(HOST_EXPORTS) \
21023 echo Configuring in $(HOST_SUBDIR)/libtool; \
21024 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
21025 case $(srcdir) in \
21026 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21027 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
21028 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21029 esac; \
21030 srcdiroption="--srcdir=$${topdir}/libtool"; \
21031 libsrcdir="$$s/libtool"; \
21032 $(SHELL) $${libsrcdir}/configure \
21033 $(HOST_CONFIGARGS) $${srcdiroption} \
21034 || exit 1
21035 @endif libtool
21041 .PHONY: all-libtool maybe-all-libtool
21042 maybe-all-libtool:
21043 @if gcc-bootstrap
21044 all-libtool: stage_current
21045 @endif gcc-bootstrap
21046 @if libtool
21047 TARGET-libtool=all
21048 maybe-all-libtool: all-libtool
21049 all-libtool: configure-libtool
21050 @: $(MAKE); $(unstage)
21051 @r=`${PWD_COMMAND}`; export r; \
21052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21053 $(HOST_EXPORTS) \
21054 (cd $(HOST_SUBDIR)/libtool && \
21055 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
21056 @endif libtool
21061 .PHONY: check-libtool maybe-check-libtool
21062 maybe-check-libtool:
21063 @if libtool
21064 maybe-check-libtool: check-libtool
21066 check-libtool:
21067 @: $(MAKE); $(unstage)
21068 @r=`${PWD_COMMAND}`; export r; \
21069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21070 $(HOST_EXPORTS) \
21071 (cd $(HOST_SUBDIR)/libtool && \
21072 $(MAKE) $(FLAGS_TO_PASS) check)
21074 @endif libtool
21076 .PHONY: install-libtool maybe-install-libtool
21077 maybe-install-libtool:
21078 @if libtool
21079 maybe-install-libtool: install-libtool
21081 install-libtool: installdirs
21082 @: $(MAKE); $(unstage)
21083 @r=`${PWD_COMMAND}`; export r; \
21084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21085 $(HOST_EXPORTS) \
21086 (cd $(HOST_SUBDIR)/libtool && \
21087 $(MAKE) $(FLAGS_TO_PASS) install)
21089 @endif libtool
21091 # Other targets (info, dvi, pdf, etc.)
21093 .PHONY: maybe-info-libtool info-libtool
21094 maybe-info-libtool:
21095 @if libtool
21096 maybe-info-libtool: info-libtool
21098 info-libtool: \
21099 configure-libtool
21100 @: $(MAKE); $(unstage)
21101 @[ -f ./libtool/Makefile ] || exit 0; \
21102 r=`${PWD_COMMAND}`; export r; \
21103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21104 $(HOST_EXPORTS) \
21105 for flag in $(EXTRA_HOST_FLAGS) ; do \
21106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21107 done; \
21108 echo "Doing info in libtool" ; \
21109 (cd $(HOST_SUBDIR)/libtool && \
21110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21112 "RANLIB=$${RANLIB}" \
21113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21114 info) \
21115 || exit 1
21117 @endif libtool
21119 .PHONY: maybe-dvi-libtool dvi-libtool
21120 maybe-dvi-libtool:
21121 @if libtool
21122 maybe-dvi-libtool: dvi-libtool
21124 dvi-libtool: \
21125 configure-libtool
21126 @: $(MAKE); $(unstage)
21127 @[ -f ./libtool/Makefile ] || exit 0; \
21128 r=`${PWD_COMMAND}`; export r; \
21129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21130 $(HOST_EXPORTS) \
21131 for flag in $(EXTRA_HOST_FLAGS) ; do \
21132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21133 done; \
21134 echo "Doing dvi in libtool" ; \
21135 (cd $(HOST_SUBDIR)/libtool && \
21136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21138 "RANLIB=$${RANLIB}" \
21139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21140 dvi) \
21141 || exit 1
21143 @endif libtool
21145 .PHONY: maybe-pdf-libtool pdf-libtool
21146 maybe-pdf-libtool:
21147 @if libtool
21148 maybe-pdf-libtool: pdf-libtool
21150 pdf-libtool: \
21151 configure-libtool
21152 @: $(MAKE); $(unstage)
21153 @[ -f ./libtool/Makefile ] || exit 0; \
21154 r=`${PWD_COMMAND}`; export r; \
21155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21156 $(HOST_EXPORTS) \
21157 for flag in $(EXTRA_HOST_FLAGS) ; do \
21158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21159 done; \
21160 echo "Doing pdf in libtool" ; \
21161 (cd $(HOST_SUBDIR)/libtool && \
21162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21164 "RANLIB=$${RANLIB}" \
21165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21166 pdf) \
21167 || exit 1
21169 @endif libtool
21171 .PHONY: maybe-html-libtool html-libtool
21172 maybe-html-libtool:
21173 @if libtool
21174 maybe-html-libtool: html-libtool
21176 html-libtool: \
21177 configure-libtool
21178 @: $(MAKE); $(unstage)
21179 @[ -f ./libtool/Makefile ] || exit 0; \
21180 r=`${PWD_COMMAND}`; export r; \
21181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21182 $(HOST_EXPORTS) \
21183 for flag in $(EXTRA_HOST_FLAGS) ; do \
21184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21185 done; \
21186 echo "Doing html in libtool" ; \
21187 (cd $(HOST_SUBDIR)/libtool && \
21188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21190 "RANLIB=$${RANLIB}" \
21191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21192 html) \
21193 || exit 1
21195 @endif libtool
21197 .PHONY: maybe-TAGS-libtool TAGS-libtool
21198 maybe-TAGS-libtool:
21199 @if libtool
21200 maybe-TAGS-libtool: TAGS-libtool
21202 TAGS-libtool: \
21203 configure-libtool
21204 @: $(MAKE); $(unstage)
21205 @[ -f ./libtool/Makefile ] || exit 0; \
21206 r=`${PWD_COMMAND}`; export r; \
21207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21208 $(HOST_EXPORTS) \
21209 for flag in $(EXTRA_HOST_FLAGS) ; do \
21210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21211 done; \
21212 echo "Doing TAGS in libtool" ; \
21213 (cd $(HOST_SUBDIR)/libtool && \
21214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21216 "RANLIB=$${RANLIB}" \
21217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21218 TAGS) \
21219 || exit 1
21221 @endif libtool
21223 .PHONY: maybe-install-info-libtool install-info-libtool
21224 maybe-install-info-libtool:
21225 @if libtool
21226 maybe-install-info-libtool: install-info-libtool
21228 install-info-libtool: \
21229 configure-libtool \
21230 info-libtool
21231 @: $(MAKE); $(unstage)
21232 @[ -f ./libtool/Makefile ] || exit 0; \
21233 r=`${PWD_COMMAND}`; export r; \
21234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21235 $(HOST_EXPORTS) \
21236 for flag in $(EXTRA_HOST_FLAGS) ; do \
21237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21238 done; \
21239 echo "Doing install-info in libtool" ; \
21240 (cd $(HOST_SUBDIR)/libtool && \
21241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21243 "RANLIB=$${RANLIB}" \
21244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21245 install-info) \
21246 || exit 1
21248 @endif libtool
21250 .PHONY: maybe-install-html-libtool install-html-libtool
21251 maybe-install-html-libtool:
21252 @if libtool
21253 maybe-install-html-libtool: install-html-libtool
21255 install-html-libtool: \
21256 configure-libtool \
21257 html-libtool
21258 @: $(MAKE); $(unstage)
21259 @[ -f ./libtool/Makefile ] || exit 0; \
21260 r=`${PWD_COMMAND}`; export r; \
21261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21262 $(HOST_EXPORTS) \
21263 for flag in $(EXTRA_HOST_FLAGS) ; do \
21264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21265 done; \
21266 echo "Doing install-html in libtool" ; \
21267 (cd $(HOST_SUBDIR)/libtool && \
21268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21270 "RANLIB=$${RANLIB}" \
21271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21272 install-html) \
21273 || exit 1
21275 @endif libtool
21277 .PHONY: maybe-installcheck-libtool installcheck-libtool
21278 maybe-installcheck-libtool:
21279 @if libtool
21280 maybe-installcheck-libtool: installcheck-libtool
21282 installcheck-libtool: \
21283 configure-libtool
21284 @: $(MAKE); $(unstage)
21285 @[ -f ./libtool/Makefile ] || exit 0; \
21286 r=`${PWD_COMMAND}`; export r; \
21287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21288 $(HOST_EXPORTS) \
21289 for flag in $(EXTRA_HOST_FLAGS) ; do \
21290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21291 done; \
21292 echo "Doing installcheck in libtool" ; \
21293 (cd $(HOST_SUBDIR)/libtool && \
21294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21296 "RANLIB=$${RANLIB}" \
21297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21298 installcheck) \
21299 || exit 1
21301 @endif libtool
21303 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
21304 maybe-mostlyclean-libtool:
21305 @if libtool
21306 maybe-mostlyclean-libtool: mostlyclean-libtool
21308 mostlyclean-libtool:
21309 @: $(MAKE); $(unstage)
21310 @[ -f ./libtool/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 mostlyclean in libtool" ; \
21318 (cd $(HOST_SUBDIR)/libtool && \
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 mostlyclean) \
21324 || exit 1
21326 @endif libtool
21328 .PHONY: maybe-clean-libtool clean-libtool
21329 maybe-clean-libtool:
21330 @if libtool
21331 maybe-clean-libtool: clean-libtool
21333 clean-libtool:
21334 @: $(MAKE); $(unstage)
21335 @[ -f ./libtool/Makefile ] || exit 0; \
21336 r=`${PWD_COMMAND}`; export r; \
21337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21338 $(HOST_EXPORTS) \
21339 for flag in $(EXTRA_HOST_FLAGS) ; do \
21340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21341 done; \
21342 echo "Doing clean in libtool" ; \
21343 (cd $(HOST_SUBDIR)/libtool && \
21344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21346 "RANLIB=$${RANLIB}" \
21347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21348 clean) \
21349 || exit 1
21351 @endif libtool
21353 .PHONY: maybe-distclean-libtool distclean-libtool
21354 maybe-distclean-libtool:
21355 @if libtool
21356 maybe-distclean-libtool: distclean-libtool
21358 distclean-libtool:
21359 @: $(MAKE); $(unstage)
21360 @[ -f ./libtool/Makefile ] || exit 0; \
21361 r=`${PWD_COMMAND}`; export r; \
21362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21363 $(HOST_EXPORTS) \
21364 for flag in $(EXTRA_HOST_FLAGS) ; do \
21365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21366 done; \
21367 echo "Doing distclean in libtool" ; \
21368 (cd $(HOST_SUBDIR)/libtool && \
21369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21371 "RANLIB=$${RANLIB}" \
21372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21373 distclean) \
21374 || exit 1
21376 @endif libtool
21378 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
21379 maybe-maintainer-clean-libtool:
21380 @if libtool
21381 maybe-maintainer-clean-libtool: maintainer-clean-libtool
21383 maintainer-clean-libtool:
21384 @: $(MAKE); $(unstage)
21385 @[ -f ./libtool/Makefile ] || exit 0; \
21386 r=`${PWD_COMMAND}`; export r; \
21387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21388 $(HOST_EXPORTS) \
21389 for flag in $(EXTRA_HOST_FLAGS) ; do \
21390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21391 done; \
21392 echo "Doing maintainer-clean in libtool" ; \
21393 (cd $(HOST_SUBDIR)/libtool && \
21394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21396 "RANLIB=$${RANLIB}" \
21397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21398 maintainer-clean) \
21399 || exit 1
21401 @endif libtool
21405 .PHONY: configure-m4 maybe-configure-m4
21406 maybe-configure-m4:
21407 @if gcc-bootstrap
21408 configure-m4: stage_current
21409 @endif gcc-bootstrap
21410 @if m4
21411 maybe-configure-m4: configure-m4
21412 configure-m4:
21413 @: $(MAKE); $(unstage)
21414 @r=`${PWD_COMMAND}`; export r; \
21415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21416 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
21417 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
21418 $(HOST_EXPORTS) \
21419 echo Configuring in $(HOST_SUBDIR)/m4; \
21420 cd "$(HOST_SUBDIR)/m4" || exit 1; \
21421 case $(srcdir) in \
21422 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21423 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
21424 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21425 esac; \
21426 srcdiroption="--srcdir=$${topdir}/m4"; \
21427 libsrcdir="$$s/m4"; \
21428 $(SHELL) $${libsrcdir}/configure \
21429 $(HOST_CONFIGARGS) $${srcdiroption} \
21430 || exit 1
21431 @endif m4
21437 .PHONY: all-m4 maybe-all-m4
21438 maybe-all-m4:
21439 @if gcc-bootstrap
21440 all-m4: stage_current
21441 @endif gcc-bootstrap
21442 @if m4
21443 TARGET-m4=all
21444 maybe-all-m4: all-m4
21445 all-m4: configure-m4
21446 @: $(MAKE); $(unstage)
21447 @r=`${PWD_COMMAND}`; export r; \
21448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21449 $(HOST_EXPORTS) \
21450 (cd $(HOST_SUBDIR)/m4 && \
21451 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
21452 @endif m4
21457 .PHONY: check-m4 maybe-check-m4
21458 maybe-check-m4:
21459 @if m4
21460 maybe-check-m4: check-m4
21462 check-m4:
21463 @: $(MAKE); $(unstage)
21464 @r=`${PWD_COMMAND}`; export r; \
21465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21466 $(HOST_EXPORTS) \
21467 (cd $(HOST_SUBDIR)/m4 && \
21468 $(MAKE) $(FLAGS_TO_PASS) check)
21470 @endif m4
21472 .PHONY: install-m4 maybe-install-m4
21473 maybe-install-m4:
21474 @if m4
21475 maybe-install-m4: install-m4
21477 install-m4: installdirs
21478 @: $(MAKE); $(unstage)
21479 @r=`${PWD_COMMAND}`; export r; \
21480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21481 $(HOST_EXPORTS) \
21482 (cd $(HOST_SUBDIR)/m4 && \
21483 $(MAKE) $(FLAGS_TO_PASS) install)
21485 @endif m4
21487 # Other targets (info, dvi, pdf, etc.)
21489 .PHONY: maybe-info-m4 info-m4
21490 maybe-info-m4:
21491 @if m4
21492 maybe-info-m4: info-m4
21494 info-m4: \
21495 configure-m4
21496 @: $(MAKE); $(unstage)
21497 @[ -f ./m4/Makefile ] || exit 0; \
21498 r=`${PWD_COMMAND}`; export r; \
21499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21500 $(HOST_EXPORTS) \
21501 for flag in $(EXTRA_HOST_FLAGS) ; do \
21502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21503 done; \
21504 echo "Doing info in m4" ; \
21505 (cd $(HOST_SUBDIR)/m4 && \
21506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21508 "RANLIB=$${RANLIB}" \
21509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21510 info) \
21511 || exit 1
21513 @endif m4
21515 .PHONY: maybe-dvi-m4 dvi-m4
21516 maybe-dvi-m4:
21517 @if m4
21518 maybe-dvi-m4: dvi-m4
21520 dvi-m4: \
21521 configure-m4
21522 @: $(MAKE); $(unstage)
21523 @[ -f ./m4/Makefile ] || exit 0; \
21524 r=`${PWD_COMMAND}`; export r; \
21525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21526 $(HOST_EXPORTS) \
21527 for flag in $(EXTRA_HOST_FLAGS) ; do \
21528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21529 done; \
21530 echo "Doing dvi in m4" ; \
21531 (cd $(HOST_SUBDIR)/m4 && \
21532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21534 "RANLIB=$${RANLIB}" \
21535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21536 dvi) \
21537 || exit 1
21539 @endif m4
21541 .PHONY: maybe-pdf-m4 pdf-m4
21542 maybe-pdf-m4:
21543 @if m4
21544 maybe-pdf-m4: pdf-m4
21546 pdf-m4: \
21547 configure-m4
21548 @: $(MAKE); $(unstage)
21549 @[ -f ./m4/Makefile ] || exit 0; \
21550 r=`${PWD_COMMAND}`; export r; \
21551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21552 $(HOST_EXPORTS) \
21553 for flag in $(EXTRA_HOST_FLAGS) ; do \
21554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21555 done; \
21556 echo "Doing pdf in m4" ; \
21557 (cd $(HOST_SUBDIR)/m4 && \
21558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21560 "RANLIB=$${RANLIB}" \
21561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21562 pdf) \
21563 || exit 1
21565 @endif m4
21567 .PHONY: maybe-html-m4 html-m4
21568 maybe-html-m4:
21569 @if m4
21570 maybe-html-m4: html-m4
21572 html-m4: \
21573 configure-m4
21574 @: $(MAKE); $(unstage)
21575 @[ -f ./m4/Makefile ] || exit 0; \
21576 r=`${PWD_COMMAND}`; export r; \
21577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21578 $(HOST_EXPORTS) \
21579 for flag in $(EXTRA_HOST_FLAGS) ; do \
21580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21581 done; \
21582 echo "Doing html in m4" ; \
21583 (cd $(HOST_SUBDIR)/m4 && \
21584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21586 "RANLIB=$${RANLIB}" \
21587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21588 html) \
21589 || exit 1
21591 @endif m4
21593 .PHONY: maybe-TAGS-m4 TAGS-m4
21594 maybe-TAGS-m4:
21595 @if m4
21596 maybe-TAGS-m4: TAGS-m4
21598 TAGS-m4: \
21599 configure-m4
21600 @: $(MAKE); $(unstage)
21601 @[ -f ./m4/Makefile ] || exit 0; \
21602 r=`${PWD_COMMAND}`; export r; \
21603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21604 $(HOST_EXPORTS) \
21605 for flag in $(EXTRA_HOST_FLAGS) ; do \
21606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21607 done; \
21608 echo "Doing TAGS in m4" ; \
21609 (cd $(HOST_SUBDIR)/m4 && \
21610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21612 "RANLIB=$${RANLIB}" \
21613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21614 TAGS) \
21615 || exit 1
21617 @endif m4
21619 .PHONY: maybe-install-info-m4 install-info-m4
21620 maybe-install-info-m4:
21621 @if m4
21622 maybe-install-info-m4: install-info-m4
21624 install-info-m4: \
21625 configure-m4 \
21626 info-m4
21627 @: $(MAKE); $(unstage)
21628 @[ -f ./m4/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 install-info in m4" ; \
21636 (cd $(HOST_SUBDIR)/m4 && \
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 install-info) \
21642 || exit 1
21644 @endif m4
21646 .PHONY: maybe-install-html-m4 install-html-m4
21647 maybe-install-html-m4:
21648 @if m4
21649 maybe-install-html-m4: install-html-m4
21651 install-html-m4: \
21652 configure-m4 \
21653 html-m4
21654 @: $(MAKE); $(unstage)
21655 @[ -f ./m4/Makefile ] || exit 0; \
21656 r=`${PWD_COMMAND}`; export r; \
21657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21658 $(HOST_EXPORTS) \
21659 for flag in $(EXTRA_HOST_FLAGS) ; do \
21660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21661 done; \
21662 echo "Doing install-html in m4" ; \
21663 (cd $(HOST_SUBDIR)/m4 && \
21664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21666 "RANLIB=$${RANLIB}" \
21667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21668 install-html) \
21669 || exit 1
21671 @endif m4
21673 .PHONY: maybe-installcheck-m4 installcheck-m4
21674 maybe-installcheck-m4:
21675 @if m4
21676 maybe-installcheck-m4: installcheck-m4
21678 installcheck-m4: \
21679 configure-m4
21680 @: $(MAKE); $(unstage)
21681 @[ -f ./m4/Makefile ] || exit 0; \
21682 r=`${PWD_COMMAND}`; export r; \
21683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21684 $(HOST_EXPORTS) \
21685 for flag in $(EXTRA_HOST_FLAGS) ; do \
21686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21687 done; \
21688 echo "Doing installcheck in m4" ; \
21689 (cd $(HOST_SUBDIR)/m4 && \
21690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21692 "RANLIB=$${RANLIB}" \
21693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21694 installcheck) \
21695 || exit 1
21697 @endif m4
21699 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
21700 maybe-mostlyclean-m4:
21701 @if m4
21702 maybe-mostlyclean-m4: mostlyclean-m4
21704 mostlyclean-m4:
21705 @: $(MAKE); $(unstage)
21706 @[ -f ./m4/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 mostlyclean in m4" ; \
21714 (cd $(HOST_SUBDIR)/m4 && \
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 mostlyclean) \
21720 || exit 1
21722 @endif m4
21724 .PHONY: maybe-clean-m4 clean-m4
21725 maybe-clean-m4:
21726 @if m4
21727 maybe-clean-m4: clean-m4
21729 clean-m4:
21730 @: $(MAKE); $(unstage)
21731 @[ -f ./m4/Makefile ] || exit 0; \
21732 r=`${PWD_COMMAND}`; export r; \
21733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21734 $(HOST_EXPORTS) \
21735 for flag in $(EXTRA_HOST_FLAGS) ; do \
21736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21737 done; \
21738 echo "Doing clean in m4" ; \
21739 (cd $(HOST_SUBDIR)/m4 && \
21740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21742 "RANLIB=$${RANLIB}" \
21743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21744 clean) \
21745 || exit 1
21747 @endif m4
21749 .PHONY: maybe-distclean-m4 distclean-m4
21750 maybe-distclean-m4:
21751 @if m4
21752 maybe-distclean-m4: distclean-m4
21754 distclean-m4:
21755 @: $(MAKE); $(unstage)
21756 @[ -f ./m4/Makefile ] || exit 0; \
21757 r=`${PWD_COMMAND}`; export r; \
21758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21759 $(HOST_EXPORTS) \
21760 for flag in $(EXTRA_HOST_FLAGS) ; do \
21761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21762 done; \
21763 echo "Doing distclean in m4" ; \
21764 (cd $(HOST_SUBDIR)/m4 && \
21765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21767 "RANLIB=$${RANLIB}" \
21768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21769 distclean) \
21770 || exit 1
21772 @endif m4
21774 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
21775 maybe-maintainer-clean-m4:
21776 @if m4
21777 maybe-maintainer-clean-m4: maintainer-clean-m4
21779 maintainer-clean-m4:
21780 @: $(MAKE); $(unstage)
21781 @[ -f ./m4/Makefile ] || exit 0; \
21782 r=`${PWD_COMMAND}`; export r; \
21783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21784 $(HOST_EXPORTS) \
21785 for flag in $(EXTRA_HOST_FLAGS) ; do \
21786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21787 done; \
21788 echo "Doing maintainer-clean in m4" ; \
21789 (cd $(HOST_SUBDIR)/m4 && \
21790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21792 "RANLIB=$${RANLIB}" \
21793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21794 maintainer-clean) \
21795 || exit 1
21797 @endif m4
21801 .PHONY: configure-make maybe-configure-make
21802 maybe-configure-make:
21803 @if gcc-bootstrap
21804 configure-make: stage_current
21805 @endif gcc-bootstrap
21806 @if make
21807 maybe-configure-make: configure-make
21808 configure-make:
21809 @: $(MAKE); $(unstage)
21810 @r=`${PWD_COMMAND}`; export r; \
21811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21812 test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
21813 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
21814 $(HOST_EXPORTS) \
21815 echo Configuring in $(HOST_SUBDIR)/make; \
21816 cd "$(HOST_SUBDIR)/make" || exit 1; \
21817 case $(srcdir) in \
21818 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21819 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
21820 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21821 esac; \
21822 srcdiroption="--srcdir=$${topdir}/make"; \
21823 libsrcdir="$$s/make"; \
21824 $(SHELL) $${libsrcdir}/configure \
21825 $(HOST_CONFIGARGS) $${srcdiroption} \
21826 || exit 1
21827 @endif make
21833 .PHONY: all-make maybe-all-make
21834 maybe-all-make:
21835 @if gcc-bootstrap
21836 all-make: stage_current
21837 @endif gcc-bootstrap
21838 @if make
21839 TARGET-make=all
21840 maybe-all-make: all-make
21841 all-make: configure-make
21842 @: $(MAKE); $(unstage)
21843 @r=`${PWD_COMMAND}`; export r; \
21844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21845 $(HOST_EXPORTS) \
21846 (cd $(HOST_SUBDIR)/make && \
21847 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
21848 @endif make
21853 .PHONY: check-make maybe-check-make
21854 maybe-check-make:
21855 @if make
21856 maybe-check-make: check-make
21858 check-make:
21859 @: $(MAKE); $(unstage)
21860 @r=`${PWD_COMMAND}`; export r; \
21861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21862 $(HOST_EXPORTS) \
21863 (cd $(HOST_SUBDIR)/make && \
21864 $(MAKE) $(FLAGS_TO_PASS) check)
21866 @endif make
21868 .PHONY: install-make maybe-install-make
21869 maybe-install-make:
21870 @if make
21871 maybe-install-make: install-make
21873 install-make: installdirs
21874 @: $(MAKE); $(unstage)
21875 @r=`${PWD_COMMAND}`; export r; \
21876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21877 $(HOST_EXPORTS) \
21878 (cd $(HOST_SUBDIR)/make && \
21879 $(MAKE) $(FLAGS_TO_PASS) install)
21881 @endif make
21883 # Other targets (info, dvi, pdf, etc.)
21885 .PHONY: maybe-info-make info-make
21886 maybe-info-make:
21887 @if make
21888 maybe-info-make: info-make
21890 info-make: \
21891 configure-make
21892 @: $(MAKE); $(unstage)
21893 @[ -f ./make/Makefile ] || exit 0; \
21894 r=`${PWD_COMMAND}`; export r; \
21895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21896 $(HOST_EXPORTS) \
21897 for flag in $(EXTRA_HOST_FLAGS) ; do \
21898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21899 done; \
21900 echo "Doing info in make" ; \
21901 (cd $(HOST_SUBDIR)/make && \
21902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21904 "RANLIB=$${RANLIB}" \
21905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21906 info) \
21907 || exit 1
21909 @endif make
21911 .PHONY: maybe-dvi-make dvi-make
21912 maybe-dvi-make:
21913 @if make
21914 maybe-dvi-make: dvi-make
21916 dvi-make: \
21917 configure-make
21918 @: $(MAKE); $(unstage)
21919 @[ -f ./make/Makefile ] || exit 0; \
21920 r=`${PWD_COMMAND}`; export r; \
21921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21922 $(HOST_EXPORTS) \
21923 for flag in $(EXTRA_HOST_FLAGS) ; do \
21924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21925 done; \
21926 echo "Doing dvi in make" ; \
21927 (cd $(HOST_SUBDIR)/make && \
21928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21930 "RANLIB=$${RANLIB}" \
21931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21932 dvi) \
21933 || exit 1
21935 @endif make
21937 .PHONY: maybe-pdf-make pdf-make
21938 maybe-pdf-make:
21939 @if make
21940 maybe-pdf-make: pdf-make
21942 pdf-make: \
21943 configure-make
21944 @: $(MAKE); $(unstage)
21945 @[ -f ./make/Makefile ] || exit 0; \
21946 r=`${PWD_COMMAND}`; export r; \
21947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21948 $(HOST_EXPORTS) \
21949 for flag in $(EXTRA_HOST_FLAGS) ; do \
21950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21951 done; \
21952 echo "Doing pdf in make" ; \
21953 (cd $(HOST_SUBDIR)/make && \
21954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21956 "RANLIB=$${RANLIB}" \
21957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21958 pdf) \
21959 || exit 1
21961 @endif make
21963 .PHONY: maybe-html-make html-make
21964 maybe-html-make:
21965 @if make
21966 maybe-html-make: html-make
21968 html-make: \
21969 configure-make
21970 @: $(MAKE); $(unstage)
21971 @[ -f ./make/Makefile ] || exit 0; \
21972 r=`${PWD_COMMAND}`; export r; \
21973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21974 $(HOST_EXPORTS) \
21975 for flag in $(EXTRA_HOST_FLAGS) ; do \
21976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21977 done; \
21978 echo "Doing html in make" ; \
21979 (cd $(HOST_SUBDIR)/make && \
21980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21982 "RANLIB=$${RANLIB}" \
21983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21984 html) \
21985 || exit 1
21987 @endif make
21989 .PHONY: maybe-TAGS-make TAGS-make
21990 maybe-TAGS-make:
21991 @if make
21992 maybe-TAGS-make: TAGS-make
21994 TAGS-make: \
21995 configure-make
21996 @: $(MAKE); $(unstage)
21997 @[ -f ./make/Makefile ] || exit 0; \
21998 r=`${PWD_COMMAND}`; export r; \
21999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22000 $(HOST_EXPORTS) \
22001 for flag in $(EXTRA_HOST_FLAGS) ; do \
22002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22003 done; \
22004 echo "Doing TAGS in make" ; \
22005 (cd $(HOST_SUBDIR)/make && \
22006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22008 "RANLIB=$${RANLIB}" \
22009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22010 TAGS) \
22011 || exit 1
22013 @endif make
22015 .PHONY: maybe-install-info-make install-info-make
22016 maybe-install-info-make:
22017 @if make
22018 maybe-install-info-make: install-info-make
22020 install-info-make: \
22021 configure-make \
22022 info-make
22023 @: $(MAKE); $(unstage)
22024 @[ -f ./make/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 install-info in make" ; \
22032 (cd $(HOST_SUBDIR)/make && \
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 install-info) \
22038 || exit 1
22040 @endif make
22042 .PHONY: maybe-install-html-make install-html-make
22043 maybe-install-html-make:
22044 @if make
22045 maybe-install-html-make: install-html-make
22047 install-html-make: \
22048 configure-make \
22049 html-make
22050 @: $(MAKE); $(unstage)
22051 @[ -f ./make/Makefile ] || exit 0; \
22052 r=`${PWD_COMMAND}`; export r; \
22053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22054 $(HOST_EXPORTS) \
22055 for flag in $(EXTRA_HOST_FLAGS) ; do \
22056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22057 done; \
22058 echo "Doing install-html in make" ; \
22059 (cd $(HOST_SUBDIR)/make && \
22060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22062 "RANLIB=$${RANLIB}" \
22063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22064 install-html) \
22065 || exit 1
22067 @endif make
22069 .PHONY: maybe-installcheck-make installcheck-make
22070 maybe-installcheck-make:
22071 @if make
22072 maybe-installcheck-make: installcheck-make
22074 installcheck-make: \
22075 configure-make
22076 @: $(MAKE); $(unstage)
22077 @[ -f ./make/Makefile ] || exit 0; \
22078 r=`${PWD_COMMAND}`; export r; \
22079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22080 $(HOST_EXPORTS) \
22081 for flag in $(EXTRA_HOST_FLAGS) ; do \
22082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22083 done; \
22084 echo "Doing installcheck in make" ; \
22085 (cd $(HOST_SUBDIR)/make && \
22086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22088 "RANLIB=$${RANLIB}" \
22089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22090 installcheck) \
22091 || exit 1
22093 @endif make
22095 .PHONY: maybe-mostlyclean-make mostlyclean-make
22096 maybe-mostlyclean-make:
22097 @if make
22098 maybe-mostlyclean-make: mostlyclean-make
22100 mostlyclean-make:
22101 @: $(MAKE); $(unstage)
22102 @[ -f ./make/Makefile ] || exit 0; \
22103 r=`${PWD_COMMAND}`; export r; \
22104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22105 $(HOST_EXPORTS) \
22106 for flag in $(EXTRA_HOST_FLAGS) ; do \
22107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22108 done; \
22109 echo "Doing mostlyclean in make" ; \
22110 (cd $(HOST_SUBDIR)/make && \
22111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22113 "RANLIB=$${RANLIB}" \
22114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22115 mostlyclean) \
22116 || exit 1
22118 @endif make
22120 .PHONY: maybe-clean-make clean-make
22121 maybe-clean-make:
22122 @if make
22123 maybe-clean-make: clean-make
22125 clean-make:
22126 @: $(MAKE); $(unstage)
22127 @[ -f ./make/Makefile ] || exit 0; \
22128 r=`${PWD_COMMAND}`; export r; \
22129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22130 $(HOST_EXPORTS) \
22131 for flag in $(EXTRA_HOST_FLAGS) ; do \
22132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22133 done; \
22134 echo "Doing clean in make" ; \
22135 (cd $(HOST_SUBDIR)/make && \
22136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22138 "RANLIB=$${RANLIB}" \
22139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22140 clean) \
22141 || exit 1
22143 @endif make
22145 .PHONY: maybe-distclean-make distclean-make
22146 maybe-distclean-make:
22147 @if make
22148 maybe-distclean-make: distclean-make
22150 distclean-make:
22151 @: $(MAKE); $(unstage)
22152 @[ -f ./make/Makefile ] || exit 0; \
22153 r=`${PWD_COMMAND}`; export r; \
22154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22155 $(HOST_EXPORTS) \
22156 for flag in $(EXTRA_HOST_FLAGS) ; do \
22157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22158 done; \
22159 echo "Doing distclean in make" ; \
22160 (cd $(HOST_SUBDIR)/make && \
22161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22163 "RANLIB=$${RANLIB}" \
22164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22165 distclean) \
22166 || exit 1
22168 @endif make
22170 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
22171 maybe-maintainer-clean-make:
22172 @if make
22173 maybe-maintainer-clean-make: maintainer-clean-make
22175 maintainer-clean-make:
22176 @: $(MAKE); $(unstage)
22177 @[ -f ./make/Makefile ] || exit 0; \
22178 r=`${PWD_COMMAND}`; export r; \
22179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22180 $(HOST_EXPORTS) \
22181 for flag in $(EXTRA_HOST_FLAGS) ; do \
22182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22183 done; \
22184 echo "Doing maintainer-clean in make" ; \
22185 (cd $(HOST_SUBDIR)/make && \
22186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22188 "RANLIB=$${RANLIB}" \
22189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22190 maintainer-clean) \
22191 || exit 1
22193 @endif make
22197 .PHONY: configure-mmalloc maybe-configure-mmalloc
22198 maybe-configure-mmalloc:
22199 @if gcc-bootstrap
22200 configure-mmalloc: stage_current
22201 @endif gcc-bootstrap
22202 @if mmalloc
22203 maybe-configure-mmalloc: configure-mmalloc
22204 configure-mmalloc:
22205 @: $(MAKE); $(unstage)
22206 @r=`${PWD_COMMAND}`; export r; \
22207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22208 test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
22209 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
22210 $(HOST_EXPORTS) \
22211 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
22212 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
22213 case $(srcdir) in \
22214 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22215 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
22216 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22217 esac; \
22218 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
22219 libsrcdir="$$s/mmalloc"; \
22220 $(SHELL) $${libsrcdir}/configure \
22221 $(HOST_CONFIGARGS) $${srcdiroption} \
22222 || exit 1
22223 @endif mmalloc
22229 .PHONY: all-mmalloc maybe-all-mmalloc
22230 maybe-all-mmalloc:
22231 @if gcc-bootstrap
22232 all-mmalloc: stage_current
22233 @endif gcc-bootstrap
22234 @if mmalloc
22235 TARGET-mmalloc=all
22236 maybe-all-mmalloc: all-mmalloc
22237 all-mmalloc: configure-mmalloc
22238 @: $(MAKE); $(unstage)
22239 @r=`${PWD_COMMAND}`; export r; \
22240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22241 $(HOST_EXPORTS) \
22242 (cd $(HOST_SUBDIR)/mmalloc && \
22243 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
22244 @endif mmalloc
22249 .PHONY: check-mmalloc maybe-check-mmalloc
22250 maybe-check-mmalloc:
22251 @if mmalloc
22252 maybe-check-mmalloc: check-mmalloc
22254 check-mmalloc:
22256 @endif mmalloc
22258 .PHONY: install-mmalloc maybe-install-mmalloc
22259 maybe-install-mmalloc:
22260 @if mmalloc
22261 maybe-install-mmalloc: install-mmalloc
22263 install-mmalloc: installdirs
22264 @: $(MAKE); $(unstage)
22265 @r=`${PWD_COMMAND}`; export r; \
22266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22267 $(HOST_EXPORTS) \
22268 (cd $(HOST_SUBDIR)/mmalloc && \
22269 $(MAKE) $(FLAGS_TO_PASS) install)
22271 @endif mmalloc
22273 # Other targets (info, dvi, pdf, etc.)
22275 .PHONY: maybe-info-mmalloc info-mmalloc
22276 maybe-info-mmalloc:
22277 @if mmalloc
22278 maybe-info-mmalloc: info-mmalloc
22280 info-mmalloc: \
22281 configure-mmalloc
22282 @: $(MAKE); $(unstage)
22283 @[ -f ./mmalloc/Makefile ] || exit 0; \
22284 r=`${PWD_COMMAND}`; export r; \
22285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22286 $(HOST_EXPORTS) \
22287 for flag in $(EXTRA_HOST_FLAGS) ; do \
22288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22289 done; \
22290 echo "Doing info in mmalloc" ; \
22291 (cd $(HOST_SUBDIR)/mmalloc && \
22292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22294 "RANLIB=$${RANLIB}" \
22295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22296 info) \
22297 || exit 1
22299 @endif mmalloc
22301 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
22302 maybe-dvi-mmalloc:
22303 @if mmalloc
22304 maybe-dvi-mmalloc: dvi-mmalloc
22306 dvi-mmalloc: \
22307 configure-mmalloc
22308 @: $(MAKE); $(unstage)
22309 @[ -f ./mmalloc/Makefile ] || exit 0; \
22310 r=`${PWD_COMMAND}`; export r; \
22311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22312 $(HOST_EXPORTS) \
22313 for flag in $(EXTRA_HOST_FLAGS) ; do \
22314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22315 done; \
22316 echo "Doing dvi in mmalloc" ; \
22317 (cd $(HOST_SUBDIR)/mmalloc && \
22318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22320 "RANLIB=$${RANLIB}" \
22321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22322 dvi) \
22323 || exit 1
22325 @endif mmalloc
22327 .PHONY: maybe-pdf-mmalloc pdf-mmalloc
22328 maybe-pdf-mmalloc:
22329 @if mmalloc
22330 maybe-pdf-mmalloc: pdf-mmalloc
22332 pdf-mmalloc: \
22333 configure-mmalloc
22334 @: $(MAKE); $(unstage)
22335 @[ -f ./mmalloc/Makefile ] || exit 0; \
22336 r=`${PWD_COMMAND}`; export r; \
22337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22338 $(HOST_EXPORTS) \
22339 for flag in $(EXTRA_HOST_FLAGS) ; do \
22340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22341 done; \
22342 echo "Doing pdf in mmalloc" ; \
22343 (cd $(HOST_SUBDIR)/mmalloc && \
22344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22346 "RANLIB=$${RANLIB}" \
22347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22348 pdf) \
22349 || exit 1
22351 @endif mmalloc
22353 .PHONY: maybe-html-mmalloc html-mmalloc
22354 maybe-html-mmalloc:
22355 @if mmalloc
22356 maybe-html-mmalloc: html-mmalloc
22358 html-mmalloc: \
22359 configure-mmalloc
22360 @: $(MAKE); $(unstage)
22361 @[ -f ./mmalloc/Makefile ] || exit 0; \
22362 r=`${PWD_COMMAND}`; export r; \
22363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22364 $(HOST_EXPORTS) \
22365 for flag in $(EXTRA_HOST_FLAGS) ; do \
22366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22367 done; \
22368 echo "Doing html in mmalloc" ; \
22369 (cd $(HOST_SUBDIR)/mmalloc && \
22370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22372 "RANLIB=$${RANLIB}" \
22373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22374 html) \
22375 || exit 1
22377 @endif mmalloc
22379 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
22380 maybe-TAGS-mmalloc:
22381 @if mmalloc
22382 maybe-TAGS-mmalloc: TAGS-mmalloc
22384 TAGS-mmalloc: \
22385 configure-mmalloc
22386 @: $(MAKE); $(unstage)
22387 @[ -f ./mmalloc/Makefile ] || exit 0; \
22388 r=`${PWD_COMMAND}`; export r; \
22389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22390 $(HOST_EXPORTS) \
22391 for flag in $(EXTRA_HOST_FLAGS) ; do \
22392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22393 done; \
22394 echo "Doing TAGS in mmalloc" ; \
22395 (cd $(HOST_SUBDIR)/mmalloc && \
22396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22398 "RANLIB=$${RANLIB}" \
22399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22400 TAGS) \
22401 || exit 1
22403 @endif mmalloc
22405 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
22406 maybe-install-info-mmalloc:
22407 @if mmalloc
22408 maybe-install-info-mmalloc: install-info-mmalloc
22410 install-info-mmalloc: \
22411 configure-mmalloc \
22412 info-mmalloc
22413 @: $(MAKE); $(unstage)
22414 @[ -f ./mmalloc/Makefile ] || exit 0; \
22415 r=`${PWD_COMMAND}`; export r; \
22416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22417 $(HOST_EXPORTS) \
22418 for flag in $(EXTRA_HOST_FLAGS) ; do \
22419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22420 done; \
22421 echo "Doing install-info in mmalloc" ; \
22422 (cd $(HOST_SUBDIR)/mmalloc && \
22423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22425 "RANLIB=$${RANLIB}" \
22426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22427 install-info) \
22428 || exit 1
22430 @endif mmalloc
22432 .PHONY: maybe-install-html-mmalloc install-html-mmalloc
22433 maybe-install-html-mmalloc:
22434 @if mmalloc
22435 maybe-install-html-mmalloc: install-html-mmalloc
22437 install-html-mmalloc: \
22438 configure-mmalloc \
22439 html-mmalloc
22440 @: $(MAKE); $(unstage)
22441 @[ -f ./mmalloc/Makefile ] || exit 0; \
22442 r=`${PWD_COMMAND}`; export r; \
22443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22444 $(HOST_EXPORTS) \
22445 for flag in $(EXTRA_HOST_FLAGS) ; do \
22446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22447 done; \
22448 echo "Doing install-html in mmalloc" ; \
22449 (cd $(HOST_SUBDIR)/mmalloc && \
22450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22452 "RANLIB=$${RANLIB}" \
22453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22454 install-html) \
22455 || exit 1
22457 @endif mmalloc
22459 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
22460 maybe-installcheck-mmalloc:
22461 @if mmalloc
22462 maybe-installcheck-mmalloc: installcheck-mmalloc
22464 installcheck-mmalloc: \
22465 configure-mmalloc
22466 @: $(MAKE); $(unstage)
22467 @[ -f ./mmalloc/Makefile ] || exit 0; \
22468 r=`${PWD_COMMAND}`; export r; \
22469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22470 $(HOST_EXPORTS) \
22471 for flag in $(EXTRA_HOST_FLAGS) ; do \
22472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22473 done; \
22474 echo "Doing installcheck in mmalloc" ; \
22475 (cd $(HOST_SUBDIR)/mmalloc && \
22476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22478 "RANLIB=$${RANLIB}" \
22479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22480 installcheck) \
22481 || exit 1
22483 @endif mmalloc
22485 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
22486 maybe-mostlyclean-mmalloc:
22487 @if mmalloc
22488 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
22490 mostlyclean-mmalloc:
22491 @: $(MAKE); $(unstage)
22492 @[ -f ./mmalloc/Makefile ] || exit 0; \
22493 r=`${PWD_COMMAND}`; export r; \
22494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22495 $(HOST_EXPORTS) \
22496 for flag in $(EXTRA_HOST_FLAGS) ; do \
22497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22498 done; \
22499 echo "Doing mostlyclean in mmalloc" ; \
22500 (cd $(HOST_SUBDIR)/mmalloc && \
22501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22503 "RANLIB=$${RANLIB}" \
22504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22505 mostlyclean) \
22506 || exit 1
22508 @endif mmalloc
22510 .PHONY: maybe-clean-mmalloc clean-mmalloc
22511 maybe-clean-mmalloc:
22512 @if mmalloc
22513 maybe-clean-mmalloc: clean-mmalloc
22515 clean-mmalloc:
22516 @: $(MAKE); $(unstage)
22517 @[ -f ./mmalloc/Makefile ] || exit 0; \
22518 r=`${PWD_COMMAND}`; export r; \
22519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22520 $(HOST_EXPORTS) \
22521 for flag in $(EXTRA_HOST_FLAGS) ; do \
22522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22523 done; \
22524 echo "Doing clean in mmalloc" ; \
22525 (cd $(HOST_SUBDIR)/mmalloc && \
22526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22528 "RANLIB=$${RANLIB}" \
22529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22530 clean) \
22531 || exit 1
22533 @endif mmalloc
22535 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
22536 maybe-distclean-mmalloc:
22537 @if mmalloc
22538 maybe-distclean-mmalloc: distclean-mmalloc
22540 distclean-mmalloc:
22541 @: $(MAKE); $(unstage)
22542 @[ -f ./mmalloc/Makefile ] || exit 0; \
22543 r=`${PWD_COMMAND}`; export r; \
22544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22545 $(HOST_EXPORTS) \
22546 for flag in $(EXTRA_HOST_FLAGS) ; do \
22547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22548 done; \
22549 echo "Doing distclean in mmalloc" ; \
22550 (cd $(HOST_SUBDIR)/mmalloc && \
22551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22553 "RANLIB=$${RANLIB}" \
22554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22555 distclean) \
22556 || exit 1
22558 @endif mmalloc
22560 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
22561 maybe-maintainer-clean-mmalloc:
22562 @if mmalloc
22563 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
22565 maintainer-clean-mmalloc:
22566 @: $(MAKE); $(unstage)
22567 @[ -f ./mmalloc/Makefile ] || exit 0; \
22568 r=`${PWD_COMMAND}`; export r; \
22569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22570 $(HOST_EXPORTS) \
22571 for flag in $(EXTRA_HOST_FLAGS) ; do \
22572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22573 done; \
22574 echo "Doing maintainer-clean in mmalloc" ; \
22575 (cd $(HOST_SUBDIR)/mmalloc && \
22576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22578 "RANLIB=$${RANLIB}" \
22579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22580 maintainer-clean) \
22581 || exit 1
22583 @endif mmalloc
22587 .PHONY: configure-patch maybe-configure-patch
22588 maybe-configure-patch:
22589 @if gcc-bootstrap
22590 configure-patch: stage_current
22591 @endif gcc-bootstrap
22592 @if patch
22593 maybe-configure-patch: configure-patch
22594 configure-patch:
22595 @: $(MAKE); $(unstage)
22596 @r=`${PWD_COMMAND}`; export r; \
22597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22598 test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
22599 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
22600 $(HOST_EXPORTS) \
22601 echo Configuring in $(HOST_SUBDIR)/patch; \
22602 cd "$(HOST_SUBDIR)/patch" || exit 1; \
22603 case $(srcdir) in \
22604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22605 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
22606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22607 esac; \
22608 srcdiroption="--srcdir=$${topdir}/patch"; \
22609 libsrcdir="$$s/patch"; \
22610 $(SHELL) $${libsrcdir}/configure \
22611 $(HOST_CONFIGARGS) $${srcdiroption} \
22612 || exit 1
22613 @endif patch
22619 .PHONY: all-patch maybe-all-patch
22620 maybe-all-patch:
22621 @if gcc-bootstrap
22622 all-patch: stage_current
22623 @endif gcc-bootstrap
22624 @if patch
22625 TARGET-patch=all
22626 maybe-all-patch: all-patch
22627 all-patch: configure-patch
22628 @: $(MAKE); $(unstage)
22629 @r=`${PWD_COMMAND}`; export r; \
22630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22631 $(HOST_EXPORTS) \
22632 (cd $(HOST_SUBDIR)/patch && \
22633 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
22634 @endif patch
22639 .PHONY: check-patch maybe-check-patch
22640 maybe-check-patch:
22641 @if patch
22642 maybe-check-patch: check-patch
22644 check-patch:
22645 @: $(MAKE); $(unstage)
22646 @r=`${PWD_COMMAND}`; export r; \
22647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22648 $(HOST_EXPORTS) \
22649 (cd $(HOST_SUBDIR)/patch && \
22650 $(MAKE) $(FLAGS_TO_PASS) check)
22652 @endif patch
22654 .PHONY: install-patch maybe-install-patch
22655 maybe-install-patch:
22656 @if patch
22657 maybe-install-patch: install-patch
22659 install-patch: installdirs
22660 @: $(MAKE); $(unstage)
22661 @r=`${PWD_COMMAND}`; export r; \
22662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22663 $(HOST_EXPORTS) \
22664 (cd $(HOST_SUBDIR)/patch && \
22665 $(MAKE) $(FLAGS_TO_PASS) install)
22667 @endif patch
22669 # Other targets (info, dvi, pdf, etc.)
22671 .PHONY: maybe-info-patch info-patch
22672 maybe-info-patch:
22673 @if patch
22674 maybe-info-patch: info-patch
22676 info-patch: \
22677 configure-patch
22678 @: $(MAKE); $(unstage)
22679 @[ -f ./patch/Makefile ] || exit 0; \
22680 r=`${PWD_COMMAND}`; export r; \
22681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22682 $(HOST_EXPORTS) \
22683 for flag in $(EXTRA_HOST_FLAGS) ; do \
22684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22685 done; \
22686 echo "Doing info in patch" ; \
22687 (cd $(HOST_SUBDIR)/patch && \
22688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22690 "RANLIB=$${RANLIB}" \
22691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22692 info) \
22693 || exit 1
22695 @endif patch
22697 .PHONY: maybe-dvi-patch dvi-patch
22698 maybe-dvi-patch:
22699 @if patch
22700 maybe-dvi-patch: dvi-patch
22702 dvi-patch: \
22703 configure-patch
22704 @: $(MAKE); $(unstage)
22705 @[ -f ./patch/Makefile ] || exit 0; \
22706 r=`${PWD_COMMAND}`; export r; \
22707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22708 $(HOST_EXPORTS) \
22709 for flag in $(EXTRA_HOST_FLAGS) ; do \
22710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22711 done; \
22712 echo "Doing dvi in patch" ; \
22713 (cd $(HOST_SUBDIR)/patch && \
22714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22716 "RANLIB=$${RANLIB}" \
22717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22718 dvi) \
22719 || exit 1
22721 @endif patch
22723 .PHONY: maybe-pdf-patch pdf-patch
22724 maybe-pdf-patch:
22725 @if patch
22726 maybe-pdf-patch: pdf-patch
22728 pdf-patch: \
22729 configure-patch
22730 @: $(MAKE); $(unstage)
22731 @[ -f ./patch/Makefile ] || exit 0; \
22732 r=`${PWD_COMMAND}`; export r; \
22733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22734 $(HOST_EXPORTS) \
22735 for flag in $(EXTRA_HOST_FLAGS) ; do \
22736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22737 done; \
22738 echo "Doing pdf in patch" ; \
22739 (cd $(HOST_SUBDIR)/patch && \
22740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22742 "RANLIB=$${RANLIB}" \
22743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22744 pdf) \
22745 || exit 1
22747 @endif patch
22749 .PHONY: maybe-html-patch html-patch
22750 maybe-html-patch:
22751 @if patch
22752 maybe-html-patch: html-patch
22754 html-patch: \
22755 configure-patch
22756 @: $(MAKE); $(unstage)
22757 @[ -f ./patch/Makefile ] || exit 0; \
22758 r=`${PWD_COMMAND}`; export r; \
22759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22760 $(HOST_EXPORTS) \
22761 for flag in $(EXTRA_HOST_FLAGS) ; do \
22762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22763 done; \
22764 echo "Doing html in patch" ; \
22765 (cd $(HOST_SUBDIR)/patch && \
22766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22768 "RANLIB=$${RANLIB}" \
22769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22770 html) \
22771 || exit 1
22773 @endif patch
22775 .PHONY: maybe-TAGS-patch TAGS-patch
22776 maybe-TAGS-patch:
22777 @if patch
22778 maybe-TAGS-patch: TAGS-patch
22780 TAGS-patch: \
22781 configure-patch
22782 @: $(MAKE); $(unstage)
22783 @[ -f ./patch/Makefile ] || exit 0; \
22784 r=`${PWD_COMMAND}`; export r; \
22785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22786 $(HOST_EXPORTS) \
22787 for flag in $(EXTRA_HOST_FLAGS) ; do \
22788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22789 done; \
22790 echo "Doing TAGS in patch" ; \
22791 (cd $(HOST_SUBDIR)/patch && \
22792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22794 "RANLIB=$${RANLIB}" \
22795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22796 TAGS) \
22797 || exit 1
22799 @endif patch
22801 .PHONY: maybe-install-info-patch install-info-patch
22802 maybe-install-info-patch:
22803 @if patch
22804 maybe-install-info-patch: install-info-patch
22806 install-info-patch: \
22807 configure-patch \
22808 info-patch
22809 @: $(MAKE); $(unstage)
22810 @[ -f ./patch/Makefile ] || exit 0; \
22811 r=`${PWD_COMMAND}`; export r; \
22812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22813 $(HOST_EXPORTS) \
22814 for flag in $(EXTRA_HOST_FLAGS) ; do \
22815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22816 done; \
22817 echo "Doing install-info in patch" ; \
22818 (cd $(HOST_SUBDIR)/patch && \
22819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22821 "RANLIB=$${RANLIB}" \
22822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22823 install-info) \
22824 || exit 1
22826 @endif patch
22828 .PHONY: maybe-install-html-patch install-html-patch
22829 maybe-install-html-patch:
22830 @if patch
22831 maybe-install-html-patch: install-html-patch
22833 install-html-patch: \
22834 configure-patch \
22835 html-patch
22836 @: $(MAKE); $(unstage)
22837 @[ -f ./patch/Makefile ] || exit 0; \
22838 r=`${PWD_COMMAND}`; export r; \
22839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22840 $(HOST_EXPORTS) \
22841 for flag in $(EXTRA_HOST_FLAGS) ; do \
22842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22843 done; \
22844 echo "Doing install-html in patch" ; \
22845 (cd $(HOST_SUBDIR)/patch && \
22846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22848 "RANLIB=$${RANLIB}" \
22849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22850 install-html) \
22851 || exit 1
22853 @endif patch
22855 .PHONY: maybe-installcheck-patch installcheck-patch
22856 maybe-installcheck-patch:
22857 @if patch
22858 maybe-installcheck-patch: installcheck-patch
22860 installcheck-patch: \
22861 configure-patch
22862 @: $(MAKE); $(unstage)
22863 @[ -f ./patch/Makefile ] || exit 0; \
22864 r=`${PWD_COMMAND}`; export r; \
22865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22866 $(HOST_EXPORTS) \
22867 for flag in $(EXTRA_HOST_FLAGS) ; do \
22868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22869 done; \
22870 echo "Doing installcheck in patch" ; \
22871 (cd $(HOST_SUBDIR)/patch && \
22872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22874 "RANLIB=$${RANLIB}" \
22875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22876 installcheck) \
22877 || exit 1
22879 @endif patch
22881 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
22882 maybe-mostlyclean-patch:
22883 @if patch
22884 maybe-mostlyclean-patch: mostlyclean-patch
22886 mostlyclean-patch:
22887 @: $(MAKE); $(unstage)
22888 @[ -f ./patch/Makefile ] || exit 0; \
22889 r=`${PWD_COMMAND}`; export r; \
22890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22891 $(HOST_EXPORTS) \
22892 for flag in $(EXTRA_HOST_FLAGS) ; do \
22893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22894 done; \
22895 echo "Doing mostlyclean in patch" ; \
22896 (cd $(HOST_SUBDIR)/patch && \
22897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22899 "RANLIB=$${RANLIB}" \
22900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22901 mostlyclean) \
22902 || exit 1
22904 @endif patch
22906 .PHONY: maybe-clean-patch clean-patch
22907 maybe-clean-patch:
22908 @if patch
22909 maybe-clean-patch: clean-patch
22911 clean-patch:
22912 @: $(MAKE); $(unstage)
22913 @[ -f ./patch/Makefile ] || exit 0; \
22914 r=`${PWD_COMMAND}`; export r; \
22915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22916 $(HOST_EXPORTS) \
22917 for flag in $(EXTRA_HOST_FLAGS) ; do \
22918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22919 done; \
22920 echo "Doing clean in patch" ; \
22921 (cd $(HOST_SUBDIR)/patch && \
22922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22924 "RANLIB=$${RANLIB}" \
22925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22926 clean) \
22927 || exit 1
22929 @endif patch
22931 .PHONY: maybe-distclean-patch distclean-patch
22932 maybe-distclean-patch:
22933 @if patch
22934 maybe-distclean-patch: distclean-patch
22936 distclean-patch:
22937 @: $(MAKE); $(unstage)
22938 @[ -f ./patch/Makefile ] || exit 0; \
22939 r=`${PWD_COMMAND}`; export r; \
22940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22941 $(HOST_EXPORTS) \
22942 for flag in $(EXTRA_HOST_FLAGS) ; do \
22943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22944 done; \
22945 echo "Doing distclean in patch" ; \
22946 (cd $(HOST_SUBDIR)/patch && \
22947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22949 "RANLIB=$${RANLIB}" \
22950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22951 distclean) \
22952 || exit 1
22954 @endif patch
22956 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
22957 maybe-maintainer-clean-patch:
22958 @if patch
22959 maybe-maintainer-clean-patch: maintainer-clean-patch
22961 maintainer-clean-patch:
22962 @: $(MAKE); $(unstage)
22963 @[ -f ./patch/Makefile ] || exit 0; \
22964 r=`${PWD_COMMAND}`; export r; \
22965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22966 $(HOST_EXPORTS) \
22967 for flag in $(EXTRA_HOST_FLAGS) ; do \
22968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22969 done; \
22970 echo "Doing maintainer-clean in patch" ; \
22971 (cd $(HOST_SUBDIR)/patch && \
22972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22974 "RANLIB=$${RANLIB}" \
22975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22976 maintainer-clean) \
22977 || exit 1
22979 @endif patch
22983 .PHONY: configure-perl maybe-configure-perl
22984 maybe-configure-perl:
22985 @if gcc-bootstrap
22986 configure-perl: stage_current
22987 @endif gcc-bootstrap
22988 @if perl
22989 maybe-configure-perl: configure-perl
22990 configure-perl:
22991 @: $(MAKE); $(unstage)
22992 @r=`${PWD_COMMAND}`; export r; \
22993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22994 test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
22995 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
22996 $(HOST_EXPORTS) \
22997 echo Configuring in $(HOST_SUBDIR)/perl; \
22998 cd "$(HOST_SUBDIR)/perl" || exit 1; \
22999 case $(srcdir) in \
23000 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23001 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
23002 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23003 esac; \
23004 srcdiroption="--srcdir=$${topdir}/perl"; \
23005 libsrcdir="$$s/perl"; \
23006 $(SHELL) $${libsrcdir}/configure \
23007 $(HOST_CONFIGARGS) $${srcdiroption} \
23008 || exit 1
23009 @endif perl
23015 .PHONY: all-perl maybe-all-perl
23016 maybe-all-perl:
23017 @if gcc-bootstrap
23018 all-perl: stage_current
23019 @endif gcc-bootstrap
23020 @if perl
23021 TARGET-perl=all
23022 maybe-all-perl: all-perl
23023 all-perl: configure-perl
23024 @: $(MAKE); $(unstage)
23025 @r=`${PWD_COMMAND}`; export r; \
23026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23027 $(HOST_EXPORTS) \
23028 (cd $(HOST_SUBDIR)/perl && \
23029 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
23030 @endif perl
23035 .PHONY: check-perl maybe-check-perl
23036 maybe-check-perl:
23037 @if perl
23038 maybe-check-perl: check-perl
23040 check-perl:
23041 @: $(MAKE); $(unstage)
23042 @r=`${PWD_COMMAND}`; export r; \
23043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23044 $(HOST_EXPORTS) \
23045 (cd $(HOST_SUBDIR)/perl && \
23046 $(MAKE) $(FLAGS_TO_PASS) check)
23048 @endif perl
23050 .PHONY: install-perl maybe-install-perl
23051 maybe-install-perl:
23052 @if perl
23053 maybe-install-perl: install-perl
23055 install-perl: installdirs
23056 @: $(MAKE); $(unstage)
23057 @r=`${PWD_COMMAND}`; export r; \
23058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23059 $(HOST_EXPORTS) \
23060 (cd $(HOST_SUBDIR)/perl && \
23061 $(MAKE) $(FLAGS_TO_PASS) install)
23063 @endif perl
23065 # Other targets (info, dvi, pdf, etc.)
23067 .PHONY: maybe-info-perl info-perl
23068 maybe-info-perl:
23069 @if perl
23070 maybe-info-perl: info-perl
23072 info-perl: \
23073 configure-perl
23074 @: $(MAKE); $(unstage)
23075 @[ -f ./perl/Makefile ] || exit 0; \
23076 r=`${PWD_COMMAND}`; export r; \
23077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23078 $(HOST_EXPORTS) \
23079 for flag in $(EXTRA_HOST_FLAGS) ; do \
23080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23081 done; \
23082 echo "Doing info in perl" ; \
23083 (cd $(HOST_SUBDIR)/perl && \
23084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23086 "RANLIB=$${RANLIB}" \
23087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23088 info) \
23089 || exit 1
23091 @endif perl
23093 .PHONY: maybe-dvi-perl dvi-perl
23094 maybe-dvi-perl:
23095 @if perl
23096 maybe-dvi-perl: dvi-perl
23098 dvi-perl: \
23099 configure-perl
23100 @: $(MAKE); $(unstage)
23101 @[ -f ./perl/Makefile ] || exit 0; \
23102 r=`${PWD_COMMAND}`; export r; \
23103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23104 $(HOST_EXPORTS) \
23105 for flag in $(EXTRA_HOST_FLAGS) ; do \
23106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23107 done; \
23108 echo "Doing dvi in perl" ; \
23109 (cd $(HOST_SUBDIR)/perl && \
23110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23112 "RANLIB=$${RANLIB}" \
23113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23114 dvi) \
23115 || exit 1
23117 @endif perl
23119 .PHONY: maybe-pdf-perl pdf-perl
23120 maybe-pdf-perl:
23121 @if perl
23122 maybe-pdf-perl: pdf-perl
23124 pdf-perl: \
23125 configure-perl
23126 @: $(MAKE); $(unstage)
23127 @[ -f ./perl/Makefile ] || exit 0; \
23128 r=`${PWD_COMMAND}`; export r; \
23129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23130 $(HOST_EXPORTS) \
23131 for flag in $(EXTRA_HOST_FLAGS) ; do \
23132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23133 done; \
23134 echo "Doing pdf in perl" ; \
23135 (cd $(HOST_SUBDIR)/perl && \
23136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23138 "RANLIB=$${RANLIB}" \
23139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23140 pdf) \
23141 || exit 1
23143 @endif perl
23145 .PHONY: maybe-html-perl html-perl
23146 maybe-html-perl:
23147 @if perl
23148 maybe-html-perl: html-perl
23150 html-perl: \
23151 configure-perl
23152 @: $(MAKE); $(unstage)
23153 @[ -f ./perl/Makefile ] || exit 0; \
23154 r=`${PWD_COMMAND}`; export r; \
23155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23156 $(HOST_EXPORTS) \
23157 for flag in $(EXTRA_HOST_FLAGS) ; do \
23158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23159 done; \
23160 echo "Doing html in perl" ; \
23161 (cd $(HOST_SUBDIR)/perl && \
23162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23164 "RANLIB=$${RANLIB}" \
23165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23166 html) \
23167 || exit 1
23169 @endif perl
23171 .PHONY: maybe-TAGS-perl TAGS-perl
23172 maybe-TAGS-perl:
23173 @if perl
23174 maybe-TAGS-perl: TAGS-perl
23176 TAGS-perl: \
23177 configure-perl
23178 @: $(MAKE); $(unstage)
23179 @[ -f ./perl/Makefile ] || exit 0; \
23180 r=`${PWD_COMMAND}`; export r; \
23181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23182 $(HOST_EXPORTS) \
23183 for flag in $(EXTRA_HOST_FLAGS) ; do \
23184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23185 done; \
23186 echo "Doing TAGS in perl" ; \
23187 (cd $(HOST_SUBDIR)/perl && \
23188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23190 "RANLIB=$${RANLIB}" \
23191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23192 TAGS) \
23193 || exit 1
23195 @endif perl
23197 .PHONY: maybe-install-info-perl install-info-perl
23198 maybe-install-info-perl:
23199 @if perl
23200 maybe-install-info-perl: install-info-perl
23202 install-info-perl: \
23203 configure-perl \
23204 info-perl
23205 @: $(MAKE); $(unstage)
23206 @[ -f ./perl/Makefile ] || exit 0; \
23207 r=`${PWD_COMMAND}`; export r; \
23208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23209 $(HOST_EXPORTS) \
23210 for flag in $(EXTRA_HOST_FLAGS) ; do \
23211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23212 done; \
23213 echo "Doing install-info in perl" ; \
23214 (cd $(HOST_SUBDIR)/perl && \
23215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23217 "RANLIB=$${RANLIB}" \
23218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23219 install-info) \
23220 || exit 1
23222 @endif perl
23224 .PHONY: maybe-install-html-perl install-html-perl
23225 maybe-install-html-perl:
23226 @if perl
23227 maybe-install-html-perl: install-html-perl
23229 install-html-perl: \
23230 configure-perl \
23231 html-perl
23232 @: $(MAKE); $(unstage)
23233 @[ -f ./perl/Makefile ] || exit 0; \
23234 r=`${PWD_COMMAND}`; export r; \
23235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23236 $(HOST_EXPORTS) \
23237 for flag in $(EXTRA_HOST_FLAGS) ; do \
23238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23239 done; \
23240 echo "Doing install-html in perl" ; \
23241 (cd $(HOST_SUBDIR)/perl && \
23242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23244 "RANLIB=$${RANLIB}" \
23245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23246 install-html) \
23247 || exit 1
23249 @endif perl
23251 .PHONY: maybe-installcheck-perl installcheck-perl
23252 maybe-installcheck-perl:
23253 @if perl
23254 maybe-installcheck-perl: installcheck-perl
23256 installcheck-perl: \
23257 configure-perl
23258 @: $(MAKE); $(unstage)
23259 @[ -f ./perl/Makefile ] || exit 0; \
23260 r=`${PWD_COMMAND}`; export r; \
23261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23262 $(HOST_EXPORTS) \
23263 for flag in $(EXTRA_HOST_FLAGS) ; do \
23264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23265 done; \
23266 echo "Doing installcheck in perl" ; \
23267 (cd $(HOST_SUBDIR)/perl && \
23268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23270 "RANLIB=$${RANLIB}" \
23271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23272 installcheck) \
23273 || exit 1
23275 @endif perl
23277 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
23278 maybe-mostlyclean-perl:
23279 @if perl
23280 maybe-mostlyclean-perl: mostlyclean-perl
23282 mostlyclean-perl:
23283 @: $(MAKE); $(unstage)
23284 @[ -f ./perl/Makefile ] || exit 0; \
23285 r=`${PWD_COMMAND}`; export r; \
23286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23287 $(HOST_EXPORTS) \
23288 for flag in $(EXTRA_HOST_FLAGS) ; do \
23289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23290 done; \
23291 echo "Doing mostlyclean in perl" ; \
23292 (cd $(HOST_SUBDIR)/perl && \
23293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23295 "RANLIB=$${RANLIB}" \
23296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23297 mostlyclean) \
23298 || exit 1
23300 @endif perl
23302 .PHONY: maybe-clean-perl clean-perl
23303 maybe-clean-perl:
23304 @if perl
23305 maybe-clean-perl: clean-perl
23307 clean-perl:
23308 @: $(MAKE); $(unstage)
23309 @[ -f ./perl/Makefile ] || exit 0; \
23310 r=`${PWD_COMMAND}`; export r; \
23311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23312 $(HOST_EXPORTS) \
23313 for flag in $(EXTRA_HOST_FLAGS) ; do \
23314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23315 done; \
23316 echo "Doing clean in perl" ; \
23317 (cd $(HOST_SUBDIR)/perl && \
23318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23320 "RANLIB=$${RANLIB}" \
23321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23322 clean) \
23323 || exit 1
23325 @endif perl
23327 .PHONY: maybe-distclean-perl distclean-perl
23328 maybe-distclean-perl:
23329 @if perl
23330 maybe-distclean-perl: distclean-perl
23332 distclean-perl:
23333 @: $(MAKE); $(unstage)
23334 @[ -f ./perl/Makefile ] || exit 0; \
23335 r=`${PWD_COMMAND}`; export r; \
23336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23337 $(HOST_EXPORTS) \
23338 for flag in $(EXTRA_HOST_FLAGS) ; do \
23339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23340 done; \
23341 echo "Doing distclean in perl" ; \
23342 (cd $(HOST_SUBDIR)/perl && \
23343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23345 "RANLIB=$${RANLIB}" \
23346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23347 distclean) \
23348 || exit 1
23350 @endif perl
23352 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
23353 maybe-maintainer-clean-perl:
23354 @if perl
23355 maybe-maintainer-clean-perl: maintainer-clean-perl
23357 maintainer-clean-perl:
23358 @: $(MAKE); $(unstage)
23359 @[ -f ./perl/Makefile ] || exit 0; \
23360 r=`${PWD_COMMAND}`; export r; \
23361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23362 $(HOST_EXPORTS) \
23363 for flag in $(EXTRA_HOST_FLAGS) ; do \
23364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23365 done; \
23366 echo "Doing maintainer-clean in perl" ; \
23367 (cd $(HOST_SUBDIR)/perl && \
23368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23370 "RANLIB=$${RANLIB}" \
23371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23372 maintainer-clean) \
23373 || exit 1
23375 @endif perl
23379 .PHONY: configure-prms maybe-configure-prms
23380 maybe-configure-prms:
23381 @if gcc-bootstrap
23382 configure-prms: stage_current
23383 @endif gcc-bootstrap
23384 @if prms
23385 maybe-configure-prms: configure-prms
23386 configure-prms:
23387 @: $(MAKE); $(unstage)
23388 @r=`${PWD_COMMAND}`; export r; \
23389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23390 test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
23391 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
23392 $(HOST_EXPORTS) \
23393 echo Configuring in $(HOST_SUBDIR)/prms; \
23394 cd "$(HOST_SUBDIR)/prms" || exit 1; \
23395 case $(srcdir) in \
23396 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23397 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
23398 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23399 esac; \
23400 srcdiroption="--srcdir=$${topdir}/prms"; \
23401 libsrcdir="$$s/prms"; \
23402 $(SHELL) $${libsrcdir}/configure \
23403 $(HOST_CONFIGARGS) $${srcdiroption} \
23404 || exit 1
23405 @endif prms
23411 .PHONY: all-prms maybe-all-prms
23412 maybe-all-prms:
23413 @if gcc-bootstrap
23414 all-prms: stage_current
23415 @endif gcc-bootstrap
23416 @if prms
23417 TARGET-prms=all
23418 maybe-all-prms: all-prms
23419 all-prms: configure-prms
23420 @: $(MAKE); $(unstage)
23421 @r=`${PWD_COMMAND}`; export r; \
23422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23423 $(HOST_EXPORTS) \
23424 (cd $(HOST_SUBDIR)/prms && \
23425 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
23426 @endif prms
23431 .PHONY: check-prms maybe-check-prms
23432 maybe-check-prms:
23433 @if prms
23434 maybe-check-prms: check-prms
23436 check-prms:
23437 @: $(MAKE); $(unstage)
23438 @r=`${PWD_COMMAND}`; export r; \
23439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23440 $(HOST_EXPORTS) \
23441 (cd $(HOST_SUBDIR)/prms && \
23442 $(MAKE) $(FLAGS_TO_PASS) check)
23444 @endif prms
23446 .PHONY: install-prms maybe-install-prms
23447 maybe-install-prms:
23448 @if prms
23449 maybe-install-prms: install-prms
23451 install-prms: installdirs
23452 @: $(MAKE); $(unstage)
23453 @r=`${PWD_COMMAND}`; export r; \
23454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23455 $(HOST_EXPORTS) \
23456 (cd $(HOST_SUBDIR)/prms && \
23457 $(MAKE) $(FLAGS_TO_PASS) install)
23459 @endif prms
23461 # Other targets (info, dvi, pdf, etc.)
23463 .PHONY: maybe-info-prms info-prms
23464 maybe-info-prms:
23465 @if prms
23466 maybe-info-prms: info-prms
23468 info-prms: \
23469 configure-prms
23470 @: $(MAKE); $(unstage)
23471 @[ -f ./prms/Makefile ] || exit 0; \
23472 r=`${PWD_COMMAND}`; export r; \
23473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23474 $(HOST_EXPORTS) \
23475 for flag in $(EXTRA_HOST_FLAGS) ; do \
23476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23477 done; \
23478 echo "Doing info in prms" ; \
23479 (cd $(HOST_SUBDIR)/prms && \
23480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23482 "RANLIB=$${RANLIB}" \
23483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23484 info) \
23485 || exit 1
23487 @endif prms
23489 .PHONY: maybe-dvi-prms dvi-prms
23490 maybe-dvi-prms:
23491 @if prms
23492 maybe-dvi-prms: dvi-prms
23494 dvi-prms: \
23495 configure-prms
23496 @: $(MAKE); $(unstage)
23497 @[ -f ./prms/Makefile ] || exit 0; \
23498 r=`${PWD_COMMAND}`; export r; \
23499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23500 $(HOST_EXPORTS) \
23501 for flag in $(EXTRA_HOST_FLAGS) ; do \
23502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23503 done; \
23504 echo "Doing dvi in prms" ; \
23505 (cd $(HOST_SUBDIR)/prms && \
23506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23508 "RANLIB=$${RANLIB}" \
23509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23510 dvi) \
23511 || exit 1
23513 @endif prms
23515 .PHONY: maybe-pdf-prms pdf-prms
23516 maybe-pdf-prms:
23517 @if prms
23518 maybe-pdf-prms: pdf-prms
23520 pdf-prms: \
23521 configure-prms
23522 @: $(MAKE); $(unstage)
23523 @[ -f ./prms/Makefile ] || exit 0; \
23524 r=`${PWD_COMMAND}`; export r; \
23525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23526 $(HOST_EXPORTS) \
23527 for flag in $(EXTRA_HOST_FLAGS) ; do \
23528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23529 done; \
23530 echo "Doing pdf in prms" ; \
23531 (cd $(HOST_SUBDIR)/prms && \
23532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23534 "RANLIB=$${RANLIB}" \
23535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23536 pdf) \
23537 || exit 1
23539 @endif prms
23541 .PHONY: maybe-html-prms html-prms
23542 maybe-html-prms:
23543 @if prms
23544 maybe-html-prms: html-prms
23546 html-prms: \
23547 configure-prms
23548 @: $(MAKE); $(unstage)
23549 @[ -f ./prms/Makefile ] || exit 0; \
23550 r=`${PWD_COMMAND}`; export r; \
23551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23552 $(HOST_EXPORTS) \
23553 for flag in $(EXTRA_HOST_FLAGS) ; do \
23554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23555 done; \
23556 echo "Doing html in prms" ; \
23557 (cd $(HOST_SUBDIR)/prms && \
23558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23560 "RANLIB=$${RANLIB}" \
23561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23562 html) \
23563 || exit 1
23565 @endif prms
23567 .PHONY: maybe-TAGS-prms TAGS-prms
23568 maybe-TAGS-prms:
23569 @if prms
23570 maybe-TAGS-prms: TAGS-prms
23572 TAGS-prms: \
23573 configure-prms
23574 @: $(MAKE); $(unstage)
23575 @[ -f ./prms/Makefile ] || exit 0; \
23576 r=`${PWD_COMMAND}`; export r; \
23577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23578 $(HOST_EXPORTS) \
23579 for flag in $(EXTRA_HOST_FLAGS) ; do \
23580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23581 done; \
23582 echo "Doing TAGS in prms" ; \
23583 (cd $(HOST_SUBDIR)/prms && \
23584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23586 "RANLIB=$${RANLIB}" \
23587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23588 TAGS) \
23589 || exit 1
23591 @endif prms
23593 .PHONY: maybe-install-info-prms install-info-prms
23594 maybe-install-info-prms:
23595 @if prms
23596 maybe-install-info-prms: install-info-prms
23598 install-info-prms: \
23599 configure-prms \
23600 info-prms
23601 @: $(MAKE); $(unstage)
23602 @[ -f ./prms/Makefile ] || exit 0; \
23603 r=`${PWD_COMMAND}`; export r; \
23604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23605 $(HOST_EXPORTS) \
23606 for flag in $(EXTRA_HOST_FLAGS) ; do \
23607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23608 done; \
23609 echo "Doing install-info in prms" ; \
23610 (cd $(HOST_SUBDIR)/prms && \
23611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23613 "RANLIB=$${RANLIB}" \
23614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23615 install-info) \
23616 || exit 1
23618 @endif prms
23620 .PHONY: maybe-install-html-prms install-html-prms
23621 maybe-install-html-prms:
23622 @if prms
23623 maybe-install-html-prms: install-html-prms
23625 install-html-prms: \
23626 configure-prms \
23627 html-prms
23628 @: $(MAKE); $(unstage)
23629 @[ -f ./prms/Makefile ] || exit 0; \
23630 r=`${PWD_COMMAND}`; export r; \
23631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23632 $(HOST_EXPORTS) \
23633 for flag in $(EXTRA_HOST_FLAGS) ; do \
23634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23635 done; \
23636 echo "Doing install-html in prms" ; \
23637 (cd $(HOST_SUBDIR)/prms && \
23638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23640 "RANLIB=$${RANLIB}" \
23641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23642 install-html) \
23643 || exit 1
23645 @endif prms
23647 .PHONY: maybe-installcheck-prms installcheck-prms
23648 maybe-installcheck-prms:
23649 @if prms
23650 maybe-installcheck-prms: installcheck-prms
23652 installcheck-prms: \
23653 configure-prms
23654 @: $(MAKE); $(unstage)
23655 @[ -f ./prms/Makefile ] || exit 0; \
23656 r=`${PWD_COMMAND}`; export r; \
23657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23658 $(HOST_EXPORTS) \
23659 for flag in $(EXTRA_HOST_FLAGS) ; do \
23660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23661 done; \
23662 echo "Doing installcheck in prms" ; \
23663 (cd $(HOST_SUBDIR)/prms && \
23664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23666 "RANLIB=$${RANLIB}" \
23667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23668 installcheck) \
23669 || exit 1
23671 @endif prms
23673 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
23674 maybe-mostlyclean-prms:
23675 @if prms
23676 maybe-mostlyclean-prms: mostlyclean-prms
23678 mostlyclean-prms:
23679 @: $(MAKE); $(unstage)
23680 @[ -f ./prms/Makefile ] || exit 0; \
23681 r=`${PWD_COMMAND}`; export r; \
23682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23683 $(HOST_EXPORTS) \
23684 for flag in $(EXTRA_HOST_FLAGS) ; do \
23685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23686 done; \
23687 echo "Doing mostlyclean in prms" ; \
23688 (cd $(HOST_SUBDIR)/prms && \
23689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23691 "RANLIB=$${RANLIB}" \
23692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23693 mostlyclean) \
23694 || exit 1
23696 @endif prms
23698 .PHONY: maybe-clean-prms clean-prms
23699 maybe-clean-prms:
23700 @if prms
23701 maybe-clean-prms: clean-prms
23703 clean-prms:
23704 @: $(MAKE); $(unstage)
23705 @[ -f ./prms/Makefile ] || exit 0; \
23706 r=`${PWD_COMMAND}`; export r; \
23707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23708 $(HOST_EXPORTS) \
23709 for flag in $(EXTRA_HOST_FLAGS) ; do \
23710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23711 done; \
23712 echo "Doing clean in prms" ; \
23713 (cd $(HOST_SUBDIR)/prms && \
23714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23716 "RANLIB=$${RANLIB}" \
23717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23718 clean) \
23719 || exit 1
23721 @endif prms
23723 .PHONY: maybe-distclean-prms distclean-prms
23724 maybe-distclean-prms:
23725 @if prms
23726 maybe-distclean-prms: distclean-prms
23728 distclean-prms:
23729 @: $(MAKE); $(unstage)
23730 @[ -f ./prms/Makefile ] || exit 0; \
23731 r=`${PWD_COMMAND}`; export r; \
23732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23733 $(HOST_EXPORTS) \
23734 for flag in $(EXTRA_HOST_FLAGS) ; do \
23735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23736 done; \
23737 echo "Doing distclean in prms" ; \
23738 (cd $(HOST_SUBDIR)/prms && \
23739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23741 "RANLIB=$${RANLIB}" \
23742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23743 distclean) \
23744 || exit 1
23746 @endif prms
23748 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
23749 maybe-maintainer-clean-prms:
23750 @if prms
23751 maybe-maintainer-clean-prms: maintainer-clean-prms
23753 maintainer-clean-prms:
23754 @: $(MAKE); $(unstage)
23755 @[ -f ./prms/Makefile ] || exit 0; \
23756 r=`${PWD_COMMAND}`; export r; \
23757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23758 $(HOST_EXPORTS) \
23759 for flag in $(EXTRA_HOST_FLAGS) ; do \
23760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23761 done; \
23762 echo "Doing maintainer-clean in prms" ; \
23763 (cd $(HOST_SUBDIR)/prms && \
23764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23766 "RANLIB=$${RANLIB}" \
23767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23768 maintainer-clean) \
23769 || exit 1
23771 @endif prms
23775 .PHONY: configure-rcs maybe-configure-rcs
23776 maybe-configure-rcs:
23777 @if gcc-bootstrap
23778 configure-rcs: stage_current
23779 @endif gcc-bootstrap
23780 @if rcs
23781 maybe-configure-rcs: configure-rcs
23782 configure-rcs:
23783 @: $(MAKE); $(unstage)
23784 @r=`${PWD_COMMAND}`; export r; \
23785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23786 test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
23787 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
23788 $(HOST_EXPORTS) \
23789 echo Configuring in $(HOST_SUBDIR)/rcs; \
23790 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
23791 case $(srcdir) in \
23792 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23793 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
23794 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23795 esac; \
23796 srcdiroption="--srcdir=$${topdir}/rcs"; \
23797 libsrcdir="$$s/rcs"; \
23798 $(SHELL) $${libsrcdir}/configure \
23799 $(HOST_CONFIGARGS) $${srcdiroption} \
23800 || exit 1
23801 @endif rcs
23807 .PHONY: all-rcs maybe-all-rcs
23808 maybe-all-rcs:
23809 @if gcc-bootstrap
23810 all-rcs: stage_current
23811 @endif gcc-bootstrap
23812 @if rcs
23813 TARGET-rcs=all
23814 maybe-all-rcs: all-rcs
23815 all-rcs: configure-rcs
23816 @: $(MAKE); $(unstage)
23817 @r=`${PWD_COMMAND}`; export r; \
23818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23819 $(HOST_EXPORTS) \
23820 (cd $(HOST_SUBDIR)/rcs && \
23821 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
23822 @endif rcs
23827 .PHONY: check-rcs maybe-check-rcs
23828 maybe-check-rcs:
23829 @if rcs
23830 maybe-check-rcs: check-rcs
23832 check-rcs:
23833 @: $(MAKE); $(unstage)
23834 @r=`${PWD_COMMAND}`; export r; \
23835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23836 $(HOST_EXPORTS) \
23837 (cd $(HOST_SUBDIR)/rcs && \
23838 $(MAKE) $(FLAGS_TO_PASS) check)
23840 @endif rcs
23842 .PHONY: install-rcs maybe-install-rcs
23843 maybe-install-rcs:
23844 @if rcs
23845 maybe-install-rcs: install-rcs
23847 install-rcs: installdirs
23848 @: $(MAKE); $(unstage)
23849 @r=`${PWD_COMMAND}`; export r; \
23850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23851 $(HOST_EXPORTS) \
23852 (cd $(HOST_SUBDIR)/rcs && \
23853 $(MAKE) $(FLAGS_TO_PASS) install)
23855 @endif rcs
23857 # Other targets (info, dvi, pdf, etc.)
23859 .PHONY: maybe-info-rcs info-rcs
23860 maybe-info-rcs:
23861 @if rcs
23862 maybe-info-rcs: info-rcs
23864 info-rcs: \
23865 configure-rcs
23866 @: $(MAKE); $(unstage)
23867 @[ -f ./rcs/Makefile ] || exit 0; \
23868 r=`${PWD_COMMAND}`; export r; \
23869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23870 $(HOST_EXPORTS) \
23871 for flag in $(EXTRA_HOST_FLAGS) ; do \
23872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23873 done; \
23874 echo "Doing info in rcs" ; \
23875 (cd $(HOST_SUBDIR)/rcs && \
23876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23878 "RANLIB=$${RANLIB}" \
23879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23880 info) \
23881 || exit 1
23883 @endif rcs
23885 .PHONY: maybe-dvi-rcs dvi-rcs
23886 maybe-dvi-rcs:
23887 @if rcs
23888 maybe-dvi-rcs: dvi-rcs
23890 dvi-rcs: \
23891 configure-rcs
23892 @: $(MAKE); $(unstage)
23893 @[ -f ./rcs/Makefile ] || exit 0; \
23894 r=`${PWD_COMMAND}`; export r; \
23895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23896 $(HOST_EXPORTS) \
23897 for flag in $(EXTRA_HOST_FLAGS) ; do \
23898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23899 done; \
23900 echo "Doing dvi in rcs" ; \
23901 (cd $(HOST_SUBDIR)/rcs && \
23902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23904 "RANLIB=$${RANLIB}" \
23905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23906 dvi) \
23907 || exit 1
23909 @endif rcs
23911 .PHONY: maybe-pdf-rcs pdf-rcs
23912 maybe-pdf-rcs:
23913 @if rcs
23914 maybe-pdf-rcs: pdf-rcs
23916 pdf-rcs: \
23917 configure-rcs
23918 @: $(MAKE); $(unstage)
23919 @[ -f ./rcs/Makefile ] || exit 0; \
23920 r=`${PWD_COMMAND}`; export r; \
23921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23922 $(HOST_EXPORTS) \
23923 for flag in $(EXTRA_HOST_FLAGS) ; do \
23924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23925 done; \
23926 echo "Doing pdf in rcs" ; \
23927 (cd $(HOST_SUBDIR)/rcs && \
23928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23930 "RANLIB=$${RANLIB}" \
23931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23932 pdf) \
23933 || exit 1
23935 @endif rcs
23937 .PHONY: maybe-html-rcs html-rcs
23938 maybe-html-rcs:
23939 @if rcs
23940 maybe-html-rcs: html-rcs
23942 html-rcs: \
23943 configure-rcs
23944 @: $(MAKE); $(unstage)
23945 @[ -f ./rcs/Makefile ] || exit 0; \
23946 r=`${PWD_COMMAND}`; export r; \
23947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23948 $(HOST_EXPORTS) \
23949 for flag in $(EXTRA_HOST_FLAGS) ; do \
23950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23951 done; \
23952 echo "Doing html in rcs" ; \
23953 (cd $(HOST_SUBDIR)/rcs && \
23954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23956 "RANLIB=$${RANLIB}" \
23957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23958 html) \
23959 || exit 1
23961 @endif rcs
23963 .PHONY: maybe-TAGS-rcs TAGS-rcs
23964 maybe-TAGS-rcs:
23965 @if rcs
23966 maybe-TAGS-rcs: TAGS-rcs
23968 TAGS-rcs: \
23969 configure-rcs
23970 @: $(MAKE); $(unstage)
23971 @[ -f ./rcs/Makefile ] || exit 0; \
23972 r=`${PWD_COMMAND}`; export r; \
23973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23974 $(HOST_EXPORTS) \
23975 for flag in $(EXTRA_HOST_FLAGS) ; do \
23976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23977 done; \
23978 echo "Doing TAGS in rcs" ; \
23979 (cd $(HOST_SUBDIR)/rcs && \
23980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23982 "RANLIB=$${RANLIB}" \
23983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23984 TAGS) \
23985 || exit 1
23987 @endif rcs
23989 .PHONY: maybe-install-info-rcs install-info-rcs
23990 maybe-install-info-rcs:
23991 @if rcs
23992 maybe-install-info-rcs: install-info-rcs
23994 install-info-rcs: \
23995 configure-rcs \
23996 info-rcs
23997 @: $(MAKE); $(unstage)
23998 @[ -f ./rcs/Makefile ] || exit 0; \
23999 r=`${PWD_COMMAND}`; export r; \
24000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24001 $(HOST_EXPORTS) \
24002 for flag in $(EXTRA_HOST_FLAGS) ; do \
24003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24004 done; \
24005 echo "Doing install-info in rcs" ; \
24006 (cd $(HOST_SUBDIR)/rcs && \
24007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24009 "RANLIB=$${RANLIB}" \
24010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24011 install-info) \
24012 || exit 1
24014 @endif rcs
24016 .PHONY: maybe-install-html-rcs install-html-rcs
24017 maybe-install-html-rcs:
24018 @if rcs
24019 maybe-install-html-rcs: install-html-rcs
24021 install-html-rcs: \
24022 configure-rcs \
24023 html-rcs
24024 @: $(MAKE); $(unstage)
24025 @[ -f ./rcs/Makefile ] || exit 0; \
24026 r=`${PWD_COMMAND}`; export r; \
24027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24028 $(HOST_EXPORTS) \
24029 for flag in $(EXTRA_HOST_FLAGS) ; do \
24030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24031 done; \
24032 echo "Doing install-html in rcs" ; \
24033 (cd $(HOST_SUBDIR)/rcs && \
24034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24036 "RANLIB=$${RANLIB}" \
24037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24038 install-html) \
24039 || exit 1
24041 @endif rcs
24043 .PHONY: maybe-installcheck-rcs installcheck-rcs
24044 maybe-installcheck-rcs:
24045 @if rcs
24046 maybe-installcheck-rcs: installcheck-rcs
24048 installcheck-rcs: \
24049 configure-rcs
24050 @: $(MAKE); $(unstage)
24051 @[ -f ./rcs/Makefile ] || exit 0; \
24052 r=`${PWD_COMMAND}`; export r; \
24053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24054 $(HOST_EXPORTS) \
24055 for flag in $(EXTRA_HOST_FLAGS) ; do \
24056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24057 done; \
24058 echo "Doing installcheck in rcs" ; \
24059 (cd $(HOST_SUBDIR)/rcs && \
24060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24062 "RANLIB=$${RANLIB}" \
24063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24064 installcheck) \
24065 || exit 1
24067 @endif rcs
24069 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
24070 maybe-mostlyclean-rcs:
24071 @if rcs
24072 maybe-mostlyclean-rcs: mostlyclean-rcs
24074 mostlyclean-rcs:
24075 @: $(MAKE); $(unstage)
24076 @[ -f ./rcs/Makefile ] || exit 0; \
24077 r=`${PWD_COMMAND}`; export r; \
24078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24079 $(HOST_EXPORTS) \
24080 for flag in $(EXTRA_HOST_FLAGS) ; do \
24081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24082 done; \
24083 echo "Doing mostlyclean in rcs" ; \
24084 (cd $(HOST_SUBDIR)/rcs && \
24085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24087 "RANLIB=$${RANLIB}" \
24088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24089 mostlyclean) \
24090 || exit 1
24092 @endif rcs
24094 .PHONY: maybe-clean-rcs clean-rcs
24095 maybe-clean-rcs:
24096 @if rcs
24097 maybe-clean-rcs: clean-rcs
24099 clean-rcs:
24100 @: $(MAKE); $(unstage)
24101 @[ -f ./rcs/Makefile ] || exit 0; \
24102 r=`${PWD_COMMAND}`; export r; \
24103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24104 $(HOST_EXPORTS) \
24105 for flag in $(EXTRA_HOST_FLAGS) ; do \
24106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24107 done; \
24108 echo "Doing clean in rcs" ; \
24109 (cd $(HOST_SUBDIR)/rcs && \
24110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24112 "RANLIB=$${RANLIB}" \
24113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24114 clean) \
24115 || exit 1
24117 @endif rcs
24119 .PHONY: maybe-distclean-rcs distclean-rcs
24120 maybe-distclean-rcs:
24121 @if rcs
24122 maybe-distclean-rcs: distclean-rcs
24124 distclean-rcs:
24125 @: $(MAKE); $(unstage)
24126 @[ -f ./rcs/Makefile ] || exit 0; \
24127 r=`${PWD_COMMAND}`; export r; \
24128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24129 $(HOST_EXPORTS) \
24130 for flag in $(EXTRA_HOST_FLAGS) ; do \
24131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24132 done; \
24133 echo "Doing distclean in rcs" ; \
24134 (cd $(HOST_SUBDIR)/rcs && \
24135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24137 "RANLIB=$${RANLIB}" \
24138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24139 distclean) \
24140 || exit 1
24142 @endif rcs
24144 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
24145 maybe-maintainer-clean-rcs:
24146 @if rcs
24147 maybe-maintainer-clean-rcs: maintainer-clean-rcs
24149 maintainer-clean-rcs:
24150 @: $(MAKE); $(unstage)
24151 @[ -f ./rcs/Makefile ] || exit 0; \
24152 r=`${PWD_COMMAND}`; export r; \
24153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24154 $(HOST_EXPORTS) \
24155 for flag in $(EXTRA_HOST_FLAGS) ; do \
24156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24157 done; \
24158 echo "Doing maintainer-clean in rcs" ; \
24159 (cd $(HOST_SUBDIR)/rcs && \
24160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24162 "RANLIB=$${RANLIB}" \
24163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24164 maintainer-clean) \
24165 || exit 1
24167 @endif rcs
24171 .PHONY: configure-readline maybe-configure-readline
24172 maybe-configure-readline:
24173 @if gcc-bootstrap
24174 configure-readline: stage_current
24175 @endif gcc-bootstrap
24176 @if readline
24177 maybe-configure-readline: configure-readline
24178 configure-readline:
24179 @: $(MAKE); $(unstage)
24180 @r=`${PWD_COMMAND}`; export r; \
24181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24182 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
24183 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
24184 $(HOST_EXPORTS) \
24185 echo Configuring in $(HOST_SUBDIR)/readline; \
24186 cd "$(HOST_SUBDIR)/readline" || exit 1; \
24187 case $(srcdir) in \
24188 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24189 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
24190 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24191 esac; \
24192 srcdiroption="--srcdir=$${topdir}/readline"; \
24193 libsrcdir="$$s/readline"; \
24194 $(SHELL) $${libsrcdir}/configure \
24195 $(HOST_CONFIGARGS) $${srcdiroption} \
24196 || exit 1
24197 @endif readline
24203 .PHONY: all-readline maybe-all-readline
24204 maybe-all-readline:
24205 @if gcc-bootstrap
24206 all-readline: stage_current
24207 @endif gcc-bootstrap
24208 @if readline
24209 TARGET-readline=all
24210 maybe-all-readline: all-readline
24211 all-readline: configure-readline
24212 @: $(MAKE); $(unstage)
24213 @r=`${PWD_COMMAND}`; export r; \
24214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24215 $(HOST_EXPORTS) \
24216 (cd $(HOST_SUBDIR)/readline && \
24217 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
24218 @endif readline
24223 .PHONY: check-readline maybe-check-readline
24224 maybe-check-readline:
24225 @if readline
24226 maybe-check-readline: check-readline
24228 check-readline:
24229 @: $(MAKE); $(unstage)
24230 @r=`${PWD_COMMAND}`; export r; \
24231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24232 $(HOST_EXPORTS) \
24233 (cd $(HOST_SUBDIR)/readline && \
24234 $(MAKE) $(FLAGS_TO_PASS) check)
24236 @endif readline
24238 .PHONY: install-readline maybe-install-readline
24239 maybe-install-readline:
24240 @if readline
24241 maybe-install-readline: install-readline
24243 install-readline: installdirs
24244 @: $(MAKE); $(unstage)
24245 @r=`${PWD_COMMAND}`; export r; \
24246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24247 $(HOST_EXPORTS) \
24248 (cd $(HOST_SUBDIR)/readline && \
24249 $(MAKE) $(FLAGS_TO_PASS) install)
24251 @endif readline
24253 # Other targets (info, dvi, pdf, etc.)
24255 .PHONY: maybe-info-readline info-readline
24256 maybe-info-readline:
24257 @if readline
24258 maybe-info-readline: info-readline
24260 info-readline: \
24261 configure-readline
24262 @: $(MAKE); $(unstage)
24263 @[ -f ./readline/Makefile ] || exit 0; \
24264 r=`${PWD_COMMAND}`; export r; \
24265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24266 $(HOST_EXPORTS) \
24267 for flag in $(EXTRA_HOST_FLAGS) ; do \
24268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24269 done; \
24270 echo "Doing info in readline" ; \
24271 (cd $(HOST_SUBDIR)/readline && \
24272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24274 "RANLIB=$${RANLIB}" \
24275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24276 info) \
24277 || exit 1
24279 @endif readline
24281 .PHONY: maybe-dvi-readline dvi-readline
24282 maybe-dvi-readline:
24283 @if readline
24284 maybe-dvi-readline: dvi-readline
24286 dvi-readline: \
24287 configure-readline
24288 @: $(MAKE); $(unstage)
24289 @[ -f ./readline/Makefile ] || exit 0; \
24290 r=`${PWD_COMMAND}`; export r; \
24291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24292 $(HOST_EXPORTS) \
24293 for flag in $(EXTRA_HOST_FLAGS) ; do \
24294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24295 done; \
24296 echo "Doing dvi in readline" ; \
24297 (cd $(HOST_SUBDIR)/readline && \
24298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24300 "RANLIB=$${RANLIB}" \
24301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24302 dvi) \
24303 || exit 1
24305 @endif readline
24307 .PHONY: maybe-pdf-readline pdf-readline
24308 maybe-pdf-readline:
24309 @if readline
24310 maybe-pdf-readline: pdf-readline
24312 pdf-readline: \
24313 configure-readline
24314 @: $(MAKE); $(unstage)
24315 @[ -f ./readline/Makefile ] || exit 0; \
24316 r=`${PWD_COMMAND}`; export r; \
24317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24318 $(HOST_EXPORTS) \
24319 for flag in $(EXTRA_HOST_FLAGS) ; do \
24320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24321 done; \
24322 echo "Doing pdf in readline" ; \
24323 (cd $(HOST_SUBDIR)/readline && \
24324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24326 "RANLIB=$${RANLIB}" \
24327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24328 pdf) \
24329 || exit 1
24331 @endif readline
24333 .PHONY: maybe-html-readline html-readline
24334 maybe-html-readline:
24335 @if readline
24336 maybe-html-readline: html-readline
24338 html-readline: \
24339 configure-readline
24340 @: $(MAKE); $(unstage)
24341 @[ -f ./readline/Makefile ] || exit 0; \
24342 r=`${PWD_COMMAND}`; export r; \
24343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24344 $(HOST_EXPORTS) \
24345 for flag in $(EXTRA_HOST_FLAGS) ; do \
24346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24347 done; \
24348 echo "Doing html in readline" ; \
24349 (cd $(HOST_SUBDIR)/readline && \
24350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24352 "RANLIB=$${RANLIB}" \
24353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24354 html) \
24355 || exit 1
24357 @endif readline
24359 .PHONY: maybe-TAGS-readline TAGS-readline
24360 maybe-TAGS-readline:
24361 @if readline
24362 maybe-TAGS-readline: TAGS-readline
24364 TAGS-readline: \
24365 configure-readline
24366 @: $(MAKE); $(unstage)
24367 @[ -f ./readline/Makefile ] || exit 0; \
24368 r=`${PWD_COMMAND}`; export r; \
24369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24370 $(HOST_EXPORTS) \
24371 for flag in $(EXTRA_HOST_FLAGS) ; do \
24372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24373 done; \
24374 echo "Doing TAGS in readline" ; \
24375 (cd $(HOST_SUBDIR)/readline && \
24376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24378 "RANLIB=$${RANLIB}" \
24379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24380 TAGS) \
24381 || exit 1
24383 @endif readline
24385 .PHONY: maybe-install-info-readline install-info-readline
24386 maybe-install-info-readline:
24387 @if readline
24388 maybe-install-info-readline: install-info-readline
24390 install-info-readline: \
24391 configure-readline \
24392 info-readline
24393 @: $(MAKE); $(unstage)
24394 @[ -f ./readline/Makefile ] || exit 0; \
24395 r=`${PWD_COMMAND}`; export r; \
24396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24397 $(HOST_EXPORTS) \
24398 for flag in $(EXTRA_HOST_FLAGS) ; do \
24399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24400 done; \
24401 echo "Doing install-info in readline" ; \
24402 (cd $(HOST_SUBDIR)/readline && \
24403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24405 "RANLIB=$${RANLIB}" \
24406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24407 install-info) \
24408 || exit 1
24410 @endif readline
24412 .PHONY: maybe-install-html-readline install-html-readline
24413 maybe-install-html-readline:
24414 @if readline
24415 maybe-install-html-readline: install-html-readline
24417 install-html-readline: \
24418 configure-readline \
24419 html-readline
24420 @: $(MAKE); $(unstage)
24421 @[ -f ./readline/Makefile ] || exit 0; \
24422 r=`${PWD_COMMAND}`; export r; \
24423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24424 $(HOST_EXPORTS) \
24425 for flag in $(EXTRA_HOST_FLAGS) ; do \
24426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24427 done; \
24428 echo "Doing install-html in readline" ; \
24429 (cd $(HOST_SUBDIR)/readline && \
24430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24432 "RANLIB=$${RANLIB}" \
24433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24434 install-html) \
24435 || exit 1
24437 @endif readline
24439 .PHONY: maybe-installcheck-readline installcheck-readline
24440 maybe-installcheck-readline:
24441 @if readline
24442 maybe-installcheck-readline: installcheck-readline
24444 installcheck-readline: \
24445 configure-readline
24446 @: $(MAKE); $(unstage)
24447 @[ -f ./readline/Makefile ] || exit 0; \
24448 r=`${PWD_COMMAND}`; export r; \
24449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24450 $(HOST_EXPORTS) \
24451 for flag in $(EXTRA_HOST_FLAGS) ; do \
24452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24453 done; \
24454 echo "Doing installcheck in readline" ; \
24455 (cd $(HOST_SUBDIR)/readline && \
24456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24458 "RANLIB=$${RANLIB}" \
24459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24460 installcheck) \
24461 || exit 1
24463 @endif readline
24465 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
24466 maybe-mostlyclean-readline:
24467 @if readline
24468 maybe-mostlyclean-readline: mostlyclean-readline
24470 mostlyclean-readline:
24471 @: $(MAKE); $(unstage)
24472 @[ -f ./readline/Makefile ] || exit 0; \
24473 r=`${PWD_COMMAND}`; export r; \
24474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24475 $(HOST_EXPORTS) \
24476 for flag in $(EXTRA_HOST_FLAGS) ; do \
24477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24478 done; \
24479 echo "Doing mostlyclean in readline" ; \
24480 (cd $(HOST_SUBDIR)/readline && \
24481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24483 "RANLIB=$${RANLIB}" \
24484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24485 mostlyclean) \
24486 || exit 1
24488 @endif readline
24490 .PHONY: maybe-clean-readline clean-readline
24491 maybe-clean-readline:
24492 @if readline
24493 maybe-clean-readline: clean-readline
24495 clean-readline:
24496 @: $(MAKE); $(unstage)
24497 @[ -f ./readline/Makefile ] || exit 0; \
24498 r=`${PWD_COMMAND}`; export r; \
24499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24500 $(HOST_EXPORTS) \
24501 for flag in $(EXTRA_HOST_FLAGS) ; do \
24502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24503 done; \
24504 echo "Doing clean in readline" ; \
24505 (cd $(HOST_SUBDIR)/readline && \
24506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24508 "RANLIB=$${RANLIB}" \
24509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24510 clean) \
24511 || exit 1
24513 @endif readline
24515 .PHONY: maybe-distclean-readline distclean-readline
24516 maybe-distclean-readline:
24517 @if readline
24518 maybe-distclean-readline: distclean-readline
24520 distclean-readline:
24521 @: $(MAKE); $(unstage)
24522 @[ -f ./readline/Makefile ] || exit 0; \
24523 r=`${PWD_COMMAND}`; export r; \
24524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24525 $(HOST_EXPORTS) \
24526 for flag in $(EXTRA_HOST_FLAGS) ; do \
24527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24528 done; \
24529 echo "Doing distclean in readline" ; \
24530 (cd $(HOST_SUBDIR)/readline && \
24531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24533 "RANLIB=$${RANLIB}" \
24534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24535 distclean) \
24536 || exit 1
24538 @endif readline
24540 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
24541 maybe-maintainer-clean-readline:
24542 @if readline
24543 maybe-maintainer-clean-readline: maintainer-clean-readline
24545 maintainer-clean-readline:
24546 @: $(MAKE); $(unstage)
24547 @[ -f ./readline/Makefile ] || exit 0; \
24548 r=`${PWD_COMMAND}`; export r; \
24549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24550 $(HOST_EXPORTS) \
24551 for flag in $(EXTRA_HOST_FLAGS) ; do \
24552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24553 done; \
24554 echo "Doing maintainer-clean in readline" ; \
24555 (cd $(HOST_SUBDIR)/readline && \
24556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24558 "RANLIB=$${RANLIB}" \
24559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24560 maintainer-clean) \
24561 || exit 1
24563 @endif readline
24567 .PHONY: configure-release maybe-configure-release
24568 maybe-configure-release:
24569 @if gcc-bootstrap
24570 configure-release: stage_current
24571 @endif gcc-bootstrap
24572 @if release
24573 maybe-configure-release: configure-release
24574 configure-release:
24575 @: $(MAKE); $(unstage)
24576 @r=`${PWD_COMMAND}`; export r; \
24577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24578 test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
24579 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
24580 $(HOST_EXPORTS) \
24581 echo Configuring in $(HOST_SUBDIR)/release; \
24582 cd "$(HOST_SUBDIR)/release" || exit 1; \
24583 case $(srcdir) in \
24584 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24585 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
24586 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24587 esac; \
24588 srcdiroption="--srcdir=$${topdir}/release"; \
24589 libsrcdir="$$s/release"; \
24590 $(SHELL) $${libsrcdir}/configure \
24591 $(HOST_CONFIGARGS) $${srcdiroption} \
24592 || exit 1
24593 @endif release
24599 .PHONY: all-release maybe-all-release
24600 maybe-all-release:
24601 @if gcc-bootstrap
24602 all-release: stage_current
24603 @endif gcc-bootstrap
24604 @if release
24605 TARGET-release=all
24606 maybe-all-release: all-release
24607 all-release: configure-release
24608 @: $(MAKE); $(unstage)
24609 @r=`${PWD_COMMAND}`; export r; \
24610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24611 $(HOST_EXPORTS) \
24612 (cd $(HOST_SUBDIR)/release && \
24613 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
24614 @endif release
24619 .PHONY: check-release maybe-check-release
24620 maybe-check-release:
24621 @if release
24622 maybe-check-release: check-release
24624 check-release:
24626 @endif release
24628 .PHONY: install-release maybe-install-release
24629 maybe-install-release:
24630 @if release
24631 maybe-install-release: install-release
24633 install-release:
24635 @endif release
24637 # Other targets (info, dvi, pdf, etc.)
24639 .PHONY: maybe-info-release info-release
24640 maybe-info-release:
24641 @if release
24642 maybe-info-release: info-release
24644 info-release: \
24645 configure-release
24646 @: $(MAKE); $(unstage)
24647 @[ -f ./release/Makefile ] || exit 0; \
24648 r=`${PWD_COMMAND}`; export r; \
24649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24650 $(HOST_EXPORTS) \
24651 for flag in $(EXTRA_HOST_FLAGS) ; do \
24652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24653 done; \
24654 echo "Doing info in release" ; \
24655 (cd $(HOST_SUBDIR)/release && \
24656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24658 "RANLIB=$${RANLIB}" \
24659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24660 info) \
24661 || exit 1
24663 @endif release
24665 .PHONY: maybe-dvi-release dvi-release
24666 maybe-dvi-release:
24667 @if release
24668 maybe-dvi-release: dvi-release
24670 dvi-release: \
24671 configure-release
24672 @: $(MAKE); $(unstage)
24673 @[ -f ./release/Makefile ] || exit 0; \
24674 r=`${PWD_COMMAND}`; export r; \
24675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24676 $(HOST_EXPORTS) \
24677 for flag in $(EXTRA_HOST_FLAGS) ; do \
24678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24679 done; \
24680 echo "Doing dvi in release" ; \
24681 (cd $(HOST_SUBDIR)/release && \
24682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24684 "RANLIB=$${RANLIB}" \
24685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24686 dvi) \
24687 || exit 1
24689 @endif release
24691 .PHONY: maybe-pdf-release pdf-release
24692 maybe-pdf-release:
24693 @if release
24694 maybe-pdf-release: pdf-release
24696 pdf-release: \
24697 configure-release
24698 @: $(MAKE); $(unstage)
24699 @[ -f ./release/Makefile ] || exit 0; \
24700 r=`${PWD_COMMAND}`; export r; \
24701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24702 $(HOST_EXPORTS) \
24703 for flag in $(EXTRA_HOST_FLAGS) ; do \
24704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24705 done; \
24706 echo "Doing pdf in release" ; \
24707 (cd $(HOST_SUBDIR)/release && \
24708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24710 "RANLIB=$${RANLIB}" \
24711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24712 pdf) \
24713 || exit 1
24715 @endif release
24717 .PHONY: maybe-html-release html-release
24718 maybe-html-release:
24719 @if release
24720 maybe-html-release: html-release
24722 html-release: \
24723 configure-release
24724 @: $(MAKE); $(unstage)
24725 @[ -f ./release/Makefile ] || exit 0; \
24726 r=`${PWD_COMMAND}`; export r; \
24727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24728 $(HOST_EXPORTS) \
24729 for flag in $(EXTRA_HOST_FLAGS) ; do \
24730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24731 done; \
24732 echo "Doing html in release" ; \
24733 (cd $(HOST_SUBDIR)/release && \
24734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24736 "RANLIB=$${RANLIB}" \
24737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24738 html) \
24739 || exit 1
24741 @endif release
24743 .PHONY: maybe-TAGS-release TAGS-release
24744 maybe-TAGS-release:
24745 @if release
24746 maybe-TAGS-release: TAGS-release
24748 TAGS-release: \
24749 configure-release
24750 @: $(MAKE); $(unstage)
24751 @[ -f ./release/Makefile ] || exit 0; \
24752 r=`${PWD_COMMAND}`; export r; \
24753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24754 $(HOST_EXPORTS) \
24755 for flag in $(EXTRA_HOST_FLAGS) ; do \
24756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24757 done; \
24758 echo "Doing TAGS in release" ; \
24759 (cd $(HOST_SUBDIR)/release && \
24760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24762 "RANLIB=$${RANLIB}" \
24763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24764 TAGS) \
24765 || exit 1
24767 @endif release
24769 .PHONY: maybe-install-info-release install-info-release
24770 maybe-install-info-release:
24771 @if release
24772 maybe-install-info-release: install-info-release
24774 install-info-release: \
24775 configure-release \
24776 info-release
24777 @: $(MAKE); $(unstage)
24778 @[ -f ./release/Makefile ] || exit 0; \
24779 r=`${PWD_COMMAND}`; export r; \
24780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24781 $(HOST_EXPORTS) \
24782 for flag in $(EXTRA_HOST_FLAGS) ; do \
24783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24784 done; \
24785 echo "Doing install-info in release" ; \
24786 (cd $(HOST_SUBDIR)/release && \
24787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24789 "RANLIB=$${RANLIB}" \
24790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24791 install-info) \
24792 || exit 1
24794 @endif release
24796 .PHONY: maybe-install-html-release install-html-release
24797 maybe-install-html-release:
24798 @if release
24799 maybe-install-html-release: install-html-release
24801 install-html-release: \
24802 configure-release \
24803 html-release
24804 @: $(MAKE); $(unstage)
24805 @[ -f ./release/Makefile ] || exit 0; \
24806 r=`${PWD_COMMAND}`; export r; \
24807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24808 $(HOST_EXPORTS) \
24809 for flag in $(EXTRA_HOST_FLAGS) ; do \
24810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24811 done; \
24812 echo "Doing install-html in release" ; \
24813 (cd $(HOST_SUBDIR)/release && \
24814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24816 "RANLIB=$${RANLIB}" \
24817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24818 install-html) \
24819 || exit 1
24821 @endif release
24823 .PHONY: maybe-installcheck-release installcheck-release
24824 maybe-installcheck-release:
24825 @if release
24826 maybe-installcheck-release: installcheck-release
24828 installcheck-release: \
24829 configure-release
24830 @: $(MAKE); $(unstage)
24831 @[ -f ./release/Makefile ] || exit 0; \
24832 r=`${PWD_COMMAND}`; export r; \
24833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24834 $(HOST_EXPORTS) \
24835 for flag in $(EXTRA_HOST_FLAGS) ; do \
24836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24837 done; \
24838 echo "Doing installcheck in release" ; \
24839 (cd $(HOST_SUBDIR)/release && \
24840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24842 "RANLIB=$${RANLIB}" \
24843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24844 installcheck) \
24845 || exit 1
24847 @endif release
24849 .PHONY: maybe-mostlyclean-release mostlyclean-release
24850 maybe-mostlyclean-release:
24851 @if release
24852 maybe-mostlyclean-release: mostlyclean-release
24854 mostlyclean-release:
24855 @: $(MAKE); $(unstage)
24856 @[ -f ./release/Makefile ] || exit 0; \
24857 r=`${PWD_COMMAND}`; export r; \
24858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24859 $(HOST_EXPORTS) \
24860 for flag in $(EXTRA_HOST_FLAGS) ; do \
24861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24862 done; \
24863 echo "Doing mostlyclean in release" ; \
24864 (cd $(HOST_SUBDIR)/release && \
24865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24867 "RANLIB=$${RANLIB}" \
24868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24869 mostlyclean) \
24870 || exit 1
24872 @endif release
24874 .PHONY: maybe-clean-release clean-release
24875 maybe-clean-release:
24876 @if release
24877 maybe-clean-release: clean-release
24879 clean-release:
24880 @: $(MAKE); $(unstage)
24881 @[ -f ./release/Makefile ] || exit 0; \
24882 r=`${PWD_COMMAND}`; export r; \
24883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24884 $(HOST_EXPORTS) \
24885 for flag in $(EXTRA_HOST_FLAGS) ; do \
24886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24887 done; \
24888 echo "Doing clean in release" ; \
24889 (cd $(HOST_SUBDIR)/release && \
24890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24892 "RANLIB=$${RANLIB}" \
24893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24894 clean) \
24895 || exit 1
24897 @endif release
24899 .PHONY: maybe-distclean-release distclean-release
24900 maybe-distclean-release:
24901 @if release
24902 maybe-distclean-release: distclean-release
24904 distclean-release:
24905 @: $(MAKE); $(unstage)
24906 @[ -f ./release/Makefile ] || exit 0; \
24907 r=`${PWD_COMMAND}`; export r; \
24908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24909 $(HOST_EXPORTS) \
24910 for flag in $(EXTRA_HOST_FLAGS) ; do \
24911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24912 done; \
24913 echo "Doing distclean in release" ; \
24914 (cd $(HOST_SUBDIR)/release && \
24915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24917 "RANLIB=$${RANLIB}" \
24918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24919 distclean) \
24920 || exit 1
24922 @endif release
24924 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
24925 maybe-maintainer-clean-release:
24926 @if release
24927 maybe-maintainer-clean-release: maintainer-clean-release
24929 maintainer-clean-release:
24930 @: $(MAKE); $(unstage)
24931 @[ -f ./release/Makefile ] || exit 0; \
24932 r=`${PWD_COMMAND}`; export r; \
24933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24934 $(HOST_EXPORTS) \
24935 for flag in $(EXTRA_HOST_FLAGS) ; do \
24936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24937 done; \
24938 echo "Doing maintainer-clean in release" ; \
24939 (cd $(HOST_SUBDIR)/release && \
24940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24942 "RANLIB=$${RANLIB}" \
24943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24944 maintainer-clean) \
24945 || exit 1
24947 @endif release
24951 .PHONY: configure-recode maybe-configure-recode
24952 maybe-configure-recode:
24953 @if gcc-bootstrap
24954 configure-recode: stage_current
24955 @endif gcc-bootstrap
24956 @if recode
24957 maybe-configure-recode: configure-recode
24958 configure-recode:
24959 @: $(MAKE); $(unstage)
24960 @r=`${PWD_COMMAND}`; export r; \
24961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24962 test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
24963 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
24964 $(HOST_EXPORTS) \
24965 echo Configuring in $(HOST_SUBDIR)/recode; \
24966 cd "$(HOST_SUBDIR)/recode" || exit 1; \
24967 case $(srcdir) in \
24968 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24969 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
24970 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24971 esac; \
24972 srcdiroption="--srcdir=$${topdir}/recode"; \
24973 libsrcdir="$$s/recode"; \
24974 $(SHELL) $${libsrcdir}/configure \
24975 $(HOST_CONFIGARGS) $${srcdiroption} \
24976 || exit 1
24977 @endif recode
24983 .PHONY: all-recode maybe-all-recode
24984 maybe-all-recode:
24985 @if gcc-bootstrap
24986 all-recode: stage_current
24987 @endif gcc-bootstrap
24988 @if recode
24989 TARGET-recode=all
24990 maybe-all-recode: all-recode
24991 all-recode: configure-recode
24992 @: $(MAKE); $(unstage)
24993 @r=`${PWD_COMMAND}`; export r; \
24994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24995 $(HOST_EXPORTS) \
24996 (cd $(HOST_SUBDIR)/recode && \
24997 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
24998 @endif recode
25003 .PHONY: check-recode maybe-check-recode
25004 maybe-check-recode:
25005 @if recode
25006 maybe-check-recode: check-recode
25008 check-recode:
25009 @: $(MAKE); $(unstage)
25010 @r=`${PWD_COMMAND}`; export r; \
25011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25012 $(HOST_EXPORTS) \
25013 (cd $(HOST_SUBDIR)/recode && \
25014 $(MAKE) $(FLAGS_TO_PASS) check)
25016 @endif recode
25018 .PHONY: install-recode maybe-install-recode
25019 maybe-install-recode:
25020 @if recode
25021 maybe-install-recode: install-recode
25023 install-recode: installdirs
25024 @: $(MAKE); $(unstage)
25025 @r=`${PWD_COMMAND}`; export r; \
25026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25027 $(HOST_EXPORTS) \
25028 (cd $(HOST_SUBDIR)/recode && \
25029 $(MAKE) $(FLAGS_TO_PASS) install)
25031 @endif recode
25033 # Other targets (info, dvi, pdf, etc.)
25035 .PHONY: maybe-info-recode info-recode
25036 maybe-info-recode:
25037 @if recode
25038 maybe-info-recode: info-recode
25040 info-recode: \
25041 configure-recode
25042 @: $(MAKE); $(unstage)
25043 @[ -f ./recode/Makefile ] || exit 0; \
25044 r=`${PWD_COMMAND}`; export r; \
25045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25046 $(HOST_EXPORTS) \
25047 for flag in $(EXTRA_HOST_FLAGS) ; do \
25048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25049 done; \
25050 echo "Doing info in recode" ; \
25051 (cd $(HOST_SUBDIR)/recode && \
25052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25054 "RANLIB=$${RANLIB}" \
25055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25056 info) \
25057 || exit 1
25059 @endif recode
25061 .PHONY: maybe-dvi-recode dvi-recode
25062 maybe-dvi-recode:
25063 @if recode
25064 maybe-dvi-recode: dvi-recode
25066 dvi-recode: \
25067 configure-recode
25068 @: $(MAKE); $(unstage)
25069 @[ -f ./recode/Makefile ] || exit 0; \
25070 r=`${PWD_COMMAND}`; export r; \
25071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25072 $(HOST_EXPORTS) \
25073 for flag in $(EXTRA_HOST_FLAGS) ; do \
25074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25075 done; \
25076 echo "Doing dvi in recode" ; \
25077 (cd $(HOST_SUBDIR)/recode && \
25078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25080 "RANLIB=$${RANLIB}" \
25081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25082 dvi) \
25083 || exit 1
25085 @endif recode
25087 .PHONY: maybe-pdf-recode pdf-recode
25088 maybe-pdf-recode:
25089 @if recode
25090 maybe-pdf-recode: pdf-recode
25092 pdf-recode: \
25093 configure-recode
25094 @: $(MAKE); $(unstage)
25095 @[ -f ./recode/Makefile ] || exit 0; \
25096 r=`${PWD_COMMAND}`; export r; \
25097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25098 $(HOST_EXPORTS) \
25099 for flag in $(EXTRA_HOST_FLAGS) ; do \
25100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25101 done; \
25102 echo "Doing pdf in recode" ; \
25103 (cd $(HOST_SUBDIR)/recode && \
25104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25106 "RANLIB=$${RANLIB}" \
25107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25108 pdf) \
25109 || exit 1
25111 @endif recode
25113 .PHONY: maybe-html-recode html-recode
25114 maybe-html-recode:
25115 @if recode
25116 maybe-html-recode: html-recode
25118 html-recode: \
25119 configure-recode
25120 @: $(MAKE); $(unstage)
25121 @[ -f ./recode/Makefile ] || exit 0; \
25122 r=`${PWD_COMMAND}`; export r; \
25123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25124 $(HOST_EXPORTS) \
25125 for flag in $(EXTRA_HOST_FLAGS) ; do \
25126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25127 done; \
25128 echo "Doing html in recode" ; \
25129 (cd $(HOST_SUBDIR)/recode && \
25130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25132 "RANLIB=$${RANLIB}" \
25133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25134 html) \
25135 || exit 1
25137 @endif recode
25139 .PHONY: maybe-TAGS-recode TAGS-recode
25140 maybe-TAGS-recode:
25141 @if recode
25142 maybe-TAGS-recode: TAGS-recode
25144 TAGS-recode: \
25145 configure-recode
25146 @: $(MAKE); $(unstage)
25147 @[ -f ./recode/Makefile ] || exit 0; \
25148 r=`${PWD_COMMAND}`; export r; \
25149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25150 $(HOST_EXPORTS) \
25151 for flag in $(EXTRA_HOST_FLAGS) ; do \
25152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25153 done; \
25154 echo "Doing TAGS in recode" ; \
25155 (cd $(HOST_SUBDIR)/recode && \
25156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25158 "RANLIB=$${RANLIB}" \
25159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25160 TAGS) \
25161 || exit 1
25163 @endif recode
25165 .PHONY: maybe-install-info-recode install-info-recode
25166 maybe-install-info-recode:
25167 @if recode
25168 maybe-install-info-recode: install-info-recode
25170 install-info-recode: \
25171 configure-recode \
25172 info-recode
25173 @: $(MAKE); $(unstage)
25174 @[ -f ./recode/Makefile ] || exit 0; \
25175 r=`${PWD_COMMAND}`; export r; \
25176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25177 $(HOST_EXPORTS) \
25178 for flag in $(EXTRA_HOST_FLAGS) ; do \
25179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25180 done; \
25181 echo "Doing install-info in recode" ; \
25182 (cd $(HOST_SUBDIR)/recode && \
25183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25185 "RANLIB=$${RANLIB}" \
25186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25187 install-info) \
25188 || exit 1
25190 @endif recode
25192 .PHONY: maybe-install-html-recode install-html-recode
25193 maybe-install-html-recode:
25194 @if recode
25195 maybe-install-html-recode: install-html-recode
25197 install-html-recode: \
25198 configure-recode \
25199 html-recode
25200 @: $(MAKE); $(unstage)
25201 @[ -f ./recode/Makefile ] || exit 0; \
25202 r=`${PWD_COMMAND}`; export r; \
25203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25204 $(HOST_EXPORTS) \
25205 for flag in $(EXTRA_HOST_FLAGS) ; do \
25206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25207 done; \
25208 echo "Doing install-html in recode" ; \
25209 (cd $(HOST_SUBDIR)/recode && \
25210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25212 "RANLIB=$${RANLIB}" \
25213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25214 install-html) \
25215 || exit 1
25217 @endif recode
25219 .PHONY: maybe-installcheck-recode installcheck-recode
25220 maybe-installcheck-recode:
25221 @if recode
25222 maybe-installcheck-recode: installcheck-recode
25224 installcheck-recode: \
25225 configure-recode
25226 @: $(MAKE); $(unstage)
25227 @[ -f ./recode/Makefile ] || exit 0; \
25228 r=`${PWD_COMMAND}`; export r; \
25229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25230 $(HOST_EXPORTS) \
25231 for flag in $(EXTRA_HOST_FLAGS) ; do \
25232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25233 done; \
25234 echo "Doing installcheck in recode" ; \
25235 (cd $(HOST_SUBDIR)/recode && \
25236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25238 "RANLIB=$${RANLIB}" \
25239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25240 installcheck) \
25241 || exit 1
25243 @endif recode
25245 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
25246 maybe-mostlyclean-recode:
25247 @if recode
25248 maybe-mostlyclean-recode: mostlyclean-recode
25250 mostlyclean-recode:
25251 @: $(MAKE); $(unstage)
25252 @[ -f ./recode/Makefile ] || exit 0; \
25253 r=`${PWD_COMMAND}`; export r; \
25254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25255 $(HOST_EXPORTS) \
25256 for flag in $(EXTRA_HOST_FLAGS) ; do \
25257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25258 done; \
25259 echo "Doing mostlyclean in recode" ; \
25260 (cd $(HOST_SUBDIR)/recode && \
25261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25263 "RANLIB=$${RANLIB}" \
25264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25265 mostlyclean) \
25266 || exit 1
25268 @endif recode
25270 .PHONY: maybe-clean-recode clean-recode
25271 maybe-clean-recode:
25272 @if recode
25273 maybe-clean-recode: clean-recode
25275 clean-recode:
25276 @: $(MAKE); $(unstage)
25277 @[ -f ./recode/Makefile ] || exit 0; \
25278 r=`${PWD_COMMAND}`; export r; \
25279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25280 $(HOST_EXPORTS) \
25281 for flag in $(EXTRA_HOST_FLAGS) ; do \
25282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25283 done; \
25284 echo "Doing clean in recode" ; \
25285 (cd $(HOST_SUBDIR)/recode && \
25286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25288 "RANLIB=$${RANLIB}" \
25289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25290 clean) \
25291 || exit 1
25293 @endif recode
25295 .PHONY: maybe-distclean-recode distclean-recode
25296 maybe-distclean-recode:
25297 @if recode
25298 maybe-distclean-recode: distclean-recode
25300 distclean-recode:
25301 @: $(MAKE); $(unstage)
25302 @[ -f ./recode/Makefile ] || exit 0; \
25303 r=`${PWD_COMMAND}`; export r; \
25304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25305 $(HOST_EXPORTS) \
25306 for flag in $(EXTRA_HOST_FLAGS) ; do \
25307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25308 done; \
25309 echo "Doing distclean in recode" ; \
25310 (cd $(HOST_SUBDIR)/recode && \
25311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25313 "RANLIB=$${RANLIB}" \
25314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25315 distclean) \
25316 || exit 1
25318 @endif recode
25320 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
25321 maybe-maintainer-clean-recode:
25322 @if recode
25323 maybe-maintainer-clean-recode: maintainer-clean-recode
25325 maintainer-clean-recode:
25326 @: $(MAKE); $(unstage)
25327 @[ -f ./recode/Makefile ] || exit 0; \
25328 r=`${PWD_COMMAND}`; export r; \
25329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25330 $(HOST_EXPORTS) \
25331 for flag in $(EXTRA_HOST_FLAGS) ; do \
25332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25333 done; \
25334 echo "Doing maintainer-clean in recode" ; \
25335 (cd $(HOST_SUBDIR)/recode && \
25336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25338 "RANLIB=$${RANLIB}" \
25339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25340 maintainer-clean) \
25341 || exit 1
25343 @endif recode
25347 .PHONY: configure-sed maybe-configure-sed
25348 maybe-configure-sed:
25349 @if gcc-bootstrap
25350 configure-sed: stage_current
25351 @endif gcc-bootstrap
25352 @if sed
25353 maybe-configure-sed: configure-sed
25354 configure-sed:
25355 @: $(MAKE); $(unstage)
25356 @r=`${PWD_COMMAND}`; export r; \
25357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25358 test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
25359 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
25360 $(HOST_EXPORTS) \
25361 echo Configuring in $(HOST_SUBDIR)/sed; \
25362 cd "$(HOST_SUBDIR)/sed" || exit 1; \
25363 case $(srcdir) in \
25364 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25365 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
25366 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25367 esac; \
25368 srcdiroption="--srcdir=$${topdir}/sed"; \
25369 libsrcdir="$$s/sed"; \
25370 $(SHELL) $${libsrcdir}/configure \
25371 $(HOST_CONFIGARGS) $${srcdiroption} \
25372 || exit 1
25373 @endif sed
25379 .PHONY: all-sed maybe-all-sed
25380 maybe-all-sed:
25381 @if gcc-bootstrap
25382 all-sed: stage_current
25383 @endif gcc-bootstrap
25384 @if sed
25385 TARGET-sed=all
25386 maybe-all-sed: all-sed
25387 all-sed: configure-sed
25388 @: $(MAKE); $(unstage)
25389 @r=`${PWD_COMMAND}`; export r; \
25390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25391 $(HOST_EXPORTS) \
25392 (cd $(HOST_SUBDIR)/sed && \
25393 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
25394 @endif sed
25399 .PHONY: check-sed maybe-check-sed
25400 maybe-check-sed:
25401 @if sed
25402 maybe-check-sed: check-sed
25404 check-sed:
25405 @: $(MAKE); $(unstage)
25406 @r=`${PWD_COMMAND}`; export r; \
25407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25408 $(HOST_EXPORTS) \
25409 (cd $(HOST_SUBDIR)/sed && \
25410 $(MAKE) $(FLAGS_TO_PASS) check)
25412 @endif sed
25414 .PHONY: install-sed maybe-install-sed
25415 maybe-install-sed:
25416 @if sed
25417 maybe-install-sed: install-sed
25419 install-sed: installdirs
25420 @: $(MAKE); $(unstage)
25421 @r=`${PWD_COMMAND}`; export r; \
25422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25423 $(HOST_EXPORTS) \
25424 (cd $(HOST_SUBDIR)/sed && \
25425 $(MAKE) $(FLAGS_TO_PASS) install)
25427 @endif sed
25429 # Other targets (info, dvi, pdf, etc.)
25431 .PHONY: maybe-info-sed info-sed
25432 maybe-info-sed:
25433 @if sed
25434 maybe-info-sed: info-sed
25436 info-sed: \
25437 configure-sed
25438 @: $(MAKE); $(unstage)
25439 @[ -f ./sed/Makefile ] || exit 0; \
25440 r=`${PWD_COMMAND}`; export r; \
25441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25442 $(HOST_EXPORTS) \
25443 for flag in $(EXTRA_HOST_FLAGS) ; do \
25444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25445 done; \
25446 echo "Doing info in sed" ; \
25447 (cd $(HOST_SUBDIR)/sed && \
25448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25450 "RANLIB=$${RANLIB}" \
25451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25452 info) \
25453 || exit 1
25455 @endif sed
25457 .PHONY: maybe-dvi-sed dvi-sed
25458 maybe-dvi-sed:
25459 @if sed
25460 maybe-dvi-sed: dvi-sed
25462 dvi-sed: \
25463 configure-sed
25464 @: $(MAKE); $(unstage)
25465 @[ -f ./sed/Makefile ] || exit 0; \
25466 r=`${PWD_COMMAND}`; export r; \
25467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25468 $(HOST_EXPORTS) \
25469 for flag in $(EXTRA_HOST_FLAGS) ; do \
25470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25471 done; \
25472 echo "Doing dvi in sed" ; \
25473 (cd $(HOST_SUBDIR)/sed && \
25474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25476 "RANLIB=$${RANLIB}" \
25477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25478 dvi) \
25479 || exit 1
25481 @endif sed
25483 .PHONY: maybe-pdf-sed pdf-sed
25484 maybe-pdf-sed:
25485 @if sed
25486 maybe-pdf-sed: pdf-sed
25488 pdf-sed: \
25489 configure-sed
25490 @: $(MAKE); $(unstage)
25491 @[ -f ./sed/Makefile ] || exit 0; \
25492 r=`${PWD_COMMAND}`; export r; \
25493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25494 $(HOST_EXPORTS) \
25495 for flag in $(EXTRA_HOST_FLAGS) ; do \
25496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25497 done; \
25498 echo "Doing pdf in sed" ; \
25499 (cd $(HOST_SUBDIR)/sed && \
25500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25502 "RANLIB=$${RANLIB}" \
25503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25504 pdf) \
25505 || exit 1
25507 @endif sed
25509 .PHONY: maybe-html-sed html-sed
25510 maybe-html-sed:
25511 @if sed
25512 maybe-html-sed: html-sed
25514 html-sed: \
25515 configure-sed
25516 @: $(MAKE); $(unstage)
25517 @[ -f ./sed/Makefile ] || exit 0; \
25518 r=`${PWD_COMMAND}`; export r; \
25519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25520 $(HOST_EXPORTS) \
25521 for flag in $(EXTRA_HOST_FLAGS) ; do \
25522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25523 done; \
25524 echo "Doing html in sed" ; \
25525 (cd $(HOST_SUBDIR)/sed && \
25526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25528 "RANLIB=$${RANLIB}" \
25529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25530 html) \
25531 || exit 1
25533 @endif sed
25535 .PHONY: maybe-TAGS-sed TAGS-sed
25536 maybe-TAGS-sed:
25537 @if sed
25538 maybe-TAGS-sed: TAGS-sed
25540 TAGS-sed: \
25541 configure-sed
25542 @: $(MAKE); $(unstage)
25543 @[ -f ./sed/Makefile ] || exit 0; \
25544 r=`${PWD_COMMAND}`; export r; \
25545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25546 $(HOST_EXPORTS) \
25547 for flag in $(EXTRA_HOST_FLAGS) ; do \
25548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25549 done; \
25550 echo "Doing TAGS in sed" ; \
25551 (cd $(HOST_SUBDIR)/sed && \
25552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25554 "RANLIB=$${RANLIB}" \
25555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25556 TAGS) \
25557 || exit 1
25559 @endif sed
25561 .PHONY: maybe-install-info-sed install-info-sed
25562 maybe-install-info-sed:
25563 @if sed
25564 maybe-install-info-sed: install-info-sed
25566 install-info-sed: \
25567 configure-sed \
25568 info-sed
25569 @: $(MAKE); $(unstage)
25570 @[ -f ./sed/Makefile ] || exit 0; \
25571 r=`${PWD_COMMAND}`; export r; \
25572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25573 $(HOST_EXPORTS) \
25574 for flag in $(EXTRA_HOST_FLAGS) ; do \
25575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25576 done; \
25577 echo "Doing install-info in sed" ; \
25578 (cd $(HOST_SUBDIR)/sed && \
25579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25581 "RANLIB=$${RANLIB}" \
25582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25583 install-info) \
25584 || exit 1
25586 @endif sed
25588 .PHONY: maybe-install-html-sed install-html-sed
25589 maybe-install-html-sed:
25590 @if sed
25591 maybe-install-html-sed: install-html-sed
25593 install-html-sed: \
25594 configure-sed \
25595 html-sed
25596 @: $(MAKE); $(unstage)
25597 @[ -f ./sed/Makefile ] || exit 0; \
25598 r=`${PWD_COMMAND}`; export r; \
25599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25600 $(HOST_EXPORTS) \
25601 for flag in $(EXTRA_HOST_FLAGS) ; do \
25602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25603 done; \
25604 echo "Doing install-html in sed" ; \
25605 (cd $(HOST_SUBDIR)/sed && \
25606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25608 "RANLIB=$${RANLIB}" \
25609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25610 install-html) \
25611 || exit 1
25613 @endif sed
25615 .PHONY: maybe-installcheck-sed installcheck-sed
25616 maybe-installcheck-sed:
25617 @if sed
25618 maybe-installcheck-sed: installcheck-sed
25620 installcheck-sed: \
25621 configure-sed
25622 @: $(MAKE); $(unstage)
25623 @[ -f ./sed/Makefile ] || exit 0; \
25624 r=`${PWD_COMMAND}`; export r; \
25625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25626 $(HOST_EXPORTS) \
25627 for flag in $(EXTRA_HOST_FLAGS) ; do \
25628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25629 done; \
25630 echo "Doing installcheck in sed" ; \
25631 (cd $(HOST_SUBDIR)/sed && \
25632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25634 "RANLIB=$${RANLIB}" \
25635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25636 installcheck) \
25637 || exit 1
25639 @endif sed
25641 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
25642 maybe-mostlyclean-sed:
25643 @if sed
25644 maybe-mostlyclean-sed: mostlyclean-sed
25646 mostlyclean-sed:
25647 @: $(MAKE); $(unstage)
25648 @[ -f ./sed/Makefile ] || exit 0; \
25649 r=`${PWD_COMMAND}`; export r; \
25650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25651 $(HOST_EXPORTS) \
25652 for flag in $(EXTRA_HOST_FLAGS) ; do \
25653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25654 done; \
25655 echo "Doing mostlyclean in sed" ; \
25656 (cd $(HOST_SUBDIR)/sed && \
25657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25659 "RANLIB=$${RANLIB}" \
25660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25661 mostlyclean) \
25662 || exit 1
25664 @endif sed
25666 .PHONY: maybe-clean-sed clean-sed
25667 maybe-clean-sed:
25668 @if sed
25669 maybe-clean-sed: clean-sed
25671 clean-sed:
25672 @: $(MAKE); $(unstage)
25673 @[ -f ./sed/Makefile ] || exit 0; \
25674 r=`${PWD_COMMAND}`; export r; \
25675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25676 $(HOST_EXPORTS) \
25677 for flag in $(EXTRA_HOST_FLAGS) ; do \
25678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25679 done; \
25680 echo "Doing clean in sed" ; \
25681 (cd $(HOST_SUBDIR)/sed && \
25682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25684 "RANLIB=$${RANLIB}" \
25685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25686 clean) \
25687 || exit 1
25689 @endif sed
25691 .PHONY: maybe-distclean-sed distclean-sed
25692 maybe-distclean-sed:
25693 @if sed
25694 maybe-distclean-sed: distclean-sed
25696 distclean-sed:
25697 @: $(MAKE); $(unstage)
25698 @[ -f ./sed/Makefile ] || exit 0; \
25699 r=`${PWD_COMMAND}`; export r; \
25700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25701 $(HOST_EXPORTS) \
25702 for flag in $(EXTRA_HOST_FLAGS) ; do \
25703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25704 done; \
25705 echo "Doing distclean in sed" ; \
25706 (cd $(HOST_SUBDIR)/sed && \
25707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25709 "RANLIB=$${RANLIB}" \
25710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25711 distclean) \
25712 || exit 1
25714 @endif sed
25716 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
25717 maybe-maintainer-clean-sed:
25718 @if sed
25719 maybe-maintainer-clean-sed: maintainer-clean-sed
25721 maintainer-clean-sed:
25722 @: $(MAKE); $(unstage)
25723 @[ -f ./sed/Makefile ] || exit 0; \
25724 r=`${PWD_COMMAND}`; export r; \
25725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25726 $(HOST_EXPORTS) \
25727 for flag in $(EXTRA_HOST_FLAGS) ; do \
25728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25729 done; \
25730 echo "Doing maintainer-clean in sed" ; \
25731 (cd $(HOST_SUBDIR)/sed && \
25732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25734 "RANLIB=$${RANLIB}" \
25735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25736 maintainer-clean) \
25737 || exit 1
25739 @endif sed
25743 .PHONY: configure-send-pr maybe-configure-send-pr
25744 maybe-configure-send-pr:
25745 @if gcc-bootstrap
25746 configure-send-pr: stage_current
25747 @endif gcc-bootstrap
25748 @if send-pr
25749 maybe-configure-send-pr: configure-send-pr
25750 configure-send-pr:
25751 @: $(MAKE); $(unstage)
25752 @r=`${PWD_COMMAND}`; export r; \
25753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25754 test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
25755 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
25756 $(HOST_EXPORTS) \
25757 echo Configuring in $(HOST_SUBDIR)/send-pr; \
25758 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
25759 case $(srcdir) in \
25760 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25761 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
25762 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25763 esac; \
25764 srcdiroption="--srcdir=$${topdir}/send-pr"; \
25765 libsrcdir="$$s/send-pr"; \
25766 $(SHELL) $${libsrcdir}/configure \
25767 $(HOST_CONFIGARGS) $${srcdiroption} \
25768 || exit 1
25769 @endif send-pr
25775 .PHONY: all-send-pr maybe-all-send-pr
25776 maybe-all-send-pr:
25777 @if gcc-bootstrap
25778 all-send-pr: stage_current
25779 @endif gcc-bootstrap
25780 @if send-pr
25781 TARGET-send-pr=all
25782 maybe-all-send-pr: all-send-pr
25783 all-send-pr: configure-send-pr
25784 @: $(MAKE); $(unstage)
25785 @r=`${PWD_COMMAND}`; export r; \
25786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25787 $(HOST_EXPORTS) \
25788 (cd $(HOST_SUBDIR)/send-pr && \
25789 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
25790 @endif send-pr
25795 .PHONY: check-send-pr maybe-check-send-pr
25796 maybe-check-send-pr:
25797 @if send-pr
25798 maybe-check-send-pr: check-send-pr
25800 check-send-pr:
25801 @: $(MAKE); $(unstage)
25802 @r=`${PWD_COMMAND}`; export r; \
25803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25804 $(HOST_EXPORTS) \
25805 (cd $(HOST_SUBDIR)/send-pr && \
25806 $(MAKE) $(FLAGS_TO_PASS) check)
25808 @endif send-pr
25810 .PHONY: install-send-pr maybe-install-send-pr
25811 maybe-install-send-pr:
25812 @if send-pr
25813 maybe-install-send-pr: install-send-pr
25815 install-send-pr: installdirs
25816 @: $(MAKE); $(unstage)
25817 @r=`${PWD_COMMAND}`; export r; \
25818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25819 $(HOST_EXPORTS) \
25820 (cd $(HOST_SUBDIR)/send-pr && \
25821 $(MAKE) $(FLAGS_TO_PASS) install)
25823 @endif send-pr
25825 # Other targets (info, dvi, pdf, etc.)
25827 .PHONY: maybe-info-send-pr info-send-pr
25828 maybe-info-send-pr:
25829 @if send-pr
25830 maybe-info-send-pr: info-send-pr
25832 info-send-pr: \
25833 configure-send-pr
25834 @: $(MAKE); $(unstage)
25835 @[ -f ./send-pr/Makefile ] || exit 0; \
25836 r=`${PWD_COMMAND}`; export r; \
25837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25838 $(HOST_EXPORTS) \
25839 for flag in $(EXTRA_HOST_FLAGS) ; do \
25840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25841 done; \
25842 echo "Doing info in send-pr" ; \
25843 (cd $(HOST_SUBDIR)/send-pr && \
25844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25846 "RANLIB=$${RANLIB}" \
25847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25848 info) \
25849 || exit 1
25851 @endif send-pr
25853 .PHONY: maybe-dvi-send-pr dvi-send-pr
25854 maybe-dvi-send-pr:
25855 @if send-pr
25856 maybe-dvi-send-pr: dvi-send-pr
25858 dvi-send-pr: \
25859 configure-send-pr
25860 @: $(MAKE); $(unstage)
25861 @[ -f ./send-pr/Makefile ] || exit 0; \
25862 r=`${PWD_COMMAND}`; export r; \
25863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25864 $(HOST_EXPORTS) \
25865 for flag in $(EXTRA_HOST_FLAGS) ; do \
25866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25867 done; \
25868 echo "Doing dvi in send-pr" ; \
25869 (cd $(HOST_SUBDIR)/send-pr && \
25870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25872 "RANLIB=$${RANLIB}" \
25873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25874 dvi) \
25875 || exit 1
25877 @endif send-pr
25879 .PHONY: maybe-pdf-send-pr pdf-send-pr
25880 maybe-pdf-send-pr:
25881 @if send-pr
25882 maybe-pdf-send-pr: pdf-send-pr
25884 pdf-send-pr: \
25885 configure-send-pr
25886 @: $(MAKE); $(unstage)
25887 @[ -f ./send-pr/Makefile ] || exit 0; \
25888 r=`${PWD_COMMAND}`; export r; \
25889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25890 $(HOST_EXPORTS) \
25891 for flag in $(EXTRA_HOST_FLAGS) ; do \
25892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25893 done; \
25894 echo "Doing pdf in send-pr" ; \
25895 (cd $(HOST_SUBDIR)/send-pr && \
25896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25898 "RANLIB=$${RANLIB}" \
25899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25900 pdf) \
25901 || exit 1
25903 @endif send-pr
25905 .PHONY: maybe-html-send-pr html-send-pr
25906 maybe-html-send-pr:
25907 @if send-pr
25908 maybe-html-send-pr: html-send-pr
25910 html-send-pr: \
25911 configure-send-pr
25912 @: $(MAKE); $(unstage)
25913 @[ -f ./send-pr/Makefile ] || exit 0; \
25914 r=`${PWD_COMMAND}`; export r; \
25915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25916 $(HOST_EXPORTS) \
25917 for flag in $(EXTRA_HOST_FLAGS) ; do \
25918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25919 done; \
25920 echo "Doing html in send-pr" ; \
25921 (cd $(HOST_SUBDIR)/send-pr && \
25922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25924 "RANLIB=$${RANLIB}" \
25925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25926 html) \
25927 || exit 1
25929 @endif send-pr
25931 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
25932 maybe-TAGS-send-pr:
25933 @if send-pr
25934 maybe-TAGS-send-pr: TAGS-send-pr
25936 TAGS-send-pr: \
25937 configure-send-pr
25938 @: $(MAKE); $(unstage)
25939 @[ -f ./send-pr/Makefile ] || exit 0; \
25940 r=`${PWD_COMMAND}`; export r; \
25941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25942 $(HOST_EXPORTS) \
25943 for flag in $(EXTRA_HOST_FLAGS) ; do \
25944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25945 done; \
25946 echo "Doing TAGS in send-pr" ; \
25947 (cd $(HOST_SUBDIR)/send-pr && \
25948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25950 "RANLIB=$${RANLIB}" \
25951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25952 TAGS) \
25953 || exit 1
25955 @endif send-pr
25957 .PHONY: maybe-install-info-send-pr install-info-send-pr
25958 maybe-install-info-send-pr:
25959 @if send-pr
25960 maybe-install-info-send-pr: install-info-send-pr
25962 install-info-send-pr: \
25963 configure-send-pr \
25964 info-send-pr
25965 @: $(MAKE); $(unstage)
25966 @[ -f ./send-pr/Makefile ] || exit 0; \
25967 r=`${PWD_COMMAND}`; export r; \
25968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25969 $(HOST_EXPORTS) \
25970 for flag in $(EXTRA_HOST_FLAGS) ; do \
25971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25972 done; \
25973 echo "Doing install-info in send-pr" ; \
25974 (cd $(HOST_SUBDIR)/send-pr && \
25975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25977 "RANLIB=$${RANLIB}" \
25978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25979 install-info) \
25980 || exit 1
25982 @endif send-pr
25984 .PHONY: maybe-install-html-send-pr install-html-send-pr
25985 maybe-install-html-send-pr:
25986 @if send-pr
25987 maybe-install-html-send-pr: install-html-send-pr
25989 install-html-send-pr: \
25990 configure-send-pr \
25991 html-send-pr
25992 @: $(MAKE); $(unstage)
25993 @[ -f ./send-pr/Makefile ] || exit 0; \
25994 r=`${PWD_COMMAND}`; export r; \
25995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25996 $(HOST_EXPORTS) \
25997 for flag in $(EXTRA_HOST_FLAGS) ; do \
25998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25999 done; \
26000 echo "Doing install-html in send-pr" ; \
26001 (cd $(HOST_SUBDIR)/send-pr && \
26002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26004 "RANLIB=$${RANLIB}" \
26005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26006 install-html) \
26007 || exit 1
26009 @endif send-pr
26011 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
26012 maybe-installcheck-send-pr:
26013 @if send-pr
26014 maybe-installcheck-send-pr: installcheck-send-pr
26016 installcheck-send-pr: \
26017 configure-send-pr
26018 @: $(MAKE); $(unstage)
26019 @[ -f ./send-pr/Makefile ] || exit 0; \
26020 r=`${PWD_COMMAND}`; export r; \
26021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26022 $(HOST_EXPORTS) \
26023 for flag in $(EXTRA_HOST_FLAGS) ; do \
26024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26025 done; \
26026 echo "Doing installcheck in send-pr" ; \
26027 (cd $(HOST_SUBDIR)/send-pr && \
26028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26030 "RANLIB=$${RANLIB}" \
26031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26032 installcheck) \
26033 || exit 1
26035 @endif send-pr
26037 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
26038 maybe-mostlyclean-send-pr:
26039 @if send-pr
26040 maybe-mostlyclean-send-pr: mostlyclean-send-pr
26042 mostlyclean-send-pr:
26043 @: $(MAKE); $(unstage)
26044 @[ -f ./send-pr/Makefile ] || exit 0; \
26045 r=`${PWD_COMMAND}`; export r; \
26046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26047 $(HOST_EXPORTS) \
26048 for flag in $(EXTRA_HOST_FLAGS) ; do \
26049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26050 done; \
26051 echo "Doing mostlyclean in send-pr" ; \
26052 (cd $(HOST_SUBDIR)/send-pr && \
26053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26055 "RANLIB=$${RANLIB}" \
26056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26057 mostlyclean) \
26058 || exit 1
26060 @endif send-pr
26062 .PHONY: maybe-clean-send-pr clean-send-pr
26063 maybe-clean-send-pr:
26064 @if send-pr
26065 maybe-clean-send-pr: clean-send-pr
26067 clean-send-pr:
26068 @: $(MAKE); $(unstage)
26069 @[ -f ./send-pr/Makefile ] || exit 0; \
26070 r=`${PWD_COMMAND}`; export r; \
26071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26072 $(HOST_EXPORTS) \
26073 for flag in $(EXTRA_HOST_FLAGS) ; do \
26074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26075 done; \
26076 echo "Doing clean in send-pr" ; \
26077 (cd $(HOST_SUBDIR)/send-pr && \
26078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26080 "RANLIB=$${RANLIB}" \
26081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26082 clean) \
26083 || exit 1
26085 @endif send-pr
26087 .PHONY: maybe-distclean-send-pr distclean-send-pr
26088 maybe-distclean-send-pr:
26089 @if send-pr
26090 maybe-distclean-send-pr: distclean-send-pr
26092 distclean-send-pr:
26093 @: $(MAKE); $(unstage)
26094 @[ -f ./send-pr/Makefile ] || exit 0; \
26095 r=`${PWD_COMMAND}`; export r; \
26096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26097 $(HOST_EXPORTS) \
26098 for flag in $(EXTRA_HOST_FLAGS) ; do \
26099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26100 done; \
26101 echo "Doing distclean in send-pr" ; \
26102 (cd $(HOST_SUBDIR)/send-pr && \
26103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26105 "RANLIB=$${RANLIB}" \
26106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26107 distclean) \
26108 || exit 1
26110 @endif send-pr
26112 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
26113 maybe-maintainer-clean-send-pr:
26114 @if send-pr
26115 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
26117 maintainer-clean-send-pr:
26118 @: $(MAKE); $(unstage)
26119 @[ -f ./send-pr/Makefile ] || exit 0; \
26120 r=`${PWD_COMMAND}`; export r; \
26121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26122 $(HOST_EXPORTS) \
26123 for flag in $(EXTRA_HOST_FLAGS) ; do \
26124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26125 done; \
26126 echo "Doing maintainer-clean in send-pr" ; \
26127 (cd $(HOST_SUBDIR)/send-pr && \
26128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26130 "RANLIB=$${RANLIB}" \
26131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26132 maintainer-clean) \
26133 || exit 1
26135 @endif send-pr
26139 .PHONY: configure-shellutils maybe-configure-shellutils
26140 maybe-configure-shellutils:
26141 @if gcc-bootstrap
26142 configure-shellutils: stage_current
26143 @endif gcc-bootstrap
26144 @if shellutils
26145 maybe-configure-shellutils: configure-shellutils
26146 configure-shellutils:
26147 @: $(MAKE); $(unstage)
26148 @r=`${PWD_COMMAND}`; export r; \
26149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26150 test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
26151 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
26152 $(HOST_EXPORTS) \
26153 echo Configuring in $(HOST_SUBDIR)/shellutils; \
26154 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
26155 case $(srcdir) in \
26156 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26157 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
26158 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26159 esac; \
26160 srcdiroption="--srcdir=$${topdir}/shellutils"; \
26161 libsrcdir="$$s/shellutils"; \
26162 $(SHELL) $${libsrcdir}/configure \
26163 $(HOST_CONFIGARGS) $${srcdiroption} \
26164 || exit 1
26165 @endif shellutils
26171 .PHONY: all-shellutils maybe-all-shellutils
26172 maybe-all-shellutils:
26173 @if gcc-bootstrap
26174 all-shellutils: stage_current
26175 @endif gcc-bootstrap
26176 @if shellutils
26177 TARGET-shellutils=all
26178 maybe-all-shellutils: all-shellutils
26179 all-shellutils: configure-shellutils
26180 @: $(MAKE); $(unstage)
26181 @r=`${PWD_COMMAND}`; export r; \
26182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26183 $(HOST_EXPORTS) \
26184 (cd $(HOST_SUBDIR)/shellutils && \
26185 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
26186 @endif shellutils
26191 .PHONY: check-shellutils maybe-check-shellutils
26192 maybe-check-shellutils:
26193 @if shellutils
26194 maybe-check-shellutils: check-shellutils
26196 check-shellutils:
26197 @: $(MAKE); $(unstage)
26198 @r=`${PWD_COMMAND}`; export r; \
26199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26200 $(HOST_EXPORTS) \
26201 (cd $(HOST_SUBDIR)/shellutils && \
26202 $(MAKE) $(FLAGS_TO_PASS) check)
26204 @endif shellutils
26206 .PHONY: install-shellutils maybe-install-shellutils
26207 maybe-install-shellutils:
26208 @if shellutils
26209 maybe-install-shellutils: install-shellutils
26211 install-shellutils: installdirs
26212 @: $(MAKE); $(unstage)
26213 @r=`${PWD_COMMAND}`; export r; \
26214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26215 $(HOST_EXPORTS) \
26216 (cd $(HOST_SUBDIR)/shellutils && \
26217 $(MAKE) $(FLAGS_TO_PASS) install)
26219 @endif shellutils
26221 # Other targets (info, dvi, pdf, etc.)
26223 .PHONY: maybe-info-shellutils info-shellutils
26224 maybe-info-shellutils:
26225 @if shellutils
26226 maybe-info-shellutils: info-shellutils
26228 info-shellutils: \
26229 configure-shellutils
26230 @: $(MAKE); $(unstage)
26231 @[ -f ./shellutils/Makefile ] || exit 0; \
26232 r=`${PWD_COMMAND}`; export r; \
26233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26234 $(HOST_EXPORTS) \
26235 for flag in $(EXTRA_HOST_FLAGS) ; do \
26236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26237 done; \
26238 echo "Doing info in shellutils" ; \
26239 (cd $(HOST_SUBDIR)/shellutils && \
26240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26242 "RANLIB=$${RANLIB}" \
26243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26244 info) \
26245 || exit 1
26247 @endif shellutils
26249 .PHONY: maybe-dvi-shellutils dvi-shellutils
26250 maybe-dvi-shellutils:
26251 @if shellutils
26252 maybe-dvi-shellutils: dvi-shellutils
26254 dvi-shellutils: \
26255 configure-shellutils
26256 @: $(MAKE); $(unstage)
26257 @[ -f ./shellutils/Makefile ] || exit 0; \
26258 r=`${PWD_COMMAND}`; export r; \
26259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26260 $(HOST_EXPORTS) \
26261 for flag in $(EXTRA_HOST_FLAGS) ; do \
26262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26263 done; \
26264 echo "Doing dvi in shellutils" ; \
26265 (cd $(HOST_SUBDIR)/shellutils && \
26266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26268 "RANLIB=$${RANLIB}" \
26269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26270 dvi) \
26271 || exit 1
26273 @endif shellutils
26275 .PHONY: maybe-pdf-shellutils pdf-shellutils
26276 maybe-pdf-shellutils:
26277 @if shellutils
26278 maybe-pdf-shellutils: pdf-shellutils
26280 pdf-shellutils: \
26281 configure-shellutils
26282 @: $(MAKE); $(unstage)
26283 @[ -f ./shellutils/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 pdf in shellutils" ; \
26291 (cd $(HOST_SUBDIR)/shellutils && \
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 pdf) \
26297 || exit 1
26299 @endif shellutils
26301 .PHONY: maybe-html-shellutils html-shellutils
26302 maybe-html-shellutils:
26303 @if shellutils
26304 maybe-html-shellutils: html-shellutils
26306 html-shellutils: \
26307 configure-shellutils
26308 @: $(MAKE); $(unstage)
26309 @[ -f ./shellutils/Makefile ] || exit 0; \
26310 r=`${PWD_COMMAND}`; export r; \
26311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26312 $(HOST_EXPORTS) \
26313 for flag in $(EXTRA_HOST_FLAGS) ; do \
26314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26315 done; \
26316 echo "Doing html in shellutils" ; \
26317 (cd $(HOST_SUBDIR)/shellutils && \
26318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26320 "RANLIB=$${RANLIB}" \
26321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26322 html) \
26323 || exit 1
26325 @endif shellutils
26327 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
26328 maybe-TAGS-shellutils:
26329 @if shellutils
26330 maybe-TAGS-shellutils: TAGS-shellutils
26332 TAGS-shellutils: \
26333 configure-shellutils
26334 @: $(MAKE); $(unstage)
26335 @[ -f ./shellutils/Makefile ] || exit 0; \
26336 r=`${PWD_COMMAND}`; export r; \
26337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26338 $(HOST_EXPORTS) \
26339 for flag in $(EXTRA_HOST_FLAGS) ; do \
26340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26341 done; \
26342 echo "Doing TAGS in shellutils" ; \
26343 (cd $(HOST_SUBDIR)/shellutils && \
26344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26346 "RANLIB=$${RANLIB}" \
26347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26348 TAGS) \
26349 || exit 1
26351 @endif shellutils
26353 .PHONY: maybe-install-info-shellutils install-info-shellutils
26354 maybe-install-info-shellutils:
26355 @if shellutils
26356 maybe-install-info-shellutils: install-info-shellutils
26358 install-info-shellutils: \
26359 configure-shellutils \
26360 info-shellutils
26361 @: $(MAKE); $(unstage)
26362 @[ -f ./shellutils/Makefile ] || exit 0; \
26363 r=`${PWD_COMMAND}`; export r; \
26364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26365 $(HOST_EXPORTS) \
26366 for flag in $(EXTRA_HOST_FLAGS) ; do \
26367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26368 done; \
26369 echo "Doing install-info in shellutils" ; \
26370 (cd $(HOST_SUBDIR)/shellutils && \
26371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26373 "RANLIB=$${RANLIB}" \
26374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26375 install-info) \
26376 || exit 1
26378 @endif shellutils
26380 .PHONY: maybe-install-html-shellutils install-html-shellutils
26381 maybe-install-html-shellutils:
26382 @if shellutils
26383 maybe-install-html-shellutils: install-html-shellutils
26385 install-html-shellutils: \
26386 configure-shellutils \
26387 html-shellutils
26388 @: $(MAKE); $(unstage)
26389 @[ -f ./shellutils/Makefile ] || exit 0; \
26390 r=`${PWD_COMMAND}`; export r; \
26391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26392 $(HOST_EXPORTS) \
26393 for flag in $(EXTRA_HOST_FLAGS) ; do \
26394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26395 done; \
26396 echo "Doing install-html in shellutils" ; \
26397 (cd $(HOST_SUBDIR)/shellutils && \
26398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26400 "RANLIB=$${RANLIB}" \
26401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26402 install-html) \
26403 || exit 1
26405 @endif shellutils
26407 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
26408 maybe-installcheck-shellutils:
26409 @if shellutils
26410 maybe-installcheck-shellutils: installcheck-shellutils
26412 installcheck-shellutils: \
26413 configure-shellutils
26414 @: $(MAKE); $(unstage)
26415 @[ -f ./shellutils/Makefile ] || exit 0; \
26416 r=`${PWD_COMMAND}`; export r; \
26417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26418 $(HOST_EXPORTS) \
26419 for flag in $(EXTRA_HOST_FLAGS) ; do \
26420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26421 done; \
26422 echo "Doing installcheck in shellutils" ; \
26423 (cd $(HOST_SUBDIR)/shellutils && \
26424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26426 "RANLIB=$${RANLIB}" \
26427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26428 installcheck) \
26429 || exit 1
26431 @endif shellutils
26433 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
26434 maybe-mostlyclean-shellutils:
26435 @if shellutils
26436 maybe-mostlyclean-shellutils: mostlyclean-shellutils
26438 mostlyclean-shellutils:
26439 @: $(MAKE); $(unstage)
26440 @[ -f ./shellutils/Makefile ] || exit 0; \
26441 r=`${PWD_COMMAND}`; export r; \
26442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26443 $(HOST_EXPORTS) \
26444 for flag in $(EXTRA_HOST_FLAGS) ; do \
26445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26446 done; \
26447 echo "Doing mostlyclean in shellutils" ; \
26448 (cd $(HOST_SUBDIR)/shellutils && \
26449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26451 "RANLIB=$${RANLIB}" \
26452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26453 mostlyclean) \
26454 || exit 1
26456 @endif shellutils
26458 .PHONY: maybe-clean-shellutils clean-shellutils
26459 maybe-clean-shellutils:
26460 @if shellutils
26461 maybe-clean-shellutils: clean-shellutils
26463 clean-shellutils:
26464 @: $(MAKE); $(unstage)
26465 @[ -f ./shellutils/Makefile ] || exit 0; \
26466 r=`${PWD_COMMAND}`; export r; \
26467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26468 $(HOST_EXPORTS) \
26469 for flag in $(EXTRA_HOST_FLAGS) ; do \
26470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26471 done; \
26472 echo "Doing clean in shellutils" ; \
26473 (cd $(HOST_SUBDIR)/shellutils && \
26474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26476 "RANLIB=$${RANLIB}" \
26477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26478 clean) \
26479 || exit 1
26481 @endif shellutils
26483 .PHONY: maybe-distclean-shellutils distclean-shellutils
26484 maybe-distclean-shellutils:
26485 @if shellutils
26486 maybe-distclean-shellutils: distclean-shellutils
26488 distclean-shellutils:
26489 @: $(MAKE); $(unstage)
26490 @[ -f ./shellutils/Makefile ] || exit 0; \
26491 r=`${PWD_COMMAND}`; export r; \
26492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26493 $(HOST_EXPORTS) \
26494 for flag in $(EXTRA_HOST_FLAGS) ; do \
26495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26496 done; \
26497 echo "Doing distclean in shellutils" ; \
26498 (cd $(HOST_SUBDIR)/shellutils && \
26499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26501 "RANLIB=$${RANLIB}" \
26502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26503 distclean) \
26504 || exit 1
26506 @endif shellutils
26508 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
26509 maybe-maintainer-clean-shellutils:
26510 @if shellutils
26511 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
26513 maintainer-clean-shellutils:
26514 @: $(MAKE); $(unstage)
26515 @[ -f ./shellutils/Makefile ] || exit 0; \
26516 r=`${PWD_COMMAND}`; export r; \
26517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26518 $(HOST_EXPORTS) \
26519 for flag in $(EXTRA_HOST_FLAGS) ; do \
26520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26521 done; \
26522 echo "Doing maintainer-clean in shellutils" ; \
26523 (cd $(HOST_SUBDIR)/shellutils && \
26524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26526 "RANLIB=$${RANLIB}" \
26527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26528 maintainer-clean) \
26529 || exit 1
26531 @endif shellutils
26535 .PHONY: configure-sid maybe-configure-sid
26536 maybe-configure-sid:
26537 @if gcc-bootstrap
26538 configure-sid: stage_current
26539 @endif gcc-bootstrap
26540 @if sid
26541 maybe-configure-sid: configure-sid
26542 configure-sid:
26543 @: $(MAKE); $(unstage)
26544 @r=`${PWD_COMMAND}`; export r; \
26545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26546 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
26547 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
26548 $(HOST_EXPORTS) \
26549 echo Configuring in $(HOST_SUBDIR)/sid; \
26550 cd "$(HOST_SUBDIR)/sid" || exit 1; \
26551 case $(srcdir) in \
26552 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26553 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
26554 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26555 esac; \
26556 srcdiroption="--srcdir=$${topdir}/sid"; \
26557 libsrcdir="$$s/sid"; \
26558 $(SHELL) $${libsrcdir}/configure \
26559 $(HOST_CONFIGARGS) $${srcdiroption} \
26560 || exit 1
26561 @endif sid
26567 .PHONY: all-sid maybe-all-sid
26568 maybe-all-sid:
26569 @if gcc-bootstrap
26570 all-sid: stage_current
26571 @endif gcc-bootstrap
26572 @if sid
26573 TARGET-sid=all
26574 maybe-all-sid: all-sid
26575 all-sid: configure-sid
26576 @: $(MAKE); $(unstage)
26577 @r=`${PWD_COMMAND}`; export r; \
26578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26579 $(HOST_EXPORTS) \
26580 (cd $(HOST_SUBDIR)/sid && \
26581 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
26582 @endif sid
26587 .PHONY: check-sid maybe-check-sid
26588 maybe-check-sid:
26589 @if sid
26590 maybe-check-sid: check-sid
26592 check-sid:
26593 @: $(MAKE); $(unstage)
26594 @r=`${PWD_COMMAND}`; export r; \
26595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26596 $(HOST_EXPORTS) \
26597 (cd $(HOST_SUBDIR)/sid && \
26598 $(MAKE) $(FLAGS_TO_PASS) check)
26600 @endif sid
26602 .PHONY: install-sid maybe-install-sid
26603 maybe-install-sid:
26604 @if sid
26605 maybe-install-sid: install-sid
26607 install-sid: installdirs
26608 @: $(MAKE); $(unstage)
26609 @r=`${PWD_COMMAND}`; export r; \
26610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26611 $(HOST_EXPORTS) \
26612 (cd $(HOST_SUBDIR)/sid && \
26613 $(MAKE) $(FLAGS_TO_PASS) install)
26615 @endif sid
26617 # Other targets (info, dvi, pdf, etc.)
26619 .PHONY: maybe-info-sid info-sid
26620 maybe-info-sid:
26621 @if sid
26622 maybe-info-sid: info-sid
26624 info-sid: \
26625 configure-sid
26626 @: $(MAKE); $(unstage)
26627 @[ -f ./sid/Makefile ] || exit 0; \
26628 r=`${PWD_COMMAND}`; export r; \
26629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26630 $(HOST_EXPORTS) \
26631 for flag in $(EXTRA_HOST_FLAGS) ; do \
26632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26633 done; \
26634 echo "Doing info in sid" ; \
26635 (cd $(HOST_SUBDIR)/sid && \
26636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26638 "RANLIB=$${RANLIB}" \
26639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26640 info) \
26641 || exit 1
26643 @endif sid
26645 .PHONY: maybe-dvi-sid dvi-sid
26646 maybe-dvi-sid:
26647 @if sid
26648 maybe-dvi-sid: dvi-sid
26650 dvi-sid: \
26651 configure-sid
26652 @: $(MAKE); $(unstage)
26653 @[ -f ./sid/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 dvi in sid" ; \
26661 (cd $(HOST_SUBDIR)/sid && \
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 dvi) \
26667 || exit 1
26669 @endif sid
26671 .PHONY: maybe-pdf-sid pdf-sid
26672 maybe-pdf-sid:
26673 @if sid
26674 maybe-pdf-sid: pdf-sid
26676 pdf-sid: \
26677 configure-sid
26678 @: $(MAKE); $(unstage)
26679 @[ -f ./sid/Makefile ] || exit 0; \
26680 r=`${PWD_COMMAND}`; export r; \
26681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26682 $(HOST_EXPORTS) \
26683 for flag in $(EXTRA_HOST_FLAGS) ; do \
26684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26685 done; \
26686 echo "Doing pdf in sid" ; \
26687 (cd $(HOST_SUBDIR)/sid && \
26688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26690 "RANLIB=$${RANLIB}" \
26691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26692 pdf) \
26693 || exit 1
26695 @endif sid
26697 .PHONY: maybe-html-sid html-sid
26698 maybe-html-sid:
26699 @if sid
26700 maybe-html-sid: html-sid
26702 html-sid: \
26703 configure-sid
26704 @: $(MAKE); $(unstage)
26705 @[ -f ./sid/Makefile ] || exit 0; \
26706 r=`${PWD_COMMAND}`; export r; \
26707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26708 $(HOST_EXPORTS) \
26709 for flag in $(EXTRA_HOST_FLAGS) ; do \
26710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26711 done; \
26712 echo "Doing html in sid" ; \
26713 (cd $(HOST_SUBDIR)/sid && \
26714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26716 "RANLIB=$${RANLIB}" \
26717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26718 html) \
26719 || exit 1
26721 @endif sid
26723 .PHONY: maybe-TAGS-sid TAGS-sid
26724 maybe-TAGS-sid:
26725 @if sid
26726 maybe-TAGS-sid: TAGS-sid
26728 TAGS-sid: \
26729 configure-sid
26730 @: $(MAKE); $(unstage)
26731 @[ -f ./sid/Makefile ] || exit 0; \
26732 r=`${PWD_COMMAND}`; export r; \
26733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26734 $(HOST_EXPORTS) \
26735 for flag in $(EXTRA_HOST_FLAGS) ; do \
26736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26737 done; \
26738 echo "Doing TAGS in sid" ; \
26739 (cd $(HOST_SUBDIR)/sid && \
26740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26742 "RANLIB=$${RANLIB}" \
26743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26744 TAGS) \
26745 || exit 1
26747 @endif sid
26749 .PHONY: maybe-install-info-sid install-info-sid
26750 maybe-install-info-sid:
26751 @if sid
26752 maybe-install-info-sid: install-info-sid
26754 install-info-sid: \
26755 configure-sid \
26756 info-sid
26757 @: $(MAKE); $(unstage)
26758 @[ -f ./sid/Makefile ] || exit 0; \
26759 r=`${PWD_COMMAND}`; export r; \
26760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26761 $(HOST_EXPORTS) \
26762 for flag in $(EXTRA_HOST_FLAGS) ; do \
26763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26764 done; \
26765 echo "Doing install-info in sid" ; \
26766 (cd $(HOST_SUBDIR)/sid && \
26767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26769 "RANLIB=$${RANLIB}" \
26770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26771 install-info) \
26772 || exit 1
26774 @endif sid
26776 .PHONY: maybe-install-html-sid install-html-sid
26777 maybe-install-html-sid:
26778 @if sid
26779 maybe-install-html-sid: install-html-sid
26781 install-html-sid: \
26782 configure-sid \
26783 html-sid
26784 @: $(MAKE); $(unstage)
26785 @[ -f ./sid/Makefile ] || exit 0; \
26786 r=`${PWD_COMMAND}`; export r; \
26787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26788 $(HOST_EXPORTS) \
26789 for flag in $(EXTRA_HOST_FLAGS) ; do \
26790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26791 done; \
26792 echo "Doing install-html in sid" ; \
26793 (cd $(HOST_SUBDIR)/sid && \
26794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26796 "RANLIB=$${RANLIB}" \
26797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26798 install-html) \
26799 || exit 1
26801 @endif sid
26803 .PHONY: maybe-installcheck-sid installcheck-sid
26804 maybe-installcheck-sid:
26805 @if sid
26806 maybe-installcheck-sid: installcheck-sid
26808 installcheck-sid: \
26809 configure-sid
26810 @: $(MAKE); $(unstage)
26811 @[ -f ./sid/Makefile ] || exit 0; \
26812 r=`${PWD_COMMAND}`; export r; \
26813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26814 $(HOST_EXPORTS) \
26815 for flag in $(EXTRA_HOST_FLAGS) ; do \
26816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26817 done; \
26818 echo "Doing installcheck in sid" ; \
26819 (cd $(HOST_SUBDIR)/sid && \
26820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26822 "RANLIB=$${RANLIB}" \
26823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26824 installcheck) \
26825 || exit 1
26827 @endif sid
26829 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
26830 maybe-mostlyclean-sid:
26831 @if sid
26832 maybe-mostlyclean-sid: mostlyclean-sid
26834 mostlyclean-sid:
26835 @: $(MAKE); $(unstage)
26836 @[ -f ./sid/Makefile ] || exit 0; \
26837 r=`${PWD_COMMAND}`; export r; \
26838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26839 $(HOST_EXPORTS) \
26840 for flag in $(EXTRA_HOST_FLAGS) ; do \
26841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26842 done; \
26843 echo "Doing mostlyclean in sid" ; \
26844 (cd $(HOST_SUBDIR)/sid && \
26845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26847 "RANLIB=$${RANLIB}" \
26848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26849 mostlyclean) \
26850 || exit 1
26852 @endif sid
26854 .PHONY: maybe-clean-sid clean-sid
26855 maybe-clean-sid:
26856 @if sid
26857 maybe-clean-sid: clean-sid
26859 clean-sid:
26860 @: $(MAKE); $(unstage)
26861 @[ -f ./sid/Makefile ] || exit 0; \
26862 r=`${PWD_COMMAND}`; export r; \
26863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26864 $(HOST_EXPORTS) \
26865 for flag in $(EXTRA_HOST_FLAGS) ; do \
26866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26867 done; \
26868 echo "Doing clean in sid" ; \
26869 (cd $(HOST_SUBDIR)/sid && \
26870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26872 "RANLIB=$${RANLIB}" \
26873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26874 clean) \
26875 || exit 1
26877 @endif sid
26879 .PHONY: maybe-distclean-sid distclean-sid
26880 maybe-distclean-sid:
26881 @if sid
26882 maybe-distclean-sid: distclean-sid
26884 distclean-sid:
26885 @: $(MAKE); $(unstage)
26886 @[ -f ./sid/Makefile ] || exit 0; \
26887 r=`${PWD_COMMAND}`; export r; \
26888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26889 $(HOST_EXPORTS) \
26890 for flag in $(EXTRA_HOST_FLAGS) ; do \
26891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26892 done; \
26893 echo "Doing distclean in sid" ; \
26894 (cd $(HOST_SUBDIR)/sid && \
26895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26897 "RANLIB=$${RANLIB}" \
26898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26899 distclean) \
26900 || exit 1
26902 @endif sid
26904 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
26905 maybe-maintainer-clean-sid:
26906 @if sid
26907 maybe-maintainer-clean-sid: maintainer-clean-sid
26909 maintainer-clean-sid:
26910 @: $(MAKE); $(unstage)
26911 @[ -f ./sid/Makefile ] || exit 0; \
26912 r=`${PWD_COMMAND}`; export r; \
26913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26914 $(HOST_EXPORTS) \
26915 for flag in $(EXTRA_HOST_FLAGS) ; do \
26916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26917 done; \
26918 echo "Doing maintainer-clean in sid" ; \
26919 (cd $(HOST_SUBDIR)/sid && \
26920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26922 "RANLIB=$${RANLIB}" \
26923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26924 maintainer-clean) \
26925 || exit 1
26927 @endif sid
26931 .PHONY: configure-sim maybe-configure-sim
26932 maybe-configure-sim:
26933 @if gcc-bootstrap
26934 configure-sim: stage_current
26935 @endif gcc-bootstrap
26936 @if sim
26937 maybe-configure-sim: configure-sim
26938 configure-sim:
26939 @: $(MAKE); $(unstage)
26940 @r=`${PWD_COMMAND}`; export r; \
26941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26942 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
26943 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
26944 $(HOST_EXPORTS) \
26945 echo Configuring in $(HOST_SUBDIR)/sim; \
26946 cd "$(HOST_SUBDIR)/sim" || exit 1; \
26947 case $(srcdir) in \
26948 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26949 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
26950 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26951 esac; \
26952 srcdiroption="--srcdir=$${topdir}/sim"; \
26953 libsrcdir="$$s/sim"; \
26954 $(SHELL) $${libsrcdir}/configure \
26955 $(HOST_CONFIGARGS) $${srcdiroption} \
26956 || exit 1
26957 @endif sim
26963 .PHONY: all-sim maybe-all-sim
26964 maybe-all-sim:
26965 @if gcc-bootstrap
26966 all-sim: stage_current
26967 @endif gcc-bootstrap
26968 @if sim
26969 TARGET-sim=all
26970 maybe-all-sim: all-sim
26971 all-sim: configure-sim
26972 @: $(MAKE); $(unstage)
26973 @r=`${PWD_COMMAND}`; export r; \
26974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26975 $(HOST_EXPORTS) \
26976 (cd $(HOST_SUBDIR)/sim && \
26977 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
26978 @endif sim
26983 .PHONY: check-sim maybe-check-sim
26984 maybe-check-sim:
26985 @if sim
26986 maybe-check-sim: check-sim
26988 check-sim:
26989 @: $(MAKE); $(unstage)
26990 @r=`${PWD_COMMAND}`; export r; \
26991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26992 $(HOST_EXPORTS) \
26993 (cd $(HOST_SUBDIR)/sim && \
26994 $(MAKE) $(FLAGS_TO_PASS) check)
26996 @endif sim
26998 .PHONY: install-sim maybe-install-sim
26999 maybe-install-sim:
27000 @if sim
27001 maybe-install-sim: install-sim
27003 install-sim: installdirs
27004 @: $(MAKE); $(unstage)
27005 @r=`${PWD_COMMAND}`; export r; \
27006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27007 $(HOST_EXPORTS) \
27008 (cd $(HOST_SUBDIR)/sim && \
27009 $(MAKE) $(FLAGS_TO_PASS) install)
27011 @endif sim
27013 # Other targets (info, dvi, pdf, etc.)
27015 .PHONY: maybe-info-sim info-sim
27016 maybe-info-sim:
27017 @if sim
27018 maybe-info-sim: info-sim
27020 info-sim: \
27021 configure-sim
27022 @: $(MAKE); $(unstage)
27023 @[ -f ./sim/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 info in sim" ; \
27031 (cd $(HOST_SUBDIR)/sim && \
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 info) \
27037 || exit 1
27039 @endif sim
27041 .PHONY: maybe-dvi-sim dvi-sim
27042 maybe-dvi-sim:
27043 @if sim
27044 maybe-dvi-sim: dvi-sim
27046 dvi-sim: \
27047 configure-sim
27048 @: $(MAKE); $(unstage)
27049 @[ -f ./sim/Makefile ] || exit 0; \
27050 r=`${PWD_COMMAND}`; export r; \
27051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27052 $(HOST_EXPORTS) \
27053 for flag in $(EXTRA_HOST_FLAGS) ; do \
27054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27055 done; \
27056 echo "Doing dvi in sim" ; \
27057 (cd $(HOST_SUBDIR)/sim && \
27058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27060 "RANLIB=$${RANLIB}" \
27061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27062 dvi) \
27063 || exit 1
27065 @endif sim
27067 .PHONY: maybe-pdf-sim pdf-sim
27068 maybe-pdf-sim:
27069 @if sim
27070 maybe-pdf-sim: pdf-sim
27072 pdf-sim: \
27073 configure-sim
27074 @: $(MAKE); $(unstage)
27075 @[ -f ./sim/Makefile ] || exit 0; \
27076 r=`${PWD_COMMAND}`; export r; \
27077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27078 $(HOST_EXPORTS) \
27079 for flag in $(EXTRA_HOST_FLAGS) ; do \
27080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27081 done; \
27082 echo "Doing pdf in sim" ; \
27083 (cd $(HOST_SUBDIR)/sim && \
27084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27086 "RANLIB=$${RANLIB}" \
27087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27088 pdf) \
27089 || exit 1
27091 @endif sim
27093 .PHONY: maybe-html-sim html-sim
27094 maybe-html-sim:
27095 @if sim
27096 maybe-html-sim: html-sim
27098 html-sim: \
27099 configure-sim
27100 @: $(MAKE); $(unstage)
27101 @[ -f ./sim/Makefile ] || exit 0; \
27102 r=`${PWD_COMMAND}`; export r; \
27103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27104 $(HOST_EXPORTS) \
27105 for flag in $(EXTRA_HOST_FLAGS) ; do \
27106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27107 done; \
27108 echo "Doing html in sim" ; \
27109 (cd $(HOST_SUBDIR)/sim && \
27110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27112 "RANLIB=$${RANLIB}" \
27113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27114 html) \
27115 || exit 1
27117 @endif sim
27119 .PHONY: maybe-TAGS-sim TAGS-sim
27120 maybe-TAGS-sim:
27121 @if sim
27122 maybe-TAGS-sim: TAGS-sim
27124 TAGS-sim: \
27125 configure-sim
27126 @: $(MAKE); $(unstage)
27127 @[ -f ./sim/Makefile ] || exit 0; \
27128 r=`${PWD_COMMAND}`; export r; \
27129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27130 $(HOST_EXPORTS) \
27131 for flag in $(EXTRA_HOST_FLAGS) ; do \
27132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27133 done; \
27134 echo "Doing TAGS in sim" ; \
27135 (cd $(HOST_SUBDIR)/sim && \
27136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27138 "RANLIB=$${RANLIB}" \
27139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27140 TAGS) \
27141 || exit 1
27143 @endif sim
27145 .PHONY: maybe-install-info-sim install-info-sim
27146 maybe-install-info-sim:
27147 @if sim
27148 maybe-install-info-sim: install-info-sim
27150 install-info-sim: \
27151 configure-sim \
27152 info-sim
27153 @: $(MAKE); $(unstage)
27154 @[ -f ./sim/Makefile ] || exit 0; \
27155 r=`${PWD_COMMAND}`; export r; \
27156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27157 $(HOST_EXPORTS) \
27158 for flag in $(EXTRA_HOST_FLAGS) ; do \
27159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27160 done; \
27161 echo "Doing install-info in sim" ; \
27162 (cd $(HOST_SUBDIR)/sim && \
27163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27165 "RANLIB=$${RANLIB}" \
27166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27167 install-info) \
27168 || exit 1
27170 @endif sim
27172 .PHONY: maybe-install-html-sim install-html-sim
27173 maybe-install-html-sim:
27174 @if sim
27175 maybe-install-html-sim: install-html-sim
27177 install-html-sim: \
27178 configure-sim \
27179 html-sim
27180 @: $(MAKE); $(unstage)
27181 @[ -f ./sim/Makefile ] || exit 0; \
27182 r=`${PWD_COMMAND}`; export r; \
27183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27184 $(HOST_EXPORTS) \
27185 for flag in $(EXTRA_HOST_FLAGS) ; do \
27186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27187 done; \
27188 echo "Doing install-html in sim" ; \
27189 (cd $(HOST_SUBDIR)/sim && \
27190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27192 "RANLIB=$${RANLIB}" \
27193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27194 install-html) \
27195 || exit 1
27197 @endif sim
27199 .PHONY: maybe-installcheck-sim installcheck-sim
27200 maybe-installcheck-sim:
27201 @if sim
27202 maybe-installcheck-sim: installcheck-sim
27204 installcheck-sim: \
27205 configure-sim
27206 @: $(MAKE); $(unstage)
27207 @[ -f ./sim/Makefile ] || exit 0; \
27208 r=`${PWD_COMMAND}`; export r; \
27209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27210 $(HOST_EXPORTS) \
27211 for flag in $(EXTRA_HOST_FLAGS) ; do \
27212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27213 done; \
27214 echo "Doing installcheck in sim" ; \
27215 (cd $(HOST_SUBDIR)/sim && \
27216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27218 "RANLIB=$${RANLIB}" \
27219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27220 installcheck) \
27221 || exit 1
27223 @endif sim
27225 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
27226 maybe-mostlyclean-sim:
27227 @if sim
27228 maybe-mostlyclean-sim: mostlyclean-sim
27230 mostlyclean-sim:
27231 @: $(MAKE); $(unstage)
27232 @[ -f ./sim/Makefile ] || exit 0; \
27233 r=`${PWD_COMMAND}`; export r; \
27234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27235 $(HOST_EXPORTS) \
27236 for flag in $(EXTRA_HOST_FLAGS) ; do \
27237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27238 done; \
27239 echo "Doing mostlyclean in sim" ; \
27240 (cd $(HOST_SUBDIR)/sim && \
27241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27243 "RANLIB=$${RANLIB}" \
27244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27245 mostlyclean) \
27246 || exit 1
27248 @endif sim
27250 .PHONY: maybe-clean-sim clean-sim
27251 maybe-clean-sim:
27252 @if sim
27253 maybe-clean-sim: clean-sim
27255 clean-sim:
27256 @: $(MAKE); $(unstage)
27257 @[ -f ./sim/Makefile ] || exit 0; \
27258 r=`${PWD_COMMAND}`; export r; \
27259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27260 $(HOST_EXPORTS) \
27261 for flag in $(EXTRA_HOST_FLAGS) ; do \
27262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27263 done; \
27264 echo "Doing clean in sim" ; \
27265 (cd $(HOST_SUBDIR)/sim && \
27266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27268 "RANLIB=$${RANLIB}" \
27269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27270 clean) \
27271 || exit 1
27273 @endif sim
27275 .PHONY: maybe-distclean-sim distclean-sim
27276 maybe-distclean-sim:
27277 @if sim
27278 maybe-distclean-sim: distclean-sim
27280 distclean-sim:
27281 @: $(MAKE); $(unstage)
27282 @[ -f ./sim/Makefile ] || exit 0; \
27283 r=`${PWD_COMMAND}`; export r; \
27284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27285 $(HOST_EXPORTS) \
27286 for flag in $(EXTRA_HOST_FLAGS) ; do \
27287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27288 done; \
27289 echo "Doing distclean in sim" ; \
27290 (cd $(HOST_SUBDIR)/sim && \
27291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27293 "RANLIB=$${RANLIB}" \
27294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27295 distclean) \
27296 || exit 1
27298 @endif sim
27300 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
27301 maybe-maintainer-clean-sim:
27302 @if sim
27303 maybe-maintainer-clean-sim: maintainer-clean-sim
27305 maintainer-clean-sim:
27306 @: $(MAKE); $(unstage)
27307 @[ -f ./sim/Makefile ] || exit 0; \
27308 r=`${PWD_COMMAND}`; export r; \
27309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27310 $(HOST_EXPORTS) \
27311 for flag in $(EXTRA_HOST_FLAGS) ; do \
27312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27313 done; \
27314 echo "Doing maintainer-clean in sim" ; \
27315 (cd $(HOST_SUBDIR)/sim && \
27316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27318 "RANLIB=$${RANLIB}" \
27319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27320 maintainer-clean) \
27321 || exit 1
27323 @endif sim
27327 .PHONY: configure-tar maybe-configure-tar
27328 maybe-configure-tar:
27329 @if gcc-bootstrap
27330 configure-tar: stage_current
27331 @endif gcc-bootstrap
27332 @if tar
27333 maybe-configure-tar: configure-tar
27334 configure-tar:
27335 @: $(MAKE); $(unstage)
27336 @r=`${PWD_COMMAND}`; export r; \
27337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27338 test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
27339 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
27340 $(HOST_EXPORTS) \
27341 echo Configuring in $(HOST_SUBDIR)/tar; \
27342 cd "$(HOST_SUBDIR)/tar" || exit 1; \
27343 case $(srcdir) in \
27344 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27345 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
27346 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27347 esac; \
27348 srcdiroption="--srcdir=$${topdir}/tar"; \
27349 libsrcdir="$$s/tar"; \
27350 $(SHELL) $${libsrcdir}/configure \
27351 $(HOST_CONFIGARGS) $${srcdiroption} \
27352 || exit 1
27353 @endif tar
27359 .PHONY: all-tar maybe-all-tar
27360 maybe-all-tar:
27361 @if gcc-bootstrap
27362 all-tar: stage_current
27363 @endif gcc-bootstrap
27364 @if tar
27365 TARGET-tar=all
27366 maybe-all-tar: all-tar
27367 all-tar: configure-tar
27368 @: $(MAKE); $(unstage)
27369 @r=`${PWD_COMMAND}`; export r; \
27370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27371 $(HOST_EXPORTS) \
27372 (cd $(HOST_SUBDIR)/tar && \
27373 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
27374 @endif tar
27379 .PHONY: check-tar maybe-check-tar
27380 maybe-check-tar:
27381 @if tar
27382 maybe-check-tar: check-tar
27384 check-tar:
27385 @: $(MAKE); $(unstage)
27386 @r=`${PWD_COMMAND}`; export r; \
27387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27388 $(HOST_EXPORTS) \
27389 (cd $(HOST_SUBDIR)/tar && \
27390 $(MAKE) $(FLAGS_TO_PASS) check)
27392 @endif tar
27394 .PHONY: install-tar maybe-install-tar
27395 maybe-install-tar:
27396 @if tar
27397 maybe-install-tar: install-tar
27399 install-tar: installdirs
27400 @: $(MAKE); $(unstage)
27401 @r=`${PWD_COMMAND}`; export r; \
27402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27403 $(HOST_EXPORTS) \
27404 (cd $(HOST_SUBDIR)/tar && \
27405 $(MAKE) $(FLAGS_TO_PASS) install)
27407 @endif tar
27409 # Other targets (info, dvi, pdf, etc.)
27411 .PHONY: maybe-info-tar info-tar
27412 maybe-info-tar:
27413 @if tar
27414 maybe-info-tar: info-tar
27416 info-tar: \
27417 configure-tar
27418 @: $(MAKE); $(unstage)
27419 @[ -f ./tar/Makefile ] || exit 0; \
27420 r=`${PWD_COMMAND}`; export r; \
27421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27422 $(HOST_EXPORTS) \
27423 for flag in $(EXTRA_HOST_FLAGS) ; do \
27424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27425 done; \
27426 echo "Doing info in tar" ; \
27427 (cd $(HOST_SUBDIR)/tar && \
27428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27430 "RANLIB=$${RANLIB}" \
27431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27432 info) \
27433 || exit 1
27435 @endif tar
27437 .PHONY: maybe-dvi-tar dvi-tar
27438 maybe-dvi-tar:
27439 @if tar
27440 maybe-dvi-tar: dvi-tar
27442 dvi-tar: \
27443 configure-tar
27444 @: $(MAKE); $(unstage)
27445 @[ -f ./tar/Makefile ] || exit 0; \
27446 r=`${PWD_COMMAND}`; export r; \
27447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27448 $(HOST_EXPORTS) \
27449 for flag in $(EXTRA_HOST_FLAGS) ; do \
27450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27451 done; \
27452 echo "Doing dvi in tar" ; \
27453 (cd $(HOST_SUBDIR)/tar && \
27454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27456 "RANLIB=$${RANLIB}" \
27457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27458 dvi) \
27459 || exit 1
27461 @endif tar
27463 .PHONY: maybe-pdf-tar pdf-tar
27464 maybe-pdf-tar:
27465 @if tar
27466 maybe-pdf-tar: pdf-tar
27468 pdf-tar: \
27469 configure-tar
27470 @: $(MAKE); $(unstage)
27471 @[ -f ./tar/Makefile ] || exit 0; \
27472 r=`${PWD_COMMAND}`; export r; \
27473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27474 $(HOST_EXPORTS) \
27475 for flag in $(EXTRA_HOST_FLAGS) ; do \
27476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27477 done; \
27478 echo "Doing pdf in tar" ; \
27479 (cd $(HOST_SUBDIR)/tar && \
27480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27482 "RANLIB=$${RANLIB}" \
27483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27484 pdf) \
27485 || exit 1
27487 @endif tar
27489 .PHONY: maybe-html-tar html-tar
27490 maybe-html-tar:
27491 @if tar
27492 maybe-html-tar: html-tar
27494 html-tar: \
27495 configure-tar
27496 @: $(MAKE); $(unstage)
27497 @[ -f ./tar/Makefile ] || exit 0; \
27498 r=`${PWD_COMMAND}`; export r; \
27499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27500 $(HOST_EXPORTS) \
27501 for flag in $(EXTRA_HOST_FLAGS) ; do \
27502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27503 done; \
27504 echo "Doing html in tar" ; \
27505 (cd $(HOST_SUBDIR)/tar && \
27506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27508 "RANLIB=$${RANLIB}" \
27509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27510 html) \
27511 || exit 1
27513 @endif tar
27515 .PHONY: maybe-TAGS-tar TAGS-tar
27516 maybe-TAGS-tar:
27517 @if tar
27518 maybe-TAGS-tar: TAGS-tar
27520 TAGS-tar: \
27521 configure-tar
27522 @: $(MAKE); $(unstage)
27523 @[ -f ./tar/Makefile ] || exit 0; \
27524 r=`${PWD_COMMAND}`; export r; \
27525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27526 $(HOST_EXPORTS) \
27527 for flag in $(EXTRA_HOST_FLAGS) ; do \
27528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27529 done; \
27530 echo "Doing TAGS in tar" ; \
27531 (cd $(HOST_SUBDIR)/tar && \
27532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27534 "RANLIB=$${RANLIB}" \
27535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27536 TAGS) \
27537 || exit 1
27539 @endif tar
27541 .PHONY: maybe-install-info-tar install-info-tar
27542 maybe-install-info-tar:
27543 @if tar
27544 maybe-install-info-tar: install-info-tar
27546 install-info-tar: \
27547 configure-tar \
27548 info-tar
27549 @: $(MAKE); $(unstage)
27550 @[ -f ./tar/Makefile ] || exit 0; \
27551 r=`${PWD_COMMAND}`; export r; \
27552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27553 $(HOST_EXPORTS) \
27554 for flag in $(EXTRA_HOST_FLAGS) ; do \
27555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27556 done; \
27557 echo "Doing install-info in tar" ; \
27558 (cd $(HOST_SUBDIR)/tar && \
27559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27561 "RANLIB=$${RANLIB}" \
27562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27563 install-info) \
27564 || exit 1
27566 @endif tar
27568 .PHONY: maybe-install-html-tar install-html-tar
27569 maybe-install-html-tar:
27570 @if tar
27571 maybe-install-html-tar: install-html-tar
27573 install-html-tar: \
27574 configure-tar \
27575 html-tar
27576 @: $(MAKE); $(unstage)
27577 @[ -f ./tar/Makefile ] || exit 0; \
27578 r=`${PWD_COMMAND}`; export r; \
27579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27580 $(HOST_EXPORTS) \
27581 for flag in $(EXTRA_HOST_FLAGS) ; do \
27582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27583 done; \
27584 echo "Doing install-html in tar" ; \
27585 (cd $(HOST_SUBDIR)/tar && \
27586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27588 "RANLIB=$${RANLIB}" \
27589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27590 install-html) \
27591 || exit 1
27593 @endif tar
27595 .PHONY: maybe-installcheck-tar installcheck-tar
27596 maybe-installcheck-tar:
27597 @if tar
27598 maybe-installcheck-tar: installcheck-tar
27600 installcheck-tar: \
27601 configure-tar
27602 @: $(MAKE); $(unstage)
27603 @[ -f ./tar/Makefile ] || exit 0; \
27604 r=`${PWD_COMMAND}`; export r; \
27605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27606 $(HOST_EXPORTS) \
27607 for flag in $(EXTRA_HOST_FLAGS) ; do \
27608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27609 done; \
27610 echo "Doing installcheck in tar" ; \
27611 (cd $(HOST_SUBDIR)/tar && \
27612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27614 "RANLIB=$${RANLIB}" \
27615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27616 installcheck) \
27617 || exit 1
27619 @endif tar
27621 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
27622 maybe-mostlyclean-tar:
27623 @if tar
27624 maybe-mostlyclean-tar: mostlyclean-tar
27626 mostlyclean-tar:
27627 @: $(MAKE); $(unstage)
27628 @[ -f ./tar/Makefile ] || exit 0; \
27629 r=`${PWD_COMMAND}`; export r; \
27630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27631 $(HOST_EXPORTS) \
27632 for flag in $(EXTRA_HOST_FLAGS) ; do \
27633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27634 done; \
27635 echo "Doing mostlyclean in tar" ; \
27636 (cd $(HOST_SUBDIR)/tar && \
27637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27639 "RANLIB=$${RANLIB}" \
27640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27641 mostlyclean) \
27642 || exit 1
27644 @endif tar
27646 .PHONY: maybe-clean-tar clean-tar
27647 maybe-clean-tar:
27648 @if tar
27649 maybe-clean-tar: clean-tar
27651 clean-tar:
27652 @: $(MAKE); $(unstage)
27653 @[ -f ./tar/Makefile ] || exit 0; \
27654 r=`${PWD_COMMAND}`; export r; \
27655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27656 $(HOST_EXPORTS) \
27657 for flag in $(EXTRA_HOST_FLAGS) ; do \
27658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27659 done; \
27660 echo "Doing clean in tar" ; \
27661 (cd $(HOST_SUBDIR)/tar && \
27662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27664 "RANLIB=$${RANLIB}" \
27665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27666 clean) \
27667 || exit 1
27669 @endif tar
27671 .PHONY: maybe-distclean-tar distclean-tar
27672 maybe-distclean-tar:
27673 @if tar
27674 maybe-distclean-tar: distclean-tar
27676 distclean-tar:
27677 @: $(MAKE); $(unstage)
27678 @[ -f ./tar/Makefile ] || exit 0; \
27679 r=`${PWD_COMMAND}`; export r; \
27680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27681 $(HOST_EXPORTS) \
27682 for flag in $(EXTRA_HOST_FLAGS) ; do \
27683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27684 done; \
27685 echo "Doing distclean in tar" ; \
27686 (cd $(HOST_SUBDIR)/tar && \
27687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27689 "RANLIB=$${RANLIB}" \
27690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27691 distclean) \
27692 || exit 1
27694 @endif tar
27696 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
27697 maybe-maintainer-clean-tar:
27698 @if tar
27699 maybe-maintainer-clean-tar: maintainer-clean-tar
27701 maintainer-clean-tar:
27702 @: $(MAKE); $(unstage)
27703 @[ -f ./tar/Makefile ] || exit 0; \
27704 r=`${PWD_COMMAND}`; export r; \
27705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27706 $(HOST_EXPORTS) \
27707 for flag in $(EXTRA_HOST_FLAGS) ; do \
27708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27709 done; \
27710 echo "Doing maintainer-clean in tar" ; \
27711 (cd $(HOST_SUBDIR)/tar && \
27712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27714 "RANLIB=$${RANLIB}" \
27715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27716 maintainer-clean) \
27717 || exit 1
27719 @endif tar
27723 .PHONY: configure-texinfo maybe-configure-texinfo
27724 maybe-configure-texinfo:
27725 @if gcc-bootstrap
27726 configure-texinfo: stage_current
27727 @endif gcc-bootstrap
27728 @if texinfo
27729 maybe-configure-texinfo: configure-texinfo
27730 configure-texinfo:
27731 @: $(MAKE); $(unstage)
27732 @r=`${PWD_COMMAND}`; export r; \
27733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27734 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
27735 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
27736 $(HOST_EXPORTS) \
27737 echo Configuring in $(HOST_SUBDIR)/texinfo; \
27738 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
27739 case $(srcdir) in \
27740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27741 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
27742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27743 esac; \
27744 srcdiroption="--srcdir=$${topdir}/texinfo"; \
27745 libsrcdir="$$s/texinfo"; \
27746 $(SHELL) $${libsrcdir}/configure \
27747 $(HOST_CONFIGARGS) $${srcdiroption} \
27748 || exit 1
27749 @endif texinfo
27755 .PHONY: all-texinfo maybe-all-texinfo
27756 maybe-all-texinfo:
27757 @if gcc-bootstrap
27758 all-texinfo: stage_current
27759 @endif gcc-bootstrap
27760 @if texinfo
27761 TARGET-texinfo=all
27762 maybe-all-texinfo: all-texinfo
27763 all-texinfo: configure-texinfo
27764 @: $(MAKE); $(unstage)
27765 @r=`${PWD_COMMAND}`; export r; \
27766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27767 $(HOST_EXPORTS) \
27768 (cd $(HOST_SUBDIR)/texinfo && \
27769 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
27770 @endif texinfo
27775 .PHONY: check-texinfo maybe-check-texinfo
27776 maybe-check-texinfo:
27777 @if texinfo
27778 maybe-check-texinfo: check-texinfo
27780 check-texinfo:
27781 @: $(MAKE); $(unstage)
27782 @r=`${PWD_COMMAND}`; export r; \
27783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27784 $(HOST_EXPORTS) \
27785 (cd $(HOST_SUBDIR)/texinfo && \
27786 $(MAKE) $(FLAGS_TO_PASS) check)
27788 @endif texinfo
27790 .PHONY: install-texinfo maybe-install-texinfo
27791 maybe-install-texinfo:
27792 @if texinfo
27793 maybe-install-texinfo: install-texinfo
27795 install-texinfo:
27797 @endif texinfo
27799 # Other targets (info, dvi, pdf, etc.)
27801 .PHONY: maybe-info-texinfo info-texinfo
27802 maybe-info-texinfo:
27803 @if texinfo
27804 maybe-info-texinfo: info-texinfo
27806 info-texinfo: \
27807 configure-texinfo
27808 @: $(MAKE); $(unstage)
27809 @[ -f ./texinfo/Makefile ] || exit 0; \
27810 r=`${PWD_COMMAND}`; export r; \
27811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27812 $(HOST_EXPORTS) \
27813 for flag in $(EXTRA_HOST_FLAGS) ; do \
27814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27815 done; \
27816 echo "Doing info in texinfo" ; \
27817 (cd $(HOST_SUBDIR)/texinfo && \
27818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27820 "RANLIB=$${RANLIB}" \
27821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27822 info) \
27823 || exit 1
27825 @endif texinfo
27827 .PHONY: maybe-dvi-texinfo dvi-texinfo
27828 maybe-dvi-texinfo:
27829 @if texinfo
27830 maybe-dvi-texinfo: dvi-texinfo
27832 dvi-texinfo: \
27833 configure-texinfo
27834 @: $(MAKE); $(unstage)
27835 @[ -f ./texinfo/Makefile ] || exit 0; \
27836 r=`${PWD_COMMAND}`; export r; \
27837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27838 $(HOST_EXPORTS) \
27839 for flag in $(EXTRA_HOST_FLAGS) ; do \
27840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27841 done; \
27842 echo "Doing dvi in texinfo" ; \
27843 (cd $(HOST_SUBDIR)/texinfo && \
27844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27846 "RANLIB=$${RANLIB}" \
27847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27848 dvi) \
27849 || exit 1
27851 @endif texinfo
27853 .PHONY: maybe-pdf-texinfo pdf-texinfo
27854 maybe-pdf-texinfo:
27855 @if texinfo
27856 maybe-pdf-texinfo: pdf-texinfo
27858 pdf-texinfo: \
27859 configure-texinfo
27860 @: $(MAKE); $(unstage)
27861 @[ -f ./texinfo/Makefile ] || exit 0; \
27862 r=`${PWD_COMMAND}`; export r; \
27863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27864 $(HOST_EXPORTS) \
27865 for flag in $(EXTRA_HOST_FLAGS) ; do \
27866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27867 done; \
27868 echo "Doing pdf in texinfo" ; \
27869 (cd $(HOST_SUBDIR)/texinfo && \
27870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27872 "RANLIB=$${RANLIB}" \
27873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27874 pdf) \
27875 || exit 1
27877 @endif texinfo
27879 .PHONY: maybe-html-texinfo html-texinfo
27880 maybe-html-texinfo:
27881 @if texinfo
27882 maybe-html-texinfo: html-texinfo
27884 html-texinfo: \
27885 configure-texinfo
27886 @: $(MAKE); $(unstage)
27887 @[ -f ./texinfo/Makefile ] || exit 0; \
27888 r=`${PWD_COMMAND}`; export r; \
27889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27890 $(HOST_EXPORTS) \
27891 for flag in $(EXTRA_HOST_FLAGS) ; do \
27892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27893 done; \
27894 echo "Doing html in texinfo" ; \
27895 (cd $(HOST_SUBDIR)/texinfo && \
27896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27898 "RANLIB=$${RANLIB}" \
27899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27900 html) \
27901 || exit 1
27903 @endif texinfo
27905 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
27906 maybe-TAGS-texinfo:
27907 @if texinfo
27908 maybe-TAGS-texinfo: TAGS-texinfo
27910 TAGS-texinfo: \
27911 configure-texinfo
27912 @: $(MAKE); $(unstage)
27913 @[ -f ./texinfo/Makefile ] || exit 0; \
27914 r=`${PWD_COMMAND}`; export r; \
27915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27916 $(HOST_EXPORTS) \
27917 for flag in $(EXTRA_HOST_FLAGS) ; do \
27918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27919 done; \
27920 echo "Doing TAGS in texinfo" ; \
27921 (cd $(HOST_SUBDIR)/texinfo && \
27922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27924 "RANLIB=$${RANLIB}" \
27925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27926 TAGS) \
27927 || exit 1
27929 @endif texinfo
27931 .PHONY: maybe-install-info-texinfo install-info-texinfo
27932 maybe-install-info-texinfo:
27933 @if texinfo
27934 maybe-install-info-texinfo: install-info-texinfo
27936 install-info-texinfo: \
27937 configure-texinfo \
27938 info-texinfo
27939 @: $(MAKE); $(unstage)
27940 @[ -f ./texinfo/Makefile ] || exit 0; \
27941 r=`${PWD_COMMAND}`; export r; \
27942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27943 $(HOST_EXPORTS) \
27944 for flag in $(EXTRA_HOST_FLAGS) ; do \
27945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27946 done; \
27947 echo "Doing install-info in texinfo" ; \
27948 (cd $(HOST_SUBDIR)/texinfo && \
27949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27951 "RANLIB=$${RANLIB}" \
27952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27953 install-info) \
27954 || exit 1
27956 @endif texinfo
27958 .PHONY: maybe-install-html-texinfo install-html-texinfo
27959 maybe-install-html-texinfo:
27960 @if texinfo
27961 maybe-install-html-texinfo: install-html-texinfo
27963 install-html-texinfo: \
27964 configure-texinfo \
27965 html-texinfo
27966 @: $(MAKE); $(unstage)
27967 @[ -f ./texinfo/Makefile ] || exit 0; \
27968 r=`${PWD_COMMAND}`; export r; \
27969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27970 $(HOST_EXPORTS) \
27971 for flag in $(EXTRA_HOST_FLAGS) ; do \
27972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27973 done; \
27974 echo "Doing install-html in texinfo" ; \
27975 (cd $(HOST_SUBDIR)/texinfo && \
27976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27978 "RANLIB=$${RANLIB}" \
27979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27980 install-html) \
27981 || exit 1
27983 @endif texinfo
27985 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
27986 maybe-installcheck-texinfo:
27987 @if texinfo
27988 maybe-installcheck-texinfo: installcheck-texinfo
27990 installcheck-texinfo: \
27991 configure-texinfo
27992 @: $(MAKE); $(unstage)
27993 @[ -f ./texinfo/Makefile ] || exit 0; \
27994 r=`${PWD_COMMAND}`; export r; \
27995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27996 $(HOST_EXPORTS) \
27997 for flag in $(EXTRA_HOST_FLAGS) ; do \
27998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27999 done; \
28000 echo "Doing installcheck in texinfo" ; \
28001 (cd $(HOST_SUBDIR)/texinfo && \
28002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28004 "RANLIB=$${RANLIB}" \
28005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28006 installcheck) \
28007 || exit 1
28009 @endif texinfo
28011 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
28012 maybe-mostlyclean-texinfo:
28013 @if texinfo
28014 maybe-mostlyclean-texinfo: mostlyclean-texinfo
28016 mostlyclean-texinfo:
28017 @: $(MAKE); $(unstage)
28018 @[ -f ./texinfo/Makefile ] || exit 0; \
28019 r=`${PWD_COMMAND}`; export r; \
28020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28021 $(HOST_EXPORTS) \
28022 for flag in $(EXTRA_HOST_FLAGS) ; do \
28023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28024 done; \
28025 echo "Doing mostlyclean in texinfo" ; \
28026 (cd $(HOST_SUBDIR)/texinfo && \
28027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28029 "RANLIB=$${RANLIB}" \
28030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28031 mostlyclean) \
28032 || exit 1
28034 @endif texinfo
28036 .PHONY: maybe-clean-texinfo clean-texinfo
28037 maybe-clean-texinfo:
28038 @if texinfo
28039 maybe-clean-texinfo: clean-texinfo
28041 clean-texinfo:
28042 @: $(MAKE); $(unstage)
28043 @[ -f ./texinfo/Makefile ] || exit 0; \
28044 r=`${PWD_COMMAND}`; export r; \
28045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28046 $(HOST_EXPORTS) \
28047 for flag in $(EXTRA_HOST_FLAGS) ; do \
28048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28049 done; \
28050 echo "Doing clean in texinfo" ; \
28051 (cd $(HOST_SUBDIR)/texinfo && \
28052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28054 "RANLIB=$${RANLIB}" \
28055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28056 clean) \
28057 || exit 1
28059 @endif texinfo
28061 .PHONY: maybe-distclean-texinfo distclean-texinfo
28062 maybe-distclean-texinfo:
28063 @if texinfo
28064 maybe-distclean-texinfo: distclean-texinfo
28066 distclean-texinfo:
28067 @: $(MAKE); $(unstage)
28068 @[ -f ./texinfo/Makefile ] || exit 0; \
28069 r=`${PWD_COMMAND}`; export r; \
28070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28071 $(HOST_EXPORTS) \
28072 for flag in $(EXTRA_HOST_FLAGS) ; do \
28073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28074 done; \
28075 echo "Doing distclean in texinfo" ; \
28076 (cd $(HOST_SUBDIR)/texinfo && \
28077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28079 "RANLIB=$${RANLIB}" \
28080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28081 distclean) \
28082 || exit 1
28084 @endif texinfo
28086 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
28087 maybe-maintainer-clean-texinfo:
28088 @if texinfo
28089 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
28091 maintainer-clean-texinfo:
28092 @: $(MAKE); $(unstage)
28093 @[ -f ./texinfo/Makefile ] || exit 0; \
28094 r=`${PWD_COMMAND}`; export r; \
28095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28096 $(HOST_EXPORTS) \
28097 for flag in $(EXTRA_HOST_FLAGS) ; do \
28098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28099 done; \
28100 echo "Doing maintainer-clean in texinfo" ; \
28101 (cd $(HOST_SUBDIR)/texinfo && \
28102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28104 "RANLIB=$${RANLIB}" \
28105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28106 maintainer-clean) \
28107 || exit 1
28109 @endif texinfo
28113 .PHONY: configure-textutils maybe-configure-textutils
28114 maybe-configure-textutils:
28115 @if gcc-bootstrap
28116 configure-textutils: stage_current
28117 @endif gcc-bootstrap
28118 @if textutils
28119 maybe-configure-textutils: configure-textutils
28120 configure-textutils:
28121 @: $(MAKE); $(unstage)
28122 @r=`${PWD_COMMAND}`; export r; \
28123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28124 test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
28125 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
28126 $(HOST_EXPORTS) \
28127 echo Configuring in $(HOST_SUBDIR)/textutils; \
28128 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
28129 case $(srcdir) in \
28130 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28131 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
28132 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28133 esac; \
28134 srcdiroption="--srcdir=$${topdir}/textutils"; \
28135 libsrcdir="$$s/textutils"; \
28136 $(SHELL) $${libsrcdir}/configure \
28137 $(HOST_CONFIGARGS) $${srcdiroption} \
28138 || exit 1
28139 @endif textutils
28145 .PHONY: all-textutils maybe-all-textutils
28146 maybe-all-textutils:
28147 @if gcc-bootstrap
28148 all-textutils: stage_current
28149 @endif gcc-bootstrap
28150 @if textutils
28151 TARGET-textutils=all
28152 maybe-all-textutils: all-textutils
28153 all-textutils: configure-textutils
28154 @: $(MAKE); $(unstage)
28155 @r=`${PWD_COMMAND}`; export r; \
28156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28157 $(HOST_EXPORTS) \
28158 (cd $(HOST_SUBDIR)/textutils && \
28159 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
28160 @endif textutils
28165 .PHONY: check-textutils maybe-check-textutils
28166 maybe-check-textutils:
28167 @if textutils
28168 maybe-check-textutils: check-textutils
28170 check-textutils:
28171 @: $(MAKE); $(unstage)
28172 @r=`${PWD_COMMAND}`; export r; \
28173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28174 $(HOST_EXPORTS) \
28175 (cd $(HOST_SUBDIR)/textutils && \
28176 $(MAKE) $(FLAGS_TO_PASS) check)
28178 @endif textutils
28180 .PHONY: install-textutils maybe-install-textutils
28181 maybe-install-textutils:
28182 @if textutils
28183 maybe-install-textutils: install-textutils
28185 install-textutils: installdirs
28186 @: $(MAKE); $(unstage)
28187 @r=`${PWD_COMMAND}`; export r; \
28188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28189 $(HOST_EXPORTS) \
28190 (cd $(HOST_SUBDIR)/textutils && \
28191 $(MAKE) $(FLAGS_TO_PASS) install)
28193 @endif textutils
28195 # Other targets (info, dvi, pdf, etc.)
28197 .PHONY: maybe-info-textutils info-textutils
28198 maybe-info-textutils:
28199 @if textutils
28200 maybe-info-textutils: info-textutils
28202 info-textutils: \
28203 configure-textutils
28204 @: $(MAKE); $(unstage)
28205 @[ -f ./textutils/Makefile ] || exit 0; \
28206 r=`${PWD_COMMAND}`; export r; \
28207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28208 $(HOST_EXPORTS) \
28209 for flag in $(EXTRA_HOST_FLAGS) ; do \
28210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28211 done; \
28212 echo "Doing info in textutils" ; \
28213 (cd $(HOST_SUBDIR)/textutils && \
28214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28216 "RANLIB=$${RANLIB}" \
28217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28218 info) \
28219 || exit 1
28221 @endif textutils
28223 .PHONY: maybe-dvi-textutils dvi-textutils
28224 maybe-dvi-textutils:
28225 @if textutils
28226 maybe-dvi-textutils: dvi-textutils
28228 dvi-textutils: \
28229 configure-textutils
28230 @: $(MAKE); $(unstage)
28231 @[ -f ./textutils/Makefile ] || exit 0; \
28232 r=`${PWD_COMMAND}`; export r; \
28233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28234 $(HOST_EXPORTS) \
28235 for flag in $(EXTRA_HOST_FLAGS) ; do \
28236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28237 done; \
28238 echo "Doing dvi in textutils" ; \
28239 (cd $(HOST_SUBDIR)/textutils && \
28240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28242 "RANLIB=$${RANLIB}" \
28243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28244 dvi) \
28245 || exit 1
28247 @endif textutils
28249 .PHONY: maybe-pdf-textutils pdf-textutils
28250 maybe-pdf-textutils:
28251 @if textutils
28252 maybe-pdf-textutils: pdf-textutils
28254 pdf-textutils: \
28255 configure-textutils
28256 @: $(MAKE); $(unstage)
28257 @[ -f ./textutils/Makefile ] || exit 0; \
28258 r=`${PWD_COMMAND}`; export r; \
28259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28260 $(HOST_EXPORTS) \
28261 for flag in $(EXTRA_HOST_FLAGS) ; do \
28262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28263 done; \
28264 echo "Doing pdf in textutils" ; \
28265 (cd $(HOST_SUBDIR)/textutils && \
28266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28268 "RANLIB=$${RANLIB}" \
28269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28270 pdf) \
28271 || exit 1
28273 @endif textutils
28275 .PHONY: maybe-html-textutils html-textutils
28276 maybe-html-textutils:
28277 @if textutils
28278 maybe-html-textutils: html-textutils
28280 html-textutils: \
28281 configure-textutils
28282 @: $(MAKE); $(unstage)
28283 @[ -f ./textutils/Makefile ] || exit 0; \
28284 r=`${PWD_COMMAND}`; export r; \
28285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28286 $(HOST_EXPORTS) \
28287 for flag in $(EXTRA_HOST_FLAGS) ; do \
28288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28289 done; \
28290 echo "Doing html in textutils" ; \
28291 (cd $(HOST_SUBDIR)/textutils && \
28292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28294 "RANLIB=$${RANLIB}" \
28295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28296 html) \
28297 || exit 1
28299 @endif textutils
28301 .PHONY: maybe-TAGS-textutils TAGS-textutils
28302 maybe-TAGS-textutils:
28303 @if textutils
28304 maybe-TAGS-textutils: TAGS-textutils
28306 TAGS-textutils: \
28307 configure-textutils
28308 @: $(MAKE); $(unstage)
28309 @[ -f ./textutils/Makefile ] || exit 0; \
28310 r=`${PWD_COMMAND}`; export r; \
28311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28312 $(HOST_EXPORTS) \
28313 for flag in $(EXTRA_HOST_FLAGS) ; do \
28314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28315 done; \
28316 echo "Doing TAGS in textutils" ; \
28317 (cd $(HOST_SUBDIR)/textutils && \
28318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28320 "RANLIB=$${RANLIB}" \
28321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28322 TAGS) \
28323 || exit 1
28325 @endif textutils
28327 .PHONY: maybe-install-info-textutils install-info-textutils
28328 maybe-install-info-textutils:
28329 @if textutils
28330 maybe-install-info-textutils: install-info-textutils
28332 install-info-textutils: \
28333 configure-textutils \
28334 info-textutils
28335 @: $(MAKE); $(unstage)
28336 @[ -f ./textutils/Makefile ] || exit 0; \
28337 r=`${PWD_COMMAND}`; export r; \
28338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28339 $(HOST_EXPORTS) \
28340 for flag in $(EXTRA_HOST_FLAGS) ; do \
28341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28342 done; \
28343 echo "Doing install-info in textutils" ; \
28344 (cd $(HOST_SUBDIR)/textutils && \
28345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28347 "RANLIB=$${RANLIB}" \
28348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28349 install-info) \
28350 || exit 1
28352 @endif textutils
28354 .PHONY: maybe-install-html-textutils install-html-textutils
28355 maybe-install-html-textutils:
28356 @if textutils
28357 maybe-install-html-textutils: install-html-textutils
28359 install-html-textutils: \
28360 configure-textutils \
28361 html-textutils
28362 @: $(MAKE); $(unstage)
28363 @[ -f ./textutils/Makefile ] || exit 0; \
28364 r=`${PWD_COMMAND}`; export r; \
28365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28366 $(HOST_EXPORTS) \
28367 for flag in $(EXTRA_HOST_FLAGS) ; do \
28368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28369 done; \
28370 echo "Doing install-html in textutils" ; \
28371 (cd $(HOST_SUBDIR)/textutils && \
28372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28374 "RANLIB=$${RANLIB}" \
28375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28376 install-html) \
28377 || exit 1
28379 @endif textutils
28381 .PHONY: maybe-installcheck-textutils installcheck-textutils
28382 maybe-installcheck-textutils:
28383 @if textutils
28384 maybe-installcheck-textutils: installcheck-textutils
28386 installcheck-textutils: \
28387 configure-textutils
28388 @: $(MAKE); $(unstage)
28389 @[ -f ./textutils/Makefile ] || exit 0; \
28390 r=`${PWD_COMMAND}`; export r; \
28391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28392 $(HOST_EXPORTS) \
28393 for flag in $(EXTRA_HOST_FLAGS) ; do \
28394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28395 done; \
28396 echo "Doing installcheck in textutils" ; \
28397 (cd $(HOST_SUBDIR)/textutils && \
28398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28400 "RANLIB=$${RANLIB}" \
28401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28402 installcheck) \
28403 || exit 1
28405 @endif textutils
28407 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
28408 maybe-mostlyclean-textutils:
28409 @if textutils
28410 maybe-mostlyclean-textutils: mostlyclean-textutils
28412 mostlyclean-textutils:
28413 @: $(MAKE); $(unstage)
28414 @[ -f ./textutils/Makefile ] || exit 0; \
28415 r=`${PWD_COMMAND}`; export r; \
28416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28417 $(HOST_EXPORTS) \
28418 for flag in $(EXTRA_HOST_FLAGS) ; do \
28419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28420 done; \
28421 echo "Doing mostlyclean in textutils" ; \
28422 (cd $(HOST_SUBDIR)/textutils && \
28423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28425 "RANLIB=$${RANLIB}" \
28426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28427 mostlyclean) \
28428 || exit 1
28430 @endif textutils
28432 .PHONY: maybe-clean-textutils clean-textutils
28433 maybe-clean-textutils:
28434 @if textutils
28435 maybe-clean-textutils: clean-textutils
28437 clean-textutils:
28438 @: $(MAKE); $(unstage)
28439 @[ -f ./textutils/Makefile ] || exit 0; \
28440 r=`${PWD_COMMAND}`; export r; \
28441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28442 $(HOST_EXPORTS) \
28443 for flag in $(EXTRA_HOST_FLAGS) ; do \
28444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28445 done; \
28446 echo "Doing clean in textutils" ; \
28447 (cd $(HOST_SUBDIR)/textutils && \
28448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28450 "RANLIB=$${RANLIB}" \
28451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28452 clean) \
28453 || exit 1
28455 @endif textutils
28457 .PHONY: maybe-distclean-textutils distclean-textutils
28458 maybe-distclean-textutils:
28459 @if textutils
28460 maybe-distclean-textutils: distclean-textutils
28462 distclean-textutils:
28463 @: $(MAKE); $(unstage)
28464 @[ -f ./textutils/Makefile ] || exit 0; \
28465 r=`${PWD_COMMAND}`; export r; \
28466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28467 $(HOST_EXPORTS) \
28468 for flag in $(EXTRA_HOST_FLAGS) ; do \
28469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28470 done; \
28471 echo "Doing distclean in textutils" ; \
28472 (cd $(HOST_SUBDIR)/textutils && \
28473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28475 "RANLIB=$${RANLIB}" \
28476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28477 distclean) \
28478 || exit 1
28480 @endif textutils
28482 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
28483 maybe-maintainer-clean-textutils:
28484 @if textutils
28485 maybe-maintainer-clean-textutils: maintainer-clean-textutils
28487 maintainer-clean-textutils:
28488 @: $(MAKE); $(unstage)
28489 @[ -f ./textutils/Makefile ] || exit 0; \
28490 r=`${PWD_COMMAND}`; export r; \
28491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28492 $(HOST_EXPORTS) \
28493 for flag in $(EXTRA_HOST_FLAGS) ; do \
28494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28495 done; \
28496 echo "Doing maintainer-clean in textutils" ; \
28497 (cd $(HOST_SUBDIR)/textutils && \
28498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28500 "RANLIB=$${RANLIB}" \
28501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28502 maintainer-clean) \
28503 || exit 1
28505 @endif textutils
28509 .PHONY: configure-time maybe-configure-time
28510 maybe-configure-time:
28511 @if gcc-bootstrap
28512 configure-time: stage_current
28513 @endif gcc-bootstrap
28514 @if time
28515 maybe-configure-time: configure-time
28516 configure-time:
28517 @: $(MAKE); $(unstage)
28518 @r=`${PWD_COMMAND}`; export r; \
28519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28520 test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
28521 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
28522 $(HOST_EXPORTS) \
28523 echo Configuring in $(HOST_SUBDIR)/time; \
28524 cd "$(HOST_SUBDIR)/time" || exit 1; \
28525 case $(srcdir) in \
28526 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28527 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
28528 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28529 esac; \
28530 srcdiroption="--srcdir=$${topdir}/time"; \
28531 libsrcdir="$$s/time"; \
28532 $(SHELL) $${libsrcdir}/configure \
28533 $(HOST_CONFIGARGS) $${srcdiroption} \
28534 || exit 1
28535 @endif time
28541 .PHONY: all-time maybe-all-time
28542 maybe-all-time:
28543 @if gcc-bootstrap
28544 all-time: stage_current
28545 @endif gcc-bootstrap
28546 @if time
28547 TARGET-time=all
28548 maybe-all-time: all-time
28549 all-time: configure-time
28550 @: $(MAKE); $(unstage)
28551 @r=`${PWD_COMMAND}`; export r; \
28552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28553 $(HOST_EXPORTS) \
28554 (cd $(HOST_SUBDIR)/time && \
28555 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
28556 @endif time
28561 .PHONY: check-time maybe-check-time
28562 maybe-check-time:
28563 @if time
28564 maybe-check-time: check-time
28566 check-time:
28567 @: $(MAKE); $(unstage)
28568 @r=`${PWD_COMMAND}`; export r; \
28569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28570 $(HOST_EXPORTS) \
28571 (cd $(HOST_SUBDIR)/time && \
28572 $(MAKE) $(FLAGS_TO_PASS) check)
28574 @endif time
28576 .PHONY: install-time maybe-install-time
28577 maybe-install-time:
28578 @if time
28579 maybe-install-time: install-time
28581 install-time: installdirs
28582 @: $(MAKE); $(unstage)
28583 @r=`${PWD_COMMAND}`; export r; \
28584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28585 $(HOST_EXPORTS) \
28586 (cd $(HOST_SUBDIR)/time && \
28587 $(MAKE) $(FLAGS_TO_PASS) install)
28589 @endif time
28591 # Other targets (info, dvi, pdf, etc.)
28593 .PHONY: maybe-info-time info-time
28594 maybe-info-time:
28595 @if time
28596 maybe-info-time: info-time
28598 info-time: \
28599 configure-time
28600 @: $(MAKE); $(unstage)
28601 @[ -f ./time/Makefile ] || exit 0; \
28602 r=`${PWD_COMMAND}`; export r; \
28603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28604 $(HOST_EXPORTS) \
28605 for flag in $(EXTRA_HOST_FLAGS) ; do \
28606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28607 done; \
28608 echo "Doing info in time" ; \
28609 (cd $(HOST_SUBDIR)/time && \
28610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28612 "RANLIB=$${RANLIB}" \
28613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28614 info) \
28615 || exit 1
28617 @endif time
28619 .PHONY: maybe-dvi-time dvi-time
28620 maybe-dvi-time:
28621 @if time
28622 maybe-dvi-time: dvi-time
28624 dvi-time: \
28625 configure-time
28626 @: $(MAKE); $(unstage)
28627 @[ -f ./time/Makefile ] || exit 0; \
28628 r=`${PWD_COMMAND}`; export r; \
28629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28630 $(HOST_EXPORTS) \
28631 for flag in $(EXTRA_HOST_FLAGS) ; do \
28632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28633 done; \
28634 echo "Doing dvi in time" ; \
28635 (cd $(HOST_SUBDIR)/time && \
28636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28638 "RANLIB=$${RANLIB}" \
28639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28640 dvi) \
28641 || exit 1
28643 @endif time
28645 .PHONY: maybe-pdf-time pdf-time
28646 maybe-pdf-time:
28647 @if time
28648 maybe-pdf-time: pdf-time
28650 pdf-time: \
28651 configure-time
28652 @: $(MAKE); $(unstage)
28653 @[ -f ./time/Makefile ] || exit 0; \
28654 r=`${PWD_COMMAND}`; export r; \
28655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28656 $(HOST_EXPORTS) \
28657 for flag in $(EXTRA_HOST_FLAGS) ; do \
28658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28659 done; \
28660 echo "Doing pdf in time" ; \
28661 (cd $(HOST_SUBDIR)/time && \
28662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28664 "RANLIB=$${RANLIB}" \
28665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28666 pdf) \
28667 || exit 1
28669 @endif time
28671 .PHONY: maybe-html-time html-time
28672 maybe-html-time:
28673 @if time
28674 maybe-html-time: html-time
28676 html-time: \
28677 configure-time
28678 @: $(MAKE); $(unstage)
28679 @[ -f ./time/Makefile ] || exit 0; \
28680 r=`${PWD_COMMAND}`; export r; \
28681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28682 $(HOST_EXPORTS) \
28683 for flag in $(EXTRA_HOST_FLAGS) ; do \
28684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28685 done; \
28686 echo "Doing html in time" ; \
28687 (cd $(HOST_SUBDIR)/time && \
28688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28690 "RANLIB=$${RANLIB}" \
28691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28692 html) \
28693 || exit 1
28695 @endif time
28697 .PHONY: maybe-TAGS-time TAGS-time
28698 maybe-TAGS-time:
28699 @if time
28700 maybe-TAGS-time: TAGS-time
28702 TAGS-time: \
28703 configure-time
28704 @: $(MAKE); $(unstage)
28705 @[ -f ./time/Makefile ] || exit 0; \
28706 r=`${PWD_COMMAND}`; export r; \
28707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28708 $(HOST_EXPORTS) \
28709 for flag in $(EXTRA_HOST_FLAGS) ; do \
28710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28711 done; \
28712 echo "Doing TAGS in time" ; \
28713 (cd $(HOST_SUBDIR)/time && \
28714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28716 "RANLIB=$${RANLIB}" \
28717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28718 TAGS) \
28719 || exit 1
28721 @endif time
28723 .PHONY: maybe-install-info-time install-info-time
28724 maybe-install-info-time:
28725 @if time
28726 maybe-install-info-time: install-info-time
28728 install-info-time: \
28729 configure-time \
28730 info-time
28731 @: $(MAKE); $(unstage)
28732 @[ -f ./time/Makefile ] || exit 0; \
28733 r=`${PWD_COMMAND}`; export r; \
28734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28735 $(HOST_EXPORTS) \
28736 for flag in $(EXTRA_HOST_FLAGS) ; do \
28737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28738 done; \
28739 echo "Doing install-info in time" ; \
28740 (cd $(HOST_SUBDIR)/time && \
28741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28743 "RANLIB=$${RANLIB}" \
28744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28745 install-info) \
28746 || exit 1
28748 @endif time
28750 .PHONY: maybe-install-html-time install-html-time
28751 maybe-install-html-time:
28752 @if time
28753 maybe-install-html-time: install-html-time
28755 install-html-time: \
28756 configure-time \
28757 html-time
28758 @: $(MAKE); $(unstage)
28759 @[ -f ./time/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 install-html in time" ; \
28767 (cd $(HOST_SUBDIR)/time && \
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 install-html) \
28773 || exit 1
28775 @endif time
28777 .PHONY: maybe-installcheck-time installcheck-time
28778 maybe-installcheck-time:
28779 @if time
28780 maybe-installcheck-time: installcheck-time
28782 installcheck-time: \
28783 configure-time
28784 @: $(MAKE); $(unstage)
28785 @[ -f ./time/Makefile ] || exit 0; \
28786 r=`${PWD_COMMAND}`; export r; \
28787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28788 $(HOST_EXPORTS) \
28789 for flag in $(EXTRA_HOST_FLAGS) ; do \
28790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28791 done; \
28792 echo "Doing installcheck in time" ; \
28793 (cd $(HOST_SUBDIR)/time && \
28794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28796 "RANLIB=$${RANLIB}" \
28797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28798 installcheck) \
28799 || exit 1
28801 @endif time
28803 .PHONY: maybe-mostlyclean-time mostlyclean-time
28804 maybe-mostlyclean-time:
28805 @if time
28806 maybe-mostlyclean-time: mostlyclean-time
28808 mostlyclean-time:
28809 @: $(MAKE); $(unstage)
28810 @[ -f ./time/Makefile ] || exit 0; \
28811 r=`${PWD_COMMAND}`; export r; \
28812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28813 $(HOST_EXPORTS) \
28814 for flag in $(EXTRA_HOST_FLAGS) ; do \
28815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28816 done; \
28817 echo "Doing mostlyclean in time" ; \
28818 (cd $(HOST_SUBDIR)/time && \
28819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28821 "RANLIB=$${RANLIB}" \
28822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28823 mostlyclean) \
28824 || exit 1
28826 @endif time
28828 .PHONY: maybe-clean-time clean-time
28829 maybe-clean-time:
28830 @if time
28831 maybe-clean-time: clean-time
28833 clean-time:
28834 @: $(MAKE); $(unstage)
28835 @[ -f ./time/Makefile ] || exit 0; \
28836 r=`${PWD_COMMAND}`; export r; \
28837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28838 $(HOST_EXPORTS) \
28839 for flag in $(EXTRA_HOST_FLAGS) ; do \
28840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28841 done; \
28842 echo "Doing clean in time" ; \
28843 (cd $(HOST_SUBDIR)/time && \
28844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28846 "RANLIB=$${RANLIB}" \
28847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28848 clean) \
28849 || exit 1
28851 @endif time
28853 .PHONY: maybe-distclean-time distclean-time
28854 maybe-distclean-time:
28855 @if time
28856 maybe-distclean-time: distclean-time
28858 distclean-time:
28859 @: $(MAKE); $(unstage)
28860 @[ -f ./time/Makefile ] || exit 0; \
28861 r=`${PWD_COMMAND}`; export r; \
28862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28863 $(HOST_EXPORTS) \
28864 for flag in $(EXTRA_HOST_FLAGS) ; do \
28865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28866 done; \
28867 echo "Doing distclean in time" ; \
28868 (cd $(HOST_SUBDIR)/time && \
28869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28871 "RANLIB=$${RANLIB}" \
28872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28873 distclean) \
28874 || exit 1
28876 @endif time
28878 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
28879 maybe-maintainer-clean-time:
28880 @if time
28881 maybe-maintainer-clean-time: maintainer-clean-time
28883 maintainer-clean-time:
28884 @: $(MAKE); $(unstage)
28885 @[ -f ./time/Makefile ] || exit 0; \
28886 r=`${PWD_COMMAND}`; export r; \
28887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28888 $(HOST_EXPORTS) \
28889 for flag in $(EXTRA_HOST_FLAGS) ; do \
28890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28891 done; \
28892 echo "Doing maintainer-clean in time" ; \
28893 (cd $(HOST_SUBDIR)/time && \
28894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28896 "RANLIB=$${RANLIB}" \
28897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28898 maintainer-clean) \
28899 || exit 1
28901 @endif time
28905 .PHONY: configure-uudecode maybe-configure-uudecode
28906 maybe-configure-uudecode:
28907 @if gcc-bootstrap
28908 configure-uudecode: stage_current
28909 @endif gcc-bootstrap
28910 @if uudecode
28911 maybe-configure-uudecode: configure-uudecode
28912 configure-uudecode:
28913 @: $(MAKE); $(unstage)
28914 @r=`${PWD_COMMAND}`; export r; \
28915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28916 test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
28917 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
28918 $(HOST_EXPORTS) \
28919 echo Configuring in $(HOST_SUBDIR)/uudecode; \
28920 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
28921 case $(srcdir) in \
28922 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28923 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
28924 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28925 esac; \
28926 srcdiroption="--srcdir=$${topdir}/uudecode"; \
28927 libsrcdir="$$s/uudecode"; \
28928 $(SHELL) $${libsrcdir}/configure \
28929 $(HOST_CONFIGARGS) $${srcdiroption} \
28930 || exit 1
28931 @endif uudecode
28937 .PHONY: all-uudecode maybe-all-uudecode
28938 maybe-all-uudecode:
28939 @if gcc-bootstrap
28940 all-uudecode: stage_current
28941 @endif gcc-bootstrap
28942 @if uudecode
28943 TARGET-uudecode=all
28944 maybe-all-uudecode: all-uudecode
28945 all-uudecode: configure-uudecode
28946 @: $(MAKE); $(unstage)
28947 @r=`${PWD_COMMAND}`; export r; \
28948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28949 $(HOST_EXPORTS) \
28950 (cd $(HOST_SUBDIR)/uudecode && \
28951 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
28952 @endif uudecode
28957 .PHONY: check-uudecode maybe-check-uudecode
28958 maybe-check-uudecode:
28959 @if uudecode
28960 maybe-check-uudecode: check-uudecode
28962 check-uudecode:
28963 @: $(MAKE); $(unstage)
28964 @r=`${PWD_COMMAND}`; export r; \
28965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28966 $(HOST_EXPORTS) \
28967 (cd $(HOST_SUBDIR)/uudecode && \
28968 $(MAKE) $(FLAGS_TO_PASS) check)
28970 @endif uudecode
28972 .PHONY: install-uudecode maybe-install-uudecode
28973 maybe-install-uudecode:
28974 @if uudecode
28975 maybe-install-uudecode: install-uudecode
28977 install-uudecode: installdirs
28978 @: $(MAKE); $(unstage)
28979 @r=`${PWD_COMMAND}`; export r; \
28980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28981 $(HOST_EXPORTS) \
28982 (cd $(HOST_SUBDIR)/uudecode && \
28983 $(MAKE) $(FLAGS_TO_PASS) install)
28985 @endif uudecode
28987 # Other targets (info, dvi, pdf, etc.)
28989 .PHONY: maybe-info-uudecode info-uudecode
28990 maybe-info-uudecode:
28991 @if uudecode
28992 maybe-info-uudecode: info-uudecode
28994 info-uudecode: \
28995 configure-uudecode
28996 @: $(MAKE); $(unstage)
28997 @[ -f ./uudecode/Makefile ] || exit 0; \
28998 r=`${PWD_COMMAND}`; export r; \
28999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29000 $(HOST_EXPORTS) \
29001 for flag in $(EXTRA_HOST_FLAGS) ; do \
29002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29003 done; \
29004 echo "Doing info in uudecode" ; \
29005 (cd $(HOST_SUBDIR)/uudecode && \
29006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29008 "RANLIB=$${RANLIB}" \
29009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29010 info) \
29011 || exit 1
29013 @endif uudecode
29015 .PHONY: maybe-dvi-uudecode dvi-uudecode
29016 maybe-dvi-uudecode:
29017 @if uudecode
29018 maybe-dvi-uudecode: dvi-uudecode
29020 dvi-uudecode: \
29021 configure-uudecode
29022 @: $(MAKE); $(unstage)
29023 @[ -f ./uudecode/Makefile ] || exit 0; \
29024 r=`${PWD_COMMAND}`; export r; \
29025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29026 $(HOST_EXPORTS) \
29027 for flag in $(EXTRA_HOST_FLAGS) ; do \
29028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29029 done; \
29030 echo "Doing dvi in uudecode" ; \
29031 (cd $(HOST_SUBDIR)/uudecode && \
29032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29034 "RANLIB=$${RANLIB}" \
29035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29036 dvi) \
29037 || exit 1
29039 @endif uudecode
29041 .PHONY: maybe-pdf-uudecode pdf-uudecode
29042 maybe-pdf-uudecode:
29043 @if uudecode
29044 maybe-pdf-uudecode: pdf-uudecode
29046 pdf-uudecode: \
29047 configure-uudecode
29048 @: $(MAKE); $(unstage)
29049 @[ -f ./uudecode/Makefile ] || exit 0; \
29050 r=`${PWD_COMMAND}`; export r; \
29051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29052 $(HOST_EXPORTS) \
29053 for flag in $(EXTRA_HOST_FLAGS) ; do \
29054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29055 done; \
29056 echo "Doing pdf in uudecode" ; \
29057 (cd $(HOST_SUBDIR)/uudecode && \
29058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29060 "RANLIB=$${RANLIB}" \
29061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29062 pdf) \
29063 || exit 1
29065 @endif uudecode
29067 .PHONY: maybe-html-uudecode html-uudecode
29068 maybe-html-uudecode:
29069 @if uudecode
29070 maybe-html-uudecode: html-uudecode
29072 html-uudecode: \
29073 configure-uudecode
29074 @: $(MAKE); $(unstage)
29075 @[ -f ./uudecode/Makefile ] || exit 0; \
29076 r=`${PWD_COMMAND}`; export r; \
29077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29078 $(HOST_EXPORTS) \
29079 for flag in $(EXTRA_HOST_FLAGS) ; do \
29080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29081 done; \
29082 echo "Doing html in uudecode" ; \
29083 (cd $(HOST_SUBDIR)/uudecode && \
29084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29086 "RANLIB=$${RANLIB}" \
29087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29088 html) \
29089 || exit 1
29091 @endif uudecode
29093 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
29094 maybe-TAGS-uudecode:
29095 @if uudecode
29096 maybe-TAGS-uudecode: TAGS-uudecode
29098 TAGS-uudecode: \
29099 configure-uudecode
29100 @: $(MAKE); $(unstage)
29101 @[ -f ./uudecode/Makefile ] || exit 0; \
29102 r=`${PWD_COMMAND}`; export r; \
29103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29104 $(HOST_EXPORTS) \
29105 for flag in $(EXTRA_HOST_FLAGS) ; do \
29106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29107 done; \
29108 echo "Doing TAGS in uudecode" ; \
29109 (cd $(HOST_SUBDIR)/uudecode && \
29110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29112 "RANLIB=$${RANLIB}" \
29113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29114 TAGS) \
29115 || exit 1
29117 @endif uudecode
29119 .PHONY: maybe-install-info-uudecode install-info-uudecode
29120 maybe-install-info-uudecode:
29121 @if uudecode
29122 maybe-install-info-uudecode: install-info-uudecode
29124 install-info-uudecode: \
29125 configure-uudecode \
29126 info-uudecode
29127 @: $(MAKE); $(unstage)
29128 @[ -f ./uudecode/Makefile ] || exit 0; \
29129 r=`${PWD_COMMAND}`; export r; \
29130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29131 $(HOST_EXPORTS) \
29132 for flag in $(EXTRA_HOST_FLAGS) ; do \
29133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29134 done; \
29135 echo "Doing install-info in uudecode" ; \
29136 (cd $(HOST_SUBDIR)/uudecode && \
29137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29139 "RANLIB=$${RANLIB}" \
29140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29141 install-info) \
29142 || exit 1
29144 @endif uudecode
29146 .PHONY: maybe-install-html-uudecode install-html-uudecode
29147 maybe-install-html-uudecode:
29148 @if uudecode
29149 maybe-install-html-uudecode: install-html-uudecode
29151 install-html-uudecode: \
29152 configure-uudecode \
29153 html-uudecode
29154 @: $(MAKE); $(unstage)
29155 @[ -f ./uudecode/Makefile ] || exit 0; \
29156 r=`${PWD_COMMAND}`; export r; \
29157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29158 $(HOST_EXPORTS) \
29159 for flag in $(EXTRA_HOST_FLAGS) ; do \
29160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29161 done; \
29162 echo "Doing install-html in uudecode" ; \
29163 (cd $(HOST_SUBDIR)/uudecode && \
29164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29166 "RANLIB=$${RANLIB}" \
29167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29168 install-html) \
29169 || exit 1
29171 @endif uudecode
29173 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
29174 maybe-installcheck-uudecode:
29175 @if uudecode
29176 maybe-installcheck-uudecode: installcheck-uudecode
29178 installcheck-uudecode: \
29179 configure-uudecode
29180 @: $(MAKE); $(unstage)
29181 @[ -f ./uudecode/Makefile ] || exit 0; \
29182 r=`${PWD_COMMAND}`; export r; \
29183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29184 $(HOST_EXPORTS) \
29185 for flag in $(EXTRA_HOST_FLAGS) ; do \
29186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29187 done; \
29188 echo "Doing installcheck in uudecode" ; \
29189 (cd $(HOST_SUBDIR)/uudecode && \
29190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29192 "RANLIB=$${RANLIB}" \
29193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29194 installcheck) \
29195 || exit 1
29197 @endif uudecode
29199 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
29200 maybe-mostlyclean-uudecode:
29201 @if uudecode
29202 maybe-mostlyclean-uudecode: mostlyclean-uudecode
29204 mostlyclean-uudecode:
29205 @: $(MAKE); $(unstage)
29206 @[ -f ./uudecode/Makefile ] || exit 0; \
29207 r=`${PWD_COMMAND}`; export r; \
29208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29209 $(HOST_EXPORTS) \
29210 for flag in $(EXTRA_HOST_FLAGS) ; do \
29211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29212 done; \
29213 echo "Doing mostlyclean in uudecode" ; \
29214 (cd $(HOST_SUBDIR)/uudecode && \
29215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29217 "RANLIB=$${RANLIB}" \
29218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29219 mostlyclean) \
29220 || exit 1
29222 @endif uudecode
29224 .PHONY: maybe-clean-uudecode clean-uudecode
29225 maybe-clean-uudecode:
29226 @if uudecode
29227 maybe-clean-uudecode: clean-uudecode
29229 clean-uudecode:
29230 @: $(MAKE); $(unstage)
29231 @[ -f ./uudecode/Makefile ] || exit 0; \
29232 r=`${PWD_COMMAND}`; export r; \
29233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29234 $(HOST_EXPORTS) \
29235 for flag in $(EXTRA_HOST_FLAGS) ; do \
29236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29237 done; \
29238 echo "Doing clean in uudecode" ; \
29239 (cd $(HOST_SUBDIR)/uudecode && \
29240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29242 "RANLIB=$${RANLIB}" \
29243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29244 clean) \
29245 || exit 1
29247 @endif uudecode
29249 .PHONY: maybe-distclean-uudecode distclean-uudecode
29250 maybe-distclean-uudecode:
29251 @if uudecode
29252 maybe-distclean-uudecode: distclean-uudecode
29254 distclean-uudecode:
29255 @: $(MAKE); $(unstage)
29256 @[ -f ./uudecode/Makefile ] || exit 0; \
29257 r=`${PWD_COMMAND}`; export r; \
29258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29259 $(HOST_EXPORTS) \
29260 for flag in $(EXTRA_HOST_FLAGS) ; do \
29261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29262 done; \
29263 echo "Doing distclean in uudecode" ; \
29264 (cd $(HOST_SUBDIR)/uudecode && \
29265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29267 "RANLIB=$${RANLIB}" \
29268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29269 distclean) \
29270 || exit 1
29272 @endif uudecode
29274 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
29275 maybe-maintainer-clean-uudecode:
29276 @if uudecode
29277 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
29279 maintainer-clean-uudecode:
29280 @: $(MAKE); $(unstage)
29281 @[ -f ./uudecode/Makefile ] || exit 0; \
29282 r=`${PWD_COMMAND}`; export r; \
29283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29284 $(HOST_EXPORTS) \
29285 for flag in $(EXTRA_HOST_FLAGS) ; do \
29286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29287 done; \
29288 echo "Doing maintainer-clean in uudecode" ; \
29289 (cd $(HOST_SUBDIR)/uudecode && \
29290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29292 "RANLIB=$${RANLIB}" \
29293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29294 maintainer-clean) \
29295 || exit 1
29297 @endif uudecode
29301 .PHONY: configure-wdiff maybe-configure-wdiff
29302 maybe-configure-wdiff:
29303 @if gcc-bootstrap
29304 configure-wdiff: stage_current
29305 @endif gcc-bootstrap
29306 @if wdiff
29307 maybe-configure-wdiff: configure-wdiff
29308 configure-wdiff:
29309 @: $(MAKE); $(unstage)
29310 @r=`${PWD_COMMAND}`; export r; \
29311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29312 test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
29313 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
29314 $(HOST_EXPORTS) \
29315 echo Configuring in $(HOST_SUBDIR)/wdiff; \
29316 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
29317 case $(srcdir) in \
29318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29319 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
29320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29321 esac; \
29322 srcdiroption="--srcdir=$${topdir}/wdiff"; \
29323 libsrcdir="$$s/wdiff"; \
29324 $(SHELL) $${libsrcdir}/configure \
29325 $(HOST_CONFIGARGS) $${srcdiroption} \
29326 || exit 1
29327 @endif wdiff
29333 .PHONY: all-wdiff maybe-all-wdiff
29334 maybe-all-wdiff:
29335 @if gcc-bootstrap
29336 all-wdiff: stage_current
29337 @endif gcc-bootstrap
29338 @if wdiff
29339 TARGET-wdiff=all
29340 maybe-all-wdiff: all-wdiff
29341 all-wdiff: configure-wdiff
29342 @: $(MAKE); $(unstage)
29343 @r=`${PWD_COMMAND}`; export r; \
29344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29345 $(HOST_EXPORTS) \
29346 (cd $(HOST_SUBDIR)/wdiff && \
29347 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
29348 @endif wdiff
29353 .PHONY: check-wdiff maybe-check-wdiff
29354 maybe-check-wdiff:
29355 @if wdiff
29356 maybe-check-wdiff: check-wdiff
29358 check-wdiff:
29359 @: $(MAKE); $(unstage)
29360 @r=`${PWD_COMMAND}`; export r; \
29361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29362 $(HOST_EXPORTS) \
29363 (cd $(HOST_SUBDIR)/wdiff && \
29364 $(MAKE) $(FLAGS_TO_PASS) check)
29366 @endif wdiff
29368 .PHONY: install-wdiff maybe-install-wdiff
29369 maybe-install-wdiff:
29370 @if wdiff
29371 maybe-install-wdiff: install-wdiff
29373 install-wdiff: installdirs
29374 @: $(MAKE); $(unstage)
29375 @r=`${PWD_COMMAND}`; export r; \
29376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29377 $(HOST_EXPORTS) \
29378 (cd $(HOST_SUBDIR)/wdiff && \
29379 $(MAKE) $(FLAGS_TO_PASS) install)
29381 @endif wdiff
29383 # Other targets (info, dvi, pdf, etc.)
29385 .PHONY: maybe-info-wdiff info-wdiff
29386 maybe-info-wdiff:
29387 @if wdiff
29388 maybe-info-wdiff: info-wdiff
29390 info-wdiff: \
29391 configure-wdiff
29392 @: $(MAKE); $(unstage)
29393 @[ -f ./wdiff/Makefile ] || exit 0; \
29394 r=`${PWD_COMMAND}`; export r; \
29395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29396 $(HOST_EXPORTS) \
29397 for flag in $(EXTRA_HOST_FLAGS) ; do \
29398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29399 done; \
29400 echo "Doing info in wdiff" ; \
29401 (cd $(HOST_SUBDIR)/wdiff && \
29402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29404 "RANLIB=$${RANLIB}" \
29405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29406 info) \
29407 || exit 1
29409 @endif wdiff
29411 .PHONY: maybe-dvi-wdiff dvi-wdiff
29412 maybe-dvi-wdiff:
29413 @if wdiff
29414 maybe-dvi-wdiff: dvi-wdiff
29416 dvi-wdiff: \
29417 configure-wdiff
29418 @: $(MAKE); $(unstage)
29419 @[ -f ./wdiff/Makefile ] || exit 0; \
29420 r=`${PWD_COMMAND}`; export r; \
29421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29422 $(HOST_EXPORTS) \
29423 for flag in $(EXTRA_HOST_FLAGS) ; do \
29424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29425 done; \
29426 echo "Doing dvi in wdiff" ; \
29427 (cd $(HOST_SUBDIR)/wdiff && \
29428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29430 "RANLIB=$${RANLIB}" \
29431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29432 dvi) \
29433 || exit 1
29435 @endif wdiff
29437 .PHONY: maybe-pdf-wdiff pdf-wdiff
29438 maybe-pdf-wdiff:
29439 @if wdiff
29440 maybe-pdf-wdiff: pdf-wdiff
29442 pdf-wdiff: \
29443 configure-wdiff
29444 @: $(MAKE); $(unstage)
29445 @[ -f ./wdiff/Makefile ] || exit 0; \
29446 r=`${PWD_COMMAND}`; export r; \
29447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29448 $(HOST_EXPORTS) \
29449 for flag in $(EXTRA_HOST_FLAGS) ; do \
29450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29451 done; \
29452 echo "Doing pdf in wdiff" ; \
29453 (cd $(HOST_SUBDIR)/wdiff && \
29454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29456 "RANLIB=$${RANLIB}" \
29457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29458 pdf) \
29459 || exit 1
29461 @endif wdiff
29463 .PHONY: maybe-html-wdiff html-wdiff
29464 maybe-html-wdiff:
29465 @if wdiff
29466 maybe-html-wdiff: html-wdiff
29468 html-wdiff: \
29469 configure-wdiff
29470 @: $(MAKE); $(unstage)
29471 @[ -f ./wdiff/Makefile ] || exit 0; \
29472 r=`${PWD_COMMAND}`; export r; \
29473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29474 $(HOST_EXPORTS) \
29475 for flag in $(EXTRA_HOST_FLAGS) ; do \
29476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29477 done; \
29478 echo "Doing html in wdiff" ; \
29479 (cd $(HOST_SUBDIR)/wdiff && \
29480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29482 "RANLIB=$${RANLIB}" \
29483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29484 html) \
29485 || exit 1
29487 @endif wdiff
29489 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
29490 maybe-TAGS-wdiff:
29491 @if wdiff
29492 maybe-TAGS-wdiff: TAGS-wdiff
29494 TAGS-wdiff: \
29495 configure-wdiff
29496 @: $(MAKE); $(unstage)
29497 @[ -f ./wdiff/Makefile ] || exit 0; \
29498 r=`${PWD_COMMAND}`; export r; \
29499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29500 $(HOST_EXPORTS) \
29501 for flag in $(EXTRA_HOST_FLAGS) ; do \
29502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29503 done; \
29504 echo "Doing TAGS in wdiff" ; \
29505 (cd $(HOST_SUBDIR)/wdiff && \
29506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29508 "RANLIB=$${RANLIB}" \
29509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29510 TAGS) \
29511 || exit 1
29513 @endif wdiff
29515 .PHONY: maybe-install-info-wdiff install-info-wdiff
29516 maybe-install-info-wdiff:
29517 @if wdiff
29518 maybe-install-info-wdiff: install-info-wdiff
29520 install-info-wdiff: \
29521 configure-wdiff \
29522 info-wdiff
29523 @: $(MAKE); $(unstage)
29524 @[ -f ./wdiff/Makefile ] || exit 0; \
29525 r=`${PWD_COMMAND}`; export r; \
29526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29527 $(HOST_EXPORTS) \
29528 for flag in $(EXTRA_HOST_FLAGS) ; do \
29529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29530 done; \
29531 echo "Doing install-info in wdiff" ; \
29532 (cd $(HOST_SUBDIR)/wdiff && \
29533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29535 "RANLIB=$${RANLIB}" \
29536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29537 install-info) \
29538 || exit 1
29540 @endif wdiff
29542 .PHONY: maybe-install-html-wdiff install-html-wdiff
29543 maybe-install-html-wdiff:
29544 @if wdiff
29545 maybe-install-html-wdiff: install-html-wdiff
29547 install-html-wdiff: \
29548 configure-wdiff \
29549 html-wdiff
29550 @: $(MAKE); $(unstage)
29551 @[ -f ./wdiff/Makefile ] || exit 0; \
29552 r=`${PWD_COMMAND}`; export r; \
29553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29554 $(HOST_EXPORTS) \
29555 for flag in $(EXTRA_HOST_FLAGS) ; do \
29556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29557 done; \
29558 echo "Doing install-html in wdiff" ; \
29559 (cd $(HOST_SUBDIR)/wdiff && \
29560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29562 "RANLIB=$${RANLIB}" \
29563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29564 install-html) \
29565 || exit 1
29567 @endif wdiff
29569 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
29570 maybe-installcheck-wdiff:
29571 @if wdiff
29572 maybe-installcheck-wdiff: installcheck-wdiff
29574 installcheck-wdiff: \
29575 configure-wdiff
29576 @: $(MAKE); $(unstage)
29577 @[ -f ./wdiff/Makefile ] || exit 0; \
29578 r=`${PWD_COMMAND}`; export r; \
29579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29580 $(HOST_EXPORTS) \
29581 for flag in $(EXTRA_HOST_FLAGS) ; do \
29582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29583 done; \
29584 echo "Doing installcheck in wdiff" ; \
29585 (cd $(HOST_SUBDIR)/wdiff && \
29586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29588 "RANLIB=$${RANLIB}" \
29589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29590 installcheck) \
29591 || exit 1
29593 @endif wdiff
29595 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
29596 maybe-mostlyclean-wdiff:
29597 @if wdiff
29598 maybe-mostlyclean-wdiff: mostlyclean-wdiff
29600 mostlyclean-wdiff:
29601 @: $(MAKE); $(unstage)
29602 @[ -f ./wdiff/Makefile ] || exit 0; \
29603 r=`${PWD_COMMAND}`; export r; \
29604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29605 $(HOST_EXPORTS) \
29606 for flag in $(EXTRA_HOST_FLAGS) ; do \
29607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29608 done; \
29609 echo "Doing mostlyclean in wdiff" ; \
29610 (cd $(HOST_SUBDIR)/wdiff && \
29611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29613 "RANLIB=$${RANLIB}" \
29614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29615 mostlyclean) \
29616 || exit 1
29618 @endif wdiff
29620 .PHONY: maybe-clean-wdiff clean-wdiff
29621 maybe-clean-wdiff:
29622 @if wdiff
29623 maybe-clean-wdiff: clean-wdiff
29625 clean-wdiff:
29626 @: $(MAKE); $(unstage)
29627 @[ -f ./wdiff/Makefile ] || exit 0; \
29628 r=`${PWD_COMMAND}`; export r; \
29629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29630 $(HOST_EXPORTS) \
29631 for flag in $(EXTRA_HOST_FLAGS) ; do \
29632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29633 done; \
29634 echo "Doing clean in wdiff" ; \
29635 (cd $(HOST_SUBDIR)/wdiff && \
29636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29638 "RANLIB=$${RANLIB}" \
29639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29640 clean) \
29641 || exit 1
29643 @endif wdiff
29645 .PHONY: maybe-distclean-wdiff distclean-wdiff
29646 maybe-distclean-wdiff:
29647 @if wdiff
29648 maybe-distclean-wdiff: distclean-wdiff
29650 distclean-wdiff:
29651 @: $(MAKE); $(unstage)
29652 @[ -f ./wdiff/Makefile ] || exit 0; \
29653 r=`${PWD_COMMAND}`; export r; \
29654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29655 $(HOST_EXPORTS) \
29656 for flag in $(EXTRA_HOST_FLAGS) ; do \
29657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29658 done; \
29659 echo "Doing distclean in wdiff" ; \
29660 (cd $(HOST_SUBDIR)/wdiff && \
29661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29663 "RANLIB=$${RANLIB}" \
29664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29665 distclean) \
29666 || exit 1
29668 @endif wdiff
29670 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
29671 maybe-maintainer-clean-wdiff:
29672 @if wdiff
29673 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
29675 maintainer-clean-wdiff:
29676 @: $(MAKE); $(unstage)
29677 @[ -f ./wdiff/Makefile ] || exit 0; \
29678 r=`${PWD_COMMAND}`; export r; \
29679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29680 $(HOST_EXPORTS) \
29681 for flag in $(EXTRA_HOST_FLAGS) ; do \
29682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29683 done; \
29684 echo "Doing maintainer-clean in wdiff" ; \
29685 (cd $(HOST_SUBDIR)/wdiff && \
29686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29688 "RANLIB=$${RANLIB}" \
29689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29690 maintainer-clean) \
29691 || exit 1
29693 @endif wdiff
29697 .PHONY: configure-zip maybe-configure-zip
29698 maybe-configure-zip:
29699 @if gcc-bootstrap
29700 configure-zip: stage_current
29701 @endif gcc-bootstrap
29702 @if zip
29703 maybe-configure-zip: configure-zip
29704 configure-zip:
29705 @: $(MAKE); $(unstage)
29706 @r=`${PWD_COMMAND}`; export r; \
29707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29708 test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
29709 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
29710 $(HOST_EXPORTS) \
29711 echo Configuring in $(HOST_SUBDIR)/zip; \
29712 cd "$(HOST_SUBDIR)/zip" || exit 1; \
29713 case $(srcdir) in \
29714 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29715 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
29716 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29717 esac; \
29718 srcdiroption="--srcdir=$${topdir}/zip"; \
29719 libsrcdir="$$s/zip"; \
29720 $(SHELL) $${libsrcdir}/configure \
29721 $(HOST_CONFIGARGS) $${srcdiroption} \
29722 || exit 1
29723 @endif zip
29729 .PHONY: all-zip maybe-all-zip
29730 maybe-all-zip:
29731 @if gcc-bootstrap
29732 all-zip: stage_current
29733 @endif gcc-bootstrap
29734 @if zip
29735 TARGET-zip=all
29736 maybe-all-zip: all-zip
29737 all-zip: configure-zip
29738 @: $(MAKE); $(unstage)
29739 @r=`${PWD_COMMAND}`; export r; \
29740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29741 $(HOST_EXPORTS) \
29742 (cd $(HOST_SUBDIR)/zip && \
29743 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
29744 @endif zip
29749 .PHONY: check-zip maybe-check-zip
29750 maybe-check-zip:
29751 @if zip
29752 maybe-check-zip: check-zip
29754 # This module is only tested in a native toolchain.
29755 check-zip:
29756 @: $(MAKE); $(unstage)
29757 @if [ '$(host)' = '$(target)' ] ; then \
29758 r=`${PWD_COMMAND}`; export r; \
29759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29760 $(HOST_EXPORTS) \
29761 (cd $(HOST_SUBDIR)/zip && \
29762 $(MAKE) $(FLAGS_TO_PASS) check); \
29765 @endif zip
29767 .PHONY: install-zip maybe-install-zip
29768 maybe-install-zip:
29769 @if zip
29770 maybe-install-zip: install-zip
29772 install-zip: installdirs
29773 @: $(MAKE); $(unstage)
29774 @r=`${PWD_COMMAND}`; export r; \
29775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29776 $(HOST_EXPORTS) \
29777 (cd $(HOST_SUBDIR)/zip && \
29778 $(MAKE) $(FLAGS_TO_PASS) install)
29780 @endif zip
29782 # Other targets (info, dvi, pdf, etc.)
29784 .PHONY: maybe-info-zip info-zip
29785 maybe-info-zip:
29786 @if zip
29787 maybe-info-zip: info-zip
29789 info-zip: \
29790 configure-zip
29791 @: $(MAKE); $(unstage)
29792 @[ -f ./zip/Makefile ] || exit 0; \
29793 r=`${PWD_COMMAND}`; export r; \
29794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29795 $(HOST_EXPORTS) \
29796 for flag in $(EXTRA_HOST_FLAGS) ; do \
29797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29798 done; \
29799 echo "Doing info in zip" ; \
29800 (cd $(HOST_SUBDIR)/zip && \
29801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29803 "RANLIB=$${RANLIB}" \
29804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29805 info) \
29806 || exit 1
29808 @endif zip
29810 .PHONY: maybe-dvi-zip dvi-zip
29811 maybe-dvi-zip:
29812 @if zip
29813 maybe-dvi-zip: dvi-zip
29815 dvi-zip: \
29816 configure-zip
29817 @: $(MAKE); $(unstage)
29818 @[ -f ./zip/Makefile ] || exit 0; \
29819 r=`${PWD_COMMAND}`; export r; \
29820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29821 $(HOST_EXPORTS) \
29822 for flag in $(EXTRA_HOST_FLAGS) ; do \
29823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29824 done; \
29825 echo "Doing dvi in zip" ; \
29826 (cd $(HOST_SUBDIR)/zip && \
29827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29829 "RANLIB=$${RANLIB}" \
29830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29831 dvi) \
29832 || exit 1
29834 @endif zip
29836 .PHONY: maybe-pdf-zip pdf-zip
29837 maybe-pdf-zip:
29838 @if zip
29839 maybe-pdf-zip: pdf-zip
29841 pdf-zip: \
29842 configure-zip
29843 @: $(MAKE); $(unstage)
29844 @[ -f ./zip/Makefile ] || exit 0; \
29845 r=`${PWD_COMMAND}`; export r; \
29846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29847 $(HOST_EXPORTS) \
29848 for flag in $(EXTRA_HOST_FLAGS) ; do \
29849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29850 done; \
29851 echo "Doing pdf in zip" ; \
29852 (cd $(HOST_SUBDIR)/zip && \
29853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29855 "RANLIB=$${RANLIB}" \
29856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29857 pdf) \
29858 || exit 1
29860 @endif zip
29862 .PHONY: maybe-html-zip html-zip
29863 maybe-html-zip:
29864 @if zip
29865 maybe-html-zip: html-zip
29867 html-zip: \
29868 configure-zip
29869 @: $(MAKE); $(unstage)
29870 @[ -f ./zip/Makefile ] || exit 0; \
29871 r=`${PWD_COMMAND}`; export r; \
29872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29873 $(HOST_EXPORTS) \
29874 for flag in $(EXTRA_HOST_FLAGS) ; do \
29875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29876 done; \
29877 echo "Doing html in zip" ; \
29878 (cd $(HOST_SUBDIR)/zip && \
29879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29881 "RANLIB=$${RANLIB}" \
29882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29883 html) \
29884 || exit 1
29886 @endif zip
29888 .PHONY: maybe-TAGS-zip TAGS-zip
29889 maybe-TAGS-zip:
29890 @if zip
29891 maybe-TAGS-zip: TAGS-zip
29893 TAGS-zip: \
29894 configure-zip
29895 @: $(MAKE); $(unstage)
29896 @[ -f ./zip/Makefile ] || exit 0; \
29897 r=`${PWD_COMMAND}`; export r; \
29898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29899 $(HOST_EXPORTS) \
29900 for flag in $(EXTRA_HOST_FLAGS) ; do \
29901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29902 done; \
29903 echo "Doing TAGS in zip" ; \
29904 (cd $(HOST_SUBDIR)/zip && \
29905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29907 "RANLIB=$${RANLIB}" \
29908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29909 TAGS) \
29910 || exit 1
29912 @endif zip
29914 .PHONY: maybe-install-info-zip install-info-zip
29915 maybe-install-info-zip:
29916 @if zip
29917 maybe-install-info-zip: install-info-zip
29919 install-info-zip: \
29920 configure-zip \
29921 info-zip
29922 @: $(MAKE); $(unstage)
29923 @[ -f ./zip/Makefile ] || exit 0; \
29924 r=`${PWD_COMMAND}`; export r; \
29925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29926 $(HOST_EXPORTS) \
29927 for flag in $(EXTRA_HOST_FLAGS) ; do \
29928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29929 done; \
29930 echo "Doing install-info in zip" ; \
29931 (cd $(HOST_SUBDIR)/zip && \
29932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29934 "RANLIB=$${RANLIB}" \
29935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29936 install-info) \
29937 || exit 1
29939 @endif zip
29941 .PHONY: maybe-install-html-zip install-html-zip
29942 maybe-install-html-zip:
29943 @if zip
29944 maybe-install-html-zip: install-html-zip
29946 install-html-zip: \
29947 configure-zip \
29948 html-zip
29949 @: $(MAKE); $(unstage)
29950 @[ -f ./zip/Makefile ] || exit 0; \
29951 r=`${PWD_COMMAND}`; export r; \
29952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29953 $(HOST_EXPORTS) \
29954 for flag in $(EXTRA_HOST_FLAGS) ; do \
29955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29956 done; \
29957 echo "Doing install-html in zip" ; \
29958 (cd $(HOST_SUBDIR)/zip && \
29959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29961 "RANLIB=$${RANLIB}" \
29962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29963 install-html) \
29964 || exit 1
29966 @endif zip
29968 .PHONY: maybe-installcheck-zip installcheck-zip
29969 maybe-installcheck-zip:
29970 @if zip
29971 maybe-installcheck-zip: installcheck-zip
29973 installcheck-zip: \
29974 configure-zip
29975 @: $(MAKE); $(unstage)
29976 @[ -f ./zip/Makefile ] || exit 0; \
29977 r=`${PWD_COMMAND}`; export r; \
29978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29979 $(HOST_EXPORTS) \
29980 for flag in $(EXTRA_HOST_FLAGS) ; do \
29981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29982 done; \
29983 echo "Doing installcheck in zip" ; \
29984 (cd $(HOST_SUBDIR)/zip && \
29985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29987 "RANLIB=$${RANLIB}" \
29988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29989 installcheck) \
29990 || exit 1
29992 @endif zip
29994 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
29995 maybe-mostlyclean-zip:
29996 @if zip
29997 maybe-mostlyclean-zip: mostlyclean-zip
29999 mostlyclean-zip:
30000 @: $(MAKE); $(unstage)
30001 @[ -f ./zip/Makefile ] || exit 0; \
30002 r=`${PWD_COMMAND}`; export r; \
30003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30004 $(HOST_EXPORTS) \
30005 for flag in $(EXTRA_HOST_FLAGS) ; do \
30006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30007 done; \
30008 echo "Doing mostlyclean in zip" ; \
30009 (cd $(HOST_SUBDIR)/zip && \
30010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30012 "RANLIB=$${RANLIB}" \
30013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30014 mostlyclean) \
30015 || exit 1
30017 @endif zip
30019 .PHONY: maybe-clean-zip clean-zip
30020 maybe-clean-zip:
30021 @if zip
30022 maybe-clean-zip: clean-zip
30024 clean-zip:
30025 @: $(MAKE); $(unstage)
30026 @[ -f ./zip/Makefile ] || exit 0; \
30027 r=`${PWD_COMMAND}`; export r; \
30028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30029 $(HOST_EXPORTS) \
30030 for flag in $(EXTRA_HOST_FLAGS) ; do \
30031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30032 done; \
30033 echo "Doing clean in zip" ; \
30034 (cd $(HOST_SUBDIR)/zip && \
30035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30037 "RANLIB=$${RANLIB}" \
30038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30039 clean) \
30040 || exit 1
30042 @endif zip
30044 .PHONY: maybe-distclean-zip distclean-zip
30045 maybe-distclean-zip:
30046 @if zip
30047 maybe-distclean-zip: distclean-zip
30049 distclean-zip:
30050 @: $(MAKE); $(unstage)
30051 @[ -f ./zip/Makefile ] || exit 0; \
30052 r=`${PWD_COMMAND}`; export r; \
30053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30054 $(HOST_EXPORTS) \
30055 for flag in $(EXTRA_HOST_FLAGS) ; do \
30056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30057 done; \
30058 echo "Doing distclean in zip" ; \
30059 (cd $(HOST_SUBDIR)/zip && \
30060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30062 "RANLIB=$${RANLIB}" \
30063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30064 distclean) \
30065 || exit 1
30067 @endif zip
30069 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
30070 maybe-maintainer-clean-zip:
30071 @if zip
30072 maybe-maintainer-clean-zip: maintainer-clean-zip
30074 maintainer-clean-zip:
30075 @: $(MAKE); $(unstage)
30076 @[ -f ./zip/Makefile ] || exit 0; \
30077 r=`${PWD_COMMAND}`; export r; \
30078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30079 $(HOST_EXPORTS) \
30080 for flag in $(EXTRA_HOST_FLAGS) ; do \
30081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30082 done; \
30083 echo "Doing maintainer-clean in zip" ; \
30084 (cd $(HOST_SUBDIR)/zip && \
30085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30087 "RANLIB=$${RANLIB}" \
30088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30089 maintainer-clean) \
30090 || exit 1
30092 @endif zip
30096 .PHONY: configure-zlib maybe-configure-zlib
30097 maybe-configure-zlib:
30098 @if gcc-bootstrap
30099 configure-zlib: stage_current
30100 @endif gcc-bootstrap
30101 @if zlib
30102 maybe-configure-zlib: configure-zlib
30103 configure-zlib:
30104 @r=`${PWD_COMMAND}`; export r; \
30105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30106 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30107 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30108 $(HOST_EXPORTS) \
30109 echo Configuring in $(HOST_SUBDIR)/zlib; \
30110 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
30111 case $(srcdir) in \
30112 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30113 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30114 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30115 esac; \
30116 srcdiroption="--srcdir=$${topdir}/zlib"; \
30117 libsrcdir="$$s/zlib"; \
30118 $(SHELL) $${libsrcdir}/configure \
30119 $(HOST_CONFIGARGS) $${srcdiroption} \
30120 || exit 1
30121 @endif zlib
30125 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
30126 maybe-configure-stage1-zlib:
30127 @if zlib-bootstrap
30128 maybe-configure-stage1-zlib: configure-stage1-zlib
30129 configure-stage1-zlib:
30130 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30131 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30132 @r=`${PWD_COMMAND}`; export r; \
30133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30134 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30135 $(HOST_EXPORTS) \
30136 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
30137 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30138 cd $(HOST_SUBDIR)/zlib || exit 1; \
30139 case $(srcdir) in \
30140 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30141 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30142 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30143 esac; \
30144 srcdiroption="--srcdir=$${topdir}/zlib"; \
30145 libsrcdir="$$s/zlib"; \
30146 $(SHELL) $${libsrcdir}/configure \
30147 $(HOST_CONFIGARGS) $${srcdiroption} \
30149 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30150 @endif zlib-bootstrap
30152 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
30153 maybe-configure-stage2-zlib:
30154 @if zlib-bootstrap
30155 maybe-configure-stage2-zlib: configure-stage2-zlib
30156 configure-stage2-zlib:
30157 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30158 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30159 @r=`${PWD_COMMAND}`; export r; \
30160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30161 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30162 $(HOST_EXPORTS) \
30163 $(POSTSTAGE1_HOST_EXPORTS) \
30164 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
30165 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30166 cd $(HOST_SUBDIR)/zlib || exit 1; \
30167 case $(srcdir) in \
30168 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30169 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30170 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30171 esac; \
30172 srcdiroption="--srcdir=$${topdir}/zlib"; \
30173 libsrcdir="$$s/zlib"; \
30174 $(SHELL) $${libsrcdir}/configure \
30175 $(HOST_CONFIGARGS) $${srcdiroption} \
30176 --with-build-libsubdir=$(HOST_SUBDIR) \
30177 @stage2_werror_flag@
30178 @endif zlib-bootstrap
30180 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
30181 maybe-configure-stage3-zlib:
30182 @if zlib-bootstrap
30183 maybe-configure-stage3-zlib: configure-stage3-zlib
30184 configure-stage3-zlib:
30185 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30186 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30187 @r=`${PWD_COMMAND}`; export r; \
30188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30189 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30190 $(HOST_EXPORTS) \
30191 $(POSTSTAGE1_HOST_EXPORTS) \
30192 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
30193 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30194 cd $(HOST_SUBDIR)/zlib || exit 1; \
30195 case $(srcdir) in \
30196 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30197 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30198 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30199 esac; \
30200 srcdiroption="--srcdir=$${topdir}/zlib"; \
30201 libsrcdir="$$s/zlib"; \
30202 $(SHELL) $${libsrcdir}/configure \
30203 $(HOST_CONFIGARGS) $${srcdiroption} \
30204 --with-build-libsubdir=$(HOST_SUBDIR) \
30205 @stage2_werror_flag@
30206 @endif zlib-bootstrap
30208 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
30209 maybe-configure-stage4-zlib:
30210 @if zlib-bootstrap
30211 maybe-configure-stage4-zlib: configure-stage4-zlib
30212 configure-stage4-zlib:
30213 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30214 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30215 @r=`${PWD_COMMAND}`; export r; \
30216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30217 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30218 $(HOST_EXPORTS) \
30219 $(POSTSTAGE1_HOST_EXPORTS) \
30220 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
30221 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30222 cd $(HOST_SUBDIR)/zlib || exit 1; \
30223 case $(srcdir) in \
30224 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30225 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30226 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30227 esac; \
30228 srcdiroption="--srcdir=$${topdir}/zlib"; \
30229 libsrcdir="$$s/zlib"; \
30230 $(SHELL) $${libsrcdir}/configure \
30231 $(HOST_CONFIGARGS) $${srcdiroption} \
30232 --with-build-libsubdir=$(HOST_SUBDIR) \
30233 @stage2_werror_flag@
30234 @endif zlib-bootstrap
30236 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
30237 maybe-configure-stageprofile-zlib:
30238 @if zlib-bootstrap
30239 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
30240 configure-stageprofile-zlib:
30241 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30242 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30243 @r=`${PWD_COMMAND}`; export r; \
30244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30245 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30246 $(HOST_EXPORTS) \
30247 $(POSTSTAGE1_HOST_EXPORTS) \
30248 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
30249 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30250 cd $(HOST_SUBDIR)/zlib || exit 1; \
30251 case $(srcdir) in \
30252 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30253 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30254 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30255 esac; \
30256 srcdiroption="--srcdir=$${topdir}/zlib"; \
30257 libsrcdir="$$s/zlib"; \
30258 $(SHELL) $${libsrcdir}/configure \
30259 $(HOST_CONFIGARGS) $${srcdiroption} \
30260 --with-build-libsubdir=$(HOST_SUBDIR) \
30261 @stage2_werror_flag@
30262 @endif zlib-bootstrap
30264 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
30265 maybe-configure-stagefeedback-zlib:
30266 @if zlib-bootstrap
30267 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
30268 configure-stagefeedback-zlib:
30269 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30270 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30271 @r=`${PWD_COMMAND}`; export r; \
30272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30273 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30274 $(HOST_EXPORTS) \
30275 $(POSTSTAGE1_HOST_EXPORTS) \
30276 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
30277 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
30278 cd $(HOST_SUBDIR)/zlib || exit 1; \
30279 case $(srcdir) in \
30280 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30281 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30282 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30283 esac; \
30284 srcdiroption="--srcdir=$${topdir}/zlib"; \
30285 libsrcdir="$$s/zlib"; \
30286 $(SHELL) $${libsrcdir}/configure \
30287 $(HOST_CONFIGARGS) $${srcdiroption} \
30288 --with-build-libsubdir=$(HOST_SUBDIR) \
30289 @stage2_werror_flag@
30290 @endif zlib-bootstrap
30296 .PHONY: all-zlib maybe-all-zlib
30297 maybe-all-zlib:
30298 @if gcc-bootstrap
30299 all-zlib: stage_current
30300 @endif gcc-bootstrap
30301 @if zlib
30302 TARGET-zlib=all
30303 maybe-all-zlib: all-zlib
30304 all-zlib: configure-zlib
30305 @r=`${PWD_COMMAND}`; export r; \
30306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30307 $(HOST_EXPORTS) \
30308 (cd $(HOST_SUBDIR)/zlib && \
30309 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
30310 @endif zlib
30314 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
30315 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
30316 maybe-all-stage1-zlib:
30317 maybe-clean-stage1-zlib:
30318 @if zlib-bootstrap
30319 maybe-all-stage1-zlib: all-stage1-zlib
30320 all-stage1: all-stage1-zlib
30321 TARGET-stage1-zlib = $(TARGET-zlib)
30322 all-stage1-zlib: configure-stage1-zlib
30323 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30324 @r=`${PWD_COMMAND}`; export r; \
30325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30326 $(HOST_EXPORTS) \
30327 cd $(HOST_SUBDIR)/zlib && \
30328 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
30329 $(TARGET-stage1-zlib)
30331 maybe-clean-stage1-zlib: clean-stage1-zlib
30332 clean-stage1: clean-stage1-zlib
30333 clean-stage1-zlib:
30334 @if [ $(current_stage) = stage1 ]; then \
30335 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30336 else \
30337 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
30338 $(MAKE) stage1-start; \
30339 fi; \
30340 cd $(HOST_SUBDIR)/zlib && \
30341 $(MAKE) $(FLAGS_TO_PASS) \
30342 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
30343 @endif zlib-bootstrap
30346 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
30347 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
30348 maybe-all-stage2-zlib:
30349 maybe-clean-stage2-zlib:
30350 @if zlib-bootstrap
30351 maybe-all-stage2-zlib: all-stage2-zlib
30352 all-stage2: all-stage2-zlib
30353 TARGET-stage2-zlib = $(TARGET-zlib)
30354 all-stage2-zlib: configure-stage2-zlib
30355 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30356 @r=`${PWD_COMMAND}`; export r; \
30357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30358 $(HOST_EXPORTS) \
30359 $(POSTSTAGE1_HOST_EXPORTS) \
30360 cd $(HOST_SUBDIR)/zlib && \
30361 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30362 $(TARGET-stage2-zlib)
30364 maybe-clean-stage2-zlib: clean-stage2-zlib
30365 clean-stage2: clean-stage2-zlib
30366 clean-stage2-zlib:
30367 @if [ $(current_stage) = stage2 ]; then \
30368 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30369 else \
30370 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
30371 $(MAKE) stage2-start; \
30372 fi; \
30373 cd $(HOST_SUBDIR)/zlib && \
30374 $(MAKE) $(FLAGS_TO_PASS) \
30375 $(POSTSTAGE1_FLAGS_TO_PASS) \
30376 clean
30377 @endif zlib-bootstrap
30380 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
30381 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
30382 maybe-all-stage3-zlib:
30383 maybe-clean-stage3-zlib:
30384 @if zlib-bootstrap
30385 maybe-all-stage3-zlib: all-stage3-zlib
30386 all-stage3: all-stage3-zlib
30387 TARGET-stage3-zlib = $(TARGET-zlib)
30388 all-stage3-zlib: configure-stage3-zlib
30389 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30390 @r=`${PWD_COMMAND}`; export r; \
30391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30392 $(HOST_EXPORTS) \
30393 $(POSTSTAGE1_HOST_EXPORTS) \
30394 cd $(HOST_SUBDIR)/zlib && \
30395 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30396 $(TARGET-stage3-zlib)
30398 maybe-clean-stage3-zlib: clean-stage3-zlib
30399 clean-stage3: clean-stage3-zlib
30400 clean-stage3-zlib:
30401 @if [ $(current_stage) = stage3 ]; then \
30402 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30403 else \
30404 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
30405 $(MAKE) stage3-start; \
30406 fi; \
30407 cd $(HOST_SUBDIR)/zlib && \
30408 $(MAKE) $(FLAGS_TO_PASS) \
30409 $(POSTSTAGE1_FLAGS_TO_PASS) \
30410 clean
30411 @endif zlib-bootstrap
30414 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
30415 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
30416 maybe-all-stage4-zlib:
30417 maybe-clean-stage4-zlib:
30418 @if zlib-bootstrap
30419 maybe-all-stage4-zlib: all-stage4-zlib
30420 all-stage4: all-stage4-zlib
30421 TARGET-stage4-zlib = $(TARGET-zlib)
30422 all-stage4-zlib: configure-stage4-zlib
30423 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30424 @r=`${PWD_COMMAND}`; export r; \
30425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30426 $(HOST_EXPORTS) \
30427 $(POSTSTAGE1_HOST_EXPORTS) \
30428 cd $(HOST_SUBDIR)/zlib && \
30429 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30430 $(TARGET-stage4-zlib)
30432 maybe-clean-stage4-zlib: clean-stage4-zlib
30433 clean-stage4: clean-stage4-zlib
30434 clean-stage4-zlib:
30435 @if [ $(current_stage) = stage4 ]; then \
30436 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30437 else \
30438 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
30439 $(MAKE) stage4-start; \
30440 fi; \
30441 cd $(HOST_SUBDIR)/zlib && \
30442 $(MAKE) $(FLAGS_TO_PASS) \
30443 $(POSTSTAGE1_FLAGS_TO_PASS) \
30444 clean
30445 @endif zlib-bootstrap
30448 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
30449 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
30450 maybe-all-stageprofile-zlib:
30451 maybe-clean-stageprofile-zlib:
30452 @if zlib-bootstrap
30453 maybe-all-stageprofile-zlib: all-stageprofile-zlib
30454 all-stageprofile: all-stageprofile-zlib
30455 TARGET-stageprofile-zlib = $(TARGET-zlib)
30456 all-stageprofile-zlib: configure-stageprofile-zlib
30457 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30458 @r=`${PWD_COMMAND}`; export r; \
30459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30460 $(HOST_EXPORTS) \
30461 $(POSTSTAGE1_HOST_EXPORTS) \
30462 cd $(HOST_SUBDIR)/zlib && \
30463 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
30464 $(TARGET-stageprofile-zlib)
30466 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
30467 clean-stageprofile: clean-stageprofile-zlib
30468 clean-stageprofile-zlib:
30469 @if [ $(current_stage) = stageprofile ]; then \
30470 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30471 else \
30472 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
30473 $(MAKE) stageprofile-start; \
30474 fi; \
30475 cd $(HOST_SUBDIR)/zlib && \
30476 $(MAKE) $(FLAGS_TO_PASS) \
30477 $(POSTSTAGE1_FLAGS_TO_PASS) \
30478 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
30479 @endif zlib-bootstrap
30482 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
30483 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
30484 maybe-all-stagefeedback-zlib:
30485 maybe-clean-stagefeedback-zlib:
30486 @if zlib-bootstrap
30487 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
30488 all-stagefeedback: all-stagefeedback-zlib
30489 TARGET-stagefeedback-zlib = $(TARGET-zlib)
30490 all-stagefeedback-zlib: configure-stagefeedback-zlib
30491 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30492 @r=`${PWD_COMMAND}`; export r; \
30493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30494 $(HOST_EXPORTS) \
30495 $(POSTSTAGE1_HOST_EXPORTS) \
30496 cd $(HOST_SUBDIR)/zlib && \
30497 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
30498 $(TARGET-stagefeedback-zlib)
30500 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
30501 clean-stagefeedback: clean-stagefeedback-zlib
30502 clean-stagefeedback-zlib:
30503 @if [ $(current_stage) = stagefeedback ]; then \
30504 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30505 else \
30506 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
30507 $(MAKE) stagefeedback-start; \
30508 fi; \
30509 cd $(HOST_SUBDIR)/zlib && \
30510 $(MAKE) $(FLAGS_TO_PASS) \
30511 $(POSTSTAGE1_FLAGS_TO_PASS) \
30512 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
30513 @endif zlib-bootstrap
30519 .PHONY: check-zlib maybe-check-zlib
30520 maybe-check-zlib:
30521 @if zlib
30522 maybe-check-zlib: check-zlib
30524 check-zlib:
30526 @endif zlib
30528 .PHONY: install-zlib maybe-install-zlib
30529 maybe-install-zlib:
30530 @if zlib
30531 maybe-install-zlib: install-zlib
30533 install-zlib:
30535 @endif zlib
30537 # Other targets (info, dvi, pdf, etc.)
30539 .PHONY: maybe-info-zlib info-zlib
30540 maybe-info-zlib:
30541 @if zlib
30542 maybe-info-zlib: info-zlib
30544 info-zlib: \
30545 configure-zlib
30546 @[ -f ./zlib/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 info in zlib" ; \
30554 (cd $(HOST_SUBDIR)/zlib && \
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 info) \
30560 || exit 1
30562 @endif zlib
30564 .PHONY: maybe-dvi-zlib dvi-zlib
30565 maybe-dvi-zlib:
30566 @if zlib
30567 maybe-dvi-zlib: dvi-zlib
30569 dvi-zlib: \
30570 configure-zlib
30571 @[ -f ./zlib/Makefile ] || exit 0; \
30572 r=`${PWD_COMMAND}`; export r; \
30573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30574 $(HOST_EXPORTS) \
30575 for flag in $(EXTRA_HOST_FLAGS) ; do \
30576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30577 done; \
30578 echo "Doing dvi in zlib" ; \
30579 (cd $(HOST_SUBDIR)/zlib && \
30580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30582 "RANLIB=$${RANLIB}" \
30583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30584 dvi) \
30585 || exit 1
30587 @endif zlib
30589 .PHONY: maybe-pdf-zlib pdf-zlib
30590 maybe-pdf-zlib:
30591 @if zlib
30592 maybe-pdf-zlib: pdf-zlib
30594 pdf-zlib: \
30595 configure-zlib
30596 @[ -f ./zlib/Makefile ] || exit 0; \
30597 r=`${PWD_COMMAND}`; export r; \
30598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30599 $(HOST_EXPORTS) \
30600 for flag in $(EXTRA_HOST_FLAGS) ; do \
30601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30602 done; \
30603 echo "Doing pdf in zlib" ; \
30604 (cd $(HOST_SUBDIR)/zlib && \
30605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30607 "RANLIB=$${RANLIB}" \
30608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30609 pdf) \
30610 || exit 1
30612 @endif zlib
30614 .PHONY: maybe-html-zlib html-zlib
30615 maybe-html-zlib:
30616 @if zlib
30617 maybe-html-zlib: html-zlib
30619 html-zlib: \
30620 configure-zlib
30621 @[ -f ./zlib/Makefile ] || exit 0; \
30622 r=`${PWD_COMMAND}`; export r; \
30623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30624 $(HOST_EXPORTS) \
30625 for flag in $(EXTRA_HOST_FLAGS) ; do \
30626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30627 done; \
30628 echo "Doing html in zlib" ; \
30629 (cd $(HOST_SUBDIR)/zlib && \
30630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30632 "RANLIB=$${RANLIB}" \
30633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30634 html) \
30635 || exit 1
30637 @endif zlib
30639 .PHONY: maybe-TAGS-zlib TAGS-zlib
30640 maybe-TAGS-zlib:
30641 @if zlib
30642 maybe-TAGS-zlib: TAGS-zlib
30644 TAGS-zlib: \
30645 configure-zlib
30646 @[ -f ./zlib/Makefile ] || exit 0; \
30647 r=`${PWD_COMMAND}`; export r; \
30648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30649 $(HOST_EXPORTS) \
30650 for flag in $(EXTRA_HOST_FLAGS) ; do \
30651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30652 done; \
30653 echo "Doing TAGS in zlib" ; \
30654 (cd $(HOST_SUBDIR)/zlib && \
30655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30657 "RANLIB=$${RANLIB}" \
30658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30659 TAGS) \
30660 || exit 1
30662 @endif zlib
30664 .PHONY: maybe-install-info-zlib install-info-zlib
30665 maybe-install-info-zlib:
30666 @if zlib
30667 maybe-install-info-zlib: install-info-zlib
30669 install-info-zlib: \
30670 configure-zlib \
30671 info-zlib
30672 @[ -f ./zlib/Makefile ] || exit 0; \
30673 r=`${PWD_COMMAND}`; export r; \
30674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30675 $(HOST_EXPORTS) \
30676 for flag in $(EXTRA_HOST_FLAGS) ; do \
30677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30678 done; \
30679 echo "Doing install-info in zlib" ; \
30680 (cd $(HOST_SUBDIR)/zlib && \
30681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30683 "RANLIB=$${RANLIB}" \
30684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30685 install-info) \
30686 || exit 1
30688 @endif zlib
30690 .PHONY: maybe-install-html-zlib install-html-zlib
30691 maybe-install-html-zlib:
30692 @if zlib
30693 maybe-install-html-zlib: install-html-zlib
30695 install-html-zlib: \
30696 configure-zlib \
30697 html-zlib
30698 @[ -f ./zlib/Makefile ] || exit 0; \
30699 r=`${PWD_COMMAND}`; export r; \
30700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30701 $(HOST_EXPORTS) \
30702 for flag in $(EXTRA_HOST_FLAGS) ; do \
30703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30704 done; \
30705 echo "Doing install-html in zlib" ; \
30706 (cd $(HOST_SUBDIR)/zlib && \
30707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30709 "RANLIB=$${RANLIB}" \
30710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30711 install-html) \
30712 || exit 1
30714 @endif zlib
30716 .PHONY: maybe-installcheck-zlib installcheck-zlib
30717 maybe-installcheck-zlib:
30718 @if zlib
30719 maybe-installcheck-zlib: installcheck-zlib
30721 installcheck-zlib: \
30722 configure-zlib
30723 @[ -f ./zlib/Makefile ] || exit 0; \
30724 r=`${PWD_COMMAND}`; export r; \
30725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30726 $(HOST_EXPORTS) \
30727 for flag in $(EXTRA_HOST_FLAGS) ; do \
30728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30729 done; \
30730 echo "Doing installcheck in zlib" ; \
30731 (cd $(HOST_SUBDIR)/zlib && \
30732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30734 "RANLIB=$${RANLIB}" \
30735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30736 installcheck) \
30737 || exit 1
30739 @endif zlib
30741 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
30742 maybe-mostlyclean-zlib:
30743 @if zlib
30744 maybe-mostlyclean-zlib: mostlyclean-zlib
30746 mostlyclean-zlib:
30747 @[ -f ./zlib/Makefile ] || exit 0; \
30748 r=`${PWD_COMMAND}`; export r; \
30749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30750 $(HOST_EXPORTS) \
30751 for flag in $(EXTRA_HOST_FLAGS) ; do \
30752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30753 done; \
30754 echo "Doing mostlyclean in zlib" ; \
30755 (cd $(HOST_SUBDIR)/zlib && \
30756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30758 "RANLIB=$${RANLIB}" \
30759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30760 mostlyclean) \
30761 || exit 1
30763 @endif zlib
30765 .PHONY: maybe-clean-zlib clean-zlib
30766 maybe-clean-zlib:
30767 @if zlib
30768 maybe-clean-zlib: clean-zlib
30770 clean-zlib:
30771 @[ -f ./zlib/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 clean in zlib" ; \
30779 (cd $(HOST_SUBDIR)/zlib && \
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 clean) \
30785 || exit 1
30787 @endif zlib
30789 .PHONY: maybe-distclean-zlib distclean-zlib
30790 maybe-distclean-zlib:
30791 @if zlib
30792 maybe-distclean-zlib: distclean-zlib
30794 distclean-zlib:
30795 @[ -f ./zlib/Makefile ] || exit 0; \
30796 r=`${PWD_COMMAND}`; export r; \
30797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30798 $(HOST_EXPORTS) \
30799 for flag in $(EXTRA_HOST_FLAGS) ; do \
30800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30801 done; \
30802 echo "Doing distclean in zlib" ; \
30803 (cd $(HOST_SUBDIR)/zlib && \
30804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30806 "RANLIB=$${RANLIB}" \
30807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30808 distclean) \
30809 || exit 1
30811 @endif zlib
30813 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
30814 maybe-maintainer-clean-zlib:
30815 @if zlib
30816 maybe-maintainer-clean-zlib: maintainer-clean-zlib
30818 maintainer-clean-zlib:
30819 @[ -f ./zlib/Makefile ] || exit 0; \
30820 r=`${PWD_COMMAND}`; export r; \
30821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30822 $(HOST_EXPORTS) \
30823 for flag in $(EXTRA_HOST_FLAGS) ; do \
30824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30825 done; \
30826 echo "Doing maintainer-clean in zlib" ; \
30827 (cd $(HOST_SUBDIR)/zlib && \
30828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30830 "RANLIB=$${RANLIB}" \
30831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30832 maintainer-clean) \
30833 || exit 1
30835 @endif zlib
30839 .PHONY: configure-gdb maybe-configure-gdb
30840 maybe-configure-gdb:
30841 @if gcc-bootstrap
30842 configure-gdb: stage_current
30843 @endif gcc-bootstrap
30844 @if gdb
30845 maybe-configure-gdb: configure-gdb
30846 configure-gdb:
30847 @: $(MAKE); $(unstage)
30848 @r=`${PWD_COMMAND}`; export r; \
30849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30850 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
30851 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
30852 $(HOST_EXPORTS) \
30853 echo Configuring in $(HOST_SUBDIR)/gdb; \
30854 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
30855 case $(srcdir) in \
30856 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30857 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
30858 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30859 esac; \
30860 srcdiroption="--srcdir=$${topdir}/gdb"; \
30861 libsrcdir="$$s/gdb"; \
30862 $(SHELL) $${libsrcdir}/configure \
30863 $(HOST_CONFIGARGS) $${srcdiroption} \
30864 || exit 1
30865 @endif gdb
30871 .PHONY: all-gdb maybe-all-gdb
30872 maybe-all-gdb:
30873 @if gcc-bootstrap
30874 all-gdb: stage_current
30875 @endif gcc-bootstrap
30876 @if gdb
30877 TARGET-gdb=all
30878 maybe-all-gdb: all-gdb
30879 all-gdb: configure-gdb
30880 @: $(MAKE); $(unstage)
30881 @r=`${PWD_COMMAND}`; export r; \
30882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30883 $(HOST_EXPORTS) \
30884 (cd $(HOST_SUBDIR)/gdb && \
30885 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
30886 @endif gdb
30891 .PHONY: check-gdb maybe-check-gdb
30892 maybe-check-gdb:
30893 @if gdb
30894 maybe-check-gdb: check-gdb
30896 check-gdb:
30897 @: $(MAKE); $(unstage)
30898 @r=`${PWD_COMMAND}`; export r; \
30899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30900 $(HOST_EXPORTS) \
30901 (cd $(HOST_SUBDIR)/gdb && \
30902 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
30904 @endif gdb
30906 .PHONY: install-gdb maybe-install-gdb
30907 maybe-install-gdb:
30908 @if gdb
30909 maybe-install-gdb: install-gdb
30911 install-gdb: installdirs
30912 @: $(MAKE); $(unstage)
30913 @r=`${PWD_COMMAND}`; export r; \
30914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30915 $(HOST_EXPORTS) \
30916 (cd $(HOST_SUBDIR)/gdb && \
30917 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
30919 @endif gdb
30921 # Other targets (info, dvi, pdf, etc.)
30923 .PHONY: maybe-info-gdb info-gdb
30924 maybe-info-gdb:
30925 @if gdb
30926 maybe-info-gdb: info-gdb
30928 info-gdb: \
30929 configure-gdb
30930 @: $(MAKE); $(unstage)
30931 @[ -f ./gdb/Makefile ] || exit 0; \
30932 r=`${PWD_COMMAND}`; export r; \
30933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30934 $(HOST_EXPORTS) \
30935 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30937 done; \
30938 echo "Doing info in gdb" ; \
30939 (cd $(HOST_SUBDIR)/gdb && \
30940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30942 "RANLIB=$${RANLIB}" \
30943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30944 info) \
30945 || exit 1
30947 @endif gdb
30949 .PHONY: maybe-dvi-gdb dvi-gdb
30950 maybe-dvi-gdb:
30951 @if gdb
30952 maybe-dvi-gdb: dvi-gdb
30954 dvi-gdb: \
30955 configure-gdb
30956 @: $(MAKE); $(unstage)
30957 @[ -f ./gdb/Makefile ] || exit 0; \
30958 r=`${PWD_COMMAND}`; export r; \
30959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30960 $(HOST_EXPORTS) \
30961 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30963 done; \
30964 echo "Doing dvi in gdb" ; \
30965 (cd $(HOST_SUBDIR)/gdb && \
30966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30968 "RANLIB=$${RANLIB}" \
30969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30970 dvi) \
30971 || exit 1
30973 @endif gdb
30975 .PHONY: maybe-pdf-gdb pdf-gdb
30976 maybe-pdf-gdb:
30977 @if gdb
30978 maybe-pdf-gdb: pdf-gdb
30980 pdf-gdb: \
30981 configure-gdb
30982 @: $(MAKE); $(unstage)
30983 @[ -f ./gdb/Makefile ] || exit 0; \
30984 r=`${PWD_COMMAND}`; export r; \
30985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30986 $(HOST_EXPORTS) \
30987 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30989 done; \
30990 echo "Doing pdf in gdb" ; \
30991 (cd $(HOST_SUBDIR)/gdb && \
30992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30994 "RANLIB=$${RANLIB}" \
30995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30996 pdf) \
30997 || exit 1
30999 @endif gdb
31001 .PHONY: maybe-html-gdb html-gdb
31002 maybe-html-gdb:
31003 @if gdb
31004 maybe-html-gdb: html-gdb
31006 html-gdb: \
31007 configure-gdb
31008 @: $(MAKE); $(unstage)
31009 @[ -f ./gdb/Makefile ] || exit 0; \
31010 r=`${PWD_COMMAND}`; export r; \
31011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31012 $(HOST_EXPORTS) \
31013 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31015 done; \
31016 echo "Doing html in gdb" ; \
31017 (cd $(HOST_SUBDIR)/gdb && \
31018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31020 "RANLIB=$${RANLIB}" \
31021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31022 html) \
31023 || exit 1
31025 @endif gdb
31027 .PHONY: maybe-TAGS-gdb TAGS-gdb
31028 maybe-TAGS-gdb:
31029 @if gdb
31030 maybe-TAGS-gdb: TAGS-gdb
31032 TAGS-gdb: \
31033 configure-gdb
31034 @: $(MAKE); $(unstage)
31035 @[ -f ./gdb/Makefile ] || exit 0; \
31036 r=`${PWD_COMMAND}`; export r; \
31037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31038 $(HOST_EXPORTS) \
31039 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31041 done; \
31042 echo "Doing TAGS in gdb" ; \
31043 (cd $(HOST_SUBDIR)/gdb && \
31044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31046 "RANLIB=$${RANLIB}" \
31047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31048 TAGS) \
31049 || exit 1
31051 @endif gdb
31053 .PHONY: maybe-install-info-gdb install-info-gdb
31054 maybe-install-info-gdb:
31055 @if gdb
31056 maybe-install-info-gdb: install-info-gdb
31058 install-info-gdb: \
31059 configure-gdb \
31060 info-gdb
31061 @: $(MAKE); $(unstage)
31062 @[ -f ./gdb/Makefile ] || exit 0; \
31063 r=`${PWD_COMMAND}`; export r; \
31064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31065 $(HOST_EXPORTS) \
31066 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31068 done; \
31069 echo "Doing install-info in gdb" ; \
31070 (cd $(HOST_SUBDIR)/gdb && \
31071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31073 "RANLIB=$${RANLIB}" \
31074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31075 install-info) \
31076 || exit 1
31078 @endif gdb
31080 .PHONY: maybe-install-html-gdb install-html-gdb
31081 maybe-install-html-gdb:
31082 @if gdb
31083 maybe-install-html-gdb: install-html-gdb
31085 install-html-gdb: \
31086 configure-gdb \
31087 html-gdb
31088 @: $(MAKE); $(unstage)
31089 @[ -f ./gdb/Makefile ] || exit 0; \
31090 r=`${PWD_COMMAND}`; export r; \
31091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31092 $(HOST_EXPORTS) \
31093 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31095 done; \
31096 echo "Doing install-html in gdb" ; \
31097 (cd $(HOST_SUBDIR)/gdb && \
31098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31100 "RANLIB=$${RANLIB}" \
31101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31102 install-html) \
31103 || exit 1
31105 @endif gdb
31107 .PHONY: maybe-installcheck-gdb installcheck-gdb
31108 maybe-installcheck-gdb:
31109 @if gdb
31110 maybe-installcheck-gdb: installcheck-gdb
31112 installcheck-gdb: \
31113 configure-gdb
31114 @: $(MAKE); $(unstage)
31115 @[ -f ./gdb/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) $(X11_FLAGS_TO_PASS); do \
31120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31121 done; \
31122 echo "Doing installcheck in gdb" ; \
31123 (cd $(HOST_SUBDIR)/gdb && \
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 installcheck) \
31129 || exit 1
31131 @endif gdb
31133 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
31134 maybe-mostlyclean-gdb:
31135 @if gdb
31136 maybe-mostlyclean-gdb: mostlyclean-gdb
31138 mostlyclean-gdb:
31139 @: $(MAKE); $(unstage)
31140 @[ -f ./gdb/Makefile ] || exit 0; \
31141 r=`${PWD_COMMAND}`; export r; \
31142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31143 $(HOST_EXPORTS) \
31144 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31146 done; \
31147 echo "Doing mostlyclean in gdb" ; \
31148 (cd $(HOST_SUBDIR)/gdb && \
31149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31151 "RANLIB=$${RANLIB}" \
31152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31153 mostlyclean) \
31154 || exit 1
31156 @endif gdb
31158 .PHONY: maybe-clean-gdb clean-gdb
31159 maybe-clean-gdb:
31160 @if gdb
31161 maybe-clean-gdb: clean-gdb
31163 clean-gdb:
31164 @: $(MAKE); $(unstage)
31165 @[ -f ./gdb/Makefile ] || exit 0; \
31166 r=`${PWD_COMMAND}`; export r; \
31167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31168 $(HOST_EXPORTS) \
31169 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31171 done; \
31172 echo "Doing clean in gdb" ; \
31173 (cd $(HOST_SUBDIR)/gdb && \
31174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31176 "RANLIB=$${RANLIB}" \
31177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31178 clean) \
31179 || exit 1
31181 @endif gdb
31183 .PHONY: maybe-distclean-gdb distclean-gdb
31184 maybe-distclean-gdb:
31185 @if gdb
31186 maybe-distclean-gdb: distclean-gdb
31188 distclean-gdb:
31189 @: $(MAKE); $(unstage)
31190 @[ -f ./gdb/Makefile ] || exit 0; \
31191 r=`${PWD_COMMAND}`; export r; \
31192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31193 $(HOST_EXPORTS) \
31194 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31196 done; \
31197 echo "Doing distclean in gdb" ; \
31198 (cd $(HOST_SUBDIR)/gdb && \
31199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31201 "RANLIB=$${RANLIB}" \
31202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31203 distclean) \
31204 || exit 1
31206 @endif gdb
31208 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
31209 maybe-maintainer-clean-gdb:
31210 @if gdb
31211 maybe-maintainer-clean-gdb: maintainer-clean-gdb
31213 maintainer-clean-gdb:
31214 @: $(MAKE); $(unstage)
31215 @[ -f ./gdb/Makefile ] || exit 0; \
31216 r=`${PWD_COMMAND}`; export r; \
31217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31218 $(HOST_EXPORTS) \
31219 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31221 done; \
31222 echo "Doing maintainer-clean in gdb" ; \
31223 (cd $(HOST_SUBDIR)/gdb && \
31224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31226 "RANLIB=$${RANLIB}" \
31227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31228 maintainer-clean) \
31229 || exit 1
31231 @endif gdb
31235 .PHONY: configure-expect maybe-configure-expect
31236 maybe-configure-expect:
31237 @if gcc-bootstrap
31238 configure-expect: stage_current
31239 @endif gcc-bootstrap
31240 @if expect
31241 maybe-configure-expect: configure-expect
31242 configure-expect:
31243 @: $(MAKE); $(unstage)
31244 @r=`${PWD_COMMAND}`; export r; \
31245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31246 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
31247 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
31248 $(HOST_EXPORTS) \
31249 echo Configuring in $(HOST_SUBDIR)/expect; \
31250 cd "$(HOST_SUBDIR)/expect" || exit 1; \
31251 case $(srcdir) in \
31252 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31253 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
31254 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31255 esac; \
31256 srcdiroption="--srcdir=$${topdir}/expect"; \
31257 libsrcdir="$$s/expect"; \
31258 $(SHELL) $${libsrcdir}/configure \
31259 $(HOST_CONFIGARGS) $${srcdiroption} \
31260 || exit 1
31261 @endif expect
31267 .PHONY: all-expect maybe-all-expect
31268 maybe-all-expect:
31269 @if gcc-bootstrap
31270 all-expect: stage_current
31271 @endif gcc-bootstrap
31272 @if expect
31273 TARGET-expect=all
31274 maybe-all-expect: all-expect
31275 all-expect: configure-expect
31276 @: $(MAKE); $(unstage)
31277 @r=`${PWD_COMMAND}`; export r; \
31278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31279 $(HOST_EXPORTS) \
31280 (cd $(HOST_SUBDIR)/expect && \
31281 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
31282 @endif expect
31287 .PHONY: check-expect maybe-check-expect
31288 maybe-check-expect:
31289 @if expect
31290 maybe-check-expect: check-expect
31292 check-expect:
31293 @: $(MAKE); $(unstage)
31294 @r=`${PWD_COMMAND}`; export r; \
31295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31296 $(HOST_EXPORTS) \
31297 (cd $(HOST_SUBDIR)/expect && \
31298 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
31300 @endif expect
31302 .PHONY: install-expect maybe-install-expect
31303 maybe-install-expect:
31304 @if expect
31305 maybe-install-expect: install-expect
31307 install-expect: installdirs
31308 @: $(MAKE); $(unstage)
31309 @r=`${PWD_COMMAND}`; export r; \
31310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31311 $(HOST_EXPORTS) \
31312 (cd $(HOST_SUBDIR)/expect && \
31313 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
31315 @endif expect
31317 # Other targets (info, dvi, pdf, etc.)
31319 .PHONY: maybe-info-expect info-expect
31320 maybe-info-expect:
31321 @if expect
31322 maybe-info-expect: info-expect
31324 info-expect: \
31325 configure-expect
31326 @: $(MAKE); $(unstage)
31327 @[ -f ./expect/Makefile ] || exit 0; \
31328 r=`${PWD_COMMAND}`; export r; \
31329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31330 $(HOST_EXPORTS) \
31331 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31333 done; \
31334 echo "Doing info in expect" ; \
31335 (cd $(HOST_SUBDIR)/expect && \
31336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31338 "RANLIB=$${RANLIB}" \
31339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31340 info) \
31341 || exit 1
31343 @endif expect
31345 .PHONY: maybe-dvi-expect dvi-expect
31346 maybe-dvi-expect:
31347 @if expect
31348 maybe-dvi-expect: dvi-expect
31350 dvi-expect: \
31351 configure-expect
31352 @: $(MAKE); $(unstage)
31353 @[ -f ./expect/Makefile ] || exit 0; \
31354 r=`${PWD_COMMAND}`; export r; \
31355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31356 $(HOST_EXPORTS) \
31357 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31359 done; \
31360 echo "Doing dvi in expect" ; \
31361 (cd $(HOST_SUBDIR)/expect && \
31362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31364 "RANLIB=$${RANLIB}" \
31365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31366 dvi) \
31367 || exit 1
31369 @endif expect
31371 .PHONY: maybe-pdf-expect pdf-expect
31372 maybe-pdf-expect:
31373 @if expect
31374 maybe-pdf-expect: pdf-expect
31376 pdf-expect: \
31377 configure-expect
31378 @: $(MAKE); $(unstage)
31379 @[ -f ./expect/Makefile ] || exit 0; \
31380 r=`${PWD_COMMAND}`; export r; \
31381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31382 $(HOST_EXPORTS) \
31383 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31385 done; \
31386 echo "Doing pdf in expect" ; \
31387 (cd $(HOST_SUBDIR)/expect && \
31388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31390 "RANLIB=$${RANLIB}" \
31391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31392 pdf) \
31393 || exit 1
31395 @endif expect
31397 .PHONY: maybe-html-expect html-expect
31398 maybe-html-expect:
31399 @if expect
31400 maybe-html-expect: html-expect
31402 html-expect: \
31403 configure-expect
31404 @: $(MAKE); $(unstage)
31405 @[ -f ./expect/Makefile ] || exit 0; \
31406 r=`${PWD_COMMAND}`; export r; \
31407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31408 $(HOST_EXPORTS) \
31409 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31411 done; \
31412 echo "Doing html in expect" ; \
31413 (cd $(HOST_SUBDIR)/expect && \
31414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31416 "RANLIB=$${RANLIB}" \
31417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31418 html) \
31419 || exit 1
31421 @endif expect
31423 .PHONY: maybe-TAGS-expect TAGS-expect
31424 maybe-TAGS-expect:
31425 @if expect
31426 maybe-TAGS-expect: TAGS-expect
31428 TAGS-expect: \
31429 configure-expect
31430 @: $(MAKE); $(unstage)
31431 @[ -f ./expect/Makefile ] || exit 0; \
31432 r=`${PWD_COMMAND}`; export r; \
31433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31434 $(HOST_EXPORTS) \
31435 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31437 done; \
31438 echo "Doing TAGS in expect" ; \
31439 (cd $(HOST_SUBDIR)/expect && \
31440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31442 "RANLIB=$${RANLIB}" \
31443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31444 TAGS) \
31445 || exit 1
31447 @endif expect
31449 .PHONY: maybe-install-info-expect install-info-expect
31450 maybe-install-info-expect:
31451 @if expect
31452 maybe-install-info-expect: install-info-expect
31454 install-info-expect: \
31455 configure-expect \
31456 info-expect
31457 @: $(MAKE); $(unstage)
31458 @[ -f ./expect/Makefile ] || exit 0; \
31459 r=`${PWD_COMMAND}`; export r; \
31460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31461 $(HOST_EXPORTS) \
31462 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31464 done; \
31465 echo "Doing install-info in expect" ; \
31466 (cd $(HOST_SUBDIR)/expect && \
31467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31469 "RANLIB=$${RANLIB}" \
31470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31471 install-info) \
31472 || exit 1
31474 @endif expect
31476 .PHONY: maybe-install-html-expect install-html-expect
31477 maybe-install-html-expect:
31478 @if expect
31479 maybe-install-html-expect: install-html-expect
31481 install-html-expect: \
31482 configure-expect \
31483 html-expect
31484 @: $(MAKE); $(unstage)
31485 @[ -f ./expect/Makefile ] || exit 0; \
31486 r=`${PWD_COMMAND}`; export r; \
31487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31488 $(HOST_EXPORTS) \
31489 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31491 done; \
31492 echo "Doing install-html in expect" ; \
31493 (cd $(HOST_SUBDIR)/expect && \
31494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31496 "RANLIB=$${RANLIB}" \
31497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31498 install-html) \
31499 || exit 1
31501 @endif expect
31503 .PHONY: maybe-installcheck-expect installcheck-expect
31504 maybe-installcheck-expect:
31505 @if expect
31506 maybe-installcheck-expect: installcheck-expect
31508 installcheck-expect: \
31509 configure-expect
31510 @: $(MAKE); $(unstage)
31511 @[ -f ./expect/Makefile ] || exit 0; \
31512 r=`${PWD_COMMAND}`; export r; \
31513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31514 $(HOST_EXPORTS) \
31515 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31517 done; \
31518 echo "Doing installcheck in expect" ; \
31519 (cd $(HOST_SUBDIR)/expect && \
31520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31522 "RANLIB=$${RANLIB}" \
31523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31524 installcheck) \
31525 || exit 1
31527 @endif expect
31529 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
31530 maybe-mostlyclean-expect:
31531 @if expect
31532 maybe-mostlyclean-expect: mostlyclean-expect
31534 mostlyclean-expect:
31535 @: $(MAKE); $(unstage)
31536 @[ -f ./expect/Makefile ] || exit 0; \
31537 r=`${PWD_COMMAND}`; export r; \
31538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31539 $(HOST_EXPORTS) \
31540 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31542 done; \
31543 echo "Doing mostlyclean in expect" ; \
31544 (cd $(HOST_SUBDIR)/expect && \
31545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31547 "RANLIB=$${RANLIB}" \
31548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31549 mostlyclean) \
31550 || exit 1
31552 @endif expect
31554 .PHONY: maybe-clean-expect clean-expect
31555 maybe-clean-expect:
31556 @if expect
31557 maybe-clean-expect: clean-expect
31559 clean-expect:
31560 @: $(MAKE); $(unstage)
31561 @[ -f ./expect/Makefile ] || exit 0; \
31562 r=`${PWD_COMMAND}`; export r; \
31563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31564 $(HOST_EXPORTS) \
31565 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31567 done; \
31568 echo "Doing clean in expect" ; \
31569 (cd $(HOST_SUBDIR)/expect && \
31570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31572 "RANLIB=$${RANLIB}" \
31573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31574 clean) \
31575 || exit 1
31577 @endif expect
31579 .PHONY: maybe-distclean-expect distclean-expect
31580 maybe-distclean-expect:
31581 @if expect
31582 maybe-distclean-expect: distclean-expect
31584 distclean-expect:
31585 @: $(MAKE); $(unstage)
31586 @[ -f ./expect/Makefile ] || exit 0; \
31587 r=`${PWD_COMMAND}`; export r; \
31588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31589 $(HOST_EXPORTS) \
31590 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31592 done; \
31593 echo "Doing distclean in expect" ; \
31594 (cd $(HOST_SUBDIR)/expect && \
31595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31597 "RANLIB=$${RANLIB}" \
31598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31599 distclean) \
31600 || exit 1
31602 @endif expect
31604 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
31605 maybe-maintainer-clean-expect:
31606 @if expect
31607 maybe-maintainer-clean-expect: maintainer-clean-expect
31609 maintainer-clean-expect:
31610 @: $(MAKE); $(unstage)
31611 @[ -f ./expect/Makefile ] || exit 0; \
31612 r=`${PWD_COMMAND}`; export r; \
31613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31614 $(HOST_EXPORTS) \
31615 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31617 done; \
31618 echo "Doing maintainer-clean in expect" ; \
31619 (cd $(HOST_SUBDIR)/expect && \
31620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31622 "RANLIB=$${RANLIB}" \
31623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31624 maintainer-clean) \
31625 || exit 1
31627 @endif expect
31631 .PHONY: configure-guile maybe-configure-guile
31632 maybe-configure-guile:
31633 @if gcc-bootstrap
31634 configure-guile: stage_current
31635 @endif gcc-bootstrap
31636 @if guile
31637 maybe-configure-guile: configure-guile
31638 configure-guile:
31639 @: $(MAKE); $(unstage)
31640 @r=`${PWD_COMMAND}`; export r; \
31641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31642 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
31643 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
31644 $(HOST_EXPORTS) \
31645 echo Configuring in $(HOST_SUBDIR)/guile; \
31646 cd "$(HOST_SUBDIR)/guile" || exit 1; \
31647 case $(srcdir) in \
31648 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31649 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
31650 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31651 esac; \
31652 srcdiroption="--srcdir=$${topdir}/guile"; \
31653 libsrcdir="$$s/guile"; \
31654 $(SHELL) $${libsrcdir}/configure \
31655 $(HOST_CONFIGARGS) $${srcdiroption} \
31656 || exit 1
31657 @endif guile
31663 .PHONY: all-guile maybe-all-guile
31664 maybe-all-guile:
31665 @if gcc-bootstrap
31666 all-guile: stage_current
31667 @endif gcc-bootstrap
31668 @if guile
31669 TARGET-guile=all
31670 maybe-all-guile: all-guile
31671 all-guile: configure-guile
31672 @: $(MAKE); $(unstage)
31673 @r=`${PWD_COMMAND}`; export r; \
31674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31675 $(HOST_EXPORTS) \
31676 (cd $(HOST_SUBDIR)/guile && \
31677 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
31678 @endif guile
31683 .PHONY: check-guile maybe-check-guile
31684 maybe-check-guile:
31685 @if guile
31686 maybe-check-guile: check-guile
31688 check-guile:
31689 @: $(MAKE); $(unstage)
31690 @r=`${PWD_COMMAND}`; export r; \
31691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31692 $(HOST_EXPORTS) \
31693 (cd $(HOST_SUBDIR)/guile && \
31694 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
31696 @endif guile
31698 .PHONY: install-guile maybe-install-guile
31699 maybe-install-guile:
31700 @if guile
31701 maybe-install-guile: install-guile
31703 install-guile: installdirs
31704 @: $(MAKE); $(unstage)
31705 @r=`${PWD_COMMAND}`; export r; \
31706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31707 $(HOST_EXPORTS) \
31708 (cd $(HOST_SUBDIR)/guile && \
31709 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
31711 @endif guile
31713 # Other targets (info, dvi, pdf, etc.)
31715 .PHONY: maybe-info-guile info-guile
31716 maybe-info-guile:
31717 @if guile
31718 maybe-info-guile: info-guile
31720 info-guile: \
31721 configure-guile
31722 @: $(MAKE); $(unstage)
31723 @[ -f ./guile/Makefile ] || exit 0; \
31724 r=`${PWD_COMMAND}`; export r; \
31725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31726 $(HOST_EXPORTS) \
31727 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31729 done; \
31730 echo "Doing info in guile" ; \
31731 (cd $(HOST_SUBDIR)/guile && \
31732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31734 "RANLIB=$${RANLIB}" \
31735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31736 info) \
31737 || exit 1
31739 @endif guile
31741 .PHONY: maybe-dvi-guile dvi-guile
31742 maybe-dvi-guile:
31743 @if guile
31744 maybe-dvi-guile: dvi-guile
31746 dvi-guile: \
31747 configure-guile
31748 @: $(MAKE); $(unstage)
31749 @[ -f ./guile/Makefile ] || exit 0; \
31750 r=`${PWD_COMMAND}`; export r; \
31751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31752 $(HOST_EXPORTS) \
31753 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31755 done; \
31756 echo "Doing dvi in guile" ; \
31757 (cd $(HOST_SUBDIR)/guile && \
31758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31760 "RANLIB=$${RANLIB}" \
31761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31762 dvi) \
31763 || exit 1
31765 @endif guile
31767 .PHONY: maybe-pdf-guile pdf-guile
31768 maybe-pdf-guile:
31769 @if guile
31770 maybe-pdf-guile: pdf-guile
31772 pdf-guile: \
31773 configure-guile
31774 @: $(MAKE); $(unstage)
31775 @[ -f ./guile/Makefile ] || exit 0; \
31776 r=`${PWD_COMMAND}`; export r; \
31777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31778 $(HOST_EXPORTS) \
31779 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31781 done; \
31782 echo "Doing pdf in guile" ; \
31783 (cd $(HOST_SUBDIR)/guile && \
31784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31786 "RANLIB=$${RANLIB}" \
31787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31788 pdf) \
31789 || exit 1
31791 @endif guile
31793 .PHONY: maybe-html-guile html-guile
31794 maybe-html-guile:
31795 @if guile
31796 maybe-html-guile: html-guile
31798 html-guile: \
31799 configure-guile
31800 @: $(MAKE); $(unstage)
31801 @[ -f ./guile/Makefile ] || exit 0; \
31802 r=`${PWD_COMMAND}`; export r; \
31803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31804 $(HOST_EXPORTS) \
31805 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31807 done; \
31808 echo "Doing html in guile" ; \
31809 (cd $(HOST_SUBDIR)/guile && \
31810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31812 "RANLIB=$${RANLIB}" \
31813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31814 html) \
31815 || exit 1
31817 @endif guile
31819 .PHONY: maybe-TAGS-guile TAGS-guile
31820 maybe-TAGS-guile:
31821 @if guile
31822 maybe-TAGS-guile: TAGS-guile
31824 TAGS-guile: \
31825 configure-guile
31826 @: $(MAKE); $(unstage)
31827 @[ -f ./guile/Makefile ] || exit 0; \
31828 r=`${PWD_COMMAND}`; export r; \
31829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31830 $(HOST_EXPORTS) \
31831 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31833 done; \
31834 echo "Doing TAGS in guile" ; \
31835 (cd $(HOST_SUBDIR)/guile && \
31836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31838 "RANLIB=$${RANLIB}" \
31839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31840 TAGS) \
31841 || exit 1
31843 @endif guile
31845 .PHONY: maybe-install-info-guile install-info-guile
31846 maybe-install-info-guile:
31847 @if guile
31848 maybe-install-info-guile: install-info-guile
31850 install-info-guile: \
31851 configure-guile \
31852 info-guile
31853 @: $(MAKE); $(unstage)
31854 @[ -f ./guile/Makefile ] || exit 0; \
31855 r=`${PWD_COMMAND}`; export r; \
31856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31857 $(HOST_EXPORTS) \
31858 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31860 done; \
31861 echo "Doing install-info in guile" ; \
31862 (cd $(HOST_SUBDIR)/guile && \
31863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31865 "RANLIB=$${RANLIB}" \
31866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31867 install-info) \
31868 || exit 1
31870 @endif guile
31872 .PHONY: maybe-install-html-guile install-html-guile
31873 maybe-install-html-guile:
31874 @if guile
31875 maybe-install-html-guile: install-html-guile
31877 install-html-guile: \
31878 configure-guile \
31879 html-guile
31880 @: $(MAKE); $(unstage)
31881 @[ -f ./guile/Makefile ] || exit 0; \
31882 r=`${PWD_COMMAND}`; export r; \
31883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31884 $(HOST_EXPORTS) \
31885 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31887 done; \
31888 echo "Doing install-html in guile" ; \
31889 (cd $(HOST_SUBDIR)/guile && \
31890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31892 "RANLIB=$${RANLIB}" \
31893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31894 install-html) \
31895 || exit 1
31897 @endif guile
31899 .PHONY: maybe-installcheck-guile installcheck-guile
31900 maybe-installcheck-guile:
31901 @if guile
31902 maybe-installcheck-guile: installcheck-guile
31904 installcheck-guile: \
31905 configure-guile
31906 @: $(MAKE); $(unstage)
31907 @[ -f ./guile/Makefile ] || exit 0; \
31908 r=`${PWD_COMMAND}`; export r; \
31909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31910 $(HOST_EXPORTS) \
31911 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31913 done; \
31914 echo "Doing installcheck in guile" ; \
31915 (cd $(HOST_SUBDIR)/guile && \
31916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31918 "RANLIB=$${RANLIB}" \
31919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31920 installcheck) \
31921 || exit 1
31923 @endif guile
31925 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
31926 maybe-mostlyclean-guile:
31927 @if guile
31928 maybe-mostlyclean-guile: mostlyclean-guile
31930 mostlyclean-guile:
31931 @: $(MAKE); $(unstage)
31932 @[ -f ./guile/Makefile ] || exit 0; \
31933 r=`${PWD_COMMAND}`; export r; \
31934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31935 $(HOST_EXPORTS) \
31936 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31938 done; \
31939 echo "Doing mostlyclean in guile" ; \
31940 (cd $(HOST_SUBDIR)/guile && \
31941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31943 "RANLIB=$${RANLIB}" \
31944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31945 mostlyclean) \
31946 || exit 1
31948 @endif guile
31950 .PHONY: maybe-clean-guile clean-guile
31951 maybe-clean-guile:
31952 @if guile
31953 maybe-clean-guile: clean-guile
31955 clean-guile:
31956 @: $(MAKE); $(unstage)
31957 @[ -f ./guile/Makefile ] || exit 0; \
31958 r=`${PWD_COMMAND}`; export r; \
31959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31960 $(HOST_EXPORTS) \
31961 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31963 done; \
31964 echo "Doing clean in guile" ; \
31965 (cd $(HOST_SUBDIR)/guile && \
31966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31968 "RANLIB=$${RANLIB}" \
31969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31970 clean) \
31971 || exit 1
31973 @endif guile
31975 .PHONY: maybe-distclean-guile distclean-guile
31976 maybe-distclean-guile:
31977 @if guile
31978 maybe-distclean-guile: distclean-guile
31980 distclean-guile:
31981 @: $(MAKE); $(unstage)
31982 @[ -f ./guile/Makefile ] || exit 0; \
31983 r=`${PWD_COMMAND}`; export r; \
31984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31985 $(HOST_EXPORTS) \
31986 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
31987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31988 done; \
31989 echo "Doing distclean in guile" ; \
31990 (cd $(HOST_SUBDIR)/guile && \
31991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31993 "RANLIB=$${RANLIB}" \
31994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31995 distclean) \
31996 || exit 1
31998 @endif guile
32000 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
32001 maybe-maintainer-clean-guile:
32002 @if guile
32003 maybe-maintainer-clean-guile: maintainer-clean-guile
32005 maintainer-clean-guile:
32006 @: $(MAKE); $(unstage)
32007 @[ -f ./guile/Makefile ] || exit 0; \
32008 r=`${PWD_COMMAND}`; export r; \
32009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32010 $(HOST_EXPORTS) \
32011 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32013 done; \
32014 echo "Doing maintainer-clean in guile" ; \
32015 (cd $(HOST_SUBDIR)/guile && \
32016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32018 "RANLIB=$${RANLIB}" \
32019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32020 maintainer-clean) \
32021 || exit 1
32023 @endif guile
32027 .PHONY: configure-tk maybe-configure-tk
32028 maybe-configure-tk:
32029 @if gcc-bootstrap
32030 configure-tk: stage_current
32031 @endif gcc-bootstrap
32032 @if tk
32033 maybe-configure-tk: configure-tk
32034 configure-tk:
32035 @: $(MAKE); $(unstage)
32036 @r=`${PWD_COMMAND}`; export r; \
32037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32038 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
32039 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
32040 $(HOST_EXPORTS) \
32041 echo Configuring in $(HOST_SUBDIR)/tk; \
32042 cd "$(HOST_SUBDIR)/tk" || exit 1; \
32043 case $(srcdir) in \
32044 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32045 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
32046 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32047 esac; \
32048 srcdiroption="--srcdir=$${topdir}/tk"; \
32049 libsrcdir="$$s/tk"; \
32050 $(SHELL) $${libsrcdir}/configure \
32051 $(HOST_CONFIGARGS) $${srcdiroption} \
32052 || exit 1
32053 @endif tk
32059 .PHONY: all-tk maybe-all-tk
32060 maybe-all-tk:
32061 @if gcc-bootstrap
32062 all-tk: stage_current
32063 @endif gcc-bootstrap
32064 @if tk
32065 TARGET-tk=all
32066 maybe-all-tk: all-tk
32067 all-tk: configure-tk
32068 @: $(MAKE); $(unstage)
32069 @r=`${PWD_COMMAND}`; export r; \
32070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32071 $(HOST_EXPORTS) \
32072 (cd $(HOST_SUBDIR)/tk && \
32073 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
32074 @endif tk
32079 .PHONY: check-tk maybe-check-tk
32080 maybe-check-tk:
32081 @if tk
32082 maybe-check-tk: check-tk
32084 check-tk:
32085 @: $(MAKE); $(unstage)
32086 @r=`${PWD_COMMAND}`; export r; \
32087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32088 $(HOST_EXPORTS) \
32089 (cd $(HOST_SUBDIR)/tk && \
32090 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
32092 @endif tk
32094 .PHONY: install-tk maybe-install-tk
32095 maybe-install-tk:
32096 @if tk
32097 maybe-install-tk: install-tk
32099 install-tk: installdirs
32100 @: $(MAKE); $(unstage)
32101 @r=`${PWD_COMMAND}`; export r; \
32102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32103 $(HOST_EXPORTS) \
32104 (cd $(HOST_SUBDIR)/tk && \
32105 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
32107 @endif tk
32109 # Other targets (info, dvi, pdf, etc.)
32111 .PHONY: maybe-info-tk info-tk
32112 maybe-info-tk:
32113 @if tk
32114 maybe-info-tk: info-tk
32116 info-tk: \
32117 configure-tk
32118 @: $(MAKE); $(unstage)
32119 @[ -f ./tk/Makefile ] || exit 0; \
32120 r=`${PWD_COMMAND}`; export r; \
32121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32122 $(HOST_EXPORTS) \
32123 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32125 done; \
32126 echo "Doing info in tk" ; \
32127 (cd $(HOST_SUBDIR)/tk && \
32128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32130 "RANLIB=$${RANLIB}" \
32131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32132 info) \
32133 || exit 1
32135 @endif tk
32137 .PHONY: maybe-dvi-tk dvi-tk
32138 maybe-dvi-tk:
32139 @if tk
32140 maybe-dvi-tk: dvi-tk
32142 dvi-tk: \
32143 configure-tk
32144 @: $(MAKE); $(unstage)
32145 @[ -f ./tk/Makefile ] || exit 0; \
32146 r=`${PWD_COMMAND}`; export r; \
32147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32148 $(HOST_EXPORTS) \
32149 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32151 done; \
32152 echo "Doing dvi in tk" ; \
32153 (cd $(HOST_SUBDIR)/tk && \
32154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32156 "RANLIB=$${RANLIB}" \
32157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32158 dvi) \
32159 || exit 1
32161 @endif tk
32163 .PHONY: maybe-pdf-tk pdf-tk
32164 maybe-pdf-tk:
32165 @if tk
32166 maybe-pdf-tk: pdf-tk
32168 pdf-tk: \
32169 configure-tk
32170 @: $(MAKE); $(unstage)
32171 @[ -f ./tk/Makefile ] || exit 0; \
32172 r=`${PWD_COMMAND}`; export r; \
32173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32174 $(HOST_EXPORTS) \
32175 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32177 done; \
32178 echo "Doing pdf in tk" ; \
32179 (cd $(HOST_SUBDIR)/tk && \
32180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32182 "RANLIB=$${RANLIB}" \
32183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32184 pdf) \
32185 || exit 1
32187 @endif tk
32189 .PHONY: maybe-html-tk html-tk
32190 maybe-html-tk:
32191 @if tk
32192 maybe-html-tk: html-tk
32194 html-tk: \
32195 configure-tk
32196 @: $(MAKE); $(unstage)
32197 @[ -f ./tk/Makefile ] || exit 0; \
32198 r=`${PWD_COMMAND}`; export r; \
32199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32200 $(HOST_EXPORTS) \
32201 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32203 done; \
32204 echo "Doing html in tk" ; \
32205 (cd $(HOST_SUBDIR)/tk && \
32206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32208 "RANLIB=$${RANLIB}" \
32209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32210 html) \
32211 || exit 1
32213 @endif tk
32215 .PHONY: maybe-TAGS-tk TAGS-tk
32216 maybe-TAGS-tk:
32217 @if tk
32218 maybe-TAGS-tk: TAGS-tk
32220 TAGS-tk: \
32221 configure-tk
32222 @: $(MAKE); $(unstage)
32223 @[ -f ./tk/Makefile ] || exit 0; \
32224 r=`${PWD_COMMAND}`; export r; \
32225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32226 $(HOST_EXPORTS) \
32227 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32229 done; \
32230 echo "Doing TAGS in tk" ; \
32231 (cd $(HOST_SUBDIR)/tk && \
32232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32234 "RANLIB=$${RANLIB}" \
32235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32236 TAGS) \
32237 || exit 1
32239 @endif tk
32241 .PHONY: maybe-install-info-tk install-info-tk
32242 maybe-install-info-tk:
32243 @if tk
32244 maybe-install-info-tk: install-info-tk
32246 install-info-tk: \
32247 configure-tk \
32248 info-tk
32249 @: $(MAKE); $(unstage)
32250 @[ -f ./tk/Makefile ] || exit 0; \
32251 r=`${PWD_COMMAND}`; export r; \
32252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32253 $(HOST_EXPORTS) \
32254 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32256 done; \
32257 echo "Doing install-info in tk" ; \
32258 (cd $(HOST_SUBDIR)/tk && \
32259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32261 "RANLIB=$${RANLIB}" \
32262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32263 install-info) \
32264 || exit 1
32266 @endif tk
32268 .PHONY: maybe-install-html-tk install-html-tk
32269 maybe-install-html-tk:
32270 @if tk
32271 maybe-install-html-tk: install-html-tk
32273 install-html-tk: \
32274 configure-tk \
32275 html-tk
32276 @: $(MAKE); $(unstage)
32277 @[ -f ./tk/Makefile ] || exit 0; \
32278 r=`${PWD_COMMAND}`; export r; \
32279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32280 $(HOST_EXPORTS) \
32281 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32283 done; \
32284 echo "Doing install-html in tk" ; \
32285 (cd $(HOST_SUBDIR)/tk && \
32286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32288 "RANLIB=$${RANLIB}" \
32289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32290 install-html) \
32291 || exit 1
32293 @endif tk
32295 .PHONY: maybe-installcheck-tk installcheck-tk
32296 maybe-installcheck-tk:
32297 @if tk
32298 maybe-installcheck-tk: installcheck-tk
32300 installcheck-tk: \
32301 configure-tk
32302 @: $(MAKE); $(unstage)
32303 @[ -f ./tk/Makefile ] || exit 0; \
32304 r=`${PWD_COMMAND}`; export r; \
32305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32306 $(HOST_EXPORTS) \
32307 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32309 done; \
32310 echo "Doing installcheck in tk" ; \
32311 (cd $(HOST_SUBDIR)/tk && \
32312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32314 "RANLIB=$${RANLIB}" \
32315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32316 installcheck) \
32317 || exit 1
32319 @endif tk
32321 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
32322 maybe-mostlyclean-tk:
32323 @if tk
32324 maybe-mostlyclean-tk: mostlyclean-tk
32326 mostlyclean-tk:
32327 @: $(MAKE); $(unstage)
32328 @[ -f ./tk/Makefile ] || exit 0; \
32329 r=`${PWD_COMMAND}`; export r; \
32330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32331 $(HOST_EXPORTS) \
32332 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32334 done; \
32335 echo "Doing mostlyclean in tk" ; \
32336 (cd $(HOST_SUBDIR)/tk && \
32337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32339 "RANLIB=$${RANLIB}" \
32340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32341 mostlyclean) \
32342 || exit 1
32344 @endif tk
32346 .PHONY: maybe-clean-tk clean-tk
32347 maybe-clean-tk:
32348 @if tk
32349 maybe-clean-tk: clean-tk
32351 clean-tk:
32352 @: $(MAKE); $(unstage)
32353 @[ -f ./tk/Makefile ] || exit 0; \
32354 r=`${PWD_COMMAND}`; export r; \
32355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32356 $(HOST_EXPORTS) \
32357 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32359 done; \
32360 echo "Doing clean in tk" ; \
32361 (cd $(HOST_SUBDIR)/tk && \
32362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32364 "RANLIB=$${RANLIB}" \
32365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32366 clean) \
32367 || exit 1
32369 @endif tk
32371 .PHONY: maybe-distclean-tk distclean-tk
32372 maybe-distclean-tk:
32373 @if tk
32374 maybe-distclean-tk: distclean-tk
32376 distclean-tk:
32377 @: $(MAKE); $(unstage)
32378 @[ -f ./tk/Makefile ] || exit 0; \
32379 r=`${PWD_COMMAND}`; export r; \
32380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32381 $(HOST_EXPORTS) \
32382 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32384 done; \
32385 echo "Doing distclean in tk" ; \
32386 (cd $(HOST_SUBDIR)/tk && \
32387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32389 "RANLIB=$${RANLIB}" \
32390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32391 distclean) \
32392 || exit 1
32394 @endif tk
32396 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
32397 maybe-maintainer-clean-tk:
32398 @if tk
32399 maybe-maintainer-clean-tk: maintainer-clean-tk
32401 maintainer-clean-tk:
32402 @: $(MAKE); $(unstage)
32403 @[ -f ./tk/Makefile ] || exit 0; \
32404 r=`${PWD_COMMAND}`; export r; \
32405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32406 $(HOST_EXPORTS) \
32407 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32409 done; \
32410 echo "Doing maintainer-clean in tk" ; \
32411 (cd $(HOST_SUBDIR)/tk && \
32412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32414 "RANLIB=$${RANLIB}" \
32415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32416 maintainer-clean) \
32417 || exit 1
32419 @endif tk
32423 .PHONY: configure-libtermcap maybe-configure-libtermcap
32424 maybe-configure-libtermcap:
32425 @if gcc-bootstrap
32426 configure-libtermcap: stage_current
32427 @endif gcc-bootstrap
32428 @if libtermcap
32429 maybe-configure-libtermcap: configure-libtermcap
32430 configure-libtermcap:
32431 @: $(MAKE); $(unstage)
32432 @r=`${PWD_COMMAND}`; export r; \
32433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32434 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
32435 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
32436 $(HOST_EXPORTS) \
32437 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
32438 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
32439 case $(srcdir) in \
32440 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32441 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
32442 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32443 esac; \
32444 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
32445 libsrcdir="$$s/libtermcap"; \
32446 $(SHELL) $${libsrcdir}/configure \
32447 $(HOST_CONFIGARGS) $${srcdiroption} \
32448 || exit 1
32449 @endif libtermcap
32455 .PHONY: all-libtermcap maybe-all-libtermcap
32456 maybe-all-libtermcap:
32457 @if gcc-bootstrap
32458 all-libtermcap: stage_current
32459 @endif gcc-bootstrap
32460 @if libtermcap
32461 TARGET-libtermcap=all
32462 maybe-all-libtermcap: all-libtermcap
32463 all-libtermcap: configure-libtermcap
32464 @: $(MAKE); $(unstage)
32465 @r=`${PWD_COMMAND}`; export r; \
32466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32467 $(HOST_EXPORTS) \
32468 (cd $(HOST_SUBDIR)/libtermcap && \
32469 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
32470 @endif libtermcap
32475 .PHONY: check-libtermcap maybe-check-libtermcap
32476 maybe-check-libtermcap:
32477 @if libtermcap
32478 maybe-check-libtermcap: check-libtermcap
32480 check-libtermcap:
32482 @endif libtermcap
32484 .PHONY: install-libtermcap maybe-install-libtermcap
32485 maybe-install-libtermcap:
32486 @if libtermcap
32487 maybe-install-libtermcap: install-libtermcap
32489 install-libtermcap: installdirs
32490 @: $(MAKE); $(unstage)
32491 @r=`${PWD_COMMAND}`; export r; \
32492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32493 $(HOST_EXPORTS) \
32494 (cd $(HOST_SUBDIR)/libtermcap && \
32495 $(MAKE) $(FLAGS_TO_PASS) install)
32497 @endif libtermcap
32499 # Other targets (info, dvi, pdf, etc.)
32501 .PHONY: maybe-info-libtermcap info-libtermcap
32502 maybe-info-libtermcap:
32503 @if libtermcap
32504 maybe-info-libtermcap: info-libtermcap
32506 info-libtermcap: \
32507 configure-libtermcap
32508 @: $(MAKE); $(unstage)
32509 @[ -f ./libtermcap/Makefile ] || exit 0; \
32510 r=`${PWD_COMMAND}`; export r; \
32511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32512 $(HOST_EXPORTS) \
32513 for flag in $(EXTRA_HOST_FLAGS) ; do \
32514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32515 done; \
32516 echo "Doing info in libtermcap" ; \
32517 (cd $(HOST_SUBDIR)/libtermcap && \
32518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32520 "RANLIB=$${RANLIB}" \
32521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32522 info) \
32523 || exit 1
32525 @endif libtermcap
32527 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
32528 maybe-dvi-libtermcap:
32529 @if libtermcap
32530 maybe-dvi-libtermcap: dvi-libtermcap
32532 dvi-libtermcap: \
32533 configure-libtermcap
32534 @: $(MAKE); $(unstage)
32535 @[ -f ./libtermcap/Makefile ] || exit 0; \
32536 r=`${PWD_COMMAND}`; export r; \
32537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32538 $(HOST_EXPORTS) \
32539 for flag in $(EXTRA_HOST_FLAGS) ; do \
32540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32541 done; \
32542 echo "Doing dvi in libtermcap" ; \
32543 (cd $(HOST_SUBDIR)/libtermcap && \
32544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32546 "RANLIB=$${RANLIB}" \
32547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32548 dvi) \
32549 || exit 1
32551 @endif libtermcap
32553 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
32554 maybe-pdf-libtermcap:
32555 @if libtermcap
32556 maybe-pdf-libtermcap: pdf-libtermcap
32558 pdf-libtermcap: \
32559 configure-libtermcap
32560 @: $(MAKE); $(unstage)
32561 @[ -f ./libtermcap/Makefile ] || exit 0; \
32562 r=`${PWD_COMMAND}`; export r; \
32563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32564 $(HOST_EXPORTS) \
32565 for flag in $(EXTRA_HOST_FLAGS) ; do \
32566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32567 done; \
32568 echo "Doing pdf in libtermcap" ; \
32569 (cd $(HOST_SUBDIR)/libtermcap && \
32570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32572 "RANLIB=$${RANLIB}" \
32573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32574 pdf) \
32575 || exit 1
32577 @endif libtermcap
32579 .PHONY: maybe-html-libtermcap html-libtermcap
32580 maybe-html-libtermcap:
32581 @if libtermcap
32582 maybe-html-libtermcap: html-libtermcap
32584 html-libtermcap: \
32585 configure-libtermcap
32586 @: $(MAKE); $(unstage)
32587 @[ -f ./libtermcap/Makefile ] || exit 0; \
32588 r=`${PWD_COMMAND}`; export r; \
32589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32590 $(HOST_EXPORTS) \
32591 for flag in $(EXTRA_HOST_FLAGS) ; do \
32592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32593 done; \
32594 echo "Doing html in libtermcap" ; \
32595 (cd $(HOST_SUBDIR)/libtermcap && \
32596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32598 "RANLIB=$${RANLIB}" \
32599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32600 html) \
32601 || exit 1
32603 @endif libtermcap
32605 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
32606 maybe-TAGS-libtermcap:
32607 @if libtermcap
32608 maybe-TAGS-libtermcap: TAGS-libtermcap
32610 TAGS-libtermcap: \
32611 configure-libtermcap
32612 @: $(MAKE); $(unstage)
32613 @[ -f ./libtermcap/Makefile ] || exit 0; \
32614 r=`${PWD_COMMAND}`; export r; \
32615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32616 $(HOST_EXPORTS) \
32617 for flag in $(EXTRA_HOST_FLAGS) ; do \
32618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32619 done; \
32620 echo "Doing TAGS in libtermcap" ; \
32621 (cd $(HOST_SUBDIR)/libtermcap && \
32622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32624 "RANLIB=$${RANLIB}" \
32625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32626 TAGS) \
32627 || exit 1
32629 @endif libtermcap
32631 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
32632 maybe-install-info-libtermcap:
32633 @if libtermcap
32634 maybe-install-info-libtermcap: install-info-libtermcap
32636 install-info-libtermcap: \
32637 configure-libtermcap \
32638 info-libtermcap
32639 @: $(MAKE); $(unstage)
32640 @[ -f ./libtermcap/Makefile ] || exit 0; \
32641 r=`${PWD_COMMAND}`; export r; \
32642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32643 $(HOST_EXPORTS) \
32644 for flag in $(EXTRA_HOST_FLAGS) ; do \
32645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32646 done; \
32647 echo "Doing install-info in libtermcap" ; \
32648 (cd $(HOST_SUBDIR)/libtermcap && \
32649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32651 "RANLIB=$${RANLIB}" \
32652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32653 install-info) \
32654 || exit 1
32656 @endif libtermcap
32658 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
32659 maybe-install-html-libtermcap:
32660 @if libtermcap
32661 maybe-install-html-libtermcap: install-html-libtermcap
32663 install-html-libtermcap: \
32664 configure-libtermcap \
32665 html-libtermcap
32666 @: $(MAKE); $(unstage)
32667 @[ -f ./libtermcap/Makefile ] || exit 0; \
32668 r=`${PWD_COMMAND}`; export r; \
32669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32670 $(HOST_EXPORTS) \
32671 for flag in $(EXTRA_HOST_FLAGS) ; do \
32672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32673 done; \
32674 echo "Doing install-html in libtermcap" ; \
32675 (cd $(HOST_SUBDIR)/libtermcap && \
32676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32678 "RANLIB=$${RANLIB}" \
32679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32680 install-html) \
32681 || exit 1
32683 @endif libtermcap
32685 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
32686 maybe-installcheck-libtermcap:
32687 @if libtermcap
32688 maybe-installcheck-libtermcap: installcheck-libtermcap
32690 installcheck-libtermcap: \
32691 configure-libtermcap
32692 @: $(MAKE); $(unstage)
32693 @[ -f ./libtermcap/Makefile ] || exit 0; \
32694 r=`${PWD_COMMAND}`; export r; \
32695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32696 $(HOST_EXPORTS) \
32697 for flag in $(EXTRA_HOST_FLAGS) ; do \
32698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32699 done; \
32700 echo "Doing installcheck in libtermcap" ; \
32701 (cd $(HOST_SUBDIR)/libtermcap && \
32702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32704 "RANLIB=$${RANLIB}" \
32705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32706 installcheck) \
32707 || exit 1
32709 @endif libtermcap
32711 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
32712 maybe-mostlyclean-libtermcap:
32713 @if libtermcap
32714 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
32716 # libtermcap doesn't support mostlyclean.
32717 mostlyclean-libtermcap:
32719 @endif libtermcap
32721 .PHONY: maybe-clean-libtermcap clean-libtermcap
32722 maybe-clean-libtermcap:
32723 @if libtermcap
32724 maybe-clean-libtermcap: clean-libtermcap
32726 # libtermcap doesn't support clean.
32727 clean-libtermcap:
32729 @endif libtermcap
32731 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
32732 maybe-distclean-libtermcap:
32733 @if libtermcap
32734 maybe-distclean-libtermcap: distclean-libtermcap
32736 # libtermcap doesn't support distclean.
32737 distclean-libtermcap:
32739 @endif libtermcap
32741 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
32742 maybe-maintainer-clean-libtermcap:
32743 @if libtermcap
32744 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
32746 # libtermcap doesn't support maintainer-clean.
32747 maintainer-clean-libtermcap:
32749 @endif libtermcap
32753 .PHONY: configure-utils maybe-configure-utils
32754 maybe-configure-utils:
32755 @if gcc-bootstrap
32756 configure-utils: stage_current
32757 @endif gcc-bootstrap
32758 @if utils
32759 maybe-configure-utils: configure-utils
32760 configure-utils:
32761 @: $(MAKE); $(unstage)
32762 @r=`${PWD_COMMAND}`; export r; \
32763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32764 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
32765 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
32766 $(HOST_EXPORTS) \
32767 echo Configuring in $(HOST_SUBDIR)/utils; \
32768 cd "$(HOST_SUBDIR)/utils" || exit 1; \
32769 case $(srcdir) in \
32770 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32771 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
32772 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32773 esac; \
32774 srcdiroption="--srcdir=$${topdir}/utils"; \
32775 libsrcdir="$$s/utils"; \
32776 $(SHELL) $${libsrcdir}/configure \
32777 $(HOST_CONFIGARGS) $${srcdiroption} \
32778 || exit 1
32779 @endif utils
32785 .PHONY: all-utils maybe-all-utils
32786 maybe-all-utils:
32787 @if gcc-bootstrap
32788 all-utils: stage_current
32789 @endif gcc-bootstrap
32790 @if utils
32791 TARGET-utils=all
32792 maybe-all-utils: all-utils
32793 all-utils: configure-utils
32794 @: $(MAKE); $(unstage)
32795 @r=`${PWD_COMMAND}`; export r; \
32796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32797 $(HOST_EXPORTS) \
32798 (cd $(HOST_SUBDIR)/utils && \
32799 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
32800 @endif utils
32805 .PHONY: check-utils maybe-check-utils
32806 maybe-check-utils:
32807 @if utils
32808 maybe-check-utils: check-utils
32810 check-utils:
32812 @endif utils
32814 .PHONY: install-utils maybe-install-utils
32815 maybe-install-utils:
32816 @if utils
32817 maybe-install-utils: install-utils
32819 install-utils: installdirs
32820 @: $(MAKE); $(unstage)
32821 @r=`${PWD_COMMAND}`; export r; \
32822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32823 $(HOST_EXPORTS) \
32824 (cd $(HOST_SUBDIR)/utils && \
32825 $(MAKE) $(FLAGS_TO_PASS) install)
32827 @endif utils
32829 # Other targets (info, dvi, pdf, etc.)
32831 .PHONY: maybe-info-utils info-utils
32832 maybe-info-utils:
32833 @if utils
32834 maybe-info-utils: info-utils
32836 info-utils: \
32837 configure-utils
32838 @: $(MAKE); $(unstage)
32839 @[ -f ./utils/Makefile ] || exit 0; \
32840 r=`${PWD_COMMAND}`; export r; \
32841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32842 $(HOST_EXPORTS) \
32843 for flag in $(EXTRA_HOST_FLAGS) ; do \
32844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32845 done; \
32846 echo "Doing info in utils" ; \
32847 (cd $(HOST_SUBDIR)/utils && \
32848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32850 "RANLIB=$${RANLIB}" \
32851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32852 info) \
32853 || exit 1
32855 @endif utils
32857 .PHONY: maybe-dvi-utils dvi-utils
32858 maybe-dvi-utils:
32859 @if utils
32860 maybe-dvi-utils: dvi-utils
32862 dvi-utils: \
32863 configure-utils
32864 @: $(MAKE); $(unstage)
32865 @[ -f ./utils/Makefile ] || exit 0; \
32866 r=`${PWD_COMMAND}`; export r; \
32867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32868 $(HOST_EXPORTS) \
32869 for flag in $(EXTRA_HOST_FLAGS) ; do \
32870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32871 done; \
32872 echo "Doing dvi in utils" ; \
32873 (cd $(HOST_SUBDIR)/utils && \
32874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32876 "RANLIB=$${RANLIB}" \
32877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32878 dvi) \
32879 || exit 1
32881 @endif utils
32883 .PHONY: maybe-pdf-utils pdf-utils
32884 maybe-pdf-utils:
32885 @if utils
32886 maybe-pdf-utils: pdf-utils
32888 pdf-utils: \
32889 configure-utils
32890 @: $(MAKE); $(unstage)
32891 @[ -f ./utils/Makefile ] || exit 0; \
32892 r=`${PWD_COMMAND}`; export r; \
32893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32894 $(HOST_EXPORTS) \
32895 for flag in $(EXTRA_HOST_FLAGS) ; do \
32896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32897 done; \
32898 echo "Doing pdf in utils" ; \
32899 (cd $(HOST_SUBDIR)/utils && \
32900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32902 "RANLIB=$${RANLIB}" \
32903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32904 pdf) \
32905 || exit 1
32907 @endif utils
32909 .PHONY: maybe-html-utils html-utils
32910 maybe-html-utils:
32911 @if utils
32912 maybe-html-utils: html-utils
32914 html-utils: \
32915 configure-utils
32916 @: $(MAKE); $(unstage)
32917 @[ -f ./utils/Makefile ] || exit 0; \
32918 r=`${PWD_COMMAND}`; export r; \
32919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32920 $(HOST_EXPORTS) \
32921 for flag in $(EXTRA_HOST_FLAGS) ; do \
32922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32923 done; \
32924 echo "Doing html in utils" ; \
32925 (cd $(HOST_SUBDIR)/utils && \
32926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32928 "RANLIB=$${RANLIB}" \
32929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32930 html) \
32931 || exit 1
32933 @endif utils
32935 .PHONY: maybe-TAGS-utils TAGS-utils
32936 maybe-TAGS-utils:
32937 @if utils
32938 maybe-TAGS-utils: TAGS-utils
32940 TAGS-utils: \
32941 configure-utils
32942 @: $(MAKE); $(unstage)
32943 @[ -f ./utils/Makefile ] || exit 0; \
32944 r=`${PWD_COMMAND}`; export r; \
32945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32946 $(HOST_EXPORTS) \
32947 for flag in $(EXTRA_HOST_FLAGS) ; do \
32948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32949 done; \
32950 echo "Doing TAGS in utils" ; \
32951 (cd $(HOST_SUBDIR)/utils && \
32952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32954 "RANLIB=$${RANLIB}" \
32955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32956 TAGS) \
32957 || exit 1
32959 @endif utils
32961 .PHONY: maybe-install-info-utils install-info-utils
32962 maybe-install-info-utils:
32963 @if utils
32964 maybe-install-info-utils: install-info-utils
32966 install-info-utils: \
32967 configure-utils \
32968 info-utils
32969 @: $(MAKE); $(unstage)
32970 @[ -f ./utils/Makefile ] || exit 0; \
32971 r=`${PWD_COMMAND}`; export r; \
32972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32973 $(HOST_EXPORTS) \
32974 for flag in $(EXTRA_HOST_FLAGS) ; do \
32975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32976 done; \
32977 echo "Doing install-info in utils" ; \
32978 (cd $(HOST_SUBDIR)/utils && \
32979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32981 "RANLIB=$${RANLIB}" \
32982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32983 install-info) \
32984 || exit 1
32986 @endif utils
32988 .PHONY: maybe-install-html-utils install-html-utils
32989 maybe-install-html-utils:
32990 @if utils
32991 maybe-install-html-utils: install-html-utils
32993 install-html-utils: \
32994 configure-utils \
32995 html-utils
32996 @: $(MAKE); $(unstage)
32997 @[ -f ./utils/Makefile ] || exit 0; \
32998 r=`${PWD_COMMAND}`; export r; \
32999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33000 $(HOST_EXPORTS) \
33001 for flag in $(EXTRA_HOST_FLAGS) ; do \
33002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33003 done; \
33004 echo "Doing install-html in utils" ; \
33005 (cd $(HOST_SUBDIR)/utils && \
33006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33008 "RANLIB=$${RANLIB}" \
33009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33010 install-html) \
33011 || exit 1
33013 @endif utils
33015 .PHONY: maybe-installcheck-utils installcheck-utils
33016 maybe-installcheck-utils:
33017 @if utils
33018 maybe-installcheck-utils: installcheck-utils
33020 installcheck-utils: \
33021 configure-utils
33022 @: $(MAKE); $(unstage)
33023 @[ -f ./utils/Makefile ] || exit 0; \
33024 r=`${PWD_COMMAND}`; export r; \
33025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33026 $(HOST_EXPORTS) \
33027 for flag in $(EXTRA_HOST_FLAGS) ; do \
33028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33029 done; \
33030 echo "Doing installcheck in utils" ; \
33031 (cd $(HOST_SUBDIR)/utils && \
33032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33034 "RANLIB=$${RANLIB}" \
33035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33036 installcheck) \
33037 || exit 1
33039 @endif utils
33041 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
33042 maybe-mostlyclean-utils:
33043 @if utils
33044 maybe-mostlyclean-utils: mostlyclean-utils
33046 mostlyclean-utils:
33047 @: $(MAKE); $(unstage)
33048 @[ -f ./utils/Makefile ] || exit 0; \
33049 r=`${PWD_COMMAND}`; export r; \
33050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33051 $(HOST_EXPORTS) \
33052 for flag in $(EXTRA_HOST_FLAGS) ; do \
33053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33054 done; \
33055 echo "Doing mostlyclean in utils" ; \
33056 (cd $(HOST_SUBDIR)/utils && \
33057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33059 "RANLIB=$${RANLIB}" \
33060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33061 mostlyclean) \
33062 || exit 1
33064 @endif utils
33066 .PHONY: maybe-clean-utils clean-utils
33067 maybe-clean-utils:
33068 @if utils
33069 maybe-clean-utils: clean-utils
33071 clean-utils:
33072 @: $(MAKE); $(unstage)
33073 @[ -f ./utils/Makefile ] || exit 0; \
33074 r=`${PWD_COMMAND}`; export r; \
33075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33076 $(HOST_EXPORTS) \
33077 for flag in $(EXTRA_HOST_FLAGS) ; do \
33078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33079 done; \
33080 echo "Doing clean in utils" ; \
33081 (cd $(HOST_SUBDIR)/utils && \
33082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33084 "RANLIB=$${RANLIB}" \
33085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33086 clean) \
33087 || exit 1
33089 @endif utils
33091 .PHONY: maybe-distclean-utils distclean-utils
33092 maybe-distclean-utils:
33093 @if utils
33094 maybe-distclean-utils: distclean-utils
33096 distclean-utils:
33097 @: $(MAKE); $(unstage)
33098 @[ -f ./utils/Makefile ] || exit 0; \
33099 r=`${PWD_COMMAND}`; export r; \
33100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33101 $(HOST_EXPORTS) \
33102 for flag in $(EXTRA_HOST_FLAGS) ; do \
33103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33104 done; \
33105 echo "Doing distclean in utils" ; \
33106 (cd $(HOST_SUBDIR)/utils && \
33107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33109 "RANLIB=$${RANLIB}" \
33110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33111 distclean) \
33112 || exit 1
33114 @endif utils
33116 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
33117 maybe-maintainer-clean-utils:
33118 @if utils
33119 maybe-maintainer-clean-utils: maintainer-clean-utils
33121 maintainer-clean-utils:
33122 @: $(MAKE); $(unstage)
33123 @[ -f ./utils/Makefile ] || exit 0; \
33124 r=`${PWD_COMMAND}`; export r; \
33125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33126 $(HOST_EXPORTS) \
33127 for flag in $(EXTRA_HOST_FLAGS) ; do \
33128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33129 done; \
33130 echo "Doing maintainer-clean in utils" ; \
33131 (cd $(HOST_SUBDIR)/utils && \
33132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33134 "RANLIB=$${RANLIB}" \
33135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33136 maintainer-clean) \
33137 || exit 1
33139 @endif utils
33143 .PHONY: configure-gnattools maybe-configure-gnattools
33144 maybe-configure-gnattools:
33145 @if gcc-bootstrap
33146 configure-gnattools: stage_current
33147 @endif gcc-bootstrap
33148 @if gnattools
33149 maybe-configure-gnattools: configure-gnattools
33150 configure-gnattools:
33151 @: $(MAKE); $(unstage)
33152 @r=`${PWD_COMMAND}`; export r; \
33153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33154 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
33155 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
33156 $(HOST_EXPORTS) \
33157 echo Configuring in $(HOST_SUBDIR)/gnattools; \
33158 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
33159 case $(srcdir) in \
33160 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33161 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
33162 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33163 esac; \
33164 srcdiroption="--srcdir=$${topdir}/gnattools"; \
33165 libsrcdir="$$s/gnattools"; \
33166 $(SHELL) $${libsrcdir}/configure \
33167 $(HOST_CONFIGARGS) $${srcdiroption} \
33168 || exit 1
33169 @endif gnattools
33175 .PHONY: all-gnattools maybe-all-gnattools
33176 maybe-all-gnattools:
33177 @if gcc-bootstrap
33178 all-gnattools: stage_current
33179 @endif gcc-bootstrap
33180 @if gnattools
33181 TARGET-gnattools=all
33182 maybe-all-gnattools: all-gnattools
33183 all-gnattools: configure-gnattools
33184 @: $(MAKE); $(unstage)
33185 @r=`${PWD_COMMAND}`; export r; \
33186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33187 $(HOST_EXPORTS) \
33188 (cd $(HOST_SUBDIR)/gnattools && \
33189 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
33190 @endif gnattools
33195 .PHONY: check-gnattools maybe-check-gnattools
33196 maybe-check-gnattools:
33197 @if gnattools
33198 maybe-check-gnattools: check-gnattools
33200 check-gnattools:
33201 @: $(MAKE); $(unstage)
33202 @r=`${PWD_COMMAND}`; export r; \
33203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33204 $(HOST_EXPORTS) \
33205 (cd $(HOST_SUBDIR)/gnattools && \
33206 $(MAKE) $(FLAGS_TO_PASS) check)
33208 @endif gnattools
33210 .PHONY: install-gnattools maybe-install-gnattools
33211 maybe-install-gnattools:
33212 @if gnattools
33213 maybe-install-gnattools: install-gnattools
33215 install-gnattools: installdirs
33216 @: $(MAKE); $(unstage)
33217 @r=`${PWD_COMMAND}`; export r; \
33218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33219 $(HOST_EXPORTS) \
33220 (cd $(HOST_SUBDIR)/gnattools && \
33221 $(MAKE) $(FLAGS_TO_PASS) install)
33223 @endif gnattools
33225 # Other targets (info, dvi, pdf, etc.)
33227 .PHONY: maybe-info-gnattools info-gnattools
33228 maybe-info-gnattools:
33229 @if gnattools
33230 maybe-info-gnattools: info-gnattools
33232 info-gnattools: \
33233 configure-gnattools
33234 @: $(MAKE); $(unstage)
33235 @[ -f ./gnattools/Makefile ] || exit 0; \
33236 r=`${PWD_COMMAND}`; export r; \
33237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33238 $(HOST_EXPORTS) \
33239 for flag in $(EXTRA_HOST_FLAGS) ; do \
33240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33241 done; \
33242 echo "Doing info in gnattools" ; \
33243 (cd $(HOST_SUBDIR)/gnattools && \
33244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33246 "RANLIB=$${RANLIB}" \
33247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33248 info) \
33249 || exit 1
33251 @endif gnattools
33253 .PHONY: maybe-dvi-gnattools dvi-gnattools
33254 maybe-dvi-gnattools:
33255 @if gnattools
33256 maybe-dvi-gnattools: dvi-gnattools
33258 dvi-gnattools: \
33259 configure-gnattools
33260 @: $(MAKE); $(unstage)
33261 @[ -f ./gnattools/Makefile ] || exit 0; \
33262 r=`${PWD_COMMAND}`; export r; \
33263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33264 $(HOST_EXPORTS) \
33265 for flag in $(EXTRA_HOST_FLAGS) ; do \
33266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33267 done; \
33268 echo "Doing dvi in gnattools" ; \
33269 (cd $(HOST_SUBDIR)/gnattools && \
33270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33272 "RANLIB=$${RANLIB}" \
33273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33274 dvi) \
33275 || exit 1
33277 @endif gnattools
33279 .PHONY: maybe-pdf-gnattools pdf-gnattools
33280 maybe-pdf-gnattools:
33281 @if gnattools
33282 maybe-pdf-gnattools: pdf-gnattools
33284 pdf-gnattools: \
33285 configure-gnattools
33286 @: $(MAKE); $(unstage)
33287 @[ -f ./gnattools/Makefile ] || exit 0; \
33288 r=`${PWD_COMMAND}`; export r; \
33289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33290 $(HOST_EXPORTS) \
33291 for flag in $(EXTRA_HOST_FLAGS) ; do \
33292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33293 done; \
33294 echo "Doing pdf in gnattools" ; \
33295 (cd $(HOST_SUBDIR)/gnattools && \
33296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33298 "RANLIB=$${RANLIB}" \
33299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33300 pdf) \
33301 || exit 1
33303 @endif gnattools
33305 .PHONY: maybe-html-gnattools html-gnattools
33306 maybe-html-gnattools:
33307 @if gnattools
33308 maybe-html-gnattools: html-gnattools
33310 html-gnattools: \
33311 configure-gnattools
33312 @: $(MAKE); $(unstage)
33313 @[ -f ./gnattools/Makefile ] || exit 0; \
33314 r=`${PWD_COMMAND}`; export r; \
33315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33316 $(HOST_EXPORTS) \
33317 for flag in $(EXTRA_HOST_FLAGS) ; do \
33318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33319 done; \
33320 echo "Doing html in gnattools" ; \
33321 (cd $(HOST_SUBDIR)/gnattools && \
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 html) \
33327 || exit 1
33329 @endif gnattools
33331 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
33332 maybe-TAGS-gnattools:
33333 @if gnattools
33334 maybe-TAGS-gnattools: TAGS-gnattools
33336 TAGS-gnattools: \
33337 configure-gnattools
33338 @: $(MAKE); $(unstage)
33339 @[ -f ./gnattools/Makefile ] || exit 0; \
33340 r=`${PWD_COMMAND}`; export r; \
33341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33342 $(HOST_EXPORTS) \
33343 for flag in $(EXTRA_HOST_FLAGS) ; do \
33344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33345 done; \
33346 echo "Doing TAGS in gnattools" ; \
33347 (cd $(HOST_SUBDIR)/gnattools && \
33348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33350 "RANLIB=$${RANLIB}" \
33351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33352 TAGS) \
33353 || exit 1
33355 @endif gnattools
33357 .PHONY: maybe-install-info-gnattools install-info-gnattools
33358 maybe-install-info-gnattools:
33359 @if gnattools
33360 maybe-install-info-gnattools: install-info-gnattools
33362 install-info-gnattools: \
33363 configure-gnattools \
33364 info-gnattools
33365 @: $(MAKE); $(unstage)
33366 @[ -f ./gnattools/Makefile ] || exit 0; \
33367 r=`${PWD_COMMAND}`; export r; \
33368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33369 $(HOST_EXPORTS) \
33370 for flag in $(EXTRA_HOST_FLAGS) ; do \
33371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33372 done; \
33373 echo "Doing install-info in gnattools" ; \
33374 (cd $(HOST_SUBDIR)/gnattools && \
33375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33377 "RANLIB=$${RANLIB}" \
33378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33379 install-info) \
33380 || exit 1
33382 @endif gnattools
33384 .PHONY: maybe-install-html-gnattools install-html-gnattools
33385 maybe-install-html-gnattools:
33386 @if gnattools
33387 maybe-install-html-gnattools: install-html-gnattools
33389 install-html-gnattools: \
33390 configure-gnattools \
33391 html-gnattools
33392 @: $(MAKE); $(unstage)
33393 @[ -f ./gnattools/Makefile ] || exit 0; \
33394 r=`${PWD_COMMAND}`; export r; \
33395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33396 $(HOST_EXPORTS) \
33397 for flag in $(EXTRA_HOST_FLAGS) ; do \
33398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33399 done; \
33400 echo "Doing install-html in gnattools" ; \
33401 (cd $(HOST_SUBDIR)/gnattools && \
33402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33404 "RANLIB=$${RANLIB}" \
33405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33406 install-html) \
33407 || exit 1
33409 @endif gnattools
33411 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
33412 maybe-installcheck-gnattools:
33413 @if gnattools
33414 maybe-installcheck-gnattools: installcheck-gnattools
33416 installcheck-gnattools: \
33417 configure-gnattools
33418 @: $(MAKE); $(unstage)
33419 @[ -f ./gnattools/Makefile ] || exit 0; \
33420 r=`${PWD_COMMAND}`; export r; \
33421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33422 $(HOST_EXPORTS) \
33423 for flag in $(EXTRA_HOST_FLAGS) ; do \
33424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33425 done; \
33426 echo "Doing installcheck in gnattools" ; \
33427 (cd $(HOST_SUBDIR)/gnattools && \
33428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33430 "RANLIB=$${RANLIB}" \
33431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33432 installcheck) \
33433 || exit 1
33435 @endif gnattools
33437 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
33438 maybe-mostlyclean-gnattools:
33439 @if gnattools
33440 maybe-mostlyclean-gnattools: mostlyclean-gnattools
33442 mostlyclean-gnattools:
33443 @: $(MAKE); $(unstage)
33444 @[ -f ./gnattools/Makefile ] || exit 0; \
33445 r=`${PWD_COMMAND}`; export r; \
33446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33447 $(HOST_EXPORTS) \
33448 for flag in $(EXTRA_HOST_FLAGS) ; do \
33449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33450 done; \
33451 echo "Doing mostlyclean in gnattools" ; \
33452 (cd $(HOST_SUBDIR)/gnattools && \
33453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33455 "RANLIB=$${RANLIB}" \
33456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33457 mostlyclean) \
33458 || exit 1
33460 @endif gnattools
33462 .PHONY: maybe-clean-gnattools clean-gnattools
33463 maybe-clean-gnattools:
33464 @if gnattools
33465 maybe-clean-gnattools: clean-gnattools
33467 clean-gnattools:
33468 @: $(MAKE); $(unstage)
33469 @[ -f ./gnattools/Makefile ] || exit 0; \
33470 r=`${PWD_COMMAND}`; export r; \
33471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33472 $(HOST_EXPORTS) \
33473 for flag in $(EXTRA_HOST_FLAGS) ; do \
33474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33475 done; \
33476 echo "Doing clean in gnattools" ; \
33477 (cd $(HOST_SUBDIR)/gnattools && \
33478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33480 "RANLIB=$${RANLIB}" \
33481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33482 clean) \
33483 || exit 1
33485 @endif gnattools
33487 .PHONY: maybe-distclean-gnattools distclean-gnattools
33488 maybe-distclean-gnattools:
33489 @if gnattools
33490 maybe-distclean-gnattools: distclean-gnattools
33492 distclean-gnattools:
33493 @: $(MAKE); $(unstage)
33494 @[ -f ./gnattools/Makefile ] || exit 0; \
33495 r=`${PWD_COMMAND}`; export r; \
33496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33497 $(HOST_EXPORTS) \
33498 for flag in $(EXTRA_HOST_FLAGS) ; do \
33499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33500 done; \
33501 echo "Doing distclean in gnattools" ; \
33502 (cd $(HOST_SUBDIR)/gnattools && \
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 distclean) \
33508 || exit 1
33510 @endif gnattools
33512 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
33513 maybe-maintainer-clean-gnattools:
33514 @if gnattools
33515 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
33517 maintainer-clean-gnattools:
33518 @: $(MAKE); $(unstage)
33519 @[ -f ./gnattools/Makefile ] || exit 0; \
33520 r=`${PWD_COMMAND}`; export r; \
33521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33522 $(HOST_EXPORTS) \
33523 for flag in $(EXTRA_HOST_FLAGS) ; do \
33524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33525 done; \
33526 echo "Doing maintainer-clean in gnattools" ; \
33527 (cd $(HOST_SUBDIR)/gnattools && \
33528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33530 "RANLIB=$${RANLIB}" \
33531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33532 maintainer-clean) \
33533 || exit 1
33535 @endif gnattools
33539 # ---------------------------------------
33540 # Modules which run on the target machine
33541 # ---------------------------------------
33546 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
33547 maybe-configure-target-libstdc++-v3:
33548 @if gcc-bootstrap
33549 configure-target-libstdc++-v3: stage_current
33550 @endif gcc-bootstrap
33551 @if target-libstdc++-v3
33552 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
33553 configure-target-libstdc++-v3:
33554 @: $(MAKE); $(unstage)
33555 @r=`${PWD_COMMAND}`; export r; \
33556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33557 echo "Checking multilib configuration for libstdc++-v3..."; \
33558 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
33559 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
33560 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
33561 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
33562 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
33563 else \
33564 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
33565 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
33566 fi; \
33567 else \
33568 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
33569 fi; \
33570 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
33571 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
33572 $(RAW_CXX_TARGET_EXPORTS) \
33573 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
33574 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
33575 case $(srcdir) in \
33576 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33577 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
33578 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33579 esac; \
33580 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
33581 libsrcdir="$$s/libstdc++-v3"; \
33582 rm -f no-such-file || : ; \
33583 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33584 $(TARGET_CONFIGARGS) $${srcdiroption} \
33585 || exit 1
33586 @endif target-libstdc++-v3
33592 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
33593 maybe-all-target-libstdc++-v3:
33594 @if gcc-bootstrap
33595 all-target-libstdc++-v3: stage_current
33596 @endif gcc-bootstrap
33597 @if target-libstdc++-v3
33598 TARGET-target-libstdc++-v3=all
33599 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
33600 all-target-libstdc++-v3: configure-target-libstdc++-v3
33601 @: $(MAKE); $(unstage)
33602 @r=`${PWD_COMMAND}`; export r; \
33603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33604 $(RAW_CXX_TARGET_EXPORTS) \
33605 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33606 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
33607 @endif target-libstdc++-v3
33613 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
33614 maybe-check-target-libstdc++-v3:
33615 @if target-libstdc++-v3
33616 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
33618 check-target-libstdc++-v3:
33619 @: $(MAKE); $(unstage)
33620 @r=`${PWD_COMMAND}`; export r; \
33621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33622 $(RAW_CXX_TARGET_EXPORTS) \
33623 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33624 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33626 @endif target-libstdc++-v3
33628 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
33629 maybe-install-target-libstdc++-v3:
33630 @if target-libstdc++-v3
33631 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
33633 install-target-libstdc++-v3: installdirs
33634 @: $(MAKE); $(unstage)
33635 @r=`${PWD_COMMAND}`; export r; \
33636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33637 $(RAW_CXX_TARGET_EXPORTS) \
33638 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33639 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33641 @endif target-libstdc++-v3
33643 # Other targets (info, dvi, pdf, etc.)
33645 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
33646 maybe-info-target-libstdc++-v3:
33647 @if target-libstdc++-v3
33648 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
33650 info-target-libstdc++-v3: \
33651 configure-target-libstdc++-v3
33652 @: $(MAKE); $(unstage)
33653 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33654 r=`${PWD_COMMAND}`; export r; \
33655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33656 $(RAW_CXX_TARGET_EXPORTS) \
33657 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33658 for flag in $(EXTRA_TARGET_FLAGS); do \
33659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33660 done; \
33661 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33664 "RANLIB=$${RANLIB}" \
33665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33666 info) \
33667 || exit 1
33669 @endif target-libstdc++-v3
33671 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
33672 maybe-dvi-target-libstdc++-v3:
33673 @if target-libstdc++-v3
33674 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
33676 dvi-target-libstdc++-v3: \
33677 configure-target-libstdc++-v3
33678 @: $(MAKE); $(unstage)
33679 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33680 r=`${PWD_COMMAND}`; export r; \
33681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33682 $(RAW_CXX_TARGET_EXPORTS) \
33683 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33684 for flag in $(EXTRA_TARGET_FLAGS); do \
33685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33686 done; \
33687 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33690 "RANLIB=$${RANLIB}" \
33691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33692 dvi) \
33693 || exit 1
33695 @endif target-libstdc++-v3
33697 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
33698 maybe-pdf-target-libstdc++-v3:
33699 @if target-libstdc++-v3
33700 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
33702 pdf-target-libstdc++-v3: \
33703 configure-target-libstdc++-v3
33704 @: $(MAKE); $(unstage)
33705 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33706 r=`${PWD_COMMAND}`; export r; \
33707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33708 $(RAW_CXX_TARGET_EXPORTS) \
33709 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33710 for flag in $(EXTRA_TARGET_FLAGS); do \
33711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33712 done; \
33713 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33716 "RANLIB=$${RANLIB}" \
33717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33718 pdf) \
33719 || exit 1
33721 @endif target-libstdc++-v3
33723 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
33724 maybe-html-target-libstdc++-v3:
33725 @if target-libstdc++-v3
33726 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
33728 html-target-libstdc++-v3: \
33729 configure-target-libstdc++-v3
33730 @: $(MAKE); $(unstage)
33731 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33732 r=`${PWD_COMMAND}`; export r; \
33733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33734 $(RAW_CXX_TARGET_EXPORTS) \
33735 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33736 for flag in $(EXTRA_TARGET_FLAGS); do \
33737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33738 done; \
33739 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33742 "RANLIB=$${RANLIB}" \
33743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33744 html) \
33745 || exit 1
33747 @endif target-libstdc++-v3
33749 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
33750 maybe-TAGS-target-libstdc++-v3:
33751 @if target-libstdc++-v3
33752 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
33754 TAGS-target-libstdc++-v3: \
33755 configure-target-libstdc++-v3
33756 @: $(MAKE); $(unstage)
33757 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33758 r=`${PWD_COMMAND}`; export r; \
33759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33760 $(RAW_CXX_TARGET_EXPORTS) \
33761 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33762 for flag in $(EXTRA_TARGET_FLAGS); do \
33763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33764 done; \
33765 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33768 "RANLIB=$${RANLIB}" \
33769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33770 TAGS) \
33771 || exit 1
33773 @endif target-libstdc++-v3
33775 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
33776 maybe-install-info-target-libstdc++-v3:
33777 @if target-libstdc++-v3
33778 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
33780 install-info-target-libstdc++-v3: \
33781 configure-target-libstdc++-v3 \
33782 info-target-libstdc++-v3
33783 @: $(MAKE); $(unstage)
33784 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33785 r=`${PWD_COMMAND}`; export r; \
33786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33787 $(RAW_CXX_TARGET_EXPORTS) \
33788 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33789 for flag in $(EXTRA_TARGET_FLAGS); do \
33790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33791 done; \
33792 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33795 "RANLIB=$${RANLIB}" \
33796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33797 install-info) \
33798 || exit 1
33800 @endif target-libstdc++-v3
33802 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
33803 maybe-install-html-target-libstdc++-v3:
33804 @if target-libstdc++-v3
33805 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
33807 install-html-target-libstdc++-v3: \
33808 configure-target-libstdc++-v3 \
33809 html-target-libstdc++-v3
33810 @: $(MAKE); $(unstage)
33811 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33812 r=`${PWD_COMMAND}`; export r; \
33813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33814 $(RAW_CXX_TARGET_EXPORTS) \
33815 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33816 for flag in $(EXTRA_TARGET_FLAGS); do \
33817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33818 done; \
33819 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33822 "RANLIB=$${RANLIB}" \
33823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33824 install-html) \
33825 || exit 1
33827 @endif target-libstdc++-v3
33829 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
33830 maybe-installcheck-target-libstdc++-v3:
33831 @if target-libstdc++-v3
33832 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
33834 installcheck-target-libstdc++-v3: \
33835 configure-target-libstdc++-v3
33836 @: $(MAKE); $(unstage)
33837 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33838 r=`${PWD_COMMAND}`; export r; \
33839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33840 $(RAW_CXX_TARGET_EXPORTS) \
33841 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33842 for flag in $(EXTRA_TARGET_FLAGS); do \
33843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33844 done; \
33845 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33848 "RANLIB=$${RANLIB}" \
33849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33850 installcheck) \
33851 || exit 1
33853 @endif target-libstdc++-v3
33855 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
33856 maybe-mostlyclean-target-libstdc++-v3:
33857 @if target-libstdc++-v3
33858 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
33860 mostlyclean-target-libstdc++-v3:
33861 @: $(MAKE); $(unstage)
33862 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33863 r=`${PWD_COMMAND}`; export r; \
33864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33865 $(RAW_CXX_TARGET_EXPORTS) \
33866 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33867 for flag in $(EXTRA_TARGET_FLAGS); do \
33868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33869 done; \
33870 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33873 "RANLIB=$${RANLIB}" \
33874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33875 mostlyclean) \
33876 || exit 1
33878 @endif target-libstdc++-v3
33880 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
33881 maybe-clean-target-libstdc++-v3:
33882 @if target-libstdc++-v3
33883 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
33885 clean-target-libstdc++-v3:
33886 @: $(MAKE); $(unstage)
33887 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33888 r=`${PWD_COMMAND}`; export r; \
33889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33890 $(RAW_CXX_TARGET_EXPORTS) \
33891 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33892 for flag in $(EXTRA_TARGET_FLAGS); do \
33893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33894 done; \
33895 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33898 "RANLIB=$${RANLIB}" \
33899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33900 clean) \
33901 || exit 1
33903 @endif target-libstdc++-v3
33905 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
33906 maybe-distclean-target-libstdc++-v3:
33907 @if target-libstdc++-v3
33908 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
33910 distclean-target-libstdc++-v3:
33911 @: $(MAKE); $(unstage)
33912 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33913 r=`${PWD_COMMAND}`; export r; \
33914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33915 $(RAW_CXX_TARGET_EXPORTS) \
33916 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33917 for flag in $(EXTRA_TARGET_FLAGS); do \
33918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33919 done; \
33920 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33923 "RANLIB=$${RANLIB}" \
33924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33925 distclean) \
33926 || exit 1
33928 @endif target-libstdc++-v3
33930 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
33931 maybe-maintainer-clean-target-libstdc++-v3:
33932 @if target-libstdc++-v3
33933 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
33935 maintainer-clean-target-libstdc++-v3:
33936 @: $(MAKE); $(unstage)
33937 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33938 r=`${PWD_COMMAND}`; export r; \
33939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33940 $(RAW_CXX_TARGET_EXPORTS) \
33941 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33942 for flag in $(EXTRA_TARGET_FLAGS); do \
33943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33944 done; \
33945 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33948 "RANLIB=$${RANLIB}" \
33949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33950 maintainer-clean) \
33951 || exit 1
33953 @endif target-libstdc++-v3
33959 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
33960 maybe-configure-target-libmudflap:
33961 @if gcc-bootstrap
33962 configure-target-libmudflap: stage_current
33963 @endif gcc-bootstrap
33964 @if target-libmudflap
33965 maybe-configure-target-libmudflap: configure-target-libmudflap
33966 configure-target-libmudflap:
33967 @: $(MAKE); $(unstage)
33968 @r=`${PWD_COMMAND}`; export r; \
33969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33970 echo "Checking multilib configuration for libmudflap..."; \
33971 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
33972 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
33973 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
33974 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
33975 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
33976 else \
33977 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
33978 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
33979 fi; \
33980 else \
33981 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
33982 fi; \
33983 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
33984 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
33985 $(NORMAL_TARGET_EXPORTS) \
33986 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
33987 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
33988 case $(srcdir) in \
33989 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33990 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
33991 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33992 esac; \
33993 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
33994 libsrcdir="$$s/libmudflap"; \
33995 rm -f no-such-file || : ; \
33996 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33997 $(TARGET_CONFIGARGS) $${srcdiroption} \
33998 || exit 1
33999 @endif target-libmudflap
34005 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
34006 maybe-all-target-libmudflap:
34007 @if gcc-bootstrap
34008 all-target-libmudflap: stage_current
34009 @endif gcc-bootstrap
34010 @if target-libmudflap
34011 TARGET-target-libmudflap=all
34012 maybe-all-target-libmudflap: all-target-libmudflap
34013 all-target-libmudflap: configure-target-libmudflap
34014 @: $(MAKE); $(unstage)
34015 @r=`${PWD_COMMAND}`; export r; \
34016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34017 $(NORMAL_TARGET_EXPORTS) \
34018 (cd $(TARGET_SUBDIR)/libmudflap && \
34019 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
34020 @endif target-libmudflap
34026 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
34027 maybe-check-target-libmudflap:
34028 @if target-libmudflap
34029 maybe-check-target-libmudflap: check-target-libmudflap
34031 check-target-libmudflap:
34032 @: $(MAKE); $(unstage)
34033 @r=`${PWD_COMMAND}`; export r; \
34034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34035 $(NORMAL_TARGET_EXPORTS) \
34036 (cd $(TARGET_SUBDIR)/libmudflap && \
34037 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34039 @endif target-libmudflap
34041 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
34042 maybe-install-target-libmudflap:
34043 @if target-libmudflap
34044 maybe-install-target-libmudflap: install-target-libmudflap
34046 install-target-libmudflap: installdirs
34047 @: $(MAKE); $(unstage)
34048 @r=`${PWD_COMMAND}`; export r; \
34049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34050 $(NORMAL_TARGET_EXPORTS) \
34051 (cd $(TARGET_SUBDIR)/libmudflap && \
34052 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34054 @endif target-libmudflap
34056 # Other targets (info, dvi, pdf, etc.)
34058 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
34059 maybe-info-target-libmudflap:
34060 @if target-libmudflap
34061 maybe-info-target-libmudflap: info-target-libmudflap
34063 info-target-libmudflap: \
34064 configure-target-libmudflap
34065 @: $(MAKE); $(unstage)
34066 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34067 r=`${PWD_COMMAND}`; export r; \
34068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34069 $(NORMAL_TARGET_EXPORTS) \
34070 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
34071 for flag in $(EXTRA_TARGET_FLAGS); do \
34072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34073 done; \
34074 (cd $(TARGET_SUBDIR)/libmudflap && \
34075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34077 "RANLIB=$${RANLIB}" \
34078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34079 info) \
34080 || exit 1
34082 @endif target-libmudflap
34084 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
34085 maybe-dvi-target-libmudflap:
34086 @if target-libmudflap
34087 maybe-dvi-target-libmudflap: dvi-target-libmudflap
34089 dvi-target-libmudflap: \
34090 configure-target-libmudflap
34091 @: $(MAKE); $(unstage)
34092 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34093 r=`${PWD_COMMAND}`; export r; \
34094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34095 $(NORMAL_TARGET_EXPORTS) \
34096 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
34097 for flag in $(EXTRA_TARGET_FLAGS); do \
34098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34099 done; \
34100 (cd $(TARGET_SUBDIR)/libmudflap && \
34101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34103 "RANLIB=$${RANLIB}" \
34104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34105 dvi) \
34106 || exit 1
34108 @endif target-libmudflap
34110 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
34111 maybe-pdf-target-libmudflap:
34112 @if target-libmudflap
34113 maybe-pdf-target-libmudflap: pdf-target-libmudflap
34115 pdf-target-libmudflap: \
34116 configure-target-libmudflap
34117 @: $(MAKE); $(unstage)
34118 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34119 r=`${PWD_COMMAND}`; export r; \
34120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34121 $(NORMAL_TARGET_EXPORTS) \
34122 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
34123 for flag in $(EXTRA_TARGET_FLAGS); do \
34124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34125 done; \
34126 (cd $(TARGET_SUBDIR)/libmudflap && \
34127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34129 "RANLIB=$${RANLIB}" \
34130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34131 pdf) \
34132 || exit 1
34134 @endif target-libmudflap
34136 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
34137 maybe-html-target-libmudflap:
34138 @if target-libmudflap
34139 maybe-html-target-libmudflap: html-target-libmudflap
34141 html-target-libmudflap: \
34142 configure-target-libmudflap
34143 @: $(MAKE); $(unstage)
34144 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34145 r=`${PWD_COMMAND}`; export r; \
34146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34147 $(NORMAL_TARGET_EXPORTS) \
34148 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
34149 for flag in $(EXTRA_TARGET_FLAGS); do \
34150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34151 done; \
34152 (cd $(TARGET_SUBDIR)/libmudflap && \
34153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34155 "RANLIB=$${RANLIB}" \
34156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34157 html) \
34158 || exit 1
34160 @endif target-libmudflap
34162 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
34163 maybe-TAGS-target-libmudflap:
34164 @if target-libmudflap
34165 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
34167 TAGS-target-libmudflap: \
34168 configure-target-libmudflap
34169 @: $(MAKE); $(unstage)
34170 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34171 r=`${PWD_COMMAND}`; export r; \
34172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34173 $(NORMAL_TARGET_EXPORTS) \
34174 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
34175 for flag in $(EXTRA_TARGET_FLAGS); do \
34176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34177 done; \
34178 (cd $(TARGET_SUBDIR)/libmudflap && \
34179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34181 "RANLIB=$${RANLIB}" \
34182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34183 TAGS) \
34184 || exit 1
34186 @endif target-libmudflap
34188 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
34189 maybe-install-info-target-libmudflap:
34190 @if target-libmudflap
34191 maybe-install-info-target-libmudflap: install-info-target-libmudflap
34193 install-info-target-libmudflap: \
34194 configure-target-libmudflap \
34195 info-target-libmudflap
34196 @: $(MAKE); $(unstage)
34197 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34198 r=`${PWD_COMMAND}`; export r; \
34199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34200 $(NORMAL_TARGET_EXPORTS) \
34201 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
34202 for flag in $(EXTRA_TARGET_FLAGS); do \
34203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34204 done; \
34205 (cd $(TARGET_SUBDIR)/libmudflap && \
34206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34208 "RANLIB=$${RANLIB}" \
34209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34210 install-info) \
34211 || exit 1
34213 @endif target-libmudflap
34215 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
34216 maybe-install-html-target-libmudflap:
34217 @if target-libmudflap
34218 maybe-install-html-target-libmudflap: install-html-target-libmudflap
34220 install-html-target-libmudflap: \
34221 configure-target-libmudflap \
34222 html-target-libmudflap
34223 @: $(MAKE); $(unstage)
34224 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34225 r=`${PWD_COMMAND}`; export r; \
34226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34227 $(NORMAL_TARGET_EXPORTS) \
34228 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
34229 for flag in $(EXTRA_TARGET_FLAGS); do \
34230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34231 done; \
34232 (cd $(TARGET_SUBDIR)/libmudflap && \
34233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34235 "RANLIB=$${RANLIB}" \
34236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34237 install-html) \
34238 || exit 1
34240 @endif target-libmudflap
34242 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
34243 maybe-installcheck-target-libmudflap:
34244 @if target-libmudflap
34245 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
34247 installcheck-target-libmudflap: \
34248 configure-target-libmudflap
34249 @: $(MAKE); $(unstage)
34250 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34251 r=`${PWD_COMMAND}`; export r; \
34252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34253 $(NORMAL_TARGET_EXPORTS) \
34254 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
34255 for flag in $(EXTRA_TARGET_FLAGS); do \
34256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34257 done; \
34258 (cd $(TARGET_SUBDIR)/libmudflap && \
34259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34261 "RANLIB=$${RANLIB}" \
34262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34263 installcheck) \
34264 || exit 1
34266 @endif target-libmudflap
34268 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
34269 maybe-mostlyclean-target-libmudflap:
34270 @if target-libmudflap
34271 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
34273 mostlyclean-target-libmudflap:
34274 @: $(MAKE); $(unstage)
34275 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34276 r=`${PWD_COMMAND}`; export r; \
34277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34278 $(NORMAL_TARGET_EXPORTS) \
34279 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
34280 for flag in $(EXTRA_TARGET_FLAGS); do \
34281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34282 done; \
34283 (cd $(TARGET_SUBDIR)/libmudflap && \
34284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34286 "RANLIB=$${RANLIB}" \
34287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34288 mostlyclean) \
34289 || exit 1
34291 @endif target-libmudflap
34293 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
34294 maybe-clean-target-libmudflap:
34295 @if target-libmudflap
34296 maybe-clean-target-libmudflap: clean-target-libmudflap
34298 clean-target-libmudflap:
34299 @: $(MAKE); $(unstage)
34300 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34301 r=`${PWD_COMMAND}`; export r; \
34302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34303 $(NORMAL_TARGET_EXPORTS) \
34304 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
34305 for flag in $(EXTRA_TARGET_FLAGS); do \
34306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34307 done; \
34308 (cd $(TARGET_SUBDIR)/libmudflap && \
34309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34311 "RANLIB=$${RANLIB}" \
34312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34313 clean) \
34314 || exit 1
34316 @endif target-libmudflap
34318 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
34319 maybe-distclean-target-libmudflap:
34320 @if target-libmudflap
34321 maybe-distclean-target-libmudflap: distclean-target-libmudflap
34323 distclean-target-libmudflap:
34324 @: $(MAKE); $(unstage)
34325 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34326 r=`${PWD_COMMAND}`; export r; \
34327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34328 $(NORMAL_TARGET_EXPORTS) \
34329 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
34330 for flag in $(EXTRA_TARGET_FLAGS); do \
34331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34332 done; \
34333 (cd $(TARGET_SUBDIR)/libmudflap && \
34334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34336 "RANLIB=$${RANLIB}" \
34337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34338 distclean) \
34339 || exit 1
34341 @endif target-libmudflap
34343 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
34344 maybe-maintainer-clean-target-libmudflap:
34345 @if target-libmudflap
34346 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
34348 maintainer-clean-target-libmudflap:
34349 @: $(MAKE); $(unstage)
34350 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
34351 r=`${PWD_COMMAND}`; export r; \
34352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34353 $(NORMAL_TARGET_EXPORTS) \
34354 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
34355 for flag in $(EXTRA_TARGET_FLAGS); do \
34356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34357 done; \
34358 (cd $(TARGET_SUBDIR)/libmudflap && \
34359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34361 "RANLIB=$${RANLIB}" \
34362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34363 maintainer-clean) \
34364 || exit 1
34366 @endif target-libmudflap
34372 .PHONY: configure-target-libssp maybe-configure-target-libssp
34373 maybe-configure-target-libssp:
34374 @if gcc-bootstrap
34375 configure-target-libssp: stage_current
34376 @endif gcc-bootstrap
34377 @if target-libssp
34378 maybe-configure-target-libssp: configure-target-libssp
34379 configure-target-libssp:
34380 @: $(MAKE); $(unstage)
34381 @r=`${PWD_COMMAND}`; export r; \
34382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34383 echo "Checking multilib configuration for libssp..."; \
34384 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
34385 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
34386 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
34387 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
34388 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
34389 else \
34390 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
34391 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
34392 fi; \
34393 else \
34394 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
34395 fi; \
34396 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
34397 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
34398 $(NORMAL_TARGET_EXPORTS) \
34399 echo Configuring in $(TARGET_SUBDIR)/libssp; \
34400 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
34401 case $(srcdir) in \
34402 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34403 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
34404 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34405 esac; \
34406 srcdiroption="--srcdir=$${topdir}/libssp"; \
34407 libsrcdir="$$s/libssp"; \
34408 rm -f no-such-file || : ; \
34409 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34410 $(TARGET_CONFIGARGS) $${srcdiroption} \
34411 || exit 1
34412 @endif target-libssp
34418 .PHONY: all-target-libssp maybe-all-target-libssp
34419 maybe-all-target-libssp:
34420 @if gcc-bootstrap
34421 all-target-libssp: stage_current
34422 @endif gcc-bootstrap
34423 @if target-libssp
34424 TARGET-target-libssp=all
34425 maybe-all-target-libssp: all-target-libssp
34426 all-target-libssp: configure-target-libssp
34427 @: $(MAKE); $(unstage)
34428 @r=`${PWD_COMMAND}`; export r; \
34429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34430 $(NORMAL_TARGET_EXPORTS) \
34431 (cd $(TARGET_SUBDIR)/libssp && \
34432 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
34433 @endif target-libssp
34439 .PHONY: check-target-libssp maybe-check-target-libssp
34440 maybe-check-target-libssp:
34441 @if target-libssp
34442 maybe-check-target-libssp: check-target-libssp
34444 check-target-libssp:
34445 @: $(MAKE); $(unstage)
34446 @r=`${PWD_COMMAND}`; export r; \
34447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34448 $(NORMAL_TARGET_EXPORTS) \
34449 (cd $(TARGET_SUBDIR)/libssp && \
34450 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34452 @endif target-libssp
34454 .PHONY: install-target-libssp maybe-install-target-libssp
34455 maybe-install-target-libssp:
34456 @if target-libssp
34457 maybe-install-target-libssp: install-target-libssp
34459 install-target-libssp: installdirs
34460 @: $(MAKE); $(unstage)
34461 @r=`${PWD_COMMAND}`; export r; \
34462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34463 $(NORMAL_TARGET_EXPORTS) \
34464 (cd $(TARGET_SUBDIR)/libssp && \
34465 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34467 @endif target-libssp
34469 # Other targets (info, dvi, pdf, etc.)
34471 .PHONY: maybe-info-target-libssp info-target-libssp
34472 maybe-info-target-libssp:
34473 @if target-libssp
34474 maybe-info-target-libssp: info-target-libssp
34476 info-target-libssp: \
34477 configure-target-libssp
34478 @: $(MAKE); $(unstage)
34479 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34480 r=`${PWD_COMMAND}`; export r; \
34481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34482 $(NORMAL_TARGET_EXPORTS) \
34483 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
34484 for flag in $(EXTRA_TARGET_FLAGS); do \
34485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34486 done; \
34487 (cd $(TARGET_SUBDIR)/libssp && \
34488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34490 "RANLIB=$${RANLIB}" \
34491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34492 info) \
34493 || exit 1
34495 @endif target-libssp
34497 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
34498 maybe-dvi-target-libssp:
34499 @if target-libssp
34500 maybe-dvi-target-libssp: dvi-target-libssp
34502 dvi-target-libssp: \
34503 configure-target-libssp
34504 @: $(MAKE); $(unstage)
34505 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34506 r=`${PWD_COMMAND}`; export r; \
34507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34508 $(NORMAL_TARGET_EXPORTS) \
34509 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
34510 for flag in $(EXTRA_TARGET_FLAGS); do \
34511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34512 done; \
34513 (cd $(TARGET_SUBDIR)/libssp && \
34514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34516 "RANLIB=$${RANLIB}" \
34517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34518 dvi) \
34519 || exit 1
34521 @endif target-libssp
34523 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
34524 maybe-pdf-target-libssp:
34525 @if target-libssp
34526 maybe-pdf-target-libssp: pdf-target-libssp
34528 pdf-target-libssp: \
34529 configure-target-libssp
34530 @: $(MAKE); $(unstage)
34531 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34532 r=`${PWD_COMMAND}`; export r; \
34533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34534 $(NORMAL_TARGET_EXPORTS) \
34535 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
34536 for flag in $(EXTRA_TARGET_FLAGS); do \
34537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34538 done; \
34539 (cd $(TARGET_SUBDIR)/libssp && \
34540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34542 "RANLIB=$${RANLIB}" \
34543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34544 pdf) \
34545 || exit 1
34547 @endif target-libssp
34549 .PHONY: maybe-html-target-libssp html-target-libssp
34550 maybe-html-target-libssp:
34551 @if target-libssp
34552 maybe-html-target-libssp: html-target-libssp
34554 html-target-libssp: \
34555 configure-target-libssp
34556 @: $(MAKE); $(unstage)
34557 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34558 r=`${PWD_COMMAND}`; export r; \
34559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34560 $(NORMAL_TARGET_EXPORTS) \
34561 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
34562 for flag in $(EXTRA_TARGET_FLAGS); do \
34563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34564 done; \
34565 (cd $(TARGET_SUBDIR)/libssp && \
34566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34568 "RANLIB=$${RANLIB}" \
34569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34570 html) \
34571 || exit 1
34573 @endif target-libssp
34575 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
34576 maybe-TAGS-target-libssp:
34577 @if target-libssp
34578 maybe-TAGS-target-libssp: TAGS-target-libssp
34580 TAGS-target-libssp: \
34581 configure-target-libssp
34582 @: $(MAKE); $(unstage)
34583 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34584 r=`${PWD_COMMAND}`; export r; \
34585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34586 $(NORMAL_TARGET_EXPORTS) \
34587 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
34588 for flag in $(EXTRA_TARGET_FLAGS); do \
34589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34590 done; \
34591 (cd $(TARGET_SUBDIR)/libssp && \
34592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34594 "RANLIB=$${RANLIB}" \
34595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34596 TAGS) \
34597 || exit 1
34599 @endif target-libssp
34601 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
34602 maybe-install-info-target-libssp:
34603 @if target-libssp
34604 maybe-install-info-target-libssp: install-info-target-libssp
34606 install-info-target-libssp: \
34607 configure-target-libssp \
34608 info-target-libssp
34609 @: $(MAKE); $(unstage)
34610 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34611 r=`${PWD_COMMAND}`; export r; \
34612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34613 $(NORMAL_TARGET_EXPORTS) \
34614 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
34615 for flag in $(EXTRA_TARGET_FLAGS); do \
34616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34617 done; \
34618 (cd $(TARGET_SUBDIR)/libssp && \
34619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34621 "RANLIB=$${RANLIB}" \
34622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34623 install-info) \
34624 || exit 1
34626 @endif target-libssp
34628 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
34629 maybe-install-html-target-libssp:
34630 @if target-libssp
34631 maybe-install-html-target-libssp: install-html-target-libssp
34633 install-html-target-libssp: \
34634 configure-target-libssp \
34635 html-target-libssp
34636 @: $(MAKE); $(unstage)
34637 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34638 r=`${PWD_COMMAND}`; export r; \
34639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34640 $(NORMAL_TARGET_EXPORTS) \
34641 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
34642 for flag in $(EXTRA_TARGET_FLAGS); do \
34643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34644 done; \
34645 (cd $(TARGET_SUBDIR)/libssp && \
34646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34648 "RANLIB=$${RANLIB}" \
34649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34650 install-html) \
34651 || exit 1
34653 @endif target-libssp
34655 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
34656 maybe-installcheck-target-libssp:
34657 @if target-libssp
34658 maybe-installcheck-target-libssp: installcheck-target-libssp
34660 installcheck-target-libssp: \
34661 configure-target-libssp
34662 @: $(MAKE); $(unstage)
34663 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34664 r=`${PWD_COMMAND}`; export r; \
34665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34666 $(NORMAL_TARGET_EXPORTS) \
34667 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
34668 for flag in $(EXTRA_TARGET_FLAGS); do \
34669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34670 done; \
34671 (cd $(TARGET_SUBDIR)/libssp && \
34672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34674 "RANLIB=$${RANLIB}" \
34675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34676 installcheck) \
34677 || exit 1
34679 @endif target-libssp
34681 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
34682 maybe-mostlyclean-target-libssp:
34683 @if target-libssp
34684 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
34686 mostlyclean-target-libssp:
34687 @: $(MAKE); $(unstage)
34688 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34689 r=`${PWD_COMMAND}`; export r; \
34690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34691 $(NORMAL_TARGET_EXPORTS) \
34692 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
34693 for flag in $(EXTRA_TARGET_FLAGS); do \
34694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34695 done; \
34696 (cd $(TARGET_SUBDIR)/libssp && \
34697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34699 "RANLIB=$${RANLIB}" \
34700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34701 mostlyclean) \
34702 || exit 1
34704 @endif target-libssp
34706 .PHONY: maybe-clean-target-libssp clean-target-libssp
34707 maybe-clean-target-libssp:
34708 @if target-libssp
34709 maybe-clean-target-libssp: clean-target-libssp
34711 clean-target-libssp:
34712 @: $(MAKE); $(unstage)
34713 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34714 r=`${PWD_COMMAND}`; export r; \
34715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34716 $(NORMAL_TARGET_EXPORTS) \
34717 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
34718 for flag in $(EXTRA_TARGET_FLAGS); do \
34719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34720 done; \
34721 (cd $(TARGET_SUBDIR)/libssp && \
34722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34724 "RANLIB=$${RANLIB}" \
34725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34726 clean) \
34727 || exit 1
34729 @endif target-libssp
34731 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
34732 maybe-distclean-target-libssp:
34733 @if target-libssp
34734 maybe-distclean-target-libssp: distclean-target-libssp
34736 distclean-target-libssp:
34737 @: $(MAKE); $(unstage)
34738 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34739 r=`${PWD_COMMAND}`; export r; \
34740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34741 $(NORMAL_TARGET_EXPORTS) \
34742 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
34743 for flag in $(EXTRA_TARGET_FLAGS); do \
34744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34745 done; \
34746 (cd $(TARGET_SUBDIR)/libssp && \
34747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34749 "RANLIB=$${RANLIB}" \
34750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34751 distclean) \
34752 || exit 1
34754 @endif target-libssp
34756 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
34757 maybe-maintainer-clean-target-libssp:
34758 @if target-libssp
34759 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
34761 maintainer-clean-target-libssp:
34762 @: $(MAKE); $(unstage)
34763 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34764 r=`${PWD_COMMAND}`; export r; \
34765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34766 $(NORMAL_TARGET_EXPORTS) \
34767 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
34768 for flag in $(EXTRA_TARGET_FLAGS); do \
34769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34770 done; \
34771 (cd $(TARGET_SUBDIR)/libssp && \
34772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34774 "RANLIB=$${RANLIB}" \
34775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34776 maintainer-clean) \
34777 || exit 1
34779 @endif target-libssp
34785 .PHONY: configure-target-newlib maybe-configure-target-newlib
34786 maybe-configure-target-newlib:
34787 @if gcc-bootstrap
34788 configure-target-newlib: stage_current
34789 @endif gcc-bootstrap
34790 @if target-newlib
34791 maybe-configure-target-newlib: configure-target-newlib
34792 configure-target-newlib:
34793 @: $(MAKE); $(unstage)
34794 @r=`${PWD_COMMAND}`; export r; \
34795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34796 echo "Checking multilib configuration for newlib..."; \
34797 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
34798 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
34799 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
34800 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
34801 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
34802 else \
34803 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
34804 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
34805 fi; \
34806 else \
34807 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
34808 fi; \
34809 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
34810 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
34811 $(NORMAL_TARGET_EXPORTS) \
34812 echo Configuring in $(TARGET_SUBDIR)/newlib; \
34813 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
34814 case $(srcdir) in \
34815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34816 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
34817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34818 esac; \
34819 srcdiroption="--srcdir=$${topdir}/newlib"; \
34820 libsrcdir="$$s/newlib"; \
34821 rm -f no-such-file || : ; \
34822 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34823 $(TARGET_CONFIGARGS) $${srcdiroption} \
34824 || exit 1
34825 @endif target-newlib
34831 .PHONY: all-target-newlib maybe-all-target-newlib
34832 maybe-all-target-newlib:
34833 @if gcc-bootstrap
34834 all-target-newlib: stage_current
34835 @endif gcc-bootstrap
34836 @if target-newlib
34837 TARGET-target-newlib=all
34838 maybe-all-target-newlib: all-target-newlib
34839 all-target-newlib: configure-target-newlib
34840 @: $(MAKE); $(unstage)
34841 @r=`${PWD_COMMAND}`; export r; \
34842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34843 $(NORMAL_TARGET_EXPORTS) \
34844 (cd $(TARGET_SUBDIR)/newlib && \
34845 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
34846 @endif target-newlib
34852 .PHONY: check-target-newlib maybe-check-target-newlib
34853 maybe-check-target-newlib:
34854 @if target-newlib
34855 maybe-check-target-newlib: check-target-newlib
34857 check-target-newlib:
34858 @: $(MAKE); $(unstage)
34859 @r=`${PWD_COMMAND}`; export r; \
34860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34861 $(NORMAL_TARGET_EXPORTS) \
34862 (cd $(TARGET_SUBDIR)/newlib && \
34863 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34865 @endif target-newlib
34867 .PHONY: install-target-newlib maybe-install-target-newlib
34868 maybe-install-target-newlib:
34869 @if target-newlib
34870 maybe-install-target-newlib: install-target-newlib
34872 install-target-newlib: installdirs
34873 @: $(MAKE); $(unstage)
34874 @r=`${PWD_COMMAND}`; export r; \
34875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34876 $(NORMAL_TARGET_EXPORTS) \
34877 (cd $(TARGET_SUBDIR)/newlib && \
34878 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34880 @endif target-newlib
34882 # Other targets (info, dvi, pdf, etc.)
34884 .PHONY: maybe-info-target-newlib info-target-newlib
34885 maybe-info-target-newlib:
34886 @if target-newlib
34887 maybe-info-target-newlib: info-target-newlib
34889 info-target-newlib: \
34890 configure-target-newlib
34891 @: $(MAKE); $(unstage)
34892 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34893 r=`${PWD_COMMAND}`; export r; \
34894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34895 $(NORMAL_TARGET_EXPORTS) \
34896 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
34897 for flag in $(EXTRA_TARGET_FLAGS); do \
34898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34899 done; \
34900 (cd $(TARGET_SUBDIR)/newlib && \
34901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34903 "RANLIB=$${RANLIB}" \
34904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34905 info) \
34906 || exit 1
34908 @endif target-newlib
34910 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
34911 maybe-dvi-target-newlib:
34912 @if target-newlib
34913 maybe-dvi-target-newlib: dvi-target-newlib
34915 dvi-target-newlib: \
34916 configure-target-newlib
34917 @: $(MAKE); $(unstage)
34918 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34919 r=`${PWD_COMMAND}`; export r; \
34920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34921 $(NORMAL_TARGET_EXPORTS) \
34922 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
34923 for flag in $(EXTRA_TARGET_FLAGS); do \
34924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34925 done; \
34926 (cd $(TARGET_SUBDIR)/newlib && \
34927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34929 "RANLIB=$${RANLIB}" \
34930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34931 dvi) \
34932 || exit 1
34934 @endif target-newlib
34936 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
34937 maybe-pdf-target-newlib:
34938 @if target-newlib
34939 maybe-pdf-target-newlib: pdf-target-newlib
34941 pdf-target-newlib: \
34942 configure-target-newlib
34943 @: $(MAKE); $(unstage)
34944 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34945 r=`${PWD_COMMAND}`; export r; \
34946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34947 $(NORMAL_TARGET_EXPORTS) \
34948 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
34949 for flag in $(EXTRA_TARGET_FLAGS); do \
34950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34951 done; \
34952 (cd $(TARGET_SUBDIR)/newlib && \
34953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34955 "RANLIB=$${RANLIB}" \
34956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34957 pdf) \
34958 || exit 1
34960 @endif target-newlib
34962 .PHONY: maybe-html-target-newlib html-target-newlib
34963 maybe-html-target-newlib:
34964 @if target-newlib
34965 maybe-html-target-newlib: html-target-newlib
34967 html-target-newlib: \
34968 configure-target-newlib
34969 @: $(MAKE); $(unstage)
34970 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34971 r=`${PWD_COMMAND}`; export r; \
34972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34973 $(NORMAL_TARGET_EXPORTS) \
34974 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
34975 for flag in $(EXTRA_TARGET_FLAGS); do \
34976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34977 done; \
34978 (cd $(TARGET_SUBDIR)/newlib && \
34979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34981 "RANLIB=$${RANLIB}" \
34982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34983 html) \
34984 || exit 1
34986 @endif target-newlib
34988 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
34989 maybe-TAGS-target-newlib:
34990 @if target-newlib
34991 maybe-TAGS-target-newlib: TAGS-target-newlib
34993 TAGS-target-newlib: \
34994 configure-target-newlib
34995 @: $(MAKE); $(unstage)
34996 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34997 r=`${PWD_COMMAND}`; export r; \
34998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34999 $(NORMAL_TARGET_EXPORTS) \
35000 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
35001 for flag in $(EXTRA_TARGET_FLAGS); do \
35002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35003 done; \
35004 (cd $(TARGET_SUBDIR)/newlib && \
35005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35007 "RANLIB=$${RANLIB}" \
35008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35009 TAGS) \
35010 || exit 1
35012 @endif target-newlib
35014 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
35015 maybe-install-info-target-newlib:
35016 @if target-newlib
35017 maybe-install-info-target-newlib: install-info-target-newlib
35019 install-info-target-newlib: \
35020 configure-target-newlib \
35021 info-target-newlib
35022 @: $(MAKE); $(unstage)
35023 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35024 r=`${PWD_COMMAND}`; export r; \
35025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35026 $(NORMAL_TARGET_EXPORTS) \
35027 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
35028 for flag in $(EXTRA_TARGET_FLAGS); do \
35029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35030 done; \
35031 (cd $(TARGET_SUBDIR)/newlib && \
35032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35034 "RANLIB=$${RANLIB}" \
35035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35036 install-info) \
35037 || exit 1
35039 @endif target-newlib
35041 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
35042 maybe-install-html-target-newlib:
35043 @if target-newlib
35044 maybe-install-html-target-newlib: install-html-target-newlib
35046 install-html-target-newlib: \
35047 configure-target-newlib \
35048 html-target-newlib
35049 @: $(MAKE); $(unstage)
35050 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35051 r=`${PWD_COMMAND}`; export r; \
35052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35053 $(NORMAL_TARGET_EXPORTS) \
35054 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
35055 for flag in $(EXTRA_TARGET_FLAGS); do \
35056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35057 done; \
35058 (cd $(TARGET_SUBDIR)/newlib && \
35059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35061 "RANLIB=$${RANLIB}" \
35062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35063 install-html) \
35064 || exit 1
35066 @endif target-newlib
35068 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
35069 maybe-installcheck-target-newlib:
35070 @if target-newlib
35071 maybe-installcheck-target-newlib: installcheck-target-newlib
35073 installcheck-target-newlib: \
35074 configure-target-newlib
35075 @: $(MAKE); $(unstage)
35076 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35077 r=`${PWD_COMMAND}`; export r; \
35078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35079 $(NORMAL_TARGET_EXPORTS) \
35080 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
35081 for flag in $(EXTRA_TARGET_FLAGS); do \
35082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35083 done; \
35084 (cd $(TARGET_SUBDIR)/newlib && \
35085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35087 "RANLIB=$${RANLIB}" \
35088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35089 installcheck) \
35090 || exit 1
35092 @endif target-newlib
35094 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
35095 maybe-mostlyclean-target-newlib:
35096 @if target-newlib
35097 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
35099 mostlyclean-target-newlib:
35100 @: $(MAKE); $(unstage)
35101 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35102 r=`${PWD_COMMAND}`; export r; \
35103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35104 $(NORMAL_TARGET_EXPORTS) \
35105 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
35106 for flag in $(EXTRA_TARGET_FLAGS); do \
35107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35108 done; \
35109 (cd $(TARGET_SUBDIR)/newlib && \
35110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35112 "RANLIB=$${RANLIB}" \
35113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35114 mostlyclean) \
35115 || exit 1
35117 @endif target-newlib
35119 .PHONY: maybe-clean-target-newlib clean-target-newlib
35120 maybe-clean-target-newlib:
35121 @if target-newlib
35122 maybe-clean-target-newlib: clean-target-newlib
35124 clean-target-newlib:
35125 @: $(MAKE); $(unstage)
35126 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35127 r=`${PWD_COMMAND}`; export r; \
35128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35129 $(NORMAL_TARGET_EXPORTS) \
35130 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
35131 for flag in $(EXTRA_TARGET_FLAGS); do \
35132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35133 done; \
35134 (cd $(TARGET_SUBDIR)/newlib && \
35135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35137 "RANLIB=$${RANLIB}" \
35138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35139 clean) \
35140 || exit 1
35142 @endif target-newlib
35144 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
35145 maybe-distclean-target-newlib:
35146 @if target-newlib
35147 maybe-distclean-target-newlib: distclean-target-newlib
35149 distclean-target-newlib:
35150 @: $(MAKE); $(unstage)
35151 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35152 r=`${PWD_COMMAND}`; export r; \
35153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35154 $(NORMAL_TARGET_EXPORTS) \
35155 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
35156 for flag in $(EXTRA_TARGET_FLAGS); do \
35157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35158 done; \
35159 (cd $(TARGET_SUBDIR)/newlib && \
35160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35162 "RANLIB=$${RANLIB}" \
35163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35164 distclean) \
35165 || exit 1
35167 @endif target-newlib
35169 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
35170 maybe-maintainer-clean-target-newlib:
35171 @if target-newlib
35172 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
35174 maintainer-clean-target-newlib:
35175 @: $(MAKE); $(unstage)
35176 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35177 r=`${PWD_COMMAND}`; export r; \
35178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35179 $(NORMAL_TARGET_EXPORTS) \
35180 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
35181 for flag in $(EXTRA_TARGET_FLAGS); do \
35182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35183 done; \
35184 (cd $(TARGET_SUBDIR)/newlib && \
35185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35187 "RANLIB=$${RANLIB}" \
35188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35189 maintainer-clean) \
35190 || exit 1
35192 @endif target-newlib
35198 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
35199 maybe-configure-target-libgcc:
35200 @if gcc-bootstrap
35201 configure-target-libgcc: stage_current
35202 @endif gcc-bootstrap
35203 @if target-libgcc
35204 maybe-configure-target-libgcc: configure-target-libgcc
35205 configure-target-libgcc:
35206 @r=`${PWD_COMMAND}`; export r; \
35207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35208 echo "Checking multilib configuration for libgcc..."; \
35209 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35210 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
35211 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35212 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35213 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
35214 else \
35215 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
35216 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35217 fi; \
35218 else \
35219 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35220 fi; \
35221 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
35222 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35223 $(NORMAL_TARGET_EXPORTS) \
35224 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
35225 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
35226 case $(srcdir) in \
35227 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35228 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35229 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35230 esac; \
35231 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35232 libsrcdir="$$s/libgcc"; \
35233 rm -f no-such-file || : ; \
35234 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35235 $(TARGET_CONFIGARGS) $${srcdiroption} \
35236 || exit 1
35237 @endif target-libgcc
35241 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
35242 maybe-configure-stage1-target-libgcc:
35243 @if target-libgcc-bootstrap
35244 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
35245 configure-stage1-target-libgcc:
35246 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
35247 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
35248 @r=`${PWD_COMMAND}`; export r; \
35249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35250 echo "Checking multilib configuration for libgcc..."; \
35251 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
35252 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35253 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35254 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
35255 else \
35256 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
35257 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35258 fi; \
35259 else \
35260 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35261 fi; \
35262 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
35263 $(NORMAL_TARGET_EXPORTS) \
35264 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
35265 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35266 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
35267 case $(srcdir) in \
35268 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35269 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35270 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35271 esac; \
35272 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35273 libsrcdir="$$s/libgcc"; \
35274 $(SHELL) $${libsrcdir}/configure \
35275 $(TARGET_CONFIGARGS) $${srcdiroption} \
35277 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
35278 @endif target-libgcc-bootstrap
35280 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
35281 maybe-configure-stage2-target-libgcc:
35282 @if target-libgcc-bootstrap
35283 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
35284 configure-stage2-target-libgcc:
35285 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
35286 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
35287 @r=`${PWD_COMMAND}`; export r; \
35288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35289 echo "Checking multilib configuration for libgcc..."; \
35290 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
35291 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35292 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35293 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
35294 else \
35295 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
35296 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35297 fi; \
35298 else \
35299 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35300 fi; \
35301 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
35302 $(NORMAL_TARGET_EXPORTS) \
35304 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
35305 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35306 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
35307 case $(srcdir) in \
35308 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35309 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35310 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35311 esac; \
35312 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35313 libsrcdir="$$s/libgcc"; \
35314 $(SHELL) $${libsrcdir}/configure \
35315 $(TARGET_CONFIGARGS) $${srcdiroption} \
35316 --with-build-libsubdir=$(HOST_SUBDIR) \
35317 @stage2_werror_flag@
35318 @endif target-libgcc-bootstrap
35320 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
35321 maybe-configure-stage3-target-libgcc:
35322 @if target-libgcc-bootstrap
35323 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
35324 configure-stage3-target-libgcc:
35325 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
35326 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
35327 @r=`${PWD_COMMAND}`; export r; \
35328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35329 echo "Checking multilib configuration for libgcc..."; \
35330 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
35331 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35332 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35333 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
35334 else \
35335 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
35336 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35337 fi; \
35338 else \
35339 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35340 fi; \
35341 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
35342 $(NORMAL_TARGET_EXPORTS) \
35344 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
35345 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35346 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
35347 case $(srcdir) in \
35348 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35349 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35350 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35351 esac; \
35352 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35353 libsrcdir="$$s/libgcc"; \
35354 $(SHELL) $${libsrcdir}/configure \
35355 $(TARGET_CONFIGARGS) $${srcdiroption} \
35356 --with-build-libsubdir=$(HOST_SUBDIR) \
35357 @stage2_werror_flag@
35358 @endif target-libgcc-bootstrap
35360 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
35361 maybe-configure-stage4-target-libgcc:
35362 @if target-libgcc-bootstrap
35363 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
35364 configure-stage4-target-libgcc:
35365 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
35366 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
35367 @r=`${PWD_COMMAND}`; export r; \
35368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35369 echo "Checking multilib configuration for libgcc..."; \
35370 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
35371 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35372 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35373 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
35374 else \
35375 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
35376 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35377 fi; \
35378 else \
35379 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35380 fi; \
35381 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
35382 $(NORMAL_TARGET_EXPORTS) \
35384 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
35385 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35386 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
35387 case $(srcdir) in \
35388 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35389 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35390 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35391 esac; \
35392 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35393 libsrcdir="$$s/libgcc"; \
35394 $(SHELL) $${libsrcdir}/configure \
35395 $(TARGET_CONFIGARGS) $${srcdiroption} \
35396 --with-build-libsubdir=$(HOST_SUBDIR) \
35397 @stage2_werror_flag@
35398 @endif target-libgcc-bootstrap
35400 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
35401 maybe-configure-stageprofile-target-libgcc:
35402 @if target-libgcc-bootstrap
35403 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
35404 configure-stageprofile-target-libgcc:
35405 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
35406 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
35407 @r=`${PWD_COMMAND}`; export r; \
35408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35409 echo "Checking multilib configuration for libgcc..."; \
35410 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
35411 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35412 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35413 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
35414 else \
35415 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
35416 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35417 fi; \
35418 else \
35419 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35420 fi; \
35421 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
35422 $(NORMAL_TARGET_EXPORTS) \
35424 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
35425 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35426 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
35427 case $(srcdir) in \
35428 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35429 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35430 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35431 esac; \
35432 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35433 libsrcdir="$$s/libgcc"; \
35434 $(SHELL) $${libsrcdir}/configure \
35435 $(TARGET_CONFIGARGS) $${srcdiroption} \
35436 --with-build-libsubdir=$(HOST_SUBDIR) \
35437 @stage2_werror_flag@
35438 @endif target-libgcc-bootstrap
35440 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
35441 maybe-configure-stagefeedback-target-libgcc:
35442 @if target-libgcc-bootstrap
35443 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
35444 configure-stagefeedback-target-libgcc:
35445 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
35446 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
35447 @r=`${PWD_COMMAND}`; export r; \
35448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35449 echo "Checking multilib configuration for libgcc..."; \
35450 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
35451 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35452 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35453 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
35454 else \
35455 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
35456 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35457 fi; \
35458 else \
35459 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35460 fi; \
35461 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
35462 $(NORMAL_TARGET_EXPORTS) \
35464 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
35465 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35466 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
35467 case $(srcdir) in \
35468 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35469 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35470 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35471 esac; \
35472 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35473 libsrcdir="$$s/libgcc"; \
35474 $(SHELL) $${libsrcdir}/configure \
35475 $(TARGET_CONFIGARGS) $${srcdiroption} \
35476 --with-build-libsubdir=$(HOST_SUBDIR) \
35477 @stage2_werror_flag@
35478 @endif target-libgcc-bootstrap
35484 .PHONY: all-target-libgcc maybe-all-target-libgcc
35485 maybe-all-target-libgcc:
35486 @if gcc-bootstrap
35487 all-target-libgcc: stage_current
35488 @endif gcc-bootstrap
35489 @if target-libgcc
35490 TARGET-target-libgcc=all
35491 maybe-all-target-libgcc: all-target-libgcc
35492 all-target-libgcc: configure-target-libgcc
35493 @r=`${PWD_COMMAND}`; export r; \
35494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35495 $(NORMAL_TARGET_EXPORTS) \
35496 (cd $(TARGET_SUBDIR)/libgcc && \
35497 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgcc))
35498 @endif target-libgcc
35502 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
35503 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
35504 maybe-all-stage1-target-libgcc:
35505 maybe-clean-stage1-target-libgcc:
35506 @if target-libgcc-bootstrap
35507 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
35508 all-stage1: all-stage1-target-libgcc
35509 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
35510 all-stage1-target-libgcc: configure-stage1-target-libgcc
35511 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
35512 @r=`${PWD_COMMAND}`; export r; \
35513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35514 $(NORMAL_TARGET_EXPORTS) \
35515 cd $(TARGET_SUBDIR)/libgcc && \
35516 $(MAKE) $(TARGET_FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
35517 $(TARGET-stage1-target-libgcc)
35519 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
35520 clean-stage1: clean-stage1-target-libgcc
35521 clean-stage1-target-libgcc:
35522 @if [ $(current_stage) = stage1 ]; then \
35523 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35524 else \
35525 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
35526 $(MAKE) stage1-start; \
35527 fi; \
35528 cd $(TARGET_SUBDIR)/libgcc && \
35529 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
35530 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
35531 @endif target-libgcc-bootstrap
35534 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
35535 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
35536 maybe-all-stage2-target-libgcc:
35537 maybe-clean-stage2-target-libgcc:
35538 @if target-libgcc-bootstrap
35539 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
35540 all-stage2: all-stage2-target-libgcc
35541 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
35542 all-stage2-target-libgcc: configure-stage2-target-libgcc
35543 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
35544 @r=`${PWD_COMMAND}`; export r; \
35545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35546 $(NORMAL_TARGET_EXPORTS) \
35548 cd $(TARGET_SUBDIR)/libgcc && \
35549 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
35550 $(TARGET-stage2-target-libgcc)
35552 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
35553 clean-stage2: clean-stage2-target-libgcc
35554 clean-stage2-target-libgcc:
35555 @if [ $(current_stage) = stage2 ]; then \
35556 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35557 else \
35558 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
35559 $(MAKE) stage2-start; \
35560 fi; \
35561 cd $(TARGET_SUBDIR)/libgcc && \
35562 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
35564 clean
35565 @endif target-libgcc-bootstrap
35568 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
35569 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
35570 maybe-all-stage3-target-libgcc:
35571 maybe-clean-stage3-target-libgcc:
35572 @if target-libgcc-bootstrap
35573 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
35574 all-stage3: all-stage3-target-libgcc
35575 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
35576 all-stage3-target-libgcc: configure-stage3-target-libgcc
35577 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
35578 @r=`${PWD_COMMAND}`; export r; \
35579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35580 $(NORMAL_TARGET_EXPORTS) \
35582 cd $(TARGET_SUBDIR)/libgcc && \
35583 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
35584 $(TARGET-stage3-target-libgcc)
35586 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
35587 clean-stage3: clean-stage3-target-libgcc
35588 clean-stage3-target-libgcc:
35589 @if [ $(current_stage) = stage3 ]; then \
35590 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35591 else \
35592 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
35593 $(MAKE) stage3-start; \
35594 fi; \
35595 cd $(TARGET_SUBDIR)/libgcc && \
35596 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
35598 clean
35599 @endif target-libgcc-bootstrap
35602 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
35603 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
35604 maybe-all-stage4-target-libgcc:
35605 maybe-clean-stage4-target-libgcc:
35606 @if target-libgcc-bootstrap
35607 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
35608 all-stage4: all-stage4-target-libgcc
35609 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
35610 all-stage4-target-libgcc: configure-stage4-target-libgcc
35611 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
35612 @r=`${PWD_COMMAND}`; export r; \
35613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35614 $(NORMAL_TARGET_EXPORTS) \
35616 cd $(TARGET_SUBDIR)/libgcc && \
35617 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
35618 $(TARGET-stage4-target-libgcc)
35620 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
35621 clean-stage4: clean-stage4-target-libgcc
35622 clean-stage4-target-libgcc:
35623 @if [ $(current_stage) = stage4 ]; then \
35624 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35625 else \
35626 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
35627 $(MAKE) stage4-start; \
35628 fi; \
35629 cd $(TARGET_SUBDIR)/libgcc && \
35630 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
35632 clean
35633 @endif target-libgcc-bootstrap
35636 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
35637 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
35638 maybe-all-stageprofile-target-libgcc:
35639 maybe-clean-stageprofile-target-libgcc:
35640 @if target-libgcc-bootstrap
35641 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
35642 all-stageprofile: all-stageprofile-target-libgcc
35643 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
35644 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
35645 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
35646 @r=`${PWD_COMMAND}`; export r; \
35647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35648 $(NORMAL_TARGET_EXPORTS) \
35650 cd $(TARGET_SUBDIR)/libgcc && \
35651 $(MAKE) $(TARGET_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
35652 $(TARGET-stageprofile-target-libgcc)
35654 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
35655 clean-stageprofile: clean-stageprofile-target-libgcc
35656 clean-stageprofile-target-libgcc:
35657 @if [ $(current_stage) = stageprofile ]; then \
35658 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35659 else \
35660 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
35661 $(MAKE) stageprofile-start; \
35662 fi; \
35663 cd $(TARGET_SUBDIR)/libgcc && \
35664 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
35666 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
35667 @endif target-libgcc-bootstrap
35670 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
35671 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
35672 maybe-all-stagefeedback-target-libgcc:
35673 maybe-clean-stagefeedback-target-libgcc:
35674 @if target-libgcc-bootstrap
35675 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
35676 all-stagefeedback: all-stagefeedback-target-libgcc
35677 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
35678 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
35679 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
35680 @r=`${PWD_COMMAND}`; export r; \
35681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35682 $(NORMAL_TARGET_EXPORTS) \
35684 cd $(TARGET_SUBDIR)/libgcc && \
35685 $(MAKE) $(TARGET_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
35686 $(TARGET-stagefeedback-target-libgcc)
35688 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
35689 clean-stagefeedback: clean-stagefeedback-target-libgcc
35690 clean-stagefeedback-target-libgcc:
35691 @if [ $(current_stage) = stagefeedback ]; then \
35692 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35693 else \
35694 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
35695 $(MAKE) stagefeedback-start; \
35696 fi; \
35697 cd $(TARGET_SUBDIR)/libgcc && \
35698 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
35700 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
35701 @endif target-libgcc-bootstrap
35708 .PHONY: check-target-libgcc maybe-check-target-libgcc
35709 maybe-check-target-libgcc:
35710 @if target-libgcc
35711 maybe-check-target-libgcc: check-target-libgcc
35713 # Dummy target for uncheckable module.
35714 check-target-libgcc:
35716 @endif target-libgcc
35718 .PHONY: install-target-libgcc maybe-install-target-libgcc
35719 maybe-install-target-libgcc:
35720 @if target-libgcc
35721 maybe-install-target-libgcc: install-target-libgcc
35723 install-target-libgcc: installdirs
35724 @: $(MAKE); $(unstage)
35725 @r=`${PWD_COMMAND}`; export r; \
35726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35727 $(NORMAL_TARGET_EXPORTS) \
35728 (cd $(TARGET_SUBDIR)/libgcc && \
35729 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35731 @endif target-libgcc
35733 # Other targets (info, dvi, pdf, etc.)
35735 .PHONY: maybe-info-target-libgcc info-target-libgcc
35736 maybe-info-target-libgcc:
35737 @if target-libgcc
35738 maybe-info-target-libgcc: info-target-libgcc
35740 info-target-libgcc: \
35741 configure-target-libgcc
35742 @: $(MAKE); $(unstage)
35743 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35744 r=`${PWD_COMMAND}`; export r; \
35745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35746 $(NORMAL_TARGET_EXPORTS) \
35747 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
35748 for flag in $(EXTRA_TARGET_FLAGS); do \
35749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35750 done; \
35751 (cd $(TARGET_SUBDIR)/libgcc && \
35752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35754 "RANLIB=$${RANLIB}" \
35755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35756 info) \
35757 || exit 1
35759 @endif target-libgcc
35761 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
35762 maybe-dvi-target-libgcc:
35763 @if target-libgcc
35764 maybe-dvi-target-libgcc: dvi-target-libgcc
35766 dvi-target-libgcc: \
35767 configure-target-libgcc
35768 @: $(MAKE); $(unstage)
35769 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35770 r=`${PWD_COMMAND}`; export r; \
35771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35772 $(NORMAL_TARGET_EXPORTS) \
35773 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
35774 for flag in $(EXTRA_TARGET_FLAGS); do \
35775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35776 done; \
35777 (cd $(TARGET_SUBDIR)/libgcc && \
35778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35780 "RANLIB=$${RANLIB}" \
35781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35782 dvi) \
35783 || exit 1
35785 @endif target-libgcc
35787 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
35788 maybe-pdf-target-libgcc:
35789 @if target-libgcc
35790 maybe-pdf-target-libgcc: pdf-target-libgcc
35792 pdf-target-libgcc: \
35793 configure-target-libgcc
35794 @: $(MAKE); $(unstage)
35795 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35796 r=`${PWD_COMMAND}`; export r; \
35797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35798 $(NORMAL_TARGET_EXPORTS) \
35799 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
35800 for flag in $(EXTRA_TARGET_FLAGS); do \
35801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35802 done; \
35803 (cd $(TARGET_SUBDIR)/libgcc && \
35804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35806 "RANLIB=$${RANLIB}" \
35807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35808 pdf) \
35809 || exit 1
35811 @endif target-libgcc
35813 .PHONY: maybe-html-target-libgcc html-target-libgcc
35814 maybe-html-target-libgcc:
35815 @if target-libgcc
35816 maybe-html-target-libgcc: html-target-libgcc
35818 html-target-libgcc: \
35819 configure-target-libgcc
35820 @: $(MAKE); $(unstage)
35821 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35822 r=`${PWD_COMMAND}`; export r; \
35823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35824 $(NORMAL_TARGET_EXPORTS) \
35825 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
35826 for flag in $(EXTRA_TARGET_FLAGS); do \
35827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35828 done; \
35829 (cd $(TARGET_SUBDIR)/libgcc && \
35830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35832 "RANLIB=$${RANLIB}" \
35833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35834 html) \
35835 || exit 1
35837 @endif target-libgcc
35839 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
35840 maybe-TAGS-target-libgcc:
35841 @if target-libgcc
35842 maybe-TAGS-target-libgcc: TAGS-target-libgcc
35844 TAGS-target-libgcc: \
35845 configure-target-libgcc
35846 @: $(MAKE); $(unstage)
35847 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35848 r=`${PWD_COMMAND}`; export r; \
35849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35850 $(NORMAL_TARGET_EXPORTS) \
35851 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
35852 for flag in $(EXTRA_TARGET_FLAGS); do \
35853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35854 done; \
35855 (cd $(TARGET_SUBDIR)/libgcc && \
35856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35858 "RANLIB=$${RANLIB}" \
35859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35860 TAGS) \
35861 || exit 1
35863 @endif target-libgcc
35865 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
35866 maybe-install-info-target-libgcc:
35867 @if target-libgcc
35868 maybe-install-info-target-libgcc: install-info-target-libgcc
35870 install-info-target-libgcc: \
35871 configure-target-libgcc \
35872 info-target-libgcc
35873 @: $(MAKE); $(unstage)
35874 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35875 r=`${PWD_COMMAND}`; export r; \
35876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35877 $(NORMAL_TARGET_EXPORTS) \
35878 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
35879 for flag in $(EXTRA_TARGET_FLAGS); do \
35880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35881 done; \
35882 (cd $(TARGET_SUBDIR)/libgcc && \
35883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35885 "RANLIB=$${RANLIB}" \
35886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35887 install-info) \
35888 || exit 1
35890 @endif target-libgcc
35892 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
35893 maybe-install-html-target-libgcc:
35894 @if target-libgcc
35895 maybe-install-html-target-libgcc: install-html-target-libgcc
35897 install-html-target-libgcc: \
35898 configure-target-libgcc \
35899 html-target-libgcc
35900 @: $(MAKE); $(unstage)
35901 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35902 r=`${PWD_COMMAND}`; export r; \
35903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35904 $(NORMAL_TARGET_EXPORTS) \
35905 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
35906 for flag in $(EXTRA_TARGET_FLAGS); do \
35907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35908 done; \
35909 (cd $(TARGET_SUBDIR)/libgcc && \
35910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35912 "RANLIB=$${RANLIB}" \
35913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35914 install-html) \
35915 || exit 1
35917 @endif target-libgcc
35919 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
35920 maybe-installcheck-target-libgcc:
35921 @if target-libgcc
35922 maybe-installcheck-target-libgcc: installcheck-target-libgcc
35924 installcheck-target-libgcc: \
35925 configure-target-libgcc
35926 @: $(MAKE); $(unstage)
35927 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35928 r=`${PWD_COMMAND}`; export r; \
35929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35930 $(NORMAL_TARGET_EXPORTS) \
35931 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
35932 for flag in $(EXTRA_TARGET_FLAGS); do \
35933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35934 done; \
35935 (cd $(TARGET_SUBDIR)/libgcc && \
35936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35938 "RANLIB=$${RANLIB}" \
35939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35940 installcheck) \
35941 || exit 1
35943 @endif target-libgcc
35945 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
35946 maybe-mostlyclean-target-libgcc:
35947 @if target-libgcc
35948 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
35950 mostlyclean-target-libgcc:
35951 @: $(MAKE); $(unstage)
35952 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35953 r=`${PWD_COMMAND}`; export r; \
35954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35955 $(NORMAL_TARGET_EXPORTS) \
35956 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
35957 for flag in $(EXTRA_TARGET_FLAGS); do \
35958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35959 done; \
35960 (cd $(TARGET_SUBDIR)/libgcc && \
35961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35963 "RANLIB=$${RANLIB}" \
35964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35965 mostlyclean) \
35966 || exit 1
35968 @endif target-libgcc
35970 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
35971 maybe-clean-target-libgcc:
35972 @if target-libgcc
35973 maybe-clean-target-libgcc: clean-target-libgcc
35975 clean-target-libgcc:
35976 @: $(MAKE); $(unstage)
35977 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35978 r=`${PWD_COMMAND}`; export r; \
35979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35980 $(NORMAL_TARGET_EXPORTS) \
35981 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
35982 for flag in $(EXTRA_TARGET_FLAGS); do \
35983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35984 done; \
35985 (cd $(TARGET_SUBDIR)/libgcc && \
35986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35988 "RANLIB=$${RANLIB}" \
35989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35990 clean) \
35991 || exit 1
35993 @endif target-libgcc
35995 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
35996 maybe-distclean-target-libgcc:
35997 @if target-libgcc
35998 maybe-distclean-target-libgcc: distclean-target-libgcc
36000 distclean-target-libgcc:
36001 @: $(MAKE); $(unstage)
36002 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
36003 r=`${PWD_COMMAND}`; export r; \
36004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36005 $(NORMAL_TARGET_EXPORTS) \
36006 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
36007 for flag in $(EXTRA_TARGET_FLAGS); do \
36008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36009 done; \
36010 (cd $(TARGET_SUBDIR)/libgcc && \
36011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36013 "RANLIB=$${RANLIB}" \
36014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36015 distclean) \
36016 || exit 1
36018 @endif target-libgcc
36020 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
36021 maybe-maintainer-clean-target-libgcc:
36022 @if target-libgcc
36023 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
36025 maintainer-clean-target-libgcc:
36026 @: $(MAKE); $(unstage)
36027 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
36028 r=`${PWD_COMMAND}`; export r; \
36029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36030 $(NORMAL_TARGET_EXPORTS) \
36031 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
36032 for flag in $(EXTRA_TARGET_FLAGS); do \
36033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36034 done; \
36035 (cd $(TARGET_SUBDIR)/libgcc && \
36036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36038 "RANLIB=$${RANLIB}" \
36039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36040 maintainer-clean) \
36041 || exit 1
36043 @endif target-libgcc
36049 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
36050 maybe-configure-target-libgfortran:
36051 @if gcc-bootstrap
36052 configure-target-libgfortran: stage_current
36053 @endif gcc-bootstrap
36054 @if target-libgfortran
36055 maybe-configure-target-libgfortran: configure-target-libgfortran
36056 configure-target-libgfortran:
36057 @: $(MAKE); $(unstage)
36058 @r=`${PWD_COMMAND}`; export r; \
36059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36060 echo "Checking multilib configuration for libgfortran..."; \
36061 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
36062 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
36063 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
36064 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
36065 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
36066 else \
36067 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
36068 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
36069 fi; \
36070 else \
36071 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
36072 fi; \
36073 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
36074 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
36075 $(NORMAL_TARGET_EXPORTS) \
36076 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
36077 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
36078 case $(srcdir) in \
36079 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36080 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
36081 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36082 esac; \
36083 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
36084 libsrcdir="$$s/libgfortran"; \
36085 rm -f no-such-file || : ; \
36086 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36087 $(TARGET_CONFIGARGS) $${srcdiroption} \
36088 || exit 1
36089 @endif target-libgfortran
36095 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
36096 maybe-all-target-libgfortran:
36097 @if gcc-bootstrap
36098 all-target-libgfortran: stage_current
36099 @endif gcc-bootstrap
36100 @if target-libgfortran
36101 TARGET-target-libgfortran=all
36102 maybe-all-target-libgfortran: all-target-libgfortran
36103 all-target-libgfortran: configure-target-libgfortran
36104 @: $(MAKE); $(unstage)
36105 @r=`${PWD_COMMAND}`; export r; \
36106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36107 $(NORMAL_TARGET_EXPORTS) \
36108 (cd $(TARGET_SUBDIR)/libgfortran && \
36109 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
36110 @endif target-libgfortran
36116 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
36117 maybe-check-target-libgfortran:
36118 @if target-libgfortran
36119 maybe-check-target-libgfortran: check-target-libgfortran
36121 check-target-libgfortran:
36122 @: $(MAKE); $(unstage)
36123 @r=`${PWD_COMMAND}`; export r; \
36124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36125 $(NORMAL_TARGET_EXPORTS) \
36126 (cd $(TARGET_SUBDIR)/libgfortran && \
36127 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36129 @endif target-libgfortran
36131 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
36132 maybe-install-target-libgfortran:
36133 @if target-libgfortran
36134 maybe-install-target-libgfortran: install-target-libgfortran
36136 install-target-libgfortran: installdirs
36137 @: $(MAKE); $(unstage)
36138 @r=`${PWD_COMMAND}`; export r; \
36139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36140 $(NORMAL_TARGET_EXPORTS) \
36141 (cd $(TARGET_SUBDIR)/libgfortran && \
36142 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36144 @endif target-libgfortran
36146 # Other targets (info, dvi, pdf, etc.)
36148 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
36149 maybe-info-target-libgfortran:
36150 @if target-libgfortran
36151 maybe-info-target-libgfortran: info-target-libgfortran
36153 info-target-libgfortran: \
36154 configure-target-libgfortran
36155 @: $(MAKE); $(unstage)
36156 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36157 r=`${PWD_COMMAND}`; export r; \
36158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36159 $(NORMAL_TARGET_EXPORTS) \
36160 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
36161 for flag in $(EXTRA_TARGET_FLAGS); do \
36162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36163 done; \
36164 (cd $(TARGET_SUBDIR)/libgfortran && \
36165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36167 "RANLIB=$${RANLIB}" \
36168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36169 info) \
36170 || exit 1
36172 @endif target-libgfortran
36174 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
36175 maybe-dvi-target-libgfortran:
36176 @if target-libgfortran
36177 maybe-dvi-target-libgfortran: dvi-target-libgfortran
36179 dvi-target-libgfortran: \
36180 configure-target-libgfortran
36181 @: $(MAKE); $(unstage)
36182 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36183 r=`${PWD_COMMAND}`; export r; \
36184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36185 $(NORMAL_TARGET_EXPORTS) \
36186 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
36187 for flag in $(EXTRA_TARGET_FLAGS); do \
36188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36189 done; \
36190 (cd $(TARGET_SUBDIR)/libgfortran && \
36191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36193 "RANLIB=$${RANLIB}" \
36194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36195 dvi) \
36196 || exit 1
36198 @endif target-libgfortran
36200 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
36201 maybe-pdf-target-libgfortran:
36202 @if target-libgfortran
36203 maybe-pdf-target-libgfortran: pdf-target-libgfortran
36205 pdf-target-libgfortran: \
36206 configure-target-libgfortran
36207 @: $(MAKE); $(unstage)
36208 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36209 r=`${PWD_COMMAND}`; export r; \
36210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36211 $(NORMAL_TARGET_EXPORTS) \
36212 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
36213 for flag in $(EXTRA_TARGET_FLAGS); do \
36214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36215 done; \
36216 (cd $(TARGET_SUBDIR)/libgfortran && \
36217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36219 "RANLIB=$${RANLIB}" \
36220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36221 pdf) \
36222 || exit 1
36224 @endif target-libgfortran
36226 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
36227 maybe-html-target-libgfortran:
36228 @if target-libgfortran
36229 maybe-html-target-libgfortran: html-target-libgfortran
36231 html-target-libgfortran: \
36232 configure-target-libgfortran
36233 @: $(MAKE); $(unstage)
36234 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36235 r=`${PWD_COMMAND}`; export r; \
36236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36237 $(NORMAL_TARGET_EXPORTS) \
36238 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
36239 for flag in $(EXTRA_TARGET_FLAGS); do \
36240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36241 done; \
36242 (cd $(TARGET_SUBDIR)/libgfortran && \
36243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36245 "RANLIB=$${RANLIB}" \
36246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36247 html) \
36248 || exit 1
36250 @endif target-libgfortran
36252 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
36253 maybe-TAGS-target-libgfortran:
36254 @if target-libgfortran
36255 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
36257 TAGS-target-libgfortran: \
36258 configure-target-libgfortran
36259 @: $(MAKE); $(unstage)
36260 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36261 r=`${PWD_COMMAND}`; export r; \
36262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36263 $(NORMAL_TARGET_EXPORTS) \
36264 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
36265 for flag in $(EXTRA_TARGET_FLAGS); do \
36266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36267 done; \
36268 (cd $(TARGET_SUBDIR)/libgfortran && \
36269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36271 "RANLIB=$${RANLIB}" \
36272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36273 TAGS) \
36274 || exit 1
36276 @endif target-libgfortran
36278 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
36279 maybe-install-info-target-libgfortran:
36280 @if target-libgfortran
36281 maybe-install-info-target-libgfortran: install-info-target-libgfortran
36283 install-info-target-libgfortran: \
36284 configure-target-libgfortran \
36285 info-target-libgfortran
36286 @: $(MAKE); $(unstage)
36287 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36288 r=`${PWD_COMMAND}`; export r; \
36289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36290 $(NORMAL_TARGET_EXPORTS) \
36291 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
36292 for flag in $(EXTRA_TARGET_FLAGS); do \
36293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36294 done; \
36295 (cd $(TARGET_SUBDIR)/libgfortran && \
36296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36298 "RANLIB=$${RANLIB}" \
36299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36300 install-info) \
36301 || exit 1
36303 @endif target-libgfortran
36305 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
36306 maybe-install-html-target-libgfortran:
36307 @if target-libgfortran
36308 maybe-install-html-target-libgfortran: install-html-target-libgfortran
36310 install-html-target-libgfortran: \
36311 configure-target-libgfortran \
36312 html-target-libgfortran
36313 @: $(MAKE); $(unstage)
36314 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36315 r=`${PWD_COMMAND}`; export r; \
36316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36317 $(NORMAL_TARGET_EXPORTS) \
36318 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
36319 for flag in $(EXTRA_TARGET_FLAGS); do \
36320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36321 done; \
36322 (cd $(TARGET_SUBDIR)/libgfortran && \
36323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36325 "RANLIB=$${RANLIB}" \
36326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36327 install-html) \
36328 || exit 1
36330 @endif target-libgfortran
36332 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
36333 maybe-installcheck-target-libgfortran:
36334 @if target-libgfortran
36335 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
36337 installcheck-target-libgfortran: \
36338 configure-target-libgfortran
36339 @: $(MAKE); $(unstage)
36340 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36341 r=`${PWD_COMMAND}`; export r; \
36342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36343 $(NORMAL_TARGET_EXPORTS) \
36344 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
36345 for flag in $(EXTRA_TARGET_FLAGS); do \
36346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36347 done; \
36348 (cd $(TARGET_SUBDIR)/libgfortran && \
36349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36351 "RANLIB=$${RANLIB}" \
36352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36353 installcheck) \
36354 || exit 1
36356 @endif target-libgfortran
36358 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
36359 maybe-mostlyclean-target-libgfortran:
36360 @if target-libgfortran
36361 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
36363 mostlyclean-target-libgfortran:
36364 @: $(MAKE); $(unstage)
36365 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36366 r=`${PWD_COMMAND}`; export r; \
36367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36368 $(NORMAL_TARGET_EXPORTS) \
36369 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
36370 for flag in $(EXTRA_TARGET_FLAGS); do \
36371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36372 done; \
36373 (cd $(TARGET_SUBDIR)/libgfortran && \
36374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36376 "RANLIB=$${RANLIB}" \
36377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36378 mostlyclean) \
36379 || exit 1
36381 @endif target-libgfortran
36383 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
36384 maybe-clean-target-libgfortran:
36385 @if target-libgfortran
36386 maybe-clean-target-libgfortran: clean-target-libgfortran
36388 clean-target-libgfortran:
36389 @: $(MAKE); $(unstage)
36390 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36391 r=`${PWD_COMMAND}`; export r; \
36392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36393 $(NORMAL_TARGET_EXPORTS) \
36394 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
36395 for flag in $(EXTRA_TARGET_FLAGS); do \
36396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36397 done; \
36398 (cd $(TARGET_SUBDIR)/libgfortran && \
36399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36401 "RANLIB=$${RANLIB}" \
36402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36403 clean) \
36404 || exit 1
36406 @endif target-libgfortran
36408 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
36409 maybe-distclean-target-libgfortran:
36410 @if target-libgfortran
36411 maybe-distclean-target-libgfortran: distclean-target-libgfortran
36413 distclean-target-libgfortran:
36414 @: $(MAKE); $(unstage)
36415 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36416 r=`${PWD_COMMAND}`; export r; \
36417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36418 $(NORMAL_TARGET_EXPORTS) \
36419 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
36420 for flag in $(EXTRA_TARGET_FLAGS); do \
36421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36422 done; \
36423 (cd $(TARGET_SUBDIR)/libgfortran && \
36424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36426 "RANLIB=$${RANLIB}" \
36427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36428 distclean) \
36429 || exit 1
36431 @endif target-libgfortran
36433 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
36434 maybe-maintainer-clean-target-libgfortran:
36435 @if target-libgfortran
36436 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
36438 maintainer-clean-target-libgfortran:
36439 @: $(MAKE); $(unstage)
36440 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36441 r=`${PWD_COMMAND}`; export r; \
36442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36443 $(NORMAL_TARGET_EXPORTS) \
36444 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
36445 for flag in $(EXTRA_TARGET_FLAGS); do \
36446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36447 done; \
36448 (cd $(TARGET_SUBDIR)/libgfortran && \
36449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36451 "RANLIB=$${RANLIB}" \
36452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36453 maintainer-clean) \
36454 || exit 1
36456 @endif target-libgfortran
36462 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
36463 maybe-configure-target-libobjc:
36464 @if gcc-bootstrap
36465 configure-target-libobjc: stage_current
36466 @endif gcc-bootstrap
36467 @if target-libobjc
36468 maybe-configure-target-libobjc: configure-target-libobjc
36469 configure-target-libobjc:
36470 @: $(MAKE); $(unstage)
36471 @r=`${PWD_COMMAND}`; export r; \
36472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36473 echo "Checking multilib configuration for libobjc..."; \
36474 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
36475 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
36476 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
36477 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
36478 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
36479 else \
36480 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
36481 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
36482 fi; \
36483 else \
36484 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
36485 fi; \
36486 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
36487 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
36488 $(NORMAL_TARGET_EXPORTS) \
36489 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
36490 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
36491 case $(srcdir) in \
36492 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36493 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
36494 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36495 esac; \
36496 srcdiroption="--srcdir=$${topdir}/libobjc"; \
36497 libsrcdir="$$s/libobjc"; \
36498 rm -f no-such-file || : ; \
36499 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36500 $(TARGET_CONFIGARGS) $${srcdiroption} \
36501 || exit 1
36502 @endif target-libobjc
36508 .PHONY: all-target-libobjc maybe-all-target-libobjc
36509 maybe-all-target-libobjc:
36510 @if gcc-bootstrap
36511 all-target-libobjc: stage_current
36512 @endif gcc-bootstrap
36513 @if target-libobjc
36514 TARGET-target-libobjc=all
36515 maybe-all-target-libobjc: all-target-libobjc
36516 all-target-libobjc: configure-target-libobjc
36517 @: $(MAKE); $(unstage)
36518 @r=`${PWD_COMMAND}`; export r; \
36519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36520 $(NORMAL_TARGET_EXPORTS) \
36521 (cd $(TARGET_SUBDIR)/libobjc && \
36522 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
36523 @endif target-libobjc
36529 .PHONY: check-target-libobjc maybe-check-target-libobjc
36530 maybe-check-target-libobjc:
36531 @if target-libobjc
36532 maybe-check-target-libobjc: check-target-libobjc
36534 check-target-libobjc:
36535 @: $(MAKE); $(unstage)
36536 @r=`${PWD_COMMAND}`; export r; \
36537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36538 $(NORMAL_TARGET_EXPORTS) \
36539 (cd $(TARGET_SUBDIR)/libobjc && \
36540 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36542 @endif target-libobjc
36544 .PHONY: install-target-libobjc maybe-install-target-libobjc
36545 maybe-install-target-libobjc:
36546 @if target-libobjc
36547 maybe-install-target-libobjc: install-target-libobjc
36549 install-target-libobjc: installdirs
36550 @: $(MAKE); $(unstage)
36551 @r=`${PWD_COMMAND}`; export r; \
36552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36553 $(NORMAL_TARGET_EXPORTS) \
36554 (cd $(TARGET_SUBDIR)/libobjc && \
36555 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36557 @endif target-libobjc
36559 # Other targets (info, dvi, pdf, etc.)
36561 .PHONY: maybe-info-target-libobjc info-target-libobjc
36562 maybe-info-target-libobjc:
36563 @if target-libobjc
36564 maybe-info-target-libobjc: info-target-libobjc
36566 info-target-libobjc: \
36567 configure-target-libobjc
36568 @: $(MAKE); $(unstage)
36569 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36570 r=`${PWD_COMMAND}`; export r; \
36571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36572 $(NORMAL_TARGET_EXPORTS) \
36573 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
36574 for flag in $(EXTRA_TARGET_FLAGS); do \
36575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36576 done; \
36577 (cd $(TARGET_SUBDIR)/libobjc && \
36578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36580 "RANLIB=$${RANLIB}" \
36581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36582 info) \
36583 || exit 1
36585 @endif target-libobjc
36587 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
36588 maybe-dvi-target-libobjc:
36589 @if target-libobjc
36590 maybe-dvi-target-libobjc: dvi-target-libobjc
36592 dvi-target-libobjc: \
36593 configure-target-libobjc
36594 @: $(MAKE); $(unstage)
36595 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36596 r=`${PWD_COMMAND}`; export r; \
36597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36598 $(NORMAL_TARGET_EXPORTS) \
36599 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
36600 for flag in $(EXTRA_TARGET_FLAGS); do \
36601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36602 done; \
36603 (cd $(TARGET_SUBDIR)/libobjc && \
36604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36606 "RANLIB=$${RANLIB}" \
36607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36608 dvi) \
36609 || exit 1
36611 @endif target-libobjc
36613 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
36614 maybe-pdf-target-libobjc:
36615 @if target-libobjc
36616 maybe-pdf-target-libobjc: pdf-target-libobjc
36618 pdf-target-libobjc: \
36619 configure-target-libobjc
36620 @: $(MAKE); $(unstage)
36621 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36622 r=`${PWD_COMMAND}`; export r; \
36623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36624 $(NORMAL_TARGET_EXPORTS) \
36625 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
36626 for flag in $(EXTRA_TARGET_FLAGS); do \
36627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36628 done; \
36629 (cd $(TARGET_SUBDIR)/libobjc && \
36630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36632 "RANLIB=$${RANLIB}" \
36633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36634 pdf) \
36635 || exit 1
36637 @endif target-libobjc
36639 .PHONY: maybe-html-target-libobjc html-target-libobjc
36640 maybe-html-target-libobjc:
36641 @if target-libobjc
36642 maybe-html-target-libobjc: html-target-libobjc
36644 html-target-libobjc: \
36645 configure-target-libobjc
36646 @: $(MAKE); $(unstage)
36647 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36648 r=`${PWD_COMMAND}`; export r; \
36649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36650 $(NORMAL_TARGET_EXPORTS) \
36651 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
36652 for flag in $(EXTRA_TARGET_FLAGS); do \
36653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36654 done; \
36655 (cd $(TARGET_SUBDIR)/libobjc && \
36656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36658 "RANLIB=$${RANLIB}" \
36659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36660 html) \
36661 || exit 1
36663 @endif target-libobjc
36665 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
36666 maybe-TAGS-target-libobjc:
36667 @if target-libobjc
36668 maybe-TAGS-target-libobjc: TAGS-target-libobjc
36670 TAGS-target-libobjc: \
36671 configure-target-libobjc
36672 @: $(MAKE); $(unstage)
36673 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36674 r=`${PWD_COMMAND}`; export r; \
36675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36676 $(NORMAL_TARGET_EXPORTS) \
36677 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
36678 for flag in $(EXTRA_TARGET_FLAGS); do \
36679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36680 done; \
36681 (cd $(TARGET_SUBDIR)/libobjc && \
36682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36684 "RANLIB=$${RANLIB}" \
36685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36686 TAGS) \
36687 || exit 1
36689 @endif target-libobjc
36691 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
36692 maybe-install-info-target-libobjc:
36693 @if target-libobjc
36694 maybe-install-info-target-libobjc: install-info-target-libobjc
36696 install-info-target-libobjc: \
36697 configure-target-libobjc \
36698 info-target-libobjc
36699 @: $(MAKE); $(unstage)
36700 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36701 r=`${PWD_COMMAND}`; export r; \
36702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36703 $(NORMAL_TARGET_EXPORTS) \
36704 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
36705 for flag in $(EXTRA_TARGET_FLAGS); do \
36706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36707 done; \
36708 (cd $(TARGET_SUBDIR)/libobjc && \
36709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36711 "RANLIB=$${RANLIB}" \
36712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36713 install-info) \
36714 || exit 1
36716 @endif target-libobjc
36718 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
36719 maybe-install-html-target-libobjc:
36720 @if target-libobjc
36721 maybe-install-html-target-libobjc: install-html-target-libobjc
36723 install-html-target-libobjc: \
36724 configure-target-libobjc \
36725 html-target-libobjc
36726 @: $(MAKE); $(unstage)
36727 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36728 r=`${PWD_COMMAND}`; export r; \
36729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36730 $(NORMAL_TARGET_EXPORTS) \
36731 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
36732 for flag in $(EXTRA_TARGET_FLAGS); do \
36733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36734 done; \
36735 (cd $(TARGET_SUBDIR)/libobjc && \
36736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36738 "RANLIB=$${RANLIB}" \
36739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36740 install-html) \
36741 || exit 1
36743 @endif target-libobjc
36745 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
36746 maybe-installcheck-target-libobjc:
36747 @if target-libobjc
36748 maybe-installcheck-target-libobjc: installcheck-target-libobjc
36750 installcheck-target-libobjc: \
36751 configure-target-libobjc
36752 @: $(MAKE); $(unstage)
36753 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36754 r=`${PWD_COMMAND}`; export r; \
36755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36756 $(NORMAL_TARGET_EXPORTS) \
36757 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
36758 for flag in $(EXTRA_TARGET_FLAGS); do \
36759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36760 done; \
36761 (cd $(TARGET_SUBDIR)/libobjc && \
36762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36764 "RANLIB=$${RANLIB}" \
36765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36766 installcheck) \
36767 || exit 1
36769 @endif target-libobjc
36771 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
36772 maybe-mostlyclean-target-libobjc:
36773 @if target-libobjc
36774 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
36776 mostlyclean-target-libobjc:
36777 @: $(MAKE); $(unstage)
36778 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36779 r=`${PWD_COMMAND}`; export r; \
36780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36781 $(NORMAL_TARGET_EXPORTS) \
36782 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
36783 for flag in $(EXTRA_TARGET_FLAGS); do \
36784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36785 done; \
36786 (cd $(TARGET_SUBDIR)/libobjc && \
36787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36789 "RANLIB=$${RANLIB}" \
36790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36791 mostlyclean) \
36792 || exit 1
36794 @endif target-libobjc
36796 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
36797 maybe-clean-target-libobjc:
36798 @if target-libobjc
36799 maybe-clean-target-libobjc: clean-target-libobjc
36801 clean-target-libobjc:
36802 @: $(MAKE); $(unstage)
36803 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36804 r=`${PWD_COMMAND}`; export r; \
36805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36806 $(NORMAL_TARGET_EXPORTS) \
36807 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
36808 for flag in $(EXTRA_TARGET_FLAGS); do \
36809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36810 done; \
36811 (cd $(TARGET_SUBDIR)/libobjc && \
36812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36814 "RANLIB=$${RANLIB}" \
36815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36816 clean) \
36817 || exit 1
36819 @endif target-libobjc
36821 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
36822 maybe-distclean-target-libobjc:
36823 @if target-libobjc
36824 maybe-distclean-target-libobjc: distclean-target-libobjc
36826 distclean-target-libobjc:
36827 @: $(MAKE); $(unstage)
36828 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36829 r=`${PWD_COMMAND}`; export r; \
36830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36831 $(NORMAL_TARGET_EXPORTS) \
36832 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
36833 for flag in $(EXTRA_TARGET_FLAGS); do \
36834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36835 done; \
36836 (cd $(TARGET_SUBDIR)/libobjc && \
36837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36839 "RANLIB=$${RANLIB}" \
36840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36841 distclean) \
36842 || exit 1
36844 @endif target-libobjc
36846 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
36847 maybe-maintainer-clean-target-libobjc:
36848 @if target-libobjc
36849 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
36851 maintainer-clean-target-libobjc:
36852 @: $(MAKE); $(unstage)
36853 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36854 r=`${PWD_COMMAND}`; export r; \
36855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36856 $(NORMAL_TARGET_EXPORTS) \
36857 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
36858 for flag in $(EXTRA_TARGET_FLAGS); do \
36859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36860 done; \
36861 (cd $(TARGET_SUBDIR)/libobjc && \
36862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36864 "RANLIB=$${RANLIB}" \
36865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36866 maintainer-clean) \
36867 || exit 1
36869 @endif target-libobjc
36875 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
36876 maybe-configure-target-libtermcap:
36877 @if gcc-bootstrap
36878 configure-target-libtermcap: stage_current
36879 @endif gcc-bootstrap
36880 @if target-libtermcap
36881 maybe-configure-target-libtermcap: configure-target-libtermcap
36882 configure-target-libtermcap:
36883 @: $(MAKE); $(unstage)
36884 @r=`${PWD_COMMAND}`; export r; \
36885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36886 echo "Checking multilib configuration for libtermcap..."; \
36887 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
36888 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
36889 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
36890 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
36891 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
36892 else \
36893 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
36894 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
36895 fi; \
36896 else \
36897 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
36898 fi; \
36899 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
36900 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
36901 $(NORMAL_TARGET_EXPORTS) \
36902 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
36903 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
36904 case $(srcdir) in \
36905 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36906 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
36907 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36908 esac; \
36909 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
36910 libsrcdir="$$s/libtermcap"; \
36911 rm -f no-such-file || : ; \
36912 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36913 $(TARGET_CONFIGARGS) $${srcdiroption} \
36914 || exit 1
36915 @endif target-libtermcap
36921 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
36922 maybe-all-target-libtermcap:
36923 @if gcc-bootstrap
36924 all-target-libtermcap: stage_current
36925 @endif gcc-bootstrap
36926 @if target-libtermcap
36927 TARGET-target-libtermcap=all
36928 maybe-all-target-libtermcap: all-target-libtermcap
36929 all-target-libtermcap: configure-target-libtermcap
36930 @: $(MAKE); $(unstage)
36931 @r=`${PWD_COMMAND}`; export r; \
36932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36933 $(NORMAL_TARGET_EXPORTS) \
36934 (cd $(TARGET_SUBDIR)/libtermcap && \
36935 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
36936 @endif target-libtermcap
36942 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
36943 maybe-check-target-libtermcap:
36944 @if target-libtermcap
36945 maybe-check-target-libtermcap: check-target-libtermcap
36947 # Dummy target for uncheckable module.
36948 check-target-libtermcap:
36950 @endif target-libtermcap
36952 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
36953 maybe-install-target-libtermcap:
36954 @if target-libtermcap
36955 maybe-install-target-libtermcap: install-target-libtermcap
36957 install-target-libtermcap: installdirs
36958 @: $(MAKE); $(unstage)
36959 @r=`${PWD_COMMAND}`; export r; \
36960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36961 $(NORMAL_TARGET_EXPORTS) \
36962 (cd $(TARGET_SUBDIR)/libtermcap && \
36963 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36965 @endif target-libtermcap
36967 # Other targets (info, dvi, pdf, etc.)
36969 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
36970 maybe-info-target-libtermcap:
36971 @if target-libtermcap
36972 maybe-info-target-libtermcap: info-target-libtermcap
36974 info-target-libtermcap: \
36975 configure-target-libtermcap
36976 @: $(MAKE); $(unstage)
36977 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36978 r=`${PWD_COMMAND}`; export r; \
36979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36980 $(NORMAL_TARGET_EXPORTS) \
36981 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
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)/libtermcap && \
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 info) \
36991 || exit 1
36993 @endif target-libtermcap
36995 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
36996 maybe-dvi-target-libtermcap:
36997 @if target-libtermcap
36998 maybe-dvi-target-libtermcap: dvi-target-libtermcap
37000 dvi-target-libtermcap: \
37001 configure-target-libtermcap
37002 @: $(MAKE); $(unstage)
37003 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37004 r=`${PWD_COMMAND}`; export r; \
37005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37006 $(NORMAL_TARGET_EXPORTS) \
37007 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
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)/libtermcap && \
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 dvi) \
37017 || exit 1
37019 @endif target-libtermcap
37021 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
37022 maybe-pdf-target-libtermcap:
37023 @if target-libtermcap
37024 maybe-pdf-target-libtermcap: pdf-target-libtermcap
37026 pdf-target-libtermcap: \
37027 configure-target-libtermcap
37028 @: $(MAKE); $(unstage)
37029 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37030 r=`${PWD_COMMAND}`; export r; \
37031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37032 $(NORMAL_TARGET_EXPORTS) \
37033 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
37034 for flag in $(EXTRA_TARGET_FLAGS); do \
37035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37036 done; \
37037 (cd $(TARGET_SUBDIR)/libtermcap && \
37038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37040 "RANLIB=$${RANLIB}" \
37041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37042 pdf) \
37043 || exit 1
37045 @endif target-libtermcap
37047 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
37048 maybe-html-target-libtermcap:
37049 @if target-libtermcap
37050 maybe-html-target-libtermcap: html-target-libtermcap
37052 html-target-libtermcap: \
37053 configure-target-libtermcap
37054 @: $(MAKE); $(unstage)
37055 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37056 r=`${PWD_COMMAND}`; export r; \
37057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37058 $(NORMAL_TARGET_EXPORTS) \
37059 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
37060 for flag in $(EXTRA_TARGET_FLAGS); do \
37061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37062 done; \
37063 (cd $(TARGET_SUBDIR)/libtermcap && \
37064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37066 "RANLIB=$${RANLIB}" \
37067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37068 html) \
37069 || exit 1
37071 @endif target-libtermcap
37073 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
37074 maybe-TAGS-target-libtermcap:
37075 @if target-libtermcap
37076 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
37078 TAGS-target-libtermcap: \
37079 configure-target-libtermcap
37080 @: $(MAKE); $(unstage)
37081 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37082 r=`${PWD_COMMAND}`; export r; \
37083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37084 $(NORMAL_TARGET_EXPORTS) \
37085 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
37086 for flag in $(EXTRA_TARGET_FLAGS); do \
37087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37088 done; \
37089 (cd $(TARGET_SUBDIR)/libtermcap && \
37090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37092 "RANLIB=$${RANLIB}" \
37093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37094 TAGS) \
37095 || exit 1
37097 @endif target-libtermcap
37099 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
37100 maybe-install-info-target-libtermcap:
37101 @if target-libtermcap
37102 maybe-install-info-target-libtermcap: install-info-target-libtermcap
37104 install-info-target-libtermcap: \
37105 configure-target-libtermcap \
37106 info-target-libtermcap
37107 @: $(MAKE); $(unstage)
37108 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37109 r=`${PWD_COMMAND}`; export r; \
37110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37111 $(NORMAL_TARGET_EXPORTS) \
37112 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
37113 for flag in $(EXTRA_TARGET_FLAGS); do \
37114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37115 done; \
37116 (cd $(TARGET_SUBDIR)/libtermcap && \
37117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37119 "RANLIB=$${RANLIB}" \
37120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37121 install-info) \
37122 || exit 1
37124 @endif target-libtermcap
37126 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
37127 maybe-install-html-target-libtermcap:
37128 @if target-libtermcap
37129 maybe-install-html-target-libtermcap: install-html-target-libtermcap
37131 install-html-target-libtermcap: \
37132 configure-target-libtermcap \
37133 html-target-libtermcap
37134 @: $(MAKE); $(unstage)
37135 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37136 r=`${PWD_COMMAND}`; export r; \
37137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37138 $(NORMAL_TARGET_EXPORTS) \
37139 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
37140 for flag in $(EXTRA_TARGET_FLAGS); do \
37141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37142 done; \
37143 (cd $(TARGET_SUBDIR)/libtermcap && \
37144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37146 "RANLIB=$${RANLIB}" \
37147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37148 install-html) \
37149 || exit 1
37151 @endif target-libtermcap
37153 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
37154 maybe-installcheck-target-libtermcap:
37155 @if target-libtermcap
37156 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
37158 installcheck-target-libtermcap: \
37159 configure-target-libtermcap
37160 @: $(MAKE); $(unstage)
37161 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37162 r=`${PWD_COMMAND}`; export r; \
37163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37164 $(NORMAL_TARGET_EXPORTS) \
37165 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
37166 for flag in $(EXTRA_TARGET_FLAGS); do \
37167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37168 done; \
37169 (cd $(TARGET_SUBDIR)/libtermcap && \
37170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37172 "RANLIB=$${RANLIB}" \
37173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37174 installcheck) \
37175 || exit 1
37177 @endif target-libtermcap
37179 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
37180 maybe-mostlyclean-target-libtermcap:
37181 @if target-libtermcap
37182 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
37184 # libtermcap doesn't support mostlyclean.
37185 mostlyclean-target-libtermcap:
37187 @endif target-libtermcap
37189 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
37190 maybe-clean-target-libtermcap:
37191 @if target-libtermcap
37192 maybe-clean-target-libtermcap: clean-target-libtermcap
37194 # libtermcap doesn't support clean.
37195 clean-target-libtermcap:
37197 @endif target-libtermcap
37199 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
37200 maybe-distclean-target-libtermcap:
37201 @if target-libtermcap
37202 maybe-distclean-target-libtermcap: distclean-target-libtermcap
37204 # libtermcap doesn't support distclean.
37205 distclean-target-libtermcap:
37207 @endif target-libtermcap
37209 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
37210 maybe-maintainer-clean-target-libtermcap:
37211 @if target-libtermcap
37212 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
37214 # libtermcap doesn't support maintainer-clean.
37215 maintainer-clean-target-libtermcap:
37217 @endif target-libtermcap
37223 .PHONY: configure-target-winsup maybe-configure-target-winsup
37224 maybe-configure-target-winsup:
37225 @if gcc-bootstrap
37226 configure-target-winsup: stage_current
37227 @endif gcc-bootstrap
37228 @if target-winsup
37229 maybe-configure-target-winsup: configure-target-winsup
37230 configure-target-winsup:
37231 @: $(MAKE); $(unstage)
37232 @r=`${PWD_COMMAND}`; export r; \
37233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37234 echo "Checking multilib configuration for winsup..."; \
37235 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
37236 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
37237 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
37238 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
37239 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
37240 else \
37241 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
37242 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
37243 fi; \
37244 else \
37245 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
37246 fi; \
37247 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
37248 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
37249 $(NORMAL_TARGET_EXPORTS) \
37250 echo Configuring in $(TARGET_SUBDIR)/winsup; \
37251 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
37252 case $(srcdir) in \
37253 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37254 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
37255 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37256 esac; \
37257 srcdiroption="--srcdir=$${topdir}/winsup"; \
37258 libsrcdir="$$s/winsup"; \
37259 rm -f no-such-file || : ; \
37260 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37261 $(TARGET_CONFIGARGS) $${srcdiroption} \
37262 || exit 1
37263 @endif target-winsup
37269 .PHONY: all-target-winsup maybe-all-target-winsup
37270 maybe-all-target-winsup:
37271 @if gcc-bootstrap
37272 all-target-winsup: stage_current
37273 @endif gcc-bootstrap
37274 @if target-winsup
37275 TARGET-target-winsup=all
37276 maybe-all-target-winsup: all-target-winsup
37277 all-target-winsup: configure-target-winsup
37278 @: $(MAKE); $(unstage)
37279 @r=`${PWD_COMMAND}`; export r; \
37280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37281 $(NORMAL_TARGET_EXPORTS) \
37282 (cd $(TARGET_SUBDIR)/winsup && \
37283 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
37284 @endif target-winsup
37290 .PHONY: check-target-winsup maybe-check-target-winsup
37291 maybe-check-target-winsup:
37292 @if target-winsup
37293 maybe-check-target-winsup: check-target-winsup
37295 check-target-winsup:
37296 @: $(MAKE); $(unstage)
37297 @r=`${PWD_COMMAND}`; export r; \
37298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37299 $(NORMAL_TARGET_EXPORTS) \
37300 (cd $(TARGET_SUBDIR)/winsup && \
37301 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37303 @endif target-winsup
37305 .PHONY: install-target-winsup maybe-install-target-winsup
37306 maybe-install-target-winsup:
37307 @if target-winsup
37308 maybe-install-target-winsup: install-target-winsup
37310 install-target-winsup: installdirs
37311 @: $(MAKE); $(unstage)
37312 @r=`${PWD_COMMAND}`; export r; \
37313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37314 $(NORMAL_TARGET_EXPORTS) \
37315 (cd $(TARGET_SUBDIR)/winsup && \
37316 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37318 @endif target-winsup
37320 # Other targets (info, dvi, pdf, etc.)
37322 .PHONY: maybe-info-target-winsup info-target-winsup
37323 maybe-info-target-winsup:
37324 @if target-winsup
37325 maybe-info-target-winsup: info-target-winsup
37327 info-target-winsup: \
37328 configure-target-winsup
37329 @: $(MAKE); $(unstage)
37330 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37331 r=`${PWD_COMMAND}`; export r; \
37332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37333 $(NORMAL_TARGET_EXPORTS) \
37334 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
37335 for flag in $(EXTRA_TARGET_FLAGS); do \
37336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37337 done; \
37338 (cd $(TARGET_SUBDIR)/winsup && \
37339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37341 "RANLIB=$${RANLIB}" \
37342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37343 info) \
37344 || exit 1
37346 @endif target-winsup
37348 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
37349 maybe-dvi-target-winsup:
37350 @if target-winsup
37351 maybe-dvi-target-winsup: dvi-target-winsup
37353 dvi-target-winsup: \
37354 configure-target-winsup
37355 @: $(MAKE); $(unstage)
37356 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37357 r=`${PWD_COMMAND}`; export r; \
37358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37359 $(NORMAL_TARGET_EXPORTS) \
37360 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
37361 for flag in $(EXTRA_TARGET_FLAGS); do \
37362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37363 done; \
37364 (cd $(TARGET_SUBDIR)/winsup && \
37365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37367 "RANLIB=$${RANLIB}" \
37368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37369 dvi) \
37370 || exit 1
37372 @endif target-winsup
37374 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
37375 maybe-pdf-target-winsup:
37376 @if target-winsup
37377 maybe-pdf-target-winsup: pdf-target-winsup
37379 pdf-target-winsup: \
37380 configure-target-winsup
37381 @: $(MAKE); $(unstage)
37382 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37383 r=`${PWD_COMMAND}`; export r; \
37384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37385 $(NORMAL_TARGET_EXPORTS) \
37386 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
37387 for flag in $(EXTRA_TARGET_FLAGS); do \
37388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37389 done; \
37390 (cd $(TARGET_SUBDIR)/winsup && \
37391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37393 "RANLIB=$${RANLIB}" \
37394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37395 pdf) \
37396 || exit 1
37398 @endif target-winsup
37400 .PHONY: maybe-html-target-winsup html-target-winsup
37401 maybe-html-target-winsup:
37402 @if target-winsup
37403 maybe-html-target-winsup: html-target-winsup
37405 html-target-winsup: \
37406 configure-target-winsup
37407 @: $(MAKE); $(unstage)
37408 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37409 r=`${PWD_COMMAND}`; export r; \
37410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37411 $(NORMAL_TARGET_EXPORTS) \
37412 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
37413 for flag in $(EXTRA_TARGET_FLAGS); do \
37414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37415 done; \
37416 (cd $(TARGET_SUBDIR)/winsup && \
37417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37419 "RANLIB=$${RANLIB}" \
37420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37421 html) \
37422 || exit 1
37424 @endif target-winsup
37426 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
37427 maybe-TAGS-target-winsup:
37428 @if target-winsup
37429 maybe-TAGS-target-winsup: TAGS-target-winsup
37431 TAGS-target-winsup: \
37432 configure-target-winsup
37433 @: $(MAKE); $(unstage)
37434 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37435 r=`${PWD_COMMAND}`; export r; \
37436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37437 $(NORMAL_TARGET_EXPORTS) \
37438 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
37439 for flag in $(EXTRA_TARGET_FLAGS); do \
37440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37441 done; \
37442 (cd $(TARGET_SUBDIR)/winsup && \
37443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37445 "RANLIB=$${RANLIB}" \
37446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37447 TAGS) \
37448 || exit 1
37450 @endif target-winsup
37452 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
37453 maybe-install-info-target-winsup:
37454 @if target-winsup
37455 maybe-install-info-target-winsup: install-info-target-winsup
37457 install-info-target-winsup: \
37458 configure-target-winsup \
37459 info-target-winsup
37460 @: $(MAKE); $(unstage)
37461 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37462 r=`${PWD_COMMAND}`; export r; \
37463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37464 $(NORMAL_TARGET_EXPORTS) \
37465 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
37466 for flag in $(EXTRA_TARGET_FLAGS); do \
37467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37468 done; \
37469 (cd $(TARGET_SUBDIR)/winsup && \
37470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37472 "RANLIB=$${RANLIB}" \
37473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37474 install-info) \
37475 || exit 1
37477 @endif target-winsup
37479 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
37480 maybe-install-html-target-winsup:
37481 @if target-winsup
37482 maybe-install-html-target-winsup: install-html-target-winsup
37484 install-html-target-winsup: \
37485 configure-target-winsup \
37486 html-target-winsup
37487 @: $(MAKE); $(unstage)
37488 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37489 r=`${PWD_COMMAND}`; export r; \
37490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37491 $(NORMAL_TARGET_EXPORTS) \
37492 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
37493 for flag in $(EXTRA_TARGET_FLAGS); do \
37494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37495 done; \
37496 (cd $(TARGET_SUBDIR)/winsup && \
37497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37499 "RANLIB=$${RANLIB}" \
37500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37501 install-html) \
37502 || exit 1
37504 @endif target-winsup
37506 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
37507 maybe-installcheck-target-winsup:
37508 @if target-winsup
37509 maybe-installcheck-target-winsup: installcheck-target-winsup
37511 installcheck-target-winsup: \
37512 configure-target-winsup
37513 @: $(MAKE); $(unstage)
37514 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37515 r=`${PWD_COMMAND}`; export r; \
37516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37517 $(NORMAL_TARGET_EXPORTS) \
37518 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
37519 for flag in $(EXTRA_TARGET_FLAGS); do \
37520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37521 done; \
37522 (cd $(TARGET_SUBDIR)/winsup && \
37523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37525 "RANLIB=$${RANLIB}" \
37526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37527 installcheck) \
37528 || exit 1
37530 @endif target-winsup
37532 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
37533 maybe-mostlyclean-target-winsup:
37534 @if target-winsup
37535 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
37537 mostlyclean-target-winsup:
37538 @: $(MAKE); $(unstage)
37539 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37540 r=`${PWD_COMMAND}`; export r; \
37541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37542 $(NORMAL_TARGET_EXPORTS) \
37543 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
37544 for flag in $(EXTRA_TARGET_FLAGS); do \
37545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37546 done; \
37547 (cd $(TARGET_SUBDIR)/winsup && \
37548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37550 "RANLIB=$${RANLIB}" \
37551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37552 mostlyclean) \
37553 || exit 1
37555 @endif target-winsup
37557 .PHONY: maybe-clean-target-winsup clean-target-winsup
37558 maybe-clean-target-winsup:
37559 @if target-winsup
37560 maybe-clean-target-winsup: clean-target-winsup
37562 clean-target-winsup:
37563 @: $(MAKE); $(unstage)
37564 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37565 r=`${PWD_COMMAND}`; export r; \
37566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37567 $(NORMAL_TARGET_EXPORTS) \
37568 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
37569 for flag in $(EXTRA_TARGET_FLAGS); do \
37570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37571 done; \
37572 (cd $(TARGET_SUBDIR)/winsup && \
37573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37575 "RANLIB=$${RANLIB}" \
37576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37577 clean) \
37578 || exit 1
37580 @endif target-winsup
37582 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
37583 maybe-distclean-target-winsup:
37584 @if target-winsup
37585 maybe-distclean-target-winsup: distclean-target-winsup
37587 distclean-target-winsup:
37588 @: $(MAKE); $(unstage)
37589 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37590 r=`${PWD_COMMAND}`; export r; \
37591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37592 $(NORMAL_TARGET_EXPORTS) \
37593 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
37594 for flag in $(EXTRA_TARGET_FLAGS); do \
37595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37596 done; \
37597 (cd $(TARGET_SUBDIR)/winsup && \
37598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37600 "RANLIB=$${RANLIB}" \
37601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37602 distclean) \
37603 || exit 1
37605 @endif target-winsup
37607 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
37608 maybe-maintainer-clean-target-winsup:
37609 @if target-winsup
37610 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
37612 maintainer-clean-target-winsup:
37613 @: $(MAKE); $(unstage)
37614 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37615 r=`${PWD_COMMAND}`; export r; \
37616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37617 $(NORMAL_TARGET_EXPORTS) \
37618 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
37619 for flag in $(EXTRA_TARGET_FLAGS); do \
37620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37621 done; \
37622 (cd $(TARGET_SUBDIR)/winsup && \
37623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37625 "RANLIB=$${RANLIB}" \
37626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37627 maintainer-clean) \
37628 || exit 1
37630 @endif target-winsup
37636 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
37637 maybe-configure-target-libgloss:
37638 @if gcc-bootstrap
37639 configure-target-libgloss: stage_current
37640 @endif gcc-bootstrap
37641 @if target-libgloss
37642 maybe-configure-target-libgloss: configure-target-libgloss
37643 configure-target-libgloss:
37644 @: $(MAKE); $(unstage)
37645 @r=`${PWD_COMMAND}`; export r; \
37646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37647 echo "Checking multilib configuration for libgloss..."; \
37648 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
37649 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
37650 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
37651 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
37652 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
37653 else \
37654 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
37655 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
37656 fi; \
37657 else \
37658 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
37659 fi; \
37660 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
37661 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
37662 $(NORMAL_TARGET_EXPORTS) \
37663 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
37664 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
37665 case $(srcdir) in \
37666 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37667 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
37668 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37669 esac; \
37670 srcdiroption="--srcdir=$${topdir}/libgloss"; \
37671 libsrcdir="$$s/libgloss"; \
37672 rm -f no-such-file || : ; \
37673 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37674 $(TARGET_CONFIGARGS) $${srcdiroption} \
37675 || exit 1
37676 @endif target-libgloss
37682 .PHONY: all-target-libgloss maybe-all-target-libgloss
37683 maybe-all-target-libgloss:
37684 @if gcc-bootstrap
37685 all-target-libgloss: stage_current
37686 @endif gcc-bootstrap
37687 @if target-libgloss
37688 TARGET-target-libgloss=all
37689 maybe-all-target-libgloss: all-target-libgloss
37690 all-target-libgloss: configure-target-libgloss
37691 @: $(MAKE); $(unstage)
37692 @r=`${PWD_COMMAND}`; export r; \
37693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37694 $(NORMAL_TARGET_EXPORTS) \
37695 (cd $(TARGET_SUBDIR)/libgloss && \
37696 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
37697 @endif target-libgloss
37703 .PHONY: check-target-libgloss maybe-check-target-libgloss
37704 maybe-check-target-libgloss:
37705 @if target-libgloss
37706 maybe-check-target-libgloss: check-target-libgloss
37708 # Dummy target for uncheckable module.
37709 check-target-libgloss:
37711 @endif target-libgloss
37713 .PHONY: install-target-libgloss maybe-install-target-libgloss
37714 maybe-install-target-libgloss:
37715 @if target-libgloss
37716 maybe-install-target-libgloss: install-target-libgloss
37718 install-target-libgloss: installdirs
37719 @: $(MAKE); $(unstage)
37720 @r=`${PWD_COMMAND}`; export r; \
37721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37722 $(NORMAL_TARGET_EXPORTS) \
37723 (cd $(TARGET_SUBDIR)/libgloss && \
37724 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37726 @endif target-libgloss
37728 # Other targets (info, dvi, pdf, etc.)
37730 .PHONY: maybe-info-target-libgloss info-target-libgloss
37731 maybe-info-target-libgloss:
37732 @if target-libgloss
37733 maybe-info-target-libgloss: info-target-libgloss
37735 info-target-libgloss: \
37736 configure-target-libgloss
37737 @: $(MAKE); $(unstage)
37738 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37739 r=`${PWD_COMMAND}`; export r; \
37740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37741 $(NORMAL_TARGET_EXPORTS) \
37742 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
37743 for flag in $(EXTRA_TARGET_FLAGS); do \
37744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37745 done; \
37746 (cd $(TARGET_SUBDIR)/libgloss && \
37747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37749 "RANLIB=$${RANLIB}" \
37750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37751 info) \
37752 || exit 1
37754 @endif target-libgloss
37756 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
37757 maybe-dvi-target-libgloss:
37758 @if target-libgloss
37759 maybe-dvi-target-libgloss: dvi-target-libgloss
37761 dvi-target-libgloss: \
37762 configure-target-libgloss
37763 @: $(MAKE); $(unstage)
37764 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37765 r=`${PWD_COMMAND}`; export r; \
37766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37767 $(NORMAL_TARGET_EXPORTS) \
37768 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
37769 for flag in $(EXTRA_TARGET_FLAGS); do \
37770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37771 done; \
37772 (cd $(TARGET_SUBDIR)/libgloss && \
37773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37775 "RANLIB=$${RANLIB}" \
37776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37777 dvi) \
37778 || exit 1
37780 @endif target-libgloss
37782 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
37783 maybe-pdf-target-libgloss:
37784 @if target-libgloss
37785 maybe-pdf-target-libgloss: pdf-target-libgloss
37787 pdf-target-libgloss: \
37788 configure-target-libgloss
37789 @: $(MAKE); $(unstage)
37790 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37791 r=`${PWD_COMMAND}`; export r; \
37792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37793 $(NORMAL_TARGET_EXPORTS) \
37794 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
37795 for flag in $(EXTRA_TARGET_FLAGS); do \
37796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37797 done; \
37798 (cd $(TARGET_SUBDIR)/libgloss && \
37799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37801 "RANLIB=$${RANLIB}" \
37802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37803 pdf) \
37804 || exit 1
37806 @endif target-libgloss
37808 .PHONY: maybe-html-target-libgloss html-target-libgloss
37809 maybe-html-target-libgloss:
37810 @if target-libgloss
37811 maybe-html-target-libgloss: html-target-libgloss
37813 html-target-libgloss: \
37814 configure-target-libgloss
37815 @: $(MAKE); $(unstage)
37816 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37817 r=`${PWD_COMMAND}`; export r; \
37818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37819 $(NORMAL_TARGET_EXPORTS) \
37820 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
37821 for flag in $(EXTRA_TARGET_FLAGS); do \
37822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37823 done; \
37824 (cd $(TARGET_SUBDIR)/libgloss && \
37825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37827 "RANLIB=$${RANLIB}" \
37828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37829 html) \
37830 || exit 1
37832 @endif target-libgloss
37834 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
37835 maybe-TAGS-target-libgloss:
37836 @if target-libgloss
37837 maybe-TAGS-target-libgloss: TAGS-target-libgloss
37839 TAGS-target-libgloss: \
37840 configure-target-libgloss
37841 @: $(MAKE); $(unstage)
37842 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37843 r=`${PWD_COMMAND}`; export r; \
37844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37845 $(NORMAL_TARGET_EXPORTS) \
37846 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
37847 for flag in $(EXTRA_TARGET_FLAGS); do \
37848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37849 done; \
37850 (cd $(TARGET_SUBDIR)/libgloss && \
37851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37853 "RANLIB=$${RANLIB}" \
37854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37855 TAGS) \
37856 || exit 1
37858 @endif target-libgloss
37860 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
37861 maybe-install-info-target-libgloss:
37862 @if target-libgloss
37863 maybe-install-info-target-libgloss: install-info-target-libgloss
37865 install-info-target-libgloss: \
37866 configure-target-libgloss \
37867 info-target-libgloss
37868 @: $(MAKE); $(unstage)
37869 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37870 r=`${PWD_COMMAND}`; export r; \
37871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37872 $(NORMAL_TARGET_EXPORTS) \
37873 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
37874 for flag in $(EXTRA_TARGET_FLAGS); do \
37875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37876 done; \
37877 (cd $(TARGET_SUBDIR)/libgloss && \
37878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37880 "RANLIB=$${RANLIB}" \
37881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37882 install-info) \
37883 || exit 1
37885 @endif target-libgloss
37887 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
37888 maybe-install-html-target-libgloss:
37889 @if target-libgloss
37890 maybe-install-html-target-libgloss: install-html-target-libgloss
37892 install-html-target-libgloss: \
37893 configure-target-libgloss \
37894 html-target-libgloss
37895 @: $(MAKE); $(unstage)
37896 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37897 r=`${PWD_COMMAND}`; export r; \
37898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37899 $(NORMAL_TARGET_EXPORTS) \
37900 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
37901 for flag in $(EXTRA_TARGET_FLAGS); do \
37902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37903 done; \
37904 (cd $(TARGET_SUBDIR)/libgloss && \
37905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37907 "RANLIB=$${RANLIB}" \
37908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37909 install-html) \
37910 || exit 1
37912 @endif target-libgloss
37914 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
37915 maybe-installcheck-target-libgloss:
37916 @if target-libgloss
37917 maybe-installcheck-target-libgloss: installcheck-target-libgloss
37919 installcheck-target-libgloss: \
37920 configure-target-libgloss
37921 @: $(MAKE); $(unstage)
37922 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37923 r=`${PWD_COMMAND}`; export r; \
37924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37925 $(NORMAL_TARGET_EXPORTS) \
37926 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
37927 for flag in $(EXTRA_TARGET_FLAGS); do \
37928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37929 done; \
37930 (cd $(TARGET_SUBDIR)/libgloss && \
37931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37933 "RANLIB=$${RANLIB}" \
37934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37935 installcheck) \
37936 || exit 1
37938 @endif target-libgloss
37940 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
37941 maybe-mostlyclean-target-libgloss:
37942 @if target-libgloss
37943 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
37945 mostlyclean-target-libgloss:
37946 @: $(MAKE); $(unstage)
37947 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37948 r=`${PWD_COMMAND}`; export r; \
37949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37950 $(NORMAL_TARGET_EXPORTS) \
37951 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
37952 for flag in $(EXTRA_TARGET_FLAGS); do \
37953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37954 done; \
37955 (cd $(TARGET_SUBDIR)/libgloss && \
37956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37958 "RANLIB=$${RANLIB}" \
37959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37960 mostlyclean) \
37961 || exit 1
37963 @endif target-libgloss
37965 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
37966 maybe-clean-target-libgloss:
37967 @if target-libgloss
37968 maybe-clean-target-libgloss: clean-target-libgloss
37970 clean-target-libgloss:
37971 @: $(MAKE); $(unstage)
37972 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37973 r=`${PWD_COMMAND}`; export r; \
37974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37975 $(NORMAL_TARGET_EXPORTS) \
37976 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
37977 for flag in $(EXTRA_TARGET_FLAGS); do \
37978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37979 done; \
37980 (cd $(TARGET_SUBDIR)/libgloss && \
37981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37983 "RANLIB=$${RANLIB}" \
37984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37985 clean) \
37986 || exit 1
37988 @endif target-libgloss
37990 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
37991 maybe-distclean-target-libgloss:
37992 @if target-libgloss
37993 maybe-distclean-target-libgloss: distclean-target-libgloss
37995 distclean-target-libgloss:
37996 @: $(MAKE); $(unstage)
37997 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37998 r=`${PWD_COMMAND}`; export r; \
37999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38000 $(NORMAL_TARGET_EXPORTS) \
38001 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
38002 for flag in $(EXTRA_TARGET_FLAGS); do \
38003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38004 done; \
38005 (cd $(TARGET_SUBDIR)/libgloss && \
38006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38008 "RANLIB=$${RANLIB}" \
38009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38010 distclean) \
38011 || exit 1
38013 @endif target-libgloss
38015 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
38016 maybe-maintainer-clean-target-libgloss:
38017 @if target-libgloss
38018 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
38020 maintainer-clean-target-libgloss:
38021 @: $(MAKE); $(unstage)
38022 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38023 r=`${PWD_COMMAND}`; export r; \
38024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38025 $(NORMAL_TARGET_EXPORTS) \
38026 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
38027 for flag in $(EXTRA_TARGET_FLAGS); do \
38028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38029 done; \
38030 (cd $(TARGET_SUBDIR)/libgloss && \
38031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38033 "RANLIB=$${RANLIB}" \
38034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38035 maintainer-clean) \
38036 || exit 1
38038 @endif target-libgloss
38044 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
38045 maybe-configure-target-libiberty:
38046 @if gcc-bootstrap
38047 configure-target-libiberty: stage_current
38048 @endif gcc-bootstrap
38049 @if target-libiberty
38050 maybe-configure-target-libiberty: configure-target-libiberty
38051 configure-target-libiberty:
38052 @: $(MAKE); $(unstage)
38053 @r=`${PWD_COMMAND}`; export r; \
38054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38055 echo "Checking multilib configuration for libiberty..."; \
38056 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
38057 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
38058 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
38059 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
38060 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
38061 else \
38062 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
38063 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
38064 fi; \
38065 else \
38066 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
38067 fi; \
38068 test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
38069 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
38070 $(NORMAL_TARGET_EXPORTS) \
38071 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
38072 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
38073 case $(srcdir) in \
38074 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38075 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
38076 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38077 esac; \
38078 srcdiroption="--srcdir=$${topdir}/libiberty"; \
38079 libsrcdir="$$s/libiberty"; \
38080 rm -f no-such-file || : ; \
38081 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38082 $(TARGET_CONFIGARGS) $${srcdiroption} \
38083 || exit 1
38084 @endif target-libiberty
38090 .PHONY: all-target-libiberty maybe-all-target-libiberty
38091 maybe-all-target-libiberty:
38092 @if gcc-bootstrap
38093 all-target-libiberty: stage_current
38094 @endif gcc-bootstrap
38095 @if target-libiberty
38096 TARGET-target-libiberty=all
38097 maybe-all-target-libiberty: all-target-libiberty
38098 all-target-libiberty: configure-target-libiberty
38099 @: $(MAKE); $(unstage)
38100 @r=`${PWD_COMMAND}`; export r; \
38101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38102 $(NORMAL_TARGET_EXPORTS) \
38103 (cd $(TARGET_SUBDIR)/libiberty && \
38104 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
38105 @endif target-libiberty
38111 .PHONY: check-target-libiberty maybe-check-target-libiberty
38112 maybe-check-target-libiberty:
38113 @if target-libiberty
38114 maybe-check-target-libiberty: check-target-libiberty
38116 check-target-libiberty:
38117 @: $(MAKE); $(unstage)
38118 @r=`${PWD_COMMAND}`; export r; \
38119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38120 $(NORMAL_TARGET_EXPORTS) \
38121 (cd $(TARGET_SUBDIR)/libiberty && \
38122 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38124 @endif target-libiberty
38126 .PHONY: install-target-libiberty maybe-install-target-libiberty
38127 maybe-install-target-libiberty:
38128 @if target-libiberty
38129 maybe-install-target-libiberty: install-target-libiberty
38131 install-target-libiberty: installdirs
38132 @: $(MAKE); $(unstage)
38133 @r=`${PWD_COMMAND}`; export r; \
38134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38135 $(NORMAL_TARGET_EXPORTS) \
38136 (cd $(TARGET_SUBDIR)/libiberty && \
38137 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38139 @endif target-libiberty
38141 # Other targets (info, dvi, pdf, etc.)
38143 .PHONY: maybe-info-target-libiberty info-target-libiberty
38144 maybe-info-target-libiberty:
38145 @if target-libiberty
38146 maybe-info-target-libiberty: info-target-libiberty
38148 info-target-libiberty: \
38149 configure-target-libiberty
38150 @: $(MAKE); $(unstage)
38151 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
38152 r=`${PWD_COMMAND}`; export r; \
38153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38154 $(NORMAL_TARGET_EXPORTS) \
38155 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
38156 for flag in $(EXTRA_TARGET_FLAGS); do \
38157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38158 done; \
38159 (cd $(TARGET_SUBDIR)/libiberty && \
38160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38162 "RANLIB=$${RANLIB}" \
38163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38164 info) \
38165 || exit 1
38167 @endif target-libiberty
38169 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
38170 maybe-dvi-target-libiberty:
38171 @if target-libiberty
38172 maybe-dvi-target-libiberty: dvi-target-libiberty
38174 dvi-target-libiberty: \
38175 configure-target-libiberty
38176 @: $(MAKE); $(unstage)
38177 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
38178 r=`${PWD_COMMAND}`; export r; \
38179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38180 $(NORMAL_TARGET_EXPORTS) \
38181 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
38182 for flag in $(EXTRA_TARGET_FLAGS); do \
38183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38184 done; \
38185 (cd $(TARGET_SUBDIR)/libiberty && \
38186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38188 "RANLIB=$${RANLIB}" \
38189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38190 dvi) \
38191 || exit 1
38193 @endif target-libiberty
38195 .PHONY: maybe-pdf-target-libiberty pdf-target-libiberty
38196 maybe-pdf-target-libiberty:
38197 @if target-libiberty
38198 maybe-pdf-target-libiberty: pdf-target-libiberty
38200 pdf-target-libiberty: \
38201 configure-target-libiberty
38202 @: $(MAKE); $(unstage)
38203 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
38204 r=`${PWD_COMMAND}`; export r; \
38205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38206 $(NORMAL_TARGET_EXPORTS) \
38207 echo "Doing pdf in $(TARGET_SUBDIR)/libiberty" ; \
38208 for flag in $(EXTRA_TARGET_FLAGS); do \
38209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38210 done; \
38211 (cd $(TARGET_SUBDIR)/libiberty && \
38212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38214 "RANLIB=$${RANLIB}" \
38215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38216 pdf) \
38217 || exit 1
38219 @endif target-libiberty
38221 .PHONY: maybe-html-target-libiberty html-target-libiberty
38222 maybe-html-target-libiberty:
38223 @if target-libiberty
38224 maybe-html-target-libiberty: html-target-libiberty
38226 html-target-libiberty: \
38227 configure-target-libiberty
38228 @: $(MAKE); $(unstage)
38229 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
38230 r=`${PWD_COMMAND}`; export r; \
38231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38232 $(NORMAL_TARGET_EXPORTS) \
38233 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
38234 for flag in $(EXTRA_TARGET_FLAGS); do \
38235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38236 done; \
38237 (cd $(TARGET_SUBDIR)/libiberty && \
38238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38240 "RANLIB=$${RANLIB}" \
38241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38242 html) \
38243 || exit 1
38245 @endif target-libiberty
38247 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
38248 maybe-TAGS-target-libiberty:
38249 @if target-libiberty
38250 maybe-TAGS-target-libiberty: TAGS-target-libiberty
38252 TAGS-target-libiberty: \
38253 configure-target-libiberty
38254 @: $(MAKE); $(unstage)
38255 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
38256 r=`${PWD_COMMAND}`; export r; \
38257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38258 $(NORMAL_TARGET_EXPORTS) \
38259 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
38260 for flag in $(EXTRA_TARGET_FLAGS); do \
38261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38262 done; \
38263 (cd $(TARGET_SUBDIR)/libiberty && \
38264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38266 "RANLIB=$${RANLIB}" \
38267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38268 TAGS) \
38269 || exit 1
38271 @endif target-libiberty
38273 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
38274 maybe-install-info-target-libiberty:
38275 @if target-libiberty
38276 maybe-install-info-target-libiberty: install-info-target-libiberty
38278 install-info-target-libiberty: \
38279 configure-target-libiberty \
38280 info-target-libiberty
38281 @: $(MAKE); $(unstage)
38282 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
38283 r=`${PWD_COMMAND}`; export r; \
38284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38285 $(NORMAL_TARGET_EXPORTS) \
38286 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
38287 for flag in $(EXTRA_TARGET_FLAGS); do \
38288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38289 done; \
38290 (cd $(TARGET_SUBDIR)/libiberty && \
38291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38293 "RANLIB=$${RANLIB}" \
38294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38295 install-info) \
38296 || exit 1
38298 @endif target-libiberty
38300 .PHONY: maybe-install-html-target-libiberty install-html-target-libiberty
38301 maybe-install-html-target-libiberty:
38302 @if target-libiberty
38303 maybe-install-html-target-libiberty: install-html-target-libiberty
38305 install-html-target-libiberty: \
38306 configure-target-libiberty \
38307 html-target-libiberty
38308 @: $(MAKE); $(unstage)
38309 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
38310 r=`${PWD_COMMAND}`; export r; \
38311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38312 $(NORMAL_TARGET_EXPORTS) \
38313 echo "Doing install-html in $(TARGET_SUBDIR)/libiberty" ; \
38314 for flag in $(EXTRA_TARGET_FLAGS); do \
38315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38316 done; \
38317 (cd $(TARGET_SUBDIR)/libiberty && \
38318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38320 "RANLIB=$${RANLIB}" \
38321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38322 install-html) \
38323 || exit 1
38325 @endif target-libiberty
38327 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
38328 maybe-installcheck-target-libiberty:
38329 @if target-libiberty
38330 maybe-installcheck-target-libiberty: installcheck-target-libiberty
38332 installcheck-target-libiberty: \
38333 configure-target-libiberty
38334 @: $(MAKE); $(unstage)
38335 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
38336 r=`${PWD_COMMAND}`; export r; \
38337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38338 $(NORMAL_TARGET_EXPORTS) \
38339 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
38340 for flag in $(EXTRA_TARGET_FLAGS); do \
38341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38342 done; \
38343 (cd $(TARGET_SUBDIR)/libiberty && \
38344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38346 "RANLIB=$${RANLIB}" \
38347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38348 installcheck) \
38349 || exit 1
38351 @endif target-libiberty
38353 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
38354 maybe-mostlyclean-target-libiberty:
38355 @if target-libiberty
38356 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
38358 mostlyclean-target-libiberty:
38359 @: $(MAKE); $(unstage)
38360 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
38361 r=`${PWD_COMMAND}`; export r; \
38362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38363 $(NORMAL_TARGET_EXPORTS) \
38364 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
38365 for flag in $(EXTRA_TARGET_FLAGS); do \
38366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38367 done; \
38368 (cd $(TARGET_SUBDIR)/libiberty && \
38369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38371 "RANLIB=$${RANLIB}" \
38372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38373 mostlyclean) \
38374 || exit 1
38376 @endif target-libiberty
38378 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
38379 maybe-clean-target-libiberty:
38380 @if target-libiberty
38381 maybe-clean-target-libiberty: clean-target-libiberty
38383 clean-target-libiberty:
38384 @: $(MAKE); $(unstage)
38385 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
38386 r=`${PWD_COMMAND}`; export r; \
38387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38388 $(NORMAL_TARGET_EXPORTS) \
38389 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
38390 for flag in $(EXTRA_TARGET_FLAGS); do \
38391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38392 done; \
38393 (cd $(TARGET_SUBDIR)/libiberty && \
38394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38396 "RANLIB=$${RANLIB}" \
38397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38398 clean) \
38399 || exit 1
38401 @endif target-libiberty
38403 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
38404 maybe-distclean-target-libiberty:
38405 @if target-libiberty
38406 maybe-distclean-target-libiberty: distclean-target-libiberty
38408 distclean-target-libiberty:
38409 @: $(MAKE); $(unstage)
38410 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
38411 r=`${PWD_COMMAND}`; export r; \
38412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38413 $(NORMAL_TARGET_EXPORTS) \
38414 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
38415 for flag in $(EXTRA_TARGET_FLAGS); do \
38416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38417 done; \
38418 (cd $(TARGET_SUBDIR)/libiberty && \
38419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38421 "RANLIB=$${RANLIB}" \
38422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38423 distclean) \
38424 || exit 1
38426 @endif target-libiberty
38428 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
38429 maybe-maintainer-clean-target-libiberty:
38430 @if target-libiberty
38431 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
38433 maintainer-clean-target-libiberty:
38434 @: $(MAKE); $(unstage)
38435 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
38436 r=`${PWD_COMMAND}`; export r; \
38437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38438 $(NORMAL_TARGET_EXPORTS) \
38439 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
38440 for flag in $(EXTRA_TARGET_FLAGS); do \
38441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38442 done; \
38443 (cd $(TARGET_SUBDIR)/libiberty && \
38444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38446 "RANLIB=$${RANLIB}" \
38447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38448 maintainer-clean) \
38449 || exit 1
38451 @endif target-libiberty
38457 .PHONY: configure-target-gperf maybe-configure-target-gperf
38458 maybe-configure-target-gperf:
38459 @if gcc-bootstrap
38460 configure-target-gperf: stage_current
38461 @endif gcc-bootstrap
38462 @if target-gperf
38463 maybe-configure-target-gperf: configure-target-gperf
38464 configure-target-gperf:
38465 @: $(MAKE); $(unstage)
38466 @r=`${PWD_COMMAND}`; export r; \
38467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38468 echo "Checking multilib configuration for gperf..."; \
38469 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
38470 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
38471 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
38472 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
38473 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
38474 else \
38475 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
38476 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
38477 fi; \
38478 else \
38479 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
38480 fi; \
38481 test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
38482 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
38483 $(NORMAL_TARGET_EXPORTS) \
38484 echo Configuring in $(TARGET_SUBDIR)/gperf; \
38485 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
38486 case $(srcdir) in \
38487 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38488 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
38489 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38490 esac; \
38491 srcdiroption="--srcdir=$${topdir}/gperf"; \
38492 libsrcdir="$$s/gperf"; \
38493 rm -f no-such-file || : ; \
38494 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38495 $(TARGET_CONFIGARGS) $${srcdiroption} \
38496 || exit 1
38497 @endif target-gperf
38503 .PHONY: all-target-gperf maybe-all-target-gperf
38504 maybe-all-target-gperf:
38505 @if gcc-bootstrap
38506 all-target-gperf: stage_current
38507 @endif gcc-bootstrap
38508 @if target-gperf
38509 TARGET-target-gperf=all
38510 maybe-all-target-gperf: all-target-gperf
38511 all-target-gperf: configure-target-gperf
38512 @: $(MAKE); $(unstage)
38513 @r=`${PWD_COMMAND}`; export r; \
38514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38515 $(NORMAL_TARGET_EXPORTS) \
38516 (cd $(TARGET_SUBDIR)/gperf && \
38517 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
38518 @endif target-gperf
38524 .PHONY: check-target-gperf maybe-check-target-gperf
38525 maybe-check-target-gperf:
38526 @if target-gperf
38527 maybe-check-target-gperf: check-target-gperf
38529 check-target-gperf:
38530 @: $(MAKE); $(unstage)
38531 @r=`${PWD_COMMAND}`; export r; \
38532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38533 $(NORMAL_TARGET_EXPORTS) \
38534 (cd $(TARGET_SUBDIR)/gperf && \
38535 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38537 @endif target-gperf
38539 .PHONY: install-target-gperf maybe-install-target-gperf
38540 maybe-install-target-gperf:
38541 @if target-gperf
38542 maybe-install-target-gperf: install-target-gperf
38544 install-target-gperf: installdirs
38545 @: $(MAKE); $(unstage)
38546 @r=`${PWD_COMMAND}`; export r; \
38547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38548 $(NORMAL_TARGET_EXPORTS) \
38549 (cd $(TARGET_SUBDIR)/gperf && \
38550 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38552 @endif target-gperf
38554 # Other targets (info, dvi, pdf, etc.)
38556 .PHONY: maybe-info-target-gperf info-target-gperf
38557 maybe-info-target-gperf:
38558 @if target-gperf
38559 maybe-info-target-gperf: info-target-gperf
38561 info-target-gperf: \
38562 configure-target-gperf
38563 @: $(MAKE); $(unstage)
38564 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
38565 r=`${PWD_COMMAND}`; export r; \
38566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38567 $(NORMAL_TARGET_EXPORTS) \
38568 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
38569 for flag in $(EXTRA_TARGET_FLAGS); do \
38570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38571 done; \
38572 (cd $(TARGET_SUBDIR)/gperf && \
38573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38575 "RANLIB=$${RANLIB}" \
38576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38577 info) \
38578 || exit 1
38580 @endif target-gperf
38582 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
38583 maybe-dvi-target-gperf:
38584 @if target-gperf
38585 maybe-dvi-target-gperf: dvi-target-gperf
38587 dvi-target-gperf: \
38588 configure-target-gperf
38589 @: $(MAKE); $(unstage)
38590 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
38591 r=`${PWD_COMMAND}`; export r; \
38592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38593 $(NORMAL_TARGET_EXPORTS) \
38594 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
38595 for flag in $(EXTRA_TARGET_FLAGS); do \
38596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38597 done; \
38598 (cd $(TARGET_SUBDIR)/gperf && \
38599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38601 "RANLIB=$${RANLIB}" \
38602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38603 dvi) \
38604 || exit 1
38606 @endif target-gperf
38608 .PHONY: maybe-pdf-target-gperf pdf-target-gperf
38609 maybe-pdf-target-gperf:
38610 @if target-gperf
38611 maybe-pdf-target-gperf: pdf-target-gperf
38613 pdf-target-gperf: \
38614 configure-target-gperf
38615 @: $(MAKE); $(unstage)
38616 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
38617 r=`${PWD_COMMAND}`; export r; \
38618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38619 $(NORMAL_TARGET_EXPORTS) \
38620 echo "Doing pdf in $(TARGET_SUBDIR)/gperf" ; \
38621 for flag in $(EXTRA_TARGET_FLAGS); do \
38622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38623 done; \
38624 (cd $(TARGET_SUBDIR)/gperf && \
38625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38627 "RANLIB=$${RANLIB}" \
38628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38629 pdf) \
38630 || exit 1
38632 @endif target-gperf
38634 .PHONY: maybe-html-target-gperf html-target-gperf
38635 maybe-html-target-gperf:
38636 @if target-gperf
38637 maybe-html-target-gperf: html-target-gperf
38639 html-target-gperf: \
38640 configure-target-gperf
38641 @: $(MAKE); $(unstage)
38642 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
38643 r=`${PWD_COMMAND}`; export r; \
38644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38645 $(NORMAL_TARGET_EXPORTS) \
38646 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
38647 for flag in $(EXTRA_TARGET_FLAGS); do \
38648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38649 done; \
38650 (cd $(TARGET_SUBDIR)/gperf && \
38651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38653 "RANLIB=$${RANLIB}" \
38654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38655 html) \
38656 || exit 1
38658 @endif target-gperf
38660 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
38661 maybe-TAGS-target-gperf:
38662 @if target-gperf
38663 maybe-TAGS-target-gperf: TAGS-target-gperf
38665 TAGS-target-gperf: \
38666 configure-target-gperf
38667 @: $(MAKE); $(unstage)
38668 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
38669 r=`${PWD_COMMAND}`; export r; \
38670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38671 $(NORMAL_TARGET_EXPORTS) \
38672 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
38673 for flag in $(EXTRA_TARGET_FLAGS); do \
38674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38675 done; \
38676 (cd $(TARGET_SUBDIR)/gperf && \
38677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38679 "RANLIB=$${RANLIB}" \
38680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38681 TAGS) \
38682 || exit 1
38684 @endif target-gperf
38686 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
38687 maybe-install-info-target-gperf:
38688 @if target-gperf
38689 maybe-install-info-target-gperf: install-info-target-gperf
38691 install-info-target-gperf: \
38692 configure-target-gperf \
38693 info-target-gperf
38694 @: $(MAKE); $(unstage)
38695 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
38696 r=`${PWD_COMMAND}`; export r; \
38697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38698 $(NORMAL_TARGET_EXPORTS) \
38699 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
38700 for flag in $(EXTRA_TARGET_FLAGS); do \
38701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38702 done; \
38703 (cd $(TARGET_SUBDIR)/gperf && \
38704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38706 "RANLIB=$${RANLIB}" \
38707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38708 install-info) \
38709 || exit 1
38711 @endif target-gperf
38713 .PHONY: maybe-install-html-target-gperf install-html-target-gperf
38714 maybe-install-html-target-gperf:
38715 @if target-gperf
38716 maybe-install-html-target-gperf: install-html-target-gperf
38718 install-html-target-gperf: \
38719 configure-target-gperf \
38720 html-target-gperf
38721 @: $(MAKE); $(unstage)
38722 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
38723 r=`${PWD_COMMAND}`; export r; \
38724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38725 $(NORMAL_TARGET_EXPORTS) \
38726 echo "Doing install-html in $(TARGET_SUBDIR)/gperf" ; \
38727 for flag in $(EXTRA_TARGET_FLAGS); do \
38728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38729 done; \
38730 (cd $(TARGET_SUBDIR)/gperf && \
38731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38733 "RANLIB=$${RANLIB}" \
38734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38735 install-html) \
38736 || exit 1
38738 @endif target-gperf
38740 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
38741 maybe-installcheck-target-gperf:
38742 @if target-gperf
38743 maybe-installcheck-target-gperf: installcheck-target-gperf
38745 installcheck-target-gperf: \
38746 configure-target-gperf
38747 @: $(MAKE); $(unstage)
38748 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
38749 r=`${PWD_COMMAND}`; export r; \
38750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38751 $(NORMAL_TARGET_EXPORTS) \
38752 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
38753 for flag in $(EXTRA_TARGET_FLAGS); do \
38754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38755 done; \
38756 (cd $(TARGET_SUBDIR)/gperf && \
38757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38759 "RANLIB=$${RANLIB}" \
38760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38761 installcheck) \
38762 || exit 1
38764 @endif target-gperf
38766 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
38767 maybe-mostlyclean-target-gperf:
38768 @if target-gperf
38769 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
38771 mostlyclean-target-gperf:
38772 @: $(MAKE); $(unstage)
38773 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
38774 r=`${PWD_COMMAND}`; export r; \
38775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38776 $(NORMAL_TARGET_EXPORTS) \
38777 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
38778 for flag in $(EXTRA_TARGET_FLAGS); do \
38779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38780 done; \
38781 (cd $(TARGET_SUBDIR)/gperf && \
38782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38784 "RANLIB=$${RANLIB}" \
38785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38786 mostlyclean) \
38787 || exit 1
38789 @endif target-gperf
38791 .PHONY: maybe-clean-target-gperf clean-target-gperf
38792 maybe-clean-target-gperf:
38793 @if target-gperf
38794 maybe-clean-target-gperf: clean-target-gperf
38796 clean-target-gperf:
38797 @: $(MAKE); $(unstage)
38798 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
38799 r=`${PWD_COMMAND}`; export r; \
38800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38801 $(NORMAL_TARGET_EXPORTS) \
38802 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
38803 for flag in $(EXTRA_TARGET_FLAGS); do \
38804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38805 done; \
38806 (cd $(TARGET_SUBDIR)/gperf && \
38807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38809 "RANLIB=$${RANLIB}" \
38810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38811 clean) \
38812 || exit 1
38814 @endif target-gperf
38816 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
38817 maybe-distclean-target-gperf:
38818 @if target-gperf
38819 maybe-distclean-target-gperf: distclean-target-gperf
38821 distclean-target-gperf:
38822 @: $(MAKE); $(unstage)
38823 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
38824 r=`${PWD_COMMAND}`; export r; \
38825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38826 $(NORMAL_TARGET_EXPORTS) \
38827 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
38828 for flag in $(EXTRA_TARGET_FLAGS); do \
38829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38830 done; \
38831 (cd $(TARGET_SUBDIR)/gperf && \
38832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38834 "RANLIB=$${RANLIB}" \
38835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38836 distclean) \
38837 || exit 1
38839 @endif target-gperf
38841 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
38842 maybe-maintainer-clean-target-gperf:
38843 @if target-gperf
38844 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
38846 maintainer-clean-target-gperf:
38847 @: $(MAKE); $(unstage)
38848 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
38849 r=`${PWD_COMMAND}`; export r; \
38850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38851 $(NORMAL_TARGET_EXPORTS) \
38852 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
38853 for flag in $(EXTRA_TARGET_FLAGS); do \
38854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38855 done; \
38856 (cd $(TARGET_SUBDIR)/gperf && \
38857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38859 "RANLIB=$${RANLIB}" \
38860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38861 maintainer-clean) \
38862 || exit 1
38864 @endif target-gperf
38870 .PHONY: configure-target-examples maybe-configure-target-examples
38871 maybe-configure-target-examples:
38872 @if gcc-bootstrap
38873 configure-target-examples: stage_current
38874 @endif gcc-bootstrap
38875 @if target-examples
38876 maybe-configure-target-examples: configure-target-examples
38877 configure-target-examples:
38878 @: $(MAKE); $(unstage)
38879 @r=`${PWD_COMMAND}`; export r; \
38880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38881 echo "Checking multilib configuration for examples..."; \
38882 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
38883 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
38884 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
38885 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
38886 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
38887 else \
38888 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
38889 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
38890 fi; \
38891 else \
38892 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
38893 fi; \
38894 test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
38895 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
38896 $(NORMAL_TARGET_EXPORTS) \
38897 echo Configuring in $(TARGET_SUBDIR)/examples; \
38898 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
38899 case $(srcdir) in \
38900 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38901 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
38902 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38903 esac; \
38904 srcdiroption="--srcdir=$${topdir}/examples"; \
38905 libsrcdir="$$s/examples"; \
38906 rm -f no-such-file || : ; \
38907 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38908 $(TARGET_CONFIGARGS) $${srcdiroption} \
38909 || exit 1
38910 @endif target-examples
38916 .PHONY: all-target-examples maybe-all-target-examples
38917 maybe-all-target-examples:
38918 @if gcc-bootstrap
38919 all-target-examples: stage_current
38920 @endif gcc-bootstrap
38921 @if target-examples
38922 TARGET-target-examples=all
38923 maybe-all-target-examples: all-target-examples
38924 all-target-examples: configure-target-examples
38925 @: $(MAKE); $(unstage)
38926 @r=`${PWD_COMMAND}`; export r; \
38927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38928 $(NORMAL_TARGET_EXPORTS) \
38929 (cd $(TARGET_SUBDIR)/examples && \
38930 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
38931 @endif target-examples
38937 .PHONY: check-target-examples maybe-check-target-examples
38938 maybe-check-target-examples:
38939 @if target-examples
38940 maybe-check-target-examples: check-target-examples
38942 # Dummy target for uncheckable module.
38943 check-target-examples:
38945 @endif target-examples
38947 .PHONY: install-target-examples maybe-install-target-examples
38948 maybe-install-target-examples:
38949 @if target-examples
38950 maybe-install-target-examples: install-target-examples
38952 # Dummy target for uninstallable.
38953 install-target-examples:
38955 @endif target-examples
38957 # Other targets (info, dvi, pdf, etc.)
38959 .PHONY: maybe-info-target-examples info-target-examples
38960 maybe-info-target-examples:
38961 @if target-examples
38962 maybe-info-target-examples: info-target-examples
38964 info-target-examples: \
38965 configure-target-examples
38966 @: $(MAKE); $(unstage)
38967 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38968 r=`${PWD_COMMAND}`; export r; \
38969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38970 $(NORMAL_TARGET_EXPORTS) \
38971 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
38972 for flag in $(EXTRA_TARGET_FLAGS); do \
38973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38974 done; \
38975 (cd $(TARGET_SUBDIR)/examples && \
38976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38978 "RANLIB=$${RANLIB}" \
38979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38980 info) \
38981 || exit 1
38983 @endif target-examples
38985 .PHONY: maybe-dvi-target-examples dvi-target-examples
38986 maybe-dvi-target-examples:
38987 @if target-examples
38988 maybe-dvi-target-examples: dvi-target-examples
38990 dvi-target-examples: \
38991 configure-target-examples
38992 @: $(MAKE); $(unstage)
38993 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
38994 r=`${PWD_COMMAND}`; export r; \
38995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38996 $(NORMAL_TARGET_EXPORTS) \
38997 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
38998 for flag in $(EXTRA_TARGET_FLAGS); do \
38999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39000 done; \
39001 (cd $(TARGET_SUBDIR)/examples && \
39002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39004 "RANLIB=$${RANLIB}" \
39005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39006 dvi) \
39007 || exit 1
39009 @endif target-examples
39011 .PHONY: maybe-pdf-target-examples pdf-target-examples
39012 maybe-pdf-target-examples:
39013 @if target-examples
39014 maybe-pdf-target-examples: pdf-target-examples
39016 pdf-target-examples: \
39017 configure-target-examples
39018 @: $(MAKE); $(unstage)
39019 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
39020 r=`${PWD_COMMAND}`; export r; \
39021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39022 $(NORMAL_TARGET_EXPORTS) \
39023 echo "Doing pdf in $(TARGET_SUBDIR)/examples" ; \
39024 for flag in $(EXTRA_TARGET_FLAGS); do \
39025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39026 done; \
39027 (cd $(TARGET_SUBDIR)/examples && \
39028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39030 "RANLIB=$${RANLIB}" \
39031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39032 pdf) \
39033 || exit 1
39035 @endif target-examples
39037 .PHONY: maybe-html-target-examples html-target-examples
39038 maybe-html-target-examples:
39039 @if target-examples
39040 maybe-html-target-examples: html-target-examples
39042 html-target-examples: \
39043 configure-target-examples
39044 @: $(MAKE); $(unstage)
39045 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
39046 r=`${PWD_COMMAND}`; export r; \
39047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39048 $(NORMAL_TARGET_EXPORTS) \
39049 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
39050 for flag in $(EXTRA_TARGET_FLAGS); do \
39051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39052 done; \
39053 (cd $(TARGET_SUBDIR)/examples && \
39054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39056 "RANLIB=$${RANLIB}" \
39057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39058 html) \
39059 || exit 1
39061 @endif target-examples
39063 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
39064 maybe-TAGS-target-examples:
39065 @if target-examples
39066 maybe-TAGS-target-examples: TAGS-target-examples
39068 TAGS-target-examples: \
39069 configure-target-examples
39070 @: $(MAKE); $(unstage)
39071 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
39072 r=`${PWD_COMMAND}`; export r; \
39073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39074 $(NORMAL_TARGET_EXPORTS) \
39075 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
39076 for flag in $(EXTRA_TARGET_FLAGS); do \
39077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39078 done; \
39079 (cd $(TARGET_SUBDIR)/examples && \
39080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39082 "RANLIB=$${RANLIB}" \
39083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39084 TAGS) \
39085 || exit 1
39087 @endif target-examples
39089 .PHONY: maybe-install-info-target-examples install-info-target-examples
39090 maybe-install-info-target-examples:
39091 @if target-examples
39092 maybe-install-info-target-examples: install-info-target-examples
39094 install-info-target-examples: \
39095 configure-target-examples \
39096 info-target-examples
39097 @: $(MAKE); $(unstage)
39098 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
39099 r=`${PWD_COMMAND}`; export r; \
39100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39101 $(NORMAL_TARGET_EXPORTS) \
39102 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
39103 for flag in $(EXTRA_TARGET_FLAGS); do \
39104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39105 done; \
39106 (cd $(TARGET_SUBDIR)/examples && \
39107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39109 "RANLIB=$${RANLIB}" \
39110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39111 install-info) \
39112 || exit 1
39114 @endif target-examples
39116 .PHONY: maybe-install-html-target-examples install-html-target-examples
39117 maybe-install-html-target-examples:
39118 @if target-examples
39119 maybe-install-html-target-examples: install-html-target-examples
39121 install-html-target-examples: \
39122 configure-target-examples \
39123 html-target-examples
39124 @: $(MAKE); $(unstage)
39125 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
39126 r=`${PWD_COMMAND}`; export r; \
39127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39128 $(NORMAL_TARGET_EXPORTS) \
39129 echo "Doing install-html in $(TARGET_SUBDIR)/examples" ; \
39130 for flag in $(EXTRA_TARGET_FLAGS); do \
39131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39132 done; \
39133 (cd $(TARGET_SUBDIR)/examples && \
39134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39136 "RANLIB=$${RANLIB}" \
39137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39138 install-html) \
39139 || exit 1
39141 @endif target-examples
39143 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
39144 maybe-installcheck-target-examples:
39145 @if target-examples
39146 maybe-installcheck-target-examples: installcheck-target-examples
39148 installcheck-target-examples: \
39149 configure-target-examples
39150 @: $(MAKE); $(unstage)
39151 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
39152 r=`${PWD_COMMAND}`; export r; \
39153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39154 $(NORMAL_TARGET_EXPORTS) \
39155 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
39156 for flag in $(EXTRA_TARGET_FLAGS); do \
39157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39158 done; \
39159 (cd $(TARGET_SUBDIR)/examples && \
39160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39162 "RANLIB=$${RANLIB}" \
39163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39164 installcheck) \
39165 || exit 1
39167 @endif target-examples
39169 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
39170 maybe-mostlyclean-target-examples:
39171 @if target-examples
39172 maybe-mostlyclean-target-examples: mostlyclean-target-examples
39174 mostlyclean-target-examples:
39175 @: $(MAKE); $(unstage)
39176 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
39177 r=`${PWD_COMMAND}`; export r; \
39178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39179 $(NORMAL_TARGET_EXPORTS) \
39180 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
39181 for flag in $(EXTRA_TARGET_FLAGS); do \
39182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39183 done; \
39184 (cd $(TARGET_SUBDIR)/examples && \
39185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39187 "RANLIB=$${RANLIB}" \
39188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39189 mostlyclean) \
39190 || exit 1
39192 @endif target-examples
39194 .PHONY: maybe-clean-target-examples clean-target-examples
39195 maybe-clean-target-examples:
39196 @if target-examples
39197 maybe-clean-target-examples: clean-target-examples
39199 clean-target-examples:
39200 @: $(MAKE); $(unstage)
39201 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
39202 r=`${PWD_COMMAND}`; export r; \
39203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39204 $(NORMAL_TARGET_EXPORTS) \
39205 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
39206 for flag in $(EXTRA_TARGET_FLAGS); do \
39207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39208 done; \
39209 (cd $(TARGET_SUBDIR)/examples && \
39210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39212 "RANLIB=$${RANLIB}" \
39213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39214 clean) \
39215 || exit 1
39217 @endif target-examples
39219 .PHONY: maybe-distclean-target-examples distclean-target-examples
39220 maybe-distclean-target-examples:
39221 @if target-examples
39222 maybe-distclean-target-examples: distclean-target-examples
39224 distclean-target-examples:
39225 @: $(MAKE); $(unstage)
39226 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
39227 r=`${PWD_COMMAND}`; export r; \
39228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39229 $(NORMAL_TARGET_EXPORTS) \
39230 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
39231 for flag in $(EXTRA_TARGET_FLAGS); do \
39232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39233 done; \
39234 (cd $(TARGET_SUBDIR)/examples && \
39235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39237 "RANLIB=$${RANLIB}" \
39238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39239 distclean) \
39240 || exit 1
39242 @endif target-examples
39244 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
39245 maybe-maintainer-clean-target-examples:
39246 @if target-examples
39247 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
39249 maintainer-clean-target-examples:
39250 @: $(MAKE); $(unstage)
39251 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
39252 r=`${PWD_COMMAND}`; export r; \
39253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39254 $(NORMAL_TARGET_EXPORTS) \
39255 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
39256 for flag in $(EXTRA_TARGET_FLAGS); do \
39257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39258 done; \
39259 (cd $(TARGET_SUBDIR)/examples && \
39260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39262 "RANLIB=$${RANLIB}" \
39263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39264 maintainer-clean) \
39265 || exit 1
39267 @endif target-examples
39273 .PHONY: configure-target-libffi maybe-configure-target-libffi
39274 maybe-configure-target-libffi:
39275 @if gcc-bootstrap
39276 configure-target-libffi: stage_current
39277 @endif gcc-bootstrap
39278 @if target-libffi
39279 maybe-configure-target-libffi: configure-target-libffi
39280 configure-target-libffi:
39281 @: $(MAKE); $(unstage)
39282 @r=`${PWD_COMMAND}`; export r; \
39283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39284 echo "Checking multilib configuration for libffi..."; \
39285 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
39286 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
39287 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
39288 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
39289 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
39290 else \
39291 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
39292 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
39293 fi; \
39294 else \
39295 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
39296 fi; \
39297 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
39298 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
39299 $(NORMAL_TARGET_EXPORTS) \
39300 echo Configuring in $(TARGET_SUBDIR)/libffi; \
39301 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
39302 case $(srcdir) in \
39303 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39304 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
39305 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39306 esac; \
39307 srcdiroption="--srcdir=$${topdir}/libffi"; \
39308 libsrcdir="$$s/libffi"; \
39309 rm -f no-such-file || : ; \
39310 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39311 $(TARGET_CONFIGARGS) $${srcdiroption} \
39312 || exit 1
39313 @endif target-libffi
39319 .PHONY: all-target-libffi maybe-all-target-libffi
39320 maybe-all-target-libffi:
39321 @if gcc-bootstrap
39322 all-target-libffi: stage_current
39323 @endif gcc-bootstrap
39324 @if target-libffi
39325 TARGET-target-libffi=all
39326 maybe-all-target-libffi: all-target-libffi
39327 all-target-libffi: configure-target-libffi
39328 @: $(MAKE); $(unstage)
39329 @r=`${PWD_COMMAND}`; export r; \
39330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39331 $(NORMAL_TARGET_EXPORTS) \
39332 (cd $(TARGET_SUBDIR)/libffi && \
39333 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
39334 @endif target-libffi
39340 .PHONY: check-target-libffi maybe-check-target-libffi
39341 maybe-check-target-libffi:
39342 @if target-libffi
39343 maybe-check-target-libffi: check-target-libffi
39345 check-target-libffi:
39346 @: $(MAKE); $(unstage)
39347 @r=`${PWD_COMMAND}`; export r; \
39348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39349 $(NORMAL_TARGET_EXPORTS) \
39350 (cd $(TARGET_SUBDIR)/libffi && \
39351 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39353 @endif target-libffi
39355 .PHONY: install-target-libffi maybe-install-target-libffi
39356 maybe-install-target-libffi:
39357 @if target-libffi
39358 maybe-install-target-libffi: install-target-libffi
39360 install-target-libffi: installdirs
39361 @: $(MAKE); $(unstage)
39362 @r=`${PWD_COMMAND}`; export r; \
39363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39364 $(NORMAL_TARGET_EXPORTS) \
39365 (cd $(TARGET_SUBDIR)/libffi && \
39366 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39368 @endif target-libffi
39370 # Other targets (info, dvi, pdf, etc.)
39372 .PHONY: maybe-info-target-libffi info-target-libffi
39373 maybe-info-target-libffi:
39374 @if target-libffi
39375 maybe-info-target-libffi: info-target-libffi
39377 info-target-libffi: \
39378 configure-target-libffi
39379 @: $(MAKE); $(unstage)
39380 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39381 r=`${PWD_COMMAND}`; export r; \
39382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39383 $(NORMAL_TARGET_EXPORTS) \
39384 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
39385 for flag in $(EXTRA_TARGET_FLAGS); do \
39386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39387 done; \
39388 (cd $(TARGET_SUBDIR)/libffi && \
39389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39391 "RANLIB=$${RANLIB}" \
39392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39393 info) \
39394 || exit 1
39396 @endif target-libffi
39398 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
39399 maybe-dvi-target-libffi:
39400 @if target-libffi
39401 maybe-dvi-target-libffi: dvi-target-libffi
39403 dvi-target-libffi: \
39404 configure-target-libffi
39405 @: $(MAKE); $(unstage)
39406 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39407 r=`${PWD_COMMAND}`; export r; \
39408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39409 $(NORMAL_TARGET_EXPORTS) \
39410 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
39411 for flag in $(EXTRA_TARGET_FLAGS); do \
39412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39413 done; \
39414 (cd $(TARGET_SUBDIR)/libffi && \
39415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39417 "RANLIB=$${RANLIB}" \
39418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39419 dvi) \
39420 || exit 1
39422 @endif target-libffi
39424 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
39425 maybe-pdf-target-libffi:
39426 @if target-libffi
39427 maybe-pdf-target-libffi: pdf-target-libffi
39429 pdf-target-libffi: \
39430 configure-target-libffi
39431 @: $(MAKE); $(unstage)
39432 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39433 r=`${PWD_COMMAND}`; export r; \
39434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39435 $(NORMAL_TARGET_EXPORTS) \
39436 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
39437 for flag in $(EXTRA_TARGET_FLAGS); do \
39438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39439 done; \
39440 (cd $(TARGET_SUBDIR)/libffi && \
39441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39443 "RANLIB=$${RANLIB}" \
39444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39445 pdf) \
39446 || exit 1
39448 @endif target-libffi
39450 .PHONY: maybe-html-target-libffi html-target-libffi
39451 maybe-html-target-libffi:
39452 @if target-libffi
39453 maybe-html-target-libffi: html-target-libffi
39455 html-target-libffi: \
39456 configure-target-libffi
39457 @: $(MAKE); $(unstage)
39458 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39459 r=`${PWD_COMMAND}`; export r; \
39460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39461 $(NORMAL_TARGET_EXPORTS) \
39462 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
39463 for flag in $(EXTRA_TARGET_FLAGS); do \
39464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39465 done; \
39466 (cd $(TARGET_SUBDIR)/libffi && \
39467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39469 "RANLIB=$${RANLIB}" \
39470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39471 html) \
39472 || exit 1
39474 @endif target-libffi
39476 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
39477 maybe-TAGS-target-libffi:
39478 @if target-libffi
39479 maybe-TAGS-target-libffi: TAGS-target-libffi
39481 TAGS-target-libffi: \
39482 configure-target-libffi
39483 @: $(MAKE); $(unstage)
39484 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39485 r=`${PWD_COMMAND}`; export r; \
39486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39487 $(NORMAL_TARGET_EXPORTS) \
39488 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
39489 for flag in $(EXTRA_TARGET_FLAGS); do \
39490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39491 done; \
39492 (cd $(TARGET_SUBDIR)/libffi && \
39493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39495 "RANLIB=$${RANLIB}" \
39496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39497 TAGS) \
39498 || exit 1
39500 @endif target-libffi
39502 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
39503 maybe-install-info-target-libffi:
39504 @if target-libffi
39505 maybe-install-info-target-libffi: install-info-target-libffi
39507 install-info-target-libffi: \
39508 configure-target-libffi \
39509 info-target-libffi
39510 @: $(MAKE); $(unstage)
39511 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39512 r=`${PWD_COMMAND}`; export r; \
39513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39514 $(NORMAL_TARGET_EXPORTS) \
39515 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
39516 for flag in $(EXTRA_TARGET_FLAGS); do \
39517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39518 done; \
39519 (cd $(TARGET_SUBDIR)/libffi && \
39520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39522 "RANLIB=$${RANLIB}" \
39523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39524 install-info) \
39525 || exit 1
39527 @endif target-libffi
39529 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
39530 maybe-install-html-target-libffi:
39531 @if target-libffi
39532 maybe-install-html-target-libffi: install-html-target-libffi
39534 install-html-target-libffi: \
39535 configure-target-libffi \
39536 html-target-libffi
39537 @: $(MAKE); $(unstage)
39538 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39539 r=`${PWD_COMMAND}`; export r; \
39540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39541 $(NORMAL_TARGET_EXPORTS) \
39542 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
39543 for flag in $(EXTRA_TARGET_FLAGS); do \
39544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39545 done; \
39546 (cd $(TARGET_SUBDIR)/libffi && \
39547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39549 "RANLIB=$${RANLIB}" \
39550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39551 install-html) \
39552 || exit 1
39554 @endif target-libffi
39556 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
39557 maybe-installcheck-target-libffi:
39558 @if target-libffi
39559 maybe-installcheck-target-libffi: installcheck-target-libffi
39561 installcheck-target-libffi: \
39562 configure-target-libffi
39563 @: $(MAKE); $(unstage)
39564 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39565 r=`${PWD_COMMAND}`; export r; \
39566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39567 $(NORMAL_TARGET_EXPORTS) \
39568 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
39569 for flag in $(EXTRA_TARGET_FLAGS); do \
39570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39571 done; \
39572 (cd $(TARGET_SUBDIR)/libffi && \
39573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39575 "RANLIB=$${RANLIB}" \
39576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39577 installcheck) \
39578 || exit 1
39580 @endif target-libffi
39582 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
39583 maybe-mostlyclean-target-libffi:
39584 @if target-libffi
39585 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
39587 mostlyclean-target-libffi:
39588 @: $(MAKE); $(unstage)
39589 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39590 r=`${PWD_COMMAND}`; export r; \
39591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39592 $(NORMAL_TARGET_EXPORTS) \
39593 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
39594 for flag in $(EXTRA_TARGET_FLAGS); do \
39595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39596 done; \
39597 (cd $(TARGET_SUBDIR)/libffi && \
39598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39600 "RANLIB=$${RANLIB}" \
39601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39602 mostlyclean) \
39603 || exit 1
39605 @endif target-libffi
39607 .PHONY: maybe-clean-target-libffi clean-target-libffi
39608 maybe-clean-target-libffi:
39609 @if target-libffi
39610 maybe-clean-target-libffi: clean-target-libffi
39612 clean-target-libffi:
39613 @: $(MAKE); $(unstage)
39614 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39615 r=`${PWD_COMMAND}`; export r; \
39616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39617 $(NORMAL_TARGET_EXPORTS) \
39618 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
39619 for flag in $(EXTRA_TARGET_FLAGS); do \
39620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39621 done; \
39622 (cd $(TARGET_SUBDIR)/libffi && \
39623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39625 "RANLIB=$${RANLIB}" \
39626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39627 clean) \
39628 || exit 1
39630 @endif target-libffi
39632 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
39633 maybe-distclean-target-libffi:
39634 @if target-libffi
39635 maybe-distclean-target-libffi: distclean-target-libffi
39637 distclean-target-libffi:
39638 @: $(MAKE); $(unstage)
39639 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39640 r=`${PWD_COMMAND}`; export r; \
39641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39642 $(NORMAL_TARGET_EXPORTS) \
39643 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
39644 for flag in $(EXTRA_TARGET_FLAGS); do \
39645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39646 done; \
39647 (cd $(TARGET_SUBDIR)/libffi && \
39648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39650 "RANLIB=$${RANLIB}" \
39651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39652 distclean) \
39653 || exit 1
39655 @endif target-libffi
39657 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
39658 maybe-maintainer-clean-target-libffi:
39659 @if target-libffi
39660 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
39662 maintainer-clean-target-libffi:
39663 @: $(MAKE); $(unstage)
39664 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39665 r=`${PWD_COMMAND}`; export r; \
39666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39667 $(NORMAL_TARGET_EXPORTS) \
39668 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
39669 for flag in $(EXTRA_TARGET_FLAGS); do \
39670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39671 done; \
39672 (cd $(TARGET_SUBDIR)/libffi && \
39673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39675 "RANLIB=$${RANLIB}" \
39676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39677 maintainer-clean) \
39678 || exit 1
39680 @endif target-libffi
39686 .PHONY: configure-target-libjava maybe-configure-target-libjava
39687 maybe-configure-target-libjava:
39688 @if gcc-bootstrap
39689 configure-target-libjava: stage_current
39690 @endif gcc-bootstrap
39691 @if target-libjava
39692 maybe-configure-target-libjava: configure-target-libjava
39693 configure-target-libjava:
39694 @: $(MAKE); $(unstage)
39695 @r=`${PWD_COMMAND}`; export r; \
39696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39697 echo "Checking multilib configuration for libjava..."; \
39698 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
39699 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
39700 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
39701 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
39702 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
39703 else \
39704 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
39705 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
39706 fi; \
39707 else \
39708 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
39709 fi; \
39710 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
39711 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
39712 $(RAW_CXX_TARGET_EXPORTS) \
39713 echo Configuring in $(TARGET_SUBDIR)/libjava; \
39714 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
39715 case $(srcdir) in \
39716 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39717 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
39718 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39719 esac; \
39720 srcdiroption="--srcdir=$${topdir}/libjava"; \
39721 libsrcdir="$$s/libjava"; \
39722 rm -f no-such-file || : ; \
39723 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39724 $(TARGET_CONFIGARGS) $${srcdiroption} \
39725 || exit 1
39726 @endif target-libjava
39732 .PHONY: all-target-libjava maybe-all-target-libjava
39733 maybe-all-target-libjava:
39734 @if gcc-bootstrap
39735 all-target-libjava: stage_current
39736 @endif gcc-bootstrap
39737 @if target-libjava
39738 TARGET-target-libjava=all
39739 maybe-all-target-libjava: all-target-libjava
39740 all-target-libjava: configure-target-libjava
39741 @: $(MAKE); $(unstage)
39742 @r=`${PWD_COMMAND}`; export r; \
39743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39744 $(RAW_CXX_TARGET_EXPORTS) \
39745 (cd $(TARGET_SUBDIR)/libjava && \
39746 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
39747 @endif target-libjava
39753 .PHONY: check-target-libjava maybe-check-target-libjava
39754 maybe-check-target-libjava:
39755 @if target-libjava
39756 maybe-check-target-libjava: check-target-libjava
39758 check-target-libjava:
39759 @: $(MAKE); $(unstage)
39760 @r=`${PWD_COMMAND}`; export r; \
39761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39762 $(RAW_CXX_TARGET_EXPORTS) \
39763 (cd $(TARGET_SUBDIR)/libjava && \
39764 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
39766 @endif target-libjava
39768 .PHONY: install-target-libjava maybe-install-target-libjava
39769 maybe-install-target-libjava:
39770 @if target-libjava
39771 maybe-install-target-libjava: install-target-libjava
39773 install-target-libjava: installdirs
39774 @: $(MAKE); $(unstage)
39775 @r=`${PWD_COMMAND}`; export r; \
39776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39777 $(RAW_CXX_TARGET_EXPORTS) \
39778 (cd $(TARGET_SUBDIR)/libjava && \
39779 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39781 @endif target-libjava
39783 # Other targets (info, dvi, pdf, etc.)
39785 .PHONY: maybe-info-target-libjava info-target-libjava
39786 maybe-info-target-libjava:
39787 @if target-libjava
39788 maybe-info-target-libjava: info-target-libjava
39790 info-target-libjava: \
39791 configure-target-libjava
39792 @: $(MAKE); $(unstage)
39793 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39794 r=`${PWD_COMMAND}`; export r; \
39795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39796 $(RAW_CXX_TARGET_EXPORTS) \
39797 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
39798 for flag in $(EXTRA_TARGET_FLAGS); do \
39799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39800 done; \
39801 (cd $(TARGET_SUBDIR)/libjava && \
39802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39804 "RANLIB=$${RANLIB}" \
39805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39806 info) \
39807 || exit 1
39809 @endif target-libjava
39811 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
39812 maybe-dvi-target-libjava:
39813 @if target-libjava
39814 maybe-dvi-target-libjava: dvi-target-libjava
39816 dvi-target-libjava: \
39817 configure-target-libjava
39818 @: $(MAKE); $(unstage)
39819 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39820 r=`${PWD_COMMAND}`; export r; \
39821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39822 $(RAW_CXX_TARGET_EXPORTS) \
39823 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
39824 for flag in $(EXTRA_TARGET_FLAGS); do \
39825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39826 done; \
39827 (cd $(TARGET_SUBDIR)/libjava && \
39828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39830 "RANLIB=$${RANLIB}" \
39831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39832 dvi) \
39833 || exit 1
39835 @endif target-libjava
39837 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
39838 maybe-pdf-target-libjava:
39839 @if target-libjava
39840 maybe-pdf-target-libjava: pdf-target-libjava
39842 pdf-target-libjava: \
39843 configure-target-libjava
39844 @: $(MAKE); $(unstage)
39845 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39846 r=`${PWD_COMMAND}`; export r; \
39847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39848 $(RAW_CXX_TARGET_EXPORTS) \
39849 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
39850 for flag in $(EXTRA_TARGET_FLAGS); do \
39851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39852 done; \
39853 (cd $(TARGET_SUBDIR)/libjava && \
39854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39856 "RANLIB=$${RANLIB}" \
39857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39858 pdf) \
39859 || exit 1
39861 @endif target-libjava
39863 .PHONY: maybe-html-target-libjava html-target-libjava
39864 maybe-html-target-libjava:
39865 @if target-libjava
39866 maybe-html-target-libjava: html-target-libjava
39868 html-target-libjava: \
39869 configure-target-libjava
39870 @: $(MAKE); $(unstage)
39871 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39872 r=`${PWD_COMMAND}`; export r; \
39873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39874 $(RAW_CXX_TARGET_EXPORTS) \
39875 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
39876 for flag in $(EXTRA_TARGET_FLAGS); do \
39877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39878 done; \
39879 (cd $(TARGET_SUBDIR)/libjava && \
39880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39882 "RANLIB=$${RANLIB}" \
39883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39884 html) \
39885 || exit 1
39887 @endif target-libjava
39889 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
39890 maybe-TAGS-target-libjava:
39891 @if target-libjava
39892 maybe-TAGS-target-libjava: TAGS-target-libjava
39894 TAGS-target-libjava: \
39895 configure-target-libjava
39896 @: $(MAKE); $(unstage)
39897 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39898 r=`${PWD_COMMAND}`; export r; \
39899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39900 $(RAW_CXX_TARGET_EXPORTS) \
39901 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
39902 for flag in $(EXTRA_TARGET_FLAGS); do \
39903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39904 done; \
39905 (cd $(TARGET_SUBDIR)/libjava && \
39906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39908 "RANLIB=$${RANLIB}" \
39909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39910 TAGS) \
39911 || exit 1
39913 @endif target-libjava
39915 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
39916 maybe-install-info-target-libjava:
39917 @if target-libjava
39918 maybe-install-info-target-libjava: install-info-target-libjava
39920 install-info-target-libjava: \
39921 configure-target-libjava \
39922 info-target-libjava
39923 @: $(MAKE); $(unstage)
39924 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39925 r=`${PWD_COMMAND}`; export r; \
39926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39927 $(RAW_CXX_TARGET_EXPORTS) \
39928 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
39929 for flag in $(EXTRA_TARGET_FLAGS); do \
39930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39931 done; \
39932 (cd $(TARGET_SUBDIR)/libjava && \
39933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39935 "RANLIB=$${RANLIB}" \
39936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39937 install-info) \
39938 || exit 1
39940 @endif target-libjava
39942 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
39943 maybe-install-html-target-libjava:
39944 @if target-libjava
39945 maybe-install-html-target-libjava: install-html-target-libjava
39947 install-html-target-libjava: \
39948 configure-target-libjava \
39949 html-target-libjava
39950 @: $(MAKE); $(unstage)
39951 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39952 r=`${PWD_COMMAND}`; export r; \
39953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39954 $(RAW_CXX_TARGET_EXPORTS) \
39955 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
39956 for flag in $(EXTRA_TARGET_FLAGS); do \
39957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39958 done; \
39959 (cd $(TARGET_SUBDIR)/libjava && \
39960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39962 "RANLIB=$${RANLIB}" \
39963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39964 install-html) \
39965 || exit 1
39967 @endif target-libjava
39969 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
39970 maybe-installcheck-target-libjava:
39971 @if target-libjava
39972 maybe-installcheck-target-libjava: installcheck-target-libjava
39974 installcheck-target-libjava: \
39975 configure-target-libjava
39976 @: $(MAKE); $(unstage)
39977 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39978 r=`${PWD_COMMAND}`; export r; \
39979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39980 $(RAW_CXX_TARGET_EXPORTS) \
39981 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
39982 for flag in $(EXTRA_TARGET_FLAGS); do \
39983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39984 done; \
39985 (cd $(TARGET_SUBDIR)/libjava && \
39986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39988 "RANLIB=$${RANLIB}" \
39989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39990 installcheck) \
39991 || exit 1
39993 @endif target-libjava
39995 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
39996 maybe-mostlyclean-target-libjava:
39997 @if target-libjava
39998 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
40000 mostlyclean-target-libjava:
40001 @: $(MAKE); $(unstage)
40002 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40003 r=`${PWD_COMMAND}`; export r; \
40004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40005 $(RAW_CXX_TARGET_EXPORTS) \
40006 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
40007 for flag in $(EXTRA_TARGET_FLAGS); do \
40008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40009 done; \
40010 (cd $(TARGET_SUBDIR)/libjava && \
40011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40013 "RANLIB=$${RANLIB}" \
40014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40015 mostlyclean) \
40016 || exit 1
40018 @endif target-libjava
40020 .PHONY: maybe-clean-target-libjava clean-target-libjava
40021 maybe-clean-target-libjava:
40022 @if target-libjava
40023 maybe-clean-target-libjava: clean-target-libjava
40025 clean-target-libjava:
40026 @: $(MAKE); $(unstage)
40027 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40028 r=`${PWD_COMMAND}`; export r; \
40029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40030 $(RAW_CXX_TARGET_EXPORTS) \
40031 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
40032 for flag in $(EXTRA_TARGET_FLAGS); do \
40033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40034 done; \
40035 (cd $(TARGET_SUBDIR)/libjava && \
40036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40038 "RANLIB=$${RANLIB}" \
40039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40040 clean) \
40041 || exit 1
40043 @endif target-libjava
40045 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
40046 maybe-distclean-target-libjava:
40047 @if target-libjava
40048 maybe-distclean-target-libjava: distclean-target-libjava
40050 distclean-target-libjava:
40051 @: $(MAKE); $(unstage)
40052 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40053 r=`${PWD_COMMAND}`; export r; \
40054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40055 $(RAW_CXX_TARGET_EXPORTS) \
40056 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
40057 for flag in $(EXTRA_TARGET_FLAGS); do \
40058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40059 done; \
40060 (cd $(TARGET_SUBDIR)/libjava && \
40061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40063 "RANLIB=$${RANLIB}" \
40064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40065 distclean) \
40066 || exit 1
40068 @endif target-libjava
40070 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
40071 maybe-maintainer-clean-target-libjava:
40072 @if target-libjava
40073 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
40075 maintainer-clean-target-libjava:
40076 @: $(MAKE); $(unstage)
40077 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40078 r=`${PWD_COMMAND}`; export r; \
40079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40080 $(RAW_CXX_TARGET_EXPORTS) \
40081 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
40082 for flag in $(EXTRA_TARGET_FLAGS); do \
40083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40084 done; \
40085 (cd $(TARGET_SUBDIR)/libjava && \
40086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40088 "RANLIB=$${RANLIB}" \
40089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40090 maintainer-clean) \
40091 || exit 1
40093 @endif target-libjava
40099 .PHONY: configure-target-zlib maybe-configure-target-zlib
40100 maybe-configure-target-zlib:
40101 @if gcc-bootstrap
40102 configure-target-zlib: stage_current
40103 @endif gcc-bootstrap
40104 @if target-zlib
40105 maybe-configure-target-zlib: configure-target-zlib
40106 configure-target-zlib:
40107 @: $(MAKE); $(unstage)
40108 @r=`${PWD_COMMAND}`; export r; \
40109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40110 echo "Checking multilib configuration for zlib..."; \
40111 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
40112 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
40113 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
40114 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
40115 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
40116 else \
40117 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
40118 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
40119 fi; \
40120 else \
40121 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
40122 fi; \
40123 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
40124 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
40125 $(NORMAL_TARGET_EXPORTS) \
40126 echo Configuring in $(TARGET_SUBDIR)/zlib; \
40127 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
40128 case $(srcdir) in \
40129 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40130 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
40131 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40132 esac; \
40133 srcdiroption="--srcdir=$${topdir}/zlib"; \
40134 libsrcdir="$$s/zlib"; \
40135 rm -f no-such-file || : ; \
40136 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40137 $(TARGET_CONFIGARGS) $${srcdiroption} \
40138 || exit 1
40139 @endif target-zlib
40145 .PHONY: all-target-zlib maybe-all-target-zlib
40146 maybe-all-target-zlib:
40147 @if gcc-bootstrap
40148 all-target-zlib: stage_current
40149 @endif gcc-bootstrap
40150 @if target-zlib
40151 TARGET-target-zlib=all
40152 maybe-all-target-zlib: all-target-zlib
40153 all-target-zlib: configure-target-zlib
40154 @: $(MAKE); $(unstage)
40155 @r=`${PWD_COMMAND}`; export r; \
40156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40157 $(NORMAL_TARGET_EXPORTS) \
40158 (cd $(TARGET_SUBDIR)/zlib && \
40159 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
40160 @endif target-zlib
40166 .PHONY: check-target-zlib maybe-check-target-zlib
40167 maybe-check-target-zlib:
40168 @if target-zlib
40169 maybe-check-target-zlib: check-target-zlib
40171 check-target-zlib:
40172 @: $(MAKE); $(unstage)
40173 @r=`${PWD_COMMAND}`; export r; \
40174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40175 $(NORMAL_TARGET_EXPORTS) \
40176 (cd $(TARGET_SUBDIR)/zlib && \
40177 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40179 @endif target-zlib
40181 .PHONY: install-target-zlib maybe-install-target-zlib
40182 maybe-install-target-zlib:
40183 @if target-zlib
40184 maybe-install-target-zlib: install-target-zlib
40186 install-target-zlib: installdirs
40187 @: $(MAKE); $(unstage)
40188 @r=`${PWD_COMMAND}`; export r; \
40189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40190 $(NORMAL_TARGET_EXPORTS) \
40191 (cd $(TARGET_SUBDIR)/zlib && \
40192 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40194 @endif target-zlib
40196 # Other targets (info, dvi, pdf, etc.)
40198 .PHONY: maybe-info-target-zlib info-target-zlib
40199 maybe-info-target-zlib:
40200 @if target-zlib
40201 maybe-info-target-zlib: info-target-zlib
40203 info-target-zlib: \
40204 configure-target-zlib
40205 @: $(MAKE); $(unstage)
40206 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40207 r=`${PWD_COMMAND}`; export r; \
40208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40209 $(NORMAL_TARGET_EXPORTS) \
40210 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
40211 for flag in $(EXTRA_TARGET_FLAGS); do \
40212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40213 done; \
40214 (cd $(TARGET_SUBDIR)/zlib && \
40215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40217 "RANLIB=$${RANLIB}" \
40218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40219 info) \
40220 || exit 1
40222 @endif target-zlib
40224 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
40225 maybe-dvi-target-zlib:
40226 @if target-zlib
40227 maybe-dvi-target-zlib: dvi-target-zlib
40229 dvi-target-zlib: \
40230 configure-target-zlib
40231 @: $(MAKE); $(unstage)
40232 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40233 r=`${PWD_COMMAND}`; export r; \
40234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40235 $(NORMAL_TARGET_EXPORTS) \
40236 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
40237 for flag in $(EXTRA_TARGET_FLAGS); do \
40238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40239 done; \
40240 (cd $(TARGET_SUBDIR)/zlib && \
40241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40243 "RANLIB=$${RANLIB}" \
40244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40245 dvi) \
40246 || exit 1
40248 @endif target-zlib
40250 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
40251 maybe-pdf-target-zlib:
40252 @if target-zlib
40253 maybe-pdf-target-zlib: pdf-target-zlib
40255 pdf-target-zlib: \
40256 configure-target-zlib
40257 @: $(MAKE); $(unstage)
40258 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40259 r=`${PWD_COMMAND}`; export r; \
40260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40261 $(NORMAL_TARGET_EXPORTS) \
40262 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
40263 for flag in $(EXTRA_TARGET_FLAGS); do \
40264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40265 done; \
40266 (cd $(TARGET_SUBDIR)/zlib && \
40267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40269 "RANLIB=$${RANLIB}" \
40270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40271 pdf) \
40272 || exit 1
40274 @endif target-zlib
40276 .PHONY: maybe-html-target-zlib html-target-zlib
40277 maybe-html-target-zlib:
40278 @if target-zlib
40279 maybe-html-target-zlib: html-target-zlib
40281 html-target-zlib: \
40282 configure-target-zlib
40283 @: $(MAKE); $(unstage)
40284 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40285 r=`${PWD_COMMAND}`; export r; \
40286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40287 $(NORMAL_TARGET_EXPORTS) \
40288 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
40289 for flag in $(EXTRA_TARGET_FLAGS); do \
40290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40291 done; \
40292 (cd $(TARGET_SUBDIR)/zlib && \
40293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40295 "RANLIB=$${RANLIB}" \
40296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40297 html) \
40298 || exit 1
40300 @endif target-zlib
40302 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
40303 maybe-TAGS-target-zlib:
40304 @if target-zlib
40305 maybe-TAGS-target-zlib: TAGS-target-zlib
40307 TAGS-target-zlib: \
40308 configure-target-zlib
40309 @: $(MAKE); $(unstage)
40310 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40311 r=`${PWD_COMMAND}`; export r; \
40312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40313 $(NORMAL_TARGET_EXPORTS) \
40314 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
40315 for flag in $(EXTRA_TARGET_FLAGS); do \
40316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40317 done; \
40318 (cd $(TARGET_SUBDIR)/zlib && \
40319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40321 "RANLIB=$${RANLIB}" \
40322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40323 TAGS) \
40324 || exit 1
40326 @endif target-zlib
40328 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
40329 maybe-install-info-target-zlib:
40330 @if target-zlib
40331 maybe-install-info-target-zlib: install-info-target-zlib
40333 install-info-target-zlib: \
40334 configure-target-zlib \
40335 info-target-zlib
40336 @: $(MAKE); $(unstage)
40337 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40338 r=`${PWD_COMMAND}`; export r; \
40339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40340 $(NORMAL_TARGET_EXPORTS) \
40341 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
40342 for flag in $(EXTRA_TARGET_FLAGS); do \
40343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40344 done; \
40345 (cd $(TARGET_SUBDIR)/zlib && \
40346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40348 "RANLIB=$${RANLIB}" \
40349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40350 install-info) \
40351 || exit 1
40353 @endif target-zlib
40355 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
40356 maybe-install-html-target-zlib:
40357 @if target-zlib
40358 maybe-install-html-target-zlib: install-html-target-zlib
40360 install-html-target-zlib: \
40361 configure-target-zlib \
40362 html-target-zlib
40363 @: $(MAKE); $(unstage)
40364 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40365 r=`${PWD_COMMAND}`; export r; \
40366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40367 $(NORMAL_TARGET_EXPORTS) \
40368 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
40369 for flag in $(EXTRA_TARGET_FLAGS); do \
40370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40371 done; \
40372 (cd $(TARGET_SUBDIR)/zlib && \
40373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40375 "RANLIB=$${RANLIB}" \
40376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40377 install-html) \
40378 || exit 1
40380 @endif target-zlib
40382 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
40383 maybe-installcheck-target-zlib:
40384 @if target-zlib
40385 maybe-installcheck-target-zlib: installcheck-target-zlib
40387 installcheck-target-zlib: \
40388 configure-target-zlib
40389 @: $(MAKE); $(unstage)
40390 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40391 r=`${PWD_COMMAND}`; export r; \
40392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40393 $(NORMAL_TARGET_EXPORTS) \
40394 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
40395 for flag in $(EXTRA_TARGET_FLAGS); do \
40396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40397 done; \
40398 (cd $(TARGET_SUBDIR)/zlib && \
40399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40401 "RANLIB=$${RANLIB}" \
40402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40403 installcheck) \
40404 || exit 1
40406 @endif target-zlib
40408 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
40409 maybe-mostlyclean-target-zlib:
40410 @if target-zlib
40411 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
40413 mostlyclean-target-zlib:
40414 @: $(MAKE); $(unstage)
40415 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40416 r=`${PWD_COMMAND}`; export r; \
40417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40418 $(NORMAL_TARGET_EXPORTS) \
40419 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
40420 for flag in $(EXTRA_TARGET_FLAGS); do \
40421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40422 done; \
40423 (cd $(TARGET_SUBDIR)/zlib && \
40424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40426 "RANLIB=$${RANLIB}" \
40427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40428 mostlyclean) \
40429 || exit 1
40431 @endif target-zlib
40433 .PHONY: maybe-clean-target-zlib clean-target-zlib
40434 maybe-clean-target-zlib:
40435 @if target-zlib
40436 maybe-clean-target-zlib: clean-target-zlib
40438 clean-target-zlib:
40439 @: $(MAKE); $(unstage)
40440 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40441 r=`${PWD_COMMAND}`; export r; \
40442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40443 $(NORMAL_TARGET_EXPORTS) \
40444 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
40445 for flag in $(EXTRA_TARGET_FLAGS); do \
40446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40447 done; \
40448 (cd $(TARGET_SUBDIR)/zlib && \
40449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40451 "RANLIB=$${RANLIB}" \
40452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40453 clean) \
40454 || exit 1
40456 @endif target-zlib
40458 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
40459 maybe-distclean-target-zlib:
40460 @if target-zlib
40461 maybe-distclean-target-zlib: distclean-target-zlib
40463 distclean-target-zlib:
40464 @: $(MAKE); $(unstage)
40465 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40466 r=`${PWD_COMMAND}`; export r; \
40467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40468 $(NORMAL_TARGET_EXPORTS) \
40469 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
40470 for flag in $(EXTRA_TARGET_FLAGS); do \
40471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40472 done; \
40473 (cd $(TARGET_SUBDIR)/zlib && \
40474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40476 "RANLIB=$${RANLIB}" \
40477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40478 distclean) \
40479 || exit 1
40481 @endif target-zlib
40483 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
40484 maybe-maintainer-clean-target-zlib:
40485 @if target-zlib
40486 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
40488 maintainer-clean-target-zlib:
40489 @: $(MAKE); $(unstage)
40490 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40491 r=`${PWD_COMMAND}`; export r; \
40492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40493 $(NORMAL_TARGET_EXPORTS) \
40494 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
40495 for flag in $(EXTRA_TARGET_FLAGS); do \
40496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40497 done; \
40498 (cd $(TARGET_SUBDIR)/zlib && \
40499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40501 "RANLIB=$${RANLIB}" \
40502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40503 maintainer-clean) \
40504 || exit 1
40506 @endif target-zlib
40512 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
40513 maybe-configure-target-boehm-gc:
40514 @if gcc-bootstrap
40515 configure-target-boehm-gc: stage_current
40516 @endif gcc-bootstrap
40517 @if target-boehm-gc
40518 maybe-configure-target-boehm-gc: configure-target-boehm-gc
40519 configure-target-boehm-gc:
40520 @: $(MAKE); $(unstage)
40521 @r=`${PWD_COMMAND}`; export r; \
40522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40523 echo "Checking multilib configuration for boehm-gc..."; \
40524 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
40525 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
40526 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
40527 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
40528 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
40529 else \
40530 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
40531 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
40532 fi; \
40533 else \
40534 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
40535 fi; \
40536 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
40537 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
40538 $(NORMAL_TARGET_EXPORTS) \
40539 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
40540 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
40541 case $(srcdir) in \
40542 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40543 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
40544 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40545 esac; \
40546 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
40547 libsrcdir="$$s/boehm-gc"; \
40548 rm -f no-such-file || : ; \
40549 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40550 $(TARGET_CONFIGARGS) $${srcdiroption} \
40551 || exit 1
40552 @endif target-boehm-gc
40558 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
40559 maybe-all-target-boehm-gc:
40560 @if gcc-bootstrap
40561 all-target-boehm-gc: stage_current
40562 @endif gcc-bootstrap
40563 @if target-boehm-gc
40564 TARGET-target-boehm-gc=all
40565 maybe-all-target-boehm-gc: all-target-boehm-gc
40566 all-target-boehm-gc: configure-target-boehm-gc
40567 @: $(MAKE); $(unstage)
40568 @r=`${PWD_COMMAND}`; export r; \
40569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40570 $(NORMAL_TARGET_EXPORTS) \
40571 (cd $(TARGET_SUBDIR)/boehm-gc && \
40572 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
40573 @endif target-boehm-gc
40579 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
40580 maybe-check-target-boehm-gc:
40581 @if target-boehm-gc
40582 maybe-check-target-boehm-gc: check-target-boehm-gc
40584 check-target-boehm-gc:
40585 @: $(MAKE); $(unstage)
40586 @r=`${PWD_COMMAND}`; export r; \
40587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40588 $(NORMAL_TARGET_EXPORTS) \
40589 (cd $(TARGET_SUBDIR)/boehm-gc && \
40590 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40592 @endif target-boehm-gc
40594 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
40595 maybe-install-target-boehm-gc:
40596 @if target-boehm-gc
40597 maybe-install-target-boehm-gc: install-target-boehm-gc
40599 install-target-boehm-gc: installdirs
40600 @: $(MAKE); $(unstage)
40601 @r=`${PWD_COMMAND}`; export r; \
40602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40603 $(NORMAL_TARGET_EXPORTS) \
40604 (cd $(TARGET_SUBDIR)/boehm-gc && \
40605 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40607 @endif target-boehm-gc
40609 # Other targets (info, dvi, pdf, etc.)
40611 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
40612 maybe-info-target-boehm-gc:
40613 @if target-boehm-gc
40614 maybe-info-target-boehm-gc: info-target-boehm-gc
40616 info-target-boehm-gc: \
40617 configure-target-boehm-gc
40618 @: $(MAKE); $(unstage)
40619 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40620 r=`${PWD_COMMAND}`; export r; \
40621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40622 $(NORMAL_TARGET_EXPORTS) \
40623 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
40624 for flag in $(EXTRA_TARGET_FLAGS); do \
40625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40626 done; \
40627 (cd $(TARGET_SUBDIR)/boehm-gc && \
40628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40630 "RANLIB=$${RANLIB}" \
40631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40632 info) \
40633 || exit 1
40635 @endif target-boehm-gc
40637 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
40638 maybe-dvi-target-boehm-gc:
40639 @if target-boehm-gc
40640 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
40642 dvi-target-boehm-gc: \
40643 configure-target-boehm-gc
40644 @: $(MAKE); $(unstage)
40645 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40646 r=`${PWD_COMMAND}`; export r; \
40647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40648 $(NORMAL_TARGET_EXPORTS) \
40649 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
40650 for flag in $(EXTRA_TARGET_FLAGS); do \
40651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40652 done; \
40653 (cd $(TARGET_SUBDIR)/boehm-gc && \
40654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40656 "RANLIB=$${RANLIB}" \
40657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40658 dvi) \
40659 || exit 1
40661 @endif target-boehm-gc
40663 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
40664 maybe-pdf-target-boehm-gc:
40665 @if target-boehm-gc
40666 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
40668 pdf-target-boehm-gc: \
40669 configure-target-boehm-gc
40670 @: $(MAKE); $(unstage)
40671 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40672 r=`${PWD_COMMAND}`; export r; \
40673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40674 $(NORMAL_TARGET_EXPORTS) \
40675 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
40676 for flag in $(EXTRA_TARGET_FLAGS); do \
40677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40678 done; \
40679 (cd $(TARGET_SUBDIR)/boehm-gc && \
40680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40682 "RANLIB=$${RANLIB}" \
40683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40684 pdf) \
40685 || exit 1
40687 @endif target-boehm-gc
40689 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
40690 maybe-html-target-boehm-gc:
40691 @if target-boehm-gc
40692 maybe-html-target-boehm-gc: html-target-boehm-gc
40694 html-target-boehm-gc: \
40695 configure-target-boehm-gc
40696 @: $(MAKE); $(unstage)
40697 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40698 r=`${PWD_COMMAND}`; export r; \
40699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40700 $(NORMAL_TARGET_EXPORTS) \
40701 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
40702 for flag in $(EXTRA_TARGET_FLAGS); do \
40703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40704 done; \
40705 (cd $(TARGET_SUBDIR)/boehm-gc && \
40706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40708 "RANLIB=$${RANLIB}" \
40709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40710 html) \
40711 || exit 1
40713 @endif target-boehm-gc
40715 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
40716 maybe-TAGS-target-boehm-gc:
40717 @if target-boehm-gc
40718 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
40720 TAGS-target-boehm-gc: \
40721 configure-target-boehm-gc
40722 @: $(MAKE); $(unstage)
40723 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40724 r=`${PWD_COMMAND}`; export r; \
40725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40726 $(NORMAL_TARGET_EXPORTS) \
40727 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
40728 for flag in $(EXTRA_TARGET_FLAGS); do \
40729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40730 done; \
40731 (cd $(TARGET_SUBDIR)/boehm-gc && \
40732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40734 "RANLIB=$${RANLIB}" \
40735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40736 TAGS) \
40737 || exit 1
40739 @endif target-boehm-gc
40741 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
40742 maybe-install-info-target-boehm-gc:
40743 @if target-boehm-gc
40744 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
40746 install-info-target-boehm-gc: \
40747 configure-target-boehm-gc \
40748 info-target-boehm-gc
40749 @: $(MAKE); $(unstage)
40750 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40751 r=`${PWD_COMMAND}`; export r; \
40752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40753 $(NORMAL_TARGET_EXPORTS) \
40754 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
40755 for flag in $(EXTRA_TARGET_FLAGS); do \
40756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40757 done; \
40758 (cd $(TARGET_SUBDIR)/boehm-gc && \
40759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40761 "RANLIB=$${RANLIB}" \
40762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40763 install-info) \
40764 || exit 1
40766 @endif target-boehm-gc
40768 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
40769 maybe-install-html-target-boehm-gc:
40770 @if target-boehm-gc
40771 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
40773 install-html-target-boehm-gc: \
40774 configure-target-boehm-gc \
40775 html-target-boehm-gc
40776 @: $(MAKE); $(unstage)
40777 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40778 r=`${PWD_COMMAND}`; export r; \
40779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40780 $(NORMAL_TARGET_EXPORTS) \
40781 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
40782 for flag in $(EXTRA_TARGET_FLAGS); do \
40783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40784 done; \
40785 (cd $(TARGET_SUBDIR)/boehm-gc && \
40786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40788 "RANLIB=$${RANLIB}" \
40789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40790 install-html) \
40791 || exit 1
40793 @endif target-boehm-gc
40795 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
40796 maybe-installcheck-target-boehm-gc:
40797 @if target-boehm-gc
40798 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
40800 installcheck-target-boehm-gc: \
40801 configure-target-boehm-gc
40802 @: $(MAKE); $(unstage)
40803 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40804 r=`${PWD_COMMAND}`; export r; \
40805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40806 $(NORMAL_TARGET_EXPORTS) \
40807 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
40808 for flag in $(EXTRA_TARGET_FLAGS); do \
40809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40810 done; \
40811 (cd $(TARGET_SUBDIR)/boehm-gc && \
40812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40814 "RANLIB=$${RANLIB}" \
40815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40816 installcheck) \
40817 || exit 1
40819 @endif target-boehm-gc
40821 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
40822 maybe-mostlyclean-target-boehm-gc:
40823 @if target-boehm-gc
40824 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
40826 mostlyclean-target-boehm-gc:
40827 @: $(MAKE); $(unstage)
40828 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40829 r=`${PWD_COMMAND}`; export r; \
40830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40831 $(NORMAL_TARGET_EXPORTS) \
40832 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
40833 for flag in $(EXTRA_TARGET_FLAGS); do \
40834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40835 done; \
40836 (cd $(TARGET_SUBDIR)/boehm-gc && \
40837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40839 "RANLIB=$${RANLIB}" \
40840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40841 mostlyclean) \
40842 || exit 1
40844 @endif target-boehm-gc
40846 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
40847 maybe-clean-target-boehm-gc:
40848 @if target-boehm-gc
40849 maybe-clean-target-boehm-gc: clean-target-boehm-gc
40851 clean-target-boehm-gc:
40852 @: $(MAKE); $(unstage)
40853 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40854 r=`${PWD_COMMAND}`; export r; \
40855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40856 $(NORMAL_TARGET_EXPORTS) \
40857 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
40858 for flag in $(EXTRA_TARGET_FLAGS); do \
40859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40860 done; \
40861 (cd $(TARGET_SUBDIR)/boehm-gc && \
40862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40864 "RANLIB=$${RANLIB}" \
40865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40866 clean) \
40867 || exit 1
40869 @endif target-boehm-gc
40871 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
40872 maybe-distclean-target-boehm-gc:
40873 @if target-boehm-gc
40874 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
40876 distclean-target-boehm-gc:
40877 @: $(MAKE); $(unstage)
40878 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40879 r=`${PWD_COMMAND}`; export r; \
40880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40881 $(NORMAL_TARGET_EXPORTS) \
40882 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
40883 for flag in $(EXTRA_TARGET_FLAGS); do \
40884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40885 done; \
40886 (cd $(TARGET_SUBDIR)/boehm-gc && \
40887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40889 "RANLIB=$${RANLIB}" \
40890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40891 distclean) \
40892 || exit 1
40894 @endif target-boehm-gc
40896 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
40897 maybe-maintainer-clean-target-boehm-gc:
40898 @if target-boehm-gc
40899 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
40901 maintainer-clean-target-boehm-gc:
40902 @: $(MAKE); $(unstage)
40903 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40904 r=`${PWD_COMMAND}`; export r; \
40905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40906 $(NORMAL_TARGET_EXPORTS) \
40907 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
40908 for flag in $(EXTRA_TARGET_FLAGS); do \
40909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40910 done; \
40911 (cd $(TARGET_SUBDIR)/boehm-gc && \
40912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40914 "RANLIB=$${RANLIB}" \
40915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40916 maintainer-clean) \
40917 || exit 1
40919 @endif target-boehm-gc
40925 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
40926 maybe-configure-target-qthreads:
40927 @if gcc-bootstrap
40928 configure-target-qthreads: stage_current
40929 @endif gcc-bootstrap
40930 @if target-qthreads
40931 maybe-configure-target-qthreads: configure-target-qthreads
40932 configure-target-qthreads:
40933 @: $(MAKE); $(unstage)
40934 @r=`${PWD_COMMAND}`; export r; \
40935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40936 echo "Checking multilib configuration for qthreads..."; \
40937 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
40938 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
40939 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
40940 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
40941 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
40942 else \
40943 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
40944 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
40945 fi; \
40946 else \
40947 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
40948 fi; \
40949 test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
40950 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
40951 $(NORMAL_TARGET_EXPORTS) \
40952 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
40953 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
40954 case $(srcdir) in \
40955 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40956 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
40957 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40958 esac; \
40959 srcdiroption="--srcdir=$${topdir}/qthreads"; \
40960 libsrcdir="$$s/qthreads"; \
40961 rm -f no-such-file || : ; \
40962 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40963 $(TARGET_CONFIGARGS) $${srcdiroption} \
40964 || exit 1
40965 @endif target-qthreads
40971 .PHONY: all-target-qthreads maybe-all-target-qthreads
40972 maybe-all-target-qthreads:
40973 @if gcc-bootstrap
40974 all-target-qthreads: stage_current
40975 @endif gcc-bootstrap
40976 @if target-qthreads
40977 TARGET-target-qthreads=all
40978 maybe-all-target-qthreads: all-target-qthreads
40979 all-target-qthreads: configure-target-qthreads
40980 @: $(MAKE); $(unstage)
40981 @r=`${PWD_COMMAND}`; export r; \
40982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40983 $(NORMAL_TARGET_EXPORTS) \
40984 (cd $(TARGET_SUBDIR)/qthreads && \
40985 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
40986 @endif target-qthreads
40992 .PHONY: check-target-qthreads maybe-check-target-qthreads
40993 maybe-check-target-qthreads:
40994 @if target-qthreads
40995 maybe-check-target-qthreads: check-target-qthreads
40997 check-target-qthreads:
40998 @: $(MAKE); $(unstage)
40999 @r=`${PWD_COMMAND}`; export r; \
41000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41001 $(NORMAL_TARGET_EXPORTS) \
41002 (cd $(TARGET_SUBDIR)/qthreads && \
41003 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41005 @endif target-qthreads
41007 .PHONY: install-target-qthreads maybe-install-target-qthreads
41008 maybe-install-target-qthreads:
41009 @if target-qthreads
41010 maybe-install-target-qthreads: install-target-qthreads
41012 install-target-qthreads: installdirs
41013 @: $(MAKE); $(unstage)
41014 @r=`${PWD_COMMAND}`; export r; \
41015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41016 $(NORMAL_TARGET_EXPORTS) \
41017 (cd $(TARGET_SUBDIR)/qthreads && \
41018 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41020 @endif target-qthreads
41022 # Other targets (info, dvi, pdf, etc.)
41024 .PHONY: maybe-info-target-qthreads info-target-qthreads
41025 maybe-info-target-qthreads:
41026 @if target-qthreads
41027 maybe-info-target-qthreads: info-target-qthreads
41029 info-target-qthreads: \
41030 configure-target-qthreads
41031 @: $(MAKE); $(unstage)
41032 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
41033 r=`${PWD_COMMAND}`; export r; \
41034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41035 $(NORMAL_TARGET_EXPORTS) \
41036 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
41037 for flag in $(EXTRA_TARGET_FLAGS); do \
41038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41039 done; \
41040 (cd $(TARGET_SUBDIR)/qthreads && \
41041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41043 "RANLIB=$${RANLIB}" \
41044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41045 info) \
41046 || exit 1
41048 @endif target-qthreads
41050 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
41051 maybe-dvi-target-qthreads:
41052 @if target-qthreads
41053 maybe-dvi-target-qthreads: dvi-target-qthreads
41055 dvi-target-qthreads: \
41056 configure-target-qthreads
41057 @: $(MAKE); $(unstage)
41058 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
41059 r=`${PWD_COMMAND}`; export r; \
41060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41061 $(NORMAL_TARGET_EXPORTS) \
41062 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
41063 for flag in $(EXTRA_TARGET_FLAGS); do \
41064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41065 done; \
41066 (cd $(TARGET_SUBDIR)/qthreads && \
41067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41069 "RANLIB=$${RANLIB}" \
41070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41071 dvi) \
41072 || exit 1
41074 @endif target-qthreads
41076 .PHONY: maybe-pdf-target-qthreads pdf-target-qthreads
41077 maybe-pdf-target-qthreads:
41078 @if target-qthreads
41079 maybe-pdf-target-qthreads: pdf-target-qthreads
41081 pdf-target-qthreads: \
41082 configure-target-qthreads
41083 @: $(MAKE); $(unstage)
41084 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
41085 r=`${PWD_COMMAND}`; export r; \
41086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41087 $(NORMAL_TARGET_EXPORTS) \
41088 echo "Doing pdf in $(TARGET_SUBDIR)/qthreads" ; \
41089 for flag in $(EXTRA_TARGET_FLAGS); do \
41090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41091 done; \
41092 (cd $(TARGET_SUBDIR)/qthreads && \
41093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41095 "RANLIB=$${RANLIB}" \
41096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41097 pdf) \
41098 || exit 1
41100 @endif target-qthreads
41102 .PHONY: maybe-html-target-qthreads html-target-qthreads
41103 maybe-html-target-qthreads:
41104 @if target-qthreads
41105 maybe-html-target-qthreads: html-target-qthreads
41107 html-target-qthreads: \
41108 configure-target-qthreads
41109 @: $(MAKE); $(unstage)
41110 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
41111 r=`${PWD_COMMAND}`; export r; \
41112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41113 $(NORMAL_TARGET_EXPORTS) \
41114 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
41115 for flag in $(EXTRA_TARGET_FLAGS); do \
41116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41117 done; \
41118 (cd $(TARGET_SUBDIR)/qthreads && \
41119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41121 "RANLIB=$${RANLIB}" \
41122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41123 html) \
41124 || exit 1
41126 @endif target-qthreads
41128 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
41129 maybe-TAGS-target-qthreads:
41130 @if target-qthreads
41131 maybe-TAGS-target-qthreads: TAGS-target-qthreads
41133 TAGS-target-qthreads: \
41134 configure-target-qthreads
41135 @: $(MAKE); $(unstage)
41136 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
41137 r=`${PWD_COMMAND}`; export r; \
41138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41139 $(NORMAL_TARGET_EXPORTS) \
41140 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
41141 for flag in $(EXTRA_TARGET_FLAGS); do \
41142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41143 done; \
41144 (cd $(TARGET_SUBDIR)/qthreads && \
41145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41147 "RANLIB=$${RANLIB}" \
41148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41149 TAGS) \
41150 || exit 1
41152 @endif target-qthreads
41154 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
41155 maybe-install-info-target-qthreads:
41156 @if target-qthreads
41157 maybe-install-info-target-qthreads: install-info-target-qthreads
41159 install-info-target-qthreads: \
41160 configure-target-qthreads \
41161 info-target-qthreads
41162 @: $(MAKE); $(unstage)
41163 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
41164 r=`${PWD_COMMAND}`; export r; \
41165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41166 $(NORMAL_TARGET_EXPORTS) \
41167 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
41168 for flag in $(EXTRA_TARGET_FLAGS); do \
41169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41170 done; \
41171 (cd $(TARGET_SUBDIR)/qthreads && \
41172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41174 "RANLIB=$${RANLIB}" \
41175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41176 install-info) \
41177 || exit 1
41179 @endif target-qthreads
41181 .PHONY: maybe-install-html-target-qthreads install-html-target-qthreads
41182 maybe-install-html-target-qthreads:
41183 @if target-qthreads
41184 maybe-install-html-target-qthreads: install-html-target-qthreads
41186 install-html-target-qthreads: \
41187 configure-target-qthreads \
41188 html-target-qthreads
41189 @: $(MAKE); $(unstage)
41190 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
41191 r=`${PWD_COMMAND}`; export r; \
41192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41193 $(NORMAL_TARGET_EXPORTS) \
41194 echo "Doing install-html in $(TARGET_SUBDIR)/qthreads" ; \
41195 for flag in $(EXTRA_TARGET_FLAGS); do \
41196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41197 done; \
41198 (cd $(TARGET_SUBDIR)/qthreads && \
41199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41201 "RANLIB=$${RANLIB}" \
41202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41203 install-html) \
41204 || exit 1
41206 @endif target-qthreads
41208 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
41209 maybe-installcheck-target-qthreads:
41210 @if target-qthreads
41211 maybe-installcheck-target-qthreads: installcheck-target-qthreads
41213 installcheck-target-qthreads: \
41214 configure-target-qthreads
41215 @: $(MAKE); $(unstage)
41216 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
41217 r=`${PWD_COMMAND}`; export r; \
41218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41219 $(NORMAL_TARGET_EXPORTS) \
41220 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
41221 for flag in $(EXTRA_TARGET_FLAGS); do \
41222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41223 done; \
41224 (cd $(TARGET_SUBDIR)/qthreads && \
41225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41227 "RANLIB=$${RANLIB}" \
41228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41229 installcheck) \
41230 || exit 1
41232 @endif target-qthreads
41234 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
41235 maybe-mostlyclean-target-qthreads:
41236 @if target-qthreads
41237 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
41239 mostlyclean-target-qthreads:
41240 @: $(MAKE); $(unstage)
41241 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
41242 r=`${PWD_COMMAND}`; export r; \
41243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41244 $(NORMAL_TARGET_EXPORTS) \
41245 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
41246 for flag in $(EXTRA_TARGET_FLAGS); do \
41247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41248 done; \
41249 (cd $(TARGET_SUBDIR)/qthreads && \
41250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41252 "RANLIB=$${RANLIB}" \
41253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41254 mostlyclean) \
41255 || exit 1
41257 @endif target-qthreads
41259 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
41260 maybe-clean-target-qthreads:
41261 @if target-qthreads
41262 maybe-clean-target-qthreads: clean-target-qthreads
41264 clean-target-qthreads:
41265 @: $(MAKE); $(unstage)
41266 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
41267 r=`${PWD_COMMAND}`; export r; \
41268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41269 $(NORMAL_TARGET_EXPORTS) \
41270 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
41271 for flag in $(EXTRA_TARGET_FLAGS); do \
41272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41273 done; \
41274 (cd $(TARGET_SUBDIR)/qthreads && \
41275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41277 "RANLIB=$${RANLIB}" \
41278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41279 clean) \
41280 || exit 1
41282 @endif target-qthreads
41284 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
41285 maybe-distclean-target-qthreads:
41286 @if target-qthreads
41287 maybe-distclean-target-qthreads: distclean-target-qthreads
41289 distclean-target-qthreads:
41290 @: $(MAKE); $(unstage)
41291 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
41292 r=`${PWD_COMMAND}`; export r; \
41293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41294 $(NORMAL_TARGET_EXPORTS) \
41295 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
41296 for flag in $(EXTRA_TARGET_FLAGS); do \
41297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41298 done; \
41299 (cd $(TARGET_SUBDIR)/qthreads && \
41300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41302 "RANLIB=$${RANLIB}" \
41303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41304 distclean) \
41305 || exit 1
41307 @endif target-qthreads
41309 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
41310 maybe-maintainer-clean-target-qthreads:
41311 @if target-qthreads
41312 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
41314 maintainer-clean-target-qthreads:
41315 @: $(MAKE); $(unstage)
41316 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
41317 r=`${PWD_COMMAND}`; export r; \
41318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41319 $(NORMAL_TARGET_EXPORTS) \
41320 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
41321 for flag in $(EXTRA_TARGET_FLAGS); do \
41322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41323 done; \
41324 (cd $(TARGET_SUBDIR)/qthreads && \
41325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41327 "RANLIB=$${RANLIB}" \
41328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41329 maintainer-clean) \
41330 || exit 1
41332 @endif target-qthreads
41338 .PHONY: configure-target-rda maybe-configure-target-rda
41339 maybe-configure-target-rda:
41340 @if gcc-bootstrap
41341 configure-target-rda: stage_current
41342 @endif gcc-bootstrap
41343 @if target-rda
41344 maybe-configure-target-rda: configure-target-rda
41345 configure-target-rda:
41346 @: $(MAKE); $(unstage)
41347 @r=`${PWD_COMMAND}`; export r; \
41348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41349 echo "Checking multilib configuration for rda..."; \
41350 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
41351 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
41352 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
41353 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
41354 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
41355 else \
41356 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
41357 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
41358 fi; \
41359 else \
41360 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
41361 fi; \
41362 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
41363 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
41364 $(NORMAL_TARGET_EXPORTS) \
41365 echo Configuring in $(TARGET_SUBDIR)/rda; \
41366 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
41367 case $(srcdir) in \
41368 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41369 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
41370 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41371 esac; \
41372 srcdiroption="--srcdir=$${topdir}/rda"; \
41373 libsrcdir="$$s/rda"; \
41374 rm -f no-such-file || : ; \
41375 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41376 $(TARGET_CONFIGARGS) $${srcdiroption} \
41377 || exit 1
41378 @endif target-rda
41384 .PHONY: all-target-rda maybe-all-target-rda
41385 maybe-all-target-rda:
41386 @if gcc-bootstrap
41387 all-target-rda: stage_current
41388 @endif gcc-bootstrap
41389 @if target-rda
41390 TARGET-target-rda=all
41391 maybe-all-target-rda: all-target-rda
41392 all-target-rda: configure-target-rda
41393 @: $(MAKE); $(unstage)
41394 @r=`${PWD_COMMAND}`; export r; \
41395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41396 $(NORMAL_TARGET_EXPORTS) \
41397 (cd $(TARGET_SUBDIR)/rda && \
41398 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
41399 @endif target-rda
41405 .PHONY: check-target-rda maybe-check-target-rda
41406 maybe-check-target-rda:
41407 @if target-rda
41408 maybe-check-target-rda: check-target-rda
41410 check-target-rda:
41411 @: $(MAKE); $(unstage)
41412 @r=`${PWD_COMMAND}`; export r; \
41413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41414 $(NORMAL_TARGET_EXPORTS) \
41415 (cd $(TARGET_SUBDIR)/rda && \
41416 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41418 @endif target-rda
41420 .PHONY: install-target-rda maybe-install-target-rda
41421 maybe-install-target-rda:
41422 @if target-rda
41423 maybe-install-target-rda: install-target-rda
41425 install-target-rda: installdirs
41426 @: $(MAKE); $(unstage)
41427 @r=`${PWD_COMMAND}`; export r; \
41428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41429 $(NORMAL_TARGET_EXPORTS) \
41430 (cd $(TARGET_SUBDIR)/rda && \
41431 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41433 @endif target-rda
41435 # Other targets (info, dvi, pdf, etc.)
41437 .PHONY: maybe-info-target-rda info-target-rda
41438 maybe-info-target-rda:
41439 @if target-rda
41440 maybe-info-target-rda: info-target-rda
41442 info-target-rda: \
41443 configure-target-rda
41444 @: $(MAKE); $(unstage)
41445 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41446 r=`${PWD_COMMAND}`; export r; \
41447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41448 $(NORMAL_TARGET_EXPORTS) \
41449 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
41450 for flag in $(EXTRA_TARGET_FLAGS); do \
41451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41452 done; \
41453 (cd $(TARGET_SUBDIR)/rda && \
41454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41456 "RANLIB=$${RANLIB}" \
41457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41458 info) \
41459 || exit 1
41461 @endif target-rda
41463 .PHONY: maybe-dvi-target-rda dvi-target-rda
41464 maybe-dvi-target-rda:
41465 @if target-rda
41466 maybe-dvi-target-rda: dvi-target-rda
41468 dvi-target-rda: \
41469 configure-target-rda
41470 @: $(MAKE); $(unstage)
41471 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41472 r=`${PWD_COMMAND}`; export r; \
41473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41474 $(NORMAL_TARGET_EXPORTS) \
41475 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
41476 for flag in $(EXTRA_TARGET_FLAGS); do \
41477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41478 done; \
41479 (cd $(TARGET_SUBDIR)/rda && \
41480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41482 "RANLIB=$${RANLIB}" \
41483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41484 dvi) \
41485 || exit 1
41487 @endif target-rda
41489 .PHONY: maybe-pdf-target-rda pdf-target-rda
41490 maybe-pdf-target-rda:
41491 @if target-rda
41492 maybe-pdf-target-rda: pdf-target-rda
41494 pdf-target-rda: \
41495 configure-target-rda
41496 @: $(MAKE); $(unstage)
41497 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41498 r=`${PWD_COMMAND}`; export r; \
41499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41500 $(NORMAL_TARGET_EXPORTS) \
41501 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
41502 for flag in $(EXTRA_TARGET_FLAGS); do \
41503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41504 done; \
41505 (cd $(TARGET_SUBDIR)/rda && \
41506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41508 "RANLIB=$${RANLIB}" \
41509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41510 pdf) \
41511 || exit 1
41513 @endif target-rda
41515 .PHONY: maybe-html-target-rda html-target-rda
41516 maybe-html-target-rda:
41517 @if target-rda
41518 maybe-html-target-rda: html-target-rda
41520 html-target-rda: \
41521 configure-target-rda
41522 @: $(MAKE); $(unstage)
41523 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41524 r=`${PWD_COMMAND}`; export r; \
41525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41526 $(NORMAL_TARGET_EXPORTS) \
41527 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
41528 for flag in $(EXTRA_TARGET_FLAGS); do \
41529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41530 done; \
41531 (cd $(TARGET_SUBDIR)/rda && \
41532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41534 "RANLIB=$${RANLIB}" \
41535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41536 html) \
41537 || exit 1
41539 @endif target-rda
41541 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
41542 maybe-TAGS-target-rda:
41543 @if target-rda
41544 maybe-TAGS-target-rda: TAGS-target-rda
41546 TAGS-target-rda: \
41547 configure-target-rda
41548 @: $(MAKE); $(unstage)
41549 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41550 r=`${PWD_COMMAND}`; export r; \
41551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41552 $(NORMAL_TARGET_EXPORTS) \
41553 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
41554 for flag in $(EXTRA_TARGET_FLAGS); do \
41555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41556 done; \
41557 (cd $(TARGET_SUBDIR)/rda && \
41558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41560 "RANLIB=$${RANLIB}" \
41561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41562 TAGS) \
41563 || exit 1
41565 @endif target-rda
41567 .PHONY: maybe-install-info-target-rda install-info-target-rda
41568 maybe-install-info-target-rda:
41569 @if target-rda
41570 maybe-install-info-target-rda: install-info-target-rda
41572 install-info-target-rda: \
41573 configure-target-rda \
41574 info-target-rda
41575 @: $(MAKE); $(unstage)
41576 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41577 r=`${PWD_COMMAND}`; export r; \
41578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41579 $(NORMAL_TARGET_EXPORTS) \
41580 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
41581 for flag in $(EXTRA_TARGET_FLAGS); do \
41582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41583 done; \
41584 (cd $(TARGET_SUBDIR)/rda && \
41585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41587 "RANLIB=$${RANLIB}" \
41588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41589 install-info) \
41590 || exit 1
41592 @endif target-rda
41594 .PHONY: maybe-install-html-target-rda install-html-target-rda
41595 maybe-install-html-target-rda:
41596 @if target-rda
41597 maybe-install-html-target-rda: install-html-target-rda
41599 install-html-target-rda: \
41600 configure-target-rda \
41601 html-target-rda
41602 @: $(MAKE); $(unstage)
41603 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41604 r=`${PWD_COMMAND}`; export r; \
41605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41606 $(NORMAL_TARGET_EXPORTS) \
41607 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
41608 for flag in $(EXTRA_TARGET_FLAGS); do \
41609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41610 done; \
41611 (cd $(TARGET_SUBDIR)/rda && \
41612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41614 "RANLIB=$${RANLIB}" \
41615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41616 install-html) \
41617 || exit 1
41619 @endif target-rda
41621 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
41622 maybe-installcheck-target-rda:
41623 @if target-rda
41624 maybe-installcheck-target-rda: installcheck-target-rda
41626 installcheck-target-rda: \
41627 configure-target-rda
41628 @: $(MAKE); $(unstage)
41629 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41630 r=`${PWD_COMMAND}`; export r; \
41631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41632 $(NORMAL_TARGET_EXPORTS) \
41633 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
41634 for flag in $(EXTRA_TARGET_FLAGS); do \
41635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41636 done; \
41637 (cd $(TARGET_SUBDIR)/rda && \
41638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41640 "RANLIB=$${RANLIB}" \
41641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41642 installcheck) \
41643 || exit 1
41645 @endif target-rda
41647 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
41648 maybe-mostlyclean-target-rda:
41649 @if target-rda
41650 maybe-mostlyclean-target-rda: mostlyclean-target-rda
41652 mostlyclean-target-rda:
41653 @: $(MAKE); $(unstage)
41654 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41655 r=`${PWD_COMMAND}`; export r; \
41656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41657 $(NORMAL_TARGET_EXPORTS) \
41658 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
41659 for flag in $(EXTRA_TARGET_FLAGS); do \
41660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41661 done; \
41662 (cd $(TARGET_SUBDIR)/rda && \
41663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41665 "RANLIB=$${RANLIB}" \
41666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41667 mostlyclean) \
41668 || exit 1
41670 @endif target-rda
41672 .PHONY: maybe-clean-target-rda clean-target-rda
41673 maybe-clean-target-rda:
41674 @if target-rda
41675 maybe-clean-target-rda: clean-target-rda
41677 clean-target-rda:
41678 @: $(MAKE); $(unstage)
41679 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41680 r=`${PWD_COMMAND}`; export r; \
41681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41682 $(NORMAL_TARGET_EXPORTS) \
41683 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
41684 for flag in $(EXTRA_TARGET_FLAGS); do \
41685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41686 done; \
41687 (cd $(TARGET_SUBDIR)/rda && \
41688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41690 "RANLIB=$${RANLIB}" \
41691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41692 clean) \
41693 || exit 1
41695 @endif target-rda
41697 .PHONY: maybe-distclean-target-rda distclean-target-rda
41698 maybe-distclean-target-rda:
41699 @if target-rda
41700 maybe-distclean-target-rda: distclean-target-rda
41702 distclean-target-rda:
41703 @: $(MAKE); $(unstage)
41704 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41705 r=`${PWD_COMMAND}`; export r; \
41706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41707 $(NORMAL_TARGET_EXPORTS) \
41708 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
41709 for flag in $(EXTRA_TARGET_FLAGS); do \
41710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41711 done; \
41712 (cd $(TARGET_SUBDIR)/rda && \
41713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41715 "RANLIB=$${RANLIB}" \
41716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41717 distclean) \
41718 || exit 1
41720 @endif target-rda
41722 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
41723 maybe-maintainer-clean-target-rda:
41724 @if target-rda
41725 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
41727 maintainer-clean-target-rda:
41728 @: $(MAKE); $(unstage)
41729 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41730 r=`${PWD_COMMAND}`; export r; \
41731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41732 $(NORMAL_TARGET_EXPORTS) \
41733 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
41734 for flag in $(EXTRA_TARGET_FLAGS); do \
41735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41736 done; \
41737 (cd $(TARGET_SUBDIR)/rda && \
41738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41740 "RANLIB=$${RANLIB}" \
41741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41742 maintainer-clean) \
41743 || exit 1
41745 @endif target-rda
41751 .PHONY: configure-target-libada maybe-configure-target-libada
41752 maybe-configure-target-libada:
41753 @if gcc-bootstrap
41754 configure-target-libada: stage_current
41755 @endif gcc-bootstrap
41756 @if target-libada
41757 maybe-configure-target-libada: configure-target-libada
41758 configure-target-libada:
41759 @: $(MAKE); $(unstage)
41760 @r=`${PWD_COMMAND}`; export r; \
41761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41762 echo "Checking multilib configuration for libada..."; \
41763 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
41764 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
41765 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
41766 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
41767 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
41768 else \
41769 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
41770 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
41771 fi; \
41772 else \
41773 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
41774 fi; \
41775 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
41776 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
41777 $(NORMAL_TARGET_EXPORTS) \
41778 echo Configuring in $(TARGET_SUBDIR)/libada; \
41779 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
41780 case $(srcdir) in \
41781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41782 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
41783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41784 esac; \
41785 srcdiroption="--srcdir=$${topdir}/libada"; \
41786 libsrcdir="$$s/libada"; \
41787 rm -f no-such-file || : ; \
41788 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41789 $(TARGET_CONFIGARGS) $${srcdiroption} \
41790 || exit 1
41791 @endif target-libada
41797 .PHONY: all-target-libada maybe-all-target-libada
41798 maybe-all-target-libada:
41799 @if gcc-bootstrap
41800 all-target-libada: stage_current
41801 @endif gcc-bootstrap
41802 @if target-libada
41803 TARGET-target-libada=all
41804 maybe-all-target-libada: all-target-libada
41805 all-target-libada: configure-target-libada
41806 @: $(MAKE); $(unstage)
41807 @r=`${PWD_COMMAND}`; export r; \
41808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41809 $(NORMAL_TARGET_EXPORTS) \
41810 (cd $(TARGET_SUBDIR)/libada && \
41811 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
41812 @endif target-libada
41818 .PHONY: check-target-libada maybe-check-target-libada
41819 maybe-check-target-libada:
41820 @if target-libada
41821 maybe-check-target-libada: check-target-libada
41823 check-target-libada:
41824 @: $(MAKE); $(unstage)
41825 @r=`${PWD_COMMAND}`; export r; \
41826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41827 $(NORMAL_TARGET_EXPORTS) \
41828 (cd $(TARGET_SUBDIR)/libada && \
41829 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41831 @endif target-libada
41833 .PHONY: install-target-libada maybe-install-target-libada
41834 maybe-install-target-libada:
41835 @if target-libada
41836 maybe-install-target-libada: install-target-libada
41838 install-target-libada: installdirs
41839 @: $(MAKE); $(unstage)
41840 @r=`${PWD_COMMAND}`; export r; \
41841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41842 $(NORMAL_TARGET_EXPORTS) \
41843 (cd $(TARGET_SUBDIR)/libada && \
41844 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41846 @endif target-libada
41848 # Other targets (info, dvi, pdf, etc.)
41850 .PHONY: maybe-info-target-libada info-target-libada
41851 maybe-info-target-libada:
41852 @if target-libada
41853 maybe-info-target-libada: info-target-libada
41855 info-target-libada: \
41856 configure-target-libada
41857 @: $(MAKE); $(unstage)
41858 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41859 r=`${PWD_COMMAND}`; export r; \
41860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41861 $(NORMAL_TARGET_EXPORTS) \
41862 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
41863 for flag in $(EXTRA_TARGET_FLAGS); do \
41864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41865 done; \
41866 (cd $(TARGET_SUBDIR)/libada && \
41867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41869 "RANLIB=$${RANLIB}" \
41870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41871 info) \
41872 || exit 1
41874 @endif target-libada
41876 .PHONY: maybe-dvi-target-libada dvi-target-libada
41877 maybe-dvi-target-libada:
41878 @if target-libada
41879 maybe-dvi-target-libada: dvi-target-libada
41881 dvi-target-libada: \
41882 configure-target-libada
41883 @: $(MAKE); $(unstage)
41884 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41885 r=`${PWD_COMMAND}`; export r; \
41886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41887 $(NORMAL_TARGET_EXPORTS) \
41888 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
41889 for flag in $(EXTRA_TARGET_FLAGS); do \
41890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41891 done; \
41892 (cd $(TARGET_SUBDIR)/libada && \
41893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41895 "RANLIB=$${RANLIB}" \
41896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41897 dvi) \
41898 || exit 1
41900 @endif target-libada
41902 .PHONY: maybe-pdf-target-libada pdf-target-libada
41903 maybe-pdf-target-libada:
41904 @if target-libada
41905 maybe-pdf-target-libada: pdf-target-libada
41907 pdf-target-libada: \
41908 configure-target-libada
41909 @: $(MAKE); $(unstage)
41910 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41911 r=`${PWD_COMMAND}`; export r; \
41912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41913 $(NORMAL_TARGET_EXPORTS) \
41914 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
41915 for flag in $(EXTRA_TARGET_FLAGS); do \
41916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41917 done; \
41918 (cd $(TARGET_SUBDIR)/libada && \
41919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41921 "RANLIB=$${RANLIB}" \
41922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41923 pdf) \
41924 || exit 1
41926 @endif target-libada
41928 .PHONY: maybe-html-target-libada html-target-libada
41929 maybe-html-target-libada:
41930 @if target-libada
41931 maybe-html-target-libada: html-target-libada
41933 html-target-libada: \
41934 configure-target-libada
41935 @: $(MAKE); $(unstage)
41936 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41937 r=`${PWD_COMMAND}`; export r; \
41938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41939 $(NORMAL_TARGET_EXPORTS) \
41940 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
41941 for flag in $(EXTRA_TARGET_FLAGS); do \
41942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41943 done; \
41944 (cd $(TARGET_SUBDIR)/libada && \
41945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41947 "RANLIB=$${RANLIB}" \
41948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41949 html) \
41950 || exit 1
41952 @endif target-libada
41954 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
41955 maybe-TAGS-target-libada:
41956 @if target-libada
41957 maybe-TAGS-target-libada: TAGS-target-libada
41959 TAGS-target-libada: \
41960 configure-target-libada
41961 @: $(MAKE); $(unstage)
41962 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41963 r=`${PWD_COMMAND}`; export r; \
41964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41965 $(NORMAL_TARGET_EXPORTS) \
41966 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
41967 for flag in $(EXTRA_TARGET_FLAGS); do \
41968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41969 done; \
41970 (cd $(TARGET_SUBDIR)/libada && \
41971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41973 "RANLIB=$${RANLIB}" \
41974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41975 TAGS) \
41976 || exit 1
41978 @endif target-libada
41980 .PHONY: maybe-install-info-target-libada install-info-target-libada
41981 maybe-install-info-target-libada:
41982 @if target-libada
41983 maybe-install-info-target-libada: install-info-target-libada
41985 install-info-target-libada: \
41986 configure-target-libada \
41987 info-target-libada
41988 @: $(MAKE); $(unstage)
41989 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41990 r=`${PWD_COMMAND}`; export r; \
41991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41992 $(NORMAL_TARGET_EXPORTS) \
41993 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
41994 for flag in $(EXTRA_TARGET_FLAGS); do \
41995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41996 done; \
41997 (cd $(TARGET_SUBDIR)/libada && \
41998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42000 "RANLIB=$${RANLIB}" \
42001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42002 install-info) \
42003 || exit 1
42005 @endif target-libada
42007 .PHONY: maybe-install-html-target-libada install-html-target-libada
42008 maybe-install-html-target-libada:
42009 @if target-libada
42010 maybe-install-html-target-libada: install-html-target-libada
42012 install-html-target-libada: \
42013 configure-target-libada \
42014 html-target-libada
42015 @: $(MAKE); $(unstage)
42016 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42017 r=`${PWD_COMMAND}`; export r; \
42018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42019 $(NORMAL_TARGET_EXPORTS) \
42020 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
42021 for flag in $(EXTRA_TARGET_FLAGS); do \
42022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42023 done; \
42024 (cd $(TARGET_SUBDIR)/libada && \
42025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42027 "RANLIB=$${RANLIB}" \
42028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42029 install-html) \
42030 || exit 1
42032 @endif target-libada
42034 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
42035 maybe-installcheck-target-libada:
42036 @if target-libada
42037 maybe-installcheck-target-libada: installcheck-target-libada
42039 installcheck-target-libada: \
42040 configure-target-libada
42041 @: $(MAKE); $(unstage)
42042 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42043 r=`${PWD_COMMAND}`; export r; \
42044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42045 $(NORMAL_TARGET_EXPORTS) \
42046 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
42047 for flag in $(EXTRA_TARGET_FLAGS); do \
42048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42049 done; \
42050 (cd $(TARGET_SUBDIR)/libada && \
42051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42053 "RANLIB=$${RANLIB}" \
42054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42055 installcheck) \
42056 || exit 1
42058 @endif target-libada
42060 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
42061 maybe-mostlyclean-target-libada:
42062 @if target-libada
42063 maybe-mostlyclean-target-libada: mostlyclean-target-libada
42065 mostlyclean-target-libada:
42066 @: $(MAKE); $(unstage)
42067 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42068 r=`${PWD_COMMAND}`; export r; \
42069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42070 $(NORMAL_TARGET_EXPORTS) \
42071 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
42072 for flag in $(EXTRA_TARGET_FLAGS); do \
42073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42074 done; \
42075 (cd $(TARGET_SUBDIR)/libada && \
42076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42078 "RANLIB=$${RANLIB}" \
42079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42080 mostlyclean) \
42081 || exit 1
42083 @endif target-libada
42085 .PHONY: maybe-clean-target-libada clean-target-libada
42086 maybe-clean-target-libada:
42087 @if target-libada
42088 maybe-clean-target-libada: clean-target-libada
42090 clean-target-libada:
42091 @: $(MAKE); $(unstage)
42092 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42093 r=`${PWD_COMMAND}`; export r; \
42094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42095 $(NORMAL_TARGET_EXPORTS) \
42096 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
42097 for flag in $(EXTRA_TARGET_FLAGS); do \
42098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42099 done; \
42100 (cd $(TARGET_SUBDIR)/libada && \
42101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42103 "RANLIB=$${RANLIB}" \
42104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42105 clean) \
42106 || exit 1
42108 @endif target-libada
42110 .PHONY: maybe-distclean-target-libada distclean-target-libada
42111 maybe-distclean-target-libada:
42112 @if target-libada
42113 maybe-distclean-target-libada: distclean-target-libada
42115 distclean-target-libada:
42116 @: $(MAKE); $(unstage)
42117 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42118 r=`${PWD_COMMAND}`; export r; \
42119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42120 $(NORMAL_TARGET_EXPORTS) \
42121 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
42122 for flag in $(EXTRA_TARGET_FLAGS); do \
42123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42124 done; \
42125 (cd $(TARGET_SUBDIR)/libada && \
42126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42128 "RANLIB=$${RANLIB}" \
42129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42130 distclean) \
42131 || exit 1
42133 @endif target-libada
42135 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
42136 maybe-maintainer-clean-target-libada:
42137 @if target-libada
42138 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
42140 maintainer-clean-target-libada:
42141 @: $(MAKE); $(unstage)
42142 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42143 r=`${PWD_COMMAND}`; export r; \
42144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42145 $(NORMAL_TARGET_EXPORTS) \
42146 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
42147 for flag in $(EXTRA_TARGET_FLAGS); do \
42148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42149 done; \
42150 (cd $(TARGET_SUBDIR)/libada && \
42151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42153 "RANLIB=$${RANLIB}" \
42154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42155 maintainer-clean) \
42156 || exit 1
42158 @endif target-libada
42164 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
42165 maybe-configure-target-libgomp:
42166 @if gcc-bootstrap
42167 configure-target-libgomp: stage_current
42168 @endif gcc-bootstrap
42169 @if target-libgomp
42170 maybe-configure-target-libgomp: configure-target-libgomp
42171 configure-target-libgomp:
42172 @: $(MAKE); $(unstage)
42173 @r=`${PWD_COMMAND}`; export r; \
42174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42175 echo "Checking multilib configuration for libgomp..."; \
42176 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42177 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
42178 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42179 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42180 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
42181 else \
42182 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
42183 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42184 fi; \
42185 else \
42186 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42187 fi; \
42188 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
42189 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42190 $(NORMAL_TARGET_EXPORTS) \
42191 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
42192 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
42193 case $(srcdir) in \
42194 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42195 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
42196 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42197 esac; \
42198 srcdiroption="--srcdir=$${topdir}/libgomp"; \
42199 libsrcdir="$$s/libgomp"; \
42200 rm -f no-such-file || : ; \
42201 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
42202 $(TARGET_CONFIGARGS) $${srcdiroption} \
42203 || exit 1
42204 @endif target-libgomp
42210 .PHONY: all-target-libgomp maybe-all-target-libgomp
42211 maybe-all-target-libgomp:
42212 @if gcc-bootstrap
42213 all-target-libgomp: stage_current
42214 @endif gcc-bootstrap
42215 @if target-libgomp
42216 TARGET-target-libgomp=all
42217 maybe-all-target-libgomp: all-target-libgomp
42218 all-target-libgomp: configure-target-libgomp
42219 @: $(MAKE); $(unstage)
42220 @r=`${PWD_COMMAND}`; export r; \
42221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42222 $(NORMAL_TARGET_EXPORTS) \
42223 (cd $(TARGET_SUBDIR)/libgomp && \
42224 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgomp))
42225 @endif target-libgomp
42231 .PHONY: check-target-libgomp maybe-check-target-libgomp
42232 maybe-check-target-libgomp:
42233 @if target-libgomp
42234 maybe-check-target-libgomp: check-target-libgomp
42236 check-target-libgomp:
42237 @: $(MAKE); $(unstage)
42238 @r=`${PWD_COMMAND}`; export r; \
42239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42240 $(NORMAL_TARGET_EXPORTS) \
42241 (cd $(TARGET_SUBDIR)/libgomp && \
42242 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42244 @endif target-libgomp
42246 .PHONY: install-target-libgomp maybe-install-target-libgomp
42247 maybe-install-target-libgomp:
42248 @if target-libgomp
42249 maybe-install-target-libgomp: install-target-libgomp
42251 install-target-libgomp: installdirs
42252 @: $(MAKE); $(unstage)
42253 @r=`${PWD_COMMAND}`; export r; \
42254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42255 $(NORMAL_TARGET_EXPORTS) \
42256 (cd $(TARGET_SUBDIR)/libgomp && \
42257 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42259 @endif target-libgomp
42261 # Other targets (info, dvi, pdf, etc.)
42263 .PHONY: maybe-info-target-libgomp info-target-libgomp
42264 maybe-info-target-libgomp:
42265 @if target-libgomp
42266 maybe-info-target-libgomp: info-target-libgomp
42268 info-target-libgomp: \
42269 configure-target-libgomp
42270 @: $(MAKE); $(unstage)
42271 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42272 r=`${PWD_COMMAND}`; export r; \
42273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42274 $(NORMAL_TARGET_EXPORTS) \
42275 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
42276 for flag in $(EXTRA_TARGET_FLAGS); do \
42277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42278 done; \
42279 (cd $(TARGET_SUBDIR)/libgomp && \
42280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42282 "RANLIB=$${RANLIB}" \
42283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42284 info) \
42285 || exit 1
42287 @endif target-libgomp
42289 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
42290 maybe-dvi-target-libgomp:
42291 @if target-libgomp
42292 maybe-dvi-target-libgomp: dvi-target-libgomp
42294 dvi-target-libgomp: \
42295 configure-target-libgomp
42296 @: $(MAKE); $(unstage)
42297 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42298 r=`${PWD_COMMAND}`; export r; \
42299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42300 $(NORMAL_TARGET_EXPORTS) \
42301 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
42302 for flag in $(EXTRA_TARGET_FLAGS); do \
42303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42304 done; \
42305 (cd $(TARGET_SUBDIR)/libgomp && \
42306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42308 "RANLIB=$${RANLIB}" \
42309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42310 dvi) \
42311 || exit 1
42313 @endif target-libgomp
42315 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
42316 maybe-pdf-target-libgomp:
42317 @if target-libgomp
42318 maybe-pdf-target-libgomp: pdf-target-libgomp
42320 pdf-target-libgomp: \
42321 configure-target-libgomp
42322 @: $(MAKE); $(unstage)
42323 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42324 r=`${PWD_COMMAND}`; export r; \
42325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42326 $(NORMAL_TARGET_EXPORTS) \
42327 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
42328 for flag in $(EXTRA_TARGET_FLAGS); do \
42329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42330 done; \
42331 (cd $(TARGET_SUBDIR)/libgomp && \
42332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42334 "RANLIB=$${RANLIB}" \
42335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42336 pdf) \
42337 || exit 1
42339 @endif target-libgomp
42341 .PHONY: maybe-html-target-libgomp html-target-libgomp
42342 maybe-html-target-libgomp:
42343 @if target-libgomp
42344 maybe-html-target-libgomp: html-target-libgomp
42346 html-target-libgomp: \
42347 configure-target-libgomp
42348 @: $(MAKE); $(unstage)
42349 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42350 r=`${PWD_COMMAND}`; export r; \
42351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42352 $(NORMAL_TARGET_EXPORTS) \
42353 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
42354 for flag in $(EXTRA_TARGET_FLAGS); do \
42355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42356 done; \
42357 (cd $(TARGET_SUBDIR)/libgomp && \
42358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42360 "RANLIB=$${RANLIB}" \
42361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42362 html) \
42363 || exit 1
42365 @endif target-libgomp
42367 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
42368 maybe-TAGS-target-libgomp:
42369 @if target-libgomp
42370 maybe-TAGS-target-libgomp: TAGS-target-libgomp
42372 TAGS-target-libgomp: \
42373 configure-target-libgomp
42374 @: $(MAKE); $(unstage)
42375 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42376 r=`${PWD_COMMAND}`; export r; \
42377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42378 $(NORMAL_TARGET_EXPORTS) \
42379 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
42380 for flag in $(EXTRA_TARGET_FLAGS); do \
42381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42382 done; \
42383 (cd $(TARGET_SUBDIR)/libgomp && \
42384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42386 "RANLIB=$${RANLIB}" \
42387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42388 TAGS) \
42389 || exit 1
42391 @endif target-libgomp
42393 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
42394 maybe-install-info-target-libgomp:
42395 @if target-libgomp
42396 maybe-install-info-target-libgomp: install-info-target-libgomp
42398 install-info-target-libgomp: \
42399 configure-target-libgomp \
42400 info-target-libgomp
42401 @: $(MAKE); $(unstage)
42402 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42403 r=`${PWD_COMMAND}`; export r; \
42404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42405 $(NORMAL_TARGET_EXPORTS) \
42406 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
42407 for flag in $(EXTRA_TARGET_FLAGS); do \
42408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42409 done; \
42410 (cd $(TARGET_SUBDIR)/libgomp && \
42411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42413 "RANLIB=$${RANLIB}" \
42414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42415 install-info) \
42416 || exit 1
42418 @endif target-libgomp
42420 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
42421 maybe-install-html-target-libgomp:
42422 @if target-libgomp
42423 maybe-install-html-target-libgomp: install-html-target-libgomp
42425 install-html-target-libgomp: \
42426 configure-target-libgomp \
42427 html-target-libgomp
42428 @: $(MAKE); $(unstage)
42429 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42430 r=`${PWD_COMMAND}`; export r; \
42431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42432 $(NORMAL_TARGET_EXPORTS) \
42433 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
42434 for flag in $(EXTRA_TARGET_FLAGS); do \
42435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42436 done; \
42437 (cd $(TARGET_SUBDIR)/libgomp && \
42438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42440 "RANLIB=$${RANLIB}" \
42441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42442 install-html) \
42443 || exit 1
42445 @endif target-libgomp
42447 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
42448 maybe-installcheck-target-libgomp:
42449 @if target-libgomp
42450 maybe-installcheck-target-libgomp: installcheck-target-libgomp
42452 installcheck-target-libgomp: \
42453 configure-target-libgomp
42454 @: $(MAKE); $(unstage)
42455 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42456 r=`${PWD_COMMAND}`; export r; \
42457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42458 $(NORMAL_TARGET_EXPORTS) \
42459 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
42460 for flag in $(EXTRA_TARGET_FLAGS); do \
42461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42462 done; \
42463 (cd $(TARGET_SUBDIR)/libgomp && \
42464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42466 "RANLIB=$${RANLIB}" \
42467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42468 installcheck) \
42469 || exit 1
42471 @endif target-libgomp
42473 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
42474 maybe-mostlyclean-target-libgomp:
42475 @if target-libgomp
42476 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
42478 mostlyclean-target-libgomp:
42479 @: $(MAKE); $(unstage)
42480 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42481 r=`${PWD_COMMAND}`; export r; \
42482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42483 $(NORMAL_TARGET_EXPORTS) \
42484 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
42485 for flag in $(EXTRA_TARGET_FLAGS); do \
42486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42487 done; \
42488 (cd $(TARGET_SUBDIR)/libgomp && \
42489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42491 "RANLIB=$${RANLIB}" \
42492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42493 mostlyclean) \
42494 || exit 1
42496 @endif target-libgomp
42498 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
42499 maybe-clean-target-libgomp:
42500 @if target-libgomp
42501 maybe-clean-target-libgomp: clean-target-libgomp
42503 clean-target-libgomp:
42504 @: $(MAKE); $(unstage)
42505 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42506 r=`${PWD_COMMAND}`; export r; \
42507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42508 $(NORMAL_TARGET_EXPORTS) \
42509 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
42510 for flag in $(EXTRA_TARGET_FLAGS); do \
42511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42512 done; \
42513 (cd $(TARGET_SUBDIR)/libgomp && \
42514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42516 "RANLIB=$${RANLIB}" \
42517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42518 clean) \
42519 || exit 1
42521 @endif target-libgomp
42523 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
42524 maybe-distclean-target-libgomp:
42525 @if target-libgomp
42526 maybe-distclean-target-libgomp: distclean-target-libgomp
42528 distclean-target-libgomp:
42529 @: $(MAKE); $(unstage)
42530 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42531 r=`${PWD_COMMAND}`; export r; \
42532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42533 $(NORMAL_TARGET_EXPORTS) \
42534 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
42535 for flag in $(EXTRA_TARGET_FLAGS); do \
42536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42537 done; \
42538 (cd $(TARGET_SUBDIR)/libgomp && \
42539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42541 "RANLIB=$${RANLIB}" \
42542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42543 distclean) \
42544 || exit 1
42546 @endif target-libgomp
42548 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
42549 maybe-maintainer-clean-target-libgomp:
42550 @if target-libgomp
42551 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
42553 maintainer-clean-target-libgomp:
42554 @: $(MAKE); $(unstage)
42555 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42556 r=`${PWD_COMMAND}`; export r; \
42557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42558 $(NORMAL_TARGET_EXPORTS) \
42559 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
42560 for flag in $(EXTRA_TARGET_FLAGS); do \
42561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42562 done; \
42563 (cd $(TARGET_SUBDIR)/libgomp && \
42564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42566 "RANLIB=$${RANLIB}" \
42567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42568 maintainer-clean) \
42569 || exit 1
42571 @endif target-libgomp
42575 # ----------
42576 # GCC module
42577 # ----------
42579 @if gcc-no-bootstrap
42580 .PHONY: cross
42581 cross: all-build all-gas all-ld
42582 @r=`${PWD_COMMAND}`; export r; \
42583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42584 $(HOST_EXPORTS) \
42585 echo "Building the C and C++ compiler"; \
42586 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
42587 @r=`${PWD_COMMAND}`; export r; \
42588 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
42589 echo "Building runtime libraries"; \
42590 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
42591 @endif gcc-no-bootstrap
42593 @if gcc
42594 .PHONY: check-gcc-c++
42595 check-gcc-c++:
42596 @if [ -f ./gcc/Makefile ] ; then \
42597 r=`${PWD_COMMAND}`; export r; \
42598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42599 $(HOST_EXPORTS) \
42600 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
42601 else \
42602 true; \
42605 .PHONY: check-c++
42606 check-c++: check-target-libstdc++-v3 check-gcc-c++
42608 # Install the gcc headers files, but not the fixed include files,
42609 # which Cygnus is not allowed to distribute. This rule is very
42610 # dependent on the workings of the gcc Makefile.in.
42611 .PHONY: gcc-no-fixedincludes
42612 gcc-no-fixedincludes:
42613 @if [ -f ./gcc/Makefile ]; then \
42614 rm -rf gcc/tmp-include; \
42615 mv gcc/include gcc/tmp-include 2>/dev/null; \
42616 mkdir gcc/include; \
42617 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
42618 touch gcc/stmp-fixinc gcc/include/fixed; \
42619 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
42620 r=`${PWD_COMMAND}`; export r; \
42621 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
42622 $(HOST_EXPORTS) \
42623 (cd ./gcc && \
42624 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
42625 rm -rf gcc/include; \
42626 mv gcc/tmp-include gcc/include 2>/dev/null; \
42627 else true; fi
42628 @endif gcc
42630 # ---------------------
42631 # GCC bootstrap support
42632 # ---------------------
42634 # We track the current stage (the one in 'gcc') in the stage_current file.
42635 # stage_last instead tracks the stage that was built last. These targets
42636 # are dummy when toplevel bootstrap is not active.
42638 # While making host and target tools, symlinks to the final stage must be
42639 # there, so $(unstage) should be run at various points. To avoid excessive
42640 # recursive invocations of make, we "inline" them using a variable. These
42641 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
42642 # to avoid warnings from the GNU Make job server.
42644 unstage = :
42645 stage = :
42646 current_stage = ""
42648 @if gcc-bootstrap
42649 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
42650 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
42651 current_stage = "`cat stage_current 2> /dev/null`"
42652 @endif gcc-bootstrap
42654 .PHONY: unstage stage
42655 unstage:
42656 @: $(MAKE); $(unstage)
42657 stage:
42658 @: $(MAKE); $(stage)
42660 # Disable commands for lean bootstrap.
42661 LEAN = false
42663 # We name the build directories for the various stages "stage1-gcc",
42664 # "stage2-gcc","stage3-gcc", etc.
42666 # Since the 'compare' process will fail (on debugging information) if any
42667 # directory names are different, we need to link the gcc directory for
42668 # the previous stage to a constant name ('prev-gcc'), and to make the name of
42669 # the build directories constant as well. For the latter, we use naked names
42670 # like 'gcc', because the scripts in that directory assume it. We use
42671 # mv on platforms where symlinks to directories do not work or are not
42672 # reliable.
42674 # 'touch' doesn't work right on some platforms.
42675 STAMP = echo timestamp >
42677 # We only want to compare .o files, so set this!
42678 objext = .o
42681 .PHONY: stage1-start stage1-end
42683 stage1-start::
42684 @: $(MAKE); $(stage); \
42685 echo stage1 > stage_current ; \
42686 echo stage1 > stage_last; \
42687 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42688 @if bfd
42689 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
42690 mkdir stage1-bfd; \
42691 mv stage1-bfd bfd
42692 @endif bfd
42693 @if opcodes
42694 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
42695 mkdir stage1-opcodes; \
42696 mv stage1-opcodes opcodes
42697 @endif opcodes
42698 @if binutils
42699 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
42700 mkdir stage1-binutils; \
42701 mv stage1-binutils binutils
42702 @endif binutils
42703 @if gas
42704 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
42705 mkdir stage1-gas; \
42706 mv stage1-gas gas
42707 @endif gas
42708 @if gcc
42709 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
42710 mkdir stage1-gcc; \
42711 mv stage1-gcc gcc
42712 @endif gcc
42713 @if intl
42714 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
42715 mkdir stage1-intl; \
42716 mv stage1-intl intl
42717 @endif intl
42718 @if ld
42719 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
42720 mkdir stage1-ld; \
42721 mv stage1-ld ld
42722 @endif ld
42723 @if libcpp
42724 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
42725 mkdir stage1-libcpp; \
42726 mv stage1-libcpp libcpp
42727 @endif libcpp
42728 @if libdecnumber
42729 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
42730 mkdir stage1-libdecnumber; \
42731 mv stage1-libdecnumber libdecnumber
42732 @endif libdecnumber
42733 @if libiberty
42734 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
42735 mkdir stage1-libiberty; \
42736 mv stage1-libiberty libiberty
42737 @endif libiberty
42738 @if zlib
42739 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
42740 mkdir stage1-zlib; \
42741 mv stage1-zlib zlib
42742 @endif zlib
42743 @[ -d stage1-$(TARGET_SUBDIR) ] || \
42744 mkdir stage1-$(TARGET_SUBDIR); \
42745 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
42747 stage1-end::
42748 @if bfd
42749 @if test -d $(HOST_SUBDIR)/bfd ; then \
42750 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
42752 @endif bfd
42753 @if opcodes
42754 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42755 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
42757 @endif opcodes
42758 @if binutils
42759 @if test -d $(HOST_SUBDIR)/binutils ; then \
42760 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
42762 @endif binutils
42763 @if gas
42764 @if test -d $(HOST_SUBDIR)/gas ; then \
42765 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
42767 @endif gas
42768 @if gcc
42769 @if test -d $(HOST_SUBDIR)/gcc ; then \
42770 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
42772 @endif gcc
42773 @if intl
42774 @if test -d $(HOST_SUBDIR)/intl ; then \
42775 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
42777 @endif intl
42778 @if ld
42779 @if test -d $(HOST_SUBDIR)/ld ; then \
42780 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
42782 @endif ld
42783 @if libcpp
42784 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42785 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
42787 @endif libcpp
42788 @if libdecnumber
42789 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42790 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
42792 @endif libdecnumber
42793 @if libiberty
42794 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42795 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
42797 @endif libiberty
42798 @if zlib
42799 @if test -d $(HOST_SUBDIR)/zlib ; then \
42800 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
42802 @endif zlib
42803 @if test -d $(TARGET_SUBDIR) ; then \
42804 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
42806 rm -f stage_current
42808 # Bubble a bugfix through all the stages up to stage 1. They are
42809 # remade, but not reconfigured. The next stage (if any) will not be
42810 # reconfigured as well.
42811 .PHONY: stage1-bubble
42812 stage1-bubble::
42813 @r=`${PWD_COMMAND}`; export r; \
42814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42815 if test -f stage1-lean ; then \
42816 echo Skipping rebuild of stage1 ; \
42817 else \
42818 $(MAKE) stage1-start; \
42819 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
42822 .PHONY: all-stage1 clean-stage1
42823 do-clean: clean-stage1
42825 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42826 # only possibility, but now it conflicts with no-bootstrap rules
42827 @if gcc-bootstrap
42832 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42834 .PHONY: distclean-stage1
42835 distclean-stage1::
42836 @: $(MAKE); $(stage)
42837 rm -rf stage1-*
42840 @endif gcc-bootstrap
42843 .PHONY: stage2-start stage2-end
42845 stage2-start::
42846 @: $(MAKE); $(stage); \
42847 echo stage2 > stage_current ; \
42848 echo stage2 > stage_last; \
42849 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42850 @if bfd
42851 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
42852 mkdir stage2-bfd; \
42853 mv stage2-bfd bfd ; \
42854 mv stage1-bfd prev-bfd || test -f stage1-lean
42855 @endif bfd
42856 @if opcodes
42857 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
42858 mkdir stage2-opcodes; \
42859 mv stage2-opcodes opcodes ; \
42860 mv stage1-opcodes prev-opcodes || test -f stage1-lean
42861 @endif opcodes
42862 @if binutils
42863 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
42864 mkdir stage2-binutils; \
42865 mv stage2-binutils binutils ; \
42866 mv stage1-binutils prev-binutils || test -f stage1-lean
42867 @endif binutils
42868 @if gas
42869 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
42870 mkdir stage2-gas; \
42871 mv stage2-gas gas ; \
42872 mv stage1-gas prev-gas || test -f stage1-lean
42873 @endif gas
42874 @if gcc
42875 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
42876 mkdir stage2-gcc; \
42877 mv stage2-gcc gcc ; \
42878 mv stage1-gcc prev-gcc || test -f stage1-lean
42879 @endif gcc
42880 @if intl
42881 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
42882 mkdir stage2-intl; \
42883 mv stage2-intl intl ; \
42884 mv stage1-intl prev-intl || test -f stage1-lean
42885 @endif intl
42886 @if ld
42887 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
42888 mkdir stage2-ld; \
42889 mv stage2-ld ld ; \
42890 mv stage1-ld prev-ld || test -f stage1-lean
42891 @endif ld
42892 @if libcpp
42893 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
42894 mkdir stage2-libcpp; \
42895 mv stage2-libcpp libcpp ; \
42896 mv stage1-libcpp prev-libcpp || test -f stage1-lean
42897 @endif libcpp
42898 @if libdecnumber
42899 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
42900 mkdir stage2-libdecnumber; \
42901 mv stage2-libdecnumber libdecnumber ; \
42902 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
42903 @endif libdecnumber
42904 @if libiberty
42905 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
42906 mkdir stage2-libiberty; \
42907 mv stage2-libiberty libiberty ; \
42908 mv stage1-libiberty prev-libiberty || test -f stage1-lean
42909 @endif libiberty
42910 @if zlib
42911 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
42912 mkdir stage2-zlib; \
42913 mv stage2-zlib zlib ; \
42914 mv stage1-zlib prev-zlib || test -f stage1-lean
42915 @endif zlib
42916 @[ -d stage2-$(TARGET_SUBDIR) ] || \
42917 mkdir stage2-$(TARGET_SUBDIR); \
42918 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42919 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
42921 stage2-end::
42922 @if bfd
42923 @if test -d $(HOST_SUBDIR)/bfd ; then \
42924 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
42925 mv prev-bfd stage1-bfd ; : ; \
42927 @endif bfd
42928 @if opcodes
42929 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42930 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
42931 mv prev-opcodes stage1-opcodes ; : ; \
42933 @endif opcodes
42934 @if binutils
42935 @if test -d $(HOST_SUBDIR)/binutils ; then \
42936 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
42937 mv prev-binutils stage1-binutils ; : ; \
42939 @endif binutils
42940 @if gas
42941 @if test -d $(HOST_SUBDIR)/gas ; then \
42942 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
42943 mv prev-gas stage1-gas ; : ; \
42945 @endif gas
42946 @if gcc
42947 @if test -d $(HOST_SUBDIR)/gcc ; then \
42948 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
42949 mv prev-gcc stage1-gcc ; : ; \
42951 @endif gcc
42952 @if intl
42953 @if test -d $(HOST_SUBDIR)/intl ; then \
42954 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
42955 mv prev-intl stage1-intl ; : ; \
42957 @endif intl
42958 @if ld
42959 @if test -d $(HOST_SUBDIR)/ld ; then \
42960 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
42961 mv prev-ld stage1-ld ; : ; \
42963 @endif ld
42964 @if libcpp
42965 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42966 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
42967 mv prev-libcpp stage1-libcpp ; : ; \
42969 @endif libcpp
42970 @if libdecnumber
42971 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42972 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
42973 mv prev-libdecnumber stage1-libdecnumber ; : ; \
42975 @endif libdecnumber
42976 @if libiberty
42977 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42978 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
42979 mv prev-libiberty stage1-libiberty ; : ; \
42981 @endif libiberty
42982 @if zlib
42983 @if test -d $(HOST_SUBDIR)/zlib ; then \
42984 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
42985 mv prev-zlib stage1-zlib ; : ; \
42987 @endif zlib
42988 @if test -d $(TARGET_SUBDIR) ; then \
42989 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
42990 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
42992 rm -f stage_current
42994 # Bubble a bugfix through all the stages up to stage 2. They are
42995 # remade, but not reconfigured. The next stage (if any) will not be
42996 # reconfigured as well.
42997 .PHONY: stage2-bubble
42998 stage2-bubble:: stage1-bubble
42999 @r=`${PWD_COMMAND}`; export r; \
43000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43001 if test -f stage2-lean || test -f stage1-lean ; then \
43002 echo Skipping rebuild of stage2 ; \
43003 else \
43004 $(MAKE) stage2-start; \
43005 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
43008 .PHONY: all-stage2 clean-stage2
43009 do-clean: clean-stage2
43011 # FIXME: Will not need to be conditional when toplevel bootstrap is the
43012 # only possibility, but now it conflicts with no-bootstrap rules
43013 @if gcc-bootstrap
43017 .PHONY: bootstrap2 bootstrap2-lean
43018 bootstrap2:
43019 echo stage2 > stage_final
43020 @r=`${PWD_COMMAND}`; export r; \
43021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43022 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
43023 @: $(MAKE); $(unstage)
43024 @r=`${PWD_COMMAND}`; export r; \
43025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43026 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43028 bootstrap2-lean:
43029 echo stage2 > stage_final
43030 @r=`${PWD_COMMAND}`; export r; \
43031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43032 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
43033 @: $(MAKE); $(unstage)
43034 @r=`${PWD_COMMAND}`; export r; \
43035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43036 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43039 # Rules to wipe a stage and all the following ones, also used for cleanstrap
43040 distclean-stage1:: distclean-stage2
43041 .PHONY: distclean-stage2
43042 distclean-stage2::
43043 @: $(MAKE); $(stage)
43044 rm -rf stage2-*
43047 @endif gcc-bootstrap
43050 .PHONY: stage3-start stage3-end
43052 stage3-start::
43053 @: $(MAKE); $(stage); \
43054 echo stage3 > stage_current ; \
43055 echo stage3 > stage_last; \
43056 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
43057 @if bfd
43058 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
43059 mkdir stage3-bfd; \
43060 mv stage3-bfd bfd ; \
43061 mv stage2-bfd prev-bfd || test -f stage2-lean
43062 @endif bfd
43063 @if opcodes
43064 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
43065 mkdir stage3-opcodes; \
43066 mv stage3-opcodes opcodes ; \
43067 mv stage2-opcodes prev-opcodes || test -f stage2-lean
43068 @endif opcodes
43069 @if binutils
43070 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
43071 mkdir stage3-binutils; \
43072 mv stage3-binutils binutils ; \
43073 mv stage2-binutils prev-binutils || test -f stage2-lean
43074 @endif binutils
43075 @if gas
43076 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
43077 mkdir stage3-gas; \
43078 mv stage3-gas gas ; \
43079 mv stage2-gas prev-gas || test -f stage2-lean
43080 @endif gas
43081 @if gcc
43082 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
43083 mkdir stage3-gcc; \
43084 mv stage3-gcc gcc ; \
43085 mv stage2-gcc prev-gcc || test -f stage2-lean
43086 @endif gcc
43087 @if intl
43088 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
43089 mkdir stage3-intl; \
43090 mv stage3-intl intl ; \
43091 mv stage2-intl prev-intl || test -f stage2-lean
43092 @endif intl
43093 @if ld
43094 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
43095 mkdir stage3-ld; \
43096 mv stage3-ld ld ; \
43097 mv stage2-ld prev-ld || test -f stage2-lean
43098 @endif ld
43099 @if libcpp
43100 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
43101 mkdir stage3-libcpp; \
43102 mv stage3-libcpp libcpp ; \
43103 mv stage2-libcpp prev-libcpp || test -f stage2-lean
43104 @endif libcpp
43105 @if libdecnumber
43106 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
43107 mkdir stage3-libdecnumber; \
43108 mv stage3-libdecnumber libdecnumber ; \
43109 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
43110 @endif libdecnumber
43111 @if libiberty
43112 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
43113 mkdir stage3-libiberty; \
43114 mv stage3-libiberty libiberty ; \
43115 mv stage2-libiberty prev-libiberty || test -f stage2-lean
43116 @endif libiberty
43117 @if zlib
43118 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
43119 mkdir stage3-zlib; \
43120 mv stage3-zlib zlib ; \
43121 mv stage2-zlib prev-zlib || test -f stage2-lean
43122 @endif zlib
43123 @[ -d stage3-$(TARGET_SUBDIR) ] || \
43124 mkdir stage3-$(TARGET_SUBDIR); \
43125 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
43126 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
43128 stage3-end::
43129 @if bfd
43130 @if test -d $(HOST_SUBDIR)/bfd ; then \
43131 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
43132 mv prev-bfd stage2-bfd ; : ; \
43134 @endif bfd
43135 @if opcodes
43136 @if test -d $(HOST_SUBDIR)/opcodes ; then \
43137 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
43138 mv prev-opcodes stage2-opcodes ; : ; \
43140 @endif opcodes
43141 @if binutils
43142 @if test -d $(HOST_SUBDIR)/binutils ; then \
43143 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
43144 mv prev-binutils stage2-binutils ; : ; \
43146 @endif binutils
43147 @if gas
43148 @if test -d $(HOST_SUBDIR)/gas ; then \
43149 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
43150 mv prev-gas stage2-gas ; : ; \
43152 @endif gas
43153 @if gcc
43154 @if test -d $(HOST_SUBDIR)/gcc ; then \
43155 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
43156 mv prev-gcc stage2-gcc ; : ; \
43158 @endif gcc
43159 @if intl
43160 @if test -d $(HOST_SUBDIR)/intl ; then \
43161 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
43162 mv prev-intl stage2-intl ; : ; \
43164 @endif intl
43165 @if ld
43166 @if test -d $(HOST_SUBDIR)/ld ; then \
43167 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
43168 mv prev-ld stage2-ld ; : ; \
43170 @endif ld
43171 @if libcpp
43172 @if test -d $(HOST_SUBDIR)/libcpp ; then \
43173 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
43174 mv prev-libcpp stage2-libcpp ; : ; \
43176 @endif libcpp
43177 @if libdecnumber
43178 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
43179 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
43180 mv prev-libdecnumber stage2-libdecnumber ; : ; \
43182 @endif libdecnumber
43183 @if libiberty
43184 @if test -d $(HOST_SUBDIR)/libiberty ; then \
43185 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
43186 mv prev-libiberty stage2-libiberty ; : ; \
43188 @endif libiberty
43189 @if zlib
43190 @if test -d $(HOST_SUBDIR)/zlib ; then \
43191 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
43192 mv prev-zlib stage2-zlib ; : ; \
43194 @endif zlib
43195 @if test -d $(TARGET_SUBDIR) ; then \
43196 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
43197 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
43199 rm -f stage_current
43201 # Bubble a bugfix through all the stages up to stage 3. They are
43202 # remade, but not reconfigured. The next stage (if any) will not be
43203 # reconfigured as well.
43204 .PHONY: stage3-bubble
43205 stage3-bubble:: stage2-bubble
43206 @r=`${PWD_COMMAND}`; export r; \
43207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43208 if test -f stage3-lean || test -f stage2-lean ; then \
43209 echo Skipping rebuild of stage3 ; \
43210 else \
43211 $(MAKE) stage3-start; \
43212 if $(LEAN); then \
43213 rm -rf stage1-* ; \
43214 $(STAMP) stage1-lean ; \
43215 fi; \
43216 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
43218 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
43220 .PHONY: all-stage3 clean-stage3
43221 do-clean: clean-stage3
43223 # FIXME: Will not need to be conditional when toplevel bootstrap is the
43224 # only possibility, but now it conflicts with no-bootstrap rules
43225 @if gcc-bootstrap
43227 compare:
43228 @r=`${PWD_COMMAND}`; export r; \
43229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43230 if test -f stage2-lean; then \
43231 echo Cannot compare object files as stage 2 was deleted. ; \
43232 exit 0 ; \
43233 fi; \
43234 : $(MAKE); $(stage); \
43235 rm -f .bad_compare ; \
43236 echo Comparing stages 2 and 3 ; \
43237 cd stage3-gcc; \
43238 files=`find . -name "*$(objext)" -print` ; \
43239 cd .. ; \
43240 for file in $${files} ; do \
43241 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
43242 @do_compare@ > /dev/null 2>&1; \
43243 if test $$? -eq 1; then \
43244 case $$file in \
43245 ./cc*-checksum$(objext) | ./libgcc/* ) \
43246 echo warning: $$file differs ;; \
43247 *) \
43248 echo $$file differs >> .bad_compare ;; \
43249 esac ; \
43250 fi ; \
43251 done ; \
43252 if [ -f .bad_compare ]; then \
43253 echo "Bootstrap comparison failure!"; \
43254 cat .bad_compare; \
43255 exit 1; \
43256 else \
43257 echo Comparison successful.; \
43258 fi ; \
43259 $(STAMP) compare
43260 if $(LEAN); then \
43261 rm -rf stage2-*; \
43262 $(STAMP) stage2-lean; \
43267 .PHONY: bootstrap bootstrap-lean
43268 bootstrap:
43269 echo stage3 > stage_final
43270 @r=`${PWD_COMMAND}`; export r; \
43271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43272 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
43273 @: $(MAKE); $(unstage)
43274 @r=`${PWD_COMMAND}`; export r; \
43275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43276 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43278 bootstrap-lean:
43279 echo stage3 > stage_final
43280 @r=`${PWD_COMMAND}`; export r; \
43281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43282 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
43283 @: $(MAKE); $(unstage)
43284 @r=`${PWD_COMMAND}`; export r; \
43285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43286 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43289 # Rules to wipe a stage and all the following ones, also used for cleanstrap
43290 distclean-stage2:: distclean-stage3
43291 .PHONY: distclean-stage3
43292 distclean-stage3::
43293 @: $(MAKE); $(stage)
43294 rm -rf stage3-* compare
43297 .PHONY: cleanstrap
43298 cleanstrap: distclean bootstrap
43300 @endif gcc-bootstrap
43303 .PHONY: stage4-start stage4-end
43305 stage4-start::
43306 @: $(MAKE); $(stage); \
43307 echo stage4 > stage_current ; \
43308 echo stage4 > stage_last; \
43309 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
43310 @if bfd
43311 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
43312 mkdir stage4-bfd; \
43313 mv stage4-bfd bfd ; \
43314 mv stage3-bfd prev-bfd || test -f stage3-lean
43315 @endif bfd
43316 @if opcodes
43317 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
43318 mkdir stage4-opcodes; \
43319 mv stage4-opcodes opcodes ; \
43320 mv stage3-opcodes prev-opcodes || test -f stage3-lean
43321 @endif opcodes
43322 @if binutils
43323 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
43324 mkdir stage4-binutils; \
43325 mv stage4-binutils binutils ; \
43326 mv stage3-binutils prev-binutils || test -f stage3-lean
43327 @endif binutils
43328 @if gas
43329 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
43330 mkdir stage4-gas; \
43331 mv stage4-gas gas ; \
43332 mv stage3-gas prev-gas || test -f stage3-lean
43333 @endif gas
43334 @if gcc
43335 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
43336 mkdir stage4-gcc; \
43337 mv stage4-gcc gcc ; \
43338 mv stage3-gcc prev-gcc || test -f stage3-lean
43339 @endif gcc
43340 @if intl
43341 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
43342 mkdir stage4-intl; \
43343 mv stage4-intl intl ; \
43344 mv stage3-intl prev-intl || test -f stage3-lean
43345 @endif intl
43346 @if ld
43347 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
43348 mkdir stage4-ld; \
43349 mv stage4-ld ld ; \
43350 mv stage3-ld prev-ld || test -f stage3-lean
43351 @endif ld
43352 @if libcpp
43353 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
43354 mkdir stage4-libcpp; \
43355 mv stage4-libcpp libcpp ; \
43356 mv stage3-libcpp prev-libcpp || test -f stage3-lean
43357 @endif libcpp
43358 @if libdecnumber
43359 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
43360 mkdir stage4-libdecnumber; \
43361 mv stage4-libdecnumber libdecnumber ; \
43362 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
43363 @endif libdecnumber
43364 @if libiberty
43365 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
43366 mkdir stage4-libiberty; \
43367 mv stage4-libiberty libiberty ; \
43368 mv stage3-libiberty prev-libiberty || test -f stage3-lean
43369 @endif libiberty
43370 @if zlib
43371 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
43372 mkdir stage4-zlib; \
43373 mv stage4-zlib zlib ; \
43374 mv stage3-zlib prev-zlib || test -f stage3-lean
43375 @endif zlib
43376 @[ -d stage4-$(TARGET_SUBDIR) ] || \
43377 mkdir stage4-$(TARGET_SUBDIR); \
43378 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
43379 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
43381 stage4-end::
43382 @if bfd
43383 @if test -d $(HOST_SUBDIR)/bfd ; then \
43384 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
43385 mv prev-bfd stage3-bfd ; : ; \
43387 @endif bfd
43388 @if opcodes
43389 @if test -d $(HOST_SUBDIR)/opcodes ; then \
43390 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
43391 mv prev-opcodes stage3-opcodes ; : ; \
43393 @endif opcodes
43394 @if binutils
43395 @if test -d $(HOST_SUBDIR)/binutils ; then \
43396 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
43397 mv prev-binutils stage3-binutils ; : ; \
43399 @endif binutils
43400 @if gas
43401 @if test -d $(HOST_SUBDIR)/gas ; then \
43402 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
43403 mv prev-gas stage3-gas ; : ; \
43405 @endif gas
43406 @if gcc
43407 @if test -d $(HOST_SUBDIR)/gcc ; then \
43408 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
43409 mv prev-gcc stage3-gcc ; : ; \
43411 @endif gcc
43412 @if intl
43413 @if test -d $(HOST_SUBDIR)/intl ; then \
43414 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
43415 mv prev-intl stage3-intl ; : ; \
43417 @endif intl
43418 @if ld
43419 @if test -d $(HOST_SUBDIR)/ld ; then \
43420 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
43421 mv prev-ld stage3-ld ; : ; \
43423 @endif ld
43424 @if libcpp
43425 @if test -d $(HOST_SUBDIR)/libcpp ; then \
43426 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
43427 mv prev-libcpp stage3-libcpp ; : ; \
43429 @endif libcpp
43430 @if libdecnumber
43431 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
43432 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
43433 mv prev-libdecnumber stage3-libdecnumber ; : ; \
43435 @endif libdecnumber
43436 @if libiberty
43437 @if test -d $(HOST_SUBDIR)/libiberty ; then \
43438 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
43439 mv prev-libiberty stage3-libiberty ; : ; \
43441 @endif libiberty
43442 @if zlib
43443 @if test -d $(HOST_SUBDIR)/zlib ; then \
43444 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
43445 mv prev-zlib stage3-zlib ; : ; \
43447 @endif zlib
43448 @if test -d $(TARGET_SUBDIR) ; then \
43449 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
43450 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
43452 rm -f stage_current
43454 # Bubble a bugfix through all the stages up to stage 4. They are
43455 # remade, but not reconfigured. The next stage (if any) will not be
43456 # reconfigured as well.
43457 .PHONY: stage4-bubble
43458 stage4-bubble:: stage3-bubble
43459 @r=`${PWD_COMMAND}`; export r; \
43460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43461 if test -f stage4-lean || test -f stage3-lean ; then \
43462 echo Skipping rebuild of stage4 ; \
43463 else \
43464 $(MAKE) stage4-start; \
43465 if $(LEAN); then \
43466 rm -rf stage2-* ; \
43467 $(STAMP) stage2-lean ; \
43468 fi; \
43469 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
43471 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
43473 .PHONY: all-stage4 clean-stage4
43474 do-clean: clean-stage4
43476 # FIXME: Will not need to be conditional when toplevel bootstrap is the
43477 # only possibility, but now it conflicts with no-bootstrap rules
43478 @if gcc-bootstrap
43480 compare3:
43481 @r=`${PWD_COMMAND}`; export r; \
43482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43483 if test -f stage3-lean; then \
43484 echo Cannot compare object files as stage 3 was deleted. ; \
43485 exit 0 ; \
43486 fi; \
43487 : $(MAKE); $(stage); \
43488 rm -f .bad_compare ; \
43489 echo Comparing stages 3 and 4 ; \
43490 cd stage4-gcc; \
43491 files=`find . -name "*$(objext)" -print` ; \
43492 cd .. ; \
43493 for file in $${files} ; do \
43494 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
43495 @do_compare@ > /dev/null 2>&1; \
43496 if test $$? -eq 1; then \
43497 case $$file in \
43498 ./cc*-checksum$(objext) | ./libgcc/* ) \
43499 echo warning: $$file differs ;; \
43500 *) \
43501 echo $$file differs >> .bad_compare ;; \
43502 esac ; \
43503 fi ; \
43504 done ; \
43505 if [ -f .bad_compare ]; then \
43506 echo "Bootstrap comparison failure!"; \
43507 cat .bad_compare; \
43508 exit 1; \
43509 else \
43510 echo Comparison successful.; \
43511 fi ; \
43512 $(STAMP) compare3
43513 if $(LEAN); then \
43514 rm -rf stage3-*; \
43515 $(STAMP) stage3-lean; \
43520 .PHONY: bootstrap4 bootstrap4-lean
43521 bootstrap4:
43522 echo stage4 > stage_final
43523 @r=`${PWD_COMMAND}`; export r; \
43524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43525 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
43526 @: $(MAKE); $(unstage)
43527 @r=`${PWD_COMMAND}`; export r; \
43528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43529 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43531 bootstrap4-lean:
43532 echo stage4 > stage_final
43533 @r=`${PWD_COMMAND}`; export r; \
43534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43535 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
43536 @: $(MAKE); $(unstage)
43537 @r=`${PWD_COMMAND}`; export r; \
43538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43539 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43542 # Rules to wipe a stage and all the following ones, also used for cleanstrap
43543 distclean-stage3:: distclean-stage4
43544 .PHONY: distclean-stage4
43545 distclean-stage4::
43546 @: $(MAKE); $(stage)
43547 rm -rf stage4-* compare3
43550 @endif gcc-bootstrap
43553 .PHONY: stageprofile-start stageprofile-end
43555 stageprofile-start::
43556 @: $(MAKE); $(stage); \
43557 echo stageprofile > stage_current ; \
43558 echo stageprofile > stage_last; \
43559 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
43560 @if bfd
43561 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
43562 mkdir stageprofile-bfd; \
43563 mv stageprofile-bfd bfd ; \
43564 mv stage1-bfd prev-bfd || test -f stage1-lean
43565 @endif bfd
43566 @if opcodes
43567 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
43568 mkdir stageprofile-opcodes; \
43569 mv stageprofile-opcodes opcodes ; \
43570 mv stage1-opcodes prev-opcodes || test -f stage1-lean
43571 @endif opcodes
43572 @if binutils
43573 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
43574 mkdir stageprofile-binutils; \
43575 mv stageprofile-binutils binutils ; \
43576 mv stage1-binutils prev-binutils || test -f stage1-lean
43577 @endif binutils
43578 @if gas
43579 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
43580 mkdir stageprofile-gas; \
43581 mv stageprofile-gas gas ; \
43582 mv stage1-gas prev-gas || test -f stage1-lean
43583 @endif gas
43584 @if gcc
43585 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
43586 mkdir stageprofile-gcc; \
43587 mv stageprofile-gcc gcc ; \
43588 mv stage1-gcc prev-gcc || test -f stage1-lean
43589 @endif gcc
43590 @if intl
43591 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
43592 mkdir stageprofile-intl; \
43593 mv stageprofile-intl intl ; \
43594 mv stage1-intl prev-intl || test -f stage1-lean
43595 @endif intl
43596 @if ld
43597 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
43598 mkdir stageprofile-ld; \
43599 mv stageprofile-ld ld ; \
43600 mv stage1-ld prev-ld || test -f stage1-lean
43601 @endif ld
43602 @if libcpp
43603 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
43604 mkdir stageprofile-libcpp; \
43605 mv stageprofile-libcpp libcpp ; \
43606 mv stage1-libcpp prev-libcpp || test -f stage1-lean
43607 @endif libcpp
43608 @if libdecnumber
43609 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
43610 mkdir stageprofile-libdecnumber; \
43611 mv stageprofile-libdecnumber libdecnumber ; \
43612 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
43613 @endif libdecnumber
43614 @if libiberty
43615 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
43616 mkdir stageprofile-libiberty; \
43617 mv stageprofile-libiberty libiberty ; \
43618 mv stage1-libiberty prev-libiberty || test -f stage1-lean
43619 @endif libiberty
43620 @if zlib
43621 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
43622 mkdir stageprofile-zlib; \
43623 mv stageprofile-zlib zlib ; \
43624 mv stage1-zlib prev-zlib || test -f stage1-lean
43625 @endif zlib
43626 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
43627 mkdir stageprofile-$(TARGET_SUBDIR); \
43628 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
43629 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
43631 stageprofile-end::
43632 @if bfd
43633 @if test -d $(HOST_SUBDIR)/bfd ; then \
43634 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
43635 mv prev-bfd stage1-bfd ; : ; \
43637 @endif bfd
43638 @if opcodes
43639 @if test -d $(HOST_SUBDIR)/opcodes ; then \
43640 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
43641 mv prev-opcodes stage1-opcodes ; : ; \
43643 @endif opcodes
43644 @if binutils
43645 @if test -d $(HOST_SUBDIR)/binutils ; then \
43646 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
43647 mv prev-binutils stage1-binutils ; : ; \
43649 @endif binutils
43650 @if gas
43651 @if test -d $(HOST_SUBDIR)/gas ; then \
43652 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
43653 mv prev-gas stage1-gas ; : ; \
43655 @endif gas
43656 @if gcc
43657 @if test -d $(HOST_SUBDIR)/gcc ; then \
43658 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
43659 mv prev-gcc stage1-gcc ; : ; \
43661 @endif gcc
43662 @if intl
43663 @if test -d $(HOST_SUBDIR)/intl ; then \
43664 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
43665 mv prev-intl stage1-intl ; : ; \
43667 @endif intl
43668 @if ld
43669 @if test -d $(HOST_SUBDIR)/ld ; then \
43670 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
43671 mv prev-ld stage1-ld ; : ; \
43673 @endif ld
43674 @if libcpp
43675 @if test -d $(HOST_SUBDIR)/libcpp ; then \
43676 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
43677 mv prev-libcpp stage1-libcpp ; : ; \
43679 @endif libcpp
43680 @if libdecnumber
43681 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
43682 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
43683 mv prev-libdecnumber stage1-libdecnumber ; : ; \
43685 @endif libdecnumber
43686 @if libiberty
43687 @if test -d $(HOST_SUBDIR)/libiberty ; then \
43688 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
43689 mv prev-libiberty stage1-libiberty ; : ; \
43691 @endif libiberty
43692 @if zlib
43693 @if test -d $(HOST_SUBDIR)/zlib ; then \
43694 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
43695 mv prev-zlib stage1-zlib ; : ; \
43697 @endif zlib
43698 @if test -d $(TARGET_SUBDIR) ; then \
43699 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
43700 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
43702 rm -f stage_current
43704 # Bubble a bugfix through all the stages up to stage profile. They are
43705 # remade, but not reconfigured. The next stage (if any) will not be
43706 # reconfigured as well.
43707 .PHONY: stageprofile-bubble
43708 stageprofile-bubble:: stage1-bubble
43709 @r=`${PWD_COMMAND}`; export r; \
43710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43711 if test -f stageprofile-lean || test -f stage1-lean ; then \
43712 echo Skipping rebuild of stageprofile ; \
43713 else \
43714 $(MAKE) stageprofile-start; \
43715 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
43718 .PHONY: all-stageprofile clean-stageprofile
43719 do-clean: clean-stageprofile
43721 # FIXME: Will not need to be conditional when toplevel bootstrap is the
43722 # only possibility, but now it conflicts with no-bootstrap rules
43723 @if gcc-bootstrap
43728 # Rules to wipe a stage and all the following ones, also used for cleanstrap
43729 distclean-stage1:: distclean-stageprofile
43730 .PHONY: distclean-stageprofile
43731 distclean-stageprofile::
43732 @: $(MAKE); $(stage)
43733 rm -rf stageprofile-*
43736 @endif gcc-bootstrap
43739 .PHONY: stagefeedback-start stagefeedback-end
43741 stagefeedback-start::
43742 @: $(MAKE); $(stage); \
43743 echo stagefeedback > stage_current ; \
43744 echo stagefeedback > stage_last; \
43745 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
43746 @if bfd
43747 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
43748 mkdir stagefeedback-bfd; \
43749 mv stagefeedback-bfd bfd ; \
43750 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
43751 @endif bfd
43752 @if opcodes
43753 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
43754 mkdir stagefeedback-opcodes; \
43755 mv stagefeedback-opcodes opcodes ; \
43756 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
43757 @endif opcodes
43758 @if binutils
43759 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
43760 mkdir stagefeedback-binutils; \
43761 mv stagefeedback-binutils binutils ; \
43762 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
43763 @endif binutils
43764 @if gas
43765 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
43766 mkdir stagefeedback-gas; \
43767 mv stagefeedback-gas gas ; \
43768 mv stageprofile-gas prev-gas || test -f stageprofile-lean
43769 @endif gas
43770 @if gcc
43771 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
43772 mkdir stagefeedback-gcc; \
43773 mv stagefeedback-gcc gcc ; \
43774 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
43775 @endif gcc
43776 @if intl
43777 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
43778 mkdir stagefeedback-intl; \
43779 mv stagefeedback-intl intl ; \
43780 mv stageprofile-intl prev-intl || test -f stageprofile-lean
43781 @endif intl
43782 @if ld
43783 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
43784 mkdir stagefeedback-ld; \
43785 mv stagefeedback-ld ld ; \
43786 mv stageprofile-ld prev-ld || test -f stageprofile-lean
43787 @endif ld
43788 @if libcpp
43789 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
43790 mkdir stagefeedback-libcpp; \
43791 mv stagefeedback-libcpp libcpp ; \
43792 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
43793 @endif libcpp
43794 @if libdecnumber
43795 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
43796 mkdir stagefeedback-libdecnumber; \
43797 mv stagefeedback-libdecnumber libdecnumber ; \
43798 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
43799 @endif libdecnumber
43800 @if libiberty
43801 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
43802 mkdir stagefeedback-libiberty; \
43803 mv stagefeedback-libiberty libiberty ; \
43804 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
43805 @endif libiberty
43806 @if zlib
43807 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
43808 mkdir stagefeedback-zlib; \
43809 mv stagefeedback-zlib zlib ; \
43810 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
43811 @endif zlib
43812 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
43813 mkdir stagefeedback-$(TARGET_SUBDIR); \
43814 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
43815 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
43817 stagefeedback-end::
43818 @if bfd
43819 @if test -d $(HOST_SUBDIR)/bfd ; then \
43820 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
43821 mv prev-bfd stageprofile-bfd ; : ; \
43823 @endif bfd
43824 @if opcodes
43825 @if test -d $(HOST_SUBDIR)/opcodes ; then \
43826 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
43827 mv prev-opcodes stageprofile-opcodes ; : ; \
43829 @endif opcodes
43830 @if binutils
43831 @if test -d $(HOST_SUBDIR)/binutils ; then \
43832 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
43833 mv prev-binutils stageprofile-binutils ; : ; \
43835 @endif binutils
43836 @if gas
43837 @if test -d $(HOST_SUBDIR)/gas ; then \
43838 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
43839 mv prev-gas stageprofile-gas ; : ; \
43841 @endif gas
43842 @if gcc
43843 @if test -d $(HOST_SUBDIR)/gcc ; then \
43844 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
43845 mv prev-gcc stageprofile-gcc ; : ; \
43847 @endif gcc
43848 @if intl
43849 @if test -d $(HOST_SUBDIR)/intl ; then \
43850 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
43851 mv prev-intl stageprofile-intl ; : ; \
43853 @endif intl
43854 @if ld
43855 @if test -d $(HOST_SUBDIR)/ld ; then \
43856 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
43857 mv prev-ld stageprofile-ld ; : ; \
43859 @endif ld
43860 @if libcpp
43861 @if test -d $(HOST_SUBDIR)/libcpp ; then \
43862 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
43863 mv prev-libcpp stageprofile-libcpp ; : ; \
43865 @endif libcpp
43866 @if libdecnumber
43867 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
43868 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
43869 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
43871 @endif libdecnumber
43872 @if libiberty
43873 @if test -d $(HOST_SUBDIR)/libiberty ; then \
43874 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
43875 mv prev-libiberty stageprofile-libiberty ; : ; \
43877 @endif libiberty
43878 @if zlib
43879 @if test -d $(HOST_SUBDIR)/zlib ; then \
43880 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
43881 mv prev-zlib stageprofile-zlib ; : ; \
43883 @endif zlib
43884 @if test -d $(TARGET_SUBDIR) ; then \
43885 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
43886 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
43888 rm -f stage_current
43890 # Bubble a bugfix through all the stages up to stage feedback. They are
43891 # remade, but not reconfigured. The next stage (if any) will not be
43892 # reconfigured as well.
43893 .PHONY: stagefeedback-bubble
43894 stagefeedback-bubble:: stageprofile-bubble
43895 @r=`${PWD_COMMAND}`; export r; \
43896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43897 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
43898 echo Skipping rebuild of stagefeedback ; \
43899 else \
43900 $(MAKE) stagefeedback-start; \
43901 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
43904 .PHONY: all-stagefeedback clean-stagefeedback
43905 do-clean: clean-stagefeedback
43907 # FIXME: Will not need to be conditional when toplevel bootstrap is the
43908 # only possibility, but now it conflicts with no-bootstrap rules
43909 @if gcc-bootstrap
43913 .PHONY: profiledbootstrap profiledbootstrap-lean
43914 profiledbootstrap:
43915 echo stagefeedback > stage_final
43916 @r=`${PWD_COMMAND}`; export r; \
43917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43918 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
43919 @: $(MAKE); $(unstage)
43920 @r=`${PWD_COMMAND}`; export r; \
43921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43922 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43924 profiledbootstrap-lean:
43925 echo stagefeedback > stage_final
43926 @r=`${PWD_COMMAND}`; export r; \
43927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43928 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
43929 @: $(MAKE); $(unstage)
43930 @r=`${PWD_COMMAND}`; export r; \
43931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43932 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43935 # Rules to wipe a stage and all the following ones, also used for cleanstrap
43936 distclean-stageprofile:: distclean-stagefeedback
43937 .PHONY: distclean-stagefeedback
43938 distclean-stagefeedback::
43939 @: $(MAKE); $(stage)
43940 rm -rf stagefeedback-*
43943 @endif gcc-bootstrap
43947 stageprofile-end::
43948 $(MAKE) distclean-stagefeedback
43950 stagefeedback-start::
43951 @r=`${PWD_COMMAND}`; export r; \
43952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43953 for i in prev-*; do \
43954 j=`echo $$i | sed s/^prev-//` ; \
43955 cd $$r/$$i && \
43956 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
43957 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
43958 done
43960 @if gcc-bootstrap
43961 do-distclean: distclean-stage1
43963 # Provide a GCC build when we're building target libraries. This does
43964 # not work as a dependency, just as the minimum necessary to avoid errors.
43965 stage_last:
43966 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
43968 # Same as unstage, but not phony and defaulting to stage1-start. We place
43969 # it in the dependency so that for example `make -j3 all-gcc' works.
43970 stage_current:
43971 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
43973 .PHONY: restrap
43974 restrap:
43975 @: $(MAKE); $(stage)
43976 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
43977 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
43978 @endif gcc-bootstrap
43980 # --------------------------------------
43981 # Dependencies between different modules
43982 # --------------------------------------
43984 # Generic dependencies for target modules on host stuff, especially gcc
43985 @if gcc-bootstrap
43986 configure-target-libstdc++-v3: stage_last
43987 configure-target-libmudflap: stage_last
43988 configure-target-libssp: stage_last
43989 configure-target-newlib: stage_last
43990 configure-stage1-target-libgcc: maybe-all-stage1-gcc
43991 configure-stage2-target-libgcc: maybe-all-stage2-gcc
43992 configure-stage3-target-libgcc: maybe-all-stage3-gcc
43993 configure-stage4-target-libgcc: maybe-all-stage4-gcc
43994 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
43995 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
43996 configure-target-libgfortran: stage_last
43997 configure-target-libobjc: stage_last
43998 configure-target-libtermcap: stage_last
43999 configure-target-winsup: stage_last
44000 configure-target-libgloss: stage_last
44001 configure-target-libiberty: stage_last
44002 configure-target-gperf: stage_last
44003 configure-target-examples: stage_last
44004 configure-target-libffi: stage_last
44005 configure-target-libjava: stage_last
44006 configure-target-zlib: stage_last
44007 configure-target-boehm-gc: stage_last
44008 configure-target-qthreads: stage_last
44009 configure-target-rda: stage_last
44010 configure-target-libada: stage_last
44011 configure-target-libgomp: stage_last
44012 @endif gcc-bootstrap
44014 @if gcc-no-bootstrap
44015 configure-target-libstdc++-v3: maybe-all-gcc
44016 configure-target-libmudflap: maybe-all-gcc
44017 configure-target-libssp: maybe-all-gcc
44018 configure-target-newlib: maybe-all-gcc
44019 configure-target-libgcc: maybe-all-gcc
44020 configure-target-libgfortran: maybe-all-gcc
44021 configure-target-libobjc: maybe-all-gcc
44022 configure-target-libtermcap: maybe-all-gcc
44023 configure-target-winsup: maybe-all-gcc
44024 configure-target-libgloss: maybe-all-gcc
44025 configure-target-libiberty: maybe-all-gcc
44026 configure-target-gperf: maybe-all-gcc
44027 configure-target-examples: maybe-all-gcc
44028 configure-target-libffi: maybe-all-gcc
44029 configure-target-libjava: maybe-all-gcc
44030 configure-target-zlib: maybe-all-gcc
44031 configure-target-boehm-gc: maybe-all-gcc
44032 configure-target-qthreads: maybe-all-gcc
44033 configure-target-rda: maybe-all-gcc
44034 configure-target-libada: maybe-all-gcc
44035 configure-target-libgomp: maybe-all-gcc
44036 @endif gcc-no-bootstrap
44039 # There are two types of dependencies here: 'hard' dependencies, where one
44040 # module simply won't build without the other; and 'soft' dependencies, where
44041 # if the depended-on module is missing, the depending module will do without
44042 # or find a substitute somewhere (perhaps installed). Soft dependencies
44043 # are made here to depend on a 'maybe-' target. If you're not sure,
44044 # it's safer to use a soft dependency.
44051 # With all the machinery above in place, it is pretty easy to generate
44052 # dependencies. Host dependencies are a bit more complex because we have
44053 # to check for bootstrap/prebootstrap dependencies. To resolve
44054 # prebootstrap dependencies, prebootstrap modules are gathered in
44055 # a hash table.
44056 all-build-bison: maybe-all-build-texinfo
44057 all-build-byacc: maybe-all-build-texinfo
44058 all-build-flex: maybe-all-build-texinfo
44059 all-build-flex: maybe-all-build-bison
44060 all-build-flex: maybe-all-build-byacc
44061 all-build-flex: maybe-all-build-m4
44062 all-build-libiberty: maybe-all-build-texinfo
44063 all-build-m4: maybe-all-build-texinfo
44064 all-build-fixincludes: maybe-all-build-libiberty
44065 configure-gcc: maybe-configure-intl
44067 configure-stage1-gcc: maybe-configure-stage1-intl
44068 configure-stage2-gcc: maybe-configure-stage2-intl
44069 configure-stage3-gcc: maybe-configure-stage3-intl
44070 configure-stage4-gcc: maybe-configure-stage4-intl
44071 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
44072 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
44073 configure-gcc: maybe-all-binutils
44075 configure-stage1-gcc: maybe-all-stage1-binutils
44076 configure-stage2-gcc: maybe-all-stage2-binutils
44077 configure-stage3-gcc: maybe-all-stage3-binutils
44078 configure-stage4-gcc: maybe-all-stage4-binutils
44079 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
44080 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
44081 configure-gcc: maybe-all-gas
44083 configure-stage1-gcc: maybe-all-stage1-gas
44084 configure-stage2-gcc: maybe-all-stage2-gas
44085 configure-stage3-gcc: maybe-all-stage3-gas
44086 configure-stage4-gcc: maybe-all-stage4-gas
44087 configure-stageprofile-gcc: maybe-all-stageprofile-gas
44088 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
44089 configure-gcc: maybe-all-ld
44091 configure-stage1-gcc: maybe-all-stage1-ld
44092 configure-stage2-gcc: maybe-all-stage2-ld
44093 configure-stage3-gcc: maybe-all-stage3-ld
44094 configure-stage4-gcc: maybe-all-stage4-ld
44095 configure-stageprofile-gcc: maybe-all-stageprofile-ld
44096 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
44097 all-gcc: all-libiberty
44099 all-stage1-gcc: all-stage1-libiberty
44100 all-stage2-gcc: all-stage2-libiberty
44101 all-stage3-gcc: all-stage3-libiberty
44102 all-stage4-gcc: all-stage4-libiberty
44103 all-stageprofile-gcc: all-stageprofile-libiberty
44104 all-stagefeedback-gcc: all-stagefeedback-libiberty
44105 all-gcc: maybe-all-intl
44107 all-stage1-gcc: maybe-all-stage1-intl
44108 all-stage2-gcc: maybe-all-stage2-intl
44109 all-stage3-gcc: maybe-all-stage3-intl
44110 all-stage4-gcc: maybe-all-stage4-intl
44111 all-stageprofile-gcc: maybe-all-stageprofile-intl
44112 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
44113 all-gcc: maybe-all-build-texinfo
44115 all-stage1-gcc: maybe-all-build-texinfo
44116 all-stage2-gcc: maybe-all-build-texinfo
44117 all-stage3-gcc: maybe-all-build-texinfo
44118 all-stage4-gcc: maybe-all-build-texinfo
44119 all-stageprofile-gcc: maybe-all-build-texinfo
44120 all-stagefeedback-gcc: maybe-all-build-texinfo
44121 all-gcc: maybe-all-build-bison
44123 all-stage1-gcc: maybe-all-build-bison
44124 all-stage2-gcc: maybe-all-build-bison
44125 all-stage3-gcc: maybe-all-build-bison
44126 all-stage4-gcc: maybe-all-build-bison
44127 all-stageprofile-gcc: maybe-all-build-bison
44128 all-stagefeedback-gcc: maybe-all-build-bison
44129 all-gcc: maybe-all-build-byacc
44131 all-stage1-gcc: maybe-all-build-byacc
44132 all-stage2-gcc: maybe-all-build-byacc
44133 all-stage3-gcc: maybe-all-build-byacc
44134 all-stage4-gcc: maybe-all-build-byacc
44135 all-stageprofile-gcc: maybe-all-build-byacc
44136 all-stagefeedback-gcc: maybe-all-build-byacc
44137 all-gcc: maybe-all-build-flex
44139 all-stage1-gcc: maybe-all-build-flex
44140 all-stage2-gcc: maybe-all-build-flex
44141 all-stage3-gcc: maybe-all-build-flex
44142 all-stage4-gcc: maybe-all-build-flex
44143 all-stageprofile-gcc: maybe-all-build-flex
44144 all-stagefeedback-gcc: maybe-all-build-flex
44145 all-gcc: maybe-all-build-libiberty
44147 all-stage1-gcc: maybe-all-build-libiberty
44148 all-stage2-gcc: maybe-all-build-libiberty
44149 all-stage3-gcc: maybe-all-build-libiberty
44150 all-stage4-gcc: maybe-all-build-libiberty
44151 all-stageprofile-gcc: maybe-all-build-libiberty
44152 all-stagefeedback-gcc: maybe-all-build-libiberty
44153 all-gcc: maybe-all-build-fixincludes
44155 all-stage1-gcc: maybe-all-build-fixincludes
44156 all-stage2-gcc: maybe-all-build-fixincludes
44157 all-stage3-gcc: maybe-all-build-fixincludes
44158 all-stage4-gcc: maybe-all-build-fixincludes
44159 all-stageprofile-gcc: maybe-all-build-fixincludes
44160 all-stagefeedback-gcc: maybe-all-build-fixincludes
44161 all-gcc: maybe-all-zlib
44163 all-stage1-gcc: maybe-all-stage1-zlib
44164 all-stage2-gcc: maybe-all-stage2-zlib
44165 all-stage3-gcc: maybe-all-stage3-zlib
44166 all-stage4-gcc: maybe-all-stage4-zlib
44167 all-stageprofile-gcc: maybe-all-stageprofile-zlib
44168 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
44169 all-gcc: all-libcpp
44171 all-stage1-gcc: all-stage1-libcpp
44172 all-stage2-gcc: all-stage2-libcpp
44173 all-stage3-gcc: all-stage3-libcpp
44174 all-stage4-gcc: all-stage4-libcpp
44175 all-stageprofile-gcc: all-stageprofile-libcpp
44176 all-stagefeedback-gcc: all-stagefeedback-libcpp
44177 all-gcc: all-libdecnumber
44179 all-stage1-gcc: all-stage1-libdecnumber
44180 all-stage2-gcc: all-stage2-libdecnumber
44181 all-stage3-gcc: all-stage3-libdecnumber
44182 all-stage4-gcc: all-stage4-libdecnumber
44183 all-stageprofile-gcc: all-stageprofile-libdecnumber
44184 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
44185 all-gcc: maybe-all-libiberty
44187 all-stage1-gcc: maybe-all-stage1-libiberty
44188 all-stage2-gcc: maybe-all-stage2-libiberty
44189 all-stage3-gcc: maybe-all-stage3-libiberty
44190 all-stage4-gcc: maybe-all-stage4-libiberty
44191 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
44192 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
44193 all-gcc: maybe-all-fixincludes
44194 install-gcc: maybe-install-fixincludes
44195 configure-libcpp: configure-libiberty
44197 configure-stage1-libcpp: configure-stage1-libiberty
44198 configure-stage2-libcpp: configure-stage2-libiberty
44199 configure-stage3-libcpp: configure-stage3-libiberty
44200 configure-stage4-libcpp: configure-stage4-libiberty
44201 configure-stageprofile-libcpp: configure-stageprofile-libiberty
44202 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
44203 configure-libcpp: maybe-configure-intl
44205 configure-stage1-libcpp: maybe-configure-stage1-intl
44206 configure-stage2-libcpp: maybe-configure-stage2-intl
44207 configure-stage3-libcpp: maybe-configure-stage3-intl
44208 configure-stage4-libcpp: maybe-configure-stage4-intl
44209 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
44210 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
44211 all-libcpp: all-libiberty
44213 all-stage1-libcpp: all-stage1-libiberty
44214 all-stage2-libcpp: all-stage2-libiberty
44215 all-stage3-libcpp: all-stage3-libiberty
44216 all-stage4-libcpp: all-stage4-libiberty
44217 all-stageprofile-libcpp: all-stageprofile-libiberty
44218 all-stagefeedback-libcpp: all-stagefeedback-libiberty
44219 all-libcpp: maybe-all-intl
44221 all-stage1-libcpp: maybe-all-stage1-intl
44222 all-stage2-libcpp: maybe-all-stage2-intl
44223 all-stage3-libcpp: maybe-all-stage3-intl
44224 all-stage4-libcpp: maybe-all-stage4-intl
44225 all-stageprofile-libcpp: maybe-all-stageprofile-intl
44226 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
44227 all-fixincludes: maybe-all-libiberty
44228 all-gnattools: maybe-all-target-libada
44229 configure-gdb: maybe-configure-intl
44230 configure-gdb: maybe-configure-sim
44231 all-gdb: maybe-all-intl
44232 all-gdb: maybe-all-libiberty
44233 all-gdb: maybe-all-opcodes
44234 all-gdb: maybe-all-bfd
44235 all-gdb: maybe-all-readline
44236 all-gdb: maybe-all-build-bison
44237 all-gdb: maybe-all-build-byacc
44238 all-gdb: maybe-all-sim
44239 configure-libgui: maybe-configure-tcl
44240 configure-libgui: maybe-configure-tk
44241 all-libgui: maybe-all-tcl
44242 all-libgui: maybe-all-tk
44243 all-libgui: maybe-all-itcl
44244 configure-bfd: configure-libiberty
44246 configure-stage1-bfd: configure-stage1-libiberty
44247 configure-stage2-bfd: configure-stage2-libiberty
44248 configure-stage3-bfd: configure-stage3-libiberty
44249 configure-stage4-bfd: configure-stage4-libiberty
44250 configure-stageprofile-bfd: configure-stageprofile-libiberty
44251 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
44252 configure-bfd: maybe-configure-intl
44254 configure-stage1-bfd: maybe-configure-stage1-intl
44255 configure-stage2-bfd: maybe-configure-stage2-intl
44256 configure-stage3-bfd: maybe-configure-stage3-intl
44257 configure-stage4-bfd: maybe-configure-stage4-intl
44258 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
44259 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
44260 all-bfd: maybe-all-libiberty
44262 all-stage1-bfd: maybe-all-stage1-libiberty
44263 all-stage2-bfd: maybe-all-stage2-libiberty
44264 all-stage3-bfd: maybe-all-stage3-libiberty
44265 all-stage4-bfd: maybe-all-stage4-libiberty
44266 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
44267 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
44268 all-bfd: maybe-all-intl
44270 all-stage1-bfd: maybe-all-stage1-intl
44271 all-stage2-bfd: maybe-all-stage2-intl
44272 all-stage3-bfd: maybe-all-stage3-intl
44273 all-stage4-bfd: maybe-all-stage4-intl
44274 all-stageprofile-bfd: maybe-all-stageprofile-intl
44275 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
44276 configure-binutils: maybe-configure-intl
44278 configure-stage1-binutils: maybe-configure-stage1-intl
44279 configure-stage2-binutils: maybe-configure-stage2-intl
44280 configure-stage3-binutils: maybe-configure-stage3-intl
44281 configure-stage4-binutils: maybe-configure-stage4-intl
44282 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
44283 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
44284 all-binutils: maybe-all-libiberty
44286 all-stage1-binutils: maybe-all-stage1-libiberty
44287 all-stage2-binutils: maybe-all-stage2-libiberty
44288 all-stage3-binutils: maybe-all-stage3-libiberty
44289 all-stage4-binutils: maybe-all-stage4-libiberty
44290 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
44291 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
44292 all-binutils: maybe-all-opcodes
44294 all-stage1-binutils: maybe-all-stage1-opcodes
44295 all-stage2-binutils: maybe-all-stage2-opcodes
44296 all-stage3-binutils: maybe-all-stage3-opcodes
44297 all-stage4-binutils: maybe-all-stage4-opcodes
44298 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
44299 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
44300 all-binutils: maybe-all-bfd
44302 all-stage1-binutils: maybe-all-stage1-bfd
44303 all-stage2-binutils: maybe-all-stage2-bfd
44304 all-stage3-binutils: maybe-all-stage3-bfd
44305 all-stage4-binutils: maybe-all-stage4-bfd
44306 all-stageprofile-binutils: maybe-all-stageprofile-bfd
44307 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
44308 all-binutils: maybe-all-build-flex
44310 all-stage1-binutils: maybe-all-build-flex
44311 all-stage2-binutils: maybe-all-build-flex
44312 all-stage3-binutils: maybe-all-build-flex
44313 all-stage4-binutils: maybe-all-build-flex
44314 all-stageprofile-binutils: maybe-all-build-flex
44315 all-stagefeedback-binutils: maybe-all-build-flex
44316 all-binutils: maybe-all-build-bison
44318 all-stage1-binutils: maybe-all-build-bison
44319 all-stage2-binutils: maybe-all-build-bison
44320 all-stage3-binutils: maybe-all-build-bison
44321 all-stage4-binutils: maybe-all-build-bison
44322 all-stageprofile-binutils: maybe-all-build-bison
44323 all-stagefeedback-binutils: maybe-all-build-bison
44324 all-binutils: maybe-all-build-byacc
44326 all-stage1-binutils: maybe-all-build-byacc
44327 all-stage2-binutils: maybe-all-build-byacc
44328 all-stage3-binutils: maybe-all-build-byacc
44329 all-stage4-binutils: maybe-all-build-byacc
44330 all-stageprofile-binutils: maybe-all-build-byacc
44331 all-stagefeedback-binutils: maybe-all-build-byacc
44332 all-binutils: maybe-all-intl
44334 all-stage1-binutils: maybe-all-stage1-intl
44335 all-stage2-binutils: maybe-all-stage2-intl
44336 all-stage3-binutils: maybe-all-stage3-intl
44337 all-stage4-binutils: maybe-all-stage4-intl
44338 all-stageprofile-binutils: maybe-all-stageprofile-intl
44339 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
44340 install-binutils: maybe-install-opcodes
44341 install-opcodes: maybe-install-bfd
44342 configure-gas: maybe-configure-intl
44344 configure-stage1-gas: maybe-configure-stage1-intl
44345 configure-stage2-gas: maybe-configure-stage2-intl
44346 configure-stage3-gas: maybe-configure-stage3-intl
44347 configure-stage4-gas: maybe-configure-stage4-intl
44348 configure-stageprofile-gas: maybe-configure-stageprofile-intl
44349 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
44350 all-gas: maybe-all-libiberty
44352 all-stage1-gas: maybe-all-stage1-libiberty
44353 all-stage2-gas: maybe-all-stage2-libiberty
44354 all-stage3-gas: maybe-all-stage3-libiberty
44355 all-stage4-gas: maybe-all-stage4-libiberty
44356 all-stageprofile-gas: maybe-all-stageprofile-libiberty
44357 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
44358 all-gas: maybe-all-opcodes
44360 all-stage1-gas: maybe-all-stage1-opcodes
44361 all-stage2-gas: maybe-all-stage2-opcodes
44362 all-stage3-gas: maybe-all-stage3-opcodes
44363 all-stage4-gas: maybe-all-stage4-opcodes
44364 all-stageprofile-gas: maybe-all-stageprofile-opcodes
44365 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
44366 all-gas: maybe-all-bfd
44368 all-stage1-gas: maybe-all-stage1-bfd
44369 all-stage2-gas: maybe-all-stage2-bfd
44370 all-stage3-gas: maybe-all-stage3-bfd
44371 all-stage4-gas: maybe-all-stage4-bfd
44372 all-stageprofile-gas: maybe-all-stageprofile-bfd
44373 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
44374 all-gas: maybe-all-intl
44376 all-stage1-gas: maybe-all-stage1-intl
44377 all-stage2-gas: maybe-all-stage2-intl
44378 all-stage3-gas: maybe-all-stage3-intl
44379 all-stage4-gas: maybe-all-stage4-intl
44380 all-stageprofile-gas: maybe-all-stageprofile-intl
44381 all-stagefeedback-gas: maybe-all-stagefeedback-intl
44382 configure-gprof: maybe-configure-intl
44383 all-gprof: maybe-all-libiberty
44384 all-gprof: maybe-all-bfd
44385 all-gprof: maybe-all-opcodes
44386 all-gprof: maybe-all-intl
44387 configure-ld: maybe-configure-intl
44389 configure-stage1-ld: maybe-configure-stage1-intl
44390 configure-stage2-ld: maybe-configure-stage2-intl
44391 configure-stage3-ld: maybe-configure-stage3-intl
44392 configure-stage4-ld: maybe-configure-stage4-intl
44393 configure-stageprofile-ld: maybe-configure-stageprofile-intl
44394 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
44395 all-ld: maybe-all-libiberty
44397 all-stage1-ld: maybe-all-stage1-libiberty
44398 all-stage2-ld: maybe-all-stage2-libiberty
44399 all-stage3-ld: maybe-all-stage3-libiberty
44400 all-stage4-ld: maybe-all-stage4-libiberty
44401 all-stageprofile-ld: maybe-all-stageprofile-libiberty
44402 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
44403 all-ld: maybe-all-bfd
44405 all-stage1-ld: maybe-all-stage1-bfd
44406 all-stage2-ld: maybe-all-stage2-bfd
44407 all-stage3-ld: maybe-all-stage3-bfd
44408 all-stage4-ld: maybe-all-stage4-bfd
44409 all-stageprofile-ld: maybe-all-stageprofile-bfd
44410 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
44411 all-ld: maybe-all-opcodes
44413 all-stage1-ld: maybe-all-stage1-opcodes
44414 all-stage2-ld: maybe-all-stage2-opcodes
44415 all-stage3-ld: maybe-all-stage3-opcodes
44416 all-stage4-ld: maybe-all-stage4-opcodes
44417 all-stageprofile-ld: maybe-all-stageprofile-opcodes
44418 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
44419 all-ld: maybe-all-build-bison
44421 all-stage1-ld: maybe-all-build-bison
44422 all-stage2-ld: maybe-all-build-bison
44423 all-stage3-ld: maybe-all-build-bison
44424 all-stage4-ld: maybe-all-build-bison
44425 all-stageprofile-ld: maybe-all-build-bison
44426 all-stagefeedback-ld: maybe-all-build-bison
44427 all-ld: maybe-all-build-byacc
44429 all-stage1-ld: maybe-all-build-byacc
44430 all-stage2-ld: maybe-all-build-byacc
44431 all-stage3-ld: maybe-all-build-byacc
44432 all-stage4-ld: maybe-all-build-byacc
44433 all-stageprofile-ld: maybe-all-build-byacc
44434 all-stagefeedback-ld: maybe-all-build-byacc
44435 all-ld: maybe-all-build-flex
44437 all-stage1-ld: maybe-all-build-flex
44438 all-stage2-ld: maybe-all-build-flex
44439 all-stage3-ld: maybe-all-build-flex
44440 all-stage4-ld: maybe-all-build-flex
44441 all-stageprofile-ld: maybe-all-build-flex
44442 all-stagefeedback-ld: maybe-all-build-flex
44443 all-ld: maybe-all-intl
44445 all-stage1-ld: maybe-all-stage1-intl
44446 all-stage2-ld: maybe-all-stage2-intl
44447 all-stage3-ld: maybe-all-stage3-intl
44448 all-stage4-ld: maybe-all-stage4-intl
44449 all-stageprofile-ld: maybe-all-stageprofile-intl
44450 all-stagefeedback-ld: maybe-all-stagefeedback-intl
44451 configure-opcodes: maybe-configure-intl
44453 configure-stage1-opcodes: maybe-configure-stage1-intl
44454 configure-stage2-opcodes: maybe-configure-stage2-intl
44455 configure-stage3-opcodes: maybe-configure-stage3-intl
44456 configure-stage4-opcodes: maybe-configure-stage4-intl
44457 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
44458 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
44459 all-opcodes: maybe-all-bfd
44461 all-stage1-opcodes: maybe-all-stage1-bfd
44462 all-stage2-opcodes: maybe-all-stage2-bfd
44463 all-stage3-opcodes: maybe-all-stage3-bfd
44464 all-stage4-opcodes: maybe-all-stage4-bfd
44465 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
44466 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
44467 all-opcodes: maybe-all-libiberty
44469 all-stage1-opcodes: maybe-all-stage1-libiberty
44470 all-stage2-opcodes: maybe-all-stage2-libiberty
44471 all-stage3-opcodes: maybe-all-stage3-libiberty
44472 all-stage4-opcodes: maybe-all-stage4-libiberty
44473 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
44474 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
44475 all-opcodes: maybe-all-intl
44477 all-stage1-opcodes: maybe-all-stage1-intl
44478 all-stage2-opcodes: maybe-all-stage2-intl
44479 all-stage3-opcodes: maybe-all-stage3-intl
44480 all-stage4-opcodes: maybe-all-stage4-intl
44481 all-stageprofile-opcodes: maybe-all-stageprofile-intl
44482 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
44483 all-dejagnu: maybe-all-tcl
44484 all-dejagnu: maybe-all-expect
44485 all-dejagnu: maybe-all-tk
44486 configure-expect: maybe-configure-tcl
44487 configure-expect: maybe-configure-tk
44488 all-expect: maybe-all-tcl
44489 all-expect: maybe-all-tk
44490 configure-itcl: maybe-configure-tcl
44491 configure-itcl: maybe-configure-tk
44492 all-itcl: maybe-all-tcl
44493 all-itcl: maybe-all-tk
44494 install-itcl: maybe-install-tcl
44495 configure-tk: maybe-configure-tcl
44496 all-tk: maybe-all-tcl
44497 all-sid: maybe-all-libiberty
44498 all-sid: maybe-all-bfd
44499 all-sid: maybe-all-opcodes
44500 all-sid: maybe-all-tcl
44501 all-sid: maybe-all-tk
44502 install-sid: maybe-install-tcl
44503 install-sid: maybe-install-tk
44504 configure-sim: maybe-configure-intl
44505 all-sim: maybe-all-intl
44506 all-sim: maybe-all-libiberty
44507 all-sim: maybe-all-bfd
44508 all-sim: maybe-all-opcodes
44509 all-sim: maybe-all-readline
44510 all-sim: maybe-configure-gdb
44511 all-fastjar: maybe-all-zlib
44512 all-fastjar: maybe-all-build-texinfo
44513 all-fastjar: maybe-all-libiberty
44514 all-autoconf: maybe-all-m4
44515 all-autoconf: maybe-all-build-texinfo
44516 all-automake: maybe-all-m4
44517 all-automake: maybe-all-build-texinfo
44518 all-automake: maybe-all-autoconf
44519 all-bison: maybe-all-intl
44520 all-bison: maybe-all-build-texinfo
44521 all-diff: maybe-all-intl
44522 all-diff: maybe-all-build-texinfo
44523 all-fileutils: maybe-all-intl
44524 all-fileutils: maybe-all-build-texinfo
44525 all-flex: maybe-all-build-bison
44526 all-flex: maybe-all-build-byacc
44527 all-flex: maybe-all-intl
44528 all-flex: maybe-all-m4
44529 all-flex: maybe-all-build-texinfo
44530 all-gzip: maybe-all-intl
44531 all-gzip: maybe-all-zlib
44532 all-gzip: maybe-all-build-texinfo
44533 all-hello: maybe-all-intl
44534 all-hello: maybe-all-build-texinfo
44535 all-m4: maybe-all-intl
44536 all-m4: maybe-all-build-texinfo
44537 all-make: maybe-all-intl
44538 all-make: maybe-all-build-texinfo
44539 all-patch: maybe-all-build-texinfo
44540 all-make: maybe-all-build-texinfo
44541 all-prms: maybe-all-libiberty
44542 all-recode: maybe-all-build-texinfo
44543 all-sed: maybe-all-build-texinfo
44544 all-send-pr: maybe-all-prms
44545 all-tar: maybe-all-build-texinfo
44546 all-uudecode: maybe-all-build-texinfo
44547 configure-target-boehm-gc: maybe-configure-target-qthreads
44548 configure-target-fastjar: maybe-configure-target-zlib
44549 all-target-fastjar: maybe-all-target-zlib
44550 all-target-fastjar: maybe-all-target-libiberty
44551 configure-target-libjava: maybe-configure-target-zlib
44552 configure-target-libjava: maybe-configure-target-boehm-gc
44553 configure-target-libjava: maybe-configure-target-qthreads
44554 configure-target-libjava: maybe-configure-target-libffi
44555 all-target-libjava: maybe-all-fastjar
44556 all-target-libjava: maybe-all-target-zlib
44557 all-target-libjava: maybe-all-target-boehm-gc
44558 all-target-libjava: maybe-all-target-qthreads
44559 all-target-libjava: maybe-all-target-libffi
44560 configure-target-libobjc: maybe-configure-target-boehm-gc
44561 all-target-libobjc: maybe-all-target-libiberty
44562 all-target-libobjc: maybe-all-target-boehm-gc
44563 all-target-libstdc++-v3: maybe-all-target-libiberty
44564 install-target-libssp: maybe-install-gcc
44565 install-target-libgomp: maybe-install-gcc
44566 all-target-libgloss: maybe-configure-target-newlib
44567 all-target-winsup: maybe-all-target-libiberty
44568 all-target-winsup: maybe-all-target-libtermcap
44571 # Dependencies for target modules on other target modules are
44572 # described by lang_env_dependencies; the defaults apply to anything
44573 # not mentioned there.
44576 @if gcc-bootstrap
44577 @endif gcc-bootstrap
44579 @if gcc-no-bootstrap
44580 configure-target-libstdc++-v3: maybe-all-target-libgcc
44581 configure-target-libmudflap: maybe-all-target-libgcc
44582 configure-target-libssp: maybe-all-target-libgcc
44583 configure-target-newlib: maybe-all-target-libgcc
44584 configure-target-libgfortran: maybe-all-target-libgcc
44585 configure-target-libobjc: maybe-all-target-libgcc
44586 configure-target-libtermcap: maybe-all-target-libgcc
44587 configure-target-winsup: maybe-all-target-libgcc
44588 configure-target-libgloss: maybe-all-target-libgcc
44589 configure-target-libiberty: maybe-all-target-libgcc
44590 configure-target-gperf: maybe-all-target-libgcc
44591 configure-target-examples: maybe-all-target-libgcc
44592 configure-target-libffi: maybe-all-target-libgcc
44593 configure-target-libjava: maybe-all-target-libgcc
44594 configure-target-zlib: maybe-all-target-libgcc
44595 configure-target-boehm-gc: maybe-all-target-libgcc
44596 configure-target-qthreads: maybe-all-target-libgcc
44597 configure-target-rda: maybe-all-target-libgcc
44598 configure-target-libada: maybe-all-target-libgcc
44599 configure-target-libgomp: maybe-all-target-libgcc
44600 @endif gcc-no-bootstrap
44603 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
44605 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
44607 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
44611 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
44613 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
44615 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
44617 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
44621 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
44622 configure-target-gperf: maybe-all-target-libstdc++-v3
44624 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
44626 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
44628 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
44629 configure-target-libjava: maybe-all-target-libstdc++-v3
44631 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
44633 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
44635 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
44637 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
44639 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
44641 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
44644 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
44645 GDB_TK = @GDB_TK@
44646 INSTALL_GDB_TK = @INSTALL_GDB_TK@
44647 configure-gdb: $(CONFIGURE_GDB_TK)
44648 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
44649 install-gdb: $(INSTALL_GDB_TK)
44651 # Serialization dependencies. Host configures don't work well in parallel to
44652 # each other, due to contention over config.cache. Target configures and
44653 # build configures are similar.
44654 @serialization_dependencies@
44656 # --------------------------------
44657 # Regenerating top level configury
44658 # --------------------------------
44660 # Rebuilding Makefile.in, using autogen.
44661 AUTOGEN = autogen
44662 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
44663 cd $(srcdir) && $(AUTOGEN) Makefile.def
44665 # Rebuilding Makefile.
44666 Makefile: $(srcdir)/Makefile.in config.status
44667 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
44669 config.status: configure
44670 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
44672 # Rebuilding configure.
44673 AUTOCONF = autoconf
44674 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
44675 cd $(srcdir) && $(AUTOCONF)
44677 # ------------------------------
44678 # Special directives to GNU Make
44679 # ------------------------------
44681 # Don't pass command-line variables to submakes.
44682 .NOEXPORT:
44683 MAKEOVERRIDES=
44685 # end of Makefile.in