2006-08-06 Paolo Carlini <pcarlini@suse.de>
[official-gcc.git] / Makefile.in
blob85c4013b92330e24cf440c94cd6bd43ec07a268d
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation
8 # This file is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 # -------------------------------
24 # Standard Autoconf-set variables
25 # -------------------------------
26 VPATH=@srcdir@
28 build_alias=@build_alias@
29 build=@build@
30 host_alias=@host_alias@
31 host=@host@
32 target_alias=@target_alias@
33 target=@target@
35 program_transform_name = @program_transform_name@
37 prefix = @prefix@
38 exec_prefix = @exec_prefix@
40 srcdir = @srcdir@
42 bindir = @bindir@
43 sbindir = @sbindir@
44 libexecdir = @libexecdir@
45 datadir = @datadir@
46 sysconfdir = @sysconfdir@
47 sharedstatedir = @sharedstatedir@
48 localstatedir = @localstatedir@
49 libdir = @libdir@
50 includedir = @includedir@
51 oldincludedir = @oldincludedir@
52 infodir = @infodir@
53 datarootdir = @datarootdir@
54 docdir = @docdir@
55 htmldir = @htmldir@
56 mandir = @mandir@
57 man1dir = $(mandir)/man1
58 man2dir = $(mandir)/man2
59 man3dir = $(mandir)/man3
60 man4dir = $(mandir)/man4
61 man5dir = $(mandir)/man5
62 man6dir = $(mandir)/man6
63 man7dir = $(mandir)/man7
64 man8dir = $(mandir)/man8
65 man9dir = $(mandir)/man9
67 INSTALL = @INSTALL@
68 INSTALL_PROGRAM = @INSTALL_PROGRAM@
69 INSTALL_SCRIPT = @INSTALL_SCRIPT@
70 INSTALL_DATA = @INSTALL_DATA@
71 LN = @LN@
72 LN_S = @LN_S@
74 # -------------------------------------------------
75 # Miscellaneous non-standard autoconf-set variables
76 # -------------------------------------------------
78 # The gcc driver likes to know the arguments it was configured with.
79 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
81 tooldir = @tooldir@
82 build_tooldir = @build_tooldir@
84 GDB_NLM_DEPS =
86 # This is the name of the environment variable used for the path to
87 # the libraries.
88 RPATH_ENVVAR = @RPATH_ENVVAR@
90 # Build programs are put under this directory.
91 BUILD_SUBDIR = @build_subdir@
92 # This is set by the configure script to the arguments to use when configuring
93 # directories built for the build system.
94 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
96 # This is the list of variables to export in the environment when
97 # configuring any subdirectory. It must also be exported whenever
98 # recursing into a build directory in case that directory's Makefile
99 # re-runs configure.
100 BASE_EXPORTS = \
101 FLEX="$(FLEX)"; export FLEX; \
102 LEX="$(LEX)"; export LEX; \
103 BISON="$(BISON)"; export BISON; \
104 YACC="$(YACC)"; export YACC; \
105 M4="$(M4)"; export M4; \
106 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
108 # This is the list of variables to export in the environment when
109 # configuring subdirectories for the build system.
110 BUILD_EXPORTS = \
111 $(BASE_EXPORTS) \
112 AR="$(AR_FOR_BUILD)"; export AR; \
113 AS="$(AS_FOR_BUILD)"; export AS; \
114 CC="$(CC_FOR_BUILD)"; export CC; \
115 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
116 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
117 CXX="$(CXX_FOR_BUILD)"; export CXX; \
118 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
119 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
120 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
121 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
122 LD="$(LD_FOR_BUILD)"; export LD; \
123 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
124 NM="$(NM_FOR_BUILD)"; export NM; \
125 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
126 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
128 # This is the list of directories to built for the host system.
129 SUBDIRS = @configdirs@
130 # This is set by the configure script to the arguments to use when configuring
131 # directories built for the host system.
132 HOST_CONFIGARGS = @host_configargs@
133 # Host programs are put under this directory, which is . except if building
134 # with srcdir=..
135 HOST_SUBDIR = @host_subdir@
136 # This is the list of variables to export in the environment when
137 # configuring subdirectories for the host system. We need to pass
138 # some to the GCC configure because of its hybrid host/target nature.
139 HOST_EXPORTS = \
140 $(BASE_EXPORTS) \
141 CC="$(CC)"; export CC; \
142 CFLAGS="$(CFLAGS)"; export CFLAGS; \
143 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
144 CXX="$(CXX)"; export CXX; \
145 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
146 AR="$(AR)"; export AR; \
147 AS="$(AS)"; export AS; \
148 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
149 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
150 LD="$(LD)"; export LD; \
151 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
152 NM="$(NM)"; export NM; \
153 RANLIB="$(RANLIB)"; export RANLIB; \
154 WINDRES="$(WINDRES)"; export WINDRES; \
155 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
156 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
157 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
158 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
159 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
160 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
161 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
162 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
163 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
164 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
165 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
166 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
167 @if gcc-bootstrap
168 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
169 @endif gcc-bootstrap
170 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
172 # Similar, for later GCC stages.
173 POSTSTAGE1_HOST_EXPORTS = \
174 $(HOST_EXPORTS) \
175 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
176 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
177 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
178 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
179 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
180 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
181 CFLAGS="$(BOOT_CFLAGS)"; export CFLAGS; \
182 LDFLAGS="$(BOOT_LDFLAGS)"; export LDFLAGS;
184 # Target libraries are put under this directory:
185 TARGET_SUBDIR = @target_subdir@
186 # This is set by the configure script to the arguments to use when configuring
187 # directories built for the target.
188 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
189 # This is the list of variables to export in the environment when
190 # configuring subdirectories for the host system.
191 BASE_TARGET_EXPORTS = \
192 $(BASE_EXPORTS) \
193 AR="$(AR_FOR_TARGET)"; export AR; \
194 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
195 CC="$(CC_FOR_TARGET)"; export CC; \
196 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
197 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
198 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
199 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
200 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
201 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
202 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
203 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
204 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
205 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
206 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
207 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
208 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
209 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
210 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
211 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
213 RAW_CXX_TARGET_EXPORTS = \
214 $(BASE_TARGET_EXPORTS) \
215 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
216 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
218 NORMAL_TARGET_EXPORTS = \
219 $(BASE_TARGET_EXPORTS) \
220 CXX="$(CXX_FOR_TARGET)"; export CXX;
222 # Where to find GMP
223 HOST_GMPLIBS = @gmplibs@
224 HOST_GMPINC = @gmpinc@
226 # ----------------------------------------------
227 # Programs producing files for the BUILD machine
228 # ----------------------------------------------
230 SHELL = @config_shell@
232 # pwd command to use. Allow user to override default by setting PWDCMD in
233 # the environment to account for automounters. The make variable must not
234 # be called PWDCMD, otherwise the value set here is passed to make
235 # subprocesses and overrides the setting from the user's environment.
236 # Don't use PWD since it is a common shell environment variable and we
237 # don't want to corrupt it.
238 PWD_COMMAND = $${PWDCMD-pwd}
240 # compilers to use to create programs which must be run in the build
241 # environment.
242 CC_FOR_BUILD = @CC_FOR_BUILD@
243 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
245 CXX_FOR_BUILD = $(CXX)
247 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
248 # here so that they can be overridden by Makefile fragments.
249 BUILD_PREFIX = @BUILD_PREFIX@
250 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
252 # Flags to pass to stage2 and later makes. They are defined
253 # here so that they can be overridden by Makefile fragments.
254 BOOT_CFLAGS= -g -O2
255 BOOT_LDFLAGS=
257 BISON = @BISON@
258 YACC = @YACC@
259 FLEX = @FLEX@
260 LEX = @LEX@
261 M4 = @M4@
262 MAKEINFO = @MAKEINFO@
263 EXPECT = @EXPECT@
264 RUNTEST = @RUNTEST@
266 # This just becomes part of the MAKEINFO definition passed down to
267 # sub-makes. It lets flags be given on the command line while still
268 # using the makeinfo from the object tree.
269 # (Default to avoid splitting info files by setting the threshold high.)
270 MAKEINFOFLAGS = --split-size=5000000
272 # ---------------------------------------------
273 # Programs producing files for the HOST machine
274 # ---------------------------------------------
276 AS = @AS@
277 AR = @AR@
278 AR_FLAGS = rc
279 CC = @CC@
280 CXX = @CXX@
281 DLLTOOL = @DLLTOOL@
282 LD = @LD@
283 LIPO = @LIPO@
284 NM = @NM@
285 OBJDUMP = @OBJDUMP@
286 RANLIB = @RANLIB@
287 STRIP = @STRIP@
288 WINDRES = @WINDRES@
290 CFLAGS = @CFLAGS@
291 LDFLAGS =
292 LIBCFLAGS = $(CFLAGS)
293 CXXFLAGS = @CXXFLAGS@
294 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
295 PICFLAG =
297 # -----------------------------------------------
298 # Programs producing files for the TARGET machine
299 # -----------------------------------------------
301 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
303 AR_FOR_TARGET=@AR_FOR_TARGET@
304 AS_FOR_TARGET=@AS_FOR_TARGET@
305 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
307 # If GCC_FOR_TARGET is not overriden on the command line, then this
308 # variable is passed down to the gcc Makefile, where it is used to
309 # build libgcc2.a. We define it here so that it can itself be
310 # overridden on the command line.
311 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
312 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
313 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
314 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
315 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
316 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
317 LD_FOR_TARGET=@LD_FOR_TARGET@
319 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
320 NM_FOR_TARGET=@NM_FOR_TARGET@
321 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
322 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
323 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
324 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
326 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
327 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
328 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
330 # During gcc bootstrap, if we use some random cc for stage1 then
331 # CFLAGS will be just -g. We want to ensure that TARGET libraries
332 # (which we know are built with gcc) are built with optimizations so
333 # prepend -O2 when setting CFLAGS_FOR_TARGET.
334 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
335 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
336 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
337 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
338 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
339 LDFLAGS_FOR_TARGET =
340 PICFLAG_FOR_TARGET =
342 # ------------------------------------
343 # Miscellaneous targets and flag lists
344 # ------------------------------------
346 # The first rule in the file had better be this one. Don't put any above it.
347 # This lives here to allow makefile fragments to contain dependencies.
348 all:
350 #### host and target specific makefile fragments come in here.
351 @target_makefile_frag@
352 @alphaieee_frag@
353 @ospace_frag@
354 @host_makefile_frag@
357 # This is the list of directories that may be needed in RPATH_ENVVAR
358 # so that prorgams built for the target machine work.
359 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
361 @if target-libstdc++-v3
362 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
363 @endif target-libstdc++-v3
365 @if target-libmudflap
366 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
367 @endif target-libmudflap
369 @if target-libssp
370 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
371 @endif target-libssp
373 @if target-libgomp
374 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
375 @endif target-libgomp
379 # This is the list of directories that may be needed in RPATH_ENVVAR
380 # so that programs built for the host machine work.
381 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
383 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
384 @if gcc
385 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
386 @endif gcc
389 @if bfd
390 HOST_LIB_PATH_bfd = \
391 $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
392 @endif bfd
394 @if opcodes
395 HOST_LIB_PATH_opcodes = \
396 $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
397 @endif opcodes
400 # Flags to pass down to all sub-makes.
401 BASE_FLAGS_TO_PASS = \
402 "DESTDIR=$(DESTDIR)" \
403 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
404 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
405 "bindir=$(bindir)" \
406 "datadir=$(datadir)" \
407 "exec_prefix=$(exec_prefix)" \
408 "includedir=$(includedir)" \
409 "datarootdir=$(datarootdir)" \
410 "docdir=$(docdir)" \
411 "infodir=$(infodir)" \
412 "htmldir=$(htmldir)" \
413 "libdir=$(libdir)" \
414 "libexecdir=$(libexecdir)" \
415 "lispdir=$(lispdir)" \
416 "localstatedir=$(localstatedir)" \
417 "mandir=$(mandir)" \
418 "oldincludedir=$(oldincludedir)" \
419 "prefix=$(prefix)" \
420 "sbindir=$(sbindir)" \
421 "sharedstatedir=$(sharedstatedir)" \
422 "sysconfdir=$(sysconfdir)" \
423 "tooldir=$(tooldir)" \
424 "build_tooldir=$(build_tooldir)" \
425 "target_alias=$(target_alias)" \
426 "BISON=$(BISON)" \
427 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
428 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
429 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
430 "EXPECT=$(EXPECT)" \
431 "FLEX=$(FLEX)" \
432 "INSTALL=$(INSTALL)" \
433 "INSTALL_DATA=$(INSTALL_DATA)" \
434 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
435 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
436 "LEX=$(LEX)" \
437 "M4=$(M4)" \
438 "MAKE=$(MAKE)" \
439 "RUNTEST=$(RUNTEST)" \
440 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
441 "SHELL=$(SHELL)" \
442 "YACC=$(YACC)" \
443 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
444 "AR_FLAGS=$(AR_FLAGS)" \
445 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
446 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
447 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
448 "CFLAGS=$(CFLAGS)" \
449 "CXXFLAGS=$(CXXFLAGS)" \
450 "LDFLAGS=$(LDFLAGS)" \
451 "LIBCFLAGS=$(LIBCFLAGS)" \
452 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
453 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
454 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
455 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
456 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
457 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
458 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
459 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
460 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
461 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
462 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
463 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
464 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
465 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
466 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
467 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
468 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
469 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
470 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
471 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
472 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
473 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
474 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
475 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
476 "LEAN=$(LEAN)" \
477 "CONFIG_SHELL=$(SHELL)" \
478 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
480 # We leave this in just in case, but it is not needed anymore.
481 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
483 # Flags to pass down to most sub-makes, in which we're building with
484 # the host environment.
485 EXTRA_HOST_FLAGS = \
486 'AR=$(AR)' \
487 'AS=$(AS)' \
488 'CC=$(CC)' \
489 'CXX=$(CXX)' \
490 'DLLTOOL=$(DLLTOOL)' \
491 'LD=$(LD)' \
492 'LIPO=$(LIPO)' \
493 'NM=$(NM)' \
494 'OBJDUMP=$(OBJDUMP)' \
495 'RANLIB=$(RANLIB)' \
496 'STRIP=$(STRIP)' \
497 'WINDRES=$(WINDRES)'
499 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
501 # Flags that are concerned with the location of the X11 include files
502 # and library files
504 # NOTE: until the top-level is getting the values via autoconf, it only
505 # causes problems to have this top-level Makefile overriding the autoconf-set
506 # values in child directories. Only variables that don't conflict with
507 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
509 X11_FLAGS_TO_PASS = \
510 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
511 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
513 # Flags to pass down to makes which are built with the target environment.
514 # The double $ decreases the length of the command line; those variables
515 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
516 # COMPILER_ prefixed variables are not passed down so we expand them here.
517 EXTRA_TARGET_FLAGS = \
518 'AR=$$(AR_FOR_TARGET)' \
519 'AS=$(COMPILER_AS_FOR_TARGET)' \
520 'CC=$$(CC_FOR_TARGET)' \
521 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
522 'CXX=$$(CXX_FOR_TARGET)' \
523 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
524 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
525 'LD=$(COMPILER_LD_FOR_TARGET)' \
526 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
527 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
528 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
529 'NM=$(COMPILER_NM_FOR_TARGET)' \
530 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
531 'RANLIB=$$(RANLIB_FOR_TARGET)' \
532 'WINDRES=$$(WINDRES_FOR_TARGET)'
534 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
536 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
537 # unfortunately needs the native compiler and the target ar and
538 # ranlib.
539 # If any variables are added here, they must be added to do-*, below.
540 # The BUILD_* variables are a special case, which are used for the gcc
541 # cross-building scheme.
542 EXTRA_GCC_FLAGS = \
543 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
544 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
545 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
546 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
547 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
548 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
550 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
552 .PHONY: configure-host
553 configure-host: \
554 maybe-configure-ash \
555 maybe-configure-autoconf \
556 maybe-configure-automake \
557 maybe-configure-bash \
558 maybe-configure-bfd \
559 maybe-configure-opcodes \
560 maybe-configure-binutils \
561 maybe-configure-bison \
562 maybe-configure-byacc \
563 maybe-configure-bzip2 \
564 maybe-configure-dejagnu \
565 maybe-configure-diff \
566 maybe-configure-dosutils \
567 maybe-configure-etc \
568 maybe-configure-fastjar \
569 maybe-configure-fileutils \
570 maybe-configure-findutils \
571 maybe-configure-find \
572 maybe-configure-fixincludes \
573 maybe-configure-flex \
574 maybe-configure-gas \
575 maybe-configure-gcc \
576 maybe-configure-gawk \
577 maybe-configure-gettext \
578 maybe-configure-gnuserv \
579 maybe-configure-gprof \
580 maybe-configure-gzip \
581 maybe-configure-hello \
582 maybe-configure-indent \
583 maybe-configure-intl \
584 maybe-configure-tcl \
585 maybe-configure-itcl \
586 maybe-configure-ld \
587 maybe-configure-libcpp \
588 maybe-configure-libdecnumber \
589 maybe-configure-libgui \
590 maybe-configure-libiberty \
591 maybe-configure-libtool \
592 maybe-configure-m4 \
593 maybe-configure-make \
594 maybe-configure-mmalloc \
595 maybe-configure-patch \
596 maybe-configure-perl \
597 maybe-configure-prms \
598 maybe-configure-rcs \
599 maybe-configure-readline \
600 maybe-configure-release \
601 maybe-configure-recode \
602 maybe-configure-sed \
603 maybe-configure-send-pr \
604 maybe-configure-shellutils \
605 maybe-configure-sid \
606 maybe-configure-sim \
607 maybe-configure-tar \
608 maybe-configure-texinfo \
609 maybe-configure-textutils \
610 maybe-configure-time \
611 maybe-configure-uudecode \
612 maybe-configure-wdiff \
613 maybe-configure-zip \
614 maybe-configure-zlib \
615 maybe-configure-gdb \
616 maybe-configure-expect \
617 maybe-configure-guile \
618 maybe-configure-tk \
619 maybe-configure-libtermcap \
620 maybe-configure-utils \
621 maybe-configure-gnattools
622 .PHONY: configure-target
623 configure-target: \
624 maybe-configure-target-libstdc++-v3 \
625 maybe-configure-target-libmudflap \
626 maybe-configure-target-libssp \
627 maybe-configure-target-newlib \
628 maybe-configure-target-libgfortran \
629 maybe-configure-target-libobjc \
630 maybe-configure-target-libtermcap \
631 maybe-configure-target-winsup \
632 maybe-configure-target-libgloss \
633 maybe-configure-target-libiberty \
634 maybe-configure-target-gperf \
635 maybe-configure-target-examples \
636 maybe-configure-target-libffi \
637 maybe-configure-target-libjava \
638 maybe-configure-target-zlib \
639 maybe-configure-target-boehm-gc \
640 maybe-configure-target-qthreads \
641 maybe-configure-target-rda \
642 maybe-configure-target-libada \
643 maybe-configure-target-libgomp
645 # The target built for a native non-bootstrap build.
646 .PHONY: all
647 all:
648 @if gcc-bootstrap
649 [ -f stage_final ] || echo stage3 > stage_final
650 @r=`${PWD_COMMAND}`; export r; \
651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
652 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
653 @endif gcc-bootstrap
654 @: $(MAKE); $(unstage)
655 @r=`${PWD_COMMAND}`; export r; \
656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
657 if [ -f stage_last ]; then \
658 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
659 else \
660 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
663 .PHONY: all-build
665 all-build: maybe-all-build-libiberty
666 all-build: maybe-all-build-bison
667 all-build: maybe-all-build-byacc
668 all-build: maybe-all-build-flex
669 all-build: maybe-all-build-m4
670 all-build: maybe-all-build-texinfo
671 all-build: maybe-all-build-fixincludes
673 .PHONY: all-host
675 all-host: maybe-all-ash
676 all-host: maybe-all-autoconf
677 all-host: maybe-all-automake
678 all-host: maybe-all-bash
679 @if bfd-no-bootstrap
680 all-host: maybe-all-bfd
681 @endif bfd-no-bootstrap
682 @if opcodes-no-bootstrap
683 all-host: maybe-all-opcodes
684 @endif opcodes-no-bootstrap
685 @if binutils-no-bootstrap
686 all-host: maybe-all-binutils
687 @endif binutils-no-bootstrap
688 all-host: maybe-all-bison
689 all-host: maybe-all-byacc
690 all-host: maybe-all-bzip2
691 all-host: maybe-all-dejagnu
692 all-host: maybe-all-diff
693 all-host: maybe-all-dosutils
694 all-host: maybe-all-etc
695 all-host: maybe-all-fastjar
696 all-host: maybe-all-fileutils
697 all-host: maybe-all-findutils
698 all-host: maybe-all-find
699 all-host: maybe-all-fixincludes
700 all-host: maybe-all-flex
701 @if gas-no-bootstrap
702 all-host: maybe-all-gas
703 @endif gas-no-bootstrap
704 @if gcc-no-bootstrap
705 all-host: maybe-all-gcc
706 @endif gcc-no-bootstrap
707 all-host: maybe-all-gawk
708 all-host: maybe-all-gettext
709 all-host: maybe-all-gnuserv
710 all-host: maybe-all-gprof
711 all-host: maybe-all-gzip
712 all-host: maybe-all-hello
713 all-host: maybe-all-indent
714 @if intl-no-bootstrap
715 all-host: maybe-all-intl
716 @endif intl-no-bootstrap
717 all-host: maybe-all-tcl
718 all-host: maybe-all-itcl
719 @if ld-no-bootstrap
720 all-host: maybe-all-ld
721 @endif ld-no-bootstrap
722 @if libcpp-no-bootstrap
723 all-host: maybe-all-libcpp
724 @endif libcpp-no-bootstrap
725 @if libdecnumber-no-bootstrap
726 all-host: maybe-all-libdecnumber
727 @endif libdecnumber-no-bootstrap
728 all-host: maybe-all-libgui
729 @if libiberty-no-bootstrap
730 all-host: maybe-all-libiberty
731 @endif libiberty-no-bootstrap
732 all-host: maybe-all-libtool
733 all-host: maybe-all-m4
734 all-host: maybe-all-make
735 all-host: maybe-all-mmalloc
736 all-host: maybe-all-patch
737 all-host: maybe-all-perl
738 all-host: maybe-all-prms
739 all-host: maybe-all-rcs
740 all-host: maybe-all-readline
741 all-host: maybe-all-release
742 all-host: maybe-all-recode
743 all-host: maybe-all-sed
744 all-host: maybe-all-send-pr
745 all-host: maybe-all-shellutils
746 all-host: maybe-all-sid
747 all-host: maybe-all-sim
748 all-host: maybe-all-tar
749 all-host: maybe-all-texinfo
750 all-host: maybe-all-textutils
751 all-host: maybe-all-time
752 all-host: maybe-all-uudecode
753 all-host: maybe-all-wdiff
754 all-host: maybe-all-zip
755 @if zlib-no-bootstrap
756 all-host: maybe-all-zlib
757 @endif zlib-no-bootstrap
758 all-host: maybe-all-gdb
759 all-host: maybe-all-expect
760 all-host: maybe-all-guile
761 all-host: maybe-all-tk
762 all-host: maybe-all-libtermcap
763 all-host: maybe-all-utils
764 all-host: maybe-all-gnattools
766 .PHONY: all-target
768 all-target: maybe-all-target-libstdc++-v3
769 all-target: maybe-all-target-libmudflap
770 all-target: maybe-all-target-libssp
771 all-target: maybe-all-target-newlib
772 all-target: maybe-all-target-libgfortran
773 all-target: maybe-all-target-libobjc
774 all-target: maybe-all-target-libtermcap
775 all-target: maybe-all-target-winsup
776 all-target: maybe-all-target-libgloss
777 all-target: maybe-all-target-libiberty
778 all-target: maybe-all-target-gperf
779 all-target: maybe-all-target-examples
780 all-target: maybe-all-target-libffi
781 all-target: maybe-all-target-libjava
782 all-target: maybe-all-target-zlib
783 all-target: maybe-all-target-boehm-gc
784 all-target: maybe-all-target-qthreads
785 all-target: maybe-all-target-rda
786 all-target: maybe-all-target-libada
787 all-target: maybe-all-target-libgomp
789 # Do a target for all the subdirectories. A ``make do-X'' will do a
790 # ``make X'' in all subdirectories (because, in general, there is a
791 # dependency (below) of X upon do-X, a ``make X'' will also do this,
792 # but it may do additional work as well).
794 .PHONY: do-info
795 do-info:
796 @: $(MAKE); $(unstage)
797 @r=`${PWD_COMMAND}`; export r; \
798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
799 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
800 info-target
803 .PHONY: info-host
805 info-host: maybe-info-ash
806 info-host: maybe-info-autoconf
807 info-host: maybe-info-automake
808 info-host: maybe-info-bash
809 info-host: maybe-info-bfd
810 info-host: maybe-info-opcodes
811 info-host: maybe-info-binutils
812 info-host: maybe-info-bison
813 info-host: maybe-info-byacc
814 info-host: maybe-info-bzip2
815 info-host: maybe-info-dejagnu
816 info-host: maybe-info-diff
817 info-host: maybe-info-dosutils
818 info-host: maybe-info-etc
819 info-host: maybe-info-fastjar
820 info-host: maybe-info-fileutils
821 info-host: maybe-info-findutils
822 info-host: maybe-info-find
823 info-host: maybe-info-fixincludes
824 info-host: maybe-info-flex
825 info-host: maybe-info-gas
826 info-host: maybe-info-gcc
827 info-host: maybe-info-gawk
828 info-host: maybe-info-gettext
829 info-host: maybe-info-gnuserv
830 info-host: maybe-info-gprof
831 info-host: maybe-info-gzip
832 info-host: maybe-info-hello
833 info-host: maybe-info-indent
834 info-host: maybe-info-intl
835 info-host: maybe-info-tcl
836 info-host: maybe-info-itcl
837 info-host: maybe-info-ld
838 info-host: maybe-info-libcpp
839 info-host: maybe-info-libdecnumber
840 info-host: maybe-info-libgui
841 info-host: maybe-info-libiberty
842 info-host: maybe-info-libtool
843 info-host: maybe-info-m4
844 info-host: maybe-info-make
845 info-host: maybe-info-mmalloc
846 info-host: maybe-info-patch
847 info-host: maybe-info-perl
848 info-host: maybe-info-prms
849 info-host: maybe-info-rcs
850 info-host: maybe-info-readline
851 info-host: maybe-info-release
852 info-host: maybe-info-recode
853 info-host: maybe-info-sed
854 info-host: maybe-info-send-pr
855 info-host: maybe-info-shellutils
856 info-host: maybe-info-sid
857 info-host: maybe-info-sim
858 info-host: maybe-info-tar
859 info-host: maybe-info-texinfo
860 info-host: maybe-info-textutils
861 info-host: maybe-info-time
862 info-host: maybe-info-uudecode
863 info-host: maybe-info-wdiff
864 info-host: maybe-info-zip
865 info-host: maybe-info-zlib
866 info-host: maybe-info-gdb
867 info-host: maybe-info-expect
868 info-host: maybe-info-guile
869 info-host: maybe-info-tk
870 info-host: maybe-info-libtermcap
871 info-host: maybe-info-utils
872 info-host: maybe-info-gnattools
874 .PHONY: info-target
876 info-target: maybe-info-target-libstdc++-v3
877 info-target: maybe-info-target-libmudflap
878 info-target: maybe-info-target-libssp
879 info-target: maybe-info-target-newlib
880 info-target: maybe-info-target-libgfortran
881 info-target: maybe-info-target-libobjc
882 info-target: maybe-info-target-libtermcap
883 info-target: maybe-info-target-winsup
884 info-target: maybe-info-target-libgloss
885 info-target: maybe-info-target-libiberty
886 info-target: maybe-info-target-gperf
887 info-target: maybe-info-target-examples
888 info-target: maybe-info-target-libffi
889 info-target: maybe-info-target-libjava
890 info-target: maybe-info-target-zlib
891 info-target: maybe-info-target-boehm-gc
892 info-target: maybe-info-target-qthreads
893 info-target: maybe-info-target-rda
894 info-target: maybe-info-target-libada
895 info-target: maybe-info-target-libgomp
897 .PHONY: do-dvi
898 do-dvi:
899 @: $(MAKE); $(unstage)
900 @r=`${PWD_COMMAND}`; export r; \
901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
902 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
903 dvi-target
906 .PHONY: dvi-host
908 dvi-host: maybe-dvi-ash
909 dvi-host: maybe-dvi-autoconf
910 dvi-host: maybe-dvi-automake
911 dvi-host: maybe-dvi-bash
912 dvi-host: maybe-dvi-bfd
913 dvi-host: maybe-dvi-opcodes
914 dvi-host: maybe-dvi-binutils
915 dvi-host: maybe-dvi-bison
916 dvi-host: maybe-dvi-byacc
917 dvi-host: maybe-dvi-bzip2
918 dvi-host: maybe-dvi-dejagnu
919 dvi-host: maybe-dvi-diff
920 dvi-host: maybe-dvi-dosutils
921 dvi-host: maybe-dvi-etc
922 dvi-host: maybe-dvi-fastjar
923 dvi-host: maybe-dvi-fileutils
924 dvi-host: maybe-dvi-findutils
925 dvi-host: maybe-dvi-find
926 dvi-host: maybe-dvi-fixincludes
927 dvi-host: maybe-dvi-flex
928 dvi-host: maybe-dvi-gas
929 dvi-host: maybe-dvi-gcc
930 dvi-host: maybe-dvi-gawk
931 dvi-host: maybe-dvi-gettext
932 dvi-host: maybe-dvi-gnuserv
933 dvi-host: maybe-dvi-gprof
934 dvi-host: maybe-dvi-gzip
935 dvi-host: maybe-dvi-hello
936 dvi-host: maybe-dvi-indent
937 dvi-host: maybe-dvi-intl
938 dvi-host: maybe-dvi-tcl
939 dvi-host: maybe-dvi-itcl
940 dvi-host: maybe-dvi-ld
941 dvi-host: maybe-dvi-libcpp
942 dvi-host: maybe-dvi-libdecnumber
943 dvi-host: maybe-dvi-libgui
944 dvi-host: maybe-dvi-libiberty
945 dvi-host: maybe-dvi-libtool
946 dvi-host: maybe-dvi-m4
947 dvi-host: maybe-dvi-make
948 dvi-host: maybe-dvi-mmalloc
949 dvi-host: maybe-dvi-patch
950 dvi-host: maybe-dvi-perl
951 dvi-host: maybe-dvi-prms
952 dvi-host: maybe-dvi-rcs
953 dvi-host: maybe-dvi-readline
954 dvi-host: maybe-dvi-release
955 dvi-host: maybe-dvi-recode
956 dvi-host: maybe-dvi-sed
957 dvi-host: maybe-dvi-send-pr
958 dvi-host: maybe-dvi-shellutils
959 dvi-host: maybe-dvi-sid
960 dvi-host: maybe-dvi-sim
961 dvi-host: maybe-dvi-tar
962 dvi-host: maybe-dvi-texinfo
963 dvi-host: maybe-dvi-textutils
964 dvi-host: maybe-dvi-time
965 dvi-host: maybe-dvi-uudecode
966 dvi-host: maybe-dvi-wdiff
967 dvi-host: maybe-dvi-zip
968 dvi-host: maybe-dvi-zlib
969 dvi-host: maybe-dvi-gdb
970 dvi-host: maybe-dvi-expect
971 dvi-host: maybe-dvi-guile
972 dvi-host: maybe-dvi-tk
973 dvi-host: maybe-dvi-libtermcap
974 dvi-host: maybe-dvi-utils
975 dvi-host: maybe-dvi-gnattools
977 .PHONY: dvi-target
979 dvi-target: maybe-dvi-target-libstdc++-v3
980 dvi-target: maybe-dvi-target-libmudflap
981 dvi-target: maybe-dvi-target-libssp
982 dvi-target: maybe-dvi-target-newlib
983 dvi-target: maybe-dvi-target-libgfortran
984 dvi-target: maybe-dvi-target-libobjc
985 dvi-target: maybe-dvi-target-libtermcap
986 dvi-target: maybe-dvi-target-winsup
987 dvi-target: maybe-dvi-target-libgloss
988 dvi-target: maybe-dvi-target-libiberty
989 dvi-target: maybe-dvi-target-gperf
990 dvi-target: maybe-dvi-target-examples
991 dvi-target: maybe-dvi-target-libffi
992 dvi-target: maybe-dvi-target-libjava
993 dvi-target: maybe-dvi-target-zlib
994 dvi-target: maybe-dvi-target-boehm-gc
995 dvi-target: maybe-dvi-target-qthreads
996 dvi-target: maybe-dvi-target-rda
997 dvi-target: maybe-dvi-target-libada
998 dvi-target: maybe-dvi-target-libgomp
1000 .PHONY: do-html
1001 do-html:
1002 @: $(MAKE); $(unstage)
1003 @r=`${PWD_COMMAND}`; export r; \
1004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1005 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1006 html-target
1009 .PHONY: html-host
1011 html-host: maybe-html-ash
1012 html-host: maybe-html-autoconf
1013 html-host: maybe-html-automake
1014 html-host: maybe-html-bash
1015 html-host: maybe-html-bfd
1016 html-host: maybe-html-opcodes
1017 html-host: maybe-html-binutils
1018 html-host: maybe-html-bison
1019 html-host: maybe-html-byacc
1020 html-host: maybe-html-bzip2
1021 html-host: maybe-html-dejagnu
1022 html-host: maybe-html-diff
1023 html-host: maybe-html-dosutils
1024 html-host: maybe-html-etc
1025 html-host: maybe-html-fastjar
1026 html-host: maybe-html-fileutils
1027 html-host: maybe-html-findutils
1028 html-host: maybe-html-find
1029 html-host: maybe-html-fixincludes
1030 html-host: maybe-html-flex
1031 html-host: maybe-html-gas
1032 html-host: maybe-html-gcc
1033 html-host: maybe-html-gawk
1034 html-host: maybe-html-gettext
1035 html-host: maybe-html-gnuserv
1036 html-host: maybe-html-gprof
1037 html-host: maybe-html-gzip
1038 html-host: maybe-html-hello
1039 html-host: maybe-html-indent
1040 html-host: maybe-html-intl
1041 html-host: maybe-html-tcl
1042 html-host: maybe-html-itcl
1043 html-host: maybe-html-ld
1044 html-host: maybe-html-libcpp
1045 html-host: maybe-html-libdecnumber
1046 html-host: maybe-html-libgui
1047 html-host: maybe-html-libiberty
1048 html-host: maybe-html-libtool
1049 html-host: maybe-html-m4
1050 html-host: maybe-html-make
1051 html-host: maybe-html-mmalloc
1052 html-host: maybe-html-patch
1053 html-host: maybe-html-perl
1054 html-host: maybe-html-prms
1055 html-host: maybe-html-rcs
1056 html-host: maybe-html-readline
1057 html-host: maybe-html-release
1058 html-host: maybe-html-recode
1059 html-host: maybe-html-sed
1060 html-host: maybe-html-send-pr
1061 html-host: maybe-html-shellutils
1062 html-host: maybe-html-sid
1063 html-host: maybe-html-sim
1064 html-host: maybe-html-tar
1065 html-host: maybe-html-texinfo
1066 html-host: maybe-html-textutils
1067 html-host: maybe-html-time
1068 html-host: maybe-html-uudecode
1069 html-host: maybe-html-wdiff
1070 html-host: maybe-html-zip
1071 html-host: maybe-html-zlib
1072 html-host: maybe-html-gdb
1073 html-host: maybe-html-expect
1074 html-host: maybe-html-guile
1075 html-host: maybe-html-tk
1076 html-host: maybe-html-libtermcap
1077 html-host: maybe-html-utils
1078 html-host: maybe-html-gnattools
1080 .PHONY: html-target
1082 html-target: maybe-html-target-libstdc++-v3
1083 html-target: maybe-html-target-libmudflap
1084 html-target: maybe-html-target-libssp
1085 html-target: maybe-html-target-newlib
1086 html-target: maybe-html-target-libgfortran
1087 html-target: maybe-html-target-libobjc
1088 html-target: maybe-html-target-libtermcap
1089 html-target: maybe-html-target-winsup
1090 html-target: maybe-html-target-libgloss
1091 html-target: maybe-html-target-libiberty
1092 html-target: maybe-html-target-gperf
1093 html-target: maybe-html-target-examples
1094 html-target: maybe-html-target-libffi
1095 html-target: maybe-html-target-libjava
1096 html-target: maybe-html-target-zlib
1097 html-target: maybe-html-target-boehm-gc
1098 html-target: maybe-html-target-qthreads
1099 html-target: maybe-html-target-rda
1100 html-target: maybe-html-target-libada
1101 html-target: maybe-html-target-libgomp
1103 .PHONY: do-TAGS
1104 do-TAGS:
1105 @: $(MAKE); $(unstage)
1106 @r=`${PWD_COMMAND}`; export r; \
1107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1108 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1109 TAGS-target
1112 .PHONY: TAGS-host
1114 TAGS-host: maybe-TAGS-ash
1115 TAGS-host: maybe-TAGS-autoconf
1116 TAGS-host: maybe-TAGS-automake
1117 TAGS-host: maybe-TAGS-bash
1118 TAGS-host: maybe-TAGS-bfd
1119 TAGS-host: maybe-TAGS-opcodes
1120 TAGS-host: maybe-TAGS-binutils
1121 TAGS-host: maybe-TAGS-bison
1122 TAGS-host: maybe-TAGS-byacc
1123 TAGS-host: maybe-TAGS-bzip2
1124 TAGS-host: maybe-TAGS-dejagnu
1125 TAGS-host: maybe-TAGS-diff
1126 TAGS-host: maybe-TAGS-dosutils
1127 TAGS-host: maybe-TAGS-etc
1128 TAGS-host: maybe-TAGS-fastjar
1129 TAGS-host: maybe-TAGS-fileutils
1130 TAGS-host: maybe-TAGS-findutils
1131 TAGS-host: maybe-TAGS-find
1132 TAGS-host: maybe-TAGS-fixincludes
1133 TAGS-host: maybe-TAGS-flex
1134 TAGS-host: maybe-TAGS-gas
1135 TAGS-host: maybe-TAGS-gcc
1136 TAGS-host: maybe-TAGS-gawk
1137 TAGS-host: maybe-TAGS-gettext
1138 TAGS-host: maybe-TAGS-gnuserv
1139 TAGS-host: maybe-TAGS-gprof
1140 TAGS-host: maybe-TAGS-gzip
1141 TAGS-host: maybe-TAGS-hello
1142 TAGS-host: maybe-TAGS-indent
1143 TAGS-host: maybe-TAGS-intl
1144 TAGS-host: maybe-TAGS-tcl
1145 TAGS-host: maybe-TAGS-itcl
1146 TAGS-host: maybe-TAGS-ld
1147 TAGS-host: maybe-TAGS-libcpp
1148 TAGS-host: maybe-TAGS-libdecnumber
1149 TAGS-host: maybe-TAGS-libgui
1150 TAGS-host: maybe-TAGS-libiberty
1151 TAGS-host: maybe-TAGS-libtool
1152 TAGS-host: maybe-TAGS-m4
1153 TAGS-host: maybe-TAGS-make
1154 TAGS-host: maybe-TAGS-mmalloc
1155 TAGS-host: maybe-TAGS-patch
1156 TAGS-host: maybe-TAGS-perl
1157 TAGS-host: maybe-TAGS-prms
1158 TAGS-host: maybe-TAGS-rcs
1159 TAGS-host: maybe-TAGS-readline
1160 TAGS-host: maybe-TAGS-release
1161 TAGS-host: maybe-TAGS-recode
1162 TAGS-host: maybe-TAGS-sed
1163 TAGS-host: maybe-TAGS-send-pr
1164 TAGS-host: maybe-TAGS-shellutils
1165 TAGS-host: maybe-TAGS-sid
1166 TAGS-host: maybe-TAGS-sim
1167 TAGS-host: maybe-TAGS-tar
1168 TAGS-host: maybe-TAGS-texinfo
1169 TAGS-host: maybe-TAGS-textutils
1170 TAGS-host: maybe-TAGS-time
1171 TAGS-host: maybe-TAGS-uudecode
1172 TAGS-host: maybe-TAGS-wdiff
1173 TAGS-host: maybe-TAGS-zip
1174 TAGS-host: maybe-TAGS-zlib
1175 TAGS-host: maybe-TAGS-gdb
1176 TAGS-host: maybe-TAGS-expect
1177 TAGS-host: maybe-TAGS-guile
1178 TAGS-host: maybe-TAGS-tk
1179 TAGS-host: maybe-TAGS-libtermcap
1180 TAGS-host: maybe-TAGS-utils
1181 TAGS-host: maybe-TAGS-gnattools
1183 .PHONY: TAGS-target
1185 TAGS-target: maybe-TAGS-target-libstdc++-v3
1186 TAGS-target: maybe-TAGS-target-libmudflap
1187 TAGS-target: maybe-TAGS-target-libssp
1188 TAGS-target: maybe-TAGS-target-newlib
1189 TAGS-target: maybe-TAGS-target-libgfortran
1190 TAGS-target: maybe-TAGS-target-libobjc
1191 TAGS-target: maybe-TAGS-target-libtermcap
1192 TAGS-target: maybe-TAGS-target-winsup
1193 TAGS-target: maybe-TAGS-target-libgloss
1194 TAGS-target: maybe-TAGS-target-libiberty
1195 TAGS-target: maybe-TAGS-target-gperf
1196 TAGS-target: maybe-TAGS-target-examples
1197 TAGS-target: maybe-TAGS-target-libffi
1198 TAGS-target: maybe-TAGS-target-libjava
1199 TAGS-target: maybe-TAGS-target-zlib
1200 TAGS-target: maybe-TAGS-target-boehm-gc
1201 TAGS-target: maybe-TAGS-target-qthreads
1202 TAGS-target: maybe-TAGS-target-rda
1203 TAGS-target: maybe-TAGS-target-libada
1204 TAGS-target: maybe-TAGS-target-libgomp
1206 .PHONY: do-install-info
1207 do-install-info:
1208 @: $(MAKE); $(unstage)
1209 @r=`${PWD_COMMAND}`; export r; \
1210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1211 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1212 install-info-target
1215 .PHONY: install-info-host
1217 install-info-host: maybe-install-info-ash
1218 install-info-host: maybe-install-info-autoconf
1219 install-info-host: maybe-install-info-automake
1220 install-info-host: maybe-install-info-bash
1221 install-info-host: maybe-install-info-bfd
1222 install-info-host: maybe-install-info-opcodes
1223 install-info-host: maybe-install-info-binutils
1224 install-info-host: maybe-install-info-bison
1225 install-info-host: maybe-install-info-byacc
1226 install-info-host: maybe-install-info-bzip2
1227 install-info-host: maybe-install-info-dejagnu
1228 install-info-host: maybe-install-info-diff
1229 install-info-host: maybe-install-info-dosutils
1230 install-info-host: maybe-install-info-etc
1231 install-info-host: maybe-install-info-fastjar
1232 install-info-host: maybe-install-info-fileutils
1233 install-info-host: maybe-install-info-findutils
1234 install-info-host: maybe-install-info-find
1235 install-info-host: maybe-install-info-fixincludes
1236 install-info-host: maybe-install-info-flex
1237 install-info-host: maybe-install-info-gas
1238 install-info-host: maybe-install-info-gcc
1239 install-info-host: maybe-install-info-gawk
1240 install-info-host: maybe-install-info-gettext
1241 install-info-host: maybe-install-info-gnuserv
1242 install-info-host: maybe-install-info-gprof
1243 install-info-host: maybe-install-info-gzip
1244 install-info-host: maybe-install-info-hello
1245 install-info-host: maybe-install-info-indent
1246 install-info-host: maybe-install-info-intl
1247 install-info-host: maybe-install-info-tcl
1248 install-info-host: maybe-install-info-itcl
1249 install-info-host: maybe-install-info-ld
1250 install-info-host: maybe-install-info-libcpp
1251 install-info-host: maybe-install-info-libdecnumber
1252 install-info-host: maybe-install-info-libgui
1253 install-info-host: maybe-install-info-libiberty
1254 install-info-host: maybe-install-info-libtool
1255 install-info-host: maybe-install-info-m4
1256 install-info-host: maybe-install-info-make
1257 install-info-host: maybe-install-info-mmalloc
1258 install-info-host: maybe-install-info-patch
1259 install-info-host: maybe-install-info-perl
1260 install-info-host: maybe-install-info-prms
1261 install-info-host: maybe-install-info-rcs
1262 install-info-host: maybe-install-info-readline
1263 install-info-host: maybe-install-info-release
1264 install-info-host: maybe-install-info-recode
1265 install-info-host: maybe-install-info-sed
1266 install-info-host: maybe-install-info-send-pr
1267 install-info-host: maybe-install-info-shellutils
1268 install-info-host: maybe-install-info-sid
1269 install-info-host: maybe-install-info-sim
1270 install-info-host: maybe-install-info-tar
1271 install-info-host: maybe-install-info-texinfo
1272 install-info-host: maybe-install-info-textutils
1273 install-info-host: maybe-install-info-time
1274 install-info-host: maybe-install-info-uudecode
1275 install-info-host: maybe-install-info-wdiff
1276 install-info-host: maybe-install-info-zip
1277 install-info-host: maybe-install-info-zlib
1278 install-info-host: maybe-install-info-gdb
1279 install-info-host: maybe-install-info-expect
1280 install-info-host: maybe-install-info-guile
1281 install-info-host: maybe-install-info-tk
1282 install-info-host: maybe-install-info-libtermcap
1283 install-info-host: maybe-install-info-utils
1284 install-info-host: maybe-install-info-gnattools
1286 .PHONY: install-info-target
1288 install-info-target: maybe-install-info-target-libstdc++-v3
1289 install-info-target: maybe-install-info-target-libmudflap
1290 install-info-target: maybe-install-info-target-libssp
1291 install-info-target: maybe-install-info-target-newlib
1292 install-info-target: maybe-install-info-target-libgfortran
1293 install-info-target: maybe-install-info-target-libobjc
1294 install-info-target: maybe-install-info-target-libtermcap
1295 install-info-target: maybe-install-info-target-winsup
1296 install-info-target: maybe-install-info-target-libgloss
1297 install-info-target: maybe-install-info-target-libiberty
1298 install-info-target: maybe-install-info-target-gperf
1299 install-info-target: maybe-install-info-target-examples
1300 install-info-target: maybe-install-info-target-libffi
1301 install-info-target: maybe-install-info-target-libjava
1302 install-info-target: maybe-install-info-target-zlib
1303 install-info-target: maybe-install-info-target-boehm-gc
1304 install-info-target: maybe-install-info-target-qthreads
1305 install-info-target: maybe-install-info-target-rda
1306 install-info-target: maybe-install-info-target-libada
1307 install-info-target: maybe-install-info-target-libgomp
1309 .PHONY: do-install-html
1310 do-install-html:
1311 @: $(MAKE); $(unstage)
1312 @r=`${PWD_COMMAND}`; export r; \
1313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1314 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1315 install-html-target
1318 .PHONY: install-html-host
1320 install-html-host: maybe-install-html-ash
1321 install-html-host: maybe-install-html-autoconf
1322 install-html-host: maybe-install-html-automake
1323 install-html-host: maybe-install-html-bash
1324 install-html-host: maybe-install-html-bfd
1325 install-html-host: maybe-install-html-opcodes
1326 install-html-host: maybe-install-html-binutils
1327 install-html-host: maybe-install-html-bison
1328 install-html-host: maybe-install-html-byacc
1329 install-html-host: maybe-install-html-bzip2
1330 install-html-host: maybe-install-html-dejagnu
1331 install-html-host: maybe-install-html-diff
1332 install-html-host: maybe-install-html-dosutils
1333 install-html-host: maybe-install-html-etc
1334 install-html-host: maybe-install-html-fastjar
1335 install-html-host: maybe-install-html-fileutils
1336 install-html-host: maybe-install-html-findutils
1337 install-html-host: maybe-install-html-find
1338 install-html-host: maybe-install-html-fixincludes
1339 install-html-host: maybe-install-html-flex
1340 install-html-host: maybe-install-html-gas
1341 install-html-host: maybe-install-html-gcc
1342 install-html-host: maybe-install-html-gawk
1343 install-html-host: maybe-install-html-gettext
1344 install-html-host: maybe-install-html-gnuserv
1345 install-html-host: maybe-install-html-gprof
1346 install-html-host: maybe-install-html-gzip
1347 install-html-host: maybe-install-html-hello
1348 install-html-host: maybe-install-html-indent
1349 install-html-host: maybe-install-html-intl
1350 install-html-host: maybe-install-html-tcl
1351 install-html-host: maybe-install-html-itcl
1352 install-html-host: maybe-install-html-ld
1353 install-html-host: maybe-install-html-libcpp
1354 install-html-host: maybe-install-html-libdecnumber
1355 install-html-host: maybe-install-html-libgui
1356 install-html-host: maybe-install-html-libiberty
1357 install-html-host: maybe-install-html-libtool
1358 install-html-host: maybe-install-html-m4
1359 install-html-host: maybe-install-html-make
1360 install-html-host: maybe-install-html-mmalloc
1361 install-html-host: maybe-install-html-patch
1362 install-html-host: maybe-install-html-perl
1363 install-html-host: maybe-install-html-prms
1364 install-html-host: maybe-install-html-rcs
1365 install-html-host: maybe-install-html-readline
1366 install-html-host: maybe-install-html-release
1367 install-html-host: maybe-install-html-recode
1368 install-html-host: maybe-install-html-sed
1369 install-html-host: maybe-install-html-send-pr
1370 install-html-host: maybe-install-html-shellutils
1371 install-html-host: maybe-install-html-sid
1372 install-html-host: maybe-install-html-sim
1373 install-html-host: maybe-install-html-tar
1374 install-html-host: maybe-install-html-texinfo
1375 install-html-host: maybe-install-html-textutils
1376 install-html-host: maybe-install-html-time
1377 install-html-host: maybe-install-html-uudecode
1378 install-html-host: maybe-install-html-wdiff
1379 install-html-host: maybe-install-html-zip
1380 install-html-host: maybe-install-html-zlib
1381 install-html-host: maybe-install-html-gdb
1382 install-html-host: maybe-install-html-expect
1383 install-html-host: maybe-install-html-guile
1384 install-html-host: maybe-install-html-tk
1385 install-html-host: maybe-install-html-libtermcap
1386 install-html-host: maybe-install-html-utils
1387 install-html-host: maybe-install-html-gnattools
1389 .PHONY: install-html-target
1391 install-html-target: maybe-install-html-target-libstdc++-v3
1392 install-html-target: maybe-install-html-target-libmudflap
1393 install-html-target: maybe-install-html-target-libssp
1394 install-html-target: maybe-install-html-target-newlib
1395 install-html-target: maybe-install-html-target-libgfortran
1396 install-html-target: maybe-install-html-target-libobjc
1397 install-html-target: maybe-install-html-target-libtermcap
1398 install-html-target: maybe-install-html-target-winsup
1399 install-html-target: maybe-install-html-target-libgloss
1400 install-html-target: maybe-install-html-target-libiberty
1401 install-html-target: maybe-install-html-target-gperf
1402 install-html-target: maybe-install-html-target-examples
1403 install-html-target: maybe-install-html-target-libffi
1404 install-html-target: maybe-install-html-target-libjava
1405 install-html-target: maybe-install-html-target-zlib
1406 install-html-target: maybe-install-html-target-boehm-gc
1407 install-html-target: maybe-install-html-target-qthreads
1408 install-html-target: maybe-install-html-target-rda
1409 install-html-target: maybe-install-html-target-libada
1410 install-html-target: maybe-install-html-target-libgomp
1412 .PHONY: do-installcheck
1413 do-installcheck:
1414 @: $(MAKE); $(unstage)
1415 @r=`${PWD_COMMAND}`; export r; \
1416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1417 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1418 installcheck-target
1421 .PHONY: installcheck-host
1423 installcheck-host: maybe-installcheck-ash
1424 installcheck-host: maybe-installcheck-autoconf
1425 installcheck-host: maybe-installcheck-automake
1426 installcheck-host: maybe-installcheck-bash
1427 installcheck-host: maybe-installcheck-bfd
1428 installcheck-host: maybe-installcheck-opcodes
1429 installcheck-host: maybe-installcheck-binutils
1430 installcheck-host: maybe-installcheck-bison
1431 installcheck-host: maybe-installcheck-byacc
1432 installcheck-host: maybe-installcheck-bzip2
1433 installcheck-host: maybe-installcheck-dejagnu
1434 installcheck-host: maybe-installcheck-diff
1435 installcheck-host: maybe-installcheck-dosutils
1436 installcheck-host: maybe-installcheck-etc
1437 installcheck-host: maybe-installcheck-fastjar
1438 installcheck-host: maybe-installcheck-fileutils
1439 installcheck-host: maybe-installcheck-findutils
1440 installcheck-host: maybe-installcheck-find
1441 installcheck-host: maybe-installcheck-fixincludes
1442 installcheck-host: maybe-installcheck-flex
1443 installcheck-host: maybe-installcheck-gas
1444 installcheck-host: maybe-installcheck-gcc
1445 installcheck-host: maybe-installcheck-gawk
1446 installcheck-host: maybe-installcheck-gettext
1447 installcheck-host: maybe-installcheck-gnuserv
1448 installcheck-host: maybe-installcheck-gprof
1449 installcheck-host: maybe-installcheck-gzip
1450 installcheck-host: maybe-installcheck-hello
1451 installcheck-host: maybe-installcheck-indent
1452 installcheck-host: maybe-installcheck-intl
1453 installcheck-host: maybe-installcheck-tcl
1454 installcheck-host: maybe-installcheck-itcl
1455 installcheck-host: maybe-installcheck-ld
1456 installcheck-host: maybe-installcheck-libcpp
1457 installcheck-host: maybe-installcheck-libdecnumber
1458 installcheck-host: maybe-installcheck-libgui
1459 installcheck-host: maybe-installcheck-libiberty
1460 installcheck-host: maybe-installcheck-libtool
1461 installcheck-host: maybe-installcheck-m4
1462 installcheck-host: maybe-installcheck-make
1463 installcheck-host: maybe-installcheck-mmalloc
1464 installcheck-host: maybe-installcheck-patch
1465 installcheck-host: maybe-installcheck-perl
1466 installcheck-host: maybe-installcheck-prms
1467 installcheck-host: maybe-installcheck-rcs
1468 installcheck-host: maybe-installcheck-readline
1469 installcheck-host: maybe-installcheck-release
1470 installcheck-host: maybe-installcheck-recode
1471 installcheck-host: maybe-installcheck-sed
1472 installcheck-host: maybe-installcheck-send-pr
1473 installcheck-host: maybe-installcheck-shellutils
1474 installcheck-host: maybe-installcheck-sid
1475 installcheck-host: maybe-installcheck-sim
1476 installcheck-host: maybe-installcheck-tar
1477 installcheck-host: maybe-installcheck-texinfo
1478 installcheck-host: maybe-installcheck-textutils
1479 installcheck-host: maybe-installcheck-time
1480 installcheck-host: maybe-installcheck-uudecode
1481 installcheck-host: maybe-installcheck-wdiff
1482 installcheck-host: maybe-installcheck-zip
1483 installcheck-host: maybe-installcheck-zlib
1484 installcheck-host: maybe-installcheck-gdb
1485 installcheck-host: maybe-installcheck-expect
1486 installcheck-host: maybe-installcheck-guile
1487 installcheck-host: maybe-installcheck-tk
1488 installcheck-host: maybe-installcheck-libtermcap
1489 installcheck-host: maybe-installcheck-utils
1490 installcheck-host: maybe-installcheck-gnattools
1492 .PHONY: installcheck-target
1494 installcheck-target: maybe-installcheck-target-libstdc++-v3
1495 installcheck-target: maybe-installcheck-target-libmudflap
1496 installcheck-target: maybe-installcheck-target-libssp
1497 installcheck-target: maybe-installcheck-target-newlib
1498 installcheck-target: maybe-installcheck-target-libgfortran
1499 installcheck-target: maybe-installcheck-target-libobjc
1500 installcheck-target: maybe-installcheck-target-libtermcap
1501 installcheck-target: maybe-installcheck-target-winsup
1502 installcheck-target: maybe-installcheck-target-libgloss
1503 installcheck-target: maybe-installcheck-target-libiberty
1504 installcheck-target: maybe-installcheck-target-gperf
1505 installcheck-target: maybe-installcheck-target-examples
1506 installcheck-target: maybe-installcheck-target-libffi
1507 installcheck-target: maybe-installcheck-target-libjava
1508 installcheck-target: maybe-installcheck-target-zlib
1509 installcheck-target: maybe-installcheck-target-boehm-gc
1510 installcheck-target: maybe-installcheck-target-qthreads
1511 installcheck-target: maybe-installcheck-target-rda
1512 installcheck-target: maybe-installcheck-target-libada
1513 installcheck-target: maybe-installcheck-target-libgomp
1515 .PHONY: do-mostlyclean
1516 do-mostlyclean:
1517 @: $(MAKE); $(unstage)
1518 @r=`${PWD_COMMAND}`; export r; \
1519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1520 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1521 mostlyclean-target
1524 .PHONY: mostlyclean-host
1526 mostlyclean-host: maybe-mostlyclean-ash
1527 mostlyclean-host: maybe-mostlyclean-autoconf
1528 mostlyclean-host: maybe-mostlyclean-automake
1529 mostlyclean-host: maybe-mostlyclean-bash
1530 mostlyclean-host: maybe-mostlyclean-bfd
1531 mostlyclean-host: maybe-mostlyclean-opcodes
1532 mostlyclean-host: maybe-mostlyclean-binutils
1533 mostlyclean-host: maybe-mostlyclean-bison
1534 mostlyclean-host: maybe-mostlyclean-byacc
1535 mostlyclean-host: maybe-mostlyclean-bzip2
1536 mostlyclean-host: maybe-mostlyclean-dejagnu
1537 mostlyclean-host: maybe-mostlyclean-diff
1538 mostlyclean-host: maybe-mostlyclean-dosutils
1539 mostlyclean-host: maybe-mostlyclean-etc
1540 mostlyclean-host: maybe-mostlyclean-fastjar
1541 mostlyclean-host: maybe-mostlyclean-fileutils
1542 mostlyclean-host: maybe-mostlyclean-findutils
1543 mostlyclean-host: maybe-mostlyclean-find
1544 mostlyclean-host: maybe-mostlyclean-fixincludes
1545 mostlyclean-host: maybe-mostlyclean-flex
1546 mostlyclean-host: maybe-mostlyclean-gas
1547 mostlyclean-host: maybe-mostlyclean-gcc
1548 mostlyclean-host: maybe-mostlyclean-gawk
1549 mostlyclean-host: maybe-mostlyclean-gettext
1550 mostlyclean-host: maybe-mostlyclean-gnuserv
1551 mostlyclean-host: maybe-mostlyclean-gprof
1552 mostlyclean-host: maybe-mostlyclean-gzip
1553 mostlyclean-host: maybe-mostlyclean-hello
1554 mostlyclean-host: maybe-mostlyclean-indent
1555 mostlyclean-host: maybe-mostlyclean-intl
1556 mostlyclean-host: maybe-mostlyclean-tcl
1557 mostlyclean-host: maybe-mostlyclean-itcl
1558 mostlyclean-host: maybe-mostlyclean-ld
1559 mostlyclean-host: maybe-mostlyclean-libcpp
1560 mostlyclean-host: maybe-mostlyclean-libdecnumber
1561 mostlyclean-host: maybe-mostlyclean-libgui
1562 mostlyclean-host: maybe-mostlyclean-libiberty
1563 mostlyclean-host: maybe-mostlyclean-libtool
1564 mostlyclean-host: maybe-mostlyclean-m4
1565 mostlyclean-host: maybe-mostlyclean-make
1566 mostlyclean-host: maybe-mostlyclean-mmalloc
1567 mostlyclean-host: maybe-mostlyclean-patch
1568 mostlyclean-host: maybe-mostlyclean-perl
1569 mostlyclean-host: maybe-mostlyclean-prms
1570 mostlyclean-host: maybe-mostlyclean-rcs
1571 mostlyclean-host: maybe-mostlyclean-readline
1572 mostlyclean-host: maybe-mostlyclean-release
1573 mostlyclean-host: maybe-mostlyclean-recode
1574 mostlyclean-host: maybe-mostlyclean-sed
1575 mostlyclean-host: maybe-mostlyclean-send-pr
1576 mostlyclean-host: maybe-mostlyclean-shellutils
1577 mostlyclean-host: maybe-mostlyclean-sid
1578 mostlyclean-host: maybe-mostlyclean-sim
1579 mostlyclean-host: maybe-mostlyclean-tar
1580 mostlyclean-host: maybe-mostlyclean-texinfo
1581 mostlyclean-host: maybe-mostlyclean-textutils
1582 mostlyclean-host: maybe-mostlyclean-time
1583 mostlyclean-host: maybe-mostlyclean-uudecode
1584 mostlyclean-host: maybe-mostlyclean-wdiff
1585 mostlyclean-host: maybe-mostlyclean-zip
1586 mostlyclean-host: maybe-mostlyclean-zlib
1587 mostlyclean-host: maybe-mostlyclean-gdb
1588 mostlyclean-host: maybe-mostlyclean-expect
1589 mostlyclean-host: maybe-mostlyclean-guile
1590 mostlyclean-host: maybe-mostlyclean-tk
1591 mostlyclean-host: maybe-mostlyclean-libtermcap
1592 mostlyclean-host: maybe-mostlyclean-utils
1593 mostlyclean-host: maybe-mostlyclean-gnattools
1595 .PHONY: mostlyclean-target
1597 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1598 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1599 mostlyclean-target: maybe-mostlyclean-target-libssp
1600 mostlyclean-target: maybe-mostlyclean-target-newlib
1601 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1602 mostlyclean-target: maybe-mostlyclean-target-libobjc
1603 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1604 mostlyclean-target: maybe-mostlyclean-target-winsup
1605 mostlyclean-target: maybe-mostlyclean-target-libgloss
1606 mostlyclean-target: maybe-mostlyclean-target-libiberty
1607 mostlyclean-target: maybe-mostlyclean-target-gperf
1608 mostlyclean-target: maybe-mostlyclean-target-examples
1609 mostlyclean-target: maybe-mostlyclean-target-libffi
1610 mostlyclean-target: maybe-mostlyclean-target-libjava
1611 mostlyclean-target: maybe-mostlyclean-target-zlib
1612 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1613 mostlyclean-target: maybe-mostlyclean-target-qthreads
1614 mostlyclean-target: maybe-mostlyclean-target-rda
1615 mostlyclean-target: maybe-mostlyclean-target-libada
1616 mostlyclean-target: maybe-mostlyclean-target-libgomp
1618 .PHONY: do-clean
1619 do-clean:
1620 @: $(MAKE); $(unstage)
1621 @r=`${PWD_COMMAND}`; export r; \
1622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1623 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1624 clean-target
1627 .PHONY: clean-host
1629 clean-host: maybe-clean-ash
1630 clean-host: maybe-clean-autoconf
1631 clean-host: maybe-clean-automake
1632 clean-host: maybe-clean-bash
1633 clean-host: maybe-clean-bfd
1634 clean-host: maybe-clean-opcodes
1635 clean-host: maybe-clean-binutils
1636 clean-host: maybe-clean-bison
1637 clean-host: maybe-clean-byacc
1638 clean-host: maybe-clean-bzip2
1639 clean-host: maybe-clean-dejagnu
1640 clean-host: maybe-clean-diff
1641 clean-host: maybe-clean-dosutils
1642 clean-host: maybe-clean-etc
1643 clean-host: maybe-clean-fastjar
1644 clean-host: maybe-clean-fileutils
1645 clean-host: maybe-clean-findutils
1646 clean-host: maybe-clean-find
1647 clean-host: maybe-clean-fixincludes
1648 clean-host: maybe-clean-flex
1649 clean-host: maybe-clean-gas
1650 clean-host: maybe-clean-gcc
1651 clean-host: maybe-clean-gawk
1652 clean-host: maybe-clean-gettext
1653 clean-host: maybe-clean-gnuserv
1654 clean-host: maybe-clean-gprof
1655 clean-host: maybe-clean-gzip
1656 clean-host: maybe-clean-hello
1657 clean-host: maybe-clean-indent
1658 clean-host: maybe-clean-intl
1659 clean-host: maybe-clean-tcl
1660 clean-host: maybe-clean-itcl
1661 clean-host: maybe-clean-ld
1662 clean-host: maybe-clean-libcpp
1663 clean-host: maybe-clean-libdecnumber
1664 clean-host: maybe-clean-libgui
1665 clean-host: maybe-clean-libiberty
1666 clean-host: maybe-clean-libtool
1667 clean-host: maybe-clean-m4
1668 clean-host: maybe-clean-make
1669 clean-host: maybe-clean-mmalloc
1670 clean-host: maybe-clean-patch
1671 clean-host: maybe-clean-perl
1672 clean-host: maybe-clean-prms
1673 clean-host: maybe-clean-rcs
1674 clean-host: maybe-clean-readline
1675 clean-host: maybe-clean-release
1676 clean-host: maybe-clean-recode
1677 clean-host: maybe-clean-sed
1678 clean-host: maybe-clean-send-pr
1679 clean-host: maybe-clean-shellutils
1680 clean-host: maybe-clean-sid
1681 clean-host: maybe-clean-sim
1682 clean-host: maybe-clean-tar
1683 clean-host: maybe-clean-texinfo
1684 clean-host: maybe-clean-textutils
1685 clean-host: maybe-clean-time
1686 clean-host: maybe-clean-uudecode
1687 clean-host: maybe-clean-wdiff
1688 clean-host: maybe-clean-zip
1689 clean-host: maybe-clean-zlib
1690 clean-host: maybe-clean-gdb
1691 clean-host: maybe-clean-expect
1692 clean-host: maybe-clean-guile
1693 clean-host: maybe-clean-tk
1694 clean-host: maybe-clean-libtermcap
1695 clean-host: maybe-clean-utils
1696 clean-host: maybe-clean-gnattools
1698 .PHONY: clean-target
1700 clean-target: maybe-clean-target-libstdc++-v3
1701 clean-target: maybe-clean-target-libmudflap
1702 clean-target: maybe-clean-target-libssp
1703 clean-target: maybe-clean-target-newlib
1704 clean-target: maybe-clean-target-libgfortran
1705 clean-target: maybe-clean-target-libobjc
1706 clean-target: maybe-clean-target-libtermcap
1707 clean-target: maybe-clean-target-winsup
1708 clean-target: maybe-clean-target-libgloss
1709 clean-target: maybe-clean-target-libiberty
1710 clean-target: maybe-clean-target-gperf
1711 clean-target: maybe-clean-target-examples
1712 clean-target: maybe-clean-target-libffi
1713 clean-target: maybe-clean-target-libjava
1714 clean-target: maybe-clean-target-zlib
1715 clean-target: maybe-clean-target-boehm-gc
1716 clean-target: maybe-clean-target-qthreads
1717 clean-target: maybe-clean-target-rda
1718 clean-target: maybe-clean-target-libada
1719 clean-target: maybe-clean-target-libgomp
1721 .PHONY: do-distclean
1722 do-distclean:
1723 @: $(MAKE); $(unstage)
1724 @r=`${PWD_COMMAND}`; export r; \
1725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1726 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1727 distclean-target
1730 .PHONY: distclean-host
1732 distclean-host: maybe-distclean-ash
1733 distclean-host: maybe-distclean-autoconf
1734 distclean-host: maybe-distclean-automake
1735 distclean-host: maybe-distclean-bash
1736 distclean-host: maybe-distclean-bfd
1737 distclean-host: maybe-distclean-opcodes
1738 distclean-host: maybe-distclean-binutils
1739 distclean-host: maybe-distclean-bison
1740 distclean-host: maybe-distclean-byacc
1741 distclean-host: maybe-distclean-bzip2
1742 distclean-host: maybe-distclean-dejagnu
1743 distclean-host: maybe-distclean-diff
1744 distclean-host: maybe-distclean-dosutils
1745 distclean-host: maybe-distclean-etc
1746 distclean-host: maybe-distclean-fastjar
1747 distclean-host: maybe-distclean-fileutils
1748 distclean-host: maybe-distclean-findutils
1749 distclean-host: maybe-distclean-find
1750 distclean-host: maybe-distclean-fixincludes
1751 distclean-host: maybe-distclean-flex
1752 distclean-host: maybe-distclean-gas
1753 distclean-host: maybe-distclean-gcc
1754 distclean-host: maybe-distclean-gawk
1755 distclean-host: maybe-distclean-gettext
1756 distclean-host: maybe-distclean-gnuserv
1757 distclean-host: maybe-distclean-gprof
1758 distclean-host: maybe-distclean-gzip
1759 distclean-host: maybe-distclean-hello
1760 distclean-host: maybe-distclean-indent
1761 distclean-host: maybe-distclean-intl
1762 distclean-host: maybe-distclean-tcl
1763 distclean-host: maybe-distclean-itcl
1764 distclean-host: maybe-distclean-ld
1765 distclean-host: maybe-distclean-libcpp
1766 distclean-host: maybe-distclean-libdecnumber
1767 distclean-host: maybe-distclean-libgui
1768 distclean-host: maybe-distclean-libiberty
1769 distclean-host: maybe-distclean-libtool
1770 distclean-host: maybe-distclean-m4
1771 distclean-host: maybe-distclean-make
1772 distclean-host: maybe-distclean-mmalloc
1773 distclean-host: maybe-distclean-patch
1774 distclean-host: maybe-distclean-perl
1775 distclean-host: maybe-distclean-prms
1776 distclean-host: maybe-distclean-rcs
1777 distclean-host: maybe-distclean-readline
1778 distclean-host: maybe-distclean-release
1779 distclean-host: maybe-distclean-recode
1780 distclean-host: maybe-distclean-sed
1781 distclean-host: maybe-distclean-send-pr
1782 distclean-host: maybe-distclean-shellutils
1783 distclean-host: maybe-distclean-sid
1784 distclean-host: maybe-distclean-sim
1785 distclean-host: maybe-distclean-tar
1786 distclean-host: maybe-distclean-texinfo
1787 distclean-host: maybe-distclean-textutils
1788 distclean-host: maybe-distclean-time
1789 distclean-host: maybe-distclean-uudecode
1790 distclean-host: maybe-distclean-wdiff
1791 distclean-host: maybe-distclean-zip
1792 distclean-host: maybe-distclean-zlib
1793 distclean-host: maybe-distclean-gdb
1794 distclean-host: maybe-distclean-expect
1795 distclean-host: maybe-distclean-guile
1796 distclean-host: maybe-distclean-tk
1797 distclean-host: maybe-distclean-libtermcap
1798 distclean-host: maybe-distclean-utils
1799 distclean-host: maybe-distclean-gnattools
1801 .PHONY: distclean-target
1803 distclean-target: maybe-distclean-target-libstdc++-v3
1804 distclean-target: maybe-distclean-target-libmudflap
1805 distclean-target: maybe-distclean-target-libssp
1806 distclean-target: maybe-distclean-target-newlib
1807 distclean-target: maybe-distclean-target-libgfortran
1808 distclean-target: maybe-distclean-target-libobjc
1809 distclean-target: maybe-distclean-target-libtermcap
1810 distclean-target: maybe-distclean-target-winsup
1811 distclean-target: maybe-distclean-target-libgloss
1812 distclean-target: maybe-distclean-target-libiberty
1813 distclean-target: maybe-distclean-target-gperf
1814 distclean-target: maybe-distclean-target-examples
1815 distclean-target: maybe-distclean-target-libffi
1816 distclean-target: maybe-distclean-target-libjava
1817 distclean-target: maybe-distclean-target-zlib
1818 distclean-target: maybe-distclean-target-boehm-gc
1819 distclean-target: maybe-distclean-target-qthreads
1820 distclean-target: maybe-distclean-target-rda
1821 distclean-target: maybe-distclean-target-libada
1822 distclean-target: maybe-distclean-target-libgomp
1824 .PHONY: do-maintainer-clean
1825 do-maintainer-clean:
1826 @: $(MAKE); $(unstage)
1827 @r=`${PWD_COMMAND}`; export r; \
1828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1829 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1830 maintainer-clean-target
1833 .PHONY: maintainer-clean-host
1835 maintainer-clean-host: maybe-maintainer-clean-ash
1836 maintainer-clean-host: maybe-maintainer-clean-autoconf
1837 maintainer-clean-host: maybe-maintainer-clean-automake
1838 maintainer-clean-host: maybe-maintainer-clean-bash
1839 maintainer-clean-host: maybe-maintainer-clean-bfd
1840 maintainer-clean-host: maybe-maintainer-clean-opcodes
1841 maintainer-clean-host: maybe-maintainer-clean-binutils
1842 maintainer-clean-host: maybe-maintainer-clean-bison
1843 maintainer-clean-host: maybe-maintainer-clean-byacc
1844 maintainer-clean-host: maybe-maintainer-clean-bzip2
1845 maintainer-clean-host: maybe-maintainer-clean-dejagnu
1846 maintainer-clean-host: maybe-maintainer-clean-diff
1847 maintainer-clean-host: maybe-maintainer-clean-dosutils
1848 maintainer-clean-host: maybe-maintainer-clean-etc
1849 maintainer-clean-host: maybe-maintainer-clean-fastjar
1850 maintainer-clean-host: maybe-maintainer-clean-fileutils
1851 maintainer-clean-host: maybe-maintainer-clean-findutils
1852 maintainer-clean-host: maybe-maintainer-clean-find
1853 maintainer-clean-host: maybe-maintainer-clean-fixincludes
1854 maintainer-clean-host: maybe-maintainer-clean-flex
1855 maintainer-clean-host: maybe-maintainer-clean-gas
1856 maintainer-clean-host: maybe-maintainer-clean-gcc
1857 maintainer-clean-host: maybe-maintainer-clean-gawk
1858 maintainer-clean-host: maybe-maintainer-clean-gettext
1859 maintainer-clean-host: maybe-maintainer-clean-gnuserv
1860 maintainer-clean-host: maybe-maintainer-clean-gprof
1861 maintainer-clean-host: maybe-maintainer-clean-gzip
1862 maintainer-clean-host: maybe-maintainer-clean-hello
1863 maintainer-clean-host: maybe-maintainer-clean-indent
1864 maintainer-clean-host: maybe-maintainer-clean-intl
1865 maintainer-clean-host: maybe-maintainer-clean-tcl
1866 maintainer-clean-host: maybe-maintainer-clean-itcl
1867 maintainer-clean-host: maybe-maintainer-clean-ld
1868 maintainer-clean-host: maybe-maintainer-clean-libcpp
1869 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
1870 maintainer-clean-host: maybe-maintainer-clean-libgui
1871 maintainer-clean-host: maybe-maintainer-clean-libiberty
1872 maintainer-clean-host: maybe-maintainer-clean-libtool
1873 maintainer-clean-host: maybe-maintainer-clean-m4
1874 maintainer-clean-host: maybe-maintainer-clean-make
1875 maintainer-clean-host: maybe-maintainer-clean-mmalloc
1876 maintainer-clean-host: maybe-maintainer-clean-patch
1877 maintainer-clean-host: maybe-maintainer-clean-perl
1878 maintainer-clean-host: maybe-maintainer-clean-prms
1879 maintainer-clean-host: maybe-maintainer-clean-rcs
1880 maintainer-clean-host: maybe-maintainer-clean-readline
1881 maintainer-clean-host: maybe-maintainer-clean-release
1882 maintainer-clean-host: maybe-maintainer-clean-recode
1883 maintainer-clean-host: maybe-maintainer-clean-sed
1884 maintainer-clean-host: maybe-maintainer-clean-send-pr
1885 maintainer-clean-host: maybe-maintainer-clean-shellutils
1886 maintainer-clean-host: maybe-maintainer-clean-sid
1887 maintainer-clean-host: maybe-maintainer-clean-sim
1888 maintainer-clean-host: maybe-maintainer-clean-tar
1889 maintainer-clean-host: maybe-maintainer-clean-texinfo
1890 maintainer-clean-host: maybe-maintainer-clean-textutils
1891 maintainer-clean-host: maybe-maintainer-clean-time
1892 maintainer-clean-host: maybe-maintainer-clean-uudecode
1893 maintainer-clean-host: maybe-maintainer-clean-wdiff
1894 maintainer-clean-host: maybe-maintainer-clean-zip
1895 maintainer-clean-host: maybe-maintainer-clean-zlib
1896 maintainer-clean-host: maybe-maintainer-clean-gdb
1897 maintainer-clean-host: maybe-maintainer-clean-expect
1898 maintainer-clean-host: maybe-maintainer-clean-guile
1899 maintainer-clean-host: maybe-maintainer-clean-tk
1900 maintainer-clean-host: maybe-maintainer-clean-libtermcap
1901 maintainer-clean-host: maybe-maintainer-clean-utils
1902 maintainer-clean-host: maybe-maintainer-clean-gnattools
1904 .PHONY: maintainer-clean-target
1906 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
1907 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
1908 maintainer-clean-target: maybe-maintainer-clean-target-libssp
1909 maintainer-clean-target: maybe-maintainer-clean-target-newlib
1910 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
1911 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
1912 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
1913 maintainer-clean-target: maybe-maintainer-clean-target-winsup
1914 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
1915 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
1916 maintainer-clean-target: maybe-maintainer-clean-target-gperf
1917 maintainer-clean-target: maybe-maintainer-clean-target-examples
1918 maintainer-clean-target: maybe-maintainer-clean-target-libffi
1919 maintainer-clean-target: maybe-maintainer-clean-target-libjava
1920 maintainer-clean-target: maybe-maintainer-clean-target-zlib
1921 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
1922 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
1923 maintainer-clean-target: maybe-maintainer-clean-target-rda
1924 maintainer-clean-target: maybe-maintainer-clean-target-libada
1925 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
1928 # Here are the targets which correspond to the do-X targets.
1930 .PHONY: info installcheck dvi html install-info install-html
1931 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1932 .PHONY: local-clean local-distclean local-maintainer-clean
1933 info: do-info
1934 installcheck: do-installcheck
1935 dvi: do-dvi
1936 html: do-html
1938 # Make sure makeinfo is built before we do a `make info', if we're
1939 # in fact building texinfo.
1940 do-info: maybe-all-texinfo
1942 install-info: do-install-info dir.info
1943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1944 if [ -f dir.info ] ; then \
1945 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1946 else true ; fi
1948 install-html: do-install-html
1950 local-clean:
1951 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1953 local-distclean:
1954 -rm -f Makefile config.status config.cache mh-frag mt-frag
1955 -rm -f maybedep.tmp serdep.tmp
1956 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1957 rm -rf $(TARGET_SUBDIR); \
1958 else true; fi
1959 -rm -rf $(BUILD_SUBDIR)
1960 -if [ "$(HOST_SUBDIR)" != "." ]; then \
1961 rm -rf $(HOST_SUBDIR); \
1962 else true; fi
1963 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1964 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1965 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1966 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1967 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1969 local-maintainer-clean:
1970 @echo "This command is intended for maintainers to use;"
1971 @echo "it deletes files that may require special tools to rebuild."
1973 clean: do-clean local-clean
1974 mostlyclean: do-mostlyclean local-clean
1975 distclean: do-distclean local-clean local-distclean
1976 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1977 maintainer-clean: local-distclean
1978 realclean: maintainer-clean
1980 # Extra dependency for clean-target, owing to the mixed nature of gcc.
1981 clean-target: clean-target-libgcc
1982 clean-target-libgcc:
1983 test ! -d gcc || (cd gcc && $(MAKE) $@)
1985 # Check target.
1987 .PHONY: check do-check
1988 check: do-check
1990 # Only include modules actually being configured and built.
1991 .PHONY: check-host
1992 check-host: \
1993 maybe-check-ash \
1994 maybe-check-autoconf \
1995 maybe-check-automake \
1996 maybe-check-bash \
1997 maybe-check-bfd \
1998 maybe-check-opcodes \
1999 maybe-check-binutils \
2000 maybe-check-bison \
2001 maybe-check-byacc \
2002 maybe-check-bzip2 \
2003 maybe-check-dejagnu \
2004 maybe-check-diff \
2005 maybe-check-dosutils \
2006 maybe-check-etc \
2007 maybe-check-fastjar \
2008 maybe-check-fileutils \
2009 maybe-check-findutils \
2010 maybe-check-find \
2011 maybe-check-fixincludes \
2012 maybe-check-flex \
2013 maybe-check-gas \
2014 maybe-check-gcc \
2015 maybe-check-gawk \
2016 maybe-check-gettext \
2017 maybe-check-gnuserv \
2018 maybe-check-gprof \
2019 maybe-check-gzip \
2020 maybe-check-hello \
2021 maybe-check-indent \
2022 maybe-check-intl \
2023 maybe-check-tcl \
2024 maybe-check-itcl \
2025 maybe-check-ld \
2026 maybe-check-libcpp \
2027 maybe-check-libdecnumber \
2028 maybe-check-libgui \
2029 maybe-check-libiberty \
2030 maybe-check-libtool \
2031 maybe-check-m4 \
2032 maybe-check-make \
2033 maybe-check-mmalloc \
2034 maybe-check-patch \
2035 maybe-check-perl \
2036 maybe-check-prms \
2037 maybe-check-rcs \
2038 maybe-check-readline \
2039 maybe-check-release \
2040 maybe-check-recode \
2041 maybe-check-sed \
2042 maybe-check-send-pr \
2043 maybe-check-shellutils \
2044 maybe-check-sid \
2045 maybe-check-sim \
2046 maybe-check-tar \
2047 maybe-check-texinfo \
2048 maybe-check-textutils \
2049 maybe-check-time \
2050 maybe-check-uudecode \
2051 maybe-check-wdiff \
2052 maybe-check-zip \
2053 maybe-check-zlib \
2054 maybe-check-gdb \
2055 maybe-check-expect \
2056 maybe-check-guile \
2057 maybe-check-tk \
2058 maybe-check-libtermcap \
2059 maybe-check-utils \
2060 maybe-check-gnattools
2062 .PHONY: check-target
2063 check-target: \
2064 maybe-check-target-libstdc++-v3 \
2065 maybe-check-target-libmudflap \
2066 maybe-check-target-libssp \
2067 maybe-check-target-newlib \
2068 maybe-check-target-libgfortran \
2069 maybe-check-target-libobjc \
2070 maybe-check-target-libtermcap \
2071 maybe-check-target-winsup \
2072 maybe-check-target-libgloss \
2073 maybe-check-target-libiberty \
2074 maybe-check-target-gperf \
2075 maybe-check-target-examples \
2076 maybe-check-target-libffi \
2077 maybe-check-target-libjava \
2078 maybe-check-target-zlib \
2079 maybe-check-target-boehm-gc \
2080 maybe-check-target-qthreads \
2081 maybe-check-target-rda \
2082 maybe-check-target-libada \
2083 maybe-check-target-libgomp
2085 do-check:
2086 @: $(MAKE); $(unstage)
2087 @r=`${PWD_COMMAND}`; export r; \
2088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2089 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2091 # Automated reporting of test results.
2093 warning.log: build.log
2094 $(srcdir)/contrib/warn_summary build.log > $@
2096 mail-report.log:
2097 if test x'$(BOOT_CFLAGS)' != x''; then \
2098 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2099 fi; \
2100 $(srcdir)/contrib/test_summary -t >$@
2101 chmod +x $@
2102 echo If you really want to send e-mail, run ./$@ now
2104 mail-report-with-warnings.log: warning.log
2105 if test x'$(BOOT_CFLAGS)' != x''; then \
2106 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2107 fi; \
2108 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2109 chmod +x $@
2110 echo If you really want to send e-mail, run ./$@ now
2112 # Installation targets.
2114 .PHONY: install uninstall
2115 install:
2116 @: $(MAKE); $(unstage)
2117 @r=`${PWD_COMMAND}`; export r; \
2118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2119 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2121 .PHONY: install-host-nogcc
2122 install-host-nogcc: \
2123 maybe-install-ash \
2124 maybe-install-autoconf \
2125 maybe-install-automake \
2126 maybe-install-bash \
2127 maybe-install-bfd \
2128 maybe-install-opcodes \
2129 maybe-install-binutils \
2130 maybe-install-bison \
2131 maybe-install-byacc \
2132 maybe-install-bzip2 \
2133 maybe-install-dejagnu \
2134 maybe-install-diff \
2135 maybe-install-dosutils \
2136 maybe-install-etc \
2137 maybe-install-fastjar \
2138 maybe-install-fileutils \
2139 maybe-install-findutils \
2140 maybe-install-find \
2141 maybe-install-fixincludes \
2142 maybe-install-flex \
2143 maybe-install-gas \
2144 maybe-install-gawk \
2145 maybe-install-gettext \
2146 maybe-install-gnuserv \
2147 maybe-install-gprof \
2148 maybe-install-gzip \
2149 maybe-install-hello \
2150 maybe-install-indent \
2151 maybe-install-intl \
2152 maybe-install-tcl \
2153 maybe-install-itcl \
2154 maybe-install-ld \
2155 maybe-install-libcpp \
2156 maybe-install-libdecnumber \
2157 maybe-install-libgui \
2158 maybe-install-libiberty \
2159 maybe-install-libtool \
2160 maybe-install-m4 \
2161 maybe-install-make \
2162 maybe-install-mmalloc \
2163 maybe-install-patch \
2164 maybe-install-perl \
2165 maybe-install-prms \
2166 maybe-install-rcs \
2167 maybe-install-readline \
2168 maybe-install-release \
2169 maybe-install-recode \
2170 maybe-install-sed \
2171 maybe-install-send-pr \
2172 maybe-install-shellutils \
2173 maybe-install-sid \
2174 maybe-install-sim \
2175 maybe-install-tar \
2176 maybe-install-texinfo \
2177 maybe-install-textutils \
2178 maybe-install-time \
2179 maybe-install-uudecode \
2180 maybe-install-wdiff \
2181 maybe-install-zip \
2182 maybe-install-zlib \
2183 maybe-install-gdb \
2184 maybe-install-expect \
2185 maybe-install-guile \
2186 maybe-install-tk \
2187 maybe-install-libtermcap \
2188 maybe-install-utils \
2189 maybe-install-gnattools
2191 .PHONY: install-host
2192 install-host: \
2193 maybe-install-ash \
2194 maybe-install-autoconf \
2195 maybe-install-automake \
2196 maybe-install-bash \
2197 maybe-install-bfd \
2198 maybe-install-opcodes \
2199 maybe-install-binutils \
2200 maybe-install-bison \
2201 maybe-install-byacc \
2202 maybe-install-bzip2 \
2203 maybe-install-dejagnu \
2204 maybe-install-diff \
2205 maybe-install-dosutils \
2206 maybe-install-etc \
2207 maybe-install-fastjar \
2208 maybe-install-fileutils \
2209 maybe-install-findutils \
2210 maybe-install-find \
2211 maybe-install-fixincludes \
2212 maybe-install-flex \
2213 maybe-install-gas \
2214 maybe-install-gcc \
2215 maybe-install-gawk \
2216 maybe-install-gettext \
2217 maybe-install-gnuserv \
2218 maybe-install-gprof \
2219 maybe-install-gzip \
2220 maybe-install-hello \
2221 maybe-install-indent \
2222 maybe-install-intl \
2223 maybe-install-tcl \
2224 maybe-install-itcl \
2225 maybe-install-ld \
2226 maybe-install-libcpp \
2227 maybe-install-libdecnumber \
2228 maybe-install-libgui \
2229 maybe-install-libiberty \
2230 maybe-install-libtool \
2231 maybe-install-m4 \
2232 maybe-install-make \
2233 maybe-install-mmalloc \
2234 maybe-install-patch \
2235 maybe-install-perl \
2236 maybe-install-prms \
2237 maybe-install-rcs \
2238 maybe-install-readline \
2239 maybe-install-release \
2240 maybe-install-recode \
2241 maybe-install-sed \
2242 maybe-install-send-pr \
2243 maybe-install-shellutils \
2244 maybe-install-sid \
2245 maybe-install-sim \
2246 maybe-install-tar \
2247 maybe-install-texinfo \
2248 maybe-install-textutils \
2249 maybe-install-time \
2250 maybe-install-uudecode \
2251 maybe-install-wdiff \
2252 maybe-install-zip \
2253 maybe-install-zlib \
2254 maybe-install-gdb \
2255 maybe-install-expect \
2256 maybe-install-guile \
2257 maybe-install-tk \
2258 maybe-install-libtermcap \
2259 maybe-install-utils \
2260 maybe-install-gnattools
2262 .PHONY: install-target
2263 install-target: \
2264 maybe-install-target-libstdc++-v3 \
2265 maybe-install-target-libmudflap \
2266 maybe-install-target-libssp \
2267 maybe-install-target-newlib \
2268 maybe-install-target-libgfortran \
2269 maybe-install-target-libobjc \
2270 maybe-install-target-libtermcap \
2271 maybe-install-target-winsup \
2272 maybe-install-target-libgloss \
2273 maybe-install-target-libiberty \
2274 maybe-install-target-gperf \
2275 maybe-install-target-examples \
2276 maybe-install-target-libffi \
2277 maybe-install-target-libjava \
2278 maybe-install-target-zlib \
2279 maybe-install-target-boehm-gc \
2280 maybe-install-target-qthreads \
2281 maybe-install-target-rda \
2282 maybe-install-target-libada \
2283 maybe-install-target-libgomp
2285 uninstall:
2286 @echo "the uninstall target is not supported in this tree"
2288 .PHONY: install.all
2289 install.all: install-no-fixedincludes
2290 @if [ -f ./gcc/Makefile ] ; then \
2291 r=`${PWD_COMMAND}` ; export r ; \
2292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2293 $(HOST_EXPORTS) \
2294 (cd ./gcc && \
2295 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2296 else \
2297 true ; \
2300 # install-no-fixedincludes is used because Cygnus can not distribute
2301 # the fixed header files.
2302 .PHONY: install-no-fixedincludes
2303 install-no-fixedincludes: installdirs install-host-nogcc \
2304 install-target gcc-no-fixedincludes
2306 ### other supporting targets
2308 MAKEDIRS= \
2309 $(DESTDIR)$(prefix) \
2310 $(DESTDIR)$(exec_prefix)
2311 .PHONY: installdirs
2312 installdirs: mkinstalldirs
2313 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2315 dir.info: do-install-info
2316 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2317 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2318 mv -f dir.info.new dir.info ; \
2319 else true ; \
2322 dist:
2323 @echo "Building a full distribution of this tree isn't done"
2324 @echo "via 'make dist'. Check out the etc/ subdirectory"
2326 etags tags: TAGS
2328 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2329 # ability to use several tags files at once, so there is probably no need
2330 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2331 # (if we felt like it) have this Makefile write a piece of elisp which
2332 # the user could load to tell emacs19 where all the TAGS files we just
2333 # built are.
2334 TAGS: do-TAGS
2336 # ------------------------------------
2337 # Macros for configure and all targets
2338 # ------------------------------------
2344 # --------------------------------------
2345 # Modules which run on the build machine
2346 # --------------------------------------
2349 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2350 maybe-configure-build-libiberty:
2351 @if gcc-bootstrap
2352 configure-build-libiberty: stage_current
2353 @endif gcc-bootstrap
2354 @if build-libiberty
2355 maybe-configure-build-libiberty: configure-build-libiberty
2356 configure-build-libiberty:
2357 @: $(MAKE); $(unstage)
2358 @r=`${PWD_COMMAND}`; export r; \
2359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2360 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2361 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2362 $(BUILD_EXPORTS) \
2363 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2364 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2365 case $(srcdir) in \
2366 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2367 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2368 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2369 esac; \
2370 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2371 libsrcdir="$$s/libiberty"; \
2372 rm -f no-such-file || : ; \
2373 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2374 $(BUILD_CONFIGARGS) $${srcdiroption} \
2375 || exit 1
2376 @endif build-libiberty
2382 .PHONY: all-build-libiberty maybe-all-build-libiberty
2383 maybe-all-build-libiberty:
2384 @if gcc-bootstrap
2385 all-build-libiberty: stage_current
2386 @endif gcc-bootstrap
2387 @if build-libiberty
2388 TARGET-build-libiberty=all
2389 maybe-all-build-libiberty: all-build-libiberty
2390 all-build-libiberty: configure-build-libiberty
2391 @: $(MAKE); $(unstage)
2392 @r=`${PWD_COMMAND}`; export r; \
2393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2394 $(BUILD_EXPORTS) \
2395 (cd $(BUILD_SUBDIR)/libiberty && \
2396 $(MAKE) $(TARGET-build-libiberty))
2397 @endif build-libiberty
2403 .PHONY: configure-build-bison maybe-configure-build-bison
2404 maybe-configure-build-bison:
2405 @if gcc-bootstrap
2406 configure-build-bison: stage_current
2407 @endif gcc-bootstrap
2408 @if build-bison
2409 maybe-configure-build-bison: configure-build-bison
2410 configure-build-bison:
2411 @: $(MAKE); $(unstage)
2412 @r=`${PWD_COMMAND}`; export r; \
2413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2414 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2415 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2416 $(BUILD_EXPORTS) \
2417 echo Configuring in $(BUILD_SUBDIR)/bison; \
2418 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2419 case $(srcdir) in \
2420 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2421 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2422 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2423 esac; \
2424 srcdiroption="--srcdir=$${topdir}/bison"; \
2425 libsrcdir="$$s/bison"; \
2426 rm -f no-such-file || : ; \
2427 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2428 $(BUILD_CONFIGARGS) $${srcdiroption} \
2429 || exit 1
2430 @endif build-bison
2436 .PHONY: all-build-bison maybe-all-build-bison
2437 maybe-all-build-bison:
2438 @if gcc-bootstrap
2439 all-build-bison: stage_current
2440 @endif gcc-bootstrap
2441 @if build-bison
2442 TARGET-build-bison=all
2443 maybe-all-build-bison: all-build-bison
2444 all-build-bison: configure-build-bison
2445 @: $(MAKE); $(unstage)
2446 @r=`${PWD_COMMAND}`; export r; \
2447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2448 $(BUILD_EXPORTS) \
2449 (cd $(BUILD_SUBDIR)/bison && \
2450 $(MAKE) $(TARGET-build-bison))
2451 @endif build-bison
2457 .PHONY: configure-build-byacc maybe-configure-build-byacc
2458 maybe-configure-build-byacc:
2459 @if gcc-bootstrap
2460 configure-build-byacc: stage_current
2461 @endif gcc-bootstrap
2462 @if build-byacc
2463 maybe-configure-build-byacc: configure-build-byacc
2464 configure-build-byacc:
2465 @: $(MAKE); $(unstage)
2466 @r=`${PWD_COMMAND}`; export r; \
2467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2468 test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2469 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2470 $(BUILD_EXPORTS) \
2471 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2472 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2473 case $(srcdir) in \
2474 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2475 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2476 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2477 esac; \
2478 srcdiroption="--srcdir=$${topdir}/byacc"; \
2479 libsrcdir="$$s/byacc"; \
2480 rm -f no-such-file || : ; \
2481 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2482 $(BUILD_CONFIGARGS) $${srcdiroption} \
2483 || exit 1
2484 @endif build-byacc
2490 .PHONY: all-build-byacc maybe-all-build-byacc
2491 maybe-all-build-byacc:
2492 @if gcc-bootstrap
2493 all-build-byacc: stage_current
2494 @endif gcc-bootstrap
2495 @if build-byacc
2496 TARGET-build-byacc=all
2497 maybe-all-build-byacc: all-build-byacc
2498 all-build-byacc: configure-build-byacc
2499 @: $(MAKE); $(unstage)
2500 @r=`${PWD_COMMAND}`; export r; \
2501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2502 $(BUILD_EXPORTS) \
2503 (cd $(BUILD_SUBDIR)/byacc && \
2504 $(MAKE) $(TARGET-build-byacc))
2505 @endif build-byacc
2511 .PHONY: configure-build-flex maybe-configure-build-flex
2512 maybe-configure-build-flex:
2513 @if gcc-bootstrap
2514 configure-build-flex: stage_current
2515 @endif gcc-bootstrap
2516 @if build-flex
2517 maybe-configure-build-flex: configure-build-flex
2518 configure-build-flex:
2519 @: $(MAKE); $(unstage)
2520 @r=`${PWD_COMMAND}`; export r; \
2521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2522 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2523 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2524 $(BUILD_EXPORTS) \
2525 echo Configuring in $(BUILD_SUBDIR)/flex; \
2526 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2527 case $(srcdir) in \
2528 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2529 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2530 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2531 esac; \
2532 srcdiroption="--srcdir=$${topdir}/flex"; \
2533 libsrcdir="$$s/flex"; \
2534 rm -f no-such-file || : ; \
2535 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2536 $(BUILD_CONFIGARGS) $${srcdiroption} \
2537 || exit 1
2538 @endif build-flex
2544 .PHONY: all-build-flex maybe-all-build-flex
2545 maybe-all-build-flex:
2546 @if gcc-bootstrap
2547 all-build-flex: stage_current
2548 @endif gcc-bootstrap
2549 @if build-flex
2550 TARGET-build-flex=all
2551 maybe-all-build-flex: all-build-flex
2552 all-build-flex: configure-build-flex
2553 @: $(MAKE); $(unstage)
2554 @r=`${PWD_COMMAND}`; export r; \
2555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2556 $(BUILD_EXPORTS) \
2557 (cd $(BUILD_SUBDIR)/flex && \
2558 $(MAKE) $(TARGET-build-flex))
2559 @endif build-flex
2565 .PHONY: configure-build-m4 maybe-configure-build-m4
2566 maybe-configure-build-m4:
2567 @if gcc-bootstrap
2568 configure-build-m4: stage_current
2569 @endif gcc-bootstrap
2570 @if build-m4
2571 maybe-configure-build-m4: configure-build-m4
2572 configure-build-m4:
2573 @: $(MAKE); $(unstage)
2574 @r=`${PWD_COMMAND}`; export r; \
2575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2576 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2577 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2578 $(BUILD_EXPORTS) \
2579 echo Configuring in $(BUILD_SUBDIR)/m4; \
2580 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2581 case $(srcdir) in \
2582 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2583 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2584 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2585 esac; \
2586 srcdiroption="--srcdir=$${topdir}/m4"; \
2587 libsrcdir="$$s/m4"; \
2588 rm -f no-such-file || : ; \
2589 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2590 $(BUILD_CONFIGARGS) $${srcdiroption} \
2591 || exit 1
2592 @endif build-m4
2598 .PHONY: all-build-m4 maybe-all-build-m4
2599 maybe-all-build-m4:
2600 @if gcc-bootstrap
2601 all-build-m4: stage_current
2602 @endif gcc-bootstrap
2603 @if build-m4
2604 TARGET-build-m4=all
2605 maybe-all-build-m4: all-build-m4
2606 all-build-m4: configure-build-m4
2607 @: $(MAKE); $(unstage)
2608 @r=`${PWD_COMMAND}`; export r; \
2609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2610 $(BUILD_EXPORTS) \
2611 (cd $(BUILD_SUBDIR)/m4 && \
2612 $(MAKE) $(TARGET-build-m4))
2613 @endif build-m4
2619 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2620 maybe-configure-build-texinfo:
2621 @if gcc-bootstrap
2622 configure-build-texinfo: stage_current
2623 @endif gcc-bootstrap
2624 @if build-texinfo
2625 maybe-configure-build-texinfo: configure-build-texinfo
2626 configure-build-texinfo:
2627 @: $(MAKE); $(unstage)
2628 @r=`${PWD_COMMAND}`; export r; \
2629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2630 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2631 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2632 $(BUILD_EXPORTS) \
2633 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2634 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2635 case $(srcdir) in \
2636 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2637 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2638 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2639 esac; \
2640 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2641 libsrcdir="$$s/texinfo"; \
2642 rm -f no-such-file || : ; \
2643 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2644 $(BUILD_CONFIGARGS) $${srcdiroption} \
2645 || exit 1
2646 @endif build-texinfo
2652 .PHONY: all-build-texinfo maybe-all-build-texinfo
2653 maybe-all-build-texinfo:
2654 @if gcc-bootstrap
2655 all-build-texinfo: stage_current
2656 @endif gcc-bootstrap
2657 @if build-texinfo
2658 TARGET-build-texinfo=all
2659 maybe-all-build-texinfo: all-build-texinfo
2660 all-build-texinfo: configure-build-texinfo
2661 @: $(MAKE); $(unstage)
2662 @r=`${PWD_COMMAND}`; export r; \
2663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2664 $(BUILD_EXPORTS) \
2665 (cd $(BUILD_SUBDIR)/texinfo && \
2666 $(MAKE) $(TARGET-build-texinfo))
2667 @endif build-texinfo
2673 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2674 maybe-configure-build-fixincludes:
2675 @if gcc-bootstrap
2676 configure-build-fixincludes: stage_current
2677 @endif gcc-bootstrap
2678 @if build-fixincludes
2679 maybe-configure-build-fixincludes: configure-build-fixincludes
2680 configure-build-fixincludes:
2681 @: $(MAKE); $(unstage)
2682 @r=`${PWD_COMMAND}`; export r; \
2683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2684 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2685 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2686 $(BUILD_EXPORTS) \
2687 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2688 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2689 case $(srcdir) in \
2690 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2691 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2692 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2693 esac; \
2694 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2695 libsrcdir="$$s/fixincludes"; \
2696 rm -f no-such-file || : ; \
2697 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2698 $(BUILD_CONFIGARGS) $${srcdiroption} \
2699 || exit 1
2700 @endif build-fixincludes
2706 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2707 maybe-all-build-fixincludes:
2708 @if gcc-bootstrap
2709 all-build-fixincludes: stage_current
2710 @endif gcc-bootstrap
2711 @if build-fixincludes
2712 TARGET-build-fixincludes=all
2713 maybe-all-build-fixincludes: all-build-fixincludes
2714 all-build-fixincludes: configure-build-fixincludes
2715 @: $(MAKE); $(unstage)
2716 @r=`${PWD_COMMAND}`; export r; \
2717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2718 $(BUILD_EXPORTS) \
2719 (cd $(BUILD_SUBDIR)/fixincludes && \
2720 $(MAKE) $(TARGET-build-fixincludes))
2721 @endif build-fixincludes
2727 # --------------------------------------
2728 # Modules which run on the host machine
2729 # --------------------------------------
2732 .PHONY: configure-ash maybe-configure-ash
2733 maybe-configure-ash:
2734 @if gcc-bootstrap
2735 configure-ash: stage_current
2736 @endif gcc-bootstrap
2737 @if ash
2738 maybe-configure-ash: configure-ash
2739 configure-ash:
2740 @: $(MAKE); $(unstage)
2741 @r=`${PWD_COMMAND}`; export r; \
2742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2743 test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2744 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2745 $(HOST_EXPORTS) \
2746 echo Configuring in $(HOST_SUBDIR)/ash; \
2747 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2748 case $(srcdir) in \
2749 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2750 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2751 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2752 esac; \
2753 srcdiroption="--srcdir=$${topdir}/ash"; \
2754 libsrcdir="$$s/ash"; \
2755 $(SHELL) $${libsrcdir}/configure \
2756 $(HOST_CONFIGARGS) $${srcdiroption} \
2757 || exit 1
2758 @endif ash
2764 .PHONY: all-ash maybe-all-ash
2765 maybe-all-ash:
2766 @if gcc-bootstrap
2767 all-ash: stage_current
2768 @endif gcc-bootstrap
2769 @if ash
2770 TARGET-ash=all
2771 maybe-all-ash: all-ash
2772 all-ash: configure-ash
2773 @: $(MAKE); $(unstage)
2774 @r=`${PWD_COMMAND}`; export r; \
2775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2776 $(HOST_EXPORTS) \
2777 (cd $(HOST_SUBDIR)/ash && \
2778 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2779 @endif ash
2784 .PHONY: check-ash maybe-check-ash
2785 maybe-check-ash:
2786 @if ash
2787 maybe-check-ash: check-ash
2789 check-ash:
2790 @: $(MAKE); $(unstage)
2791 @r=`${PWD_COMMAND}`; export r; \
2792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2793 $(HOST_EXPORTS) \
2794 (cd $(HOST_SUBDIR)/ash && \
2795 $(MAKE) $(FLAGS_TO_PASS) check)
2797 @endif ash
2799 .PHONY: install-ash maybe-install-ash
2800 maybe-install-ash:
2801 @if ash
2802 maybe-install-ash: install-ash
2804 install-ash: installdirs
2805 @: $(MAKE); $(unstage)
2806 @r=`${PWD_COMMAND}`; export r; \
2807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2808 $(HOST_EXPORTS) \
2809 (cd $(HOST_SUBDIR)/ash && \
2810 $(MAKE) $(FLAGS_TO_PASS) install)
2812 @endif ash
2814 # Other targets (info, dvi, etc.)
2816 .PHONY: maybe-info-ash info-ash
2817 maybe-info-ash:
2818 @if ash
2819 maybe-info-ash: info-ash
2821 info-ash: \
2822 configure-ash
2823 @: $(MAKE); $(unstage)
2824 @[ -f ./ash/Makefile ] || exit 0; \
2825 r=`${PWD_COMMAND}`; export r; \
2826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2827 $(HOST_EXPORTS) \
2828 for flag in $(EXTRA_HOST_FLAGS) ; do \
2829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2830 done; \
2831 echo "Doing info in ash" ; \
2832 (cd $(HOST_SUBDIR)/ash && \
2833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2835 "RANLIB=$${RANLIB}" \
2836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2837 info) \
2838 || exit 1
2840 @endif ash
2842 .PHONY: maybe-dvi-ash dvi-ash
2843 maybe-dvi-ash:
2844 @if ash
2845 maybe-dvi-ash: dvi-ash
2847 dvi-ash: \
2848 configure-ash
2849 @: $(MAKE); $(unstage)
2850 @[ -f ./ash/Makefile ] || exit 0; \
2851 r=`${PWD_COMMAND}`; export r; \
2852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2853 $(HOST_EXPORTS) \
2854 for flag in $(EXTRA_HOST_FLAGS) ; do \
2855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2856 done; \
2857 echo "Doing dvi in ash" ; \
2858 (cd $(HOST_SUBDIR)/ash && \
2859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2861 "RANLIB=$${RANLIB}" \
2862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2863 dvi) \
2864 || exit 1
2866 @endif ash
2868 .PHONY: maybe-html-ash html-ash
2869 maybe-html-ash:
2870 @if ash
2871 maybe-html-ash: html-ash
2873 html-ash: \
2874 configure-ash
2875 @: $(MAKE); $(unstage)
2876 @[ -f ./ash/Makefile ] || exit 0; \
2877 r=`${PWD_COMMAND}`; export r; \
2878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2879 $(HOST_EXPORTS) \
2880 for flag in $(EXTRA_HOST_FLAGS) ; do \
2881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2882 done; \
2883 echo "Doing html in ash" ; \
2884 (cd $(HOST_SUBDIR)/ash && \
2885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2887 "RANLIB=$${RANLIB}" \
2888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2889 html) \
2890 || exit 1
2892 @endif ash
2894 .PHONY: maybe-TAGS-ash TAGS-ash
2895 maybe-TAGS-ash:
2896 @if ash
2897 maybe-TAGS-ash: TAGS-ash
2899 TAGS-ash: \
2900 configure-ash
2901 @: $(MAKE); $(unstage)
2902 @[ -f ./ash/Makefile ] || exit 0; \
2903 r=`${PWD_COMMAND}`; export r; \
2904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2905 $(HOST_EXPORTS) \
2906 for flag in $(EXTRA_HOST_FLAGS) ; do \
2907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2908 done; \
2909 echo "Doing TAGS in ash" ; \
2910 (cd $(HOST_SUBDIR)/ash && \
2911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2913 "RANLIB=$${RANLIB}" \
2914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2915 TAGS) \
2916 || exit 1
2918 @endif ash
2920 .PHONY: maybe-install-info-ash install-info-ash
2921 maybe-install-info-ash:
2922 @if ash
2923 maybe-install-info-ash: install-info-ash
2925 install-info-ash: \
2926 configure-ash \
2927 info-ash
2928 @: $(MAKE); $(unstage)
2929 @[ -f ./ash/Makefile ] || exit 0; \
2930 r=`${PWD_COMMAND}`; export r; \
2931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2932 $(HOST_EXPORTS) \
2933 for flag in $(EXTRA_HOST_FLAGS) ; do \
2934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2935 done; \
2936 echo "Doing install-info in ash" ; \
2937 (cd $(HOST_SUBDIR)/ash && \
2938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2940 "RANLIB=$${RANLIB}" \
2941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2942 install-info) \
2943 || exit 1
2945 @endif ash
2947 .PHONY: maybe-install-html-ash install-html-ash
2948 maybe-install-html-ash:
2949 @if ash
2950 maybe-install-html-ash: install-html-ash
2952 install-html-ash: \
2953 configure-ash \
2954 html-ash
2955 @: $(MAKE); $(unstage)
2956 @[ -f ./ash/Makefile ] || exit 0; \
2957 r=`${PWD_COMMAND}`; export r; \
2958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2959 $(HOST_EXPORTS) \
2960 for flag in $(EXTRA_HOST_FLAGS) ; do \
2961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2962 done; \
2963 echo "Doing install-html in ash" ; \
2964 (cd $(HOST_SUBDIR)/ash && \
2965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2967 "RANLIB=$${RANLIB}" \
2968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2969 install-html) \
2970 || exit 1
2972 @endif ash
2974 .PHONY: maybe-installcheck-ash installcheck-ash
2975 maybe-installcheck-ash:
2976 @if ash
2977 maybe-installcheck-ash: installcheck-ash
2979 installcheck-ash: \
2980 configure-ash
2981 @: $(MAKE); $(unstage)
2982 @[ -f ./ash/Makefile ] || exit 0; \
2983 r=`${PWD_COMMAND}`; export r; \
2984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2985 $(HOST_EXPORTS) \
2986 for flag in $(EXTRA_HOST_FLAGS) ; do \
2987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2988 done; \
2989 echo "Doing installcheck in ash" ; \
2990 (cd $(HOST_SUBDIR)/ash && \
2991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2993 "RANLIB=$${RANLIB}" \
2994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2995 installcheck) \
2996 || exit 1
2998 @endif ash
3000 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
3001 maybe-mostlyclean-ash:
3002 @if ash
3003 maybe-mostlyclean-ash: mostlyclean-ash
3005 mostlyclean-ash:
3006 @: $(MAKE); $(unstage)
3007 @[ -f ./ash/Makefile ] || exit 0; \
3008 r=`${PWD_COMMAND}`; export r; \
3009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3010 $(HOST_EXPORTS) \
3011 for flag in $(EXTRA_HOST_FLAGS) ; do \
3012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3013 done; \
3014 echo "Doing mostlyclean in ash" ; \
3015 (cd $(HOST_SUBDIR)/ash && \
3016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3018 "RANLIB=$${RANLIB}" \
3019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3020 mostlyclean) \
3021 || exit 1
3023 @endif ash
3025 .PHONY: maybe-clean-ash clean-ash
3026 maybe-clean-ash:
3027 @if ash
3028 maybe-clean-ash: clean-ash
3030 clean-ash:
3031 @: $(MAKE); $(unstage)
3032 @[ -f ./ash/Makefile ] || exit 0; \
3033 r=`${PWD_COMMAND}`; export r; \
3034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3035 $(HOST_EXPORTS) \
3036 for flag in $(EXTRA_HOST_FLAGS) ; do \
3037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3038 done; \
3039 echo "Doing clean in ash" ; \
3040 (cd $(HOST_SUBDIR)/ash && \
3041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3043 "RANLIB=$${RANLIB}" \
3044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3045 clean) \
3046 || exit 1
3048 @endif ash
3050 .PHONY: maybe-distclean-ash distclean-ash
3051 maybe-distclean-ash:
3052 @if ash
3053 maybe-distclean-ash: distclean-ash
3055 distclean-ash:
3056 @: $(MAKE); $(unstage)
3057 @[ -f ./ash/Makefile ] || exit 0; \
3058 r=`${PWD_COMMAND}`; export r; \
3059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3060 $(HOST_EXPORTS) \
3061 for flag in $(EXTRA_HOST_FLAGS) ; do \
3062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3063 done; \
3064 echo "Doing distclean in ash" ; \
3065 (cd $(HOST_SUBDIR)/ash && \
3066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3068 "RANLIB=$${RANLIB}" \
3069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3070 distclean) \
3071 || exit 1
3073 @endif ash
3075 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
3076 maybe-maintainer-clean-ash:
3077 @if ash
3078 maybe-maintainer-clean-ash: maintainer-clean-ash
3080 maintainer-clean-ash:
3081 @: $(MAKE); $(unstage)
3082 @[ -f ./ash/Makefile ] || exit 0; \
3083 r=`${PWD_COMMAND}`; export r; \
3084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3085 $(HOST_EXPORTS) \
3086 for flag in $(EXTRA_HOST_FLAGS) ; do \
3087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3088 done; \
3089 echo "Doing maintainer-clean in ash" ; \
3090 (cd $(HOST_SUBDIR)/ash && \
3091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3093 "RANLIB=$${RANLIB}" \
3094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3095 maintainer-clean) \
3096 || exit 1
3098 @endif ash
3102 .PHONY: configure-autoconf maybe-configure-autoconf
3103 maybe-configure-autoconf:
3104 @if gcc-bootstrap
3105 configure-autoconf: stage_current
3106 @endif gcc-bootstrap
3107 @if autoconf
3108 maybe-configure-autoconf: configure-autoconf
3109 configure-autoconf:
3110 @: $(MAKE); $(unstage)
3111 @r=`${PWD_COMMAND}`; export r; \
3112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3113 test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
3114 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
3115 $(HOST_EXPORTS) \
3116 echo Configuring in $(HOST_SUBDIR)/autoconf; \
3117 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
3118 case $(srcdir) in \
3119 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3120 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
3121 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3122 esac; \
3123 srcdiroption="--srcdir=$${topdir}/autoconf"; \
3124 libsrcdir="$$s/autoconf"; \
3125 $(SHELL) $${libsrcdir}/configure \
3126 $(HOST_CONFIGARGS) $${srcdiroption} \
3127 || exit 1
3128 @endif autoconf
3134 .PHONY: all-autoconf maybe-all-autoconf
3135 maybe-all-autoconf:
3136 @if gcc-bootstrap
3137 all-autoconf: stage_current
3138 @endif gcc-bootstrap
3139 @if autoconf
3140 TARGET-autoconf=all
3141 maybe-all-autoconf: all-autoconf
3142 all-autoconf: configure-autoconf
3143 @: $(MAKE); $(unstage)
3144 @r=`${PWD_COMMAND}`; export r; \
3145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3146 $(HOST_EXPORTS) \
3147 (cd $(HOST_SUBDIR)/autoconf && \
3148 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
3149 @endif autoconf
3154 .PHONY: check-autoconf maybe-check-autoconf
3155 maybe-check-autoconf:
3156 @if autoconf
3157 maybe-check-autoconf: check-autoconf
3159 check-autoconf:
3160 @: $(MAKE); $(unstage)
3161 @r=`${PWD_COMMAND}`; export r; \
3162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3163 $(HOST_EXPORTS) \
3164 (cd $(HOST_SUBDIR)/autoconf && \
3165 $(MAKE) $(FLAGS_TO_PASS) check)
3167 @endif autoconf
3169 .PHONY: install-autoconf maybe-install-autoconf
3170 maybe-install-autoconf:
3171 @if autoconf
3172 maybe-install-autoconf: install-autoconf
3174 install-autoconf: installdirs
3175 @: $(MAKE); $(unstage)
3176 @r=`${PWD_COMMAND}`; export r; \
3177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3178 $(HOST_EXPORTS) \
3179 (cd $(HOST_SUBDIR)/autoconf && \
3180 $(MAKE) $(FLAGS_TO_PASS) install)
3182 @endif autoconf
3184 # Other targets (info, dvi, etc.)
3186 .PHONY: maybe-info-autoconf info-autoconf
3187 maybe-info-autoconf:
3188 @if autoconf
3189 maybe-info-autoconf: info-autoconf
3191 info-autoconf: \
3192 configure-autoconf
3193 @: $(MAKE); $(unstage)
3194 @[ -f ./autoconf/Makefile ] || exit 0; \
3195 r=`${PWD_COMMAND}`; export r; \
3196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3197 $(HOST_EXPORTS) \
3198 for flag in $(EXTRA_HOST_FLAGS) ; do \
3199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3200 done; \
3201 echo "Doing info in autoconf" ; \
3202 (cd $(HOST_SUBDIR)/autoconf && \
3203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3205 "RANLIB=$${RANLIB}" \
3206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3207 info) \
3208 || exit 1
3210 @endif autoconf
3212 .PHONY: maybe-dvi-autoconf dvi-autoconf
3213 maybe-dvi-autoconf:
3214 @if autoconf
3215 maybe-dvi-autoconf: dvi-autoconf
3217 dvi-autoconf: \
3218 configure-autoconf
3219 @: $(MAKE); $(unstage)
3220 @[ -f ./autoconf/Makefile ] || exit 0; \
3221 r=`${PWD_COMMAND}`; export r; \
3222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3223 $(HOST_EXPORTS) \
3224 for flag in $(EXTRA_HOST_FLAGS) ; do \
3225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3226 done; \
3227 echo "Doing dvi in autoconf" ; \
3228 (cd $(HOST_SUBDIR)/autoconf && \
3229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3231 "RANLIB=$${RANLIB}" \
3232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3233 dvi) \
3234 || exit 1
3236 @endif autoconf
3238 .PHONY: maybe-html-autoconf html-autoconf
3239 maybe-html-autoconf:
3240 @if autoconf
3241 maybe-html-autoconf: html-autoconf
3243 html-autoconf: \
3244 configure-autoconf
3245 @: $(MAKE); $(unstage)
3246 @[ -f ./autoconf/Makefile ] || exit 0; \
3247 r=`${PWD_COMMAND}`; export r; \
3248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3249 $(HOST_EXPORTS) \
3250 for flag in $(EXTRA_HOST_FLAGS) ; do \
3251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3252 done; \
3253 echo "Doing html in autoconf" ; \
3254 (cd $(HOST_SUBDIR)/autoconf && \
3255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3257 "RANLIB=$${RANLIB}" \
3258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3259 html) \
3260 || exit 1
3262 @endif autoconf
3264 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3265 maybe-TAGS-autoconf:
3266 @if autoconf
3267 maybe-TAGS-autoconf: TAGS-autoconf
3269 TAGS-autoconf: \
3270 configure-autoconf
3271 @: $(MAKE); $(unstage)
3272 @[ -f ./autoconf/Makefile ] || exit 0; \
3273 r=`${PWD_COMMAND}`; export r; \
3274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3275 $(HOST_EXPORTS) \
3276 for flag in $(EXTRA_HOST_FLAGS) ; do \
3277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3278 done; \
3279 echo "Doing TAGS in autoconf" ; \
3280 (cd $(HOST_SUBDIR)/autoconf && \
3281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3283 "RANLIB=$${RANLIB}" \
3284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3285 TAGS) \
3286 || exit 1
3288 @endif autoconf
3290 .PHONY: maybe-install-info-autoconf install-info-autoconf
3291 maybe-install-info-autoconf:
3292 @if autoconf
3293 maybe-install-info-autoconf: install-info-autoconf
3295 install-info-autoconf: \
3296 configure-autoconf \
3297 info-autoconf
3298 @: $(MAKE); $(unstage)
3299 @[ -f ./autoconf/Makefile ] || exit 0; \
3300 r=`${PWD_COMMAND}`; export r; \
3301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3302 $(HOST_EXPORTS) \
3303 for flag in $(EXTRA_HOST_FLAGS) ; do \
3304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3305 done; \
3306 echo "Doing install-info in autoconf" ; \
3307 (cd $(HOST_SUBDIR)/autoconf && \
3308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3310 "RANLIB=$${RANLIB}" \
3311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3312 install-info) \
3313 || exit 1
3315 @endif autoconf
3317 .PHONY: maybe-install-html-autoconf install-html-autoconf
3318 maybe-install-html-autoconf:
3319 @if autoconf
3320 maybe-install-html-autoconf: install-html-autoconf
3322 install-html-autoconf: \
3323 configure-autoconf \
3324 html-autoconf
3325 @: $(MAKE); $(unstage)
3326 @[ -f ./autoconf/Makefile ] || exit 0; \
3327 r=`${PWD_COMMAND}`; export r; \
3328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3329 $(HOST_EXPORTS) \
3330 for flag in $(EXTRA_HOST_FLAGS) ; do \
3331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3332 done; \
3333 echo "Doing install-html in autoconf" ; \
3334 (cd $(HOST_SUBDIR)/autoconf && \
3335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3337 "RANLIB=$${RANLIB}" \
3338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3339 install-html) \
3340 || exit 1
3342 @endif autoconf
3344 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3345 maybe-installcheck-autoconf:
3346 @if autoconf
3347 maybe-installcheck-autoconf: installcheck-autoconf
3349 installcheck-autoconf: \
3350 configure-autoconf
3351 @: $(MAKE); $(unstage)
3352 @[ -f ./autoconf/Makefile ] || exit 0; \
3353 r=`${PWD_COMMAND}`; export r; \
3354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3355 $(HOST_EXPORTS) \
3356 for flag in $(EXTRA_HOST_FLAGS) ; do \
3357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3358 done; \
3359 echo "Doing installcheck in autoconf" ; \
3360 (cd $(HOST_SUBDIR)/autoconf && \
3361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3363 "RANLIB=$${RANLIB}" \
3364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3365 installcheck) \
3366 || exit 1
3368 @endif autoconf
3370 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3371 maybe-mostlyclean-autoconf:
3372 @if autoconf
3373 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3375 mostlyclean-autoconf:
3376 @: $(MAKE); $(unstage)
3377 @[ -f ./autoconf/Makefile ] || exit 0; \
3378 r=`${PWD_COMMAND}`; export r; \
3379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3380 $(HOST_EXPORTS) \
3381 for flag in $(EXTRA_HOST_FLAGS) ; do \
3382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3383 done; \
3384 echo "Doing mostlyclean in autoconf" ; \
3385 (cd $(HOST_SUBDIR)/autoconf && \
3386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3388 "RANLIB=$${RANLIB}" \
3389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3390 mostlyclean) \
3391 || exit 1
3393 @endif autoconf
3395 .PHONY: maybe-clean-autoconf clean-autoconf
3396 maybe-clean-autoconf:
3397 @if autoconf
3398 maybe-clean-autoconf: clean-autoconf
3400 clean-autoconf:
3401 @: $(MAKE); $(unstage)
3402 @[ -f ./autoconf/Makefile ] || exit 0; \
3403 r=`${PWD_COMMAND}`; export r; \
3404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3405 $(HOST_EXPORTS) \
3406 for flag in $(EXTRA_HOST_FLAGS) ; do \
3407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3408 done; \
3409 echo "Doing clean in autoconf" ; \
3410 (cd $(HOST_SUBDIR)/autoconf && \
3411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3413 "RANLIB=$${RANLIB}" \
3414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3415 clean) \
3416 || exit 1
3418 @endif autoconf
3420 .PHONY: maybe-distclean-autoconf distclean-autoconf
3421 maybe-distclean-autoconf:
3422 @if autoconf
3423 maybe-distclean-autoconf: distclean-autoconf
3425 distclean-autoconf:
3426 @: $(MAKE); $(unstage)
3427 @[ -f ./autoconf/Makefile ] || exit 0; \
3428 r=`${PWD_COMMAND}`; export r; \
3429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3430 $(HOST_EXPORTS) \
3431 for flag in $(EXTRA_HOST_FLAGS) ; do \
3432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3433 done; \
3434 echo "Doing distclean in autoconf" ; \
3435 (cd $(HOST_SUBDIR)/autoconf && \
3436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3438 "RANLIB=$${RANLIB}" \
3439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3440 distclean) \
3441 || exit 1
3443 @endif autoconf
3445 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3446 maybe-maintainer-clean-autoconf:
3447 @if autoconf
3448 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3450 maintainer-clean-autoconf:
3451 @: $(MAKE); $(unstage)
3452 @[ -f ./autoconf/Makefile ] || exit 0; \
3453 r=`${PWD_COMMAND}`; export r; \
3454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3455 $(HOST_EXPORTS) \
3456 for flag in $(EXTRA_HOST_FLAGS) ; do \
3457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3458 done; \
3459 echo "Doing maintainer-clean in autoconf" ; \
3460 (cd $(HOST_SUBDIR)/autoconf && \
3461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3463 "RANLIB=$${RANLIB}" \
3464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3465 maintainer-clean) \
3466 || exit 1
3468 @endif autoconf
3472 .PHONY: configure-automake maybe-configure-automake
3473 maybe-configure-automake:
3474 @if gcc-bootstrap
3475 configure-automake: stage_current
3476 @endif gcc-bootstrap
3477 @if automake
3478 maybe-configure-automake: configure-automake
3479 configure-automake:
3480 @: $(MAKE); $(unstage)
3481 @r=`${PWD_COMMAND}`; export r; \
3482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3483 test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3484 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3485 $(HOST_EXPORTS) \
3486 echo Configuring in $(HOST_SUBDIR)/automake; \
3487 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3488 case $(srcdir) in \
3489 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3490 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3491 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3492 esac; \
3493 srcdiroption="--srcdir=$${topdir}/automake"; \
3494 libsrcdir="$$s/automake"; \
3495 $(SHELL) $${libsrcdir}/configure \
3496 $(HOST_CONFIGARGS) $${srcdiroption} \
3497 || exit 1
3498 @endif automake
3504 .PHONY: all-automake maybe-all-automake
3505 maybe-all-automake:
3506 @if gcc-bootstrap
3507 all-automake: stage_current
3508 @endif gcc-bootstrap
3509 @if automake
3510 TARGET-automake=all
3511 maybe-all-automake: all-automake
3512 all-automake: configure-automake
3513 @: $(MAKE); $(unstage)
3514 @r=`${PWD_COMMAND}`; export r; \
3515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3516 $(HOST_EXPORTS) \
3517 (cd $(HOST_SUBDIR)/automake && \
3518 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3519 @endif automake
3524 .PHONY: check-automake maybe-check-automake
3525 maybe-check-automake:
3526 @if automake
3527 maybe-check-automake: check-automake
3529 check-automake:
3530 @: $(MAKE); $(unstage)
3531 @r=`${PWD_COMMAND}`; export r; \
3532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3533 $(HOST_EXPORTS) \
3534 (cd $(HOST_SUBDIR)/automake && \
3535 $(MAKE) $(FLAGS_TO_PASS) check)
3537 @endif automake
3539 .PHONY: install-automake maybe-install-automake
3540 maybe-install-automake:
3541 @if automake
3542 maybe-install-automake: install-automake
3544 install-automake: installdirs
3545 @: $(MAKE); $(unstage)
3546 @r=`${PWD_COMMAND}`; export r; \
3547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3548 $(HOST_EXPORTS) \
3549 (cd $(HOST_SUBDIR)/automake && \
3550 $(MAKE) $(FLAGS_TO_PASS) install)
3552 @endif automake
3554 # Other targets (info, dvi, etc.)
3556 .PHONY: maybe-info-automake info-automake
3557 maybe-info-automake:
3558 @if automake
3559 maybe-info-automake: info-automake
3561 info-automake: \
3562 configure-automake
3563 @: $(MAKE); $(unstage)
3564 @[ -f ./automake/Makefile ] || exit 0; \
3565 r=`${PWD_COMMAND}`; export r; \
3566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3567 $(HOST_EXPORTS) \
3568 for flag in $(EXTRA_HOST_FLAGS) ; do \
3569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3570 done; \
3571 echo "Doing info in automake" ; \
3572 (cd $(HOST_SUBDIR)/automake && \
3573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3575 "RANLIB=$${RANLIB}" \
3576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3577 info) \
3578 || exit 1
3580 @endif automake
3582 .PHONY: maybe-dvi-automake dvi-automake
3583 maybe-dvi-automake:
3584 @if automake
3585 maybe-dvi-automake: dvi-automake
3587 dvi-automake: \
3588 configure-automake
3589 @: $(MAKE); $(unstage)
3590 @[ -f ./automake/Makefile ] || exit 0; \
3591 r=`${PWD_COMMAND}`; export r; \
3592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3593 $(HOST_EXPORTS) \
3594 for flag in $(EXTRA_HOST_FLAGS) ; do \
3595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3596 done; \
3597 echo "Doing dvi in automake" ; \
3598 (cd $(HOST_SUBDIR)/automake && \
3599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3601 "RANLIB=$${RANLIB}" \
3602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3603 dvi) \
3604 || exit 1
3606 @endif automake
3608 .PHONY: maybe-html-automake html-automake
3609 maybe-html-automake:
3610 @if automake
3611 maybe-html-automake: html-automake
3613 html-automake: \
3614 configure-automake
3615 @: $(MAKE); $(unstage)
3616 @[ -f ./automake/Makefile ] || exit 0; \
3617 r=`${PWD_COMMAND}`; export r; \
3618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3619 $(HOST_EXPORTS) \
3620 for flag in $(EXTRA_HOST_FLAGS) ; do \
3621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3622 done; \
3623 echo "Doing html in automake" ; \
3624 (cd $(HOST_SUBDIR)/automake && \
3625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3627 "RANLIB=$${RANLIB}" \
3628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3629 html) \
3630 || exit 1
3632 @endif automake
3634 .PHONY: maybe-TAGS-automake TAGS-automake
3635 maybe-TAGS-automake:
3636 @if automake
3637 maybe-TAGS-automake: TAGS-automake
3639 TAGS-automake: \
3640 configure-automake
3641 @: $(MAKE); $(unstage)
3642 @[ -f ./automake/Makefile ] || exit 0; \
3643 r=`${PWD_COMMAND}`; export r; \
3644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3645 $(HOST_EXPORTS) \
3646 for flag in $(EXTRA_HOST_FLAGS) ; do \
3647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3648 done; \
3649 echo "Doing TAGS in automake" ; \
3650 (cd $(HOST_SUBDIR)/automake && \
3651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3653 "RANLIB=$${RANLIB}" \
3654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3655 TAGS) \
3656 || exit 1
3658 @endif automake
3660 .PHONY: maybe-install-info-automake install-info-automake
3661 maybe-install-info-automake:
3662 @if automake
3663 maybe-install-info-automake: install-info-automake
3665 install-info-automake: \
3666 configure-automake \
3667 info-automake
3668 @: $(MAKE); $(unstage)
3669 @[ -f ./automake/Makefile ] || exit 0; \
3670 r=`${PWD_COMMAND}`; export r; \
3671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3672 $(HOST_EXPORTS) \
3673 for flag in $(EXTRA_HOST_FLAGS) ; do \
3674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3675 done; \
3676 echo "Doing install-info in automake" ; \
3677 (cd $(HOST_SUBDIR)/automake && \
3678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3680 "RANLIB=$${RANLIB}" \
3681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3682 install-info) \
3683 || exit 1
3685 @endif automake
3687 .PHONY: maybe-install-html-automake install-html-automake
3688 maybe-install-html-automake:
3689 @if automake
3690 maybe-install-html-automake: install-html-automake
3692 install-html-automake: \
3693 configure-automake \
3694 html-automake
3695 @: $(MAKE); $(unstage)
3696 @[ -f ./automake/Makefile ] || exit 0; \
3697 r=`${PWD_COMMAND}`; export r; \
3698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3699 $(HOST_EXPORTS) \
3700 for flag in $(EXTRA_HOST_FLAGS) ; do \
3701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3702 done; \
3703 echo "Doing install-html in automake" ; \
3704 (cd $(HOST_SUBDIR)/automake && \
3705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3707 "RANLIB=$${RANLIB}" \
3708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3709 install-html) \
3710 || exit 1
3712 @endif automake
3714 .PHONY: maybe-installcheck-automake installcheck-automake
3715 maybe-installcheck-automake:
3716 @if automake
3717 maybe-installcheck-automake: installcheck-automake
3719 installcheck-automake: \
3720 configure-automake
3721 @: $(MAKE); $(unstage)
3722 @[ -f ./automake/Makefile ] || exit 0; \
3723 r=`${PWD_COMMAND}`; export r; \
3724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3725 $(HOST_EXPORTS) \
3726 for flag in $(EXTRA_HOST_FLAGS) ; do \
3727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3728 done; \
3729 echo "Doing installcheck in automake" ; \
3730 (cd $(HOST_SUBDIR)/automake && \
3731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3733 "RANLIB=$${RANLIB}" \
3734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3735 installcheck) \
3736 || exit 1
3738 @endif automake
3740 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3741 maybe-mostlyclean-automake:
3742 @if automake
3743 maybe-mostlyclean-automake: mostlyclean-automake
3745 mostlyclean-automake:
3746 @: $(MAKE); $(unstage)
3747 @[ -f ./automake/Makefile ] || exit 0; \
3748 r=`${PWD_COMMAND}`; export r; \
3749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3750 $(HOST_EXPORTS) \
3751 for flag in $(EXTRA_HOST_FLAGS) ; do \
3752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3753 done; \
3754 echo "Doing mostlyclean in automake" ; \
3755 (cd $(HOST_SUBDIR)/automake && \
3756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3758 "RANLIB=$${RANLIB}" \
3759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3760 mostlyclean) \
3761 || exit 1
3763 @endif automake
3765 .PHONY: maybe-clean-automake clean-automake
3766 maybe-clean-automake:
3767 @if automake
3768 maybe-clean-automake: clean-automake
3770 clean-automake:
3771 @: $(MAKE); $(unstage)
3772 @[ -f ./automake/Makefile ] || exit 0; \
3773 r=`${PWD_COMMAND}`; export r; \
3774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3775 $(HOST_EXPORTS) \
3776 for flag in $(EXTRA_HOST_FLAGS) ; do \
3777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3778 done; \
3779 echo "Doing clean in automake" ; \
3780 (cd $(HOST_SUBDIR)/automake && \
3781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3783 "RANLIB=$${RANLIB}" \
3784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3785 clean) \
3786 || exit 1
3788 @endif automake
3790 .PHONY: maybe-distclean-automake distclean-automake
3791 maybe-distclean-automake:
3792 @if automake
3793 maybe-distclean-automake: distclean-automake
3795 distclean-automake:
3796 @: $(MAKE); $(unstage)
3797 @[ -f ./automake/Makefile ] || exit 0; \
3798 r=`${PWD_COMMAND}`; export r; \
3799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3800 $(HOST_EXPORTS) \
3801 for flag in $(EXTRA_HOST_FLAGS) ; do \
3802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3803 done; \
3804 echo "Doing distclean in automake" ; \
3805 (cd $(HOST_SUBDIR)/automake && \
3806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3808 "RANLIB=$${RANLIB}" \
3809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3810 distclean) \
3811 || exit 1
3813 @endif automake
3815 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3816 maybe-maintainer-clean-automake:
3817 @if automake
3818 maybe-maintainer-clean-automake: maintainer-clean-automake
3820 maintainer-clean-automake:
3821 @: $(MAKE); $(unstage)
3822 @[ -f ./automake/Makefile ] || exit 0; \
3823 r=`${PWD_COMMAND}`; export r; \
3824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3825 $(HOST_EXPORTS) \
3826 for flag in $(EXTRA_HOST_FLAGS) ; do \
3827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3828 done; \
3829 echo "Doing maintainer-clean in automake" ; \
3830 (cd $(HOST_SUBDIR)/automake && \
3831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3833 "RANLIB=$${RANLIB}" \
3834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3835 maintainer-clean) \
3836 || exit 1
3838 @endif automake
3842 .PHONY: configure-bash maybe-configure-bash
3843 maybe-configure-bash:
3844 @if gcc-bootstrap
3845 configure-bash: stage_current
3846 @endif gcc-bootstrap
3847 @if bash
3848 maybe-configure-bash: configure-bash
3849 configure-bash:
3850 @: $(MAKE); $(unstage)
3851 @r=`${PWD_COMMAND}`; export r; \
3852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3853 test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3854 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3855 $(HOST_EXPORTS) \
3856 echo Configuring in $(HOST_SUBDIR)/bash; \
3857 cd "$(HOST_SUBDIR)/bash" || exit 1; \
3858 case $(srcdir) in \
3859 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3860 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3861 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3862 esac; \
3863 srcdiroption="--srcdir=$${topdir}/bash"; \
3864 libsrcdir="$$s/bash"; \
3865 $(SHELL) $${libsrcdir}/configure \
3866 $(HOST_CONFIGARGS) $${srcdiroption} \
3867 || exit 1
3868 @endif bash
3874 .PHONY: all-bash maybe-all-bash
3875 maybe-all-bash:
3876 @if gcc-bootstrap
3877 all-bash: stage_current
3878 @endif gcc-bootstrap
3879 @if bash
3880 TARGET-bash=all
3881 maybe-all-bash: all-bash
3882 all-bash: configure-bash
3883 @: $(MAKE); $(unstage)
3884 @r=`${PWD_COMMAND}`; export r; \
3885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3886 $(HOST_EXPORTS) \
3887 (cd $(HOST_SUBDIR)/bash && \
3888 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3889 @endif bash
3894 .PHONY: check-bash maybe-check-bash
3895 maybe-check-bash:
3896 @if bash
3897 maybe-check-bash: check-bash
3899 check-bash:
3900 @: $(MAKE); $(unstage)
3901 @r=`${PWD_COMMAND}`; export r; \
3902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3903 $(HOST_EXPORTS) \
3904 (cd $(HOST_SUBDIR)/bash && \
3905 $(MAKE) $(FLAGS_TO_PASS) check)
3907 @endif bash
3909 .PHONY: install-bash maybe-install-bash
3910 maybe-install-bash:
3911 @if bash
3912 maybe-install-bash: install-bash
3914 install-bash: installdirs
3915 @: $(MAKE); $(unstage)
3916 @r=`${PWD_COMMAND}`; export r; \
3917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3918 $(HOST_EXPORTS) \
3919 (cd $(HOST_SUBDIR)/bash && \
3920 $(MAKE) $(FLAGS_TO_PASS) install)
3922 @endif bash
3924 # Other targets (info, dvi, etc.)
3926 .PHONY: maybe-info-bash info-bash
3927 maybe-info-bash:
3928 @if bash
3929 maybe-info-bash: info-bash
3931 info-bash: \
3932 configure-bash
3933 @: $(MAKE); $(unstage)
3934 @[ -f ./bash/Makefile ] || exit 0; \
3935 r=`${PWD_COMMAND}`; export r; \
3936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3937 $(HOST_EXPORTS) \
3938 for flag in $(EXTRA_HOST_FLAGS) ; do \
3939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3940 done; \
3941 echo "Doing info in bash" ; \
3942 (cd $(HOST_SUBDIR)/bash && \
3943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3945 "RANLIB=$${RANLIB}" \
3946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3947 info) \
3948 || exit 1
3950 @endif bash
3952 .PHONY: maybe-dvi-bash dvi-bash
3953 maybe-dvi-bash:
3954 @if bash
3955 maybe-dvi-bash: dvi-bash
3957 dvi-bash: \
3958 configure-bash
3959 @: $(MAKE); $(unstage)
3960 @[ -f ./bash/Makefile ] || exit 0; \
3961 r=`${PWD_COMMAND}`; export r; \
3962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3963 $(HOST_EXPORTS) \
3964 for flag in $(EXTRA_HOST_FLAGS) ; do \
3965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3966 done; \
3967 echo "Doing dvi in bash" ; \
3968 (cd $(HOST_SUBDIR)/bash && \
3969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3971 "RANLIB=$${RANLIB}" \
3972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3973 dvi) \
3974 || exit 1
3976 @endif bash
3978 .PHONY: maybe-html-bash html-bash
3979 maybe-html-bash:
3980 @if bash
3981 maybe-html-bash: html-bash
3983 html-bash: \
3984 configure-bash
3985 @: $(MAKE); $(unstage)
3986 @[ -f ./bash/Makefile ] || exit 0; \
3987 r=`${PWD_COMMAND}`; export r; \
3988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3989 $(HOST_EXPORTS) \
3990 for flag in $(EXTRA_HOST_FLAGS) ; do \
3991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3992 done; \
3993 echo "Doing html in bash" ; \
3994 (cd $(HOST_SUBDIR)/bash && \
3995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3997 "RANLIB=$${RANLIB}" \
3998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3999 html) \
4000 || exit 1
4002 @endif bash
4004 .PHONY: maybe-TAGS-bash TAGS-bash
4005 maybe-TAGS-bash:
4006 @if bash
4007 maybe-TAGS-bash: TAGS-bash
4009 TAGS-bash: \
4010 configure-bash
4011 @: $(MAKE); $(unstage)
4012 @[ -f ./bash/Makefile ] || exit 0; \
4013 r=`${PWD_COMMAND}`; export r; \
4014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4015 $(HOST_EXPORTS) \
4016 for flag in $(EXTRA_HOST_FLAGS) ; do \
4017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4018 done; \
4019 echo "Doing TAGS in bash" ; \
4020 (cd $(HOST_SUBDIR)/bash && \
4021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4023 "RANLIB=$${RANLIB}" \
4024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4025 TAGS) \
4026 || exit 1
4028 @endif bash
4030 .PHONY: maybe-install-info-bash install-info-bash
4031 maybe-install-info-bash:
4032 @if bash
4033 maybe-install-info-bash: install-info-bash
4035 install-info-bash: \
4036 configure-bash \
4037 info-bash
4038 @: $(MAKE); $(unstage)
4039 @[ -f ./bash/Makefile ] || exit 0; \
4040 r=`${PWD_COMMAND}`; export r; \
4041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4042 $(HOST_EXPORTS) \
4043 for flag in $(EXTRA_HOST_FLAGS) ; do \
4044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4045 done; \
4046 echo "Doing install-info in bash" ; \
4047 (cd $(HOST_SUBDIR)/bash && \
4048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4050 "RANLIB=$${RANLIB}" \
4051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4052 install-info) \
4053 || exit 1
4055 @endif bash
4057 .PHONY: maybe-install-html-bash install-html-bash
4058 maybe-install-html-bash:
4059 @if bash
4060 maybe-install-html-bash: install-html-bash
4062 install-html-bash: \
4063 configure-bash \
4064 html-bash
4065 @: $(MAKE); $(unstage)
4066 @[ -f ./bash/Makefile ] || exit 0; \
4067 r=`${PWD_COMMAND}`; export r; \
4068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4069 $(HOST_EXPORTS) \
4070 for flag in $(EXTRA_HOST_FLAGS) ; do \
4071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4072 done; \
4073 echo "Doing install-html in bash" ; \
4074 (cd $(HOST_SUBDIR)/bash && \
4075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4077 "RANLIB=$${RANLIB}" \
4078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4079 install-html) \
4080 || exit 1
4082 @endif bash
4084 .PHONY: maybe-installcheck-bash installcheck-bash
4085 maybe-installcheck-bash:
4086 @if bash
4087 maybe-installcheck-bash: installcheck-bash
4089 installcheck-bash: \
4090 configure-bash
4091 @: $(MAKE); $(unstage)
4092 @[ -f ./bash/Makefile ] || exit 0; \
4093 r=`${PWD_COMMAND}`; export r; \
4094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4095 $(HOST_EXPORTS) \
4096 for flag in $(EXTRA_HOST_FLAGS) ; do \
4097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4098 done; \
4099 echo "Doing installcheck in bash" ; \
4100 (cd $(HOST_SUBDIR)/bash && \
4101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4103 "RANLIB=$${RANLIB}" \
4104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4105 installcheck) \
4106 || exit 1
4108 @endif bash
4110 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
4111 maybe-mostlyclean-bash:
4112 @if bash
4113 maybe-mostlyclean-bash: mostlyclean-bash
4115 mostlyclean-bash:
4116 @: $(MAKE); $(unstage)
4117 @[ -f ./bash/Makefile ] || exit 0; \
4118 r=`${PWD_COMMAND}`; export r; \
4119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4120 $(HOST_EXPORTS) \
4121 for flag in $(EXTRA_HOST_FLAGS) ; do \
4122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4123 done; \
4124 echo "Doing mostlyclean in bash" ; \
4125 (cd $(HOST_SUBDIR)/bash && \
4126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4128 "RANLIB=$${RANLIB}" \
4129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4130 mostlyclean) \
4131 || exit 1
4133 @endif bash
4135 .PHONY: maybe-clean-bash clean-bash
4136 maybe-clean-bash:
4137 @if bash
4138 maybe-clean-bash: clean-bash
4140 clean-bash:
4141 @: $(MAKE); $(unstage)
4142 @[ -f ./bash/Makefile ] || exit 0; \
4143 r=`${PWD_COMMAND}`; export r; \
4144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4145 $(HOST_EXPORTS) \
4146 for flag in $(EXTRA_HOST_FLAGS) ; do \
4147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4148 done; \
4149 echo "Doing clean in bash" ; \
4150 (cd $(HOST_SUBDIR)/bash && \
4151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4153 "RANLIB=$${RANLIB}" \
4154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4155 clean) \
4156 || exit 1
4158 @endif bash
4160 .PHONY: maybe-distclean-bash distclean-bash
4161 maybe-distclean-bash:
4162 @if bash
4163 maybe-distclean-bash: distclean-bash
4165 distclean-bash:
4166 @: $(MAKE); $(unstage)
4167 @[ -f ./bash/Makefile ] || exit 0; \
4168 r=`${PWD_COMMAND}`; export r; \
4169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4170 $(HOST_EXPORTS) \
4171 for flag in $(EXTRA_HOST_FLAGS) ; do \
4172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4173 done; \
4174 echo "Doing distclean in bash" ; \
4175 (cd $(HOST_SUBDIR)/bash && \
4176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4178 "RANLIB=$${RANLIB}" \
4179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4180 distclean) \
4181 || exit 1
4183 @endif bash
4185 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
4186 maybe-maintainer-clean-bash:
4187 @if bash
4188 maybe-maintainer-clean-bash: maintainer-clean-bash
4190 maintainer-clean-bash:
4191 @: $(MAKE); $(unstage)
4192 @[ -f ./bash/Makefile ] || exit 0; \
4193 r=`${PWD_COMMAND}`; export r; \
4194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4195 $(HOST_EXPORTS) \
4196 for flag in $(EXTRA_HOST_FLAGS) ; do \
4197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4198 done; \
4199 echo "Doing maintainer-clean in bash" ; \
4200 (cd $(HOST_SUBDIR)/bash && \
4201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4203 "RANLIB=$${RANLIB}" \
4204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4205 maintainer-clean) \
4206 || exit 1
4208 @endif bash
4212 .PHONY: configure-bfd maybe-configure-bfd
4213 maybe-configure-bfd:
4214 @if gcc-bootstrap
4215 configure-bfd: stage_current
4216 @endif gcc-bootstrap
4217 @if bfd
4218 maybe-configure-bfd: configure-bfd
4219 configure-bfd:
4220 @r=`${PWD_COMMAND}`; export r; \
4221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4222 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4223 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4224 $(HOST_EXPORTS) \
4225 echo Configuring in $(HOST_SUBDIR)/bfd; \
4226 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
4227 case $(srcdir) in \
4228 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4229 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4230 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4231 esac; \
4232 srcdiroption="--srcdir=$${topdir}/bfd"; \
4233 libsrcdir="$$s/bfd"; \
4234 $(SHELL) $${libsrcdir}/configure \
4235 $(HOST_CONFIGARGS) $${srcdiroption} \
4236 || exit 1
4237 @endif bfd
4241 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
4242 maybe-configure-stage1-bfd:
4243 @if bfd-bootstrap
4244 maybe-configure-stage1-bfd: configure-stage1-bfd
4245 configure-stage1-bfd:
4246 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4247 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4248 @r=`${PWD_COMMAND}`; export r; \
4249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4250 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4251 $(HOST_EXPORTS) \
4252 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
4253 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4254 cd $(HOST_SUBDIR)/bfd || exit 1; \
4255 case $(srcdir) in \
4256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4257 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4259 esac; \
4260 srcdiroption="--srcdir=$${topdir}/bfd"; \
4261 libsrcdir="$$s/bfd"; \
4262 $(SHELL) $${libsrcdir}/configure \
4263 $(HOST_CONFIGARGS) $${srcdiroption} \
4265 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4266 @endif bfd-bootstrap
4268 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
4269 maybe-configure-stage2-bfd:
4270 @if bfd-bootstrap
4271 maybe-configure-stage2-bfd: configure-stage2-bfd
4272 configure-stage2-bfd:
4273 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4274 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4275 @r=`${PWD_COMMAND}`; export r; \
4276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4277 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4278 $(HOST_EXPORTS) \
4279 $(POSTSTAGE1_HOST_EXPORTS) \
4280 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4281 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4282 cd $(HOST_SUBDIR)/bfd || exit 1; \
4283 case $(srcdir) in \
4284 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4285 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4286 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4287 esac; \
4288 srcdiroption="--srcdir=$${topdir}/bfd"; \
4289 libsrcdir="$$s/bfd"; \
4290 $(SHELL) $${libsrcdir}/configure \
4291 $(HOST_CONFIGARGS) $${srcdiroption} \
4292 --with-build-libsubdir=$(HOST_SUBDIR) \
4293 @stage2_werror_flag@
4294 @endif bfd-bootstrap
4296 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
4297 maybe-configure-stage3-bfd:
4298 @if bfd-bootstrap
4299 maybe-configure-stage3-bfd: configure-stage3-bfd
4300 configure-stage3-bfd:
4301 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4302 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4303 @r=`${PWD_COMMAND}`; export r; \
4304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4305 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4306 $(HOST_EXPORTS) \
4307 $(POSTSTAGE1_HOST_EXPORTS) \
4308 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4309 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4310 cd $(HOST_SUBDIR)/bfd || exit 1; \
4311 case $(srcdir) in \
4312 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4313 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4314 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4315 esac; \
4316 srcdiroption="--srcdir=$${topdir}/bfd"; \
4317 libsrcdir="$$s/bfd"; \
4318 $(SHELL) $${libsrcdir}/configure \
4319 $(HOST_CONFIGARGS) $${srcdiroption} \
4320 --with-build-libsubdir=$(HOST_SUBDIR) \
4321 @stage2_werror_flag@
4322 @endif bfd-bootstrap
4324 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4325 maybe-configure-stage4-bfd:
4326 @if bfd-bootstrap
4327 maybe-configure-stage4-bfd: configure-stage4-bfd
4328 configure-stage4-bfd:
4329 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4330 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4331 @r=`${PWD_COMMAND}`; export r; \
4332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4333 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4334 $(HOST_EXPORTS) \
4335 $(POSTSTAGE1_HOST_EXPORTS) \
4336 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4337 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4338 cd $(HOST_SUBDIR)/bfd || exit 1; \
4339 case $(srcdir) in \
4340 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4341 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4342 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4343 esac; \
4344 srcdiroption="--srcdir=$${topdir}/bfd"; \
4345 libsrcdir="$$s/bfd"; \
4346 $(SHELL) $${libsrcdir}/configure \
4347 $(HOST_CONFIGARGS) $${srcdiroption} \
4348 --with-build-libsubdir=$(HOST_SUBDIR) \
4349 @stage2_werror_flag@
4350 @endif bfd-bootstrap
4352 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4353 maybe-configure-stageprofile-bfd:
4354 @if bfd-bootstrap
4355 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4356 configure-stageprofile-bfd:
4357 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4358 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4359 @r=`${PWD_COMMAND}`; export r; \
4360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4361 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4362 $(HOST_EXPORTS) \
4363 $(POSTSTAGE1_HOST_EXPORTS) \
4364 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4365 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4366 cd $(HOST_SUBDIR)/bfd || exit 1; \
4367 case $(srcdir) in \
4368 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4369 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4370 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4371 esac; \
4372 srcdiroption="--srcdir=$${topdir}/bfd"; \
4373 libsrcdir="$$s/bfd"; \
4374 $(SHELL) $${libsrcdir}/configure \
4375 $(HOST_CONFIGARGS) $${srcdiroption} \
4376 --with-build-libsubdir=$(HOST_SUBDIR) \
4377 @stage2_werror_flag@
4378 @endif bfd-bootstrap
4380 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4381 maybe-configure-stagefeedback-bfd:
4382 @if bfd-bootstrap
4383 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4384 configure-stagefeedback-bfd:
4385 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4386 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4387 @r=`${PWD_COMMAND}`; export r; \
4388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4389 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4390 $(HOST_EXPORTS) \
4391 $(POSTSTAGE1_HOST_EXPORTS) \
4392 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4393 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4394 cd $(HOST_SUBDIR)/bfd || exit 1; \
4395 case $(srcdir) in \
4396 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4397 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4398 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4399 esac; \
4400 srcdiroption="--srcdir=$${topdir}/bfd"; \
4401 libsrcdir="$$s/bfd"; \
4402 $(SHELL) $${libsrcdir}/configure \
4403 $(HOST_CONFIGARGS) $${srcdiroption} \
4404 --with-build-libsubdir=$(HOST_SUBDIR) \
4405 @stage2_werror_flag@
4406 @endif bfd-bootstrap
4412 .PHONY: all-bfd maybe-all-bfd
4413 maybe-all-bfd:
4414 @if gcc-bootstrap
4415 all-bfd: stage_current
4416 @endif gcc-bootstrap
4417 @if bfd
4418 TARGET-bfd=all
4419 maybe-all-bfd: all-bfd
4420 all-bfd: configure-bfd
4421 @r=`${PWD_COMMAND}`; export r; \
4422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4423 $(HOST_EXPORTS) \
4424 (cd $(HOST_SUBDIR)/bfd && \
4425 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4426 @endif bfd
4430 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4431 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4432 maybe-all-stage1-bfd:
4433 maybe-clean-stage1-bfd:
4434 @if bfd-bootstrap
4435 maybe-all-stage1-bfd: all-stage1-bfd
4436 all-stage1: all-stage1-bfd
4437 TARGET-stage1-bfd = $(TARGET-bfd)
4438 all-stage1-bfd: configure-stage1-bfd
4439 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4440 @r=`${PWD_COMMAND}`; export r; \
4441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4442 $(HOST_EXPORTS) \
4443 cd $(HOST_SUBDIR)/bfd && \
4444 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
4445 $(TARGET-stage1-bfd)
4447 maybe-clean-stage1-bfd: clean-stage1-bfd
4448 clean-stage1: clean-stage1-bfd
4449 clean-stage1-bfd:
4450 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \
4451 || exit 0 ; \
4452 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
4453 cd $(HOST_SUBDIR)/bfd && \
4454 $(MAKE) $(FLAGS_TO_PASS) \
4455 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
4456 @endif bfd-bootstrap
4459 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4460 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4461 maybe-all-stage2-bfd:
4462 maybe-clean-stage2-bfd:
4463 @if bfd-bootstrap
4464 maybe-all-stage2-bfd: all-stage2-bfd
4465 all-stage2: all-stage2-bfd
4466 TARGET-stage2-bfd = $(TARGET-bfd)
4467 all-stage2-bfd: configure-stage2-bfd
4468 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4469 @r=`${PWD_COMMAND}`; export r; \
4470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4471 $(HOST_EXPORTS) \
4472 $(POSTSTAGE1_HOST_EXPORTS) \
4473 cd $(HOST_SUBDIR)/bfd && \
4474 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4475 $(TARGET-stage2-bfd)
4477 maybe-clean-stage2-bfd: clean-stage2-bfd
4478 clean-stage2: clean-stage2-bfd
4479 clean-stage2-bfd:
4480 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \
4481 || exit 0 ; \
4482 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
4483 cd $(HOST_SUBDIR)/bfd && \
4484 $(MAKE) $(FLAGS_TO_PASS) \
4485 $(POSTSTAGE1_FLAGS_TO_PASS) \
4486 clean
4487 @endif bfd-bootstrap
4490 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4491 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4492 maybe-all-stage3-bfd:
4493 maybe-clean-stage3-bfd:
4494 @if bfd-bootstrap
4495 maybe-all-stage3-bfd: all-stage3-bfd
4496 all-stage3: all-stage3-bfd
4497 TARGET-stage3-bfd = $(TARGET-bfd)
4498 all-stage3-bfd: configure-stage3-bfd
4499 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4500 @r=`${PWD_COMMAND}`; export r; \
4501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4502 $(HOST_EXPORTS) \
4503 $(POSTSTAGE1_HOST_EXPORTS) \
4504 cd $(HOST_SUBDIR)/bfd && \
4505 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4506 $(TARGET-stage3-bfd)
4508 maybe-clean-stage3-bfd: clean-stage3-bfd
4509 clean-stage3: clean-stage3-bfd
4510 clean-stage3-bfd:
4511 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] \
4512 || exit 0 ; \
4513 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
4514 cd $(HOST_SUBDIR)/bfd && \
4515 $(MAKE) $(FLAGS_TO_PASS) \
4516 $(POSTSTAGE1_FLAGS_TO_PASS) \
4517 clean
4518 @endif bfd-bootstrap
4521 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4522 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4523 maybe-all-stage4-bfd:
4524 maybe-clean-stage4-bfd:
4525 @if bfd-bootstrap
4526 maybe-all-stage4-bfd: all-stage4-bfd
4527 all-stage4: all-stage4-bfd
4528 TARGET-stage4-bfd = $(TARGET-bfd)
4529 all-stage4-bfd: configure-stage4-bfd
4530 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4531 @r=`${PWD_COMMAND}`; export r; \
4532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4533 $(HOST_EXPORTS) \
4534 $(POSTSTAGE1_HOST_EXPORTS) \
4535 cd $(HOST_SUBDIR)/bfd && \
4536 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4537 $(TARGET-stage4-bfd)
4539 maybe-clean-stage4-bfd: clean-stage4-bfd
4540 clean-stage4: clean-stage4-bfd
4541 clean-stage4-bfd:
4542 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] \
4543 || exit 0 ; \
4544 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
4545 cd $(HOST_SUBDIR)/bfd && \
4546 $(MAKE) $(FLAGS_TO_PASS) \
4547 $(POSTSTAGE1_FLAGS_TO_PASS) \
4548 clean
4549 @endif bfd-bootstrap
4552 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4553 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4554 maybe-all-stageprofile-bfd:
4555 maybe-clean-stageprofile-bfd:
4556 @if bfd-bootstrap
4557 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4558 all-stageprofile: all-stageprofile-bfd
4559 TARGET-stageprofile-bfd = $(TARGET-bfd)
4560 all-stageprofile-bfd: configure-stageprofile-bfd
4561 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4562 @r=`${PWD_COMMAND}`; export r; \
4563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4564 $(HOST_EXPORTS) \
4565 $(POSTSTAGE1_HOST_EXPORTS) \
4566 cd $(HOST_SUBDIR)/bfd && \
4567 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4568 $(TARGET-stageprofile-bfd)
4570 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4571 clean-stageprofile: clean-stageprofile-bfd
4572 clean-stageprofile-bfd:
4573 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] \
4574 || exit 0 ; \
4575 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
4576 cd $(HOST_SUBDIR)/bfd && \
4577 $(MAKE) $(FLAGS_TO_PASS) \
4578 $(POSTSTAGE1_FLAGS_TO_PASS) \
4579 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4580 @endif bfd-bootstrap
4583 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4584 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4585 maybe-all-stagefeedback-bfd:
4586 maybe-clean-stagefeedback-bfd:
4587 @if bfd-bootstrap
4588 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4589 all-stagefeedback: all-stagefeedback-bfd
4590 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4591 all-stagefeedback-bfd: configure-stagefeedback-bfd
4592 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4593 @r=`${PWD_COMMAND}`; export r; \
4594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4595 $(HOST_EXPORTS) \
4596 $(POSTSTAGE1_HOST_EXPORTS) \
4597 cd $(HOST_SUBDIR)/bfd && \
4598 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4599 $(TARGET-stagefeedback-bfd)
4601 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4602 clean-stagefeedback: clean-stagefeedback-bfd
4603 clean-stagefeedback-bfd:
4604 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] \
4605 || exit 0 ; \
4606 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
4607 cd $(HOST_SUBDIR)/bfd && \
4608 $(MAKE) $(FLAGS_TO_PASS) \
4609 $(POSTSTAGE1_FLAGS_TO_PASS) \
4610 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4611 @endif bfd-bootstrap
4617 .PHONY: check-bfd maybe-check-bfd
4618 maybe-check-bfd:
4619 @if bfd
4620 maybe-check-bfd: check-bfd
4622 check-bfd:
4623 @: $(MAKE); $(unstage)
4624 @r=`${PWD_COMMAND}`; export r; \
4625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4626 $(HOST_EXPORTS) \
4627 (cd $(HOST_SUBDIR)/bfd && \
4628 $(MAKE) $(FLAGS_TO_PASS) check)
4630 @endif bfd
4632 .PHONY: install-bfd maybe-install-bfd
4633 maybe-install-bfd:
4634 @if bfd
4635 maybe-install-bfd: install-bfd
4637 install-bfd: installdirs
4638 @: $(MAKE); $(unstage)
4639 @r=`${PWD_COMMAND}`; export r; \
4640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4641 $(HOST_EXPORTS) \
4642 (cd $(HOST_SUBDIR)/bfd && \
4643 $(MAKE) $(FLAGS_TO_PASS) install)
4645 @endif bfd
4647 # Other targets (info, dvi, etc.)
4649 .PHONY: maybe-info-bfd info-bfd
4650 maybe-info-bfd:
4651 @if bfd
4652 maybe-info-bfd: info-bfd
4654 info-bfd: \
4655 configure-bfd
4656 @[ -f ./bfd/Makefile ] || exit 0; \
4657 r=`${PWD_COMMAND}`; export r; \
4658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4659 $(HOST_EXPORTS) \
4660 for flag in $(EXTRA_HOST_FLAGS) ; do \
4661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4662 done; \
4663 echo "Doing info in bfd" ; \
4664 (cd $(HOST_SUBDIR)/bfd && \
4665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4667 "RANLIB=$${RANLIB}" \
4668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4669 info) \
4670 || exit 1
4672 @endif bfd
4674 .PHONY: maybe-dvi-bfd dvi-bfd
4675 maybe-dvi-bfd:
4676 @if bfd
4677 maybe-dvi-bfd: dvi-bfd
4679 dvi-bfd: \
4680 configure-bfd
4681 @[ -f ./bfd/Makefile ] || exit 0; \
4682 r=`${PWD_COMMAND}`; export r; \
4683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4684 $(HOST_EXPORTS) \
4685 for flag in $(EXTRA_HOST_FLAGS) ; do \
4686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4687 done; \
4688 echo "Doing dvi in bfd" ; \
4689 (cd $(HOST_SUBDIR)/bfd && \
4690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4692 "RANLIB=$${RANLIB}" \
4693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4694 dvi) \
4695 || exit 1
4697 @endif bfd
4699 .PHONY: maybe-html-bfd html-bfd
4700 maybe-html-bfd:
4701 @if bfd
4702 maybe-html-bfd: html-bfd
4704 html-bfd: \
4705 configure-bfd
4706 @[ -f ./bfd/Makefile ] || exit 0; \
4707 r=`${PWD_COMMAND}`; export r; \
4708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4709 $(HOST_EXPORTS) \
4710 for flag in $(EXTRA_HOST_FLAGS) ; do \
4711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4712 done; \
4713 echo "Doing html in bfd" ; \
4714 (cd $(HOST_SUBDIR)/bfd && \
4715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4717 "RANLIB=$${RANLIB}" \
4718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4719 html) \
4720 || exit 1
4722 @endif bfd
4724 .PHONY: maybe-TAGS-bfd TAGS-bfd
4725 maybe-TAGS-bfd:
4726 @if bfd
4727 maybe-TAGS-bfd: TAGS-bfd
4729 TAGS-bfd: \
4730 configure-bfd
4731 @[ -f ./bfd/Makefile ] || exit 0; \
4732 r=`${PWD_COMMAND}`; export r; \
4733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4734 $(HOST_EXPORTS) \
4735 for flag in $(EXTRA_HOST_FLAGS) ; do \
4736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4737 done; \
4738 echo "Doing TAGS in bfd" ; \
4739 (cd $(HOST_SUBDIR)/bfd && \
4740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4742 "RANLIB=$${RANLIB}" \
4743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4744 TAGS) \
4745 || exit 1
4747 @endif bfd
4749 .PHONY: maybe-install-info-bfd install-info-bfd
4750 maybe-install-info-bfd:
4751 @if bfd
4752 maybe-install-info-bfd: install-info-bfd
4754 install-info-bfd: \
4755 configure-bfd \
4756 info-bfd
4757 @[ -f ./bfd/Makefile ] || exit 0; \
4758 r=`${PWD_COMMAND}`; export r; \
4759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4760 $(HOST_EXPORTS) \
4761 for flag in $(EXTRA_HOST_FLAGS) ; do \
4762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4763 done; \
4764 echo "Doing install-info in bfd" ; \
4765 (cd $(HOST_SUBDIR)/bfd && \
4766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4768 "RANLIB=$${RANLIB}" \
4769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4770 install-info) \
4771 || exit 1
4773 @endif bfd
4775 .PHONY: maybe-install-html-bfd install-html-bfd
4776 maybe-install-html-bfd:
4777 @if bfd
4778 maybe-install-html-bfd: install-html-bfd
4780 install-html-bfd: \
4781 configure-bfd \
4782 html-bfd
4783 @[ -f ./bfd/Makefile ] || exit 0; \
4784 r=`${PWD_COMMAND}`; export r; \
4785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4786 $(HOST_EXPORTS) \
4787 for flag in $(EXTRA_HOST_FLAGS) ; do \
4788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4789 done; \
4790 echo "Doing install-html in bfd" ; \
4791 (cd $(HOST_SUBDIR)/bfd && \
4792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4794 "RANLIB=$${RANLIB}" \
4795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4796 install-html) \
4797 || exit 1
4799 @endif bfd
4801 .PHONY: maybe-installcheck-bfd installcheck-bfd
4802 maybe-installcheck-bfd:
4803 @if bfd
4804 maybe-installcheck-bfd: installcheck-bfd
4806 installcheck-bfd: \
4807 configure-bfd
4808 @[ -f ./bfd/Makefile ] || exit 0; \
4809 r=`${PWD_COMMAND}`; export r; \
4810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4811 $(HOST_EXPORTS) \
4812 for flag in $(EXTRA_HOST_FLAGS) ; do \
4813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4814 done; \
4815 echo "Doing installcheck in bfd" ; \
4816 (cd $(HOST_SUBDIR)/bfd && \
4817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4819 "RANLIB=$${RANLIB}" \
4820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4821 installcheck) \
4822 || exit 1
4824 @endif bfd
4826 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4827 maybe-mostlyclean-bfd:
4828 @if bfd
4829 maybe-mostlyclean-bfd: mostlyclean-bfd
4831 mostlyclean-bfd:
4832 @[ -f ./bfd/Makefile ] || exit 0; \
4833 r=`${PWD_COMMAND}`; export r; \
4834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4835 $(HOST_EXPORTS) \
4836 for flag in $(EXTRA_HOST_FLAGS) ; do \
4837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4838 done; \
4839 echo "Doing mostlyclean in bfd" ; \
4840 (cd $(HOST_SUBDIR)/bfd && \
4841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4843 "RANLIB=$${RANLIB}" \
4844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4845 mostlyclean) \
4846 || exit 1
4848 @endif bfd
4850 .PHONY: maybe-clean-bfd clean-bfd
4851 maybe-clean-bfd:
4852 @if bfd
4853 maybe-clean-bfd: clean-bfd
4855 clean-bfd:
4856 @[ -f ./bfd/Makefile ] || exit 0; \
4857 r=`${PWD_COMMAND}`; export r; \
4858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4859 $(HOST_EXPORTS) \
4860 for flag in $(EXTRA_HOST_FLAGS) ; do \
4861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4862 done; \
4863 echo "Doing clean in bfd" ; \
4864 (cd $(HOST_SUBDIR)/bfd && \
4865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4867 "RANLIB=$${RANLIB}" \
4868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4869 clean) \
4870 || exit 1
4872 @endif bfd
4874 .PHONY: maybe-distclean-bfd distclean-bfd
4875 maybe-distclean-bfd:
4876 @if bfd
4877 maybe-distclean-bfd: distclean-bfd
4879 distclean-bfd:
4880 @[ -f ./bfd/Makefile ] || exit 0; \
4881 r=`${PWD_COMMAND}`; export r; \
4882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4883 $(HOST_EXPORTS) \
4884 for flag in $(EXTRA_HOST_FLAGS) ; do \
4885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4886 done; \
4887 echo "Doing distclean in bfd" ; \
4888 (cd $(HOST_SUBDIR)/bfd && \
4889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4891 "RANLIB=$${RANLIB}" \
4892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4893 distclean) \
4894 || exit 1
4896 @endif bfd
4898 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4899 maybe-maintainer-clean-bfd:
4900 @if bfd
4901 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4903 maintainer-clean-bfd:
4904 @[ -f ./bfd/Makefile ] || exit 0; \
4905 r=`${PWD_COMMAND}`; export r; \
4906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4907 $(HOST_EXPORTS) \
4908 for flag in $(EXTRA_HOST_FLAGS) ; do \
4909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4910 done; \
4911 echo "Doing maintainer-clean in bfd" ; \
4912 (cd $(HOST_SUBDIR)/bfd && \
4913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4915 "RANLIB=$${RANLIB}" \
4916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4917 maintainer-clean) \
4918 || exit 1
4920 @endif bfd
4924 .PHONY: configure-opcodes maybe-configure-opcodes
4925 maybe-configure-opcodes:
4926 @if gcc-bootstrap
4927 configure-opcodes: stage_current
4928 @endif gcc-bootstrap
4929 @if opcodes
4930 maybe-configure-opcodes: configure-opcodes
4931 configure-opcodes:
4932 @r=`${PWD_COMMAND}`; export r; \
4933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4934 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4935 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4936 $(HOST_EXPORTS) \
4937 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4938 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4939 case $(srcdir) in \
4940 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4941 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4942 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4943 esac; \
4944 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4945 libsrcdir="$$s/opcodes"; \
4946 $(SHELL) $${libsrcdir}/configure \
4947 $(HOST_CONFIGARGS) $${srcdiroption} \
4948 || exit 1
4949 @endif opcodes
4953 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4954 maybe-configure-stage1-opcodes:
4955 @if opcodes-bootstrap
4956 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4957 configure-stage1-opcodes:
4958 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4959 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4960 @r=`${PWD_COMMAND}`; export r; \
4961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4962 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4963 $(HOST_EXPORTS) \
4964 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4965 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4966 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4967 case $(srcdir) in \
4968 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4969 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4970 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4971 esac; \
4972 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4973 libsrcdir="$$s/opcodes"; \
4974 $(SHELL) $${libsrcdir}/configure \
4975 $(HOST_CONFIGARGS) $${srcdiroption} \
4977 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4978 @endif opcodes-bootstrap
4980 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4981 maybe-configure-stage2-opcodes:
4982 @if opcodes-bootstrap
4983 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4984 configure-stage2-opcodes:
4985 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4986 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4987 @r=`${PWD_COMMAND}`; export r; \
4988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4989 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4990 $(HOST_EXPORTS) \
4991 $(POSTSTAGE1_HOST_EXPORTS) \
4992 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4993 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4994 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4995 case $(srcdir) in \
4996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4997 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4999 esac; \
5000 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5001 libsrcdir="$$s/opcodes"; \
5002 $(SHELL) $${libsrcdir}/configure \
5003 $(HOST_CONFIGARGS) $${srcdiroption} \
5004 --with-build-libsubdir=$(HOST_SUBDIR) \
5005 @stage2_werror_flag@
5006 @endif opcodes-bootstrap
5008 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
5009 maybe-configure-stage3-opcodes:
5010 @if opcodes-bootstrap
5011 maybe-configure-stage3-opcodes: configure-stage3-opcodes
5012 configure-stage3-opcodes:
5013 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5014 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5015 @r=`${PWD_COMMAND}`; export r; \
5016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5017 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5018 $(HOST_EXPORTS) \
5019 $(POSTSTAGE1_HOST_EXPORTS) \
5020 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
5021 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5022 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5023 case $(srcdir) in \
5024 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5025 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5026 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5027 esac; \
5028 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5029 libsrcdir="$$s/opcodes"; \
5030 $(SHELL) $${libsrcdir}/configure \
5031 $(HOST_CONFIGARGS) $${srcdiroption} \
5032 --with-build-libsubdir=$(HOST_SUBDIR) \
5033 @stage2_werror_flag@
5034 @endif opcodes-bootstrap
5036 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
5037 maybe-configure-stage4-opcodes:
5038 @if opcodes-bootstrap
5039 maybe-configure-stage4-opcodes: configure-stage4-opcodes
5040 configure-stage4-opcodes:
5041 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5042 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5043 @r=`${PWD_COMMAND}`; export r; \
5044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5045 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5046 $(HOST_EXPORTS) \
5047 $(POSTSTAGE1_HOST_EXPORTS) \
5048 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
5049 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5050 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5051 case $(srcdir) in \
5052 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5053 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5054 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5055 esac; \
5056 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5057 libsrcdir="$$s/opcodes"; \
5058 $(SHELL) $${libsrcdir}/configure \
5059 $(HOST_CONFIGARGS) $${srcdiroption} \
5060 --with-build-libsubdir=$(HOST_SUBDIR) \
5061 @stage2_werror_flag@
5062 @endif opcodes-bootstrap
5064 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
5065 maybe-configure-stageprofile-opcodes:
5066 @if opcodes-bootstrap
5067 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
5068 configure-stageprofile-opcodes:
5069 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5070 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5071 @r=`${PWD_COMMAND}`; export r; \
5072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5073 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5074 $(HOST_EXPORTS) \
5075 $(POSTSTAGE1_HOST_EXPORTS) \
5076 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
5077 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5078 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5079 case $(srcdir) in \
5080 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5081 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5082 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5083 esac; \
5084 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5085 libsrcdir="$$s/opcodes"; \
5086 $(SHELL) $${libsrcdir}/configure \
5087 $(HOST_CONFIGARGS) $${srcdiroption} \
5088 --with-build-libsubdir=$(HOST_SUBDIR) \
5089 @stage2_werror_flag@
5090 @endif opcodes-bootstrap
5092 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
5093 maybe-configure-stagefeedback-opcodes:
5094 @if opcodes-bootstrap
5095 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
5096 configure-stagefeedback-opcodes:
5097 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5098 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5099 @r=`${PWD_COMMAND}`; export r; \
5100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5101 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5102 $(HOST_EXPORTS) \
5103 $(POSTSTAGE1_HOST_EXPORTS) \
5104 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
5105 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5106 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5107 case $(srcdir) in \
5108 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5109 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5110 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5111 esac; \
5112 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5113 libsrcdir="$$s/opcodes"; \
5114 $(SHELL) $${libsrcdir}/configure \
5115 $(HOST_CONFIGARGS) $${srcdiroption} \
5116 --with-build-libsubdir=$(HOST_SUBDIR) \
5117 @stage2_werror_flag@
5118 @endif opcodes-bootstrap
5124 .PHONY: all-opcodes maybe-all-opcodes
5125 maybe-all-opcodes:
5126 @if gcc-bootstrap
5127 all-opcodes: stage_current
5128 @endif gcc-bootstrap
5129 @if opcodes
5130 TARGET-opcodes=all
5131 maybe-all-opcodes: all-opcodes
5132 all-opcodes: configure-opcodes
5133 @r=`${PWD_COMMAND}`; export r; \
5134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5135 $(HOST_EXPORTS) \
5136 (cd $(HOST_SUBDIR)/opcodes && \
5137 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
5138 @endif opcodes
5142 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
5143 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
5144 maybe-all-stage1-opcodes:
5145 maybe-clean-stage1-opcodes:
5146 @if opcodes-bootstrap
5147 maybe-all-stage1-opcodes: all-stage1-opcodes
5148 all-stage1: all-stage1-opcodes
5149 TARGET-stage1-opcodes = $(TARGET-opcodes)
5150 all-stage1-opcodes: configure-stage1-opcodes
5151 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5152 @r=`${PWD_COMMAND}`; export r; \
5153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5154 $(HOST_EXPORTS) \
5155 cd $(HOST_SUBDIR)/opcodes && \
5156 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
5157 $(TARGET-stage1-opcodes)
5159 maybe-clean-stage1-opcodes: clean-stage1-opcodes
5160 clean-stage1: clean-stage1-opcodes
5161 clean-stage1-opcodes:
5162 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] \
5163 || exit 0 ; \
5164 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
5165 cd $(HOST_SUBDIR)/opcodes && \
5166 $(MAKE) $(FLAGS_TO_PASS) \
5167 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
5168 @endif opcodes-bootstrap
5171 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
5172 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
5173 maybe-all-stage2-opcodes:
5174 maybe-clean-stage2-opcodes:
5175 @if opcodes-bootstrap
5176 maybe-all-stage2-opcodes: all-stage2-opcodes
5177 all-stage2: all-stage2-opcodes
5178 TARGET-stage2-opcodes = $(TARGET-opcodes)
5179 all-stage2-opcodes: configure-stage2-opcodes
5180 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5181 @r=`${PWD_COMMAND}`; export r; \
5182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5183 $(HOST_EXPORTS) \
5184 $(POSTSTAGE1_HOST_EXPORTS) \
5185 cd $(HOST_SUBDIR)/opcodes && \
5186 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5187 $(TARGET-stage2-opcodes)
5189 maybe-clean-stage2-opcodes: clean-stage2-opcodes
5190 clean-stage2: clean-stage2-opcodes
5191 clean-stage2-opcodes:
5192 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] \
5193 || exit 0 ; \
5194 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
5195 cd $(HOST_SUBDIR)/opcodes && \
5196 $(MAKE) $(FLAGS_TO_PASS) \
5197 $(POSTSTAGE1_FLAGS_TO_PASS) \
5198 clean
5199 @endif opcodes-bootstrap
5202 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
5203 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
5204 maybe-all-stage3-opcodes:
5205 maybe-clean-stage3-opcodes:
5206 @if opcodes-bootstrap
5207 maybe-all-stage3-opcodes: all-stage3-opcodes
5208 all-stage3: all-stage3-opcodes
5209 TARGET-stage3-opcodes = $(TARGET-opcodes)
5210 all-stage3-opcodes: configure-stage3-opcodes
5211 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5212 @r=`${PWD_COMMAND}`; export r; \
5213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5214 $(HOST_EXPORTS) \
5215 $(POSTSTAGE1_HOST_EXPORTS) \
5216 cd $(HOST_SUBDIR)/opcodes && \
5217 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5218 $(TARGET-stage3-opcodes)
5220 maybe-clean-stage3-opcodes: clean-stage3-opcodes
5221 clean-stage3: clean-stage3-opcodes
5222 clean-stage3-opcodes:
5223 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] \
5224 || exit 0 ; \
5225 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
5226 cd $(HOST_SUBDIR)/opcodes && \
5227 $(MAKE) $(FLAGS_TO_PASS) \
5228 $(POSTSTAGE1_FLAGS_TO_PASS) \
5229 clean
5230 @endif opcodes-bootstrap
5233 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
5234 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
5235 maybe-all-stage4-opcodes:
5236 maybe-clean-stage4-opcodes:
5237 @if opcodes-bootstrap
5238 maybe-all-stage4-opcodes: all-stage4-opcodes
5239 all-stage4: all-stage4-opcodes
5240 TARGET-stage4-opcodes = $(TARGET-opcodes)
5241 all-stage4-opcodes: configure-stage4-opcodes
5242 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5243 @r=`${PWD_COMMAND}`; export r; \
5244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5245 $(HOST_EXPORTS) \
5246 $(POSTSTAGE1_HOST_EXPORTS) \
5247 cd $(HOST_SUBDIR)/opcodes && \
5248 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5249 $(TARGET-stage4-opcodes)
5251 maybe-clean-stage4-opcodes: clean-stage4-opcodes
5252 clean-stage4: clean-stage4-opcodes
5253 clean-stage4-opcodes:
5254 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] \
5255 || exit 0 ; \
5256 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
5257 cd $(HOST_SUBDIR)/opcodes && \
5258 $(MAKE) $(FLAGS_TO_PASS) \
5259 $(POSTSTAGE1_FLAGS_TO_PASS) \
5260 clean
5261 @endif opcodes-bootstrap
5264 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
5265 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
5266 maybe-all-stageprofile-opcodes:
5267 maybe-clean-stageprofile-opcodes:
5268 @if opcodes-bootstrap
5269 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
5270 all-stageprofile: all-stageprofile-opcodes
5271 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
5272 all-stageprofile-opcodes: configure-stageprofile-opcodes
5273 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5274 @r=`${PWD_COMMAND}`; export r; \
5275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5276 $(HOST_EXPORTS) \
5277 $(POSTSTAGE1_HOST_EXPORTS) \
5278 cd $(HOST_SUBDIR)/opcodes && \
5279 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5280 $(TARGET-stageprofile-opcodes)
5282 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
5283 clean-stageprofile: clean-stageprofile-opcodes
5284 clean-stageprofile-opcodes:
5285 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] \
5286 || exit 0 ; \
5287 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
5288 cd $(HOST_SUBDIR)/opcodes && \
5289 $(MAKE) $(FLAGS_TO_PASS) \
5290 $(POSTSTAGE1_FLAGS_TO_PASS) \
5291 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5292 @endif opcodes-bootstrap
5295 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
5296 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
5297 maybe-all-stagefeedback-opcodes:
5298 maybe-clean-stagefeedback-opcodes:
5299 @if opcodes-bootstrap
5300 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
5301 all-stagefeedback: all-stagefeedback-opcodes
5302 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
5303 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
5304 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5305 @r=`${PWD_COMMAND}`; export r; \
5306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5307 $(HOST_EXPORTS) \
5308 $(POSTSTAGE1_HOST_EXPORTS) \
5309 cd $(HOST_SUBDIR)/opcodes && \
5310 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5311 $(TARGET-stagefeedback-opcodes)
5313 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5314 clean-stagefeedback: clean-stagefeedback-opcodes
5315 clean-stagefeedback-opcodes:
5316 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] \
5317 || exit 0 ; \
5318 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
5319 cd $(HOST_SUBDIR)/opcodes && \
5320 $(MAKE) $(FLAGS_TO_PASS) \
5321 $(POSTSTAGE1_FLAGS_TO_PASS) \
5322 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5323 @endif opcodes-bootstrap
5329 .PHONY: check-opcodes maybe-check-opcodes
5330 maybe-check-opcodes:
5331 @if opcodes
5332 maybe-check-opcodes: check-opcodes
5334 check-opcodes:
5335 @: $(MAKE); $(unstage)
5336 @r=`${PWD_COMMAND}`; export r; \
5337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5338 $(HOST_EXPORTS) \
5339 (cd $(HOST_SUBDIR)/opcodes && \
5340 $(MAKE) $(FLAGS_TO_PASS) check)
5342 @endif opcodes
5344 .PHONY: install-opcodes maybe-install-opcodes
5345 maybe-install-opcodes:
5346 @if opcodes
5347 maybe-install-opcodes: install-opcodes
5349 install-opcodes: installdirs
5350 @: $(MAKE); $(unstage)
5351 @r=`${PWD_COMMAND}`; export r; \
5352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5353 $(HOST_EXPORTS) \
5354 (cd $(HOST_SUBDIR)/opcodes && \
5355 $(MAKE) $(FLAGS_TO_PASS) install)
5357 @endif opcodes
5359 # Other targets (info, dvi, etc.)
5361 .PHONY: maybe-info-opcodes info-opcodes
5362 maybe-info-opcodes:
5363 @if opcodes
5364 maybe-info-opcodes: info-opcodes
5366 info-opcodes: \
5367 configure-opcodes
5368 @[ -f ./opcodes/Makefile ] || exit 0; \
5369 r=`${PWD_COMMAND}`; export r; \
5370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5371 $(HOST_EXPORTS) \
5372 for flag in $(EXTRA_HOST_FLAGS) ; do \
5373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5374 done; \
5375 echo "Doing info in opcodes" ; \
5376 (cd $(HOST_SUBDIR)/opcodes && \
5377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5379 "RANLIB=$${RANLIB}" \
5380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5381 info) \
5382 || exit 1
5384 @endif opcodes
5386 .PHONY: maybe-dvi-opcodes dvi-opcodes
5387 maybe-dvi-opcodes:
5388 @if opcodes
5389 maybe-dvi-opcodes: dvi-opcodes
5391 dvi-opcodes: \
5392 configure-opcodes
5393 @[ -f ./opcodes/Makefile ] || exit 0; \
5394 r=`${PWD_COMMAND}`; export r; \
5395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5396 $(HOST_EXPORTS) \
5397 for flag in $(EXTRA_HOST_FLAGS) ; do \
5398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5399 done; \
5400 echo "Doing dvi in opcodes" ; \
5401 (cd $(HOST_SUBDIR)/opcodes && \
5402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5404 "RANLIB=$${RANLIB}" \
5405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5406 dvi) \
5407 || exit 1
5409 @endif opcodes
5411 .PHONY: maybe-html-opcodes html-opcodes
5412 maybe-html-opcodes:
5413 @if opcodes
5414 maybe-html-opcodes: html-opcodes
5416 html-opcodes: \
5417 configure-opcodes
5418 @[ -f ./opcodes/Makefile ] || exit 0; \
5419 r=`${PWD_COMMAND}`; export r; \
5420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5421 $(HOST_EXPORTS) \
5422 for flag in $(EXTRA_HOST_FLAGS) ; do \
5423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5424 done; \
5425 echo "Doing html in opcodes" ; \
5426 (cd $(HOST_SUBDIR)/opcodes && \
5427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5429 "RANLIB=$${RANLIB}" \
5430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5431 html) \
5432 || exit 1
5434 @endif opcodes
5436 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5437 maybe-TAGS-opcodes:
5438 @if opcodes
5439 maybe-TAGS-opcodes: TAGS-opcodes
5441 TAGS-opcodes: \
5442 configure-opcodes
5443 @[ -f ./opcodes/Makefile ] || exit 0; \
5444 r=`${PWD_COMMAND}`; export r; \
5445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5446 $(HOST_EXPORTS) \
5447 for flag in $(EXTRA_HOST_FLAGS) ; do \
5448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5449 done; \
5450 echo "Doing TAGS in opcodes" ; \
5451 (cd $(HOST_SUBDIR)/opcodes && \
5452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5454 "RANLIB=$${RANLIB}" \
5455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5456 TAGS) \
5457 || exit 1
5459 @endif opcodes
5461 .PHONY: maybe-install-info-opcodes install-info-opcodes
5462 maybe-install-info-opcodes:
5463 @if opcodes
5464 maybe-install-info-opcodes: install-info-opcodes
5466 install-info-opcodes: \
5467 configure-opcodes \
5468 info-opcodes
5469 @[ -f ./opcodes/Makefile ] || exit 0; \
5470 r=`${PWD_COMMAND}`; export r; \
5471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5472 $(HOST_EXPORTS) \
5473 for flag in $(EXTRA_HOST_FLAGS) ; do \
5474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5475 done; \
5476 echo "Doing install-info in opcodes" ; \
5477 (cd $(HOST_SUBDIR)/opcodes && \
5478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5480 "RANLIB=$${RANLIB}" \
5481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5482 install-info) \
5483 || exit 1
5485 @endif opcodes
5487 .PHONY: maybe-install-html-opcodes install-html-opcodes
5488 maybe-install-html-opcodes:
5489 @if opcodes
5490 maybe-install-html-opcodes: install-html-opcodes
5492 install-html-opcodes: \
5493 configure-opcodes \
5494 html-opcodes
5495 @[ -f ./opcodes/Makefile ] || exit 0; \
5496 r=`${PWD_COMMAND}`; export r; \
5497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5498 $(HOST_EXPORTS) \
5499 for flag in $(EXTRA_HOST_FLAGS) ; do \
5500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5501 done; \
5502 echo "Doing install-html in opcodes" ; \
5503 (cd $(HOST_SUBDIR)/opcodes && \
5504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5506 "RANLIB=$${RANLIB}" \
5507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5508 install-html) \
5509 || exit 1
5511 @endif opcodes
5513 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5514 maybe-installcheck-opcodes:
5515 @if opcodes
5516 maybe-installcheck-opcodes: installcheck-opcodes
5518 installcheck-opcodes: \
5519 configure-opcodes
5520 @[ -f ./opcodes/Makefile ] || exit 0; \
5521 r=`${PWD_COMMAND}`; export r; \
5522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5523 $(HOST_EXPORTS) \
5524 for flag in $(EXTRA_HOST_FLAGS) ; do \
5525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5526 done; \
5527 echo "Doing installcheck in opcodes" ; \
5528 (cd $(HOST_SUBDIR)/opcodes && \
5529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5531 "RANLIB=$${RANLIB}" \
5532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5533 installcheck) \
5534 || exit 1
5536 @endif opcodes
5538 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5539 maybe-mostlyclean-opcodes:
5540 @if opcodes
5541 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5543 mostlyclean-opcodes:
5544 @[ -f ./opcodes/Makefile ] || exit 0; \
5545 r=`${PWD_COMMAND}`; export r; \
5546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5547 $(HOST_EXPORTS) \
5548 for flag in $(EXTRA_HOST_FLAGS) ; do \
5549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5550 done; \
5551 echo "Doing mostlyclean in opcodes" ; \
5552 (cd $(HOST_SUBDIR)/opcodes && \
5553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5555 "RANLIB=$${RANLIB}" \
5556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5557 mostlyclean) \
5558 || exit 1
5560 @endif opcodes
5562 .PHONY: maybe-clean-opcodes clean-opcodes
5563 maybe-clean-opcodes:
5564 @if opcodes
5565 maybe-clean-opcodes: clean-opcodes
5567 clean-opcodes:
5568 @[ -f ./opcodes/Makefile ] || exit 0; \
5569 r=`${PWD_COMMAND}`; export r; \
5570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5571 $(HOST_EXPORTS) \
5572 for flag in $(EXTRA_HOST_FLAGS) ; do \
5573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5574 done; \
5575 echo "Doing clean in opcodes" ; \
5576 (cd $(HOST_SUBDIR)/opcodes && \
5577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5579 "RANLIB=$${RANLIB}" \
5580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5581 clean) \
5582 || exit 1
5584 @endif opcodes
5586 .PHONY: maybe-distclean-opcodes distclean-opcodes
5587 maybe-distclean-opcodes:
5588 @if opcodes
5589 maybe-distclean-opcodes: distclean-opcodes
5591 distclean-opcodes:
5592 @[ -f ./opcodes/Makefile ] || exit 0; \
5593 r=`${PWD_COMMAND}`; export r; \
5594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5595 $(HOST_EXPORTS) \
5596 for flag in $(EXTRA_HOST_FLAGS) ; do \
5597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5598 done; \
5599 echo "Doing distclean in opcodes" ; \
5600 (cd $(HOST_SUBDIR)/opcodes && \
5601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5603 "RANLIB=$${RANLIB}" \
5604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5605 distclean) \
5606 || exit 1
5608 @endif opcodes
5610 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5611 maybe-maintainer-clean-opcodes:
5612 @if opcodes
5613 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5615 maintainer-clean-opcodes:
5616 @[ -f ./opcodes/Makefile ] || exit 0; \
5617 r=`${PWD_COMMAND}`; export r; \
5618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5619 $(HOST_EXPORTS) \
5620 for flag in $(EXTRA_HOST_FLAGS) ; do \
5621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5622 done; \
5623 echo "Doing maintainer-clean in opcodes" ; \
5624 (cd $(HOST_SUBDIR)/opcodes && \
5625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5627 "RANLIB=$${RANLIB}" \
5628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5629 maintainer-clean) \
5630 || exit 1
5632 @endif opcodes
5636 .PHONY: configure-binutils maybe-configure-binutils
5637 maybe-configure-binutils:
5638 @if gcc-bootstrap
5639 configure-binutils: stage_current
5640 @endif gcc-bootstrap
5641 @if binutils
5642 maybe-configure-binutils: configure-binutils
5643 configure-binutils:
5644 @r=`${PWD_COMMAND}`; export r; \
5645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5646 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5647 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5648 $(HOST_EXPORTS) \
5649 echo Configuring in $(HOST_SUBDIR)/binutils; \
5650 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5651 case $(srcdir) in \
5652 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5653 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5654 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5655 esac; \
5656 srcdiroption="--srcdir=$${topdir}/binutils"; \
5657 libsrcdir="$$s/binutils"; \
5658 $(SHELL) $${libsrcdir}/configure \
5659 $(HOST_CONFIGARGS) $${srcdiroption} \
5660 || exit 1
5661 @endif binutils
5665 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5666 maybe-configure-stage1-binutils:
5667 @if binutils-bootstrap
5668 maybe-configure-stage1-binutils: configure-stage1-binutils
5669 configure-stage1-binutils:
5670 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5671 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5672 @r=`${PWD_COMMAND}`; export r; \
5673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5674 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5675 $(HOST_EXPORTS) \
5676 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5677 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5678 cd $(HOST_SUBDIR)/binutils || exit 1; \
5679 case $(srcdir) in \
5680 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5681 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5682 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5683 esac; \
5684 srcdiroption="--srcdir=$${topdir}/binutils"; \
5685 libsrcdir="$$s/binutils"; \
5686 $(SHELL) $${libsrcdir}/configure \
5687 $(HOST_CONFIGARGS) $${srcdiroption} \
5689 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5690 @endif binutils-bootstrap
5692 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5693 maybe-configure-stage2-binutils:
5694 @if binutils-bootstrap
5695 maybe-configure-stage2-binutils: configure-stage2-binutils
5696 configure-stage2-binutils:
5697 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5698 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5699 @r=`${PWD_COMMAND}`; export r; \
5700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5701 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5702 $(HOST_EXPORTS) \
5703 $(POSTSTAGE1_HOST_EXPORTS) \
5704 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
5705 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5706 cd $(HOST_SUBDIR)/binutils || exit 1; \
5707 case $(srcdir) in \
5708 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5709 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5710 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5711 esac; \
5712 srcdiroption="--srcdir=$${topdir}/binutils"; \
5713 libsrcdir="$$s/binutils"; \
5714 $(SHELL) $${libsrcdir}/configure \
5715 $(HOST_CONFIGARGS) $${srcdiroption} \
5716 --with-build-libsubdir=$(HOST_SUBDIR) \
5717 @stage2_werror_flag@
5718 @endif binutils-bootstrap
5720 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5721 maybe-configure-stage3-binutils:
5722 @if binutils-bootstrap
5723 maybe-configure-stage3-binutils: configure-stage3-binutils
5724 configure-stage3-binutils:
5725 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5726 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5727 @r=`${PWD_COMMAND}`; export r; \
5728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5729 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5730 $(HOST_EXPORTS) \
5731 $(POSTSTAGE1_HOST_EXPORTS) \
5732 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
5733 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5734 cd $(HOST_SUBDIR)/binutils || exit 1; \
5735 case $(srcdir) in \
5736 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5737 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5738 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5739 esac; \
5740 srcdiroption="--srcdir=$${topdir}/binutils"; \
5741 libsrcdir="$$s/binutils"; \
5742 $(SHELL) $${libsrcdir}/configure \
5743 $(HOST_CONFIGARGS) $${srcdiroption} \
5744 --with-build-libsubdir=$(HOST_SUBDIR) \
5745 @stage2_werror_flag@
5746 @endif binutils-bootstrap
5748 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5749 maybe-configure-stage4-binutils:
5750 @if binutils-bootstrap
5751 maybe-configure-stage4-binutils: configure-stage4-binutils
5752 configure-stage4-binutils:
5753 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5754 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5755 @r=`${PWD_COMMAND}`; export r; \
5756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5757 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5758 $(HOST_EXPORTS) \
5759 $(POSTSTAGE1_HOST_EXPORTS) \
5760 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
5761 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5762 cd $(HOST_SUBDIR)/binutils || exit 1; \
5763 case $(srcdir) in \
5764 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5765 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5766 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5767 esac; \
5768 srcdiroption="--srcdir=$${topdir}/binutils"; \
5769 libsrcdir="$$s/binutils"; \
5770 $(SHELL) $${libsrcdir}/configure \
5771 $(HOST_CONFIGARGS) $${srcdiroption} \
5772 --with-build-libsubdir=$(HOST_SUBDIR) \
5773 @stage2_werror_flag@
5774 @endif binutils-bootstrap
5776 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5777 maybe-configure-stageprofile-binutils:
5778 @if binutils-bootstrap
5779 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5780 configure-stageprofile-binutils:
5781 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5782 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5783 @r=`${PWD_COMMAND}`; export r; \
5784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5785 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5786 $(HOST_EXPORTS) \
5787 $(POSTSTAGE1_HOST_EXPORTS) \
5788 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5789 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5790 cd $(HOST_SUBDIR)/binutils || exit 1; \
5791 case $(srcdir) in \
5792 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5793 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5794 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5795 esac; \
5796 srcdiroption="--srcdir=$${topdir}/binutils"; \
5797 libsrcdir="$$s/binutils"; \
5798 $(SHELL) $${libsrcdir}/configure \
5799 $(HOST_CONFIGARGS) $${srcdiroption} \
5800 --with-build-libsubdir=$(HOST_SUBDIR) \
5801 @stage2_werror_flag@
5802 @endif binutils-bootstrap
5804 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5805 maybe-configure-stagefeedback-binutils:
5806 @if binutils-bootstrap
5807 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5808 configure-stagefeedback-binutils:
5809 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5810 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5811 @r=`${PWD_COMMAND}`; export r; \
5812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5813 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5814 $(HOST_EXPORTS) \
5815 $(POSTSTAGE1_HOST_EXPORTS) \
5816 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5817 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5818 cd $(HOST_SUBDIR)/binutils || exit 1; \
5819 case $(srcdir) in \
5820 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5821 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5822 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5823 esac; \
5824 srcdiroption="--srcdir=$${topdir}/binutils"; \
5825 libsrcdir="$$s/binutils"; \
5826 $(SHELL) $${libsrcdir}/configure \
5827 $(HOST_CONFIGARGS) $${srcdiroption} \
5828 --with-build-libsubdir=$(HOST_SUBDIR) \
5829 @stage2_werror_flag@
5830 @endif binutils-bootstrap
5836 .PHONY: all-binutils maybe-all-binutils
5837 maybe-all-binutils:
5838 @if gcc-bootstrap
5839 all-binutils: stage_current
5840 @endif gcc-bootstrap
5841 @if binutils
5842 TARGET-binutils=all
5843 maybe-all-binutils: all-binutils
5844 all-binutils: configure-binutils
5845 @r=`${PWD_COMMAND}`; export r; \
5846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5847 $(HOST_EXPORTS) \
5848 (cd $(HOST_SUBDIR)/binutils && \
5849 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
5850 @endif binutils
5854 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5855 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5856 maybe-all-stage1-binutils:
5857 maybe-clean-stage1-binutils:
5858 @if binutils-bootstrap
5859 maybe-all-stage1-binutils: all-stage1-binutils
5860 all-stage1: all-stage1-binutils
5861 TARGET-stage1-binutils = $(TARGET-binutils)
5862 all-stage1-binutils: configure-stage1-binutils
5863 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5864 @r=`${PWD_COMMAND}`; export r; \
5865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5866 $(HOST_EXPORTS) \
5867 cd $(HOST_SUBDIR)/binutils && \
5868 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
5869 $(TARGET-stage1-binutils)
5871 maybe-clean-stage1-binutils: clean-stage1-binutils
5872 clean-stage1: clean-stage1-binutils
5873 clean-stage1-binutils:
5874 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] \
5875 || exit 0 ; \
5876 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
5877 cd $(HOST_SUBDIR)/binutils && \
5878 $(MAKE) $(FLAGS_TO_PASS) \
5879 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
5880 @endif binutils-bootstrap
5883 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5884 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5885 maybe-all-stage2-binutils:
5886 maybe-clean-stage2-binutils:
5887 @if binutils-bootstrap
5888 maybe-all-stage2-binutils: all-stage2-binutils
5889 all-stage2: all-stage2-binutils
5890 TARGET-stage2-binutils = $(TARGET-binutils)
5891 all-stage2-binutils: configure-stage2-binutils
5892 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5893 @r=`${PWD_COMMAND}`; export r; \
5894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5895 $(HOST_EXPORTS) \
5896 $(POSTSTAGE1_HOST_EXPORTS) \
5897 cd $(HOST_SUBDIR)/binutils && \
5898 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5899 $(TARGET-stage2-binutils)
5901 maybe-clean-stage2-binutils: clean-stage2-binutils
5902 clean-stage2: clean-stage2-binutils
5903 clean-stage2-binutils:
5904 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] \
5905 || exit 0 ; \
5906 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
5907 cd $(HOST_SUBDIR)/binutils && \
5908 $(MAKE) $(FLAGS_TO_PASS) \
5909 $(POSTSTAGE1_FLAGS_TO_PASS) \
5910 clean
5911 @endif binutils-bootstrap
5914 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5915 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5916 maybe-all-stage3-binutils:
5917 maybe-clean-stage3-binutils:
5918 @if binutils-bootstrap
5919 maybe-all-stage3-binutils: all-stage3-binutils
5920 all-stage3: all-stage3-binutils
5921 TARGET-stage3-binutils = $(TARGET-binutils)
5922 all-stage3-binutils: configure-stage3-binutils
5923 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5924 @r=`${PWD_COMMAND}`; export r; \
5925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5926 $(HOST_EXPORTS) \
5927 $(POSTSTAGE1_HOST_EXPORTS) \
5928 cd $(HOST_SUBDIR)/binutils && \
5929 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5930 $(TARGET-stage3-binutils)
5932 maybe-clean-stage3-binutils: clean-stage3-binutils
5933 clean-stage3: clean-stage3-binutils
5934 clean-stage3-binutils:
5935 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] \
5936 || exit 0 ; \
5937 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
5938 cd $(HOST_SUBDIR)/binutils && \
5939 $(MAKE) $(FLAGS_TO_PASS) \
5940 $(POSTSTAGE1_FLAGS_TO_PASS) \
5941 clean
5942 @endif binutils-bootstrap
5945 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5946 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5947 maybe-all-stage4-binutils:
5948 maybe-clean-stage4-binutils:
5949 @if binutils-bootstrap
5950 maybe-all-stage4-binutils: all-stage4-binutils
5951 all-stage4: all-stage4-binutils
5952 TARGET-stage4-binutils = $(TARGET-binutils)
5953 all-stage4-binutils: configure-stage4-binutils
5954 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5955 @r=`${PWD_COMMAND}`; export r; \
5956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5957 $(HOST_EXPORTS) \
5958 $(POSTSTAGE1_HOST_EXPORTS) \
5959 cd $(HOST_SUBDIR)/binutils && \
5960 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5961 $(TARGET-stage4-binutils)
5963 maybe-clean-stage4-binutils: clean-stage4-binutils
5964 clean-stage4: clean-stage4-binutils
5965 clean-stage4-binutils:
5966 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] \
5967 || exit 0 ; \
5968 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
5969 cd $(HOST_SUBDIR)/binutils && \
5970 $(MAKE) $(FLAGS_TO_PASS) \
5971 $(POSTSTAGE1_FLAGS_TO_PASS) \
5972 clean
5973 @endif binutils-bootstrap
5976 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5977 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5978 maybe-all-stageprofile-binutils:
5979 maybe-clean-stageprofile-binutils:
5980 @if binutils-bootstrap
5981 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5982 all-stageprofile: all-stageprofile-binutils
5983 TARGET-stageprofile-binutils = $(TARGET-binutils)
5984 all-stageprofile-binutils: configure-stageprofile-binutils
5985 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5986 @r=`${PWD_COMMAND}`; export r; \
5987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5988 $(HOST_EXPORTS) \
5989 $(POSTSTAGE1_HOST_EXPORTS) \
5990 cd $(HOST_SUBDIR)/binutils && \
5991 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5992 $(TARGET-stageprofile-binutils)
5994 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5995 clean-stageprofile: clean-stageprofile-binutils
5996 clean-stageprofile-binutils:
5997 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] \
5998 || exit 0 ; \
5999 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
6000 cd $(HOST_SUBDIR)/binutils && \
6001 $(MAKE) $(FLAGS_TO_PASS) \
6002 $(POSTSTAGE1_FLAGS_TO_PASS) \
6003 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
6004 @endif binutils-bootstrap
6007 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
6008 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
6009 maybe-all-stagefeedback-binutils:
6010 maybe-clean-stagefeedback-binutils:
6011 @if binutils-bootstrap
6012 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
6013 all-stagefeedback: all-stagefeedback-binutils
6014 TARGET-stagefeedback-binutils = $(TARGET-binutils)
6015 all-stagefeedback-binutils: configure-stagefeedback-binutils
6016 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6017 @r=`${PWD_COMMAND}`; export r; \
6018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6019 $(HOST_EXPORTS) \
6020 $(POSTSTAGE1_HOST_EXPORTS) \
6021 cd $(HOST_SUBDIR)/binutils && \
6022 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
6023 $(TARGET-stagefeedback-binutils)
6025 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
6026 clean-stagefeedback: clean-stagefeedback-binutils
6027 clean-stagefeedback-binutils:
6028 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] \
6029 || exit 0 ; \
6030 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
6031 cd $(HOST_SUBDIR)/binutils && \
6032 $(MAKE) $(FLAGS_TO_PASS) \
6033 $(POSTSTAGE1_FLAGS_TO_PASS) \
6034 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
6035 @endif binutils-bootstrap
6041 .PHONY: check-binutils maybe-check-binutils
6042 maybe-check-binutils:
6043 @if binutils
6044 maybe-check-binutils: check-binutils
6046 check-binutils:
6047 @: $(MAKE); $(unstage)
6048 @r=`${PWD_COMMAND}`; export r; \
6049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6050 $(HOST_EXPORTS) \
6051 (cd $(HOST_SUBDIR)/binutils && \
6052 $(MAKE) $(FLAGS_TO_PASS) check)
6054 @endif binutils
6056 .PHONY: install-binutils maybe-install-binutils
6057 maybe-install-binutils:
6058 @if binutils
6059 maybe-install-binutils: install-binutils
6061 install-binutils: installdirs
6062 @: $(MAKE); $(unstage)
6063 @r=`${PWD_COMMAND}`; export r; \
6064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6065 $(HOST_EXPORTS) \
6066 (cd $(HOST_SUBDIR)/binutils && \
6067 $(MAKE) $(FLAGS_TO_PASS) install)
6069 @endif binutils
6071 # Other targets (info, dvi, etc.)
6073 .PHONY: maybe-info-binutils info-binutils
6074 maybe-info-binutils:
6075 @if binutils
6076 maybe-info-binutils: info-binutils
6078 info-binutils: \
6079 configure-binutils
6080 @[ -f ./binutils/Makefile ] || exit 0; \
6081 r=`${PWD_COMMAND}`; export r; \
6082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6083 $(HOST_EXPORTS) \
6084 for flag in $(EXTRA_HOST_FLAGS) ; do \
6085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6086 done; \
6087 echo "Doing info in binutils" ; \
6088 (cd $(HOST_SUBDIR)/binutils && \
6089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6091 "RANLIB=$${RANLIB}" \
6092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6093 info) \
6094 || exit 1
6096 @endif binutils
6098 .PHONY: maybe-dvi-binutils dvi-binutils
6099 maybe-dvi-binutils:
6100 @if binutils
6101 maybe-dvi-binutils: dvi-binutils
6103 dvi-binutils: \
6104 configure-binutils
6105 @[ -f ./binutils/Makefile ] || exit 0; \
6106 r=`${PWD_COMMAND}`; export r; \
6107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6108 $(HOST_EXPORTS) \
6109 for flag in $(EXTRA_HOST_FLAGS) ; do \
6110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6111 done; \
6112 echo "Doing dvi in binutils" ; \
6113 (cd $(HOST_SUBDIR)/binutils && \
6114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6116 "RANLIB=$${RANLIB}" \
6117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6118 dvi) \
6119 || exit 1
6121 @endif binutils
6123 .PHONY: maybe-html-binutils html-binutils
6124 maybe-html-binutils:
6125 @if binutils
6126 maybe-html-binutils: html-binutils
6128 html-binutils: \
6129 configure-binutils
6130 @[ -f ./binutils/Makefile ] || exit 0; \
6131 r=`${PWD_COMMAND}`; export r; \
6132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6133 $(HOST_EXPORTS) \
6134 for flag in $(EXTRA_HOST_FLAGS) ; do \
6135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6136 done; \
6137 echo "Doing html in binutils" ; \
6138 (cd $(HOST_SUBDIR)/binutils && \
6139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6141 "RANLIB=$${RANLIB}" \
6142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6143 html) \
6144 || exit 1
6146 @endif binutils
6148 .PHONY: maybe-TAGS-binutils TAGS-binutils
6149 maybe-TAGS-binutils:
6150 @if binutils
6151 maybe-TAGS-binutils: TAGS-binutils
6153 TAGS-binutils: \
6154 configure-binutils
6155 @[ -f ./binutils/Makefile ] || exit 0; \
6156 r=`${PWD_COMMAND}`; export r; \
6157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6158 $(HOST_EXPORTS) \
6159 for flag in $(EXTRA_HOST_FLAGS) ; do \
6160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6161 done; \
6162 echo "Doing TAGS in binutils" ; \
6163 (cd $(HOST_SUBDIR)/binutils && \
6164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6166 "RANLIB=$${RANLIB}" \
6167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6168 TAGS) \
6169 || exit 1
6171 @endif binutils
6173 .PHONY: maybe-install-info-binutils install-info-binutils
6174 maybe-install-info-binutils:
6175 @if binutils
6176 maybe-install-info-binutils: install-info-binutils
6178 install-info-binutils: \
6179 configure-binutils \
6180 info-binutils
6181 @[ -f ./binutils/Makefile ] || exit 0; \
6182 r=`${PWD_COMMAND}`; export r; \
6183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6184 $(HOST_EXPORTS) \
6185 for flag in $(EXTRA_HOST_FLAGS) ; do \
6186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6187 done; \
6188 echo "Doing install-info in binutils" ; \
6189 (cd $(HOST_SUBDIR)/binutils && \
6190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6192 "RANLIB=$${RANLIB}" \
6193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6194 install-info) \
6195 || exit 1
6197 @endif binutils
6199 .PHONY: maybe-install-html-binutils install-html-binutils
6200 maybe-install-html-binutils:
6201 @if binutils
6202 maybe-install-html-binutils: install-html-binutils
6204 install-html-binutils: \
6205 configure-binutils \
6206 html-binutils
6207 @[ -f ./binutils/Makefile ] || exit 0; \
6208 r=`${PWD_COMMAND}`; export r; \
6209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6210 $(HOST_EXPORTS) \
6211 for flag in $(EXTRA_HOST_FLAGS) ; do \
6212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6213 done; \
6214 echo "Doing install-html in binutils" ; \
6215 (cd $(HOST_SUBDIR)/binutils && \
6216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6218 "RANLIB=$${RANLIB}" \
6219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6220 install-html) \
6221 || exit 1
6223 @endif binutils
6225 .PHONY: maybe-installcheck-binutils installcheck-binutils
6226 maybe-installcheck-binutils:
6227 @if binutils
6228 maybe-installcheck-binutils: installcheck-binutils
6230 installcheck-binutils: \
6231 configure-binutils
6232 @[ -f ./binutils/Makefile ] || exit 0; \
6233 r=`${PWD_COMMAND}`; export r; \
6234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6235 $(HOST_EXPORTS) \
6236 for flag in $(EXTRA_HOST_FLAGS) ; do \
6237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6238 done; \
6239 echo "Doing installcheck in binutils" ; \
6240 (cd $(HOST_SUBDIR)/binutils && \
6241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6243 "RANLIB=$${RANLIB}" \
6244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6245 installcheck) \
6246 || exit 1
6248 @endif binutils
6250 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6251 maybe-mostlyclean-binutils:
6252 @if binutils
6253 maybe-mostlyclean-binutils: mostlyclean-binutils
6255 mostlyclean-binutils:
6256 @[ -f ./binutils/Makefile ] || exit 0; \
6257 r=`${PWD_COMMAND}`; export r; \
6258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6259 $(HOST_EXPORTS) \
6260 for flag in $(EXTRA_HOST_FLAGS) ; do \
6261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6262 done; \
6263 echo "Doing mostlyclean in binutils" ; \
6264 (cd $(HOST_SUBDIR)/binutils && \
6265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6267 "RANLIB=$${RANLIB}" \
6268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6269 mostlyclean) \
6270 || exit 1
6272 @endif binutils
6274 .PHONY: maybe-clean-binutils clean-binutils
6275 maybe-clean-binutils:
6276 @if binutils
6277 maybe-clean-binutils: clean-binutils
6279 clean-binutils:
6280 @[ -f ./binutils/Makefile ] || exit 0; \
6281 r=`${PWD_COMMAND}`; export r; \
6282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6283 $(HOST_EXPORTS) \
6284 for flag in $(EXTRA_HOST_FLAGS) ; do \
6285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6286 done; \
6287 echo "Doing clean in binutils" ; \
6288 (cd $(HOST_SUBDIR)/binutils && \
6289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6291 "RANLIB=$${RANLIB}" \
6292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6293 clean) \
6294 || exit 1
6296 @endif binutils
6298 .PHONY: maybe-distclean-binutils distclean-binutils
6299 maybe-distclean-binutils:
6300 @if binutils
6301 maybe-distclean-binutils: distclean-binutils
6303 distclean-binutils:
6304 @[ -f ./binutils/Makefile ] || exit 0; \
6305 r=`${PWD_COMMAND}`; export r; \
6306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6307 $(HOST_EXPORTS) \
6308 for flag in $(EXTRA_HOST_FLAGS) ; do \
6309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6310 done; \
6311 echo "Doing distclean in binutils" ; \
6312 (cd $(HOST_SUBDIR)/binutils && \
6313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6315 "RANLIB=$${RANLIB}" \
6316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6317 distclean) \
6318 || exit 1
6320 @endif binutils
6322 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6323 maybe-maintainer-clean-binutils:
6324 @if binutils
6325 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6327 maintainer-clean-binutils:
6328 @[ -f ./binutils/Makefile ] || exit 0; \
6329 r=`${PWD_COMMAND}`; export r; \
6330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6331 $(HOST_EXPORTS) \
6332 for flag in $(EXTRA_HOST_FLAGS) ; do \
6333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6334 done; \
6335 echo "Doing maintainer-clean in binutils" ; \
6336 (cd $(HOST_SUBDIR)/binutils && \
6337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6339 "RANLIB=$${RANLIB}" \
6340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6341 maintainer-clean) \
6342 || exit 1
6344 @endif binutils
6348 .PHONY: configure-bison maybe-configure-bison
6349 maybe-configure-bison:
6350 @if gcc-bootstrap
6351 configure-bison: stage_current
6352 @endif gcc-bootstrap
6353 @if bison
6354 maybe-configure-bison: configure-bison
6355 configure-bison:
6356 @: $(MAKE); $(unstage)
6357 @r=`${PWD_COMMAND}`; export r; \
6358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6359 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6360 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
6361 $(HOST_EXPORTS) \
6362 echo Configuring in $(HOST_SUBDIR)/bison; \
6363 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6364 case $(srcdir) in \
6365 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6366 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6367 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6368 esac; \
6369 srcdiroption="--srcdir=$${topdir}/bison"; \
6370 libsrcdir="$$s/bison"; \
6371 $(SHELL) $${libsrcdir}/configure \
6372 $(HOST_CONFIGARGS) $${srcdiroption} \
6373 || exit 1
6374 @endif bison
6380 .PHONY: all-bison maybe-all-bison
6381 maybe-all-bison:
6382 @if gcc-bootstrap
6383 all-bison: stage_current
6384 @endif gcc-bootstrap
6385 @if bison
6386 TARGET-bison=all
6387 maybe-all-bison: all-bison
6388 all-bison: configure-bison
6389 @: $(MAKE); $(unstage)
6390 @r=`${PWD_COMMAND}`; export r; \
6391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6392 $(HOST_EXPORTS) \
6393 (cd $(HOST_SUBDIR)/bison && \
6394 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
6395 @endif bison
6400 .PHONY: check-bison maybe-check-bison
6401 maybe-check-bison:
6402 @if bison
6403 maybe-check-bison: check-bison
6405 # This module is only tested in a native toolchain.
6406 check-bison:
6407 @: $(MAKE); $(unstage)
6408 @if [ '$(host)' = '$(target)' ] ; then \
6409 r=`${PWD_COMMAND}`; export r; \
6410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6411 $(HOST_EXPORTS) \
6412 (cd $(HOST_SUBDIR)/bison && \
6413 $(MAKE) $(FLAGS_TO_PASS) check); \
6416 @endif bison
6418 .PHONY: install-bison maybe-install-bison
6419 maybe-install-bison:
6420 @if bison
6421 maybe-install-bison: install-bison
6423 install-bison: installdirs
6424 @: $(MAKE); $(unstage)
6425 @r=`${PWD_COMMAND}`; export r; \
6426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6427 $(HOST_EXPORTS) \
6428 (cd $(HOST_SUBDIR)/bison && \
6429 $(MAKE) $(FLAGS_TO_PASS) install)
6431 @endif bison
6433 # Other targets (info, dvi, etc.)
6435 .PHONY: maybe-info-bison info-bison
6436 maybe-info-bison:
6437 @if bison
6438 maybe-info-bison: info-bison
6440 info-bison: \
6441 configure-bison
6442 @: $(MAKE); $(unstage)
6443 @[ -f ./bison/Makefile ] || exit 0; \
6444 r=`${PWD_COMMAND}`; export r; \
6445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6446 $(HOST_EXPORTS) \
6447 for flag in $(EXTRA_HOST_FLAGS) ; do \
6448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6449 done; \
6450 echo "Doing info in bison" ; \
6451 (cd $(HOST_SUBDIR)/bison && \
6452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6454 "RANLIB=$${RANLIB}" \
6455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6456 info) \
6457 || exit 1
6459 @endif bison
6461 .PHONY: maybe-dvi-bison dvi-bison
6462 maybe-dvi-bison:
6463 @if bison
6464 maybe-dvi-bison: dvi-bison
6466 dvi-bison: \
6467 configure-bison
6468 @: $(MAKE); $(unstage)
6469 @[ -f ./bison/Makefile ] || exit 0; \
6470 r=`${PWD_COMMAND}`; export r; \
6471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6472 $(HOST_EXPORTS) \
6473 for flag in $(EXTRA_HOST_FLAGS) ; do \
6474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6475 done; \
6476 echo "Doing dvi in bison" ; \
6477 (cd $(HOST_SUBDIR)/bison && \
6478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6480 "RANLIB=$${RANLIB}" \
6481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6482 dvi) \
6483 || exit 1
6485 @endif bison
6487 .PHONY: maybe-html-bison html-bison
6488 maybe-html-bison:
6489 @if bison
6490 maybe-html-bison: html-bison
6492 html-bison: \
6493 configure-bison
6494 @: $(MAKE); $(unstage)
6495 @[ -f ./bison/Makefile ] || exit 0; \
6496 r=`${PWD_COMMAND}`; export r; \
6497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6498 $(HOST_EXPORTS) \
6499 for flag in $(EXTRA_HOST_FLAGS) ; do \
6500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6501 done; \
6502 echo "Doing html in bison" ; \
6503 (cd $(HOST_SUBDIR)/bison && \
6504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6506 "RANLIB=$${RANLIB}" \
6507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6508 html) \
6509 || exit 1
6511 @endif bison
6513 .PHONY: maybe-TAGS-bison TAGS-bison
6514 maybe-TAGS-bison:
6515 @if bison
6516 maybe-TAGS-bison: TAGS-bison
6518 TAGS-bison: \
6519 configure-bison
6520 @: $(MAKE); $(unstage)
6521 @[ -f ./bison/Makefile ] || exit 0; \
6522 r=`${PWD_COMMAND}`; export r; \
6523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6524 $(HOST_EXPORTS) \
6525 for flag in $(EXTRA_HOST_FLAGS) ; do \
6526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6527 done; \
6528 echo "Doing TAGS in bison" ; \
6529 (cd $(HOST_SUBDIR)/bison && \
6530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6532 "RANLIB=$${RANLIB}" \
6533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6534 TAGS) \
6535 || exit 1
6537 @endif bison
6539 .PHONY: maybe-install-info-bison install-info-bison
6540 maybe-install-info-bison:
6541 @if bison
6542 maybe-install-info-bison: install-info-bison
6544 install-info-bison: \
6545 configure-bison \
6546 info-bison
6547 @: $(MAKE); $(unstage)
6548 @[ -f ./bison/Makefile ] || exit 0; \
6549 r=`${PWD_COMMAND}`; export r; \
6550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6551 $(HOST_EXPORTS) \
6552 for flag in $(EXTRA_HOST_FLAGS) ; do \
6553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6554 done; \
6555 echo "Doing install-info in bison" ; \
6556 (cd $(HOST_SUBDIR)/bison && \
6557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6559 "RANLIB=$${RANLIB}" \
6560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6561 install-info) \
6562 || exit 1
6564 @endif bison
6566 .PHONY: maybe-install-html-bison install-html-bison
6567 maybe-install-html-bison:
6568 @if bison
6569 maybe-install-html-bison: install-html-bison
6571 install-html-bison: \
6572 configure-bison \
6573 html-bison
6574 @: $(MAKE); $(unstage)
6575 @[ -f ./bison/Makefile ] || exit 0; \
6576 r=`${PWD_COMMAND}`; export r; \
6577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6578 $(HOST_EXPORTS) \
6579 for flag in $(EXTRA_HOST_FLAGS) ; do \
6580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6581 done; \
6582 echo "Doing install-html in bison" ; \
6583 (cd $(HOST_SUBDIR)/bison && \
6584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6586 "RANLIB=$${RANLIB}" \
6587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6588 install-html) \
6589 || exit 1
6591 @endif bison
6593 .PHONY: maybe-installcheck-bison installcheck-bison
6594 maybe-installcheck-bison:
6595 @if bison
6596 maybe-installcheck-bison: installcheck-bison
6598 installcheck-bison: \
6599 configure-bison
6600 @: $(MAKE); $(unstage)
6601 @[ -f ./bison/Makefile ] || exit 0; \
6602 r=`${PWD_COMMAND}`; export r; \
6603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6604 $(HOST_EXPORTS) \
6605 for flag in $(EXTRA_HOST_FLAGS) ; do \
6606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6607 done; \
6608 echo "Doing installcheck in bison" ; \
6609 (cd $(HOST_SUBDIR)/bison && \
6610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6612 "RANLIB=$${RANLIB}" \
6613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6614 installcheck) \
6615 || exit 1
6617 @endif bison
6619 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6620 maybe-mostlyclean-bison:
6621 @if bison
6622 maybe-mostlyclean-bison: mostlyclean-bison
6624 mostlyclean-bison:
6625 @: $(MAKE); $(unstage)
6626 @[ -f ./bison/Makefile ] || exit 0; \
6627 r=`${PWD_COMMAND}`; export r; \
6628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6629 $(HOST_EXPORTS) \
6630 for flag in $(EXTRA_HOST_FLAGS) ; do \
6631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6632 done; \
6633 echo "Doing mostlyclean in bison" ; \
6634 (cd $(HOST_SUBDIR)/bison && \
6635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6637 "RANLIB=$${RANLIB}" \
6638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6639 mostlyclean) \
6640 || exit 1
6642 @endif bison
6644 .PHONY: maybe-clean-bison clean-bison
6645 maybe-clean-bison:
6646 @if bison
6647 maybe-clean-bison: clean-bison
6649 clean-bison:
6650 @: $(MAKE); $(unstage)
6651 @[ -f ./bison/Makefile ] || exit 0; \
6652 r=`${PWD_COMMAND}`; export r; \
6653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6654 $(HOST_EXPORTS) \
6655 for flag in $(EXTRA_HOST_FLAGS) ; do \
6656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6657 done; \
6658 echo "Doing clean in bison" ; \
6659 (cd $(HOST_SUBDIR)/bison && \
6660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6662 "RANLIB=$${RANLIB}" \
6663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6664 clean) \
6665 || exit 1
6667 @endif bison
6669 .PHONY: maybe-distclean-bison distclean-bison
6670 maybe-distclean-bison:
6671 @if bison
6672 maybe-distclean-bison: distclean-bison
6674 distclean-bison:
6675 @: $(MAKE); $(unstage)
6676 @[ -f ./bison/Makefile ] || exit 0; \
6677 r=`${PWD_COMMAND}`; export r; \
6678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6679 $(HOST_EXPORTS) \
6680 for flag in $(EXTRA_HOST_FLAGS) ; do \
6681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6682 done; \
6683 echo "Doing distclean in bison" ; \
6684 (cd $(HOST_SUBDIR)/bison && \
6685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6687 "RANLIB=$${RANLIB}" \
6688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6689 distclean) \
6690 || exit 1
6692 @endif bison
6694 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6695 maybe-maintainer-clean-bison:
6696 @if bison
6697 maybe-maintainer-clean-bison: maintainer-clean-bison
6699 maintainer-clean-bison:
6700 @: $(MAKE); $(unstage)
6701 @[ -f ./bison/Makefile ] || exit 0; \
6702 r=`${PWD_COMMAND}`; export r; \
6703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6704 $(HOST_EXPORTS) \
6705 for flag in $(EXTRA_HOST_FLAGS) ; do \
6706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6707 done; \
6708 echo "Doing maintainer-clean in bison" ; \
6709 (cd $(HOST_SUBDIR)/bison && \
6710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6712 "RANLIB=$${RANLIB}" \
6713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6714 maintainer-clean) \
6715 || exit 1
6717 @endif bison
6721 .PHONY: configure-byacc maybe-configure-byacc
6722 maybe-configure-byacc:
6723 @if gcc-bootstrap
6724 configure-byacc: stage_current
6725 @endif gcc-bootstrap
6726 @if byacc
6727 maybe-configure-byacc: configure-byacc
6728 configure-byacc:
6729 @: $(MAKE); $(unstage)
6730 @r=`${PWD_COMMAND}`; export r; \
6731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6732 test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
6733 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
6734 $(HOST_EXPORTS) \
6735 echo Configuring in $(HOST_SUBDIR)/byacc; \
6736 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
6737 case $(srcdir) in \
6738 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6739 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
6740 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6741 esac; \
6742 srcdiroption="--srcdir=$${topdir}/byacc"; \
6743 libsrcdir="$$s/byacc"; \
6744 $(SHELL) $${libsrcdir}/configure \
6745 $(HOST_CONFIGARGS) $${srcdiroption} \
6746 || exit 1
6747 @endif byacc
6753 .PHONY: all-byacc maybe-all-byacc
6754 maybe-all-byacc:
6755 @if gcc-bootstrap
6756 all-byacc: stage_current
6757 @endif gcc-bootstrap
6758 @if byacc
6759 TARGET-byacc=all
6760 maybe-all-byacc: all-byacc
6761 all-byacc: configure-byacc
6762 @: $(MAKE); $(unstage)
6763 @r=`${PWD_COMMAND}`; export r; \
6764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6765 $(HOST_EXPORTS) \
6766 (cd $(HOST_SUBDIR)/byacc && \
6767 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
6768 @endif byacc
6773 .PHONY: check-byacc maybe-check-byacc
6774 maybe-check-byacc:
6775 @if byacc
6776 maybe-check-byacc: check-byacc
6778 # This module is only tested in a native toolchain.
6779 check-byacc:
6780 @: $(MAKE); $(unstage)
6781 @if [ '$(host)' = '$(target)' ] ; then \
6782 r=`${PWD_COMMAND}`; export r; \
6783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6784 $(HOST_EXPORTS) \
6785 (cd $(HOST_SUBDIR)/byacc && \
6786 $(MAKE) $(FLAGS_TO_PASS) check); \
6789 @endif byacc
6791 .PHONY: install-byacc maybe-install-byacc
6792 maybe-install-byacc:
6793 @if byacc
6794 maybe-install-byacc: install-byacc
6796 install-byacc: installdirs
6797 @: $(MAKE); $(unstage)
6798 @r=`${PWD_COMMAND}`; export r; \
6799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6800 $(HOST_EXPORTS) \
6801 (cd $(HOST_SUBDIR)/byacc && \
6802 $(MAKE) $(FLAGS_TO_PASS) install)
6804 @endif byacc
6806 # Other targets (info, dvi, etc.)
6808 .PHONY: maybe-info-byacc info-byacc
6809 maybe-info-byacc:
6810 @if byacc
6811 maybe-info-byacc: info-byacc
6813 info-byacc: \
6814 configure-byacc
6815 @: $(MAKE); $(unstage)
6816 @[ -f ./byacc/Makefile ] || exit 0; \
6817 r=`${PWD_COMMAND}`; export r; \
6818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6819 $(HOST_EXPORTS) \
6820 for flag in $(EXTRA_HOST_FLAGS) ; do \
6821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6822 done; \
6823 echo "Doing info in byacc" ; \
6824 (cd $(HOST_SUBDIR)/byacc && \
6825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6827 "RANLIB=$${RANLIB}" \
6828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6829 info) \
6830 || exit 1
6832 @endif byacc
6834 .PHONY: maybe-dvi-byacc dvi-byacc
6835 maybe-dvi-byacc:
6836 @if byacc
6837 maybe-dvi-byacc: dvi-byacc
6839 dvi-byacc: \
6840 configure-byacc
6841 @: $(MAKE); $(unstage)
6842 @[ -f ./byacc/Makefile ] || exit 0; \
6843 r=`${PWD_COMMAND}`; export r; \
6844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6845 $(HOST_EXPORTS) \
6846 for flag in $(EXTRA_HOST_FLAGS) ; do \
6847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6848 done; \
6849 echo "Doing dvi in byacc" ; \
6850 (cd $(HOST_SUBDIR)/byacc && \
6851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6853 "RANLIB=$${RANLIB}" \
6854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6855 dvi) \
6856 || exit 1
6858 @endif byacc
6860 .PHONY: maybe-html-byacc html-byacc
6861 maybe-html-byacc:
6862 @if byacc
6863 maybe-html-byacc: html-byacc
6865 html-byacc: \
6866 configure-byacc
6867 @: $(MAKE); $(unstage)
6868 @[ -f ./byacc/Makefile ] || exit 0; \
6869 r=`${PWD_COMMAND}`; export r; \
6870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6871 $(HOST_EXPORTS) \
6872 for flag in $(EXTRA_HOST_FLAGS) ; do \
6873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6874 done; \
6875 echo "Doing html in byacc" ; \
6876 (cd $(HOST_SUBDIR)/byacc && \
6877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6879 "RANLIB=$${RANLIB}" \
6880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6881 html) \
6882 || exit 1
6884 @endif byacc
6886 .PHONY: maybe-TAGS-byacc TAGS-byacc
6887 maybe-TAGS-byacc:
6888 @if byacc
6889 maybe-TAGS-byacc: TAGS-byacc
6891 TAGS-byacc: \
6892 configure-byacc
6893 @: $(MAKE); $(unstage)
6894 @[ -f ./byacc/Makefile ] || exit 0; \
6895 r=`${PWD_COMMAND}`; export r; \
6896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6897 $(HOST_EXPORTS) \
6898 for flag in $(EXTRA_HOST_FLAGS) ; do \
6899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6900 done; \
6901 echo "Doing TAGS in byacc" ; \
6902 (cd $(HOST_SUBDIR)/byacc && \
6903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6905 "RANLIB=$${RANLIB}" \
6906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6907 TAGS) \
6908 || exit 1
6910 @endif byacc
6912 .PHONY: maybe-install-info-byacc install-info-byacc
6913 maybe-install-info-byacc:
6914 @if byacc
6915 maybe-install-info-byacc: install-info-byacc
6917 install-info-byacc: \
6918 configure-byacc \
6919 info-byacc
6920 @: $(MAKE); $(unstage)
6921 @[ -f ./byacc/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 install-info in byacc" ; \
6929 (cd $(HOST_SUBDIR)/byacc && \
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 install-info) \
6935 || exit 1
6937 @endif byacc
6939 .PHONY: maybe-install-html-byacc install-html-byacc
6940 maybe-install-html-byacc:
6941 @if byacc
6942 maybe-install-html-byacc: install-html-byacc
6944 install-html-byacc: \
6945 configure-byacc \
6946 html-byacc
6947 @: $(MAKE); $(unstage)
6948 @[ -f ./byacc/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-html in byacc" ; \
6956 (cd $(HOST_SUBDIR)/byacc && \
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-html) \
6962 || exit 1
6964 @endif byacc
6966 .PHONY: maybe-installcheck-byacc installcheck-byacc
6967 maybe-installcheck-byacc:
6968 @if byacc
6969 maybe-installcheck-byacc: installcheck-byacc
6971 installcheck-byacc: \
6972 configure-byacc
6973 @: $(MAKE); $(unstage)
6974 @[ -f ./byacc/Makefile ] || exit 0; \
6975 r=`${PWD_COMMAND}`; export r; \
6976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6977 $(HOST_EXPORTS) \
6978 for flag in $(EXTRA_HOST_FLAGS) ; do \
6979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6980 done; \
6981 echo "Doing installcheck in byacc" ; \
6982 (cd $(HOST_SUBDIR)/byacc && \
6983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6985 "RANLIB=$${RANLIB}" \
6986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6987 installcheck) \
6988 || exit 1
6990 @endif byacc
6992 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
6993 maybe-mostlyclean-byacc:
6994 @if byacc
6995 maybe-mostlyclean-byacc: mostlyclean-byacc
6997 mostlyclean-byacc:
6998 @: $(MAKE); $(unstage)
6999 @[ -f ./byacc/Makefile ] || exit 0; \
7000 r=`${PWD_COMMAND}`; export r; \
7001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7002 $(HOST_EXPORTS) \
7003 for flag in $(EXTRA_HOST_FLAGS) ; do \
7004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7005 done; \
7006 echo "Doing mostlyclean in byacc" ; \
7007 (cd $(HOST_SUBDIR)/byacc && \
7008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7010 "RANLIB=$${RANLIB}" \
7011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7012 mostlyclean) \
7013 || exit 1
7015 @endif byacc
7017 .PHONY: maybe-clean-byacc clean-byacc
7018 maybe-clean-byacc:
7019 @if byacc
7020 maybe-clean-byacc: clean-byacc
7022 clean-byacc:
7023 @: $(MAKE); $(unstage)
7024 @[ -f ./byacc/Makefile ] || exit 0; \
7025 r=`${PWD_COMMAND}`; export r; \
7026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7027 $(HOST_EXPORTS) \
7028 for flag in $(EXTRA_HOST_FLAGS) ; do \
7029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7030 done; \
7031 echo "Doing clean in byacc" ; \
7032 (cd $(HOST_SUBDIR)/byacc && \
7033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7035 "RANLIB=$${RANLIB}" \
7036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7037 clean) \
7038 || exit 1
7040 @endif byacc
7042 .PHONY: maybe-distclean-byacc distclean-byacc
7043 maybe-distclean-byacc:
7044 @if byacc
7045 maybe-distclean-byacc: distclean-byacc
7047 distclean-byacc:
7048 @: $(MAKE); $(unstage)
7049 @[ -f ./byacc/Makefile ] || exit 0; \
7050 r=`${PWD_COMMAND}`; export r; \
7051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7052 $(HOST_EXPORTS) \
7053 for flag in $(EXTRA_HOST_FLAGS) ; do \
7054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7055 done; \
7056 echo "Doing distclean in byacc" ; \
7057 (cd $(HOST_SUBDIR)/byacc && \
7058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7060 "RANLIB=$${RANLIB}" \
7061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7062 distclean) \
7063 || exit 1
7065 @endif byacc
7067 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
7068 maybe-maintainer-clean-byacc:
7069 @if byacc
7070 maybe-maintainer-clean-byacc: maintainer-clean-byacc
7072 maintainer-clean-byacc:
7073 @: $(MAKE); $(unstage)
7074 @[ -f ./byacc/Makefile ] || exit 0; \
7075 r=`${PWD_COMMAND}`; export r; \
7076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7077 $(HOST_EXPORTS) \
7078 for flag in $(EXTRA_HOST_FLAGS) ; do \
7079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7080 done; \
7081 echo "Doing maintainer-clean in byacc" ; \
7082 (cd $(HOST_SUBDIR)/byacc && \
7083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7085 "RANLIB=$${RANLIB}" \
7086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7087 maintainer-clean) \
7088 || exit 1
7090 @endif byacc
7094 .PHONY: configure-bzip2 maybe-configure-bzip2
7095 maybe-configure-bzip2:
7096 @if gcc-bootstrap
7097 configure-bzip2: stage_current
7098 @endif gcc-bootstrap
7099 @if bzip2
7100 maybe-configure-bzip2: configure-bzip2
7101 configure-bzip2:
7102 @: $(MAKE); $(unstage)
7103 @r=`${PWD_COMMAND}`; export r; \
7104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7105 test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
7106 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
7107 $(HOST_EXPORTS) \
7108 echo Configuring in $(HOST_SUBDIR)/bzip2; \
7109 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
7110 case $(srcdir) in \
7111 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7112 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
7113 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7114 esac; \
7115 srcdiroption="--srcdir=$${topdir}/bzip2"; \
7116 libsrcdir="$$s/bzip2"; \
7117 $(SHELL) $${libsrcdir}/configure \
7118 $(HOST_CONFIGARGS) $${srcdiroption} \
7119 || exit 1
7120 @endif bzip2
7126 .PHONY: all-bzip2 maybe-all-bzip2
7127 maybe-all-bzip2:
7128 @if gcc-bootstrap
7129 all-bzip2: stage_current
7130 @endif gcc-bootstrap
7131 @if bzip2
7132 TARGET-bzip2=all
7133 maybe-all-bzip2: all-bzip2
7134 all-bzip2: configure-bzip2
7135 @: $(MAKE); $(unstage)
7136 @r=`${PWD_COMMAND}`; export r; \
7137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7138 $(HOST_EXPORTS) \
7139 (cd $(HOST_SUBDIR)/bzip2 && \
7140 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
7141 @endif bzip2
7146 .PHONY: check-bzip2 maybe-check-bzip2
7147 maybe-check-bzip2:
7148 @if bzip2
7149 maybe-check-bzip2: check-bzip2
7151 check-bzip2:
7152 @: $(MAKE); $(unstage)
7153 @r=`${PWD_COMMAND}`; export r; \
7154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7155 $(HOST_EXPORTS) \
7156 (cd $(HOST_SUBDIR)/bzip2 && \
7157 $(MAKE) $(FLAGS_TO_PASS) check)
7159 @endif bzip2
7161 .PHONY: install-bzip2 maybe-install-bzip2
7162 maybe-install-bzip2:
7163 @if bzip2
7164 maybe-install-bzip2: install-bzip2
7166 install-bzip2: installdirs
7167 @: $(MAKE); $(unstage)
7168 @r=`${PWD_COMMAND}`; export r; \
7169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7170 $(HOST_EXPORTS) \
7171 (cd $(HOST_SUBDIR)/bzip2 && \
7172 $(MAKE) $(FLAGS_TO_PASS) install)
7174 @endif bzip2
7176 # Other targets (info, dvi, etc.)
7178 .PHONY: maybe-info-bzip2 info-bzip2
7179 maybe-info-bzip2:
7180 @if bzip2
7181 maybe-info-bzip2: info-bzip2
7183 info-bzip2: \
7184 configure-bzip2
7185 @: $(MAKE); $(unstage)
7186 @[ -f ./bzip2/Makefile ] || exit 0; \
7187 r=`${PWD_COMMAND}`; export r; \
7188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7189 $(HOST_EXPORTS) \
7190 for flag in $(EXTRA_HOST_FLAGS) ; do \
7191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7192 done; \
7193 echo "Doing info in bzip2" ; \
7194 (cd $(HOST_SUBDIR)/bzip2 && \
7195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7197 "RANLIB=$${RANLIB}" \
7198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7199 info) \
7200 || exit 1
7202 @endif bzip2
7204 .PHONY: maybe-dvi-bzip2 dvi-bzip2
7205 maybe-dvi-bzip2:
7206 @if bzip2
7207 maybe-dvi-bzip2: dvi-bzip2
7209 dvi-bzip2: \
7210 configure-bzip2
7211 @: $(MAKE); $(unstage)
7212 @[ -f ./bzip2/Makefile ] || exit 0; \
7213 r=`${PWD_COMMAND}`; export r; \
7214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7215 $(HOST_EXPORTS) \
7216 for flag in $(EXTRA_HOST_FLAGS) ; do \
7217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7218 done; \
7219 echo "Doing dvi in bzip2" ; \
7220 (cd $(HOST_SUBDIR)/bzip2 && \
7221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7223 "RANLIB=$${RANLIB}" \
7224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7225 dvi) \
7226 || exit 1
7228 @endif bzip2
7230 .PHONY: maybe-html-bzip2 html-bzip2
7231 maybe-html-bzip2:
7232 @if bzip2
7233 maybe-html-bzip2: html-bzip2
7235 html-bzip2: \
7236 configure-bzip2
7237 @: $(MAKE); $(unstage)
7238 @[ -f ./bzip2/Makefile ] || exit 0; \
7239 r=`${PWD_COMMAND}`; export r; \
7240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7241 $(HOST_EXPORTS) \
7242 for flag in $(EXTRA_HOST_FLAGS) ; do \
7243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7244 done; \
7245 echo "Doing html in bzip2" ; \
7246 (cd $(HOST_SUBDIR)/bzip2 && \
7247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7249 "RANLIB=$${RANLIB}" \
7250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7251 html) \
7252 || exit 1
7254 @endif bzip2
7256 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
7257 maybe-TAGS-bzip2:
7258 @if bzip2
7259 maybe-TAGS-bzip2: TAGS-bzip2
7261 TAGS-bzip2: \
7262 configure-bzip2
7263 @: $(MAKE); $(unstage)
7264 @[ -f ./bzip2/Makefile ] || exit 0; \
7265 r=`${PWD_COMMAND}`; export r; \
7266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7267 $(HOST_EXPORTS) \
7268 for flag in $(EXTRA_HOST_FLAGS) ; do \
7269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7270 done; \
7271 echo "Doing TAGS in bzip2" ; \
7272 (cd $(HOST_SUBDIR)/bzip2 && \
7273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7275 "RANLIB=$${RANLIB}" \
7276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7277 TAGS) \
7278 || exit 1
7280 @endif bzip2
7282 .PHONY: maybe-install-info-bzip2 install-info-bzip2
7283 maybe-install-info-bzip2:
7284 @if bzip2
7285 maybe-install-info-bzip2: install-info-bzip2
7287 install-info-bzip2: \
7288 configure-bzip2 \
7289 info-bzip2
7290 @: $(MAKE); $(unstage)
7291 @[ -f ./bzip2/Makefile ] || exit 0; \
7292 r=`${PWD_COMMAND}`; export r; \
7293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7294 $(HOST_EXPORTS) \
7295 for flag in $(EXTRA_HOST_FLAGS) ; do \
7296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7297 done; \
7298 echo "Doing install-info in bzip2" ; \
7299 (cd $(HOST_SUBDIR)/bzip2 && \
7300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7302 "RANLIB=$${RANLIB}" \
7303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7304 install-info) \
7305 || exit 1
7307 @endif bzip2
7309 .PHONY: maybe-install-html-bzip2 install-html-bzip2
7310 maybe-install-html-bzip2:
7311 @if bzip2
7312 maybe-install-html-bzip2: install-html-bzip2
7314 install-html-bzip2: \
7315 configure-bzip2 \
7316 html-bzip2
7317 @: $(MAKE); $(unstage)
7318 @[ -f ./bzip2/Makefile ] || exit 0; \
7319 r=`${PWD_COMMAND}`; export r; \
7320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7321 $(HOST_EXPORTS) \
7322 for flag in $(EXTRA_HOST_FLAGS) ; do \
7323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7324 done; \
7325 echo "Doing install-html in bzip2" ; \
7326 (cd $(HOST_SUBDIR)/bzip2 && \
7327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7329 "RANLIB=$${RANLIB}" \
7330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7331 install-html) \
7332 || exit 1
7334 @endif bzip2
7336 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
7337 maybe-installcheck-bzip2:
7338 @if bzip2
7339 maybe-installcheck-bzip2: installcheck-bzip2
7341 installcheck-bzip2: \
7342 configure-bzip2
7343 @: $(MAKE); $(unstage)
7344 @[ -f ./bzip2/Makefile ] || exit 0; \
7345 r=`${PWD_COMMAND}`; export r; \
7346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7347 $(HOST_EXPORTS) \
7348 for flag in $(EXTRA_HOST_FLAGS) ; do \
7349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7350 done; \
7351 echo "Doing installcheck in bzip2" ; \
7352 (cd $(HOST_SUBDIR)/bzip2 && \
7353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7355 "RANLIB=$${RANLIB}" \
7356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7357 installcheck) \
7358 || exit 1
7360 @endif bzip2
7362 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
7363 maybe-mostlyclean-bzip2:
7364 @if bzip2
7365 maybe-mostlyclean-bzip2: mostlyclean-bzip2
7367 mostlyclean-bzip2:
7368 @: $(MAKE); $(unstage)
7369 @[ -f ./bzip2/Makefile ] || exit 0; \
7370 r=`${PWD_COMMAND}`; export r; \
7371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7372 $(HOST_EXPORTS) \
7373 for flag in $(EXTRA_HOST_FLAGS) ; do \
7374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7375 done; \
7376 echo "Doing mostlyclean in bzip2" ; \
7377 (cd $(HOST_SUBDIR)/bzip2 && \
7378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7380 "RANLIB=$${RANLIB}" \
7381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7382 mostlyclean) \
7383 || exit 1
7385 @endif bzip2
7387 .PHONY: maybe-clean-bzip2 clean-bzip2
7388 maybe-clean-bzip2:
7389 @if bzip2
7390 maybe-clean-bzip2: clean-bzip2
7392 clean-bzip2:
7393 @: $(MAKE); $(unstage)
7394 @[ -f ./bzip2/Makefile ] || exit 0; \
7395 r=`${PWD_COMMAND}`; export r; \
7396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7397 $(HOST_EXPORTS) \
7398 for flag in $(EXTRA_HOST_FLAGS) ; do \
7399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7400 done; \
7401 echo "Doing clean in bzip2" ; \
7402 (cd $(HOST_SUBDIR)/bzip2 && \
7403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7405 "RANLIB=$${RANLIB}" \
7406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7407 clean) \
7408 || exit 1
7410 @endif bzip2
7412 .PHONY: maybe-distclean-bzip2 distclean-bzip2
7413 maybe-distclean-bzip2:
7414 @if bzip2
7415 maybe-distclean-bzip2: distclean-bzip2
7417 distclean-bzip2:
7418 @: $(MAKE); $(unstage)
7419 @[ -f ./bzip2/Makefile ] || exit 0; \
7420 r=`${PWD_COMMAND}`; export r; \
7421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7422 $(HOST_EXPORTS) \
7423 for flag in $(EXTRA_HOST_FLAGS) ; do \
7424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7425 done; \
7426 echo "Doing distclean in bzip2" ; \
7427 (cd $(HOST_SUBDIR)/bzip2 && \
7428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7430 "RANLIB=$${RANLIB}" \
7431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7432 distclean) \
7433 || exit 1
7435 @endif bzip2
7437 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
7438 maybe-maintainer-clean-bzip2:
7439 @if bzip2
7440 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
7442 maintainer-clean-bzip2:
7443 @: $(MAKE); $(unstage)
7444 @[ -f ./bzip2/Makefile ] || exit 0; \
7445 r=`${PWD_COMMAND}`; export r; \
7446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7447 $(HOST_EXPORTS) \
7448 for flag in $(EXTRA_HOST_FLAGS) ; do \
7449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7450 done; \
7451 echo "Doing maintainer-clean in bzip2" ; \
7452 (cd $(HOST_SUBDIR)/bzip2 && \
7453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7455 "RANLIB=$${RANLIB}" \
7456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7457 maintainer-clean) \
7458 || exit 1
7460 @endif bzip2
7464 .PHONY: configure-dejagnu maybe-configure-dejagnu
7465 maybe-configure-dejagnu:
7466 @if gcc-bootstrap
7467 configure-dejagnu: stage_current
7468 @endif gcc-bootstrap
7469 @if dejagnu
7470 maybe-configure-dejagnu: configure-dejagnu
7471 configure-dejagnu:
7472 @: $(MAKE); $(unstage)
7473 @r=`${PWD_COMMAND}`; export r; \
7474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7475 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7476 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
7477 $(HOST_EXPORTS) \
7478 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7479 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7480 case $(srcdir) in \
7481 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7482 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7483 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7484 esac; \
7485 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
7486 libsrcdir="$$s/dejagnu"; \
7487 $(SHELL) $${libsrcdir}/configure \
7488 $(HOST_CONFIGARGS) $${srcdiroption} \
7489 || exit 1
7490 @endif dejagnu
7496 .PHONY: all-dejagnu maybe-all-dejagnu
7497 maybe-all-dejagnu:
7498 @if gcc-bootstrap
7499 all-dejagnu: stage_current
7500 @endif gcc-bootstrap
7501 @if dejagnu
7502 TARGET-dejagnu=all
7503 maybe-all-dejagnu: all-dejagnu
7504 all-dejagnu: configure-dejagnu
7505 @: $(MAKE); $(unstage)
7506 @r=`${PWD_COMMAND}`; export r; \
7507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7508 $(HOST_EXPORTS) \
7509 (cd $(HOST_SUBDIR)/dejagnu && \
7510 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
7511 @endif dejagnu
7516 .PHONY: check-dejagnu maybe-check-dejagnu
7517 maybe-check-dejagnu:
7518 @if dejagnu
7519 maybe-check-dejagnu: check-dejagnu
7521 check-dejagnu:
7522 @: $(MAKE); $(unstage)
7523 @r=`${PWD_COMMAND}`; export r; \
7524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7525 $(HOST_EXPORTS) \
7526 (cd $(HOST_SUBDIR)/dejagnu && \
7527 $(MAKE) $(FLAGS_TO_PASS) check)
7529 @endif dejagnu
7531 .PHONY: install-dejagnu maybe-install-dejagnu
7532 maybe-install-dejagnu:
7533 @if dejagnu
7534 maybe-install-dejagnu: install-dejagnu
7536 install-dejagnu: installdirs
7537 @: $(MAKE); $(unstage)
7538 @r=`${PWD_COMMAND}`; export r; \
7539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7540 $(HOST_EXPORTS) \
7541 (cd $(HOST_SUBDIR)/dejagnu && \
7542 $(MAKE) $(FLAGS_TO_PASS) install)
7544 @endif dejagnu
7546 # Other targets (info, dvi, etc.)
7548 .PHONY: maybe-info-dejagnu info-dejagnu
7549 maybe-info-dejagnu:
7550 @if dejagnu
7551 maybe-info-dejagnu: info-dejagnu
7553 info-dejagnu: \
7554 configure-dejagnu
7555 @: $(MAKE); $(unstage)
7556 @[ -f ./dejagnu/Makefile ] || exit 0; \
7557 r=`${PWD_COMMAND}`; export r; \
7558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7559 $(HOST_EXPORTS) \
7560 for flag in $(EXTRA_HOST_FLAGS) ; do \
7561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7562 done; \
7563 echo "Doing info in dejagnu" ; \
7564 (cd $(HOST_SUBDIR)/dejagnu && \
7565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7567 "RANLIB=$${RANLIB}" \
7568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7569 info) \
7570 || exit 1
7572 @endif dejagnu
7574 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7575 maybe-dvi-dejagnu:
7576 @if dejagnu
7577 maybe-dvi-dejagnu: dvi-dejagnu
7579 dvi-dejagnu: \
7580 configure-dejagnu
7581 @: $(MAKE); $(unstage)
7582 @[ -f ./dejagnu/Makefile ] || exit 0; \
7583 r=`${PWD_COMMAND}`; export r; \
7584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7585 $(HOST_EXPORTS) \
7586 for flag in $(EXTRA_HOST_FLAGS) ; do \
7587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7588 done; \
7589 echo "Doing dvi in dejagnu" ; \
7590 (cd $(HOST_SUBDIR)/dejagnu && \
7591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7593 "RANLIB=$${RANLIB}" \
7594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7595 dvi) \
7596 || exit 1
7598 @endif dejagnu
7600 .PHONY: maybe-html-dejagnu html-dejagnu
7601 maybe-html-dejagnu:
7602 @if dejagnu
7603 maybe-html-dejagnu: html-dejagnu
7605 html-dejagnu: \
7606 configure-dejagnu
7607 @: $(MAKE); $(unstage)
7608 @[ -f ./dejagnu/Makefile ] || exit 0; \
7609 r=`${PWD_COMMAND}`; export r; \
7610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7611 $(HOST_EXPORTS) \
7612 for flag in $(EXTRA_HOST_FLAGS) ; do \
7613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7614 done; \
7615 echo "Doing html in dejagnu" ; \
7616 (cd $(HOST_SUBDIR)/dejagnu && \
7617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7619 "RANLIB=$${RANLIB}" \
7620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7621 html) \
7622 || exit 1
7624 @endif dejagnu
7626 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7627 maybe-TAGS-dejagnu:
7628 @if dejagnu
7629 maybe-TAGS-dejagnu: TAGS-dejagnu
7631 TAGS-dejagnu: \
7632 configure-dejagnu
7633 @: $(MAKE); $(unstage)
7634 @[ -f ./dejagnu/Makefile ] || exit 0; \
7635 r=`${PWD_COMMAND}`; export r; \
7636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7637 $(HOST_EXPORTS) \
7638 for flag in $(EXTRA_HOST_FLAGS) ; do \
7639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7640 done; \
7641 echo "Doing TAGS in dejagnu" ; \
7642 (cd $(HOST_SUBDIR)/dejagnu && \
7643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7645 "RANLIB=$${RANLIB}" \
7646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7647 TAGS) \
7648 || exit 1
7650 @endif dejagnu
7652 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7653 maybe-install-info-dejagnu:
7654 @if dejagnu
7655 maybe-install-info-dejagnu: install-info-dejagnu
7657 install-info-dejagnu: \
7658 configure-dejagnu \
7659 info-dejagnu
7660 @: $(MAKE); $(unstage)
7661 @[ -f ./dejagnu/Makefile ] || exit 0; \
7662 r=`${PWD_COMMAND}`; export r; \
7663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7664 $(HOST_EXPORTS) \
7665 for flag in $(EXTRA_HOST_FLAGS) ; do \
7666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7667 done; \
7668 echo "Doing install-info in dejagnu" ; \
7669 (cd $(HOST_SUBDIR)/dejagnu && \
7670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7672 "RANLIB=$${RANLIB}" \
7673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7674 install-info) \
7675 || exit 1
7677 @endif dejagnu
7679 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
7680 maybe-install-html-dejagnu:
7681 @if dejagnu
7682 maybe-install-html-dejagnu: install-html-dejagnu
7684 install-html-dejagnu: \
7685 configure-dejagnu \
7686 html-dejagnu
7687 @: $(MAKE); $(unstage)
7688 @[ -f ./dejagnu/Makefile ] || exit 0; \
7689 r=`${PWD_COMMAND}`; export r; \
7690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7691 $(HOST_EXPORTS) \
7692 for flag in $(EXTRA_HOST_FLAGS) ; do \
7693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7694 done; \
7695 echo "Doing install-html in dejagnu" ; \
7696 (cd $(HOST_SUBDIR)/dejagnu && \
7697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7699 "RANLIB=$${RANLIB}" \
7700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7701 install-html) \
7702 || exit 1
7704 @endif dejagnu
7706 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7707 maybe-installcheck-dejagnu:
7708 @if dejagnu
7709 maybe-installcheck-dejagnu: installcheck-dejagnu
7711 installcheck-dejagnu: \
7712 configure-dejagnu
7713 @: $(MAKE); $(unstage)
7714 @[ -f ./dejagnu/Makefile ] || exit 0; \
7715 r=`${PWD_COMMAND}`; export r; \
7716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7717 $(HOST_EXPORTS) \
7718 for flag in $(EXTRA_HOST_FLAGS) ; do \
7719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7720 done; \
7721 echo "Doing installcheck in dejagnu" ; \
7722 (cd $(HOST_SUBDIR)/dejagnu && \
7723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7725 "RANLIB=$${RANLIB}" \
7726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7727 installcheck) \
7728 || exit 1
7730 @endif dejagnu
7732 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7733 maybe-mostlyclean-dejagnu:
7734 @if dejagnu
7735 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7737 mostlyclean-dejagnu:
7738 @: $(MAKE); $(unstage)
7739 @[ -f ./dejagnu/Makefile ] || exit 0; \
7740 r=`${PWD_COMMAND}`; export r; \
7741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7742 $(HOST_EXPORTS) \
7743 for flag in $(EXTRA_HOST_FLAGS) ; do \
7744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7745 done; \
7746 echo "Doing mostlyclean in dejagnu" ; \
7747 (cd $(HOST_SUBDIR)/dejagnu && \
7748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7750 "RANLIB=$${RANLIB}" \
7751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7752 mostlyclean) \
7753 || exit 1
7755 @endif dejagnu
7757 .PHONY: maybe-clean-dejagnu clean-dejagnu
7758 maybe-clean-dejagnu:
7759 @if dejagnu
7760 maybe-clean-dejagnu: clean-dejagnu
7762 clean-dejagnu:
7763 @: $(MAKE); $(unstage)
7764 @[ -f ./dejagnu/Makefile ] || exit 0; \
7765 r=`${PWD_COMMAND}`; export r; \
7766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7767 $(HOST_EXPORTS) \
7768 for flag in $(EXTRA_HOST_FLAGS) ; do \
7769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7770 done; \
7771 echo "Doing clean in dejagnu" ; \
7772 (cd $(HOST_SUBDIR)/dejagnu && \
7773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7775 "RANLIB=$${RANLIB}" \
7776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7777 clean) \
7778 || exit 1
7780 @endif dejagnu
7782 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7783 maybe-distclean-dejagnu:
7784 @if dejagnu
7785 maybe-distclean-dejagnu: distclean-dejagnu
7787 distclean-dejagnu:
7788 @: $(MAKE); $(unstage)
7789 @[ -f ./dejagnu/Makefile ] || exit 0; \
7790 r=`${PWD_COMMAND}`; export r; \
7791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7792 $(HOST_EXPORTS) \
7793 for flag in $(EXTRA_HOST_FLAGS) ; do \
7794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7795 done; \
7796 echo "Doing distclean in dejagnu" ; \
7797 (cd $(HOST_SUBDIR)/dejagnu && \
7798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7800 "RANLIB=$${RANLIB}" \
7801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7802 distclean) \
7803 || exit 1
7805 @endif dejagnu
7807 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7808 maybe-maintainer-clean-dejagnu:
7809 @if dejagnu
7810 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7812 maintainer-clean-dejagnu:
7813 @: $(MAKE); $(unstage)
7814 @[ -f ./dejagnu/Makefile ] || exit 0; \
7815 r=`${PWD_COMMAND}`; export r; \
7816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7817 $(HOST_EXPORTS) \
7818 for flag in $(EXTRA_HOST_FLAGS) ; do \
7819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7820 done; \
7821 echo "Doing maintainer-clean in dejagnu" ; \
7822 (cd $(HOST_SUBDIR)/dejagnu && \
7823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7825 "RANLIB=$${RANLIB}" \
7826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7827 maintainer-clean) \
7828 || exit 1
7830 @endif dejagnu
7834 .PHONY: configure-diff maybe-configure-diff
7835 maybe-configure-diff:
7836 @if gcc-bootstrap
7837 configure-diff: stage_current
7838 @endif gcc-bootstrap
7839 @if diff
7840 maybe-configure-diff: configure-diff
7841 configure-diff:
7842 @: $(MAKE); $(unstage)
7843 @r=`${PWD_COMMAND}`; export r; \
7844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7845 test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
7846 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
7847 $(HOST_EXPORTS) \
7848 echo Configuring in $(HOST_SUBDIR)/diff; \
7849 cd "$(HOST_SUBDIR)/diff" || exit 1; \
7850 case $(srcdir) in \
7851 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7852 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
7853 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7854 esac; \
7855 srcdiroption="--srcdir=$${topdir}/diff"; \
7856 libsrcdir="$$s/diff"; \
7857 $(SHELL) $${libsrcdir}/configure \
7858 $(HOST_CONFIGARGS) $${srcdiroption} \
7859 || exit 1
7860 @endif diff
7866 .PHONY: all-diff maybe-all-diff
7867 maybe-all-diff:
7868 @if gcc-bootstrap
7869 all-diff: stage_current
7870 @endif gcc-bootstrap
7871 @if diff
7872 TARGET-diff=all
7873 maybe-all-diff: all-diff
7874 all-diff: configure-diff
7875 @: $(MAKE); $(unstage)
7876 @r=`${PWD_COMMAND}`; export r; \
7877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7878 $(HOST_EXPORTS) \
7879 (cd $(HOST_SUBDIR)/diff && \
7880 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
7881 @endif diff
7886 .PHONY: check-diff maybe-check-diff
7887 maybe-check-diff:
7888 @if diff
7889 maybe-check-diff: check-diff
7891 check-diff:
7892 @: $(MAKE); $(unstage)
7893 @r=`${PWD_COMMAND}`; export r; \
7894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7895 $(HOST_EXPORTS) \
7896 (cd $(HOST_SUBDIR)/diff && \
7897 $(MAKE) $(FLAGS_TO_PASS) check)
7899 @endif diff
7901 .PHONY: install-diff maybe-install-diff
7902 maybe-install-diff:
7903 @if diff
7904 maybe-install-diff: install-diff
7906 install-diff: installdirs
7907 @: $(MAKE); $(unstage)
7908 @r=`${PWD_COMMAND}`; export r; \
7909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7910 $(HOST_EXPORTS) \
7911 (cd $(HOST_SUBDIR)/diff && \
7912 $(MAKE) $(FLAGS_TO_PASS) install)
7914 @endif diff
7916 # Other targets (info, dvi, etc.)
7918 .PHONY: maybe-info-diff info-diff
7919 maybe-info-diff:
7920 @if diff
7921 maybe-info-diff: info-diff
7923 info-diff: \
7924 configure-diff
7925 @: $(MAKE); $(unstage)
7926 @[ -f ./diff/Makefile ] || exit 0; \
7927 r=`${PWD_COMMAND}`; export r; \
7928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7929 $(HOST_EXPORTS) \
7930 for flag in $(EXTRA_HOST_FLAGS) ; do \
7931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7932 done; \
7933 echo "Doing info in diff" ; \
7934 (cd $(HOST_SUBDIR)/diff && \
7935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7937 "RANLIB=$${RANLIB}" \
7938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7939 info) \
7940 || exit 1
7942 @endif diff
7944 .PHONY: maybe-dvi-diff dvi-diff
7945 maybe-dvi-diff:
7946 @if diff
7947 maybe-dvi-diff: dvi-diff
7949 dvi-diff: \
7950 configure-diff
7951 @: $(MAKE); $(unstage)
7952 @[ -f ./diff/Makefile ] || exit 0; \
7953 r=`${PWD_COMMAND}`; export r; \
7954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7955 $(HOST_EXPORTS) \
7956 for flag in $(EXTRA_HOST_FLAGS) ; do \
7957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7958 done; \
7959 echo "Doing dvi in diff" ; \
7960 (cd $(HOST_SUBDIR)/diff && \
7961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7963 "RANLIB=$${RANLIB}" \
7964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7965 dvi) \
7966 || exit 1
7968 @endif diff
7970 .PHONY: maybe-html-diff html-diff
7971 maybe-html-diff:
7972 @if diff
7973 maybe-html-diff: html-diff
7975 html-diff: \
7976 configure-diff
7977 @: $(MAKE); $(unstage)
7978 @[ -f ./diff/Makefile ] || exit 0; \
7979 r=`${PWD_COMMAND}`; export r; \
7980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7981 $(HOST_EXPORTS) \
7982 for flag in $(EXTRA_HOST_FLAGS) ; do \
7983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7984 done; \
7985 echo "Doing html in diff" ; \
7986 (cd $(HOST_SUBDIR)/diff && \
7987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7989 "RANLIB=$${RANLIB}" \
7990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7991 html) \
7992 || exit 1
7994 @endif diff
7996 .PHONY: maybe-TAGS-diff TAGS-diff
7997 maybe-TAGS-diff:
7998 @if diff
7999 maybe-TAGS-diff: TAGS-diff
8001 TAGS-diff: \
8002 configure-diff
8003 @: $(MAKE); $(unstage)
8004 @[ -f ./diff/Makefile ] || exit 0; \
8005 r=`${PWD_COMMAND}`; export r; \
8006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8007 $(HOST_EXPORTS) \
8008 for flag in $(EXTRA_HOST_FLAGS) ; do \
8009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8010 done; \
8011 echo "Doing TAGS in diff" ; \
8012 (cd $(HOST_SUBDIR)/diff && \
8013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8015 "RANLIB=$${RANLIB}" \
8016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8017 TAGS) \
8018 || exit 1
8020 @endif diff
8022 .PHONY: maybe-install-info-diff install-info-diff
8023 maybe-install-info-diff:
8024 @if diff
8025 maybe-install-info-diff: install-info-diff
8027 install-info-diff: \
8028 configure-diff \
8029 info-diff
8030 @: $(MAKE); $(unstage)
8031 @[ -f ./diff/Makefile ] || exit 0; \
8032 r=`${PWD_COMMAND}`; export r; \
8033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8034 $(HOST_EXPORTS) \
8035 for flag in $(EXTRA_HOST_FLAGS) ; do \
8036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8037 done; \
8038 echo "Doing install-info in diff" ; \
8039 (cd $(HOST_SUBDIR)/diff && \
8040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8042 "RANLIB=$${RANLIB}" \
8043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8044 install-info) \
8045 || exit 1
8047 @endif diff
8049 .PHONY: maybe-install-html-diff install-html-diff
8050 maybe-install-html-diff:
8051 @if diff
8052 maybe-install-html-diff: install-html-diff
8054 install-html-diff: \
8055 configure-diff \
8056 html-diff
8057 @: $(MAKE); $(unstage)
8058 @[ -f ./diff/Makefile ] || exit 0; \
8059 r=`${PWD_COMMAND}`; export r; \
8060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8061 $(HOST_EXPORTS) \
8062 for flag in $(EXTRA_HOST_FLAGS) ; do \
8063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8064 done; \
8065 echo "Doing install-html in diff" ; \
8066 (cd $(HOST_SUBDIR)/diff && \
8067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8069 "RANLIB=$${RANLIB}" \
8070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8071 install-html) \
8072 || exit 1
8074 @endif diff
8076 .PHONY: maybe-installcheck-diff installcheck-diff
8077 maybe-installcheck-diff:
8078 @if diff
8079 maybe-installcheck-diff: installcheck-diff
8081 installcheck-diff: \
8082 configure-diff
8083 @: $(MAKE); $(unstage)
8084 @[ -f ./diff/Makefile ] || exit 0; \
8085 r=`${PWD_COMMAND}`; export r; \
8086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8087 $(HOST_EXPORTS) \
8088 for flag in $(EXTRA_HOST_FLAGS) ; do \
8089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8090 done; \
8091 echo "Doing installcheck in diff" ; \
8092 (cd $(HOST_SUBDIR)/diff && \
8093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8095 "RANLIB=$${RANLIB}" \
8096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8097 installcheck) \
8098 || exit 1
8100 @endif diff
8102 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
8103 maybe-mostlyclean-diff:
8104 @if diff
8105 maybe-mostlyclean-diff: mostlyclean-diff
8107 mostlyclean-diff:
8108 @: $(MAKE); $(unstage)
8109 @[ -f ./diff/Makefile ] || exit 0; \
8110 r=`${PWD_COMMAND}`; export r; \
8111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8112 $(HOST_EXPORTS) \
8113 for flag in $(EXTRA_HOST_FLAGS) ; do \
8114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8115 done; \
8116 echo "Doing mostlyclean in diff" ; \
8117 (cd $(HOST_SUBDIR)/diff && \
8118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8120 "RANLIB=$${RANLIB}" \
8121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8122 mostlyclean) \
8123 || exit 1
8125 @endif diff
8127 .PHONY: maybe-clean-diff clean-diff
8128 maybe-clean-diff:
8129 @if diff
8130 maybe-clean-diff: clean-diff
8132 clean-diff:
8133 @: $(MAKE); $(unstage)
8134 @[ -f ./diff/Makefile ] || exit 0; \
8135 r=`${PWD_COMMAND}`; export r; \
8136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8137 $(HOST_EXPORTS) \
8138 for flag in $(EXTRA_HOST_FLAGS) ; do \
8139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8140 done; \
8141 echo "Doing clean in diff" ; \
8142 (cd $(HOST_SUBDIR)/diff && \
8143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8145 "RANLIB=$${RANLIB}" \
8146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8147 clean) \
8148 || exit 1
8150 @endif diff
8152 .PHONY: maybe-distclean-diff distclean-diff
8153 maybe-distclean-diff:
8154 @if diff
8155 maybe-distclean-diff: distclean-diff
8157 distclean-diff:
8158 @: $(MAKE); $(unstage)
8159 @[ -f ./diff/Makefile ] || exit 0; \
8160 r=`${PWD_COMMAND}`; export r; \
8161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8162 $(HOST_EXPORTS) \
8163 for flag in $(EXTRA_HOST_FLAGS) ; do \
8164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8165 done; \
8166 echo "Doing distclean in diff" ; \
8167 (cd $(HOST_SUBDIR)/diff && \
8168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8170 "RANLIB=$${RANLIB}" \
8171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8172 distclean) \
8173 || exit 1
8175 @endif diff
8177 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
8178 maybe-maintainer-clean-diff:
8179 @if diff
8180 maybe-maintainer-clean-diff: maintainer-clean-diff
8182 maintainer-clean-diff:
8183 @: $(MAKE); $(unstage)
8184 @[ -f ./diff/Makefile ] || exit 0; \
8185 r=`${PWD_COMMAND}`; export r; \
8186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8187 $(HOST_EXPORTS) \
8188 for flag in $(EXTRA_HOST_FLAGS) ; do \
8189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8190 done; \
8191 echo "Doing maintainer-clean in diff" ; \
8192 (cd $(HOST_SUBDIR)/diff && \
8193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8195 "RANLIB=$${RANLIB}" \
8196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8197 maintainer-clean) \
8198 || exit 1
8200 @endif diff
8204 .PHONY: configure-dosutils maybe-configure-dosutils
8205 maybe-configure-dosutils:
8206 @if gcc-bootstrap
8207 configure-dosutils: stage_current
8208 @endif gcc-bootstrap
8209 @if dosutils
8210 maybe-configure-dosutils: configure-dosutils
8211 configure-dosutils:
8212 @: $(MAKE); $(unstage)
8213 @r=`${PWD_COMMAND}`; export r; \
8214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8215 test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
8216 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
8217 $(HOST_EXPORTS) \
8218 echo Configuring in $(HOST_SUBDIR)/dosutils; \
8219 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
8220 case $(srcdir) in \
8221 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8222 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
8223 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8224 esac; \
8225 srcdiroption="--srcdir=$${topdir}/dosutils"; \
8226 libsrcdir="$$s/dosutils"; \
8227 $(SHELL) $${libsrcdir}/configure \
8228 $(HOST_CONFIGARGS) $${srcdiroption} \
8229 || exit 1
8230 @endif dosutils
8236 .PHONY: all-dosutils maybe-all-dosutils
8237 maybe-all-dosutils:
8238 @if gcc-bootstrap
8239 all-dosutils: stage_current
8240 @endif gcc-bootstrap
8241 @if dosutils
8242 TARGET-dosutils=all
8243 maybe-all-dosutils: all-dosutils
8244 all-dosutils: configure-dosutils
8245 @: $(MAKE); $(unstage)
8246 @r=`${PWD_COMMAND}`; export r; \
8247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8248 $(HOST_EXPORTS) \
8249 (cd $(HOST_SUBDIR)/dosutils && \
8250 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
8251 @endif dosutils
8256 .PHONY: check-dosutils maybe-check-dosutils
8257 maybe-check-dosutils:
8258 @if dosutils
8259 maybe-check-dosutils: check-dosutils
8261 check-dosutils:
8263 @endif dosutils
8265 .PHONY: install-dosutils maybe-install-dosutils
8266 maybe-install-dosutils:
8267 @if dosutils
8268 maybe-install-dosutils: install-dosutils
8270 install-dosutils: installdirs
8271 @: $(MAKE); $(unstage)
8272 @r=`${PWD_COMMAND}`; export r; \
8273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8274 $(HOST_EXPORTS) \
8275 (cd $(HOST_SUBDIR)/dosutils && \
8276 $(MAKE) $(FLAGS_TO_PASS) install)
8278 @endif dosutils
8280 # Other targets (info, dvi, etc.)
8282 .PHONY: maybe-info-dosutils info-dosutils
8283 maybe-info-dosutils:
8284 @if dosutils
8285 maybe-info-dosutils: info-dosutils
8287 info-dosutils: \
8288 configure-dosutils
8289 @: $(MAKE); $(unstage)
8290 @[ -f ./dosutils/Makefile ] || exit 0; \
8291 r=`${PWD_COMMAND}`; export r; \
8292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8293 $(HOST_EXPORTS) \
8294 for flag in $(EXTRA_HOST_FLAGS) ; do \
8295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8296 done; \
8297 echo "Doing info in dosutils" ; \
8298 (cd $(HOST_SUBDIR)/dosutils && \
8299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8301 "RANLIB=$${RANLIB}" \
8302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8303 info) \
8304 || exit 1
8306 @endif dosutils
8308 .PHONY: maybe-dvi-dosutils dvi-dosutils
8309 maybe-dvi-dosutils:
8310 @if dosutils
8311 maybe-dvi-dosutils: dvi-dosutils
8313 dvi-dosutils: \
8314 configure-dosutils
8315 @: $(MAKE); $(unstage)
8316 @[ -f ./dosutils/Makefile ] || exit 0; \
8317 r=`${PWD_COMMAND}`; export r; \
8318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8319 $(HOST_EXPORTS) \
8320 for flag in $(EXTRA_HOST_FLAGS) ; do \
8321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8322 done; \
8323 echo "Doing dvi in dosutils" ; \
8324 (cd $(HOST_SUBDIR)/dosutils && \
8325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8327 "RANLIB=$${RANLIB}" \
8328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8329 dvi) \
8330 || exit 1
8332 @endif dosutils
8334 .PHONY: maybe-html-dosutils html-dosutils
8335 maybe-html-dosutils:
8336 @if dosutils
8337 maybe-html-dosutils: html-dosutils
8339 html-dosutils: \
8340 configure-dosutils
8341 @: $(MAKE); $(unstage)
8342 @[ -f ./dosutils/Makefile ] || exit 0; \
8343 r=`${PWD_COMMAND}`; export r; \
8344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8345 $(HOST_EXPORTS) \
8346 for flag in $(EXTRA_HOST_FLAGS) ; do \
8347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8348 done; \
8349 echo "Doing html in dosutils" ; \
8350 (cd $(HOST_SUBDIR)/dosutils && \
8351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8353 "RANLIB=$${RANLIB}" \
8354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8355 html) \
8356 || exit 1
8358 @endif dosutils
8360 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
8361 maybe-TAGS-dosutils:
8362 @if dosutils
8363 maybe-TAGS-dosutils: TAGS-dosutils
8365 TAGS-dosutils: \
8366 configure-dosutils
8367 @: $(MAKE); $(unstage)
8368 @[ -f ./dosutils/Makefile ] || exit 0; \
8369 r=`${PWD_COMMAND}`; export r; \
8370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8371 $(HOST_EXPORTS) \
8372 for flag in $(EXTRA_HOST_FLAGS) ; do \
8373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8374 done; \
8375 echo "Doing TAGS in dosutils" ; \
8376 (cd $(HOST_SUBDIR)/dosutils && \
8377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8379 "RANLIB=$${RANLIB}" \
8380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8381 TAGS) \
8382 || exit 1
8384 @endif dosutils
8386 .PHONY: maybe-install-info-dosutils install-info-dosutils
8387 maybe-install-info-dosutils:
8388 @if dosutils
8389 maybe-install-info-dosutils: install-info-dosutils
8391 install-info-dosutils: \
8392 configure-dosutils \
8393 info-dosutils
8394 @: $(MAKE); $(unstage)
8395 @[ -f ./dosutils/Makefile ] || exit 0; \
8396 r=`${PWD_COMMAND}`; export r; \
8397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8398 $(HOST_EXPORTS) \
8399 for flag in $(EXTRA_HOST_FLAGS) ; do \
8400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8401 done; \
8402 echo "Doing install-info in dosutils" ; \
8403 (cd $(HOST_SUBDIR)/dosutils && \
8404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8406 "RANLIB=$${RANLIB}" \
8407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8408 install-info) \
8409 || exit 1
8411 @endif dosutils
8413 .PHONY: maybe-install-html-dosutils install-html-dosutils
8414 maybe-install-html-dosutils:
8415 @if dosutils
8416 maybe-install-html-dosutils: install-html-dosutils
8418 install-html-dosutils: \
8419 configure-dosutils \
8420 html-dosutils
8421 @: $(MAKE); $(unstage)
8422 @[ -f ./dosutils/Makefile ] || exit 0; \
8423 r=`${PWD_COMMAND}`; export r; \
8424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8425 $(HOST_EXPORTS) \
8426 for flag in $(EXTRA_HOST_FLAGS) ; do \
8427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8428 done; \
8429 echo "Doing install-html in dosutils" ; \
8430 (cd $(HOST_SUBDIR)/dosutils && \
8431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8433 "RANLIB=$${RANLIB}" \
8434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8435 install-html) \
8436 || exit 1
8438 @endif dosutils
8440 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
8441 maybe-installcheck-dosutils:
8442 @if dosutils
8443 maybe-installcheck-dosutils: installcheck-dosutils
8445 installcheck-dosutils: \
8446 configure-dosutils
8447 @: $(MAKE); $(unstage)
8448 @[ -f ./dosutils/Makefile ] || exit 0; \
8449 r=`${PWD_COMMAND}`; export r; \
8450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8451 $(HOST_EXPORTS) \
8452 for flag in $(EXTRA_HOST_FLAGS) ; do \
8453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8454 done; \
8455 echo "Doing installcheck in dosutils" ; \
8456 (cd $(HOST_SUBDIR)/dosutils && \
8457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8459 "RANLIB=$${RANLIB}" \
8460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8461 installcheck) \
8462 || exit 1
8464 @endif dosutils
8466 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
8467 maybe-mostlyclean-dosutils:
8468 @if dosutils
8469 maybe-mostlyclean-dosutils: mostlyclean-dosutils
8471 mostlyclean-dosutils:
8472 @: $(MAKE); $(unstage)
8473 @[ -f ./dosutils/Makefile ] || exit 0; \
8474 r=`${PWD_COMMAND}`; export r; \
8475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8476 $(HOST_EXPORTS) \
8477 for flag in $(EXTRA_HOST_FLAGS) ; do \
8478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8479 done; \
8480 echo "Doing mostlyclean in dosutils" ; \
8481 (cd $(HOST_SUBDIR)/dosutils && \
8482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8484 "RANLIB=$${RANLIB}" \
8485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8486 mostlyclean) \
8487 || exit 1
8489 @endif dosutils
8491 .PHONY: maybe-clean-dosutils clean-dosutils
8492 maybe-clean-dosutils:
8493 @if dosutils
8494 maybe-clean-dosutils: clean-dosutils
8496 clean-dosutils:
8497 @: $(MAKE); $(unstage)
8498 @[ -f ./dosutils/Makefile ] || exit 0; \
8499 r=`${PWD_COMMAND}`; export r; \
8500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8501 $(HOST_EXPORTS) \
8502 for flag in $(EXTRA_HOST_FLAGS) ; do \
8503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8504 done; \
8505 echo "Doing clean in dosutils" ; \
8506 (cd $(HOST_SUBDIR)/dosutils && \
8507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8509 "RANLIB=$${RANLIB}" \
8510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8511 clean) \
8512 || exit 1
8514 @endif dosutils
8516 .PHONY: maybe-distclean-dosutils distclean-dosutils
8517 maybe-distclean-dosutils:
8518 @if dosutils
8519 maybe-distclean-dosutils: distclean-dosutils
8521 distclean-dosutils:
8522 @: $(MAKE); $(unstage)
8523 @[ -f ./dosutils/Makefile ] || exit 0; \
8524 r=`${PWD_COMMAND}`; export r; \
8525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8526 $(HOST_EXPORTS) \
8527 for flag in $(EXTRA_HOST_FLAGS) ; do \
8528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8529 done; \
8530 echo "Doing distclean in dosutils" ; \
8531 (cd $(HOST_SUBDIR)/dosutils && \
8532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8534 "RANLIB=$${RANLIB}" \
8535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8536 distclean) \
8537 || exit 1
8539 @endif dosutils
8541 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
8542 maybe-maintainer-clean-dosutils:
8543 @if dosutils
8544 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
8546 maintainer-clean-dosutils:
8547 @: $(MAKE); $(unstage)
8548 @[ -f ./dosutils/Makefile ] || exit 0; \
8549 r=`${PWD_COMMAND}`; export r; \
8550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8551 $(HOST_EXPORTS) \
8552 for flag in $(EXTRA_HOST_FLAGS) ; do \
8553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8554 done; \
8555 echo "Doing maintainer-clean in dosutils" ; \
8556 (cd $(HOST_SUBDIR)/dosutils && \
8557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8559 "RANLIB=$${RANLIB}" \
8560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8561 maintainer-clean) \
8562 || exit 1
8564 @endif dosutils
8568 .PHONY: configure-etc maybe-configure-etc
8569 maybe-configure-etc:
8570 @if gcc-bootstrap
8571 configure-etc: stage_current
8572 @endif gcc-bootstrap
8573 @if etc
8574 maybe-configure-etc: configure-etc
8575 configure-etc:
8576 @: $(MAKE); $(unstage)
8577 @r=`${PWD_COMMAND}`; export r; \
8578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8579 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
8580 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
8581 $(HOST_EXPORTS) \
8582 echo Configuring in $(HOST_SUBDIR)/etc; \
8583 cd "$(HOST_SUBDIR)/etc" || exit 1; \
8584 case $(srcdir) in \
8585 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8586 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
8587 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8588 esac; \
8589 srcdiroption="--srcdir=$${topdir}/etc"; \
8590 libsrcdir="$$s/etc"; \
8591 $(SHELL) $${libsrcdir}/configure \
8592 $(HOST_CONFIGARGS) $${srcdiroption} \
8593 || exit 1
8594 @endif etc
8600 .PHONY: all-etc maybe-all-etc
8601 maybe-all-etc:
8602 @if gcc-bootstrap
8603 all-etc: stage_current
8604 @endif gcc-bootstrap
8605 @if etc
8606 TARGET-etc=all
8607 maybe-all-etc: all-etc
8608 all-etc: configure-etc
8609 @: $(MAKE); $(unstage)
8610 @r=`${PWD_COMMAND}`; export r; \
8611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8612 $(HOST_EXPORTS) \
8613 (cd $(HOST_SUBDIR)/etc && \
8614 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
8615 @endif etc
8620 .PHONY: check-etc maybe-check-etc
8621 maybe-check-etc:
8622 @if etc
8623 maybe-check-etc: check-etc
8625 check-etc:
8626 @: $(MAKE); $(unstage)
8627 @r=`${PWD_COMMAND}`; export r; \
8628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8629 $(HOST_EXPORTS) \
8630 (cd $(HOST_SUBDIR)/etc && \
8631 $(MAKE) $(FLAGS_TO_PASS) check)
8633 @endif etc
8635 .PHONY: install-etc maybe-install-etc
8636 maybe-install-etc:
8637 @if etc
8638 maybe-install-etc: install-etc
8640 install-etc: installdirs
8641 @: $(MAKE); $(unstage)
8642 @r=`${PWD_COMMAND}`; export r; \
8643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8644 $(HOST_EXPORTS) \
8645 (cd $(HOST_SUBDIR)/etc && \
8646 $(MAKE) $(FLAGS_TO_PASS) install)
8648 @endif etc
8650 # Other targets (info, dvi, etc.)
8652 .PHONY: maybe-info-etc info-etc
8653 maybe-info-etc:
8654 @if etc
8655 maybe-info-etc: info-etc
8657 info-etc: \
8658 configure-etc
8659 @: $(MAKE); $(unstage)
8660 @[ -f ./etc/Makefile ] || exit 0; \
8661 r=`${PWD_COMMAND}`; export r; \
8662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8663 $(HOST_EXPORTS) \
8664 for flag in $(EXTRA_HOST_FLAGS) ; do \
8665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8666 done; \
8667 echo "Doing info in etc" ; \
8668 (cd $(HOST_SUBDIR)/etc && \
8669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8671 "RANLIB=$${RANLIB}" \
8672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8673 info) \
8674 || exit 1
8676 @endif etc
8678 .PHONY: maybe-dvi-etc dvi-etc
8679 maybe-dvi-etc:
8680 @if etc
8681 maybe-dvi-etc: dvi-etc
8683 dvi-etc: \
8684 configure-etc
8685 @: $(MAKE); $(unstage)
8686 @[ -f ./etc/Makefile ] || exit 0; \
8687 r=`${PWD_COMMAND}`; export r; \
8688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8689 $(HOST_EXPORTS) \
8690 for flag in $(EXTRA_HOST_FLAGS) ; do \
8691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8692 done; \
8693 echo "Doing dvi in etc" ; \
8694 (cd $(HOST_SUBDIR)/etc && \
8695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8697 "RANLIB=$${RANLIB}" \
8698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8699 dvi) \
8700 || exit 1
8702 @endif etc
8704 .PHONY: maybe-html-etc html-etc
8705 maybe-html-etc:
8706 @if etc
8707 maybe-html-etc: html-etc
8709 html-etc: \
8710 configure-etc
8711 @: $(MAKE); $(unstage)
8712 @[ -f ./etc/Makefile ] || exit 0; \
8713 r=`${PWD_COMMAND}`; export r; \
8714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8715 $(HOST_EXPORTS) \
8716 for flag in $(EXTRA_HOST_FLAGS) ; do \
8717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8718 done; \
8719 echo "Doing html in etc" ; \
8720 (cd $(HOST_SUBDIR)/etc && \
8721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8723 "RANLIB=$${RANLIB}" \
8724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8725 html) \
8726 || exit 1
8728 @endif etc
8730 .PHONY: maybe-TAGS-etc TAGS-etc
8731 maybe-TAGS-etc:
8732 @if etc
8733 maybe-TAGS-etc: TAGS-etc
8735 TAGS-etc: \
8736 configure-etc
8737 @: $(MAKE); $(unstage)
8738 @[ -f ./etc/Makefile ] || exit 0; \
8739 r=`${PWD_COMMAND}`; export r; \
8740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8741 $(HOST_EXPORTS) \
8742 for flag in $(EXTRA_HOST_FLAGS) ; do \
8743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8744 done; \
8745 echo "Doing TAGS in etc" ; \
8746 (cd $(HOST_SUBDIR)/etc && \
8747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8749 "RANLIB=$${RANLIB}" \
8750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8751 TAGS) \
8752 || exit 1
8754 @endif etc
8756 .PHONY: maybe-install-info-etc install-info-etc
8757 maybe-install-info-etc:
8758 @if etc
8759 maybe-install-info-etc: install-info-etc
8761 install-info-etc: \
8762 configure-etc \
8763 info-etc
8764 @: $(MAKE); $(unstage)
8765 @[ -f ./etc/Makefile ] || exit 0; \
8766 r=`${PWD_COMMAND}`; export r; \
8767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8768 $(HOST_EXPORTS) \
8769 for flag in $(EXTRA_HOST_FLAGS) ; do \
8770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8771 done; \
8772 echo "Doing install-info in etc" ; \
8773 (cd $(HOST_SUBDIR)/etc && \
8774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8776 "RANLIB=$${RANLIB}" \
8777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8778 install-info) \
8779 || exit 1
8781 @endif etc
8783 .PHONY: maybe-install-html-etc install-html-etc
8784 maybe-install-html-etc:
8785 @if etc
8786 maybe-install-html-etc: install-html-etc
8788 install-html-etc: \
8789 configure-etc \
8790 html-etc
8791 @: $(MAKE); $(unstage)
8792 @[ -f ./etc/Makefile ] || exit 0; \
8793 r=`${PWD_COMMAND}`; export r; \
8794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8795 $(HOST_EXPORTS) \
8796 for flag in $(EXTRA_HOST_FLAGS) ; do \
8797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8798 done; \
8799 echo "Doing install-html in etc" ; \
8800 (cd $(HOST_SUBDIR)/etc && \
8801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8803 "RANLIB=$${RANLIB}" \
8804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8805 install-html) \
8806 || exit 1
8808 @endif etc
8810 .PHONY: maybe-installcheck-etc installcheck-etc
8811 maybe-installcheck-etc:
8812 @if etc
8813 maybe-installcheck-etc: installcheck-etc
8815 installcheck-etc: \
8816 configure-etc
8817 @: $(MAKE); $(unstage)
8818 @[ -f ./etc/Makefile ] || exit 0; \
8819 r=`${PWD_COMMAND}`; export r; \
8820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8821 $(HOST_EXPORTS) \
8822 for flag in $(EXTRA_HOST_FLAGS) ; do \
8823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8824 done; \
8825 echo "Doing installcheck in etc" ; \
8826 (cd $(HOST_SUBDIR)/etc && \
8827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8829 "RANLIB=$${RANLIB}" \
8830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8831 installcheck) \
8832 || exit 1
8834 @endif etc
8836 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8837 maybe-mostlyclean-etc:
8838 @if etc
8839 maybe-mostlyclean-etc: mostlyclean-etc
8841 mostlyclean-etc:
8842 @: $(MAKE); $(unstage)
8843 @[ -f ./etc/Makefile ] || exit 0; \
8844 r=`${PWD_COMMAND}`; export r; \
8845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8846 $(HOST_EXPORTS) \
8847 for flag in $(EXTRA_HOST_FLAGS) ; do \
8848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8849 done; \
8850 echo "Doing mostlyclean in etc" ; \
8851 (cd $(HOST_SUBDIR)/etc && \
8852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8854 "RANLIB=$${RANLIB}" \
8855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8856 mostlyclean) \
8857 || exit 1
8859 @endif etc
8861 .PHONY: maybe-clean-etc clean-etc
8862 maybe-clean-etc:
8863 @if etc
8864 maybe-clean-etc: clean-etc
8866 clean-etc:
8867 @: $(MAKE); $(unstage)
8868 @[ -f ./etc/Makefile ] || exit 0; \
8869 r=`${PWD_COMMAND}`; export r; \
8870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8871 $(HOST_EXPORTS) \
8872 for flag in $(EXTRA_HOST_FLAGS) ; do \
8873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8874 done; \
8875 echo "Doing clean in etc" ; \
8876 (cd $(HOST_SUBDIR)/etc && \
8877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8879 "RANLIB=$${RANLIB}" \
8880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8881 clean) \
8882 || exit 1
8884 @endif etc
8886 .PHONY: maybe-distclean-etc distclean-etc
8887 maybe-distclean-etc:
8888 @if etc
8889 maybe-distclean-etc: distclean-etc
8891 distclean-etc:
8892 @: $(MAKE); $(unstage)
8893 @[ -f ./etc/Makefile ] || exit 0; \
8894 r=`${PWD_COMMAND}`; export r; \
8895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8896 $(HOST_EXPORTS) \
8897 for flag in $(EXTRA_HOST_FLAGS) ; do \
8898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8899 done; \
8900 echo "Doing distclean in etc" ; \
8901 (cd $(HOST_SUBDIR)/etc && \
8902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8904 "RANLIB=$${RANLIB}" \
8905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8906 distclean) \
8907 || exit 1
8909 @endif etc
8911 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8912 maybe-maintainer-clean-etc:
8913 @if etc
8914 maybe-maintainer-clean-etc: maintainer-clean-etc
8916 maintainer-clean-etc:
8917 @: $(MAKE); $(unstage)
8918 @[ -f ./etc/Makefile ] || exit 0; \
8919 r=`${PWD_COMMAND}`; export r; \
8920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8921 $(HOST_EXPORTS) \
8922 for flag in $(EXTRA_HOST_FLAGS) ; do \
8923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8924 done; \
8925 echo "Doing maintainer-clean in etc" ; \
8926 (cd $(HOST_SUBDIR)/etc && \
8927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8929 "RANLIB=$${RANLIB}" \
8930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8931 maintainer-clean) \
8932 || exit 1
8934 @endif etc
8938 .PHONY: configure-fastjar maybe-configure-fastjar
8939 maybe-configure-fastjar:
8940 @if gcc-bootstrap
8941 configure-fastjar: stage_current
8942 @endif gcc-bootstrap
8943 @if fastjar
8944 maybe-configure-fastjar: configure-fastjar
8945 configure-fastjar:
8946 @: $(MAKE); $(unstage)
8947 @r=`${PWD_COMMAND}`; export r; \
8948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8949 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8950 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
8951 $(HOST_EXPORTS) \
8952 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8953 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8954 case $(srcdir) in \
8955 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8956 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8957 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8958 esac; \
8959 srcdiroption="--srcdir=$${topdir}/fastjar"; \
8960 libsrcdir="$$s/fastjar"; \
8961 $(SHELL) $${libsrcdir}/configure \
8962 $(HOST_CONFIGARGS) $${srcdiroption} \
8963 || exit 1
8964 @endif fastjar
8970 .PHONY: all-fastjar maybe-all-fastjar
8971 maybe-all-fastjar:
8972 @if gcc-bootstrap
8973 all-fastjar: stage_current
8974 @endif gcc-bootstrap
8975 @if fastjar
8976 TARGET-fastjar=all
8977 maybe-all-fastjar: all-fastjar
8978 all-fastjar: configure-fastjar
8979 @: $(MAKE); $(unstage)
8980 @r=`${PWD_COMMAND}`; export r; \
8981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8982 $(HOST_EXPORTS) \
8983 (cd $(HOST_SUBDIR)/fastjar && \
8984 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
8985 @endif fastjar
8990 .PHONY: check-fastjar maybe-check-fastjar
8991 maybe-check-fastjar:
8992 @if fastjar
8993 maybe-check-fastjar: check-fastjar
8995 # This module is only tested in a native toolchain.
8996 check-fastjar:
8997 @: $(MAKE); $(unstage)
8998 @if [ '$(host)' = '$(target)' ] ; then \
8999 r=`${PWD_COMMAND}`; export r; \
9000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9001 $(HOST_EXPORTS) \
9002 (cd $(HOST_SUBDIR)/fastjar && \
9003 $(MAKE) $(FLAGS_TO_PASS) check); \
9006 @endif fastjar
9008 .PHONY: install-fastjar maybe-install-fastjar
9009 maybe-install-fastjar:
9010 @if fastjar
9011 maybe-install-fastjar: install-fastjar
9013 install-fastjar: installdirs
9014 @: $(MAKE); $(unstage)
9015 @r=`${PWD_COMMAND}`; export r; \
9016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9017 $(HOST_EXPORTS) \
9018 (cd $(HOST_SUBDIR)/fastjar && \
9019 $(MAKE) $(FLAGS_TO_PASS) install)
9021 @endif fastjar
9023 # Other targets (info, dvi, etc.)
9025 .PHONY: maybe-info-fastjar info-fastjar
9026 maybe-info-fastjar:
9027 @if fastjar
9028 maybe-info-fastjar: info-fastjar
9030 info-fastjar: \
9031 configure-fastjar
9032 @: $(MAKE); $(unstage)
9033 @[ -f ./fastjar/Makefile ] || exit 0; \
9034 r=`${PWD_COMMAND}`; export r; \
9035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9036 $(HOST_EXPORTS) \
9037 for flag in $(EXTRA_HOST_FLAGS) ; do \
9038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9039 done; \
9040 echo "Doing info in fastjar" ; \
9041 (cd $(HOST_SUBDIR)/fastjar && \
9042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9044 "RANLIB=$${RANLIB}" \
9045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9046 info) \
9047 || exit 1
9049 @endif fastjar
9051 .PHONY: maybe-dvi-fastjar dvi-fastjar
9052 maybe-dvi-fastjar:
9053 @if fastjar
9054 maybe-dvi-fastjar: dvi-fastjar
9056 dvi-fastjar: \
9057 configure-fastjar
9058 @: $(MAKE); $(unstage)
9059 @[ -f ./fastjar/Makefile ] || exit 0; \
9060 r=`${PWD_COMMAND}`; export r; \
9061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9062 $(HOST_EXPORTS) \
9063 for flag in $(EXTRA_HOST_FLAGS) ; do \
9064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9065 done; \
9066 echo "Doing dvi in fastjar" ; \
9067 (cd $(HOST_SUBDIR)/fastjar && \
9068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9070 "RANLIB=$${RANLIB}" \
9071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9072 dvi) \
9073 || exit 1
9075 @endif fastjar
9077 .PHONY: maybe-html-fastjar html-fastjar
9078 maybe-html-fastjar:
9079 @if fastjar
9080 maybe-html-fastjar: html-fastjar
9082 html-fastjar: \
9083 configure-fastjar
9084 @: $(MAKE); $(unstage)
9085 @[ -f ./fastjar/Makefile ] || exit 0; \
9086 r=`${PWD_COMMAND}`; export r; \
9087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9088 $(HOST_EXPORTS) \
9089 for flag in $(EXTRA_HOST_FLAGS) ; do \
9090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9091 done; \
9092 echo "Doing html in fastjar" ; \
9093 (cd $(HOST_SUBDIR)/fastjar && \
9094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9096 "RANLIB=$${RANLIB}" \
9097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9098 html) \
9099 || exit 1
9101 @endif fastjar
9103 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
9104 maybe-TAGS-fastjar:
9105 @if fastjar
9106 maybe-TAGS-fastjar: TAGS-fastjar
9108 TAGS-fastjar: \
9109 configure-fastjar
9110 @: $(MAKE); $(unstage)
9111 @[ -f ./fastjar/Makefile ] || exit 0; \
9112 r=`${PWD_COMMAND}`; export r; \
9113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9114 $(HOST_EXPORTS) \
9115 for flag in $(EXTRA_HOST_FLAGS) ; do \
9116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9117 done; \
9118 echo "Doing TAGS in fastjar" ; \
9119 (cd $(HOST_SUBDIR)/fastjar && \
9120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9122 "RANLIB=$${RANLIB}" \
9123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9124 TAGS) \
9125 || exit 1
9127 @endif fastjar
9129 .PHONY: maybe-install-info-fastjar install-info-fastjar
9130 maybe-install-info-fastjar:
9131 @if fastjar
9132 maybe-install-info-fastjar: install-info-fastjar
9134 install-info-fastjar: \
9135 configure-fastjar \
9136 info-fastjar
9137 @: $(MAKE); $(unstage)
9138 @[ -f ./fastjar/Makefile ] || exit 0; \
9139 r=`${PWD_COMMAND}`; export r; \
9140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9141 $(HOST_EXPORTS) \
9142 for flag in $(EXTRA_HOST_FLAGS) ; do \
9143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9144 done; \
9145 echo "Doing install-info in fastjar" ; \
9146 (cd $(HOST_SUBDIR)/fastjar && \
9147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9149 "RANLIB=$${RANLIB}" \
9150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9151 install-info) \
9152 || exit 1
9154 @endif fastjar
9156 .PHONY: maybe-install-html-fastjar install-html-fastjar
9157 maybe-install-html-fastjar:
9158 @if fastjar
9159 maybe-install-html-fastjar: install-html-fastjar
9161 install-html-fastjar: \
9162 configure-fastjar \
9163 html-fastjar
9164 @: $(MAKE); $(unstage)
9165 @[ -f ./fastjar/Makefile ] || exit 0; \
9166 r=`${PWD_COMMAND}`; export r; \
9167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9168 $(HOST_EXPORTS) \
9169 for flag in $(EXTRA_HOST_FLAGS) ; do \
9170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9171 done; \
9172 echo "Doing install-html in fastjar" ; \
9173 (cd $(HOST_SUBDIR)/fastjar && \
9174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9176 "RANLIB=$${RANLIB}" \
9177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9178 install-html) \
9179 || exit 1
9181 @endif fastjar
9183 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
9184 maybe-installcheck-fastjar:
9185 @if fastjar
9186 maybe-installcheck-fastjar: installcheck-fastjar
9188 installcheck-fastjar: \
9189 configure-fastjar
9190 @: $(MAKE); $(unstage)
9191 @[ -f ./fastjar/Makefile ] || exit 0; \
9192 r=`${PWD_COMMAND}`; export r; \
9193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9194 $(HOST_EXPORTS) \
9195 for flag in $(EXTRA_HOST_FLAGS) ; do \
9196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9197 done; \
9198 echo "Doing installcheck in fastjar" ; \
9199 (cd $(HOST_SUBDIR)/fastjar && \
9200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9202 "RANLIB=$${RANLIB}" \
9203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9204 installcheck) \
9205 || exit 1
9207 @endif fastjar
9209 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
9210 maybe-mostlyclean-fastjar:
9211 @if fastjar
9212 maybe-mostlyclean-fastjar: mostlyclean-fastjar
9214 mostlyclean-fastjar:
9215 @: $(MAKE); $(unstage)
9216 @[ -f ./fastjar/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 mostlyclean in fastjar" ; \
9224 (cd $(HOST_SUBDIR)/fastjar && \
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 mostlyclean) \
9230 || exit 1
9232 @endif fastjar
9234 .PHONY: maybe-clean-fastjar clean-fastjar
9235 maybe-clean-fastjar:
9236 @if fastjar
9237 maybe-clean-fastjar: clean-fastjar
9239 clean-fastjar:
9240 @: $(MAKE); $(unstage)
9241 @[ -f ./fastjar/Makefile ] || exit 0; \
9242 r=`${PWD_COMMAND}`; export r; \
9243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9244 $(HOST_EXPORTS) \
9245 for flag in $(EXTRA_HOST_FLAGS) ; do \
9246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9247 done; \
9248 echo "Doing clean in fastjar" ; \
9249 (cd $(HOST_SUBDIR)/fastjar && \
9250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9252 "RANLIB=$${RANLIB}" \
9253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9254 clean) \
9255 || exit 1
9257 @endif fastjar
9259 .PHONY: maybe-distclean-fastjar distclean-fastjar
9260 maybe-distclean-fastjar:
9261 @if fastjar
9262 maybe-distclean-fastjar: distclean-fastjar
9264 distclean-fastjar:
9265 @: $(MAKE); $(unstage)
9266 @[ -f ./fastjar/Makefile ] || exit 0; \
9267 r=`${PWD_COMMAND}`; export r; \
9268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9269 $(HOST_EXPORTS) \
9270 for flag in $(EXTRA_HOST_FLAGS) ; do \
9271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9272 done; \
9273 echo "Doing distclean in fastjar" ; \
9274 (cd $(HOST_SUBDIR)/fastjar && \
9275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9277 "RANLIB=$${RANLIB}" \
9278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9279 distclean) \
9280 || exit 1
9282 @endif fastjar
9284 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
9285 maybe-maintainer-clean-fastjar:
9286 @if fastjar
9287 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
9289 maintainer-clean-fastjar:
9290 @: $(MAKE); $(unstage)
9291 @[ -f ./fastjar/Makefile ] || exit 0; \
9292 r=`${PWD_COMMAND}`; export r; \
9293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9294 $(HOST_EXPORTS) \
9295 for flag in $(EXTRA_HOST_FLAGS) ; do \
9296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9297 done; \
9298 echo "Doing maintainer-clean in fastjar" ; \
9299 (cd $(HOST_SUBDIR)/fastjar && \
9300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9302 "RANLIB=$${RANLIB}" \
9303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9304 maintainer-clean) \
9305 || exit 1
9307 @endif fastjar
9311 .PHONY: configure-fileutils maybe-configure-fileutils
9312 maybe-configure-fileutils:
9313 @if gcc-bootstrap
9314 configure-fileutils: stage_current
9315 @endif gcc-bootstrap
9316 @if fileutils
9317 maybe-configure-fileutils: configure-fileutils
9318 configure-fileutils:
9319 @: $(MAKE); $(unstage)
9320 @r=`${PWD_COMMAND}`; export r; \
9321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9322 test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
9323 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
9324 $(HOST_EXPORTS) \
9325 echo Configuring in $(HOST_SUBDIR)/fileutils; \
9326 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
9327 case $(srcdir) in \
9328 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9329 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
9330 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9331 esac; \
9332 srcdiroption="--srcdir=$${topdir}/fileutils"; \
9333 libsrcdir="$$s/fileutils"; \
9334 $(SHELL) $${libsrcdir}/configure \
9335 $(HOST_CONFIGARGS) $${srcdiroption} \
9336 || exit 1
9337 @endif fileutils
9343 .PHONY: all-fileutils maybe-all-fileutils
9344 maybe-all-fileutils:
9345 @if gcc-bootstrap
9346 all-fileutils: stage_current
9347 @endif gcc-bootstrap
9348 @if fileutils
9349 TARGET-fileutils=all
9350 maybe-all-fileutils: all-fileutils
9351 all-fileutils: configure-fileutils
9352 @: $(MAKE); $(unstage)
9353 @r=`${PWD_COMMAND}`; export r; \
9354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9355 $(HOST_EXPORTS) \
9356 (cd $(HOST_SUBDIR)/fileutils && \
9357 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
9358 @endif fileutils
9363 .PHONY: check-fileutils maybe-check-fileutils
9364 maybe-check-fileutils:
9365 @if fileutils
9366 maybe-check-fileutils: check-fileutils
9368 check-fileutils:
9369 @: $(MAKE); $(unstage)
9370 @r=`${PWD_COMMAND}`; export r; \
9371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9372 $(HOST_EXPORTS) \
9373 (cd $(HOST_SUBDIR)/fileutils && \
9374 $(MAKE) $(FLAGS_TO_PASS) check)
9376 @endif fileutils
9378 .PHONY: install-fileutils maybe-install-fileutils
9379 maybe-install-fileutils:
9380 @if fileutils
9381 maybe-install-fileutils: install-fileutils
9383 install-fileutils: installdirs
9384 @: $(MAKE); $(unstage)
9385 @r=`${PWD_COMMAND}`; export r; \
9386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9387 $(HOST_EXPORTS) \
9388 (cd $(HOST_SUBDIR)/fileutils && \
9389 $(MAKE) $(FLAGS_TO_PASS) install)
9391 @endif fileutils
9393 # Other targets (info, dvi, etc.)
9395 .PHONY: maybe-info-fileutils info-fileutils
9396 maybe-info-fileutils:
9397 @if fileutils
9398 maybe-info-fileutils: info-fileutils
9400 info-fileutils: \
9401 configure-fileutils
9402 @: $(MAKE); $(unstage)
9403 @[ -f ./fileutils/Makefile ] || exit 0; \
9404 r=`${PWD_COMMAND}`; export r; \
9405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9406 $(HOST_EXPORTS) \
9407 for flag in $(EXTRA_HOST_FLAGS) ; do \
9408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9409 done; \
9410 echo "Doing info in fileutils" ; \
9411 (cd $(HOST_SUBDIR)/fileutils && \
9412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9414 "RANLIB=$${RANLIB}" \
9415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9416 info) \
9417 || exit 1
9419 @endif fileutils
9421 .PHONY: maybe-dvi-fileutils dvi-fileutils
9422 maybe-dvi-fileutils:
9423 @if fileutils
9424 maybe-dvi-fileutils: dvi-fileutils
9426 dvi-fileutils: \
9427 configure-fileutils
9428 @: $(MAKE); $(unstage)
9429 @[ -f ./fileutils/Makefile ] || exit 0; \
9430 r=`${PWD_COMMAND}`; export r; \
9431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9432 $(HOST_EXPORTS) \
9433 for flag in $(EXTRA_HOST_FLAGS) ; do \
9434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9435 done; \
9436 echo "Doing dvi in fileutils" ; \
9437 (cd $(HOST_SUBDIR)/fileutils && \
9438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9440 "RANLIB=$${RANLIB}" \
9441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9442 dvi) \
9443 || exit 1
9445 @endif fileutils
9447 .PHONY: maybe-html-fileutils html-fileutils
9448 maybe-html-fileutils:
9449 @if fileutils
9450 maybe-html-fileutils: html-fileutils
9452 html-fileutils: \
9453 configure-fileutils
9454 @: $(MAKE); $(unstage)
9455 @[ -f ./fileutils/Makefile ] || exit 0; \
9456 r=`${PWD_COMMAND}`; export r; \
9457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9458 $(HOST_EXPORTS) \
9459 for flag in $(EXTRA_HOST_FLAGS) ; do \
9460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9461 done; \
9462 echo "Doing html in fileutils" ; \
9463 (cd $(HOST_SUBDIR)/fileutils && \
9464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9466 "RANLIB=$${RANLIB}" \
9467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9468 html) \
9469 || exit 1
9471 @endif fileutils
9473 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
9474 maybe-TAGS-fileutils:
9475 @if fileutils
9476 maybe-TAGS-fileutils: TAGS-fileutils
9478 TAGS-fileutils: \
9479 configure-fileutils
9480 @: $(MAKE); $(unstage)
9481 @[ -f ./fileutils/Makefile ] || exit 0; \
9482 r=`${PWD_COMMAND}`; export r; \
9483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9484 $(HOST_EXPORTS) \
9485 for flag in $(EXTRA_HOST_FLAGS) ; do \
9486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9487 done; \
9488 echo "Doing TAGS in fileutils" ; \
9489 (cd $(HOST_SUBDIR)/fileutils && \
9490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9492 "RANLIB=$${RANLIB}" \
9493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9494 TAGS) \
9495 || exit 1
9497 @endif fileutils
9499 .PHONY: maybe-install-info-fileutils install-info-fileutils
9500 maybe-install-info-fileutils:
9501 @if fileutils
9502 maybe-install-info-fileutils: install-info-fileutils
9504 install-info-fileutils: \
9505 configure-fileutils \
9506 info-fileutils
9507 @: $(MAKE); $(unstage)
9508 @[ -f ./fileutils/Makefile ] || exit 0; \
9509 r=`${PWD_COMMAND}`; export r; \
9510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9511 $(HOST_EXPORTS) \
9512 for flag in $(EXTRA_HOST_FLAGS) ; do \
9513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9514 done; \
9515 echo "Doing install-info in fileutils" ; \
9516 (cd $(HOST_SUBDIR)/fileutils && \
9517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9519 "RANLIB=$${RANLIB}" \
9520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9521 install-info) \
9522 || exit 1
9524 @endif fileutils
9526 .PHONY: maybe-install-html-fileutils install-html-fileutils
9527 maybe-install-html-fileutils:
9528 @if fileutils
9529 maybe-install-html-fileutils: install-html-fileutils
9531 install-html-fileutils: \
9532 configure-fileutils \
9533 html-fileutils
9534 @: $(MAKE); $(unstage)
9535 @[ -f ./fileutils/Makefile ] || exit 0; \
9536 r=`${PWD_COMMAND}`; export r; \
9537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9538 $(HOST_EXPORTS) \
9539 for flag in $(EXTRA_HOST_FLAGS) ; do \
9540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9541 done; \
9542 echo "Doing install-html in fileutils" ; \
9543 (cd $(HOST_SUBDIR)/fileutils && \
9544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9546 "RANLIB=$${RANLIB}" \
9547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9548 install-html) \
9549 || exit 1
9551 @endif fileutils
9553 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
9554 maybe-installcheck-fileutils:
9555 @if fileutils
9556 maybe-installcheck-fileutils: installcheck-fileutils
9558 installcheck-fileutils: \
9559 configure-fileutils
9560 @: $(MAKE); $(unstage)
9561 @[ -f ./fileutils/Makefile ] || exit 0; \
9562 r=`${PWD_COMMAND}`; export r; \
9563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9564 $(HOST_EXPORTS) \
9565 for flag in $(EXTRA_HOST_FLAGS) ; do \
9566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9567 done; \
9568 echo "Doing installcheck in fileutils" ; \
9569 (cd $(HOST_SUBDIR)/fileutils && \
9570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9572 "RANLIB=$${RANLIB}" \
9573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9574 installcheck) \
9575 || exit 1
9577 @endif fileutils
9579 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
9580 maybe-mostlyclean-fileutils:
9581 @if fileutils
9582 maybe-mostlyclean-fileutils: mostlyclean-fileutils
9584 mostlyclean-fileutils:
9585 @: $(MAKE); $(unstage)
9586 @[ -f ./fileutils/Makefile ] || exit 0; \
9587 r=`${PWD_COMMAND}`; export r; \
9588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9589 $(HOST_EXPORTS) \
9590 for flag in $(EXTRA_HOST_FLAGS) ; do \
9591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9592 done; \
9593 echo "Doing mostlyclean in fileutils" ; \
9594 (cd $(HOST_SUBDIR)/fileutils && \
9595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9597 "RANLIB=$${RANLIB}" \
9598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9599 mostlyclean) \
9600 || exit 1
9602 @endif fileutils
9604 .PHONY: maybe-clean-fileutils clean-fileutils
9605 maybe-clean-fileutils:
9606 @if fileutils
9607 maybe-clean-fileutils: clean-fileutils
9609 clean-fileutils:
9610 @: $(MAKE); $(unstage)
9611 @[ -f ./fileutils/Makefile ] || exit 0; \
9612 r=`${PWD_COMMAND}`; export r; \
9613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9614 $(HOST_EXPORTS) \
9615 for flag in $(EXTRA_HOST_FLAGS) ; do \
9616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9617 done; \
9618 echo "Doing clean in fileutils" ; \
9619 (cd $(HOST_SUBDIR)/fileutils && \
9620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9622 "RANLIB=$${RANLIB}" \
9623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9624 clean) \
9625 || exit 1
9627 @endif fileutils
9629 .PHONY: maybe-distclean-fileutils distclean-fileutils
9630 maybe-distclean-fileutils:
9631 @if fileutils
9632 maybe-distclean-fileutils: distclean-fileutils
9634 distclean-fileutils:
9635 @: $(MAKE); $(unstage)
9636 @[ -f ./fileutils/Makefile ] || exit 0; \
9637 r=`${PWD_COMMAND}`; export r; \
9638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9639 $(HOST_EXPORTS) \
9640 for flag in $(EXTRA_HOST_FLAGS) ; do \
9641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9642 done; \
9643 echo "Doing distclean in fileutils" ; \
9644 (cd $(HOST_SUBDIR)/fileutils && \
9645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9647 "RANLIB=$${RANLIB}" \
9648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9649 distclean) \
9650 || exit 1
9652 @endif fileutils
9654 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
9655 maybe-maintainer-clean-fileutils:
9656 @if fileutils
9657 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
9659 maintainer-clean-fileutils:
9660 @: $(MAKE); $(unstage)
9661 @[ -f ./fileutils/Makefile ] || exit 0; \
9662 r=`${PWD_COMMAND}`; export r; \
9663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9664 $(HOST_EXPORTS) \
9665 for flag in $(EXTRA_HOST_FLAGS) ; do \
9666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9667 done; \
9668 echo "Doing maintainer-clean in fileutils" ; \
9669 (cd $(HOST_SUBDIR)/fileutils && \
9670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9672 "RANLIB=$${RANLIB}" \
9673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9674 maintainer-clean) \
9675 || exit 1
9677 @endif fileutils
9681 .PHONY: configure-findutils maybe-configure-findutils
9682 maybe-configure-findutils:
9683 @if gcc-bootstrap
9684 configure-findutils: stage_current
9685 @endif gcc-bootstrap
9686 @if findutils
9687 maybe-configure-findutils: configure-findutils
9688 configure-findutils:
9689 @: $(MAKE); $(unstage)
9690 @r=`${PWD_COMMAND}`; export r; \
9691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9692 test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
9693 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
9694 $(HOST_EXPORTS) \
9695 echo Configuring in $(HOST_SUBDIR)/findutils; \
9696 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
9697 case $(srcdir) in \
9698 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9699 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
9700 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9701 esac; \
9702 srcdiroption="--srcdir=$${topdir}/findutils"; \
9703 libsrcdir="$$s/findutils"; \
9704 $(SHELL) $${libsrcdir}/configure \
9705 $(HOST_CONFIGARGS) $${srcdiroption} \
9706 || exit 1
9707 @endif findutils
9713 .PHONY: all-findutils maybe-all-findutils
9714 maybe-all-findutils:
9715 @if gcc-bootstrap
9716 all-findutils: stage_current
9717 @endif gcc-bootstrap
9718 @if findutils
9719 TARGET-findutils=all
9720 maybe-all-findutils: all-findutils
9721 all-findutils: configure-findutils
9722 @: $(MAKE); $(unstage)
9723 @r=`${PWD_COMMAND}`; export r; \
9724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9725 $(HOST_EXPORTS) \
9726 (cd $(HOST_SUBDIR)/findutils && \
9727 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
9728 @endif findutils
9733 .PHONY: check-findutils maybe-check-findutils
9734 maybe-check-findutils:
9735 @if findutils
9736 maybe-check-findutils: check-findutils
9738 check-findutils:
9739 @: $(MAKE); $(unstage)
9740 @r=`${PWD_COMMAND}`; export r; \
9741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9742 $(HOST_EXPORTS) \
9743 (cd $(HOST_SUBDIR)/findutils && \
9744 $(MAKE) $(FLAGS_TO_PASS) check)
9746 @endif findutils
9748 .PHONY: install-findutils maybe-install-findutils
9749 maybe-install-findutils:
9750 @if findutils
9751 maybe-install-findutils: install-findutils
9753 install-findutils: installdirs
9754 @: $(MAKE); $(unstage)
9755 @r=`${PWD_COMMAND}`; export r; \
9756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9757 $(HOST_EXPORTS) \
9758 (cd $(HOST_SUBDIR)/findutils && \
9759 $(MAKE) $(FLAGS_TO_PASS) install)
9761 @endif findutils
9763 # Other targets (info, dvi, etc.)
9765 .PHONY: maybe-info-findutils info-findutils
9766 maybe-info-findutils:
9767 @if findutils
9768 maybe-info-findutils: info-findutils
9770 info-findutils: \
9771 configure-findutils
9772 @: $(MAKE); $(unstage)
9773 @[ -f ./findutils/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 info in findutils" ; \
9781 (cd $(HOST_SUBDIR)/findutils && \
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 info) \
9787 || exit 1
9789 @endif findutils
9791 .PHONY: maybe-dvi-findutils dvi-findutils
9792 maybe-dvi-findutils:
9793 @if findutils
9794 maybe-dvi-findutils: dvi-findutils
9796 dvi-findutils: \
9797 configure-findutils
9798 @: $(MAKE); $(unstage)
9799 @[ -f ./findutils/Makefile ] || exit 0; \
9800 r=`${PWD_COMMAND}`; export r; \
9801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9802 $(HOST_EXPORTS) \
9803 for flag in $(EXTRA_HOST_FLAGS) ; do \
9804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9805 done; \
9806 echo "Doing dvi in findutils" ; \
9807 (cd $(HOST_SUBDIR)/findutils && \
9808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9810 "RANLIB=$${RANLIB}" \
9811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9812 dvi) \
9813 || exit 1
9815 @endif findutils
9817 .PHONY: maybe-html-findutils html-findutils
9818 maybe-html-findutils:
9819 @if findutils
9820 maybe-html-findutils: html-findutils
9822 html-findutils: \
9823 configure-findutils
9824 @: $(MAKE); $(unstage)
9825 @[ -f ./findutils/Makefile ] || exit 0; \
9826 r=`${PWD_COMMAND}`; export r; \
9827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9828 $(HOST_EXPORTS) \
9829 for flag in $(EXTRA_HOST_FLAGS) ; do \
9830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9831 done; \
9832 echo "Doing html in findutils" ; \
9833 (cd $(HOST_SUBDIR)/findutils && \
9834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9836 "RANLIB=$${RANLIB}" \
9837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9838 html) \
9839 || exit 1
9841 @endif findutils
9843 .PHONY: maybe-TAGS-findutils TAGS-findutils
9844 maybe-TAGS-findutils:
9845 @if findutils
9846 maybe-TAGS-findutils: TAGS-findutils
9848 TAGS-findutils: \
9849 configure-findutils
9850 @: $(MAKE); $(unstage)
9851 @[ -f ./findutils/Makefile ] || exit 0; \
9852 r=`${PWD_COMMAND}`; export r; \
9853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9854 $(HOST_EXPORTS) \
9855 for flag in $(EXTRA_HOST_FLAGS) ; do \
9856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9857 done; \
9858 echo "Doing TAGS in findutils" ; \
9859 (cd $(HOST_SUBDIR)/findutils && \
9860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9862 "RANLIB=$${RANLIB}" \
9863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9864 TAGS) \
9865 || exit 1
9867 @endif findutils
9869 .PHONY: maybe-install-info-findutils install-info-findutils
9870 maybe-install-info-findutils:
9871 @if findutils
9872 maybe-install-info-findutils: install-info-findutils
9874 install-info-findutils: \
9875 configure-findutils \
9876 info-findutils
9877 @: $(MAKE); $(unstage)
9878 @[ -f ./findutils/Makefile ] || exit 0; \
9879 r=`${PWD_COMMAND}`; export r; \
9880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9881 $(HOST_EXPORTS) \
9882 for flag in $(EXTRA_HOST_FLAGS) ; do \
9883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9884 done; \
9885 echo "Doing install-info in findutils" ; \
9886 (cd $(HOST_SUBDIR)/findutils && \
9887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9889 "RANLIB=$${RANLIB}" \
9890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9891 install-info) \
9892 || exit 1
9894 @endif findutils
9896 .PHONY: maybe-install-html-findutils install-html-findutils
9897 maybe-install-html-findutils:
9898 @if findutils
9899 maybe-install-html-findutils: install-html-findutils
9901 install-html-findutils: \
9902 configure-findutils \
9903 html-findutils
9904 @: $(MAKE); $(unstage)
9905 @[ -f ./findutils/Makefile ] || exit 0; \
9906 r=`${PWD_COMMAND}`; export r; \
9907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9908 $(HOST_EXPORTS) \
9909 for flag in $(EXTRA_HOST_FLAGS) ; do \
9910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9911 done; \
9912 echo "Doing install-html in findutils" ; \
9913 (cd $(HOST_SUBDIR)/findutils && \
9914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9916 "RANLIB=$${RANLIB}" \
9917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9918 install-html) \
9919 || exit 1
9921 @endif findutils
9923 .PHONY: maybe-installcheck-findutils installcheck-findutils
9924 maybe-installcheck-findutils:
9925 @if findutils
9926 maybe-installcheck-findutils: installcheck-findutils
9928 installcheck-findutils: \
9929 configure-findutils
9930 @: $(MAKE); $(unstage)
9931 @[ -f ./findutils/Makefile ] || exit 0; \
9932 r=`${PWD_COMMAND}`; export r; \
9933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9934 $(HOST_EXPORTS) \
9935 for flag in $(EXTRA_HOST_FLAGS) ; do \
9936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9937 done; \
9938 echo "Doing installcheck in findutils" ; \
9939 (cd $(HOST_SUBDIR)/findutils && \
9940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9942 "RANLIB=$${RANLIB}" \
9943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9944 installcheck) \
9945 || exit 1
9947 @endif findutils
9949 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
9950 maybe-mostlyclean-findutils:
9951 @if findutils
9952 maybe-mostlyclean-findutils: mostlyclean-findutils
9954 mostlyclean-findutils:
9955 @: $(MAKE); $(unstage)
9956 @[ -f ./findutils/Makefile ] || exit 0; \
9957 r=`${PWD_COMMAND}`; export r; \
9958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9959 $(HOST_EXPORTS) \
9960 for flag in $(EXTRA_HOST_FLAGS) ; do \
9961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9962 done; \
9963 echo "Doing mostlyclean in findutils" ; \
9964 (cd $(HOST_SUBDIR)/findutils && \
9965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9967 "RANLIB=$${RANLIB}" \
9968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9969 mostlyclean) \
9970 || exit 1
9972 @endif findutils
9974 .PHONY: maybe-clean-findutils clean-findutils
9975 maybe-clean-findutils:
9976 @if findutils
9977 maybe-clean-findutils: clean-findutils
9979 clean-findutils:
9980 @: $(MAKE); $(unstage)
9981 @[ -f ./findutils/Makefile ] || exit 0; \
9982 r=`${PWD_COMMAND}`; export r; \
9983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9984 $(HOST_EXPORTS) \
9985 for flag in $(EXTRA_HOST_FLAGS) ; do \
9986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9987 done; \
9988 echo "Doing clean in findutils" ; \
9989 (cd $(HOST_SUBDIR)/findutils && \
9990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9992 "RANLIB=$${RANLIB}" \
9993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9994 clean) \
9995 || exit 1
9997 @endif findutils
9999 .PHONY: maybe-distclean-findutils distclean-findutils
10000 maybe-distclean-findutils:
10001 @if findutils
10002 maybe-distclean-findutils: distclean-findutils
10004 distclean-findutils:
10005 @: $(MAKE); $(unstage)
10006 @[ -f ./findutils/Makefile ] || exit 0; \
10007 r=`${PWD_COMMAND}`; export r; \
10008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10009 $(HOST_EXPORTS) \
10010 for flag in $(EXTRA_HOST_FLAGS) ; do \
10011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10012 done; \
10013 echo "Doing distclean in findutils" ; \
10014 (cd $(HOST_SUBDIR)/findutils && \
10015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10017 "RANLIB=$${RANLIB}" \
10018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10019 distclean) \
10020 || exit 1
10022 @endif findutils
10024 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
10025 maybe-maintainer-clean-findutils:
10026 @if findutils
10027 maybe-maintainer-clean-findutils: maintainer-clean-findutils
10029 maintainer-clean-findutils:
10030 @: $(MAKE); $(unstage)
10031 @[ -f ./findutils/Makefile ] || exit 0; \
10032 r=`${PWD_COMMAND}`; export r; \
10033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10034 $(HOST_EXPORTS) \
10035 for flag in $(EXTRA_HOST_FLAGS) ; do \
10036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10037 done; \
10038 echo "Doing maintainer-clean in findutils" ; \
10039 (cd $(HOST_SUBDIR)/findutils && \
10040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10042 "RANLIB=$${RANLIB}" \
10043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10044 maintainer-clean) \
10045 || exit 1
10047 @endif findutils
10051 .PHONY: configure-find maybe-configure-find
10052 maybe-configure-find:
10053 @if gcc-bootstrap
10054 configure-find: stage_current
10055 @endif gcc-bootstrap
10056 @if find
10057 maybe-configure-find: configure-find
10058 configure-find:
10059 @: $(MAKE); $(unstage)
10060 @r=`${PWD_COMMAND}`; export r; \
10061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10062 test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
10063 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
10064 $(HOST_EXPORTS) \
10065 echo Configuring in $(HOST_SUBDIR)/find; \
10066 cd "$(HOST_SUBDIR)/find" || exit 1; \
10067 case $(srcdir) in \
10068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10069 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
10070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10071 esac; \
10072 srcdiroption="--srcdir=$${topdir}/find"; \
10073 libsrcdir="$$s/find"; \
10074 $(SHELL) $${libsrcdir}/configure \
10075 $(HOST_CONFIGARGS) $${srcdiroption} \
10076 || exit 1
10077 @endif find
10083 .PHONY: all-find maybe-all-find
10084 maybe-all-find:
10085 @if gcc-bootstrap
10086 all-find: stage_current
10087 @endif gcc-bootstrap
10088 @if find
10089 TARGET-find=all
10090 maybe-all-find: all-find
10091 all-find: configure-find
10092 @: $(MAKE); $(unstage)
10093 @r=`${PWD_COMMAND}`; export r; \
10094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10095 $(HOST_EXPORTS) \
10096 (cd $(HOST_SUBDIR)/find && \
10097 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
10098 @endif find
10103 .PHONY: check-find maybe-check-find
10104 maybe-check-find:
10105 @if find
10106 maybe-check-find: check-find
10108 check-find:
10109 @: $(MAKE); $(unstage)
10110 @r=`${PWD_COMMAND}`; export r; \
10111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10112 $(HOST_EXPORTS) \
10113 (cd $(HOST_SUBDIR)/find && \
10114 $(MAKE) $(FLAGS_TO_PASS) check)
10116 @endif find
10118 .PHONY: install-find maybe-install-find
10119 maybe-install-find:
10120 @if find
10121 maybe-install-find: install-find
10123 install-find: installdirs
10124 @: $(MAKE); $(unstage)
10125 @r=`${PWD_COMMAND}`; export r; \
10126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10127 $(HOST_EXPORTS) \
10128 (cd $(HOST_SUBDIR)/find && \
10129 $(MAKE) $(FLAGS_TO_PASS) install)
10131 @endif find
10133 # Other targets (info, dvi, etc.)
10135 .PHONY: maybe-info-find info-find
10136 maybe-info-find:
10137 @if find
10138 maybe-info-find: info-find
10140 info-find: \
10141 configure-find
10142 @: $(MAKE); $(unstage)
10143 @[ -f ./find/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 info in find" ; \
10151 (cd $(HOST_SUBDIR)/find && \
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 info) \
10157 || exit 1
10159 @endif find
10161 .PHONY: maybe-dvi-find dvi-find
10162 maybe-dvi-find:
10163 @if find
10164 maybe-dvi-find: dvi-find
10166 dvi-find: \
10167 configure-find
10168 @: $(MAKE); $(unstage)
10169 @[ -f ./find/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 dvi in find" ; \
10177 (cd $(HOST_SUBDIR)/find && \
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 dvi) \
10183 || exit 1
10185 @endif find
10187 .PHONY: maybe-html-find html-find
10188 maybe-html-find:
10189 @if find
10190 maybe-html-find: html-find
10192 html-find: \
10193 configure-find
10194 @: $(MAKE); $(unstage)
10195 @[ -f ./find/Makefile ] || exit 0; \
10196 r=`${PWD_COMMAND}`; export r; \
10197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10198 $(HOST_EXPORTS) \
10199 for flag in $(EXTRA_HOST_FLAGS) ; do \
10200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10201 done; \
10202 echo "Doing html in find" ; \
10203 (cd $(HOST_SUBDIR)/find && \
10204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10206 "RANLIB=$${RANLIB}" \
10207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10208 html) \
10209 || exit 1
10211 @endif find
10213 .PHONY: maybe-TAGS-find TAGS-find
10214 maybe-TAGS-find:
10215 @if find
10216 maybe-TAGS-find: TAGS-find
10218 TAGS-find: \
10219 configure-find
10220 @: $(MAKE); $(unstage)
10221 @[ -f ./find/Makefile ] || exit 0; \
10222 r=`${PWD_COMMAND}`; export r; \
10223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10224 $(HOST_EXPORTS) \
10225 for flag in $(EXTRA_HOST_FLAGS) ; do \
10226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10227 done; \
10228 echo "Doing TAGS in find" ; \
10229 (cd $(HOST_SUBDIR)/find && \
10230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10232 "RANLIB=$${RANLIB}" \
10233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10234 TAGS) \
10235 || exit 1
10237 @endif find
10239 .PHONY: maybe-install-info-find install-info-find
10240 maybe-install-info-find:
10241 @if find
10242 maybe-install-info-find: install-info-find
10244 install-info-find: \
10245 configure-find \
10246 info-find
10247 @: $(MAKE); $(unstage)
10248 @[ -f ./find/Makefile ] || exit 0; \
10249 r=`${PWD_COMMAND}`; export r; \
10250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10251 $(HOST_EXPORTS) \
10252 for flag in $(EXTRA_HOST_FLAGS) ; do \
10253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10254 done; \
10255 echo "Doing install-info in find" ; \
10256 (cd $(HOST_SUBDIR)/find && \
10257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10259 "RANLIB=$${RANLIB}" \
10260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10261 install-info) \
10262 || exit 1
10264 @endif find
10266 .PHONY: maybe-install-html-find install-html-find
10267 maybe-install-html-find:
10268 @if find
10269 maybe-install-html-find: install-html-find
10271 install-html-find: \
10272 configure-find \
10273 html-find
10274 @: $(MAKE); $(unstage)
10275 @[ -f ./find/Makefile ] || exit 0; \
10276 r=`${PWD_COMMAND}`; export r; \
10277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10278 $(HOST_EXPORTS) \
10279 for flag in $(EXTRA_HOST_FLAGS) ; do \
10280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10281 done; \
10282 echo "Doing install-html in find" ; \
10283 (cd $(HOST_SUBDIR)/find && \
10284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10286 "RANLIB=$${RANLIB}" \
10287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10288 install-html) \
10289 || exit 1
10291 @endif find
10293 .PHONY: maybe-installcheck-find installcheck-find
10294 maybe-installcheck-find:
10295 @if find
10296 maybe-installcheck-find: installcheck-find
10298 installcheck-find: \
10299 configure-find
10300 @: $(MAKE); $(unstage)
10301 @[ -f ./find/Makefile ] || exit 0; \
10302 r=`${PWD_COMMAND}`; export r; \
10303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10304 $(HOST_EXPORTS) \
10305 for flag in $(EXTRA_HOST_FLAGS) ; do \
10306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10307 done; \
10308 echo "Doing installcheck in find" ; \
10309 (cd $(HOST_SUBDIR)/find && \
10310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10312 "RANLIB=$${RANLIB}" \
10313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10314 installcheck) \
10315 || exit 1
10317 @endif find
10319 .PHONY: maybe-mostlyclean-find mostlyclean-find
10320 maybe-mostlyclean-find:
10321 @if find
10322 maybe-mostlyclean-find: mostlyclean-find
10324 mostlyclean-find:
10325 @: $(MAKE); $(unstage)
10326 @[ -f ./find/Makefile ] || exit 0; \
10327 r=`${PWD_COMMAND}`; export r; \
10328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10329 $(HOST_EXPORTS) \
10330 for flag in $(EXTRA_HOST_FLAGS) ; do \
10331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10332 done; \
10333 echo "Doing mostlyclean in find" ; \
10334 (cd $(HOST_SUBDIR)/find && \
10335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10337 "RANLIB=$${RANLIB}" \
10338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10339 mostlyclean) \
10340 || exit 1
10342 @endif find
10344 .PHONY: maybe-clean-find clean-find
10345 maybe-clean-find:
10346 @if find
10347 maybe-clean-find: clean-find
10349 clean-find:
10350 @: $(MAKE); $(unstage)
10351 @[ -f ./find/Makefile ] || exit 0; \
10352 r=`${PWD_COMMAND}`; export r; \
10353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10354 $(HOST_EXPORTS) \
10355 for flag in $(EXTRA_HOST_FLAGS) ; do \
10356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10357 done; \
10358 echo "Doing clean in find" ; \
10359 (cd $(HOST_SUBDIR)/find && \
10360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10362 "RANLIB=$${RANLIB}" \
10363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10364 clean) \
10365 || exit 1
10367 @endif find
10369 .PHONY: maybe-distclean-find distclean-find
10370 maybe-distclean-find:
10371 @if find
10372 maybe-distclean-find: distclean-find
10374 distclean-find:
10375 @: $(MAKE); $(unstage)
10376 @[ -f ./find/Makefile ] || exit 0; \
10377 r=`${PWD_COMMAND}`; export r; \
10378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10379 $(HOST_EXPORTS) \
10380 for flag in $(EXTRA_HOST_FLAGS) ; do \
10381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10382 done; \
10383 echo "Doing distclean in find" ; \
10384 (cd $(HOST_SUBDIR)/find && \
10385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10387 "RANLIB=$${RANLIB}" \
10388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10389 distclean) \
10390 || exit 1
10392 @endif find
10394 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
10395 maybe-maintainer-clean-find:
10396 @if find
10397 maybe-maintainer-clean-find: maintainer-clean-find
10399 maintainer-clean-find:
10400 @: $(MAKE); $(unstage)
10401 @[ -f ./find/Makefile ] || exit 0; \
10402 r=`${PWD_COMMAND}`; export r; \
10403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10404 $(HOST_EXPORTS) \
10405 for flag in $(EXTRA_HOST_FLAGS) ; do \
10406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10407 done; \
10408 echo "Doing maintainer-clean in find" ; \
10409 (cd $(HOST_SUBDIR)/find && \
10410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10412 "RANLIB=$${RANLIB}" \
10413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10414 maintainer-clean) \
10415 || exit 1
10417 @endif find
10421 .PHONY: configure-fixincludes maybe-configure-fixincludes
10422 maybe-configure-fixincludes:
10423 @if gcc-bootstrap
10424 configure-fixincludes: stage_current
10425 @endif gcc-bootstrap
10426 @if fixincludes
10427 maybe-configure-fixincludes: configure-fixincludes
10428 configure-fixincludes:
10429 @: $(MAKE); $(unstage)
10430 @r=`${PWD_COMMAND}`; export r; \
10431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10432 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
10433 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
10434 $(HOST_EXPORTS) \
10435 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
10436 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
10437 case $(srcdir) in \
10438 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10439 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
10440 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10441 esac; \
10442 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
10443 libsrcdir="$$s/fixincludes"; \
10444 $(SHELL) $${libsrcdir}/configure \
10445 $(HOST_CONFIGARGS) $${srcdiroption} \
10446 || exit 1
10447 @endif fixincludes
10453 .PHONY: all-fixincludes maybe-all-fixincludes
10454 maybe-all-fixincludes:
10455 @if gcc-bootstrap
10456 all-fixincludes: stage_current
10457 @endif gcc-bootstrap
10458 @if fixincludes
10459 TARGET-fixincludes=all
10460 maybe-all-fixincludes: all-fixincludes
10461 all-fixincludes: configure-fixincludes
10462 @: $(MAKE); $(unstage)
10463 @r=`${PWD_COMMAND}`; export r; \
10464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10465 $(HOST_EXPORTS) \
10466 (cd $(HOST_SUBDIR)/fixincludes && \
10467 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
10468 @endif fixincludes
10473 .PHONY: check-fixincludes maybe-check-fixincludes
10474 maybe-check-fixincludes:
10475 @if fixincludes
10476 maybe-check-fixincludes: check-fixincludes
10478 check-fixincludes:
10479 @: $(MAKE); $(unstage)
10480 @r=`${PWD_COMMAND}`; export r; \
10481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10482 $(HOST_EXPORTS) \
10483 (cd $(HOST_SUBDIR)/fixincludes && \
10484 $(MAKE) $(FLAGS_TO_PASS) check)
10486 @endif fixincludes
10488 .PHONY: install-fixincludes maybe-install-fixincludes
10489 maybe-install-fixincludes:
10490 @if fixincludes
10491 maybe-install-fixincludes: install-fixincludes
10493 install-fixincludes: installdirs
10494 @: $(MAKE); $(unstage)
10495 @r=`${PWD_COMMAND}`; export r; \
10496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10497 $(HOST_EXPORTS) \
10498 (cd $(HOST_SUBDIR)/fixincludes && \
10499 $(MAKE) $(FLAGS_TO_PASS) install)
10501 @endif fixincludes
10503 # Other targets (info, dvi, etc.)
10505 .PHONY: maybe-info-fixincludes info-fixincludes
10506 maybe-info-fixincludes:
10507 @if fixincludes
10508 maybe-info-fixincludes: info-fixincludes
10510 # fixincludes doesn't support info.
10511 info-fixincludes:
10513 @endif fixincludes
10515 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
10516 maybe-dvi-fixincludes:
10517 @if fixincludes
10518 maybe-dvi-fixincludes: dvi-fixincludes
10520 # fixincludes doesn't support dvi.
10521 dvi-fixincludes:
10523 @endif fixincludes
10525 .PHONY: maybe-html-fixincludes html-fixincludes
10526 maybe-html-fixincludes:
10527 @if fixincludes
10528 maybe-html-fixincludes: html-fixincludes
10530 html-fixincludes: \
10531 configure-fixincludes
10532 @: $(MAKE); $(unstage)
10533 @[ -f ./fixincludes/Makefile ] || exit 0; \
10534 r=`${PWD_COMMAND}`; export r; \
10535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10536 $(HOST_EXPORTS) \
10537 for flag in $(EXTRA_HOST_FLAGS) ; do \
10538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10539 done; \
10540 echo "Doing html in fixincludes" ; \
10541 (cd $(HOST_SUBDIR)/fixincludes && \
10542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10544 "RANLIB=$${RANLIB}" \
10545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10546 html) \
10547 || exit 1
10549 @endif fixincludes
10551 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
10552 maybe-TAGS-fixincludes:
10553 @if fixincludes
10554 maybe-TAGS-fixincludes: TAGS-fixincludes
10556 # fixincludes doesn't support TAGS.
10557 TAGS-fixincludes:
10559 @endif fixincludes
10561 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
10562 maybe-install-info-fixincludes:
10563 @if fixincludes
10564 maybe-install-info-fixincludes: install-info-fixincludes
10566 # fixincludes doesn't support install-info.
10567 install-info-fixincludes:
10569 @endif fixincludes
10571 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
10572 maybe-install-html-fixincludes:
10573 @if fixincludes
10574 maybe-install-html-fixincludes: install-html-fixincludes
10576 install-html-fixincludes: \
10577 configure-fixincludes \
10578 html-fixincludes
10579 @: $(MAKE); $(unstage)
10580 @[ -f ./fixincludes/Makefile ] || exit 0; \
10581 r=`${PWD_COMMAND}`; export r; \
10582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10583 $(HOST_EXPORTS) \
10584 for flag in $(EXTRA_HOST_FLAGS) ; do \
10585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10586 done; \
10587 echo "Doing install-html in fixincludes" ; \
10588 (cd $(HOST_SUBDIR)/fixincludes && \
10589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10591 "RANLIB=$${RANLIB}" \
10592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10593 install-html) \
10594 || exit 1
10596 @endif fixincludes
10598 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
10599 maybe-installcheck-fixincludes:
10600 @if fixincludes
10601 maybe-installcheck-fixincludes: installcheck-fixincludes
10603 # fixincludes doesn't support installcheck.
10604 installcheck-fixincludes:
10606 @endif fixincludes
10608 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
10609 maybe-mostlyclean-fixincludes:
10610 @if fixincludes
10611 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
10613 mostlyclean-fixincludes:
10614 @: $(MAKE); $(unstage)
10615 @[ -f ./fixincludes/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 mostlyclean in fixincludes" ; \
10623 (cd $(HOST_SUBDIR)/fixincludes && \
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 mostlyclean) \
10629 || exit 1
10631 @endif fixincludes
10633 .PHONY: maybe-clean-fixincludes clean-fixincludes
10634 maybe-clean-fixincludes:
10635 @if fixincludes
10636 maybe-clean-fixincludes: clean-fixincludes
10638 clean-fixincludes:
10639 @: $(MAKE); $(unstage)
10640 @[ -f ./fixincludes/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 clean in fixincludes" ; \
10648 (cd $(HOST_SUBDIR)/fixincludes && \
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 clean) \
10654 || exit 1
10656 @endif fixincludes
10658 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
10659 maybe-distclean-fixincludes:
10660 @if fixincludes
10661 maybe-distclean-fixincludes: distclean-fixincludes
10663 distclean-fixincludes:
10664 @: $(MAKE); $(unstage)
10665 @[ -f ./fixincludes/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 distclean in fixincludes" ; \
10673 (cd $(HOST_SUBDIR)/fixincludes && \
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 distclean) \
10679 || exit 1
10681 @endif fixincludes
10683 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
10684 maybe-maintainer-clean-fixincludes:
10685 @if fixincludes
10686 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
10688 maintainer-clean-fixincludes:
10689 @: $(MAKE); $(unstage)
10690 @[ -f ./fixincludes/Makefile ] || exit 0; \
10691 r=`${PWD_COMMAND}`; export r; \
10692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10693 $(HOST_EXPORTS) \
10694 for flag in $(EXTRA_HOST_FLAGS) ; do \
10695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10696 done; \
10697 echo "Doing maintainer-clean in fixincludes" ; \
10698 (cd $(HOST_SUBDIR)/fixincludes && \
10699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10701 "RANLIB=$${RANLIB}" \
10702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10703 maintainer-clean) \
10704 || exit 1
10706 @endif fixincludes
10710 .PHONY: configure-flex maybe-configure-flex
10711 maybe-configure-flex:
10712 @if gcc-bootstrap
10713 configure-flex: stage_current
10714 @endif gcc-bootstrap
10715 @if flex
10716 maybe-configure-flex: configure-flex
10717 configure-flex:
10718 @: $(MAKE); $(unstage)
10719 @r=`${PWD_COMMAND}`; export r; \
10720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10721 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
10722 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
10723 $(HOST_EXPORTS) \
10724 echo Configuring in $(HOST_SUBDIR)/flex; \
10725 cd "$(HOST_SUBDIR)/flex" || exit 1; \
10726 case $(srcdir) in \
10727 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10728 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
10729 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10730 esac; \
10731 srcdiroption="--srcdir=$${topdir}/flex"; \
10732 libsrcdir="$$s/flex"; \
10733 $(SHELL) $${libsrcdir}/configure \
10734 $(HOST_CONFIGARGS) $${srcdiroption} \
10735 || exit 1
10736 @endif flex
10742 .PHONY: all-flex maybe-all-flex
10743 maybe-all-flex:
10744 @if gcc-bootstrap
10745 all-flex: stage_current
10746 @endif gcc-bootstrap
10747 @if flex
10748 TARGET-flex=all
10749 maybe-all-flex: all-flex
10750 all-flex: configure-flex
10751 @: $(MAKE); $(unstage)
10752 @r=`${PWD_COMMAND}`; export r; \
10753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10754 $(HOST_EXPORTS) \
10755 (cd $(HOST_SUBDIR)/flex && \
10756 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
10757 @endif flex
10762 .PHONY: check-flex maybe-check-flex
10763 maybe-check-flex:
10764 @if flex
10765 maybe-check-flex: check-flex
10767 # This module is only tested in a native toolchain.
10768 check-flex:
10769 @: $(MAKE); $(unstage)
10770 @if [ '$(host)' = '$(target)' ] ; then \
10771 r=`${PWD_COMMAND}`; export r; \
10772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10773 $(HOST_EXPORTS) \
10774 (cd $(HOST_SUBDIR)/flex && \
10775 $(MAKE) $(FLAGS_TO_PASS) check); \
10778 @endif flex
10780 .PHONY: install-flex maybe-install-flex
10781 maybe-install-flex:
10782 @if flex
10783 maybe-install-flex: install-flex
10785 install-flex: installdirs
10786 @: $(MAKE); $(unstage)
10787 @r=`${PWD_COMMAND}`; export r; \
10788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10789 $(HOST_EXPORTS) \
10790 (cd $(HOST_SUBDIR)/flex && \
10791 $(MAKE) $(FLAGS_TO_PASS) install)
10793 @endif flex
10795 # Other targets (info, dvi, etc.)
10797 .PHONY: maybe-info-flex info-flex
10798 maybe-info-flex:
10799 @if flex
10800 maybe-info-flex: info-flex
10802 info-flex: \
10803 configure-flex
10804 @: $(MAKE); $(unstage)
10805 @[ -f ./flex/Makefile ] || exit 0; \
10806 r=`${PWD_COMMAND}`; export r; \
10807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10808 $(HOST_EXPORTS) \
10809 for flag in $(EXTRA_HOST_FLAGS) ; do \
10810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10811 done; \
10812 echo "Doing info in flex" ; \
10813 (cd $(HOST_SUBDIR)/flex && \
10814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10816 "RANLIB=$${RANLIB}" \
10817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10818 info) \
10819 || exit 1
10821 @endif flex
10823 .PHONY: maybe-dvi-flex dvi-flex
10824 maybe-dvi-flex:
10825 @if flex
10826 maybe-dvi-flex: dvi-flex
10828 dvi-flex: \
10829 configure-flex
10830 @: $(MAKE); $(unstage)
10831 @[ -f ./flex/Makefile ] || exit 0; \
10832 r=`${PWD_COMMAND}`; export r; \
10833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10834 $(HOST_EXPORTS) \
10835 for flag in $(EXTRA_HOST_FLAGS) ; do \
10836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10837 done; \
10838 echo "Doing dvi in flex" ; \
10839 (cd $(HOST_SUBDIR)/flex && \
10840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10842 "RANLIB=$${RANLIB}" \
10843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10844 dvi) \
10845 || exit 1
10847 @endif flex
10849 .PHONY: maybe-html-flex html-flex
10850 maybe-html-flex:
10851 @if flex
10852 maybe-html-flex: html-flex
10854 html-flex: \
10855 configure-flex
10856 @: $(MAKE); $(unstage)
10857 @[ -f ./flex/Makefile ] || exit 0; \
10858 r=`${PWD_COMMAND}`; export r; \
10859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10860 $(HOST_EXPORTS) \
10861 for flag in $(EXTRA_HOST_FLAGS) ; do \
10862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10863 done; \
10864 echo "Doing html in flex" ; \
10865 (cd $(HOST_SUBDIR)/flex && \
10866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10868 "RANLIB=$${RANLIB}" \
10869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10870 html) \
10871 || exit 1
10873 @endif flex
10875 .PHONY: maybe-TAGS-flex TAGS-flex
10876 maybe-TAGS-flex:
10877 @if flex
10878 maybe-TAGS-flex: TAGS-flex
10880 TAGS-flex: \
10881 configure-flex
10882 @: $(MAKE); $(unstage)
10883 @[ -f ./flex/Makefile ] || exit 0; \
10884 r=`${PWD_COMMAND}`; export r; \
10885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10886 $(HOST_EXPORTS) \
10887 for flag in $(EXTRA_HOST_FLAGS) ; do \
10888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10889 done; \
10890 echo "Doing TAGS in flex" ; \
10891 (cd $(HOST_SUBDIR)/flex && \
10892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10894 "RANLIB=$${RANLIB}" \
10895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10896 TAGS) \
10897 || exit 1
10899 @endif flex
10901 .PHONY: maybe-install-info-flex install-info-flex
10902 maybe-install-info-flex:
10903 @if flex
10904 maybe-install-info-flex: install-info-flex
10906 install-info-flex: \
10907 configure-flex \
10908 info-flex
10909 @: $(MAKE); $(unstage)
10910 @[ -f ./flex/Makefile ] || exit 0; \
10911 r=`${PWD_COMMAND}`; export r; \
10912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10913 $(HOST_EXPORTS) \
10914 for flag in $(EXTRA_HOST_FLAGS) ; do \
10915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10916 done; \
10917 echo "Doing install-info in flex" ; \
10918 (cd $(HOST_SUBDIR)/flex && \
10919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10921 "RANLIB=$${RANLIB}" \
10922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10923 install-info) \
10924 || exit 1
10926 @endif flex
10928 .PHONY: maybe-install-html-flex install-html-flex
10929 maybe-install-html-flex:
10930 @if flex
10931 maybe-install-html-flex: install-html-flex
10933 install-html-flex: \
10934 configure-flex \
10935 html-flex
10936 @: $(MAKE); $(unstage)
10937 @[ -f ./flex/Makefile ] || exit 0; \
10938 r=`${PWD_COMMAND}`; export r; \
10939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10940 $(HOST_EXPORTS) \
10941 for flag in $(EXTRA_HOST_FLAGS) ; do \
10942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10943 done; \
10944 echo "Doing install-html in flex" ; \
10945 (cd $(HOST_SUBDIR)/flex && \
10946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10948 "RANLIB=$${RANLIB}" \
10949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10950 install-html) \
10951 || exit 1
10953 @endif flex
10955 .PHONY: maybe-installcheck-flex installcheck-flex
10956 maybe-installcheck-flex:
10957 @if flex
10958 maybe-installcheck-flex: installcheck-flex
10960 installcheck-flex: \
10961 configure-flex
10962 @: $(MAKE); $(unstage)
10963 @[ -f ./flex/Makefile ] || exit 0; \
10964 r=`${PWD_COMMAND}`; export r; \
10965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10966 $(HOST_EXPORTS) \
10967 for flag in $(EXTRA_HOST_FLAGS) ; do \
10968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10969 done; \
10970 echo "Doing installcheck in flex" ; \
10971 (cd $(HOST_SUBDIR)/flex && \
10972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10974 "RANLIB=$${RANLIB}" \
10975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10976 installcheck) \
10977 || exit 1
10979 @endif flex
10981 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10982 maybe-mostlyclean-flex:
10983 @if flex
10984 maybe-mostlyclean-flex: mostlyclean-flex
10986 mostlyclean-flex:
10987 @: $(MAKE); $(unstage)
10988 @[ -f ./flex/Makefile ] || exit 0; \
10989 r=`${PWD_COMMAND}`; export r; \
10990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10991 $(HOST_EXPORTS) \
10992 for flag in $(EXTRA_HOST_FLAGS) ; do \
10993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10994 done; \
10995 echo "Doing mostlyclean in flex" ; \
10996 (cd $(HOST_SUBDIR)/flex && \
10997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10999 "RANLIB=$${RANLIB}" \
11000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11001 mostlyclean) \
11002 || exit 1
11004 @endif flex
11006 .PHONY: maybe-clean-flex clean-flex
11007 maybe-clean-flex:
11008 @if flex
11009 maybe-clean-flex: clean-flex
11011 clean-flex:
11012 @: $(MAKE); $(unstage)
11013 @[ -f ./flex/Makefile ] || exit 0; \
11014 r=`${PWD_COMMAND}`; export r; \
11015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11016 $(HOST_EXPORTS) \
11017 for flag in $(EXTRA_HOST_FLAGS) ; do \
11018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11019 done; \
11020 echo "Doing clean in flex" ; \
11021 (cd $(HOST_SUBDIR)/flex && \
11022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11024 "RANLIB=$${RANLIB}" \
11025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11026 clean) \
11027 || exit 1
11029 @endif flex
11031 .PHONY: maybe-distclean-flex distclean-flex
11032 maybe-distclean-flex:
11033 @if flex
11034 maybe-distclean-flex: distclean-flex
11036 distclean-flex:
11037 @: $(MAKE); $(unstage)
11038 @[ -f ./flex/Makefile ] || exit 0; \
11039 r=`${PWD_COMMAND}`; export r; \
11040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11041 $(HOST_EXPORTS) \
11042 for flag in $(EXTRA_HOST_FLAGS) ; do \
11043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11044 done; \
11045 echo "Doing distclean in flex" ; \
11046 (cd $(HOST_SUBDIR)/flex && \
11047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11049 "RANLIB=$${RANLIB}" \
11050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11051 distclean) \
11052 || exit 1
11054 @endif flex
11056 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
11057 maybe-maintainer-clean-flex:
11058 @if flex
11059 maybe-maintainer-clean-flex: maintainer-clean-flex
11061 maintainer-clean-flex:
11062 @: $(MAKE); $(unstage)
11063 @[ -f ./flex/Makefile ] || exit 0; \
11064 r=`${PWD_COMMAND}`; export r; \
11065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11066 $(HOST_EXPORTS) \
11067 for flag in $(EXTRA_HOST_FLAGS) ; do \
11068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11069 done; \
11070 echo "Doing maintainer-clean in flex" ; \
11071 (cd $(HOST_SUBDIR)/flex && \
11072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11074 "RANLIB=$${RANLIB}" \
11075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11076 maintainer-clean) \
11077 || exit 1
11079 @endif flex
11083 .PHONY: configure-gas maybe-configure-gas
11084 maybe-configure-gas:
11085 @if gcc-bootstrap
11086 configure-gas: stage_current
11087 @endif gcc-bootstrap
11088 @if gas
11089 maybe-configure-gas: configure-gas
11090 configure-gas:
11091 @r=`${PWD_COMMAND}`; export r; \
11092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11093 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11094 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11095 $(HOST_EXPORTS) \
11096 echo Configuring in $(HOST_SUBDIR)/gas; \
11097 cd "$(HOST_SUBDIR)/gas" || exit 1; \
11098 case $(srcdir) in \
11099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11100 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11102 esac; \
11103 srcdiroption="--srcdir=$${topdir}/gas"; \
11104 libsrcdir="$$s/gas"; \
11105 $(SHELL) $${libsrcdir}/configure \
11106 $(HOST_CONFIGARGS) $${srcdiroption} \
11107 || exit 1
11108 @endif gas
11112 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
11113 maybe-configure-stage1-gas:
11114 @if gas-bootstrap
11115 maybe-configure-stage1-gas: configure-stage1-gas
11116 configure-stage1-gas:
11117 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11118 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11119 @r=`${PWD_COMMAND}`; export r; \
11120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11121 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11122 $(HOST_EXPORTS) \
11123 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
11124 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11125 cd $(HOST_SUBDIR)/gas || exit 1; \
11126 case $(srcdir) in \
11127 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11128 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11129 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11130 esac; \
11131 srcdiroption="--srcdir=$${topdir}/gas"; \
11132 libsrcdir="$$s/gas"; \
11133 $(SHELL) $${libsrcdir}/configure \
11134 $(HOST_CONFIGARGS) $${srcdiroption} \
11136 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
11137 @endif gas-bootstrap
11139 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
11140 maybe-configure-stage2-gas:
11141 @if gas-bootstrap
11142 maybe-configure-stage2-gas: configure-stage2-gas
11143 configure-stage2-gas:
11144 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11145 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11146 @r=`${PWD_COMMAND}`; export r; \
11147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11148 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11149 $(HOST_EXPORTS) \
11150 $(POSTSTAGE1_HOST_EXPORTS) \
11151 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
11152 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11153 cd $(HOST_SUBDIR)/gas || exit 1; \
11154 case $(srcdir) in \
11155 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11156 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11157 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11158 esac; \
11159 srcdiroption="--srcdir=$${topdir}/gas"; \
11160 libsrcdir="$$s/gas"; \
11161 $(SHELL) $${libsrcdir}/configure \
11162 $(HOST_CONFIGARGS) $${srcdiroption} \
11163 --with-build-libsubdir=$(HOST_SUBDIR) \
11164 @stage2_werror_flag@
11165 @endif gas-bootstrap
11167 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
11168 maybe-configure-stage3-gas:
11169 @if gas-bootstrap
11170 maybe-configure-stage3-gas: configure-stage3-gas
11171 configure-stage3-gas:
11172 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11173 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11174 @r=`${PWD_COMMAND}`; export r; \
11175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11176 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11177 $(HOST_EXPORTS) \
11178 $(POSTSTAGE1_HOST_EXPORTS) \
11179 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
11180 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11181 cd $(HOST_SUBDIR)/gas || exit 1; \
11182 case $(srcdir) in \
11183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11184 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11186 esac; \
11187 srcdiroption="--srcdir=$${topdir}/gas"; \
11188 libsrcdir="$$s/gas"; \
11189 $(SHELL) $${libsrcdir}/configure \
11190 $(HOST_CONFIGARGS) $${srcdiroption} \
11191 --with-build-libsubdir=$(HOST_SUBDIR) \
11192 @stage2_werror_flag@
11193 @endif gas-bootstrap
11195 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
11196 maybe-configure-stage4-gas:
11197 @if gas-bootstrap
11198 maybe-configure-stage4-gas: configure-stage4-gas
11199 configure-stage4-gas:
11200 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11201 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11202 @r=`${PWD_COMMAND}`; export r; \
11203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11204 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11205 $(HOST_EXPORTS) \
11206 $(POSTSTAGE1_HOST_EXPORTS) \
11207 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
11208 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11209 cd $(HOST_SUBDIR)/gas || exit 1; \
11210 case $(srcdir) in \
11211 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11212 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11213 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11214 esac; \
11215 srcdiroption="--srcdir=$${topdir}/gas"; \
11216 libsrcdir="$$s/gas"; \
11217 $(SHELL) $${libsrcdir}/configure \
11218 $(HOST_CONFIGARGS) $${srcdiroption} \
11219 --with-build-libsubdir=$(HOST_SUBDIR) \
11220 @stage2_werror_flag@
11221 @endif gas-bootstrap
11223 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
11224 maybe-configure-stageprofile-gas:
11225 @if gas-bootstrap
11226 maybe-configure-stageprofile-gas: configure-stageprofile-gas
11227 configure-stageprofile-gas:
11228 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11229 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11230 @r=`${PWD_COMMAND}`; export r; \
11231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11232 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11233 $(HOST_EXPORTS) \
11234 $(POSTSTAGE1_HOST_EXPORTS) \
11235 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
11236 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11237 cd $(HOST_SUBDIR)/gas || exit 1; \
11238 case $(srcdir) in \
11239 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11240 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11241 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11242 esac; \
11243 srcdiroption="--srcdir=$${topdir}/gas"; \
11244 libsrcdir="$$s/gas"; \
11245 $(SHELL) $${libsrcdir}/configure \
11246 $(HOST_CONFIGARGS) $${srcdiroption} \
11247 --with-build-libsubdir=$(HOST_SUBDIR) \
11248 @stage2_werror_flag@
11249 @endif gas-bootstrap
11251 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
11252 maybe-configure-stagefeedback-gas:
11253 @if gas-bootstrap
11254 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
11255 configure-stagefeedback-gas:
11256 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11257 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11258 @r=`${PWD_COMMAND}`; export r; \
11259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11260 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11261 $(HOST_EXPORTS) \
11262 $(POSTSTAGE1_HOST_EXPORTS) \
11263 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
11264 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11265 cd $(HOST_SUBDIR)/gas || exit 1; \
11266 case $(srcdir) in \
11267 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11268 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11269 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11270 esac; \
11271 srcdiroption="--srcdir=$${topdir}/gas"; \
11272 libsrcdir="$$s/gas"; \
11273 $(SHELL) $${libsrcdir}/configure \
11274 $(HOST_CONFIGARGS) $${srcdiroption} \
11275 --with-build-libsubdir=$(HOST_SUBDIR) \
11276 @stage2_werror_flag@
11277 @endif gas-bootstrap
11283 .PHONY: all-gas maybe-all-gas
11284 maybe-all-gas:
11285 @if gcc-bootstrap
11286 all-gas: stage_current
11287 @endif gcc-bootstrap
11288 @if gas
11289 TARGET-gas=all
11290 maybe-all-gas: all-gas
11291 all-gas: configure-gas
11292 @r=`${PWD_COMMAND}`; export r; \
11293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11294 $(HOST_EXPORTS) \
11295 (cd $(HOST_SUBDIR)/gas && \
11296 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
11297 @endif gas
11301 .PHONY: all-stage1-gas maybe-all-stage1-gas
11302 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
11303 maybe-all-stage1-gas:
11304 maybe-clean-stage1-gas:
11305 @if gas-bootstrap
11306 maybe-all-stage1-gas: all-stage1-gas
11307 all-stage1: all-stage1-gas
11308 TARGET-stage1-gas = $(TARGET-gas)
11309 all-stage1-gas: configure-stage1-gas
11310 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11311 @r=`${PWD_COMMAND}`; export r; \
11312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11313 $(HOST_EXPORTS) \
11314 cd $(HOST_SUBDIR)/gas && \
11315 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
11316 $(TARGET-stage1-gas)
11318 maybe-clean-stage1-gas: clean-stage1-gas
11319 clean-stage1: clean-stage1-gas
11320 clean-stage1-gas:
11321 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] \
11322 || exit 0 ; \
11323 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
11324 cd $(HOST_SUBDIR)/gas && \
11325 $(MAKE) $(FLAGS_TO_PASS) \
11326 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
11327 @endif gas-bootstrap
11330 .PHONY: all-stage2-gas maybe-all-stage2-gas
11331 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
11332 maybe-all-stage2-gas:
11333 maybe-clean-stage2-gas:
11334 @if gas-bootstrap
11335 maybe-all-stage2-gas: all-stage2-gas
11336 all-stage2: all-stage2-gas
11337 TARGET-stage2-gas = $(TARGET-gas)
11338 all-stage2-gas: configure-stage2-gas
11339 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11340 @r=`${PWD_COMMAND}`; export r; \
11341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11342 $(HOST_EXPORTS) \
11343 $(POSTSTAGE1_HOST_EXPORTS) \
11344 cd $(HOST_SUBDIR)/gas && \
11345 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11346 $(TARGET-stage2-gas)
11348 maybe-clean-stage2-gas: clean-stage2-gas
11349 clean-stage2: clean-stage2-gas
11350 clean-stage2-gas:
11351 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] \
11352 || exit 0 ; \
11353 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
11354 cd $(HOST_SUBDIR)/gas && \
11355 $(MAKE) $(FLAGS_TO_PASS) \
11356 $(POSTSTAGE1_FLAGS_TO_PASS) \
11357 clean
11358 @endif gas-bootstrap
11361 .PHONY: all-stage3-gas maybe-all-stage3-gas
11362 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
11363 maybe-all-stage3-gas:
11364 maybe-clean-stage3-gas:
11365 @if gas-bootstrap
11366 maybe-all-stage3-gas: all-stage3-gas
11367 all-stage3: all-stage3-gas
11368 TARGET-stage3-gas = $(TARGET-gas)
11369 all-stage3-gas: configure-stage3-gas
11370 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11371 @r=`${PWD_COMMAND}`; export r; \
11372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11373 $(HOST_EXPORTS) \
11374 $(POSTSTAGE1_HOST_EXPORTS) \
11375 cd $(HOST_SUBDIR)/gas && \
11376 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11377 $(TARGET-stage3-gas)
11379 maybe-clean-stage3-gas: clean-stage3-gas
11380 clean-stage3: clean-stage3-gas
11381 clean-stage3-gas:
11382 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] \
11383 || exit 0 ; \
11384 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
11385 cd $(HOST_SUBDIR)/gas && \
11386 $(MAKE) $(FLAGS_TO_PASS) \
11387 $(POSTSTAGE1_FLAGS_TO_PASS) \
11388 clean
11389 @endif gas-bootstrap
11392 .PHONY: all-stage4-gas maybe-all-stage4-gas
11393 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
11394 maybe-all-stage4-gas:
11395 maybe-clean-stage4-gas:
11396 @if gas-bootstrap
11397 maybe-all-stage4-gas: all-stage4-gas
11398 all-stage4: all-stage4-gas
11399 TARGET-stage4-gas = $(TARGET-gas)
11400 all-stage4-gas: configure-stage4-gas
11401 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11402 @r=`${PWD_COMMAND}`; export r; \
11403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11404 $(HOST_EXPORTS) \
11405 $(POSTSTAGE1_HOST_EXPORTS) \
11406 cd $(HOST_SUBDIR)/gas && \
11407 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11408 $(TARGET-stage4-gas)
11410 maybe-clean-stage4-gas: clean-stage4-gas
11411 clean-stage4: clean-stage4-gas
11412 clean-stage4-gas:
11413 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] \
11414 || exit 0 ; \
11415 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
11416 cd $(HOST_SUBDIR)/gas && \
11417 $(MAKE) $(FLAGS_TO_PASS) \
11418 $(POSTSTAGE1_FLAGS_TO_PASS) \
11419 clean
11420 @endif gas-bootstrap
11423 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
11424 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
11425 maybe-all-stageprofile-gas:
11426 maybe-clean-stageprofile-gas:
11427 @if gas-bootstrap
11428 maybe-all-stageprofile-gas: all-stageprofile-gas
11429 all-stageprofile: all-stageprofile-gas
11430 TARGET-stageprofile-gas = $(TARGET-gas)
11431 all-stageprofile-gas: configure-stageprofile-gas
11432 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11433 @r=`${PWD_COMMAND}`; export r; \
11434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11435 $(HOST_EXPORTS) \
11436 $(POSTSTAGE1_HOST_EXPORTS) \
11437 cd $(HOST_SUBDIR)/gas && \
11438 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
11439 $(TARGET-stageprofile-gas)
11441 maybe-clean-stageprofile-gas: clean-stageprofile-gas
11442 clean-stageprofile: clean-stageprofile-gas
11443 clean-stageprofile-gas:
11444 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] \
11445 || exit 0 ; \
11446 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
11447 cd $(HOST_SUBDIR)/gas && \
11448 $(MAKE) $(FLAGS_TO_PASS) \
11449 $(POSTSTAGE1_FLAGS_TO_PASS) \
11450 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
11451 @endif gas-bootstrap
11454 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
11455 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
11456 maybe-all-stagefeedback-gas:
11457 maybe-clean-stagefeedback-gas:
11458 @if gas-bootstrap
11459 maybe-all-stagefeedback-gas: all-stagefeedback-gas
11460 all-stagefeedback: all-stagefeedback-gas
11461 TARGET-stagefeedback-gas = $(TARGET-gas)
11462 all-stagefeedback-gas: configure-stagefeedback-gas
11463 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11464 @r=`${PWD_COMMAND}`; export r; \
11465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11466 $(HOST_EXPORTS) \
11467 $(POSTSTAGE1_HOST_EXPORTS) \
11468 cd $(HOST_SUBDIR)/gas && \
11469 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
11470 $(TARGET-stagefeedback-gas)
11472 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
11473 clean-stagefeedback: clean-stagefeedback-gas
11474 clean-stagefeedback-gas:
11475 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] \
11476 || exit 0 ; \
11477 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
11478 cd $(HOST_SUBDIR)/gas && \
11479 $(MAKE) $(FLAGS_TO_PASS) \
11480 $(POSTSTAGE1_FLAGS_TO_PASS) \
11481 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
11482 @endif gas-bootstrap
11488 .PHONY: check-gas maybe-check-gas
11489 maybe-check-gas:
11490 @if gas
11491 maybe-check-gas: check-gas
11493 check-gas:
11494 @: $(MAKE); $(unstage)
11495 @r=`${PWD_COMMAND}`; export r; \
11496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11497 $(HOST_EXPORTS) \
11498 (cd $(HOST_SUBDIR)/gas && \
11499 $(MAKE) $(FLAGS_TO_PASS) check)
11501 @endif gas
11503 .PHONY: install-gas maybe-install-gas
11504 maybe-install-gas:
11505 @if gas
11506 maybe-install-gas: install-gas
11508 install-gas: installdirs
11509 @: $(MAKE); $(unstage)
11510 @r=`${PWD_COMMAND}`; export r; \
11511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11512 $(HOST_EXPORTS) \
11513 (cd $(HOST_SUBDIR)/gas && \
11514 $(MAKE) $(FLAGS_TO_PASS) install)
11516 @endif gas
11518 # Other targets (info, dvi, etc.)
11520 .PHONY: maybe-info-gas info-gas
11521 maybe-info-gas:
11522 @if gas
11523 maybe-info-gas: info-gas
11525 info-gas: \
11526 configure-gas
11527 @[ -f ./gas/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 info in gas" ; \
11535 (cd $(HOST_SUBDIR)/gas && \
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 info) \
11541 || exit 1
11543 @endif gas
11545 .PHONY: maybe-dvi-gas dvi-gas
11546 maybe-dvi-gas:
11547 @if gas
11548 maybe-dvi-gas: dvi-gas
11550 dvi-gas: \
11551 configure-gas
11552 @[ -f ./gas/Makefile ] || exit 0; \
11553 r=`${PWD_COMMAND}`; export r; \
11554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11555 $(HOST_EXPORTS) \
11556 for flag in $(EXTRA_HOST_FLAGS) ; do \
11557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11558 done; \
11559 echo "Doing dvi in gas" ; \
11560 (cd $(HOST_SUBDIR)/gas && \
11561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11563 "RANLIB=$${RANLIB}" \
11564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11565 dvi) \
11566 || exit 1
11568 @endif gas
11570 .PHONY: maybe-html-gas html-gas
11571 maybe-html-gas:
11572 @if gas
11573 maybe-html-gas: html-gas
11575 html-gas: \
11576 configure-gas
11577 @[ -f ./gas/Makefile ] || exit 0; \
11578 r=`${PWD_COMMAND}`; export r; \
11579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11580 $(HOST_EXPORTS) \
11581 for flag in $(EXTRA_HOST_FLAGS) ; do \
11582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11583 done; \
11584 echo "Doing html in gas" ; \
11585 (cd $(HOST_SUBDIR)/gas && \
11586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11588 "RANLIB=$${RANLIB}" \
11589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11590 html) \
11591 || exit 1
11593 @endif gas
11595 .PHONY: maybe-TAGS-gas TAGS-gas
11596 maybe-TAGS-gas:
11597 @if gas
11598 maybe-TAGS-gas: TAGS-gas
11600 TAGS-gas: \
11601 configure-gas
11602 @[ -f ./gas/Makefile ] || exit 0; \
11603 r=`${PWD_COMMAND}`; export r; \
11604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11605 $(HOST_EXPORTS) \
11606 for flag in $(EXTRA_HOST_FLAGS) ; do \
11607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11608 done; \
11609 echo "Doing TAGS in gas" ; \
11610 (cd $(HOST_SUBDIR)/gas && \
11611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11613 "RANLIB=$${RANLIB}" \
11614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11615 TAGS) \
11616 || exit 1
11618 @endif gas
11620 .PHONY: maybe-install-info-gas install-info-gas
11621 maybe-install-info-gas:
11622 @if gas
11623 maybe-install-info-gas: install-info-gas
11625 install-info-gas: \
11626 configure-gas \
11627 info-gas
11628 @[ -f ./gas/Makefile ] || exit 0; \
11629 r=`${PWD_COMMAND}`; export r; \
11630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11631 $(HOST_EXPORTS) \
11632 for flag in $(EXTRA_HOST_FLAGS) ; do \
11633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11634 done; \
11635 echo "Doing install-info in gas" ; \
11636 (cd $(HOST_SUBDIR)/gas && \
11637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11639 "RANLIB=$${RANLIB}" \
11640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11641 install-info) \
11642 || exit 1
11644 @endif gas
11646 .PHONY: maybe-install-html-gas install-html-gas
11647 maybe-install-html-gas:
11648 @if gas
11649 maybe-install-html-gas: install-html-gas
11651 install-html-gas: \
11652 configure-gas \
11653 html-gas
11654 @[ -f ./gas/Makefile ] || exit 0; \
11655 r=`${PWD_COMMAND}`; export r; \
11656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11657 $(HOST_EXPORTS) \
11658 for flag in $(EXTRA_HOST_FLAGS) ; do \
11659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11660 done; \
11661 echo "Doing install-html in gas" ; \
11662 (cd $(HOST_SUBDIR)/gas && \
11663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11665 "RANLIB=$${RANLIB}" \
11666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11667 install-html) \
11668 || exit 1
11670 @endif gas
11672 .PHONY: maybe-installcheck-gas installcheck-gas
11673 maybe-installcheck-gas:
11674 @if gas
11675 maybe-installcheck-gas: installcheck-gas
11677 installcheck-gas: \
11678 configure-gas
11679 @[ -f ./gas/Makefile ] || exit 0; \
11680 r=`${PWD_COMMAND}`; export r; \
11681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11682 $(HOST_EXPORTS) \
11683 for flag in $(EXTRA_HOST_FLAGS) ; do \
11684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11685 done; \
11686 echo "Doing installcheck in gas" ; \
11687 (cd $(HOST_SUBDIR)/gas && \
11688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11690 "RANLIB=$${RANLIB}" \
11691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11692 installcheck) \
11693 || exit 1
11695 @endif gas
11697 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
11698 maybe-mostlyclean-gas:
11699 @if gas
11700 maybe-mostlyclean-gas: mostlyclean-gas
11702 mostlyclean-gas:
11703 @[ -f ./gas/Makefile ] || exit 0; \
11704 r=`${PWD_COMMAND}`; export r; \
11705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11706 $(HOST_EXPORTS) \
11707 for flag in $(EXTRA_HOST_FLAGS) ; do \
11708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11709 done; \
11710 echo "Doing mostlyclean in gas" ; \
11711 (cd $(HOST_SUBDIR)/gas && \
11712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11714 "RANLIB=$${RANLIB}" \
11715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11716 mostlyclean) \
11717 || exit 1
11719 @endif gas
11721 .PHONY: maybe-clean-gas clean-gas
11722 maybe-clean-gas:
11723 @if gas
11724 maybe-clean-gas: clean-gas
11726 clean-gas:
11727 @[ -f ./gas/Makefile ] || exit 0; \
11728 r=`${PWD_COMMAND}`; export r; \
11729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11730 $(HOST_EXPORTS) \
11731 for flag in $(EXTRA_HOST_FLAGS) ; do \
11732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11733 done; \
11734 echo "Doing clean in gas" ; \
11735 (cd $(HOST_SUBDIR)/gas && \
11736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11738 "RANLIB=$${RANLIB}" \
11739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11740 clean) \
11741 || exit 1
11743 @endif gas
11745 .PHONY: maybe-distclean-gas distclean-gas
11746 maybe-distclean-gas:
11747 @if gas
11748 maybe-distclean-gas: distclean-gas
11750 distclean-gas:
11751 @[ -f ./gas/Makefile ] || exit 0; \
11752 r=`${PWD_COMMAND}`; export r; \
11753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11754 $(HOST_EXPORTS) \
11755 for flag in $(EXTRA_HOST_FLAGS) ; do \
11756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11757 done; \
11758 echo "Doing distclean in gas" ; \
11759 (cd $(HOST_SUBDIR)/gas && \
11760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11762 "RANLIB=$${RANLIB}" \
11763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11764 distclean) \
11765 || exit 1
11767 @endif gas
11769 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
11770 maybe-maintainer-clean-gas:
11771 @if gas
11772 maybe-maintainer-clean-gas: maintainer-clean-gas
11774 maintainer-clean-gas:
11775 @[ -f ./gas/Makefile ] || exit 0; \
11776 r=`${PWD_COMMAND}`; export r; \
11777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11778 $(HOST_EXPORTS) \
11779 for flag in $(EXTRA_HOST_FLAGS) ; do \
11780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11781 done; \
11782 echo "Doing maintainer-clean in gas" ; \
11783 (cd $(HOST_SUBDIR)/gas && \
11784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11786 "RANLIB=$${RANLIB}" \
11787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11788 maintainer-clean) \
11789 || exit 1
11791 @endif gas
11795 .PHONY: configure-gcc maybe-configure-gcc
11796 maybe-configure-gcc:
11797 @if gcc-bootstrap
11798 configure-gcc: stage_current
11799 @endif gcc-bootstrap
11800 @if gcc
11801 maybe-configure-gcc: configure-gcc
11802 configure-gcc:
11803 @r=`${PWD_COMMAND}`; export r; \
11804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11805 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11806 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11807 $(HOST_EXPORTS) \
11808 echo Configuring in $(HOST_SUBDIR)/gcc; \
11809 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
11810 case $(srcdir) in \
11811 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11812 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11813 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11814 esac; \
11815 srcdiroption="--srcdir=$${topdir}/gcc"; \
11816 libsrcdir="$$s/gcc"; \
11817 $(SHELL) $${libsrcdir}/configure \
11818 $(HOST_CONFIGARGS) $${srcdiroption} \
11819 || exit 1
11820 @endif gcc
11824 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
11825 maybe-configure-stage1-gcc:
11826 @if gcc-bootstrap
11827 maybe-configure-stage1-gcc: configure-stage1-gcc
11828 configure-stage1-gcc:
11829 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11830 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11831 @r=`${PWD_COMMAND}`; export r; \
11832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11833 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11834 $(HOST_EXPORTS) \
11835 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
11836 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11837 cd $(HOST_SUBDIR)/gcc || exit 1; \
11838 case $(srcdir) in \
11839 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11840 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11841 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11842 esac; \
11843 srcdiroption="--srcdir=$${topdir}/gcc"; \
11844 libsrcdir="$$s/gcc"; \
11845 $(SHELL) $${libsrcdir}/configure \
11846 $(HOST_CONFIGARGS) $${srcdiroption} \
11848 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
11849 @endif gcc-bootstrap
11851 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
11852 maybe-configure-stage2-gcc:
11853 @if gcc-bootstrap
11854 maybe-configure-stage2-gcc: configure-stage2-gcc
11855 configure-stage2-gcc:
11856 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11857 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11858 @r=`${PWD_COMMAND}`; export r; \
11859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11860 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11861 $(HOST_EXPORTS) \
11862 $(POSTSTAGE1_HOST_EXPORTS) \
11863 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
11864 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11865 cd $(HOST_SUBDIR)/gcc || exit 1; \
11866 case $(srcdir) in \
11867 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11868 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11869 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11870 esac; \
11871 srcdiroption="--srcdir=$${topdir}/gcc"; \
11872 libsrcdir="$$s/gcc"; \
11873 $(SHELL) $${libsrcdir}/configure \
11874 $(HOST_CONFIGARGS) $${srcdiroption} \
11875 --with-build-libsubdir=$(HOST_SUBDIR) \
11876 @stage2_werror_flag@
11877 @endif gcc-bootstrap
11879 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
11880 maybe-configure-stage3-gcc:
11881 @if gcc-bootstrap
11882 maybe-configure-stage3-gcc: configure-stage3-gcc
11883 configure-stage3-gcc:
11884 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11885 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11886 @r=`${PWD_COMMAND}`; export r; \
11887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11888 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11889 $(HOST_EXPORTS) \
11890 $(POSTSTAGE1_HOST_EXPORTS) \
11891 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
11892 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11893 cd $(HOST_SUBDIR)/gcc || exit 1; \
11894 case $(srcdir) in \
11895 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11896 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11897 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11898 esac; \
11899 srcdiroption="--srcdir=$${topdir}/gcc"; \
11900 libsrcdir="$$s/gcc"; \
11901 $(SHELL) $${libsrcdir}/configure \
11902 $(HOST_CONFIGARGS) $${srcdiroption} \
11903 --with-build-libsubdir=$(HOST_SUBDIR) \
11904 @stage2_werror_flag@
11905 @endif gcc-bootstrap
11907 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
11908 maybe-configure-stage4-gcc:
11909 @if gcc-bootstrap
11910 maybe-configure-stage4-gcc: configure-stage4-gcc
11911 configure-stage4-gcc:
11912 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11913 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11914 @r=`${PWD_COMMAND}`; export r; \
11915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11916 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11917 $(HOST_EXPORTS) \
11918 $(POSTSTAGE1_HOST_EXPORTS) \
11919 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
11920 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11921 cd $(HOST_SUBDIR)/gcc || exit 1; \
11922 case $(srcdir) in \
11923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11924 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11926 esac; \
11927 srcdiroption="--srcdir=$${topdir}/gcc"; \
11928 libsrcdir="$$s/gcc"; \
11929 $(SHELL) $${libsrcdir}/configure \
11930 $(HOST_CONFIGARGS) $${srcdiroption} \
11931 --with-build-libsubdir=$(HOST_SUBDIR) \
11932 @stage2_werror_flag@
11933 @endif gcc-bootstrap
11935 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
11936 maybe-configure-stageprofile-gcc:
11937 @if gcc-bootstrap
11938 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
11939 configure-stageprofile-gcc:
11940 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11941 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11942 @r=`${PWD_COMMAND}`; export r; \
11943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11944 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11945 $(HOST_EXPORTS) \
11946 $(POSTSTAGE1_HOST_EXPORTS) \
11947 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
11948 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11949 cd $(HOST_SUBDIR)/gcc || exit 1; \
11950 case $(srcdir) in \
11951 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11952 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11953 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11954 esac; \
11955 srcdiroption="--srcdir=$${topdir}/gcc"; \
11956 libsrcdir="$$s/gcc"; \
11957 $(SHELL) $${libsrcdir}/configure \
11958 $(HOST_CONFIGARGS) $${srcdiroption} \
11959 --with-build-libsubdir=$(HOST_SUBDIR) \
11960 @stage2_werror_flag@
11961 @endif gcc-bootstrap
11963 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11964 maybe-configure-stagefeedback-gcc:
11965 @if gcc-bootstrap
11966 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11967 configure-stagefeedback-gcc:
11968 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11969 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11970 @r=`${PWD_COMMAND}`; export r; \
11971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11972 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11973 $(HOST_EXPORTS) \
11974 $(POSTSTAGE1_HOST_EXPORTS) \
11975 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
11976 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11977 cd $(HOST_SUBDIR)/gcc || exit 1; \
11978 case $(srcdir) in \
11979 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11980 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11981 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11982 esac; \
11983 srcdiroption="--srcdir=$${topdir}/gcc"; \
11984 libsrcdir="$$s/gcc"; \
11985 $(SHELL) $${libsrcdir}/configure \
11986 $(HOST_CONFIGARGS) $${srcdiroption} \
11987 --with-build-libsubdir=$(HOST_SUBDIR) \
11988 @stage2_werror_flag@
11989 @endif gcc-bootstrap
11995 .PHONY: all-gcc maybe-all-gcc
11996 maybe-all-gcc:
11997 @if gcc-bootstrap
11998 all-gcc: stage_current
11999 @endif gcc-bootstrap
12000 @if gcc
12001 TARGET-gcc=`if [ -f stage_last ]; then echo quickstrap ; else echo all; fi`
12002 maybe-all-gcc: all-gcc
12003 all-gcc: configure-gcc
12004 @r=`${PWD_COMMAND}`; export r; \
12005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12006 $(HOST_EXPORTS) \
12007 (cd $(HOST_SUBDIR)/gcc && \
12008 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
12009 @endif gcc
12013 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
12014 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
12015 maybe-all-stage1-gcc:
12016 maybe-clean-stage1-gcc:
12017 @if gcc-bootstrap
12018 maybe-all-stage1-gcc: all-stage1-gcc
12019 all-stage1: all-stage1-gcc
12020 TARGET-stage1-gcc = $(TARGET-gcc)
12021 all-stage1-gcc: configure-stage1-gcc
12022 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12023 @r=`${PWD_COMMAND}`; export r; \
12024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12025 $(HOST_EXPORTS) \
12026 cd $(HOST_SUBDIR)/gcc && \
12027 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
12028 $(TARGET-stage1-gcc)
12030 maybe-clean-stage1-gcc: clean-stage1-gcc
12031 clean-stage1: clean-stage1-gcc
12032 clean-stage1-gcc:
12033 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] \
12034 || exit 0 ; \
12035 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
12036 cd $(HOST_SUBDIR)/gcc && \
12037 $(MAKE) $(FLAGS_TO_PASS) \
12038 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
12039 @endif gcc-bootstrap
12042 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
12043 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
12044 maybe-all-stage2-gcc:
12045 maybe-clean-stage2-gcc:
12046 @if gcc-bootstrap
12047 maybe-all-stage2-gcc: all-stage2-gcc
12048 all-stage2: all-stage2-gcc
12049 TARGET-stage2-gcc = $(TARGET-gcc)
12050 all-stage2-gcc: configure-stage2-gcc
12051 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12052 @r=`${PWD_COMMAND}`; export r; \
12053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12054 $(HOST_EXPORTS) \
12055 $(POSTSTAGE1_HOST_EXPORTS) \
12056 cd $(HOST_SUBDIR)/gcc && \
12057 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12058 $(TARGET-stage2-gcc)
12060 maybe-clean-stage2-gcc: clean-stage2-gcc
12061 clean-stage2: clean-stage2-gcc
12062 clean-stage2-gcc:
12063 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] \
12064 || exit 0 ; \
12065 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
12066 cd $(HOST_SUBDIR)/gcc && \
12067 $(MAKE) $(FLAGS_TO_PASS) \
12068 $(POSTSTAGE1_FLAGS_TO_PASS) \
12069 $(EXTRA_GCC_FLAGS) clean
12070 @endif gcc-bootstrap
12073 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
12074 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
12075 maybe-all-stage3-gcc:
12076 maybe-clean-stage3-gcc:
12077 @if gcc-bootstrap
12078 maybe-all-stage3-gcc: all-stage3-gcc
12079 all-stage3: all-stage3-gcc
12080 TARGET-stage3-gcc = $(TARGET-gcc)
12081 all-stage3-gcc: configure-stage3-gcc
12082 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12083 @r=`${PWD_COMMAND}`; export r; \
12084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12085 $(HOST_EXPORTS) \
12086 $(POSTSTAGE1_HOST_EXPORTS) \
12087 cd $(HOST_SUBDIR)/gcc && \
12088 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12089 $(TARGET-stage3-gcc)
12091 maybe-clean-stage3-gcc: clean-stage3-gcc
12092 clean-stage3: clean-stage3-gcc
12093 clean-stage3-gcc:
12094 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] \
12095 || exit 0 ; \
12096 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
12097 cd $(HOST_SUBDIR)/gcc && \
12098 $(MAKE) $(FLAGS_TO_PASS) \
12099 $(POSTSTAGE1_FLAGS_TO_PASS) \
12100 $(EXTRA_GCC_FLAGS) clean
12101 @endif gcc-bootstrap
12104 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
12105 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
12106 maybe-all-stage4-gcc:
12107 maybe-clean-stage4-gcc:
12108 @if gcc-bootstrap
12109 maybe-all-stage4-gcc: all-stage4-gcc
12110 all-stage4: all-stage4-gcc
12111 TARGET-stage4-gcc = $(TARGET-gcc)
12112 all-stage4-gcc: configure-stage4-gcc
12113 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12114 @r=`${PWD_COMMAND}`; export r; \
12115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12116 $(HOST_EXPORTS) \
12117 $(POSTSTAGE1_HOST_EXPORTS) \
12118 cd $(HOST_SUBDIR)/gcc && \
12119 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12120 $(TARGET-stage4-gcc)
12122 maybe-clean-stage4-gcc: clean-stage4-gcc
12123 clean-stage4: clean-stage4-gcc
12124 clean-stage4-gcc:
12125 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] \
12126 || exit 0 ; \
12127 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
12128 cd $(HOST_SUBDIR)/gcc && \
12129 $(MAKE) $(FLAGS_TO_PASS) \
12130 $(POSTSTAGE1_FLAGS_TO_PASS) \
12131 $(EXTRA_GCC_FLAGS) clean
12132 @endif gcc-bootstrap
12135 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
12136 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
12137 maybe-all-stageprofile-gcc:
12138 maybe-clean-stageprofile-gcc:
12139 @if gcc-bootstrap
12140 maybe-all-stageprofile-gcc: all-stageprofile-gcc
12141 all-stageprofile: all-stageprofile-gcc
12142 TARGET-stageprofile-gcc = $(TARGET-gcc)
12143 all-stageprofile-gcc: configure-stageprofile-gcc
12144 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12145 @r=`${PWD_COMMAND}`; export r; \
12146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12147 $(HOST_EXPORTS) \
12148 $(POSTSTAGE1_HOST_EXPORTS) \
12149 cd $(HOST_SUBDIR)/gcc && \
12150 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
12151 $(TARGET-stageprofile-gcc)
12153 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
12154 clean-stageprofile: clean-stageprofile-gcc
12155 clean-stageprofile-gcc:
12156 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] \
12157 || exit 0 ; \
12158 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
12159 cd $(HOST_SUBDIR)/gcc && \
12160 $(MAKE) $(FLAGS_TO_PASS) \
12161 $(POSTSTAGE1_FLAGS_TO_PASS) \
12162 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
12163 @endif gcc-bootstrap
12166 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
12167 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
12168 maybe-all-stagefeedback-gcc:
12169 maybe-clean-stagefeedback-gcc:
12170 @if gcc-bootstrap
12171 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
12172 all-stagefeedback: all-stagefeedback-gcc
12173 TARGET-stagefeedback-gcc = $(TARGET-gcc)
12174 all-stagefeedback-gcc: configure-stagefeedback-gcc
12175 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12176 @r=`${PWD_COMMAND}`; export r; \
12177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12178 $(HOST_EXPORTS) \
12179 $(POSTSTAGE1_HOST_EXPORTS) \
12180 cd $(HOST_SUBDIR)/gcc && \
12181 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
12182 $(TARGET-stagefeedback-gcc)
12184 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
12185 clean-stagefeedback: clean-stagefeedback-gcc
12186 clean-stagefeedback-gcc:
12187 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] \
12188 || exit 0 ; \
12189 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
12190 cd $(HOST_SUBDIR)/gcc && \
12191 $(MAKE) $(FLAGS_TO_PASS) \
12192 $(POSTSTAGE1_FLAGS_TO_PASS) \
12193 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
12194 @endif gcc-bootstrap
12200 .PHONY: check-gcc maybe-check-gcc
12201 maybe-check-gcc:
12202 @if gcc
12203 maybe-check-gcc: check-gcc
12205 check-gcc:
12206 @: $(MAKE); $(unstage)
12207 @r=`${PWD_COMMAND}`; export r; \
12208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12209 $(HOST_EXPORTS) \
12210 (cd $(HOST_SUBDIR)/gcc && \
12211 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
12213 @endif gcc
12215 .PHONY: install-gcc maybe-install-gcc
12216 maybe-install-gcc:
12217 @if gcc
12218 maybe-install-gcc: install-gcc
12220 install-gcc: installdirs
12221 @: $(MAKE); $(unstage)
12222 @r=`${PWD_COMMAND}`; export r; \
12223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12224 $(HOST_EXPORTS) \
12225 (cd $(HOST_SUBDIR)/gcc && \
12226 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
12228 @endif gcc
12230 # Other targets (info, dvi, etc.)
12232 .PHONY: maybe-info-gcc info-gcc
12233 maybe-info-gcc:
12234 @if gcc
12235 maybe-info-gcc: info-gcc
12237 info-gcc: \
12238 configure-gcc
12239 @[ -f ./gcc/Makefile ] || exit 0; \
12240 r=`${PWD_COMMAND}`; export r; \
12241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12242 $(HOST_EXPORTS) \
12243 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12245 done; \
12246 echo "Doing info in gcc" ; \
12247 (cd $(HOST_SUBDIR)/gcc && \
12248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12250 "RANLIB=$${RANLIB}" \
12251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12252 info) \
12253 || exit 1
12255 @endif gcc
12257 .PHONY: maybe-dvi-gcc dvi-gcc
12258 maybe-dvi-gcc:
12259 @if gcc
12260 maybe-dvi-gcc: dvi-gcc
12262 dvi-gcc: \
12263 configure-gcc
12264 @[ -f ./gcc/Makefile ] || exit 0; \
12265 r=`${PWD_COMMAND}`; export r; \
12266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12267 $(HOST_EXPORTS) \
12268 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12270 done; \
12271 echo "Doing dvi in gcc" ; \
12272 (cd $(HOST_SUBDIR)/gcc && \
12273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12275 "RANLIB=$${RANLIB}" \
12276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12277 dvi) \
12278 || exit 1
12280 @endif gcc
12282 .PHONY: maybe-html-gcc html-gcc
12283 maybe-html-gcc:
12284 @if gcc
12285 maybe-html-gcc: html-gcc
12287 html-gcc: \
12288 configure-gcc
12289 @[ -f ./gcc/Makefile ] || exit 0; \
12290 r=`${PWD_COMMAND}`; export r; \
12291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12292 $(HOST_EXPORTS) \
12293 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12295 done; \
12296 echo "Doing html in gcc" ; \
12297 (cd $(HOST_SUBDIR)/gcc && \
12298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12300 "RANLIB=$${RANLIB}" \
12301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12302 html) \
12303 || exit 1
12305 @endif gcc
12307 .PHONY: maybe-TAGS-gcc TAGS-gcc
12308 maybe-TAGS-gcc:
12309 @if gcc
12310 maybe-TAGS-gcc: TAGS-gcc
12312 TAGS-gcc: \
12313 configure-gcc
12314 @[ -f ./gcc/Makefile ] || exit 0; \
12315 r=`${PWD_COMMAND}`; export r; \
12316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12317 $(HOST_EXPORTS) \
12318 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12320 done; \
12321 echo "Doing TAGS in gcc" ; \
12322 (cd $(HOST_SUBDIR)/gcc && \
12323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12325 "RANLIB=$${RANLIB}" \
12326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12327 TAGS) \
12328 || exit 1
12330 @endif gcc
12332 .PHONY: maybe-install-info-gcc install-info-gcc
12333 maybe-install-info-gcc:
12334 @if gcc
12335 maybe-install-info-gcc: install-info-gcc
12337 install-info-gcc: \
12338 configure-gcc \
12339 info-gcc
12340 @[ -f ./gcc/Makefile ] || exit 0; \
12341 r=`${PWD_COMMAND}`; export r; \
12342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12343 $(HOST_EXPORTS) \
12344 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12346 done; \
12347 echo "Doing install-info in gcc" ; \
12348 (cd $(HOST_SUBDIR)/gcc && \
12349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12351 "RANLIB=$${RANLIB}" \
12352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12353 install-info) \
12354 || exit 1
12356 @endif gcc
12358 .PHONY: maybe-install-html-gcc install-html-gcc
12359 maybe-install-html-gcc:
12360 @if gcc
12361 maybe-install-html-gcc: install-html-gcc
12363 install-html-gcc: \
12364 configure-gcc \
12365 html-gcc
12366 @[ -f ./gcc/Makefile ] || exit 0; \
12367 r=`${PWD_COMMAND}`; export r; \
12368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12369 $(HOST_EXPORTS) \
12370 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12372 done; \
12373 echo "Doing install-html in gcc" ; \
12374 (cd $(HOST_SUBDIR)/gcc && \
12375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12377 "RANLIB=$${RANLIB}" \
12378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12379 install-html) \
12380 || exit 1
12382 @endif gcc
12384 .PHONY: maybe-installcheck-gcc installcheck-gcc
12385 maybe-installcheck-gcc:
12386 @if gcc
12387 maybe-installcheck-gcc: installcheck-gcc
12389 installcheck-gcc: \
12390 configure-gcc
12391 @[ -f ./gcc/Makefile ] || exit 0; \
12392 r=`${PWD_COMMAND}`; export r; \
12393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12394 $(HOST_EXPORTS) \
12395 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12397 done; \
12398 echo "Doing installcheck in gcc" ; \
12399 (cd $(HOST_SUBDIR)/gcc && \
12400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12402 "RANLIB=$${RANLIB}" \
12403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12404 installcheck) \
12405 || exit 1
12407 @endif gcc
12409 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
12410 maybe-mostlyclean-gcc:
12411 @if gcc
12412 maybe-mostlyclean-gcc: mostlyclean-gcc
12414 mostlyclean-gcc:
12415 @[ -f ./gcc/Makefile ] || exit 0; \
12416 r=`${PWD_COMMAND}`; export r; \
12417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12418 $(HOST_EXPORTS) \
12419 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12421 done; \
12422 echo "Doing mostlyclean in gcc" ; \
12423 (cd $(HOST_SUBDIR)/gcc && \
12424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12426 "RANLIB=$${RANLIB}" \
12427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12428 mostlyclean) \
12429 || exit 1
12431 @endif gcc
12433 .PHONY: maybe-clean-gcc clean-gcc
12434 maybe-clean-gcc:
12435 @if gcc
12436 maybe-clean-gcc: clean-gcc
12438 clean-gcc:
12439 @[ -f ./gcc/Makefile ] || exit 0; \
12440 r=`${PWD_COMMAND}`; export r; \
12441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12442 $(HOST_EXPORTS) \
12443 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12445 done; \
12446 echo "Doing clean in gcc" ; \
12447 (cd $(HOST_SUBDIR)/gcc && \
12448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12450 "RANLIB=$${RANLIB}" \
12451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12452 clean) \
12453 || exit 1
12455 @endif gcc
12457 .PHONY: maybe-distclean-gcc distclean-gcc
12458 maybe-distclean-gcc:
12459 @if gcc
12460 maybe-distclean-gcc: distclean-gcc
12462 distclean-gcc:
12463 @[ -f ./gcc/Makefile ] || exit 0; \
12464 r=`${PWD_COMMAND}`; export r; \
12465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12466 $(HOST_EXPORTS) \
12467 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12469 done; \
12470 echo "Doing distclean in gcc" ; \
12471 (cd $(HOST_SUBDIR)/gcc && \
12472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12474 "RANLIB=$${RANLIB}" \
12475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12476 distclean) \
12477 || exit 1
12479 @endif gcc
12481 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
12482 maybe-maintainer-clean-gcc:
12483 @if gcc
12484 maybe-maintainer-clean-gcc: maintainer-clean-gcc
12486 maintainer-clean-gcc:
12487 @[ -f ./gcc/Makefile ] || exit 0; \
12488 r=`${PWD_COMMAND}`; export r; \
12489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12490 $(HOST_EXPORTS) \
12491 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12493 done; \
12494 echo "Doing maintainer-clean in gcc" ; \
12495 (cd $(HOST_SUBDIR)/gcc && \
12496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12498 "RANLIB=$${RANLIB}" \
12499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12500 maintainer-clean) \
12501 || exit 1
12503 @endif gcc
12507 .PHONY: configure-gawk maybe-configure-gawk
12508 maybe-configure-gawk:
12509 @if gcc-bootstrap
12510 configure-gawk: stage_current
12511 @endif gcc-bootstrap
12512 @if gawk
12513 maybe-configure-gawk: configure-gawk
12514 configure-gawk:
12515 @: $(MAKE); $(unstage)
12516 @r=`${PWD_COMMAND}`; export r; \
12517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12518 test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
12519 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
12520 $(HOST_EXPORTS) \
12521 echo Configuring in $(HOST_SUBDIR)/gawk; \
12522 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
12523 case $(srcdir) in \
12524 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12525 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
12526 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12527 esac; \
12528 srcdiroption="--srcdir=$${topdir}/gawk"; \
12529 libsrcdir="$$s/gawk"; \
12530 $(SHELL) $${libsrcdir}/configure \
12531 $(HOST_CONFIGARGS) $${srcdiroption} \
12532 || exit 1
12533 @endif gawk
12539 .PHONY: all-gawk maybe-all-gawk
12540 maybe-all-gawk:
12541 @if gcc-bootstrap
12542 all-gawk: stage_current
12543 @endif gcc-bootstrap
12544 @if gawk
12545 TARGET-gawk=all
12546 maybe-all-gawk: all-gawk
12547 all-gawk: configure-gawk
12548 @: $(MAKE); $(unstage)
12549 @r=`${PWD_COMMAND}`; export r; \
12550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12551 $(HOST_EXPORTS) \
12552 (cd $(HOST_SUBDIR)/gawk && \
12553 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
12554 @endif gawk
12559 .PHONY: check-gawk maybe-check-gawk
12560 maybe-check-gawk:
12561 @if gawk
12562 maybe-check-gawk: check-gawk
12564 check-gawk:
12565 @: $(MAKE); $(unstage)
12566 @r=`${PWD_COMMAND}`; export r; \
12567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12568 $(HOST_EXPORTS) \
12569 (cd $(HOST_SUBDIR)/gawk && \
12570 $(MAKE) $(FLAGS_TO_PASS) check)
12572 @endif gawk
12574 .PHONY: install-gawk maybe-install-gawk
12575 maybe-install-gawk:
12576 @if gawk
12577 maybe-install-gawk: install-gawk
12579 install-gawk: installdirs
12580 @: $(MAKE); $(unstage)
12581 @r=`${PWD_COMMAND}`; export r; \
12582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12583 $(HOST_EXPORTS) \
12584 (cd $(HOST_SUBDIR)/gawk && \
12585 $(MAKE) $(FLAGS_TO_PASS) install)
12587 @endif gawk
12589 # Other targets (info, dvi, etc.)
12591 .PHONY: maybe-info-gawk info-gawk
12592 maybe-info-gawk:
12593 @if gawk
12594 maybe-info-gawk: info-gawk
12596 info-gawk: \
12597 configure-gawk
12598 @: $(MAKE); $(unstage)
12599 @[ -f ./gawk/Makefile ] || exit 0; \
12600 r=`${PWD_COMMAND}`; export r; \
12601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12602 $(HOST_EXPORTS) \
12603 for flag in $(EXTRA_HOST_FLAGS) ; do \
12604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12605 done; \
12606 echo "Doing info in gawk" ; \
12607 (cd $(HOST_SUBDIR)/gawk && \
12608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12610 "RANLIB=$${RANLIB}" \
12611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12612 info) \
12613 || exit 1
12615 @endif gawk
12617 .PHONY: maybe-dvi-gawk dvi-gawk
12618 maybe-dvi-gawk:
12619 @if gawk
12620 maybe-dvi-gawk: dvi-gawk
12622 dvi-gawk: \
12623 configure-gawk
12624 @: $(MAKE); $(unstage)
12625 @[ -f ./gawk/Makefile ] || exit 0; \
12626 r=`${PWD_COMMAND}`; export r; \
12627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12628 $(HOST_EXPORTS) \
12629 for flag in $(EXTRA_HOST_FLAGS) ; do \
12630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12631 done; \
12632 echo "Doing dvi in gawk" ; \
12633 (cd $(HOST_SUBDIR)/gawk && \
12634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12636 "RANLIB=$${RANLIB}" \
12637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12638 dvi) \
12639 || exit 1
12641 @endif gawk
12643 .PHONY: maybe-html-gawk html-gawk
12644 maybe-html-gawk:
12645 @if gawk
12646 maybe-html-gawk: html-gawk
12648 html-gawk: \
12649 configure-gawk
12650 @: $(MAKE); $(unstage)
12651 @[ -f ./gawk/Makefile ] || exit 0; \
12652 r=`${PWD_COMMAND}`; export r; \
12653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12654 $(HOST_EXPORTS) \
12655 for flag in $(EXTRA_HOST_FLAGS) ; do \
12656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12657 done; \
12658 echo "Doing html in gawk" ; \
12659 (cd $(HOST_SUBDIR)/gawk && \
12660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12662 "RANLIB=$${RANLIB}" \
12663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12664 html) \
12665 || exit 1
12667 @endif gawk
12669 .PHONY: maybe-TAGS-gawk TAGS-gawk
12670 maybe-TAGS-gawk:
12671 @if gawk
12672 maybe-TAGS-gawk: TAGS-gawk
12674 TAGS-gawk: \
12675 configure-gawk
12676 @: $(MAKE); $(unstage)
12677 @[ -f ./gawk/Makefile ] || exit 0; \
12678 r=`${PWD_COMMAND}`; export r; \
12679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12680 $(HOST_EXPORTS) \
12681 for flag in $(EXTRA_HOST_FLAGS) ; do \
12682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12683 done; \
12684 echo "Doing TAGS in gawk" ; \
12685 (cd $(HOST_SUBDIR)/gawk && \
12686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12688 "RANLIB=$${RANLIB}" \
12689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12690 TAGS) \
12691 || exit 1
12693 @endif gawk
12695 .PHONY: maybe-install-info-gawk install-info-gawk
12696 maybe-install-info-gawk:
12697 @if gawk
12698 maybe-install-info-gawk: install-info-gawk
12700 install-info-gawk: \
12701 configure-gawk \
12702 info-gawk
12703 @: $(MAKE); $(unstage)
12704 @[ -f ./gawk/Makefile ] || exit 0; \
12705 r=`${PWD_COMMAND}`; export r; \
12706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12707 $(HOST_EXPORTS) \
12708 for flag in $(EXTRA_HOST_FLAGS) ; do \
12709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12710 done; \
12711 echo "Doing install-info in gawk" ; \
12712 (cd $(HOST_SUBDIR)/gawk && \
12713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12715 "RANLIB=$${RANLIB}" \
12716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12717 install-info) \
12718 || exit 1
12720 @endif gawk
12722 .PHONY: maybe-install-html-gawk install-html-gawk
12723 maybe-install-html-gawk:
12724 @if gawk
12725 maybe-install-html-gawk: install-html-gawk
12727 install-html-gawk: \
12728 configure-gawk \
12729 html-gawk
12730 @: $(MAKE); $(unstage)
12731 @[ -f ./gawk/Makefile ] || exit 0; \
12732 r=`${PWD_COMMAND}`; export r; \
12733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12734 $(HOST_EXPORTS) \
12735 for flag in $(EXTRA_HOST_FLAGS) ; do \
12736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12737 done; \
12738 echo "Doing install-html in gawk" ; \
12739 (cd $(HOST_SUBDIR)/gawk && \
12740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12742 "RANLIB=$${RANLIB}" \
12743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12744 install-html) \
12745 || exit 1
12747 @endif gawk
12749 .PHONY: maybe-installcheck-gawk installcheck-gawk
12750 maybe-installcheck-gawk:
12751 @if gawk
12752 maybe-installcheck-gawk: installcheck-gawk
12754 installcheck-gawk: \
12755 configure-gawk
12756 @: $(MAKE); $(unstage)
12757 @[ -f ./gawk/Makefile ] || exit 0; \
12758 r=`${PWD_COMMAND}`; export r; \
12759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12760 $(HOST_EXPORTS) \
12761 for flag in $(EXTRA_HOST_FLAGS) ; do \
12762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12763 done; \
12764 echo "Doing installcheck in gawk" ; \
12765 (cd $(HOST_SUBDIR)/gawk && \
12766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12768 "RANLIB=$${RANLIB}" \
12769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12770 installcheck) \
12771 || exit 1
12773 @endif gawk
12775 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
12776 maybe-mostlyclean-gawk:
12777 @if gawk
12778 maybe-mostlyclean-gawk: mostlyclean-gawk
12780 mostlyclean-gawk:
12781 @: $(MAKE); $(unstage)
12782 @[ -f ./gawk/Makefile ] || exit 0; \
12783 r=`${PWD_COMMAND}`; export r; \
12784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12785 $(HOST_EXPORTS) \
12786 for flag in $(EXTRA_HOST_FLAGS) ; do \
12787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12788 done; \
12789 echo "Doing mostlyclean in gawk" ; \
12790 (cd $(HOST_SUBDIR)/gawk && \
12791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12793 "RANLIB=$${RANLIB}" \
12794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12795 mostlyclean) \
12796 || exit 1
12798 @endif gawk
12800 .PHONY: maybe-clean-gawk clean-gawk
12801 maybe-clean-gawk:
12802 @if gawk
12803 maybe-clean-gawk: clean-gawk
12805 clean-gawk:
12806 @: $(MAKE); $(unstage)
12807 @[ -f ./gawk/Makefile ] || exit 0; \
12808 r=`${PWD_COMMAND}`; export r; \
12809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12810 $(HOST_EXPORTS) \
12811 for flag in $(EXTRA_HOST_FLAGS) ; do \
12812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12813 done; \
12814 echo "Doing clean in gawk" ; \
12815 (cd $(HOST_SUBDIR)/gawk && \
12816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12818 "RANLIB=$${RANLIB}" \
12819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12820 clean) \
12821 || exit 1
12823 @endif gawk
12825 .PHONY: maybe-distclean-gawk distclean-gawk
12826 maybe-distclean-gawk:
12827 @if gawk
12828 maybe-distclean-gawk: distclean-gawk
12830 distclean-gawk:
12831 @: $(MAKE); $(unstage)
12832 @[ -f ./gawk/Makefile ] || exit 0; \
12833 r=`${PWD_COMMAND}`; export r; \
12834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12835 $(HOST_EXPORTS) \
12836 for flag in $(EXTRA_HOST_FLAGS) ; do \
12837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12838 done; \
12839 echo "Doing distclean in gawk" ; \
12840 (cd $(HOST_SUBDIR)/gawk && \
12841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12843 "RANLIB=$${RANLIB}" \
12844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12845 distclean) \
12846 || exit 1
12848 @endif gawk
12850 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
12851 maybe-maintainer-clean-gawk:
12852 @if gawk
12853 maybe-maintainer-clean-gawk: maintainer-clean-gawk
12855 maintainer-clean-gawk:
12856 @: $(MAKE); $(unstage)
12857 @[ -f ./gawk/Makefile ] || exit 0; \
12858 r=`${PWD_COMMAND}`; export r; \
12859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12860 $(HOST_EXPORTS) \
12861 for flag in $(EXTRA_HOST_FLAGS) ; do \
12862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12863 done; \
12864 echo "Doing maintainer-clean in gawk" ; \
12865 (cd $(HOST_SUBDIR)/gawk && \
12866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12868 "RANLIB=$${RANLIB}" \
12869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12870 maintainer-clean) \
12871 || exit 1
12873 @endif gawk
12877 .PHONY: configure-gettext maybe-configure-gettext
12878 maybe-configure-gettext:
12879 @if gcc-bootstrap
12880 configure-gettext: stage_current
12881 @endif gcc-bootstrap
12882 @if gettext
12883 maybe-configure-gettext: configure-gettext
12884 configure-gettext:
12885 @: $(MAKE); $(unstage)
12886 @r=`${PWD_COMMAND}`; export r; \
12887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12888 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
12889 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
12890 $(HOST_EXPORTS) \
12891 echo Configuring in $(HOST_SUBDIR)/gettext; \
12892 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
12893 case $(srcdir) in \
12894 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12895 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
12896 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12897 esac; \
12898 srcdiroption="--srcdir=$${topdir}/gettext"; \
12899 libsrcdir="$$s/gettext"; \
12900 $(SHELL) $${libsrcdir}/configure \
12901 $(HOST_CONFIGARGS) $${srcdiroption} \
12902 || exit 1
12903 @endif gettext
12909 .PHONY: all-gettext maybe-all-gettext
12910 maybe-all-gettext:
12911 @if gcc-bootstrap
12912 all-gettext: stage_current
12913 @endif gcc-bootstrap
12914 @if gettext
12915 TARGET-gettext=all
12916 maybe-all-gettext: all-gettext
12917 all-gettext: configure-gettext
12918 @: $(MAKE); $(unstage)
12919 @r=`${PWD_COMMAND}`; export r; \
12920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12921 $(HOST_EXPORTS) \
12922 (cd $(HOST_SUBDIR)/gettext && \
12923 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
12924 @endif gettext
12929 .PHONY: check-gettext maybe-check-gettext
12930 maybe-check-gettext:
12931 @if gettext
12932 maybe-check-gettext: check-gettext
12934 check-gettext:
12935 @: $(MAKE); $(unstage)
12936 @r=`${PWD_COMMAND}`; export r; \
12937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12938 $(HOST_EXPORTS) \
12939 (cd $(HOST_SUBDIR)/gettext && \
12940 $(MAKE) $(FLAGS_TO_PASS) check)
12942 @endif gettext
12944 .PHONY: install-gettext maybe-install-gettext
12945 maybe-install-gettext:
12946 @if gettext
12947 maybe-install-gettext: install-gettext
12949 install-gettext: installdirs
12950 @: $(MAKE); $(unstage)
12951 @r=`${PWD_COMMAND}`; export r; \
12952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12953 $(HOST_EXPORTS) \
12954 (cd $(HOST_SUBDIR)/gettext && \
12955 $(MAKE) $(FLAGS_TO_PASS) install)
12957 @endif gettext
12959 # Other targets (info, dvi, etc.)
12961 .PHONY: maybe-info-gettext info-gettext
12962 maybe-info-gettext:
12963 @if gettext
12964 maybe-info-gettext: info-gettext
12966 info-gettext: \
12967 configure-gettext
12968 @: $(MAKE); $(unstage)
12969 @[ -f ./gettext/Makefile ] || exit 0; \
12970 r=`${PWD_COMMAND}`; export r; \
12971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12972 $(HOST_EXPORTS) \
12973 for flag in $(EXTRA_HOST_FLAGS) ; do \
12974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12975 done; \
12976 echo "Doing info in gettext" ; \
12977 (cd $(HOST_SUBDIR)/gettext && \
12978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12980 "RANLIB=$${RANLIB}" \
12981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12982 info) \
12983 || exit 1
12985 @endif gettext
12987 .PHONY: maybe-dvi-gettext dvi-gettext
12988 maybe-dvi-gettext:
12989 @if gettext
12990 maybe-dvi-gettext: dvi-gettext
12992 dvi-gettext: \
12993 configure-gettext
12994 @: $(MAKE); $(unstage)
12995 @[ -f ./gettext/Makefile ] || exit 0; \
12996 r=`${PWD_COMMAND}`; export r; \
12997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12998 $(HOST_EXPORTS) \
12999 for flag in $(EXTRA_HOST_FLAGS) ; do \
13000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13001 done; \
13002 echo "Doing dvi in gettext" ; \
13003 (cd $(HOST_SUBDIR)/gettext && \
13004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13006 "RANLIB=$${RANLIB}" \
13007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13008 dvi) \
13009 || exit 1
13011 @endif gettext
13013 .PHONY: maybe-html-gettext html-gettext
13014 maybe-html-gettext:
13015 @if gettext
13016 maybe-html-gettext: html-gettext
13018 html-gettext: \
13019 configure-gettext
13020 @: $(MAKE); $(unstage)
13021 @[ -f ./gettext/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) ; do \
13026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13027 done; \
13028 echo "Doing html in gettext" ; \
13029 (cd $(HOST_SUBDIR)/gettext && \
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 html) \
13035 || exit 1
13037 @endif gettext
13039 .PHONY: maybe-TAGS-gettext TAGS-gettext
13040 maybe-TAGS-gettext:
13041 @if gettext
13042 maybe-TAGS-gettext: TAGS-gettext
13044 TAGS-gettext: \
13045 configure-gettext
13046 @: $(MAKE); $(unstage)
13047 @[ -f ./gettext/Makefile ] || exit 0; \
13048 r=`${PWD_COMMAND}`; export r; \
13049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13050 $(HOST_EXPORTS) \
13051 for flag in $(EXTRA_HOST_FLAGS) ; do \
13052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13053 done; \
13054 echo "Doing TAGS in gettext" ; \
13055 (cd $(HOST_SUBDIR)/gettext && \
13056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13058 "RANLIB=$${RANLIB}" \
13059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13060 TAGS) \
13061 || exit 1
13063 @endif gettext
13065 .PHONY: maybe-install-info-gettext install-info-gettext
13066 maybe-install-info-gettext:
13067 @if gettext
13068 maybe-install-info-gettext: install-info-gettext
13070 install-info-gettext: \
13071 configure-gettext \
13072 info-gettext
13073 @: $(MAKE); $(unstage)
13074 @[ -f ./gettext/Makefile ] || exit 0; \
13075 r=`${PWD_COMMAND}`; export r; \
13076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13077 $(HOST_EXPORTS) \
13078 for flag in $(EXTRA_HOST_FLAGS) ; do \
13079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13080 done; \
13081 echo "Doing install-info in gettext" ; \
13082 (cd $(HOST_SUBDIR)/gettext && \
13083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13085 "RANLIB=$${RANLIB}" \
13086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13087 install-info) \
13088 || exit 1
13090 @endif gettext
13092 .PHONY: maybe-install-html-gettext install-html-gettext
13093 maybe-install-html-gettext:
13094 @if gettext
13095 maybe-install-html-gettext: install-html-gettext
13097 install-html-gettext: \
13098 configure-gettext \
13099 html-gettext
13100 @: $(MAKE); $(unstage)
13101 @[ -f ./gettext/Makefile ] || exit 0; \
13102 r=`${PWD_COMMAND}`; export r; \
13103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13104 $(HOST_EXPORTS) \
13105 for flag in $(EXTRA_HOST_FLAGS) ; do \
13106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13107 done; \
13108 echo "Doing install-html in gettext" ; \
13109 (cd $(HOST_SUBDIR)/gettext && \
13110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13112 "RANLIB=$${RANLIB}" \
13113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13114 install-html) \
13115 || exit 1
13117 @endif gettext
13119 .PHONY: maybe-installcheck-gettext installcheck-gettext
13120 maybe-installcheck-gettext:
13121 @if gettext
13122 maybe-installcheck-gettext: installcheck-gettext
13124 installcheck-gettext: \
13125 configure-gettext
13126 @: $(MAKE); $(unstage)
13127 @[ -f ./gettext/Makefile ] || exit 0; \
13128 r=`${PWD_COMMAND}`; export r; \
13129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13130 $(HOST_EXPORTS) \
13131 for flag in $(EXTRA_HOST_FLAGS) ; do \
13132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13133 done; \
13134 echo "Doing installcheck in gettext" ; \
13135 (cd $(HOST_SUBDIR)/gettext && \
13136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13138 "RANLIB=$${RANLIB}" \
13139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13140 installcheck) \
13141 || exit 1
13143 @endif gettext
13145 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
13146 maybe-mostlyclean-gettext:
13147 @if gettext
13148 maybe-mostlyclean-gettext: mostlyclean-gettext
13150 mostlyclean-gettext:
13151 @: $(MAKE); $(unstage)
13152 @[ -f ./gettext/Makefile ] || exit 0; \
13153 r=`${PWD_COMMAND}`; export r; \
13154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13155 $(HOST_EXPORTS) \
13156 for flag in $(EXTRA_HOST_FLAGS) ; do \
13157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13158 done; \
13159 echo "Doing mostlyclean in gettext" ; \
13160 (cd $(HOST_SUBDIR)/gettext && \
13161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13163 "RANLIB=$${RANLIB}" \
13164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13165 mostlyclean) \
13166 || exit 1
13168 @endif gettext
13170 .PHONY: maybe-clean-gettext clean-gettext
13171 maybe-clean-gettext:
13172 @if gettext
13173 maybe-clean-gettext: clean-gettext
13175 clean-gettext:
13176 @: $(MAKE); $(unstage)
13177 @[ -f ./gettext/Makefile ] || exit 0; \
13178 r=`${PWD_COMMAND}`; export r; \
13179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13180 $(HOST_EXPORTS) \
13181 for flag in $(EXTRA_HOST_FLAGS) ; do \
13182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13183 done; \
13184 echo "Doing clean in gettext" ; \
13185 (cd $(HOST_SUBDIR)/gettext && \
13186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13188 "RANLIB=$${RANLIB}" \
13189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13190 clean) \
13191 || exit 1
13193 @endif gettext
13195 .PHONY: maybe-distclean-gettext distclean-gettext
13196 maybe-distclean-gettext:
13197 @if gettext
13198 maybe-distclean-gettext: distclean-gettext
13200 distclean-gettext:
13201 @: $(MAKE); $(unstage)
13202 @[ -f ./gettext/Makefile ] || exit 0; \
13203 r=`${PWD_COMMAND}`; export r; \
13204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13205 $(HOST_EXPORTS) \
13206 for flag in $(EXTRA_HOST_FLAGS) ; do \
13207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13208 done; \
13209 echo "Doing distclean in gettext" ; \
13210 (cd $(HOST_SUBDIR)/gettext && \
13211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13213 "RANLIB=$${RANLIB}" \
13214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13215 distclean) \
13216 || exit 1
13218 @endif gettext
13220 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
13221 maybe-maintainer-clean-gettext:
13222 @if gettext
13223 maybe-maintainer-clean-gettext: maintainer-clean-gettext
13225 maintainer-clean-gettext:
13226 @: $(MAKE); $(unstage)
13227 @[ -f ./gettext/Makefile ] || exit 0; \
13228 r=`${PWD_COMMAND}`; export r; \
13229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13230 $(HOST_EXPORTS) \
13231 for flag in $(EXTRA_HOST_FLAGS) ; do \
13232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13233 done; \
13234 echo "Doing maintainer-clean in gettext" ; \
13235 (cd $(HOST_SUBDIR)/gettext && \
13236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13238 "RANLIB=$${RANLIB}" \
13239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13240 maintainer-clean) \
13241 || exit 1
13243 @endif gettext
13247 .PHONY: configure-gnuserv maybe-configure-gnuserv
13248 maybe-configure-gnuserv:
13249 @if gcc-bootstrap
13250 configure-gnuserv: stage_current
13251 @endif gcc-bootstrap
13252 @if gnuserv
13253 maybe-configure-gnuserv: configure-gnuserv
13254 configure-gnuserv:
13255 @: $(MAKE); $(unstage)
13256 @r=`${PWD_COMMAND}`; export r; \
13257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13258 test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
13259 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
13260 $(HOST_EXPORTS) \
13261 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
13262 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
13263 case $(srcdir) in \
13264 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13265 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
13266 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13267 esac; \
13268 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
13269 libsrcdir="$$s/gnuserv"; \
13270 $(SHELL) $${libsrcdir}/configure \
13271 $(HOST_CONFIGARGS) $${srcdiroption} \
13272 || exit 1
13273 @endif gnuserv
13279 .PHONY: all-gnuserv maybe-all-gnuserv
13280 maybe-all-gnuserv:
13281 @if gcc-bootstrap
13282 all-gnuserv: stage_current
13283 @endif gcc-bootstrap
13284 @if gnuserv
13285 TARGET-gnuserv=all
13286 maybe-all-gnuserv: all-gnuserv
13287 all-gnuserv: configure-gnuserv
13288 @: $(MAKE); $(unstage)
13289 @r=`${PWD_COMMAND}`; export r; \
13290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13291 $(HOST_EXPORTS) \
13292 (cd $(HOST_SUBDIR)/gnuserv && \
13293 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
13294 @endif gnuserv
13299 .PHONY: check-gnuserv maybe-check-gnuserv
13300 maybe-check-gnuserv:
13301 @if gnuserv
13302 maybe-check-gnuserv: check-gnuserv
13304 check-gnuserv:
13305 @: $(MAKE); $(unstage)
13306 @r=`${PWD_COMMAND}`; export r; \
13307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13308 $(HOST_EXPORTS) \
13309 (cd $(HOST_SUBDIR)/gnuserv && \
13310 $(MAKE) $(FLAGS_TO_PASS) check)
13312 @endif gnuserv
13314 .PHONY: install-gnuserv maybe-install-gnuserv
13315 maybe-install-gnuserv:
13316 @if gnuserv
13317 maybe-install-gnuserv: install-gnuserv
13319 install-gnuserv: installdirs
13320 @: $(MAKE); $(unstage)
13321 @r=`${PWD_COMMAND}`; export r; \
13322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13323 $(HOST_EXPORTS) \
13324 (cd $(HOST_SUBDIR)/gnuserv && \
13325 $(MAKE) $(FLAGS_TO_PASS) install)
13327 @endif gnuserv
13329 # Other targets (info, dvi, etc.)
13331 .PHONY: maybe-info-gnuserv info-gnuserv
13332 maybe-info-gnuserv:
13333 @if gnuserv
13334 maybe-info-gnuserv: info-gnuserv
13336 info-gnuserv: \
13337 configure-gnuserv
13338 @: $(MAKE); $(unstage)
13339 @[ -f ./gnuserv/Makefile ] || exit 0; \
13340 r=`${PWD_COMMAND}`; export r; \
13341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13342 $(HOST_EXPORTS) \
13343 for flag in $(EXTRA_HOST_FLAGS) ; do \
13344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13345 done; \
13346 echo "Doing info in gnuserv" ; \
13347 (cd $(HOST_SUBDIR)/gnuserv && \
13348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13350 "RANLIB=$${RANLIB}" \
13351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13352 info) \
13353 || exit 1
13355 @endif gnuserv
13357 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
13358 maybe-dvi-gnuserv:
13359 @if gnuserv
13360 maybe-dvi-gnuserv: dvi-gnuserv
13362 dvi-gnuserv: \
13363 configure-gnuserv
13364 @: $(MAKE); $(unstage)
13365 @[ -f ./gnuserv/Makefile ] || exit 0; \
13366 r=`${PWD_COMMAND}`; export r; \
13367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13368 $(HOST_EXPORTS) \
13369 for flag in $(EXTRA_HOST_FLAGS) ; do \
13370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13371 done; \
13372 echo "Doing dvi in gnuserv" ; \
13373 (cd $(HOST_SUBDIR)/gnuserv && \
13374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13376 "RANLIB=$${RANLIB}" \
13377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13378 dvi) \
13379 || exit 1
13381 @endif gnuserv
13383 .PHONY: maybe-html-gnuserv html-gnuserv
13384 maybe-html-gnuserv:
13385 @if gnuserv
13386 maybe-html-gnuserv: html-gnuserv
13388 html-gnuserv: \
13389 configure-gnuserv
13390 @: $(MAKE); $(unstage)
13391 @[ -f ./gnuserv/Makefile ] || exit 0; \
13392 r=`${PWD_COMMAND}`; export r; \
13393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13394 $(HOST_EXPORTS) \
13395 for flag in $(EXTRA_HOST_FLAGS) ; do \
13396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13397 done; \
13398 echo "Doing html in gnuserv" ; \
13399 (cd $(HOST_SUBDIR)/gnuserv && \
13400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13402 "RANLIB=$${RANLIB}" \
13403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13404 html) \
13405 || exit 1
13407 @endif gnuserv
13409 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
13410 maybe-TAGS-gnuserv:
13411 @if gnuserv
13412 maybe-TAGS-gnuserv: TAGS-gnuserv
13414 TAGS-gnuserv: \
13415 configure-gnuserv
13416 @: $(MAKE); $(unstage)
13417 @[ -f ./gnuserv/Makefile ] || exit 0; \
13418 r=`${PWD_COMMAND}`; export r; \
13419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13420 $(HOST_EXPORTS) \
13421 for flag in $(EXTRA_HOST_FLAGS) ; do \
13422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13423 done; \
13424 echo "Doing TAGS in gnuserv" ; \
13425 (cd $(HOST_SUBDIR)/gnuserv && \
13426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13428 "RANLIB=$${RANLIB}" \
13429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13430 TAGS) \
13431 || exit 1
13433 @endif gnuserv
13435 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
13436 maybe-install-info-gnuserv:
13437 @if gnuserv
13438 maybe-install-info-gnuserv: install-info-gnuserv
13440 install-info-gnuserv: \
13441 configure-gnuserv \
13442 info-gnuserv
13443 @: $(MAKE); $(unstage)
13444 @[ -f ./gnuserv/Makefile ] || exit 0; \
13445 r=`${PWD_COMMAND}`; export r; \
13446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13447 $(HOST_EXPORTS) \
13448 for flag in $(EXTRA_HOST_FLAGS) ; do \
13449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13450 done; \
13451 echo "Doing install-info in gnuserv" ; \
13452 (cd $(HOST_SUBDIR)/gnuserv && \
13453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13455 "RANLIB=$${RANLIB}" \
13456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13457 install-info) \
13458 || exit 1
13460 @endif gnuserv
13462 .PHONY: maybe-install-html-gnuserv install-html-gnuserv
13463 maybe-install-html-gnuserv:
13464 @if gnuserv
13465 maybe-install-html-gnuserv: install-html-gnuserv
13467 install-html-gnuserv: \
13468 configure-gnuserv \
13469 html-gnuserv
13470 @: $(MAKE); $(unstage)
13471 @[ -f ./gnuserv/Makefile ] || exit 0; \
13472 r=`${PWD_COMMAND}`; export r; \
13473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13474 $(HOST_EXPORTS) \
13475 for flag in $(EXTRA_HOST_FLAGS) ; do \
13476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13477 done; \
13478 echo "Doing install-html in gnuserv" ; \
13479 (cd $(HOST_SUBDIR)/gnuserv && \
13480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13482 "RANLIB=$${RANLIB}" \
13483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13484 install-html) \
13485 || exit 1
13487 @endif gnuserv
13489 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
13490 maybe-installcheck-gnuserv:
13491 @if gnuserv
13492 maybe-installcheck-gnuserv: installcheck-gnuserv
13494 installcheck-gnuserv: \
13495 configure-gnuserv
13496 @: $(MAKE); $(unstage)
13497 @[ -f ./gnuserv/Makefile ] || exit 0; \
13498 r=`${PWD_COMMAND}`; export r; \
13499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13500 $(HOST_EXPORTS) \
13501 for flag in $(EXTRA_HOST_FLAGS) ; do \
13502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13503 done; \
13504 echo "Doing installcheck in gnuserv" ; \
13505 (cd $(HOST_SUBDIR)/gnuserv && \
13506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13508 "RANLIB=$${RANLIB}" \
13509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13510 installcheck) \
13511 || exit 1
13513 @endif gnuserv
13515 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
13516 maybe-mostlyclean-gnuserv:
13517 @if gnuserv
13518 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
13520 mostlyclean-gnuserv:
13521 @: $(MAKE); $(unstage)
13522 @[ -f ./gnuserv/Makefile ] || exit 0; \
13523 r=`${PWD_COMMAND}`; export r; \
13524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13525 $(HOST_EXPORTS) \
13526 for flag in $(EXTRA_HOST_FLAGS) ; do \
13527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13528 done; \
13529 echo "Doing mostlyclean in gnuserv" ; \
13530 (cd $(HOST_SUBDIR)/gnuserv && \
13531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13533 "RANLIB=$${RANLIB}" \
13534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13535 mostlyclean) \
13536 || exit 1
13538 @endif gnuserv
13540 .PHONY: maybe-clean-gnuserv clean-gnuserv
13541 maybe-clean-gnuserv:
13542 @if gnuserv
13543 maybe-clean-gnuserv: clean-gnuserv
13545 clean-gnuserv:
13546 @: $(MAKE); $(unstage)
13547 @[ -f ./gnuserv/Makefile ] || exit 0; \
13548 r=`${PWD_COMMAND}`; export r; \
13549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13550 $(HOST_EXPORTS) \
13551 for flag in $(EXTRA_HOST_FLAGS) ; do \
13552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13553 done; \
13554 echo "Doing clean in gnuserv" ; \
13555 (cd $(HOST_SUBDIR)/gnuserv && \
13556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13558 "RANLIB=$${RANLIB}" \
13559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13560 clean) \
13561 || exit 1
13563 @endif gnuserv
13565 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
13566 maybe-distclean-gnuserv:
13567 @if gnuserv
13568 maybe-distclean-gnuserv: distclean-gnuserv
13570 distclean-gnuserv:
13571 @: $(MAKE); $(unstage)
13572 @[ -f ./gnuserv/Makefile ] || exit 0; \
13573 r=`${PWD_COMMAND}`; export r; \
13574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13575 $(HOST_EXPORTS) \
13576 for flag in $(EXTRA_HOST_FLAGS) ; do \
13577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13578 done; \
13579 echo "Doing distclean in gnuserv" ; \
13580 (cd $(HOST_SUBDIR)/gnuserv && \
13581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13583 "RANLIB=$${RANLIB}" \
13584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13585 distclean) \
13586 || exit 1
13588 @endif gnuserv
13590 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
13591 maybe-maintainer-clean-gnuserv:
13592 @if gnuserv
13593 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
13595 maintainer-clean-gnuserv:
13596 @: $(MAKE); $(unstage)
13597 @[ -f ./gnuserv/Makefile ] || exit 0; \
13598 r=`${PWD_COMMAND}`; export r; \
13599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13600 $(HOST_EXPORTS) \
13601 for flag in $(EXTRA_HOST_FLAGS) ; do \
13602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13603 done; \
13604 echo "Doing maintainer-clean in gnuserv" ; \
13605 (cd $(HOST_SUBDIR)/gnuserv && \
13606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13608 "RANLIB=$${RANLIB}" \
13609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13610 maintainer-clean) \
13611 || exit 1
13613 @endif gnuserv
13617 .PHONY: configure-gprof maybe-configure-gprof
13618 maybe-configure-gprof:
13619 @if gcc-bootstrap
13620 configure-gprof: stage_current
13621 @endif gcc-bootstrap
13622 @if gprof
13623 maybe-configure-gprof: configure-gprof
13624 configure-gprof:
13625 @: $(MAKE); $(unstage)
13626 @r=`${PWD_COMMAND}`; export r; \
13627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13628 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
13629 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
13630 $(HOST_EXPORTS) \
13631 echo Configuring in $(HOST_SUBDIR)/gprof; \
13632 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
13633 case $(srcdir) in \
13634 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13635 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
13636 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13637 esac; \
13638 srcdiroption="--srcdir=$${topdir}/gprof"; \
13639 libsrcdir="$$s/gprof"; \
13640 $(SHELL) $${libsrcdir}/configure \
13641 $(HOST_CONFIGARGS) $${srcdiroption} \
13642 || exit 1
13643 @endif gprof
13649 .PHONY: all-gprof maybe-all-gprof
13650 maybe-all-gprof:
13651 @if gcc-bootstrap
13652 all-gprof: stage_current
13653 @endif gcc-bootstrap
13654 @if gprof
13655 TARGET-gprof=all
13656 maybe-all-gprof: all-gprof
13657 all-gprof: configure-gprof
13658 @: $(MAKE); $(unstage)
13659 @r=`${PWD_COMMAND}`; export r; \
13660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13661 $(HOST_EXPORTS) \
13662 (cd $(HOST_SUBDIR)/gprof && \
13663 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
13664 @endif gprof
13669 .PHONY: check-gprof maybe-check-gprof
13670 maybe-check-gprof:
13671 @if gprof
13672 maybe-check-gprof: check-gprof
13674 check-gprof:
13675 @: $(MAKE); $(unstage)
13676 @r=`${PWD_COMMAND}`; export r; \
13677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13678 $(HOST_EXPORTS) \
13679 (cd $(HOST_SUBDIR)/gprof && \
13680 $(MAKE) $(FLAGS_TO_PASS) check)
13682 @endif gprof
13684 .PHONY: install-gprof maybe-install-gprof
13685 maybe-install-gprof:
13686 @if gprof
13687 maybe-install-gprof: install-gprof
13689 install-gprof: installdirs
13690 @: $(MAKE); $(unstage)
13691 @r=`${PWD_COMMAND}`; export r; \
13692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13693 $(HOST_EXPORTS) \
13694 (cd $(HOST_SUBDIR)/gprof && \
13695 $(MAKE) $(FLAGS_TO_PASS) install)
13697 @endif gprof
13699 # Other targets (info, dvi, etc.)
13701 .PHONY: maybe-info-gprof info-gprof
13702 maybe-info-gprof:
13703 @if gprof
13704 maybe-info-gprof: info-gprof
13706 info-gprof: \
13707 configure-gprof
13708 @: $(MAKE); $(unstage)
13709 @[ -f ./gprof/Makefile ] || exit 0; \
13710 r=`${PWD_COMMAND}`; export r; \
13711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13712 $(HOST_EXPORTS) \
13713 for flag in $(EXTRA_HOST_FLAGS) ; do \
13714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13715 done; \
13716 echo "Doing info in gprof" ; \
13717 (cd $(HOST_SUBDIR)/gprof && \
13718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13720 "RANLIB=$${RANLIB}" \
13721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13722 info) \
13723 || exit 1
13725 @endif gprof
13727 .PHONY: maybe-dvi-gprof dvi-gprof
13728 maybe-dvi-gprof:
13729 @if gprof
13730 maybe-dvi-gprof: dvi-gprof
13732 dvi-gprof: \
13733 configure-gprof
13734 @: $(MAKE); $(unstage)
13735 @[ -f ./gprof/Makefile ] || exit 0; \
13736 r=`${PWD_COMMAND}`; export r; \
13737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13738 $(HOST_EXPORTS) \
13739 for flag in $(EXTRA_HOST_FLAGS) ; do \
13740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13741 done; \
13742 echo "Doing dvi in gprof" ; \
13743 (cd $(HOST_SUBDIR)/gprof && \
13744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13746 "RANLIB=$${RANLIB}" \
13747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13748 dvi) \
13749 || exit 1
13751 @endif gprof
13753 .PHONY: maybe-html-gprof html-gprof
13754 maybe-html-gprof:
13755 @if gprof
13756 maybe-html-gprof: html-gprof
13758 html-gprof: \
13759 configure-gprof
13760 @: $(MAKE); $(unstage)
13761 @[ -f ./gprof/Makefile ] || exit 0; \
13762 r=`${PWD_COMMAND}`; export r; \
13763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13764 $(HOST_EXPORTS) \
13765 for flag in $(EXTRA_HOST_FLAGS) ; do \
13766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13767 done; \
13768 echo "Doing html in gprof" ; \
13769 (cd $(HOST_SUBDIR)/gprof && \
13770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13772 "RANLIB=$${RANLIB}" \
13773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13774 html) \
13775 || exit 1
13777 @endif gprof
13779 .PHONY: maybe-TAGS-gprof TAGS-gprof
13780 maybe-TAGS-gprof:
13781 @if gprof
13782 maybe-TAGS-gprof: TAGS-gprof
13784 TAGS-gprof: \
13785 configure-gprof
13786 @: $(MAKE); $(unstage)
13787 @[ -f ./gprof/Makefile ] || exit 0; \
13788 r=`${PWD_COMMAND}`; export r; \
13789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13790 $(HOST_EXPORTS) \
13791 for flag in $(EXTRA_HOST_FLAGS) ; do \
13792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13793 done; \
13794 echo "Doing TAGS in gprof" ; \
13795 (cd $(HOST_SUBDIR)/gprof && \
13796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13798 "RANLIB=$${RANLIB}" \
13799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13800 TAGS) \
13801 || exit 1
13803 @endif gprof
13805 .PHONY: maybe-install-info-gprof install-info-gprof
13806 maybe-install-info-gprof:
13807 @if gprof
13808 maybe-install-info-gprof: install-info-gprof
13810 install-info-gprof: \
13811 configure-gprof \
13812 info-gprof
13813 @: $(MAKE); $(unstage)
13814 @[ -f ./gprof/Makefile ] || exit 0; \
13815 r=`${PWD_COMMAND}`; export r; \
13816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13817 $(HOST_EXPORTS) \
13818 for flag in $(EXTRA_HOST_FLAGS) ; do \
13819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13820 done; \
13821 echo "Doing install-info in gprof" ; \
13822 (cd $(HOST_SUBDIR)/gprof && \
13823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13825 "RANLIB=$${RANLIB}" \
13826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13827 install-info) \
13828 || exit 1
13830 @endif gprof
13832 .PHONY: maybe-install-html-gprof install-html-gprof
13833 maybe-install-html-gprof:
13834 @if gprof
13835 maybe-install-html-gprof: install-html-gprof
13837 install-html-gprof: \
13838 configure-gprof \
13839 html-gprof
13840 @: $(MAKE); $(unstage)
13841 @[ -f ./gprof/Makefile ] || exit 0; \
13842 r=`${PWD_COMMAND}`; export r; \
13843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13844 $(HOST_EXPORTS) \
13845 for flag in $(EXTRA_HOST_FLAGS) ; do \
13846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13847 done; \
13848 echo "Doing install-html in gprof" ; \
13849 (cd $(HOST_SUBDIR)/gprof && \
13850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13852 "RANLIB=$${RANLIB}" \
13853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13854 install-html) \
13855 || exit 1
13857 @endif gprof
13859 .PHONY: maybe-installcheck-gprof installcheck-gprof
13860 maybe-installcheck-gprof:
13861 @if gprof
13862 maybe-installcheck-gprof: installcheck-gprof
13864 installcheck-gprof: \
13865 configure-gprof
13866 @: $(MAKE); $(unstage)
13867 @[ -f ./gprof/Makefile ] || exit 0; \
13868 r=`${PWD_COMMAND}`; export r; \
13869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13870 $(HOST_EXPORTS) \
13871 for flag in $(EXTRA_HOST_FLAGS) ; do \
13872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13873 done; \
13874 echo "Doing installcheck in gprof" ; \
13875 (cd $(HOST_SUBDIR)/gprof && \
13876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13878 "RANLIB=$${RANLIB}" \
13879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13880 installcheck) \
13881 || exit 1
13883 @endif gprof
13885 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
13886 maybe-mostlyclean-gprof:
13887 @if gprof
13888 maybe-mostlyclean-gprof: mostlyclean-gprof
13890 mostlyclean-gprof:
13891 @: $(MAKE); $(unstage)
13892 @[ -f ./gprof/Makefile ] || exit 0; \
13893 r=`${PWD_COMMAND}`; export r; \
13894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13895 $(HOST_EXPORTS) \
13896 for flag in $(EXTRA_HOST_FLAGS) ; do \
13897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13898 done; \
13899 echo "Doing mostlyclean in gprof" ; \
13900 (cd $(HOST_SUBDIR)/gprof && \
13901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13903 "RANLIB=$${RANLIB}" \
13904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13905 mostlyclean) \
13906 || exit 1
13908 @endif gprof
13910 .PHONY: maybe-clean-gprof clean-gprof
13911 maybe-clean-gprof:
13912 @if gprof
13913 maybe-clean-gprof: clean-gprof
13915 clean-gprof:
13916 @: $(MAKE); $(unstage)
13917 @[ -f ./gprof/Makefile ] || exit 0; \
13918 r=`${PWD_COMMAND}`; export r; \
13919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13920 $(HOST_EXPORTS) \
13921 for flag in $(EXTRA_HOST_FLAGS) ; do \
13922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13923 done; \
13924 echo "Doing clean in gprof" ; \
13925 (cd $(HOST_SUBDIR)/gprof && \
13926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13928 "RANLIB=$${RANLIB}" \
13929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13930 clean) \
13931 || exit 1
13933 @endif gprof
13935 .PHONY: maybe-distclean-gprof distclean-gprof
13936 maybe-distclean-gprof:
13937 @if gprof
13938 maybe-distclean-gprof: distclean-gprof
13940 distclean-gprof:
13941 @: $(MAKE); $(unstage)
13942 @[ -f ./gprof/Makefile ] || exit 0; \
13943 r=`${PWD_COMMAND}`; export r; \
13944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13945 $(HOST_EXPORTS) \
13946 for flag in $(EXTRA_HOST_FLAGS) ; do \
13947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13948 done; \
13949 echo "Doing distclean in gprof" ; \
13950 (cd $(HOST_SUBDIR)/gprof && \
13951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13953 "RANLIB=$${RANLIB}" \
13954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13955 distclean) \
13956 || exit 1
13958 @endif gprof
13960 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
13961 maybe-maintainer-clean-gprof:
13962 @if gprof
13963 maybe-maintainer-clean-gprof: maintainer-clean-gprof
13965 maintainer-clean-gprof:
13966 @: $(MAKE); $(unstage)
13967 @[ -f ./gprof/Makefile ] || exit 0; \
13968 r=`${PWD_COMMAND}`; export r; \
13969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13970 $(HOST_EXPORTS) \
13971 for flag in $(EXTRA_HOST_FLAGS) ; do \
13972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13973 done; \
13974 echo "Doing maintainer-clean in gprof" ; \
13975 (cd $(HOST_SUBDIR)/gprof && \
13976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13978 "RANLIB=$${RANLIB}" \
13979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13980 maintainer-clean) \
13981 || exit 1
13983 @endif gprof
13987 .PHONY: configure-gzip maybe-configure-gzip
13988 maybe-configure-gzip:
13989 @if gcc-bootstrap
13990 configure-gzip: stage_current
13991 @endif gcc-bootstrap
13992 @if gzip
13993 maybe-configure-gzip: configure-gzip
13994 configure-gzip:
13995 @: $(MAKE); $(unstage)
13996 @r=`${PWD_COMMAND}`; export r; \
13997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13998 test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
13999 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
14000 $(HOST_EXPORTS) \
14001 echo Configuring in $(HOST_SUBDIR)/gzip; \
14002 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
14003 case $(srcdir) in \
14004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14005 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
14006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14007 esac; \
14008 srcdiroption="--srcdir=$${topdir}/gzip"; \
14009 libsrcdir="$$s/gzip"; \
14010 $(SHELL) $${libsrcdir}/configure \
14011 $(HOST_CONFIGARGS) $${srcdiroption} \
14012 || exit 1
14013 @endif gzip
14019 .PHONY: all-gzip maybe-all-gzip
14020 maybe-all-gzip:
14021 @if gcc-bootstrap
14022 all-gzip: stage_current
14023 @endif gcc-bootstrap
14024 @if gzip
14025 TARGET-gzip=all
14026 maybe-all-gzip: all-gzip
14027 all-gzip: configure-gzip
14028 @: $(MAKE); $(unstage)
14029 @r=`${PWD_COMMAND}`; export r; \
14030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14031 $(HOST_EXPORTS) \
14032 (cd $(HOST_SUBDIR)/gzip && \
14033 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
14034 @endif gzip
14039 .PHONY: check-gzip maybe-check-gzip
14040 maybe-check-gzip:
14041 @if gzip
14042 maybe-check-gzip: check-gzip
14044 check-gzip:
14045 @: $(MAKE); $(unstage)
14046 @r=`${PWD_COMMAND}`; export r; \
14047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14048 $(HOST_EXPORTS) \
14049 (cd $(HOST_SUBDIR)/gzip && \
14050 $(MAKE) $(FLAGS_TO_PASS) check)
14052 @endif gzip
14054 .PHONY: install-gzip maybe-install-gzip
14055 maybe-install-gzip:
14056 @if gzip
14057 maybe-install-gzip: install-gzip
14059 install-gzip: installdirs
14060 @: $(MAKE); $(unstage)
14061 @r=`${PWD_COMMAND}`; export r; \
14062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14063 $(HOST_EXPORTS) \
14064 (cd $(HOST_SUBDIR)/gzip && \
14065 $(MAKE) $(FLAGS_TO_PASS) install)
14067 @endif gzip
14069 # Other targets (info, dvi, etc.)
14071 .PHONY: maybe-info-gzip info-gzip
14072 maybe-info-gzip:
14073 @if gzip
14074 maybe-info-gzip: info-gzip
14076 info-gzip: \
14077 configure-gzip
14078 @: $(MAKE); $(unstage)
14079 @[ -f ./gzip/Makefile ] || exit 0; \
14080 r=`${PWD_COMMAND}`; export r; \
14081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14082 $(HOST_EXPORTS) \
14083 for flag in $(EXTRA_HOST_FLAGS) ; do \
14084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14085 done; \
14086 echo "Doing info in gzip" ; \
14087 (cd $(HOST_SUBDIR)/gzip && \
14088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14090 "RANLIB=$${RANLIB}" \
14091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14092 info) \
14093 || exit 1
14095 @endif gzip
14097 .PHONY: maybe-dvi-gzip dvi-gzip
14098 maybe-dvi-gzip:
14099 @if gzip
14100 maybe-dvi-gzip: dvi-gzip
14102 dvi-gzip: \
14103 configure-gzip
14104 @: $(MAKE); $(unstage)
14105 @[ -f ./gzip/Makefile ] || exit 0; \
14106 r=`${PWD_COMMAND}`; export r; \
14107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14108 $(HOST_EXPORTS) \
14109 for flag in $(EXTRA_HOST_FLAGS) ; do \
14110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14111 done; \
14112 echo "Doing dvi in gzip" ; \
14113 (cd $(HOST_SUBDIR)/gzip && \
14114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14116 "RANLIB=$${RANLIB}" \
14117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14118 dvi) \
14119 || exit 1
14121 @endif gzip
14123 .PHONY: maybe-html-gzip html-gzip
14124 maybe-html-gzip:
14125 @if gzip
14126 maybe-html-gzip: html-gzip
14128 html-gzip: \
14129 configure-gzip
14130 @: $(MAKE); $(unstage)
14131 @[ -f ./gzip/Makefile ] || exit 0; \
14132 r=`${PWD_COMMAND}`; export r; \
14133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14134 $(HOST_EXPORTS) \
14135 for flag in $(EXTRA_HOST_FLAGS) ; do \
14136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14137 done; \
14138 echo "Doing html in gzip" ; \
14139 (cd $(HOST_SUBDIR)/gzip && \
14140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14142 "RANLIB=$${RANLIB}" \
14143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14144 html) \
14145 || exit 1
14147 @endif gzip
14149 .PHONY: maybe-TAGS-gzip TAGS-gzip
14150 maybe-TAGS-gzip:
14151 @if gzip
14152 maybe-TAGS-gzip: TAGS-gzip
14154 TAGS-gzip: \
14155 configure-gzip
14156 @: $(MAKE); $(unstage)
14157 @[ -f ./gzip/Makefile ] || exit 0; \
14158 r=`${PWD_COMMAND}`; export r; \
14159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14160 $(HOST_EXPORTS) \
14161 for flag in $(EXTRA_HOST_FLAGS) ; do \
14162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14163 done; \
14164 echo "Doing TAGS in gzip" ; \
14165 (cd $(HOST_SUBDIR)/gzip && \
14166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14168 "RANLIB=$${RANLIB}" \
14169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14170 TAGS) \
14171 || exit 1
14173 @endif gzip
14175 .PHONY: maybe-install-info-gzip install-info-gzip
14176 maybe-install-info-gzip:
14177 @if gzip
14178 maybe-install-info-gzip: install-info-gzip
14180 install-info-gzip: \
14181 configure-gzip \
14182 info-gzip
14183 @: $(MAKE); $(unstage)
14184 @[ -f ./gzip/Makefile ] || exit 0; \
14185 r=`${PWD_COMMAND}`; export r; \
14186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14187 $(HOST_EXPORTS) \
14188 for flag in $(EXTRA_HOST_FLAGS) ; do \
14189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14190 done; \
14191 echo "Doing install-info in gzip" ; \
14192 (cd $(HOST_SUBDIR)/gzip && \
14193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14195 "RANLIB=$${RANLIB}" \
14196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14197 install-info) \
14198 || exit 1
14200 @endif gzip
14202 .PHONY: maybe-install-html-gzip install-html-gzip
14203 maybe-install-html-gzip:
14204 @if gzip
14205 maybe-install-html-gzip: install-html-gzip
14207 install-html-gzip: \
14208 configure-gzip \
14209 html-gzip
14210 @: $(MAKE); $(unstage)
14211 @[ -f ./gzip/Makefile ] || exit 0; \
14212 r=`${PWD_COMMAND}`; export r; \
14213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14214 $(HOST_EXPORTS) \
14215 for flag in $(EXTRA_HOST_FLAGS) ; do \
14216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14217 done; \
14218 echo "Doing install-html in gzip" ; \
14219 (cd $(HOST_SUBDIR)/gzip && \
14220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14222 "RANLIB=$${RANLIB}" \
14223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14224 install-html) \
14225 || exit 1
14227 @endif gzip
14229 .PHONY: maybe-installcheck-gzip installcheck-gzip
14230 maybe-installcheck-gzip:
14231 @if gzip
14232 maybe-installcheck-gzip: installcheck-gzip
14234 installcheck-gzip: \
14235 configure-gzip
14236 @: $(MAKE); $(unstage)
14237 @[ -f ./gzip/Makefile ] || exit 0; \
14238 r=`${PWD_COMMAND}`; export r; \
14239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14240 $(HOST_EXPORTS) \
14241 for flag in $(EXTRA_HOST_FLAGS) ; do \
14242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14243 done; \
14244 echo "Doing installcheck in gzip" ; \
14245 (cd $(HOST_SUBDIR)/gzip && \
14246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14248 "RANLIB=$${RANLIB}" \
14249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14250 installcheck) \
14251 || exit 1
14253 @endif gzip
14255 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
14256 maybe-mostlyclean-gzip:
14257 @if gzip
14258 maybe-mostlyclean-gzip: mostlyclean-gzip
14260 mostlyclean-gzip:
14261 @: $(MAKE); $(unstage)
14262 @[ -f ./gzip/Makefile ] || exit 0; \
14263 r=`${PWD_COMMAND}`; export r; \
14264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14265 $(HOST_EXPORTS) \
14266 for flag in $(EXTRA_HOST_FLAGS) ; do \
14267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14268 done; \
14269 echo "Doing mostlyclean in gzip" ; \
14270 (cd $(HOST_SUBDIR)/gzip && \
14271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14273 "RANLIB=$${RANLIB}" \
14274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14275 mostlyclean) \
14276 || exit 1
14278 @endif gzip
14280 .PHONY: maybe-clean-gzip clean-gzip
14281 maybe-clean-gzip:
14282 @if gzip
14283 maybe-clean-gzip: clean-gzip
14285 clean-gzip:
14286 @: $(MAKE); $(unstage)
14287 @[ -f ./gzip/Makefile ] || exit 0; \
14288 r=`${PWD_COMMAND}`; export r; \
14289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14290 $(HOST_EXPORTS) \
14291 for flag in $(EXTRA_HOST_FLAGS) ; do \
14292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14293 done; \
14294 echo "Doing clean in gzip" ; \
14295 (cd $(HOST_SUBDIR)/gzip && \
14296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14298 "RANLIB=$${RANLIB}" \
14299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14300 clean) \
14301 || exit 1
14303 @endif gzip
14305 .PHONY: maybe-distclean-gzip distclean-gzip
14306 maybe-distclean-gzip:
14307 @if gzip
14308 maybe-distclean-gzip: distclean-gzip
14310 distclean-gzip:
14311 @: $(MAKE); $(unstage)
14312 @[ -f ./gzip/Makefile ] || exit 0; \
14313 r=`${PWD_COMMAND}`; export r; \
14314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14315 $(HOST_EXPORTS) \
14316 for flag in $(EXTRA_HOST_FLAGS) ; do \
14317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14318 done; \
14319 echo "Doing distclean in gzip" ; \
14320 (cd $(HOST_SUBDIR)/gzip && \
14321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14323 "RANLIB=$${RANLIB}" \
14324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14325 distclean) \
14326 || exit 1
14328 @endif gzip
14330 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
14331 maybe-maintainer-clean-gzip:
14332 @if gzip
14333 maybe-maintainer-clean-gzip: maintainer-clean-gzip
14335 maintainer-clean-gzip:
14336 @: $(MAKE); $(unstage)
14337 @[ -f ./gzip/Makefile ] || exit 0; \
14338 r=`${PWD_COMMAND}`; export r; \
14339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14340 $(HOST_EXPORTS) \
14341 for flag in $(EXTRA_HOST_FLAGS) ; do \
14342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14343 done; \
14344 echo "Doing maintainer-clean in gzip" ; \
14345 (cd $(HOST_SUBDIR)/gzip && \
14346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14348 "RANLIB=$${RANLIB}" \
14349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14350 maintainer-clean) \
14351 || exit 1
14353 @endif gzip
14357 .PHONY: configure-hello maybe-configure-hello
14358 maybe-configure-hello:
14359 @if gcc-bootstrap
14360 configure-hello: stage_current
14361 @endif gcc-bootstrap
14362 @if hello
14363 maybe-configure-hello: configure-hello
14364 configure-hello:
14365 @: $(MAKE); $(unstage)
14366 @r=`${PWD_COMMAND}`; export r; \
14367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14368 test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
14369 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
14370 $(HOST_EXPORTS) \
14371 echo Configuring in $(HOST_SUBDIR)/hello; \
14372 cd "$(HOST_SUBDIR)/hello" || exit 1; \
14373 case $(srcdir) in \
14374 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14375 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
14376 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14377 esac; \
14378 srcdiroption="--srcdir=$${topdir}/hello"; \
14379 libsrcdir="$$s/hello"; \
14380 $(SHELL) $${libsrcdir}/configure \
14381 $(HOST_CONFIGARGS) $${srcdiroption} \
14382 || exit 1
14383 @endif hello
14389 .PHONY: all-hello maybe-all-hello
14390 maybe-all-hello:
14391 @if gcc-bootstrap
14392 all-hello: stage_current
14393 @endif gcc-bootstrap
14394 @if hello
14395 TARGET-hello=all
14396 maybe-all-hello: all-hello
14397 all-hello: configure-hello
14398 @: $(MAKE); $(unstage)
14399 @r=`${PWD_COMMAND}`; export r; \
14400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14401 $(HOST_EXPORTS) \
14402 (cd $(HOST_SUBDIR)/hello && \
14403 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
14404 @endif hello
14409 .PHONY: check-hello maybe-check-hello
14410 maybe-check-hello:
14411 @if hello
14412 maybe-check-hello: check-hello
14414 check-hello:
14415 @: $(MAKE); $(unstage)
14416 @r=`${PWD_COMMAND}`; export r; \
14417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14418 $(HOST_EXPORTS) \
14419 (cd $(HOST_SUBDIR)/hello && \
14420 $(MAKE) $(FLAGS_TO_PASS) check)
14422 @endif hello
14424 .PHONY: install-hello maybe-install-hello
14425 maybe-install-hello:
14426 @if hello
14427 maybe-install-hello: install-hello
14429 install-hello: installdirs
14430 @: $(MAKE); $(unstage)
14431 @r=`${PWD_COMMAND}`; export r; \
14432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14433 $(HOST_EXPORTS) \
14434 (cd $(HOST_SUBDIR)/hello && \
14435 $(MAKE) $(FLAGS_TO_PASS) install)
14437 @endif hello
14439 # Other targets (info, dvi, etc.)
14441 .PHONY: maybe-info-hello info-hello
14442 maybe-info-hello:
14443 @if hello
14444 maybe-info-hello: info-hello
14446 info-hello: \
14447 configure-hello
14448 @: $(MAKE); $(unstage)
14449 @[ -f ./hello/Makefile ] || exit 0; \
14450 r=`${PWD_COMMAND}`; export r; \
14451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14452 $(HOST_EXPORTS) \
14453 for flag in $(EXTRA_HOST_FLAGS) ; do \
14454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14455 done; \
14456 echo "Doing info in hello" ; \
14457 (cd $(HOST_SUBDIR)/hello && \
14458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14460 "RANLIB=$${RANLIB}" \
14461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14462 info) \
14463 || exit 1
14465 @endif hello
14467 .PHONY: maybe-dvi-hello dvi-hello
14468 maybe-dvi-hello:
14469 @if hello
14470 maybe-dvi-hello: dvi-hello
14472 dvi-hello: \
14473 configure-hello
14474 @: $(MAKE); $(unstage)
14475 @[ -f ./hello/Makefile ] || exit 0; \
14476 r=`${PWD_COMMAND}`; export r; \
14477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14478 $(HOST_EXPORTS) \
14479 for flag in $(EXTRA_HOST_FLAGS) ; do \
14480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14481 done; \
14482 echo "Doing dvi in hello" ; \
14483 (cd $(HOST_SUBDIR)/hello && \
14484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14486 "RANLIB=$${RANLIB}" \
14487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14488 dvi) \
14489 || exit 1
14491 @endif hello
14493 .PHONY: maybe-html-hello html-hello
14494 maybe-html-hello:
14495 @if hello
14496 maybe-html-hello: html-hello
14498 html-hello: \
14499 configure-hello
14500 @: $(MAKE); $(unstage)
14501 @[ -f ./hello/Makefile ] || exit 0; \
14502 r=`${PWD_COMMAND}`; export r; \
14503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14504 $(HOST_EXPORTS) \
14505 for flag in $(EXTRA_HOST_FLAGS) ; do \
14506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14507 done; \
14508 echo "Doing html in hello" ; \
14509 (cd $(HOST_SUBDIR)/hello && \
14510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14512 "RANLIB=$${RANLIB}" \
14513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14514 html) \
14515 || exit 1
14517 @endif hello
14519 .PHONY: maybe-TAGS-hello TAGS-hello
14520 maybe-TAGS-hello:
14521 @if hello
14522 maybe-TAGS-hello: TAGS-hello
14524 TAGS-hello: \
14525 configure-hello
14526 @: $(MAKE); $(unstage)
14527 @[ -f ./hello/Makefile ] || exit 0; \
14528 r=`${PWD_COMMAND}`; export r; \
14529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14530 $(HOST_EXPORTS) \
14531 for flag in $(EXTRA_HOST_FLAGS) ; do \
14532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14533 done; \
14534 echo "Doing TAGS in hello" ; \
14535 (cd $(HOST_SUBDIR)/hello && \
14536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14538 "RANLIB=$${RANLIB}" \
14539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14540 TAGS) \
14541 || exit 1
14543 @endif hello
14545 .PHONY: maybe-install-info-hello install-info-hello
14546 maybe-install-info-hello:
14547 @if hello
14548 maybe-install-info-hello: install-info-hello
14550 install-info-hello: \
14551 configure-hello \
14552 info-hello
14553 @: $(MAKE); $(unstage)
14554 @[ -f ./hello/Makefile ] || exit 0; \
14555 r=`${PWD_COMMAND}`; export r; \
14556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14557 $(HOST_EXPORTS) \
14558 for flag in $(EXTRA_HOST_FLAGS) ; do \
14559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14560 done; \
14561 echo "Doing install-info in hello" ; \
14562 (cd $(HOST_SUBDIR)/hello && \
14563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14565 "RANLIB=$${RANLIB}" \
14566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14567 install-info) \
14568 || exit 1
14570 @endif hello
14572 .PHONY: maybe-install-html-hello install-html-hello
14573 maybe-install-html-hello:
14574 @if hello
14575 maybe-install-html-hello: install-html-hello
14577 install-html-hello: \
14578 configure-hello \
14579 html-hello
14580 @: $(MAKE); $(unstage)
14581 @[ -f ./hello/Makefile ] || exit 0; \
14582 r=`${PWD_COMMAND}`; export r; \
14583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14584 $(HOST_EXPORTS) \
14585 for flag in $(EXTRA_HOST_FLAGS) ; do \
14586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14587 done; \
14588 echo "Doing install-html in hello" ; \
14589 (cd $(HOST_SUBDIR)/hello && \
14590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14592 "RANLIB=$${RANLIB}" \
14593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14594 install-html) \
14595 || exit 1
14597 @endif hello
14599 .PHONY: maybe-installcheck-hello installcheck-hello
14600 maybe-installcheck-hello:
14601 @if hello
14602 maybe-installcheck-hello: installcheck-hello
14604 installcheck-hello: \
14605 configure-hello
14606 @: $(MAKE); $(unstage)
14607 @[ -f ./hello/Makefile ] || exit 0; \
14608 r=`${PWD_COMMAND}`; export r; \
14609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14610 $(HOST_EXPORTS) \
14611 for flag in $(EXTRA_HOST_FLAGS) ; do \
14612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14613 done; \
14614 echo "Doing installcheck in hello" ; \
14615 (cd $(HOST_SUBDIR)/hello && \
14616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14618 "RANLIB=$${RANLIB}" \
14619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14620 installcheck) \
14621 || exit 1
14623 @endif hello
14625 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
14626 maybe-mostlyclean-hello:
14627 @if hello
14628 maybe-mostlyclean-hello: mostlyclean-hello
14630 mostlyclean-hello:
14631 @: $(MAKE); $(unstage)
14632 @[ -f ./hello/Makefile ] || exit 0; \
14633 r=`${PWD_COMMAND}`; export r; \
14634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14635 $(HOST_EXPORTS) \
14636 for flag in $(EXTRA_HOST_FLAGS) ; do \
14637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14638 done; \
14639 echo "Doing mostlyclean in hello" ; \
14640 (cd $(HOST_SUBDIR)/hello && \
14641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14643 "RANLIB=$${RANLIB}" \
14644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14645 mostlyclean) \
14646 || exit 1
14648 @endif hello
14650 .PHONY: maybe-clean-hello clean-hello
14651 maybe-clean-hello:
14652 @if hello
14653 maybe-clean-hello: clean-hello
14655 clean-hello:
14656 @: $(MAKE); $(unstage)
14657 @[ -f ./hello/Makefile ] || exit 0; \
14658 r=`${PWD_COMMAND}`; export r; \
14659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14660 $(HOST_EXPORTS) \
14661 for flag in $(EXTRA_HOST_FLAGS) ; do \
14662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14663 done; \
14664 echo "Doing clean in hello" ; \
14665 (cd $(HOST_SUBDIR)/hello && \
14666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14668 "RANLIB=$${RANLIB}" \
14669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14670 clean) \
14671 || exit 1
14673 @endif hello
14675 .PHONY: maybe-distclean-hello distclean-hello
14676 maybe-distclean-hello:
14677 @if hello
14678 maybe-distclean-hello: distclean-hello
14680 distclean-hello:
14681 @: $(MAKE); $(unstage)
14682 @[ -f ./hello/Makefile ] || exit 0; \
14683 r=`${PWD_COMMAND}`; export r; \
14684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14685 $(HOST_EXPORTS) \
14686 for flag in $(EXTRA_HOST_FLAGS) ; do \
14687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14688 done; \
14689 echo "Doing distclean in hello" ; \
14690 (cd $(HOST_SUBDIR)/hello && \
14691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14693 "RANLIB=$${RANLIB}" \
14694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14695 distclean) \
14696 || exit 1
14698 @endif hello
14700 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
14701 maybe-maintainer-clean-hello:
14702 @if hello
14703 maybe-maintainer-clean-hello: maintainer-clean-hello
14705 maintainer-clean-hello:
14706 @: $(MAKE); $(unstage)
14707 @[ -f ./hello/Makefile ] || exit 0; \
14708 r=`${PWD_COMMAND}`; export r; \
14709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14710 $(HOST_EXPORTS) \
14711 for flag in $(EXTRA_HOST_FLAGS) ; do \
14712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14713 done; \
14714 echo "Doing maintainer-clean in hello" ; \
14715 (cd $(HOST_SUBDIR)/hello && \
14716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14718 "RANLIB=$${RANLIB}" \
14719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14720 maintainer-clean) \
14721 || exit 1
14723 @endif hello
14727 .PHONY: configure-indent maybe-configure-indent
14728 maybe-configure-indent:
14729 @if gcc-bootstrap
14730 configure-indent: stage_current
14731 @endif gcc-bootstrap
14732 @if indent
14733 maybe-configure-indent: configure-indent
14734 configure-indent:
14735 @: $(MAKE); $(unstage)
14736 @r=`${PWD_COMMAND}`; export r; \
14737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14738 test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
14739 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
14740 $(HOST_EXPORTS) \
14741 echo Configuring in $(HOST_SUBDIR)/indent; \
14742 cd "$(HOST_SUBDIR)/indent" || exit 1; \
14743 case $(srcdir) in \
14744 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14745 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
14746 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14747 esac; \
14748 srcdiroption="--srcdir=$${topdir}/indent"; \
14749 libsrcdir="$$s/indent"; \
14750 $(SHELL) $${libsrcdir}/configure \
14751 $(HOST_CONFIGARGS) $${srcdiroption} \
14752 || exit 1
14753 @endif indent
14759 .PHONY: all-indent maybe-all-indent
14760 maybe-all-indent:
14761 @if gcc-bootstrap
14762 all-indent: stage_current
14763 @endif gcc-bootstrap
14764 @if indent
14765 TARGET-indent=all
14766 maybe-all-indent: all-indent
14767 all-indent: configure-indent
14768 @: $(MAKE); $(unstage)
14769 @r=`${PWD_COMMAND}`; export r; \
14770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14771 $(HOST_EXPORTS) \
14772 (cd $(HOST_SUBDIR)/indent && \
14773 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
14774 @endif indent
14779 .PHONY: check-indent maybe-check-indent
14780 maybe-check-indent:
14781 @if indent
14782 maybe-check-indent: check-indent
14784 check-indent:
14785 @: $(MAKE); $(unstage)
14786 @r=`${PWD_COMMAND}`; export r; \
14787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14788 $(HOST_EXPORTS) \
14789 (cd $(HOST_SUBDIR)/indent && \
14790 $(MAKE) $(FLAGS_TO_PASS) check)
14792 @endif indent
14794 .PHONY: install-indent maybe-install-indent
14795 maybe-install-indent:
14796 @if indent
14797 maybe-install-indent: install-indent
14799 install-indent: installdirs
14800 @: $(MAKE); $(unstage)
14801 @r=`${PWD_COMMAND}`; export r; \
14802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14803 $(HOST_EXPORTS) \
14804 (cd $(HOST_SUBDIR)/indent && \
14805 $(MAKE) $(FLAGS_TO_PASS) install)
14807 @endif indent
14809 # Other targets (info, dvi, etc.)
14811 .PHONY: maybe-info-indent info-indent
14812 maybe-info-indent:
14813 @if indent
14814 maybe-info-indent: info-indent
14816 info-indent: \
14817 configure-indent
14818 @: $(MAKE); $(unstage)
14819 @[ -f ./indent/Makefile ] || exit 0; \
14820 r=`${PWD_COMMAND}`; export r; \
14821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14822 $(HOST_EXPORTS) \
14823 for flag in $(EXTRA_HOST_FLAGS) ; do \
14824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14825 done; \
14826 echo "Doing info in indent" ; \
14827 (cd $(HOST_SUBDIR)/indent && \
14828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14830 "RANLIB=$${RANLIB}" \
14831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14832 info) \
14833 || exit 1
14835 @endif indent
14837 .PHONY: maybe-dvi-indent dvi-indent
14838 maybe-dvi-indent:
14839 @if indent
14840 maybe-dvi-indent: dvi-indent
14842 dvi-indent: \
14843 configure-indent
14844 @: $(MAKE); $(unstage)
14845 @[ -f ./indent/Makefile ] || exit 0; \
14846 r=`${PWD_COMMAND}`; export r; \
14847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14848 $(HOST_EXPORTS) \
14849 for flag in $(EXTRA_HOST_FLAGS) ; do \
14850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14851 done; \
14852 echo "Doing dvi in indent" ; \
14853 (cd $(HOST_SUBDIR)/indent && \
14854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14856 "RANLIB=$${RANLIB}" \
14857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14858 dvi) \
14859 || exit 1
14861 @endif indent
14863 .PHONY: maybe-html-indent html-indent
14864 maybe-html-indent:
14865 @if indent
14866 maybe-html-indent: html-indent
14868 html-indent: \
14869 configure-indent
14870 @: $(MAKE); $(unstage)
14871 @[ -f ./indent/Makefile ] || exit 0; \
14872 r=`${PWD_COMMAND}`; export r; \
14873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14874 $(HOST_EXPORTS) \
14875 for flag in $(EXTRA_HOST_FLAGS) ; do \
14876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14877 done; \
14878 echo "Doing html in indent" ; \
14879 (cd $(HOST_SUBDIR)/indent && \
14880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14882 "RANLIB=$${RANLIB}" \
14883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14884 html) \
14885 || exit 1
14887 @endif indent
14889 .PHONY: maybe-TAGS-indent TAGS-indent
14890 maybe-TAGS-indent:
14891 @if indent
14892 maybe-TAGS-indent: TAGS-indent
14894 TAGS-indent: \
14895 configure-indent
14896 @: $(MAKE); $(unstage)
14897 @[ -f ./indent/Makefile ] || exit 0; \
14898 r=`${PWD_COMMAND}`; export r; \
14899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14900 $(HOST_EXPORTS) \
14901 for flag in $(EXTRA_HOST_FLAGS) ; do \
14902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14903 done; \
14904 echo "Doing TAGS in indent" ; \
14905 (cd $(HOST_SUBDIR)/indent && \
14906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14908 "RANLIB=$${RANLIB}" \
14909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14910 TAGS) \
14911 || exit 1
14913 @endif indent
14915 .PHONY: maybe-install-info-indent install-info-indent
14916 maybe-install-info-indent:
14917 @if indent
14918 maybe-install-info-indent: install-info-indent
14920 install-info-indent: \
14921 configure-indent \
14922 info-indent
14923 @: $(MAKE); $(unstage)
14924 @[ -f ./indent/Makefile ] || exit 0; \
14925 r=`${PWD_COMMAND}`; export r; \
14926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14927 $(HOST_EXPORTS) \
14928 for flag in $(EXTRA_HOST_FLAGS) ; do \
14929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14930 done; \
14931 echo "Doing install-info in indent" ; \
14932 (cd $(HOST_SUBDIR)/indent && \
14933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14935 "RANLIB=$${RANLIB}" \
14936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14937 install-info) \
14938 || exit 1
14940 @endif indent
14942 .PHONY: maybe-install-html-indent install-html-indent
14943 maybe-install-html-indent:
14944 @if indent
14945 maybe-install-html-indent: install-html-indent
14947 install-html-indent: \
14948 configure-indent \
14949 html-indent
14950 @: $(MAKE); $(unstage)
14951 @[ -f ./indent/Makefile ] || exit 0; \
14952 r=`${PWD_COMMAND}`; export r; \
14953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14954 $(HOST_EXPORTS) \
14955 for flag in $(EXTRA_HOST_FLAGS) ; do \
14956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14957 done; \
14958 echo "Doing install-html in indent" ; \
14959 (cd $(HOST_SUBDIR)/indent && \
14960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14962 "RANLIB=$${RANLIB}" \
14963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14964 install-html) \
14965 || exit 1
14967 @endif indent
14969 .PHONY: maybe-installcheck-indent installcheck-indent
14970 maybe-installcheck-indent:
14971 @if indent
14972 maybe-installcheck-indent: installcheck-indent
14974 installcheck-indent: \
14975 configure-indent
14976 @: $(MAKE); $(unstage)
14977 @[ -f ./indent/Makefile ] || exit 0; \
14978 r=`${PWD_COMMAND}`; export r; \
14979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14980 $(HOST_EXPORTS) \
14981 for flag in $(EXTRA_HOST_FLAGS) ; do \
14982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14983 done; \
14984 echo "Doing installcheck in indent" ; \
14985 (cd $(HOST_SUBDIR)/indent && \
14986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14988 "RANLIB=$${RANLIB}" \
14989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14990 installcheck) \
14991 || exit 1
14993 @endif indent
14995 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
14996 maybe-mostlyclean-indent:
14997 @if indent
14998 maybe-mostlyclean-indent: mostlyclean-indent
15000 mostlyclean-indent:
15001 @: $(MAKE); $(unstage)
15002 @[ -f ./indent/Makefile ] || exit 0; \
15003 r=`${PWD_COMMAND}`; export r; \
15004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15005 $(HOST_EXPORTS) \
15006 for flag in $(EXTRA_HOST_FLAGS) ; do \
15007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15008 done; \
15009 echo "Doing mostlyclean in indent" ; \
15010 (cd $(HOST_SUBDIR)/indent && \
15011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15013 "RANLIB=$${RANLIB}" \
15014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15015 mostlyclean) \
15016 || exit 1
15018 @endif indent
15020 .PHONY: maybe-clean-indent clean-indent
15021 maybe-clean-indent:
15022 @if indent
15023 maybe-clean-indent: clean-indent
15025 clean-indent:
15026 @: $(MAKE); $(unstage)
15027 @[ -f ./indent/Makefile ] || exit 0; \
15028 r=`${PWD_COMMAND}`; export r; \
15029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15030 $(HOST_EXPORTS) \
15031 for flag in $(EXTRA_HOST_FLAGS) ; do \
15032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15033 done; \
15034 echo "Doing clean in indent" ; \
15035 (cd $(HOST_SUBDIR)/indent && \
15036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15038 "RANLIB=$${RANLIB}" \
15039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15040 clean) \
15041 || exit 1
15043 @endif indent
15045 .PHONY: maybe-distclean-indent distclean-indent
15046 maybe-distclean-indent:
15047 @if indent
15048 maybe-distclean-indent: distclean-indent
15050 distclean-indent:
15051 @: $(MAKE); $(unstage)
15052 @[ -f ./indent/Makefile ] || exit 0; \
15053 r=`${PWD_COMMAND}`; export r; \
15054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15055 $(HOST_EXPORTS) \
15056 for flag in $(EXTRA_HOST_FLAGS) ; do \
15057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15058 done; \
15059 echo "Doing distclean in indent" ; \
15060 (cd $(HOST_SUBDIR)/indent && \
15061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15063 "RANLIB=$${RANLIB}" \
15064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15065 distclean) \
15066 || exit 1
15068 @endif indent
15070 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
15071 maybe-maintainer-clean-indent:
15072 @if indent
15073 maybe-maintainer-clean-indent: maintainer-clean-indent
15075 maintainer-clean-indent:
15076 @: $(MAKE); $(unstage)
15077 @[ -f ./indent/Makefile ] || exit 0; \
15078 r=`${PWD_COMMAND}`; export r; \
15079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15080 $(HOST_EXPORTS) \
15081 for flag in $(EXTRA_HOST_FLAGS) ; do \
15082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15083 done; \
15084 echo "Doing maintainer-clean in indent" ; \
15085 (cd $(HOST_SUBDIR)/indent && \
15086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15088 "RANLIB=$${RANLIB}" \
15089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15090 maintainer-clean) \
15091 || exit 1
15093 @endif indent
15097 .PHONY: configure-intl maybe-configure-intl
15098 maybe-configure-intl:
15099 @if gcc-bootstrap
15100 configure-intl: stage_current
15101 @endif gcc-bootstrap
15102 @if intl
15103 maybe-configure-intl: configure-intl
15104 configure-intl:
15105 @r=`${PWD_COMMAND}`; export r; \
15106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15107 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15108 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15109 $(HOST_EXPORTS) \
15110 echo Configuring in $(HOST_SUBDIR)/intl; \
15111 cd "$(HOST_SUBDIR)/intl" || exit 1; \
15112 case $(srcdir) in \
15113 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15114 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15115 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15116 esac; \
15117 srcdiroption="--srcdir=$${topdir}/intl"; \
15118 libsrcdir="$$s/intl"; \
15119 $(SHELL) $${libsrcdir}/configure \
15120 $(HOST_CONFIGARGS) $${srcdiroption} \
15121 || exit 1
15122 @endif intl
15126 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
15127 maybe-configure-stage1-intl:
15128 @if intl-bootstrap
15129 maybe-configure-stage1-intl: configure-stage1-intl
15130 configure-stage1-intl:
15131 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15132 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
15133 @r=`${PWD_COMMAND}`; export r; \
15134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15135 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15136 $(HOST_EXPORTS) \
15137 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
15138 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15139 cd $(HOST_SUBDIR)/intl || exit 1; \
15140 case $(srcdir) in \
15141 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15142 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15143 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15144 esac; \
15145 srcdiroption="--srcdir=$${topdir}/intl"; \
15146 libsrcdir="$$s/intl"; \
15147 $(SHELL) $${libsrcdir}/configure \
15148 $(HOST_CONFIGARGS) $${srcdiroption} \
15150 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15151 @endif intl-bootstrap
15153 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
15154 maybe-configure-stage2-intl:
15155 @if intl-bootstrap
15156 maybe-configure-stage2-intl: configure-stage2-intl
15157 configure-stage2-intl:
15158 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15159 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
15160 @r=`${PWD_COMMAND}`; export r; \
15161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15162 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15163 $(HOST_EXPORTS) \
15164 $(POSTSTAGE1_HOST_EXPORTS) \
15165 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
15166 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15167 cd $(HOST_SUBDIR)/intl || exit 1; \
15168 case $(srcdir) in \
15169 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15170 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15171 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15172 esac; \
15173 srcdiroption="--srcdir=$${topdir}/intl"; \
15174 libsrcdir="$$s/intl"; \
15175 $(SHELL) $${libsrcdir}/configure \
15176 $(HOST_CONFIGARGS) $${srcdiroption} \
15177 --with-build-libsubdir=$(HOST_SUBDIR) \
15178 @stage2_werror_flag@
15179 @endif intl-bootstrap
15181 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
15182 maybe-configure-stage3-intl:
15183 @if intl-bootstrap
15184 maybe-configure-stage3-intl: configure-stage3-intl
15185 configure-stage3-intl:
15186 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15187 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
15188 @r=`${PWD_COMMAND}`; export r; \
15189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15190 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15191 $(HOST_EXPORTS) \
15192 $(POSTSTAGE1_HOST_EXPORTS) \
15193 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
15194 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15195 cd $(HOST_SUBDIR)/intl || exit 1; \
15196 case $(srcdir) in \
15197 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15198 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15199 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15200 esac; \
15201 srcdiroption="--srcdir=$${topdir}/intl"; \
15202 libsrcdir="$$s/intl"; \
15203 $(SHELL) $${libsrcdir}/configure \
15204 $(HOST_CONFIGARGS) $${srcdiroption} \
15205 --with-build-libsubdir=$(HOST_SUBDIR) \
15206 @stage2_werror_flag@
15207 @endif intl-bootstrap
15209 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
15210 maybe-configure-stage4-intl:
15211 @if intl-bootstrap
15212 maybe-configure-stage4-intl: configure-stage4-intl
15213 configure-stage4-intl:
15214 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15215 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
15216 @r=`${PWD_COMMAND}`; export r; \
15217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15218 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15219 $(HOST_EXPORTS) \
15220 $(POSTSTAGE1_HOST_EXPORTS) \
15221 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
15222 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15223 cd $(HOST_SUBDIR)/intl || exit 1; \
15224 case $(srcdir) in \
15225 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15226 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15227 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15228 esac; \
15229 srcdiroption="--srcdir=$${topdir}/intl"; \
15230 libsrcdir="$$s/intl"; \
15231 $(SHELL) $${libsrcdir}/configure \
15232 $(HOST_CONFIGARGS) $${srcdiroption} \
15233 --with-build-libsubdir=$(HOST_SUBDIR) \
15234 @stage2_werror_flag@
15235 @endif intl-bootstrap
15237 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
15238 maybe-configure-stageprofile-intl:
15239 @if intl-bootstrap
15240 maybe-configure-stageprofile-intl: configure-stageprofile-intl
15241 configure-stageprofile-intl:
15242 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15243 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
15244 @r=`${PWD_COMMAND}`; export r; \
15245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15246 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15247 $(HOST_EXPORTS) \
15248 $(POSTSTAGE1_HOST_EXPORTS) \
15249 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
15250 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15251 cd $(HOST_SUBDIR)/intl || exit 1; \
15252 case $(srcdir) in \
15253 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15254 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15255 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15256 esac; \
15257 srcdiroption="--srcdir=$${topdir}/intl"; \
15258 libsrcdir="$$s/intl"; \
15259 $(SHELL) $${libsrcdir}/configure \
15260 $(HOST_CONFIGARGS) $${srcdiroption} \
15261 --with-build-libsubdir=$(HOST_SUBDIR) \
15262 @stage2_werror_flag@
15263 @endif intl-bootstrap
15265 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
15266 maybe-configure-stagefeedback-intl:
15267 @if intl-bootstrap
15268 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
15269 configure-stagefeedback-intl:
15270 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15271 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
15272 @r=`${PWD_COMMAND}`; export r; \
15273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15274 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
15275 $(HOST_EXPORTS) \
15276 $(POSTSTAGE1_HOST_EXPORTS) \
15277 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
15278 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
15279 cd $(HOST_SUBDIR)/intl || exit 1; \
15280 case $(srcdir) in \
15281 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15282 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
15283 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15284 esac; \
15285 srcdiroption="--srcdir=$${topdir}/intl"; \
15286 libsrcdir="$$s/intl"; \
15287 $(SHELL) $${libsrcdir}/configure \
15288 $(HOST_CONFIGARGS) $${srcdiroption} \
15289 --with-build-libsubdir=$(HOST_SUBDIR) \
15290 @stage2_werror_flag@
15291 @endif intl-bootstrap
15297 .PHONY: all-intl maybe-all-intl
15298 maybe-all-intl:
15299 @if gcc-bootstrap
15300 all-intl: stage_current
15301 @endif gcc-bootstrap
15302 @if intl
15303 TARGET-intl=all
15304 maybe-all-intl: all-intl
15305 all-intl: configure-intl
15306 @r=`${PWD_COMMAND}`; export r; \
15307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15308 $(HOST_EXPORTS) \
15309 (cd $(HOST_SUBDIR)/intl && \
15310 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
15311 @endif intl
15315 .PHONY: all-stage1-intl maybe-all-stage1-intl
15316 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
15317 maybe-all-stage1-intl:
15318 maybe-clean-stage1-intl:
15319 @if intl-bootstrap
15320 maybe-all-stage1-intl: all-stage1-intl
15321 all-stage1: all-stage1-intl
15322 TARGET-stage1-intl = $(TARGET-intl)
15323 all-stage1-intl: configure-stage1-intl
15324 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15325 @r=`${PWD_COMMAND}`; export r; \
15326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15327 $(HOST_EXPORTS) \
15328 cd $(HOST_SUBDIR)/intl && \
15329 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
15330 $(TARGET-stage1-intl)
15332 maybe-clean-stage1-intl: clean-stage1-intl
15333 clean-stage1: clean-stage1-intl
15334 clean-stage1-intl:
15335 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] \
15336 || exit 0 ; \
15337 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
15338 cd $(HOST_SUBDIR)/intl && \
15339 $(MAKE) $(FLAGS_TO_PASS) \
15340 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
15341 @endif intl-bootstrap
15344 .PHONY: all-stage2-intl maybe-all-stage2-intl
15345 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
15346 maybe-all-stage2-intl:
15347 maybe-clean-stage2-intl:
15348 @if intl-bootstrap
15349 maybe-all-stage2-intl: all-stage2-intl
15350 all-stage2: all-stage2-intl
15351 TARGET-stage2-intl = $(TARGET-intl)
15352 all-stage2-intl: configure-stage2-intl
15353 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15354 @r=`${PWD_COMMAND}`; export r; \
15355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15356 $(HOST_EXPORTS) \
15357 $(POSTSTAGE1_HOST_EXPORTS) \
15358 cd $(HOST_SUBDIR)/intl && \
15359 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15360 $(TARGET-stage2-intl)
15362 maybe-clean-stage2-intl: clean-stage2-intl
15363 clean-stage2: clean-stage2-intl
15364 clean-stage2-intl:
15365 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] \
15366 || exit 0 ; \
15367 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
15368 cd $(HOST_SUBDIR)/intl && \
15369 $(MAKE) $(FLAGS_TO_PASS) \
15370 $(POSTSTAGE1_FLAGS_TO_PASS) \
15371 clean
15372 @endif intl-bootstrap
15375 .PHONY: all-stage3-intl maybe-all-stage3-intl
15376 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
15377 maybe-all-stage3-intl:
15378 maybe-clean-stage3-intl:
15379 @if intl-bootstrap
15380 maybe-all-stage3-intl: all-stage3-intl
15381 all-stage3: all-stage3-intl
15382 TARGET-stage3-intl = $(TARGET-intl)
15383 all-stage3-intl: configure-stage3-intl
15384 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15385 @r=`${PWD_COMMAND}`; export r; \
15386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15387 $(HOST_EXPORTS) \
15388 $(POSTSTAGE1_HOST_EXPORTS) \
15389 cd $(HOST_SUBDIR)/intl && \
15390 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15391 $(TARGET-stage3-intl)
15393 maybe-clean-stage3-intl: clean-stage3-intl
15394 clean-stage3: clean-stage3-intl
15395 clean-stage3-intl:
15396 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] \
15397 || exit 0 ; \
15398 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
15399 cd $(HOST_SUBDIR)/intl && \
15400 $(MAKE) $(FLAGS_TO_PASS) \
15401 $(POSTSTAGE1_FLAGS_TO_PASS) \
15402 clean
15403 @endif intl-bootstrap
15406 .PHONY: all-stage4-intl maybe-all-stage4-intl
15407 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
15408 maybe-all-stage4-intl:
15409 maybe-clean-stage4-intl:
15410 @if intl-bootstrap
15411 maybe-all-stage4-intl: all-stage4-intl
15412 all-stage4: all-stage4-intl
15413 TARGET-stage4-intl = $(TARGET-intl)
15414 all-stage4-intl: configure-stage4-intl
15415 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15416 @r=`${PWD_COMMAND}`; export r; \
15417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15418 $(HOST_EXPORTS) \
15419 $(POSTSTAGE1_HOST_EXPORTS) \
15420 cd $(HOST_SUBDIR)/intl && \
15421 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15422 $(TARGET-stage4-intl)
15424 maybe-clean-stage4-intl: clean-stage4-intl
15425 clean-stage4: clean-stage4-intl
15426 clean-stage4-intl:
15427 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] \
15428 || exit 0 ; \
15429 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
15430 cd $(HOST_SUBDIR)/intl && \
15431 $(MAKE) $(FLAGS_TO_PASS) \
15432 $(POSTSTAGE1_FLAGS_TO_PASS) \
15433 clean
15434 @endif intl-bootstrap
15437 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
15438 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
15439 maybe-all-stageprofile-intl:
15440 maybe-clean-stageprofile-intl:
15441 @if intl-bootstrap
15442 maybe-all-stageprofile-intl: all-stageprofile-intl
15443 all-stageprofile: all-stageprofile-intl
15444 TARGET-stageprofile-intl = $(TARGET-intl)
15445 all-stageprofile-intl: configure-stageprofile-intl
15446 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15447 @r=`${PWD_COMMAND}`; export r; \
15448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15449 $(HOST_EXPORTS) \
15450 $(POSTSTAGE1_HOST_EXPORTS) \
15451 cd $(HOST_SUBDIR)/intl && \
15452 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
15453 $(TARGET-stageprofile-intl)
15455 maybe-clean-stageprofile-intl: clean-stageprofile-intl
15456 clean-stageprofile: clean-stageprofile-intl
15457 clean-stageprofile-intl:
15458 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] \
15459 || exit 0 ; \
15460 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
15461 cd $(HOST_SUBDIR)/intl && \
15462 $(MAKE) $(FLAGS_TO_PASS) \
15463 $(POSTSTAGE1_FLAGS_TO_PASS) \
15464 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15465 @endif intl-bootstrap
15468 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
15469 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
15470 maybe-all-stagefeedback-intl:
15471 maybe-clean-stagefeedback-intl:
15472 @if intl-bootstrap
15473 maybe-all-stagefeedback-intl: all-stagefeedback-intl
15474 all-stagefeedback: all-stagefeedback-intl
15475 TARGET-stagefeedback-intl = $(TARGET-intl)
15476 all-stagefeedback-intl: configure-stagefeedback-intl
15477 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15478 @r=`${PWD_COMMAND}`; export r; \
15479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15480 $(HOST_EXPORTS) \
15481 $(POSTSTAGE1_HOST_EXPORTS) \
15482 cd $(HOST_SUBDIR)/intl && \
15483 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
15484 $(TARGET-stagefeedback-intl)
15486 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
15487 clean-stagefeedback: clean-stagefeedback-intl
15488 clean-stagefeedback-intl:
15489 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] \
15490 || exit 0 ; \
15491 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
15492 cd $(HOST_SUBDIR)/intl && \
15493 $(MAKE) $(FLAGS_TO_PASS) \
15494 $(POSTSTAGE1_FLAGS_TO_PASS) \
15495 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15496 @endif intl-bootstrap
15502 .PHONY: check-intl maybe-check-intl
15503 maybe-check-intl:
15504 @if intl
15505 maybe-check-intl: check-intl
15507 check-intl:
15508 @: $(MAKE); $(unstage)
15509 @r=`${PWD_COMMAND}`; export r; \
15510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15511 $(HOST_EXPORTS) \
15512 (cd $(HOST_SUBDIR)/intl && \
15513 $(MAKE) $(FLAGS_TO_PASS) check)
15515 @endif intl
15517 .PHONY: install-intl maybe-install-intl
15518 maybe-install-intl:
15519 @if intl
15520 maybe-install-intl: install-intl
15522 install-intl: installdirs
15523 @: $(MAKE); $(unstage)
15524 @r=`${PWD_COMMAND}`; export r; \
15525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15526 $(HOST_EXPORTS) \
15527 (cd $(HOST_SUBDIR)/intl && \
15528 $(MAKE) $(FLAGS_TO_PASS) install)
15530 @endif intl
15532 # Other targets (info, dvi, etc.)
15534 .PHONY: maybe-info-intl info-intl
15535 maybe-info-intl:
15536 @if intl
15537 maybe-info-intl: info-intl
15539 info-intl: \
15540 configure-intl
15541 @[ -f ./intl/Makefile ] || exit 0; \
15542 r=`${PWD_COMMAND}`; export r; \
15543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15544 $(HOST_EXPORTS) \
15545 for flag in $(EXTRA_HOST_FLAGS) ; do \
15546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15547 done; \
15548 echo "Doing info in intl" ; \
15549 (cd $(HOST_SUBDIR)/intl && \
15550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15552 "RANLIB=$${RANLIB}" \
15553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15554 info) \
15555 || exit 1
15557 @endif intl
15559 .PHONY: maybe-dvi-intl dvi-intl
15560 maybe-dvi-intl:
15561 @if intl
15562 maybe-dvi-intl: dvi-intl
15564 dvi-intl: \
15565 configure-intl
15566 @[ -f ./intl/Makefile ] || exit 0; \
15567 r=`${PWD_COMMAND}`; export r; \
15568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15569 $(HOST_EXPORTS) \
15570 for flag in $(EXTRA_HOST_FLAGS) ; do \
15571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15572 done; \
15573 echo "Doing dvi in intl" ; \
15574 (cd $(HOST_SUBDIR)/intl && \
15575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15577 "RANLIB=$${RANLIB}" \
15578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15579 dvi) \
15580 || exit 1
15582 @endif intl
15584 .PHONY: maybe-html-intl html-intl
15585 maybe-html-intl:
15586 @if intl
15587 maybe-html-intl: html-intl
15589 html-intl: \
15590 configure-intl
15591 @[ -f ./intl/Makefile ] || exit 0; \
15592 r=`${PWD_COMMAND}`; export r; \
15593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15594 $(HOST_EXPORTS) \
15595 for flag in $(EXTRA_HOST_FLAGS) ; do \
15596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15597 done; \
15598 echo "Doing html in intl" ; \
15599 (cd $(HOST_SUBDIR)/intl && \
15600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15602 "RANLIB=$${RANLIB}" \
15603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15604 html) \
15605 || exit 1
15607 @endif intl
15609 .PHONY: maybe-TAGS-intl TAGS-intl
15610 maybe-TAGS-intl:
15611 @if intl
15612 maybe-TAGS-intl: TAGS-intl
15614 TAGS-intl: \
15615 configure-intl
15616 @[ -f ./intl/Makefile ] || exit 0; \
15617 r=`${PWD_COMMAND}`; export r; \
15618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15619 $(HOST_EXPORTS) \
15620 for flag in $(EXTRA_HOST_FLAGS) ; do \
15621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15622 done; \
15623 echo "Doing TAGS in intl" ; \
15624 (cd $(HOST_SUBDIR)/intl && \
15625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15627 "RANLIB=$${RANLIB}" \
15628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15629 TAGS) \
15630 || exit 1
15632 @endif intl
15634 .PHONY: maybe-install-info-intl install-info-intl
15635 maybe-install-info-intl:
15636 @if intl
15637 maybe-install-info-intl: install-info-intl
15639 install-info-intl: \
15640 configure-intl \
15641 info-intl
15642 @[ -f ./intl/Makefile ] || exit 0; \
15643 r=`${PWD_COMMAND}`; export r; \
15644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15645 $(HOST_EXPORTS) \
15646 for flag in $(EXTRA_HOST_FLAGS) ; do \
15647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15648 done; \
15649 echo "Doing install-info in intl" ; \
15650 (cd $(HOST_SUBDIR)/intl && \
15651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15653 "RANLIB=$${RANLIB}" \
15654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15655 install-info) \
15656 || exit 1
15658 @endif intl
15660 .PHONY: maybe-install-html-intl install-html-intl
15661 maybe-install-html-intl:
15662 @if intl
15663 maybe-install-html-intl: install-html-intl
15665 install-html-intl: \
15666 configure-intl \
15667 html-intl
15668 @[ -f ./intl/Makefile ] || exit 0; \
15669 r=`${PWD_COMMAND}`; export r; \
15670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15671 $(HOST_EXPORTS) \
15672 for flag in $(EXTRA_HOST_FLAGS) ; do \
15673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15674 done; \
15675 echo "Doing install-html in intl" ; \
15676 (cd $(HOST_SUBDIR)/intl && \
15677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15679 "RANLIB=$${RANLIB}" \
15680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15681 install-html) \
15682 || exit 1
15684 @endif intl
15686 .PHONY: maybe-installcheck-intl installcheck-intl
15687 maybe-installcheck-intl:
15688 @if intl
15689 maybe-installcheck-intl: installcheck-intl
15691 installcheck-intl: \
15692 configure-intl
15693 @[ -f ./intl/Makefile ] || exit 0; \
15694 r=`${PWD_COMMAND}`; export r; \
15695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15696 $(HOST_EXPORTS) \
15697 for flag in $(EXTRA_HOST_FLAGS) ; do \
15698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15699 done; \
15700 echo "Doing installcheck in intl" ; \
15701 (cd $(HOST_SUBDIR)/intl && \
15702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15704 "RANLIB=$${RANLIB}" \
15705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15706 installcheck) \
15707 || exit 1
15709 @endif intl
15711 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
15712 maybe-mostlyclean-intl:
15713 @if intl
15714 maybe-mostlyclean-intl: mostlyclean-intl
15716 mostlyclean-intl:
15717 @[ -f ./intl/Makefile ] || exit 0; \
15718 r=`${PWD_COMMAND}`; export r; \
15719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15720 $(HOST_EXPORTS) \
15721 for flag in $(EXTRA_HOST_FLAGS) ; do \
15722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15723 done; \
15724 echo "Doing mostlyclean in intl" ; \
15725 (cd $(HOST_SUBDIR)/intl && \
15726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15728 "RANLIB=$${RANLIB}" \
15729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15730 mostlyclean) \
15731 || exit 1
15733 @endif intl
15735 .PHONY: maybe-clean-intl clean-intl
15736 maybe-clean-intl:
15737 @if intl
15738 maybe-clean-intl: clean-intl
15740 clean-intl:
15741 @[ -f ./intl/Makefile ] || exit 0; \
15742 r=`${PWD_COMMAND}`; export r; \
15743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15744 $(HOST_EXPORTS) \
15745 for flag in $(EXTRA_HOST_FLAGS) ; do \
15746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15747 done; \
15748 echo "Doing clean in intl" ; \
15749 (cd $(HOST_SUBDIR)/intl && \
15750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15752 "RANLIB=$${RANLIB}" \
15753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15754 clean) \
15755 || exit 1
15757 @endif intl
15759 .PHONY: maybe-distclean-intl distclean-intl
15760 maybe-distclean-intl:
15761 @if intl
15762 maybe-distclean-intl: distclean-intl
15764 distclean-intl:
15765 @[ -f ./intl/Makefile ] || exit 0; \
15766 r=`${PWD_COMMAND}`; export r; \
15767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15768 $(HOST_EXPORTS) \
15769 for flag in $(EXTRA_HOST_FLAGS) ; do \
15770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15771 done; \
15772 echo "Doing distclean in intl" ; \
15773 (cd $(HOST_SUBDIR)/intl && \
15774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15776 "RANLIB=$${RANLIB}" \
15777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15778 distclean) \
15779 || exit 1
15781 @endif intl
15783 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
15784 maybe-maintainer-clean-intl:
15785 @if intl
15786 maybe-maintainer-clean-intl: maintainer-clean-intl
15788 maintainer-clean-intl:
15789 @[ -f ./intl/Makefile ] || exit 0; \
15790 r=`${PWD_COMMAND}`; export r; \
15791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15792 $(HOST_EXPORTS) \
15793 for flag in $(EXTRA_HOST_FLAGS) ; do \
15794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15795 done; \
15796 echo "Doing maintainer-clean in intl" ; \
15797 (cd $(HOST_SUBDIR)/intl && \
15798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15800 "RANLIB=$${RANLIB}" \
15801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15802 maintainer-clean) \
15803 || exit 1
15805 @endif intl
15809 .PHONY: configure-tcl maybe-configure-tcl
15810 maybe-configure-tcl:
15811 @if gcc-bootstrap
15812 configure-tcl: stage_current
15813 @endif gcc-bootstrap
15814 @if tcl
15815 maybe-configure-tcl: configure-tcl
15816 configure-tcl:
15817 @: $(MAKE); $(unstage)
15818 @r=`${PWD_COMMAND}`; export r; \
15819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15820 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
15821 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
15822 $(HOST_EXPORTS) \
15823 echo Configuring in $(HOST_SUBDIR)/tcl; \
15824 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
15825 case $(srcdir) in \
15826 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15827 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
15828 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15829 esac; \
15830 srcdiroption="--srcdir=$${topdir}/tcl"; \
15831 libsrcdir="$$s/tcl"; \
15832 $(SHELL) $${libsrcdir}/configure \
15833 $(HOST_CONFIGARGS) $${srcdiroption} \
15834 || exit 1
15835 @endif tcl
15841 .PHONY: all-tcl maybe-all-tcl
15842 maybe-all-tcl:
15843 @if gcc-bootstrap
15844 all-tcl: stage_current
15845 @endif gcc-bootstrap
15846 @if tcl
15847 TARGET-tcl=all
15848 maybe-all-tcl: all-tcl
15849 all-tcl: configure-tcl
15850 @: $(MAKE); $(unstage)
15851 @r=`${PWD_COMMAND}`; export r; \
15852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15853 $(HOST_EXPORTS) \
15854 (cd $(HOST_SUBDIR)/tcl && \
15855 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
15856 @endif tcl
15861 .PHONY: check-tcl maybe-check-tcl
15862 maybe-check-tcl:
15863 @if tcl
15864 maybe-check-tcl: check-tcl
15866 check-tcl:
15867 @: $(MAKE); $(unstage)
15868 @r=`${PWD_COMMAND}`; export r; \
15869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15870 $(HOST_EXPORTS) \
15871 (cd $(HOST_SUBDIR)/tcl && \
15872 $(MAKE) $(FLAGS_TO_PASS) check)
15874 @endif tcl
15876 .PHONY: install-tcl maybe-install-tcl
15877 maybe-install-tcl:
15878 @if tcl
15879 maybe-install-tcl: install-tcl
15881 install-tcl: installdirs
15882 @: $(MAKE); $(unstage)
15883 @r=`${PWD_COMMAND}`; export r; \
15884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15885 $(HOST_EXPORTS) \
15886 (cd $(HOST_SUBDIR)/tcl && \
15887 $(MAKE) $(FLAGS_TO_PASS) install)
15889 @endif tcl
15891 # Other targets (info, dvi, etc.)
15893 .PHONY: maybe-info-tcl info-tcl
15894 maybe-info-tcl:
15895 @if tcl
15896 maybe-info-tcl: info-tcl
15898 info-tcl: \
15899 configure-tcl
15900 @: $(MAKE); $(unstage)
15901 @[ -f ./tcl/Makefile ] || exit 0; \
15902 r=`${PWD_COMMAND}`; export r; \
15903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15904 $(HOST_EXPORTS) \
15905 for flag in $(EXTRA_HOST_FLAGS) ; do \
15906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15907 done; \
15908 echo "Doing info in tcl" ; \
15909 (cd $(HOST_SUBDIR)/tcl && \
15910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15912 "RANLIB=$${RANLIB}" \
15913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15914 info) \
15915 || exit 1
15917 @endif tcl
15919 .PHONY: maybe-dvi-tcl dvi-tcl
15920 maybe-dvi-tcl:
15921 @if tcl
15922 maybe-dvi-tcl: dvi-tcl
15924 dvi-tcl: \
15925 configure-tcl
15926 @: $(MAKE); $(unstage)
15927 @[ -f ./tcl/Makefile ] || exit 0; \
15928 r=`${PWD_COMMAND}`; export r; \
15929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15930 $(HOST_EXPORTS) \
15931 for flag in $(EXTRA_HOST_FLAGS) ; do \
15932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15933 done; \
15934 echo "Doing dvi in tcl" ; \
15935 (cd $(HOST_SUBDIR)/tcl && \
15936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15938 "RANLIB=$${RANLIB}" \
15939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15940 dvi) \
15941 || exit 1
15943 @endif tcl
15945 .PHONY: maybe-html-tcl html-tcl
15946 maybe-html-tcl:
15947 @if tcl
15948 maybe-html-tcl: html-tcl
15950 html-tcl: \
15951 configure-tcl
15952 @: $(MAKE); $(unstage)
15953 @[ -f ./tcl/Makefile ] || exit 0; \
15954 r=`${PWD_COMMAND}`; export r; \
15955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15956 $(HOST_EXPORTS) \
15957 for flag in $(EXTRA_HOST_FLAGS) ; do \
15958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15959 done; \
15960 echo "Doing html in tcl" ; \
15961 (cd $(HOST_SUBDIR)/tcl && \
15962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15964 "RANLIB=$${RANLIB}" \
15965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15966 html) \
15967 || exit 1
15969 @endif tcl
15971 .PHONY: maybe-TAGS-tcl TAGS-tcl
15972 maybe-TAGS-tcl:
15973 @if tcl
15974 maybe-TAGS-tcl: TAGS-tcl
15976 TAGS-tcl: \
15977 configure-tcl
15978 @: $(MAKE); $(unstage)
15979 @[ -f ./tcl/Makefile ] || exit 0; \
15980 r=`${PWD_COMMAND}`; export r; \
15981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15982 $(HOST_EXPORTS) \
15983 for flag in $(EXTRA_HOST_FLAGS) ; do \
15984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15985 done; \
15986 echo "Doing TAGS in tcl" ; \
15987 (cd $(HOST_SUBDIR)/tcl && \
15988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15990 "RANLIB=$${RANLIB}" \
15991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15992 TAGS) \
15993 || exit 1
15995 @endif tcl
15997 .PHONY: maybe-install-info-tcl install-info-tcl
15998 maybe-install-info-tcl:
15999 @if tcl
16000 maybe-install-info-tcl: install-info-tcl
16002 install-info-tcl: \
16003 configure-tcl \
16004 info-tcl
16005 @: $(MAKE); $(unstage)
16006 @[ -f ./tcl/Makefile ] || exit 0; \
16007 r=`${PWD_COMMAND}`; export r; \
16008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16009 $(HOST_EXPORTS) \
16010 for flag in $(EXTRA_HOST_FLAGS) ; do \
16011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16012 done; \
16013 echo "Doing install-info in tcl" ; \
16014 (cd $(HOST_SUBDIR)/tcl && \
16015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16017 "RANLIB=$${RANLIB}" \
16018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16019 install-info) \
16020 || exit 1
16022 @endif tcl
16024 .PHONY: maybe-install-html-tcl install-html-tcl
16025 maybe-install-html-tcl:
16026 @if tcl
16027 maybe-install-html-tcl: install-html-tcl
16029 install-html-tcl: \
16030 configure-tcl \
16031 html-tcl
16032 @: $(MAKE); $(unstage)
16033 @[ -f ./tcl/Makefile ] || exit 0; \
16034 r=`${PWD_COMMAND}`; export r; \
16035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16036 $(HOST_EXPORTS) \
16037 for flag in $(EXTRA_HOST_FLAGS) ; do \
16038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16039 done; \
16040 echo "Doing install-html in tcl" ; \
16041 (cd $(HOST_SUBDIR)/tcl && \
16042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16044 "RANLIB=$${RANLIB}" \
16045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16046 install-html) \
16047 || exit 1
16049 @endif tcl
16051 .PHONY: maybe-installcheck-tcl installcheck-tcl
16052 maybe-installcheck-tcl:
16053 @if tcl
16054 maybe-installcheck-tcl: installcheck-tcl
16056 installcheck-tcl: \
16057 configure-tcl
16058 @: $(MAKE); $(unstage)
16059 @[ -f ./tcl/Makefile ] || exit 0; \
16060 r=`${PWD_COMMAND}`; export r; \
16061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16062 $(HOST_EXPORTS) \
16063 for flag in $(EXTRA_HOST_FLAGS) ; do \
16064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16065 done; \
16066 echo "Doing installcheck in tcl" ; \
16067 (cd $(HOST_SUBDIR)/tcl && \
16068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16070 "RANLIB=$${RANLIB}" \
16071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16072 installcheck) \
16073 || exit 1
16075 @endif tcl
16077 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
16078 maybe-mostlyclean-tcl:
16079 @if tcl
16080 maybe-mostlyclean-tcl: mostlyclean-tcl
16082 # tcl doesn't support mostlyclean.
16083 mostlyclean-tcl:
16085 @endif tcl
16087 .PHONY: maybe-clean-tcl clean-tcl
16088 maybe-clean-tcl:
16089 @if tcl
16090 maybe-clean-tcl: clean-tcl
16092 clean-tcl:
16093 @: $(MAKE); $(unstage)
16094 @[ -f ./tcl/Makefile ] || exit 0; \
16095 r=`${PWD_COMMAND}`; export r; \
16096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16097 $(HOST_EXPORTS) \
16098 for flag in $(EXTRA_HOST_FLAGS) ; do \
16099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16100 done; \
16101 echo "Doing clean in tcl" ; \
16102 (cd $(HOST_SUBDIR)/tcl && \
16103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16105 "RANLIB=$${RANLIB}" \
16106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16107 clean) \
16108 || exit 1
16110 @endif tcl
16112 .PHONY: maybe-distclean-tcl distclean-tcl
16113 maybe-distclean-tcl:
16114 @if tcl
16115 maybe-distclean-tcl: distclean-tcl
16117 distclean-tcl:
16118 @: $(MAKE); $(unstage)
16119 @[ -f ./tcl/Makefile ] || exit 0; \
16120 r=`${PWD_COMMAND}`; export r; \
16121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16122 $(HOST_EXPORTS) \
16123 for flag in $(EXTRA_HOST_FLAGS) ; do \
16124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16125 done; \
16126 echo "Doing distclean in tcl" ; \
16127 (cd $(HOST_SUBDIR)/tcl && \
16128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16130 "RANLIB=$${RANLIB}" \
16131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16132 distclean) \
16133 || exit 1
16135 @endif tcl
16137 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
16138 maybe-maintainer-clean-tcl:
16139 @if tcl
16140 maybe-maintainer-clean-tcl: maintainer-clean-tcl
16142 maintainer-clean-tcl:
16143 @: $(MAKE); $(unstage)
16144 @[ -f ./tcl/Makefile ] || exit 0; \
16145 r=`${PWD_COMMAND}`; export r; \
16146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16147 $(HOST_EXPORTS) \
16148 for flag in $(EXTRA_HOST_FLAGS) ; do \
16149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16150 done; \
16151 echo "Doing maintainer-clean in tcl" ; \
16152 (cd $(HOST_SUBDIR)/tcl && \
16153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16155 "RANLIB=$${RANLIB}" \
16156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16157 maintainer-clean) \
16158 || exit 1
16160 @endif tcl
16164 .PHONY: configure-itcl maybe-configure-itcl
16165 maybe-configure-itcl:
16166 @if gcc-bootstrap
16167 configure-itcl: stage_current
16168 @endif gcc-bootstrap
16169 @if itcl
16170 maybe-configure-itcl: configure-itcl
16171 configure-itcl:
16172 @: $(MAKE); $(unstage)
16173 @r=`${PWD_COMMAND}`; export r; \
16174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16175 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
16176 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
16177 $(HOST_EXPORTS) \
16178 echo Configuring in $(HOST_SUBDIR)/itcl; \
16179 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
16180 case $(srcdir) in \
16181 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16182 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
16183 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16184 esac; \
16185 srcdiroption="--srcdir=$${topdir}/itcl"; \
16186 libsrcdir="$$s/itcl"; \
16187 $(SHELL) $${libsrcdir}/configure \
16188 $(HOST_CONFIGARGS) $${srcdiroption} \
16189 || exit 1
16190 @endif itcl
16196 .PHONY: all-itcl maybe-all-itcl
16197 maybe-all-itcl:
16198 @if gcc-bootstrap
16199 all-itcl: stage_current
16200 @endif gcc-bootstrap
16201 @if itcl
16202 TARGET-itcl=all
16203 maybe-all-itcl: all-itcl
16204 all-itcl: configure-itcl
16205 @: $(MAKE); $(unstage)
16206 @r=`${PWD_COMMAND}`; export r; \
16207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16208 $(HOST_EXPORTS) \
16209 (cd $(HOST_SUBDIR)/itcl && \
16210 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
16211 @endif itcl
16216 .PHONY: check-itcl maybe-check-itcl
16217 maybe-check-itcl:
16218 @if itcl
16219 maybe-check-itcl: check-itcl
16221 check-itcl:
16222 @: $(MAKE); $(unstage)
16223 @r=`${PWD_COMMAND}`; export r; \
16224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16225 $(HOST_EXPORTS) \
16226 (cd $(HOST_SUBDIR)/itcl && \
16227 $(MAKE) $(FLAGS_TO_PASS) check)
16229 @endif itcl
16231 .PHONY: install-itcl maybe-install-itcl
16232 maybe-install-itcl:
16233 @if itcl
16234 maybe-install-itcl: install-itcl
16236 install-itcl: installdirs
16237 @: $(MAKE); $(unstage)
16238 @r=`${PWD_COMMAND}`; export r; \
16239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16240 $(HOST_EXPORTS) \
16241 (cd $(HOST_SUBDIR)/itcl && \
16242 $(MAKE) $(FLAGS_TO_PASS) install)
16244 @endif itcl
16246 # Other targets (info, dvi, etc.)
16248 .PHONY: maybe-info-itcl info-itcl
16249 maybe-info-itcl:
16250 @if itcl
16251 maybe-info-itcl: info-itcl
16253 info-itcl: \
16254 configure-itcl
16255 @: $(MAKE); $(unstage)
16256 @[ -f ./itcl/Makefile ] || exit 0; \
16257 r=`${PWD_COMMAND}`; export r; \
16258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16259 $(HOST_EXPORTS) \
16260 for flag in $(EXTRA_HOST_FLAGS) ; do \
16261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16262 done; \
16263 echo "Doing info in itcl" ; \
16264 (cd $(HOST_SUBDIR)/itcl && \
16265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16267 "RANLIB=$${RANLIB}" \
16268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16269 info) \
16270 || exit 1
16272 @endif itcl
16274 .PHONY: maybe-dvi-itcl dvi-itcl
16275 maybe-dvi-itcl:
16276 @if itcl
16277 maybe-dvi-itcl: dvi-itcl
16279 dvi-itcl: \
16280 configure-itcl
16281 @: $(MAKE); $(unstage)
16282 @[ -f ./itcl/Makefile ] || exit 0; \
16283 r=`${PWD_COMMAND}`; export r; \
16284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16285 $(HOST_EXPORTS) \
16286 for flag in $(EXTRA_HOST_FLAGS) ; do \
16287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16288 done; \
16289 echo "Doing dvi in itcl" ; \
16290 (cd $(HOST_SUBDIR)/itcl && \
16291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16293 "RANLIB=$${RANLIB}" \
16294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16295 dvi) \
16296 || exit 1
16298 @endif itcl
16300 .PHONY: maybe-html-itcl html-itcl
16301 maybe-html-itcl:
16302 @if itcl
16303 maybe-html-itcl: html-itcl
16305 html-itcl: \
16306 configure-itcl
16307 @: $(MAKE); $(unstage)
16308 @[ -f ./itcl/Makefile ] || exit 0; \
16309 r=`${PWD_COMMAND}`; export r; \
16310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16311 $(HOST_EXPORTS) \
16312 for flag in $(EXTRA_HOST_FLAGS) ; do \
16313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16314 done; \
16315 echo "Doing html in itcl" ; \
16316 (cd $(HOST_SUBDIR)/itcl && \
16317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16319 "RANLIB=$${RANLIB}" \
16320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16321 html) \
16322 || exit 1
16324 @endif itcl
16326 .PHONY: maybe-TAGS-itcl TAGS-itcl
16327 maybe-TAGS-itcl:
16328 @if itcl
16329 maybe-TAGS-itcl: TAGS-itcl
16331 TAGS-itcl: \
16332 configure-itcl
16333 @: $(MAKE); $(unstage)
16334 @[ -f ./itcl/Makefile ] || exit 0; \
16335 r=`${PWD_COMMAND}`; export r; \
16336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16337 $(HOST_EXPORTS) \
16338 for flag in $(EXTRA_HOST_FLAGS) ; do \
16339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16340 done; \
16341 echo "Doing TAGS in itcl" ; \
16342 (cd $(HOST_SUBDIR)/itcl && \
16343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16345 "RANLIB=$${RANLIB}" \
16346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16347 TAGS) \
16348 || exit 1
16350 @endif itcl
16352 .PHONY: maybe-install-info-itcl install-info-itcl
16353 maybe-install-info-itcl:
16354 @if itcl
16355 maybe-install-info-itcl: install-info-itcl
16357 install-info-itcl: \
16358 configure-itcl \
16359 info-itcl
16360 @: $(MAKE); $(unstage)
16361 @[ -f ./itcl/Makefile ] || exit 0; \
16362 r=`${PWD_COMMAND}`; export r; \
16363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16364 $(HOST_EXPORTS) \
16365 for flag in $(EXTRA_HOST_FLAGS) ; do \
16366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16367 done; \
16368 echo "Doing install-info in itcl" ; \
16369 (cd $(HOST_SUBDIR)/itcl && \
16370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16372 "RANLIB=$${RANLIB}" \
16373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16374 install-info) \
16375 || exit 1
16377 @endif itcl
16379 .PHONY: maybe-install-html-itcl install-html-itcl
16380 maybe-install-html-itcl:
16381 @if itcl
16382 maybe-install-html-itcl: install-html-itcl
16384 install-html-itcl: \
16385 configure-itcl \
16386 html-itcl
16387 @: $(MAKE); $(unstage)
16388 @[ -f ./itcl/Makefile ] || exit 0; \
16389 r=`${PWD_COMMAND}`; export r; \
16390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16391 $(HOST_EXPORTS) \
16392 for flag in $(EXTRA_HOST_FLAGS) ; do \
16393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16394 done; \
16395 echo "Doing install-html in itcl" ; \
16396 (cd $(HOST_SUBDIR)/itcl && \
16397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16399 "RANLIB=$${RANLIB}" \
16400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16401 install-html) \
16402 || exit 1
16404 @endif itcl
16406 .PHONY: maybe-installcheck-itcl installcheck-itcl
16407 maybe-installcheck-itcl:
16408 @if itcl
16409 maybe-installcheck-itcl: installcheck-itcl
16411 installcheck-itcl: \
16412 configure-itcl
16413 @: $(MAKE); $(unstage)
16414 @[ -f ./itcl/Makefile ] || exit 0; \
16415 r=`${PWD_COMMAND}`; export r; \
16416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16417 $(HOST_EXPORTS) \
16418 for flag in $(EXTRA_HOST_FLAGS) ; do \
16419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16420 done; \
16421 echo "Doing installcheck in itcl" ; \
16422 (cd $(HOST_SUBDIR)/itcl && \
16423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16425 "RANLIB=$${RANLIB}" \
16426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16427 installcheck) \
16428 || exit 1
16430 @endif itcl
16432 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
16433 maybe-mostlyclean-itcl:
16434 @if itcl
16435 maybe-mostlyclean-itcl: mostlyclean-itcl
16437 mostlyclean-itcl:
16438 @: $(MAKE); $(unstage)
16439 @[ -f ./itcl/Makefile ] || exit 0; \
16440 r=`${PWD_COMMAND}`; export r; \
16441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16442 $(HOST_EXPORTS) \
16443 for flag in $(EXTRA_HOST_FLAGS) ; do \
16444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16445 done; \
16446 echo "Doing mostlyclean in itcl" ; \
16447 (cd $(HOST_SUBDIR)/itcl && \
16448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16450 "RANLIB=$${RANLIB}" \
16451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16452 mostlyclean) \
16453 || exit 1
16455 @endif itcl
16457 .PHONY: maybe-clean-itcl clean-itcl
16458 maybe-clean-itcl:
16459 @if itcl
16460 maybe-clean-itcl: clean-itcl
16462 clean-itcl:
16463 @: $(MAKE); $(unstage)
16464 @[ -f ./itcl/Makefile ] || exit 0; \
16465 r=`${PWD_COMMAND}`; export r; \
16466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16467 $(HOST_EXPORTS) \
16468 for flag in $(EXTRA_HOST_FLAGS) ; do \
16469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16470 done; \
16471 echo "Doing clean in itcl" ; \
16472 (cd $(HOST_SUBDIR)/itcl && \
16473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16475 "RANLIB=$${RANLIB}" \
16476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16477 clean) \
16478 || exit 1
16480 @endif itcl
16482 .PHONY: maybe-distclean-itcl distclean-itcl
16483 maybe-distclean-itcl:
16484 @if itcl
16485 maybe-distclean-itcl: distclean-itcl
16487 distclean-itcl:
16488 @: $(MAKE); $(unstage)
16489 @[ -f ./itcl/Makefile ] || exit 0; \
16490 r=`${PWD_COMMAND}`; export r; \
16491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16492 $(HOST_EXPORTS) \
16493 for flag in $(EXTRA_HOST_FLAGS) ; do \
16494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16495 done; \
16496 echo "Doing distclean in itcl" ; \
16497 (cd $(HOST_SUBDIR)/itcl && \
16498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16500 "RANLIB=$${RANLIB}" \
16501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16502 distclean) \
16503 || exit 1
16505 @endif itcl
16507 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
16508 maybe-maintainer-clean-itcl:
16509 @if itcl
16510 maybe-maintainer-clean-itcl: maintainer-clean-itcl
16512 maintainer-clean-itcl:
16513 @: $(MAKE); $(unstage)
16514 @[ -f ./itcl/Makefile ] || exit 0; \
16515 r=`${PWD_COMMAND}`; export r; \
16516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16517 $(HOST_EXPORTS) \
16518 for flag in $(EXTRA_HOST_FLAGS) ; do \
16519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16520 done; \
16521 echo "Doing maintainer-clean in itcl" ; \
16522 (cd $(HOST_SUBDIR)/itcl && \
16523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16525 "RANLIB=$${RANLIB}" \
16526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16527 maintainer-clean) \
16528 || exit 1
16530 @endif itcl
16534 .PHONY: configure-ld maybe-configure-ld
16535 maybe-configure-ld:
16536 @if gcc-bootstrap
16537 configure-ld: stage_current
16538 @endif gcc-bootstrap
16539 @if ld
16540 maybe-configure-ld: configure-ld
16541 configure-ld:
16542 @r=`${PWD_COMMAND}`; export r; \
16543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16544 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16545 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16546 $(HOST_EXPORTS) \
16547 echo Configuring in $(HOST_SUBDIR)/ld; \
16548 cd "$(HOST_SUBDIR)/ld" || exit 1; \
16549 case $(srcdir) in \
16550 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16551 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16552 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16553 esac; \
16554 srcdiroption="--srcdir=$${topdir}/ld"; \
16555 libsrcdir="$$s/ld"; \
16556 $(SHELL) $${libsrcdir}/configure \
16557 $(HOST_CONFIGARGS) $${srcdiroption} \
16558 || exit 1
16559 @endif ld
16563 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
16564 maybe-configure-stage1-ld:
16565 @if ld-bootstrap
16566 maybe-configure-stage1-ld: configure-stage1-ld
16567 configure-stage1-ld:
16568 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16569 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16570 @r=`${PWD_COMMAND}`; export r; \
16571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16572 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16573 $(HOST_EXPORTS) \
16574 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
16575 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16576 cd $(HOST_SUBDIR)/ld || exit 1; \
16577 case $(srcdir) in \
16578 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16579 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16580 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16581 esac; \
16582 srcdiroption="--srcdir=$${topdir}/ld"; \
16583 libsrcdir="$$s/ld"; \
16584 $(SHELL) $${libsrcdir}/configure \
16585 $(HOST_CONFIGARGS) $${srcdiroption} \
16587 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16588 @endif ld-bootstrap
16590 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
16591 maybe-configure-stage2-ld:
16592 @if ld-bootstrap
16593 maybe-configure-stage2-ld: configure-stage2-ld
16594 configure-stage2-ld:
16595 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16596 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16597 @r=`${PWD_COMMAND}`; export r; \
16598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16599 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16600 $(HOST_EXPORTS) \
16601 $(POSTSTAGE1_HOST_EXPORTS) \
16602 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
16603 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16604 cd $(HOST_SUBDIR)/ld || exit 1; \
16605 case $(srcdir) in \
16606 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16607 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16608 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16609 esac; \
16610 srcdiroption="--srcdir=$${topdir}/ld"; \
16611 libsrcdir="$$s/ld"; \
16612 $(SHELL) $${libsrcdir}/configure \
16613 $(HOST_CONFIGARGS) $${srcdiroption} \
16614 --with-build-libsubdir=$(HOST_SUBDIR) \
16615 @stage2_werror_flag@
16616 @endif ld-bootstrap
16618 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
16619 maybe-configure-stage3-ld:
16620 @if ld-bootstrap
16621 maybe-configure-stage3-ld: configure-stage3-ld
16622 configure-stage3-ld:
16623 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16624 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16625 @r=`${PWD_COMMAND}`; export r; \
16626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16627 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16628 $(HOST_EXPORTS) \
16629 $(POSTSTAGE1_HOST_EXPORTS) \
16630 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
16631 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16632 cd $(HOST_SUBDIR)/ld || exit 1; \
16633 case $(srcdir) in \
16634 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16635 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16636 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16637 esac; \
16638 srcdiroption="--srcdir=$${topdir}/ld"; \
16639 libsrcdir="$$s/ld"; \
16640 $(SHELL) $${libsrcdir}/configure \
16641 $(HOST_CONFIGARGS) $${srcdiroption} \
16642 --with-build-libsubdir=$(HOST_SUBDIR) \
16643 @stage2_werror_flag@
16644 @endif ld-bootstrap
16646 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
16647 maybe-configure-stage4-ld:
16648 @if ld-bootstrap
16649 maybe-configure-stage4-ld: configure-stage4-ld
16650 configure-stage4-ld:
16651 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16652 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16653 @r=`${PWD_COMMAND}`; export r; \
16654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16655 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16656 $(HOST_EXPORTS) \
16657 $(POSTSTAGE1_HOST_EXPORTS) \
16658 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
16659 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16660 cd $(HOST_SUBDIR)/ld || exit 1; \
16661 case $(srcdir) in \
16662 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16663 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16664 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16665 esac; \
16666 srcdiroption="--srcdir=$${topdir}/ld"; \
16667 libsrcdir="$$s/ld"; \
16668 $(SHELL) $${libsrcdir}/configure \
16669 $(HOST_CONFIGARGS) $${srcdiroption} \
16670 --with-build-libsubdir=$(HOST_SUBDIR) \
16671 @stage2_werror_flag@
16672 @endif ld-bootstrap
16674 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
16675 maybe-configure-stageprofile-ld:
16676 @if ld-bootstrap
16677 maybe-configure-stageprofile-ld: configure-stageprofile-ld
16678 configure-stageprofile-ld:
16679 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16680 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16681 @r=`${PWD_COMMAND}`; export r; \
16682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16683 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16684 $(HOST_EXPORTS) \
16685 $(POSTSTAGE1_HOST_EXPORTS) \
16686 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
16687 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16688 cd $(HOST_SUBDIR)/ld || exit 1; \
16689 case $(srcdir) in \
16690 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16691 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16692 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16693 esac; \
16694 srcdiroption="--srcdir=$${topdir}/ld"; \
16695 libsrcdir="$$s/ld"; \
16696 $(SHELL) $${libsrcdir}/configure \
16697 $(HOST_CONFIGARGS) $${srcdiroption} \
16698 --with-build-libsubdir=$(HOST_SUBDIR) \
16699 @stage2_werror_flag@
16700 @endif ld-bootstrap
16702 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
16703 maybe-configure-stagefeedback-ld:
16704 @if ld-bootstrap
16705 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
16706 configure-stagefeedback-ld:
16707 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16708 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
16709 @r=`${PWD_COMMAND}`; export r; \
16710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16711 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
16712 $(HOST_EXPORTS) \
16713 $(POSTSTAGE1_HOST_EXPORTS) \
16714 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
16715 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
16716 cd $(HOST_SUBDIR)/ld || exit 1; \
16717 case $(srcdir) in \
16718 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16719 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
16720 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16721 esac; \
16722 srcdiroption="--srcdir=$${topdir}/ld"; \
16723 libsrcdir="$$s/ld"; \
16724 $(SHELL) $${libsrcdir}/configure \
16725 $(HOST_CONFIGARGS) $${srcdiroption} \
16726 --with-build-libsubdir=$(HOST_SUBDIR) \
16727 @stage2_werror_flag@
16728 @endif ld-bootstrap
16734 .PHONY: all-ld maybe-all-ld
16735 maybe-all-ld:
16736 @if gcc-bootstrap
16737 all-ld: stage_current
16738 @endif gcc-bootstrap
16739 @if ld
16740 TARGET-ld=all
16741 maybe-all-ld: all-ld
16742 all-ld: configure-ld
16743 @r=`${PWD_COMMAND}`; export r; \
16744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16745 $(HOST_EXPORTS) \
16746 (cd $(HOST_SUBDIR)/ld && \
16747 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
16748 @endif ld
16752 .PHONY: all-stage1-ld maybe-all-stage1-ld
16753 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
16754 maybe-all-stage1-ld:
16755 maybe-clean-stage1-ld:
16756 @if ld-bootstrap
16757 maybe-all-stage1-ld: all-stage1-ld
16758 all-stage1: all-stage1-ld
16759 TARGET-stage1-ld = $(TARGET-ld)
16760 all-stage1-ld: configure-stage1-ld
16761 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16762 @r=`${PWD_COMMAND}`; export r; \
16763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16764 $(HOST_EXPORTS) \
16765 cd $(HOST_SUBDIR)/ld && \
16766 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
16767 $(TARGET-stage1-ld)
16769 maybe-clean-stage1-ld: clean-stage1-ld
16770 clean-stage1: clean-stage1-ld
16771 clean-stage1-ld:
16772 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] \
16773 || exit 0 ; \
16774 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
16775 cd $(HOST_SUBDIR)/ld && \
16776 $(MAKE) $(FLAGS_TO_PASS) \
16777 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
16778 @endif ld-bootstrap
16781 .PHONY: all-stage2-ld maybe-all-stage2-ld
16782 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
16783 maybe-all-stage2-ld:
16784 maybe-clean-stage2-ld:
16785 @if ld-bootstrap
16786 maybe-all-stage2-ld: all-stage2-ld
16787 all-stage2: all-stage2-ld
16788 TARGET-stage2-ld = $(TARGET-ld)
16789 all-stage2-ld: configure-stage2-ld
16790 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16791 @r=`${PWD_COMMAND}`; export r; \
16792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16793 $(HOST_EXPORTS) \
16794 $(POSTSTAGE1_HOST_EXPORTS) \
16795 cd $(HOST_SUBDIR)/ld && \
16796 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16797 $(TARGET-stage2-ld)
16799 maybe-clean-stage2-ld: clean-stage2-ld
16800 clean-stage2: clean-stage2-ld
16801 clean-stage2-ld:
16802 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] \
16803 || exit 0 ; \
16804 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
16805 cd $(HOST_SUBDIR)/ld && \
16806 $(MAKE) $(FLAGS_TO_PASS) \
16807 $(POSTSTAGE1_FLAGS_TO_PASS) \
16808 clean
16809 @endif ld-bootstrap
16812 .PHONY: all-stage3-ld maybe-all-stage3-ld
16813 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
16814 maybe-all-stage3-ld:
16815 maybe-clean-stage3-ld:
16816 @if ld-bootstrap
16817 maybe-all-stage3-ld: all-stage3-ld
16818 all-stage3: all-stage3-ld
16819 TARGET-stage3-ld = $(TARGET-ld)
16820 all-stage3-ld: configure-stage3-ld
16821 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16822 @r=`${PWD_COMMAND}`; export r; \
16823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16824 $(HOST_EXPORTS) \
16825 $(POSTSTAGE1_HOST_EXPORTS) \
16826 cd $(HOST_SUBDIR)/ld && \
16827 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16828 $(TARGET-stage3-ld)
16830 maybe-clean-stage3-ld: clean-stage3-ld
16831 clean-stage3: clean-stage3-ld
16832 clean-stage3-ld:
16833 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] \
16834 || exit 0 ; \
16835 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
16836 cd $(HOST_SUBDIR)/ld && \
16837 $(MAKE) $(FLAGS_TO_PASS) \
16838 $(POSTSTAGE1_FLAGS_TO_PASS) \
16839 clean
16840 @endif ld-bootstrap
16843 .PHONY: all-stage4-ld maybe-all-stage4-ld
16844 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
16845 maybe-all-stage4-ld:
16846 maybe-clean-stage4-ld:
16847 @if ld-bootstrap
16848 maybe-all-stage4-ld: all-stage4-ld
16849 all-stage4: all-stage4-ld
16850 TARGET-stage4-ld = $(TARGET-ld)
16851 all-stage4-ld: configure-stage4-ld
16852 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16853 @r=`${PWD_COMMAND}`; export r; \
16854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16855 $(HOST_EXPORTS) \
16856 $(POSTSTAGE1_HOST_EXPORTS) \
16857 cd $(HOST_SUBDIR)/ld && \
16858 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16859 $(TARGET-stage4-ld)
16861 maybe-clean-stage4-ld: clean-stage4-ld
16862 clean-stage4: clean-stage4-ld
16863 clean-stage4-ld:
16864 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] \
16865 || exit 0 ; \
16866 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
16867 cd $(HOST_SUBDIR)/ld && \
16868 $(MAKE) $(FLAGS_TO_PASS) \
16869 $(POSTSTAGE1_FLAGS_TO_PASS) \
16870 clean
16871 @endif ld-bootstrap
16874 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
16875 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
16876 maybe-all-stageprofile-ld:
16877 maybe-clean-stageprofile-ld:
16878 @if ld-bootstrap
16879 maybe-all-stageprofile-ld: all-stageprofile-ld
16880 all-stageprofile: all-stageprofile-ld
16881 TARGET-stageprofile-ld = $(TARGET-ld)
16882 all-stageprofile-ld: configure-stageprofile-ld
16883 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16884 @r=`${PWD_COMMAND}`; export r; \
16885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16886 $(HOST_EXPORTS) \
16887 $(POSTSTAGE1_HOST_EXPORTS) \
16888 cd $(HOST_SUBDIR)/ld && \
16889 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16890 $(TARGET-stageprofile-ld)
16892 maybe-clean-stageprofile-ld: clean-stageprofile-ld
16893 clean-stageprofile: clean-stageprofile-ld
16894 clean-stageprofile-ld:
16895 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] \
16896 || exit 0 ; \
16897 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
16898 cd $(HOST_SUBDIR)/ld && \
16899 $(MAKE) $(FLAGS_TO_PASS) \
16900 $(POSTSTAGE1_FLAGS_TO_PASS) \
16901 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16902 @endif ld-bootstrap
16905 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
16906 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
16907 maybe-all-stagefeedback-ld:
16908 maybe-clean-stagefeedback-ld:
16909 @if ld-bootstrap
16910 maybe-all-stagefeedback-ld: all-stagefeedback-ld
16911 all-stagefeedback: all-stagefeedback-ld
16912 TARGET-stagefeedback-ld = $(TARGET-ld)
16913 all-stagefeedback-ld: configure-stagefeedback-ld
16914 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16915 @r=`${PWD_COMMAND}`; export r; \
16916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16917 $(HOST_EXPORTS) \
16918 $(POSTSTAGE1_HOST_EXPORTS) \
16919 cd $(HOST_SUBDIR)/ld && \
16920 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16921 $(TARGET-stagefeedback-ld)
16923 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
16924 clean-stagefeedback: clean-stagefeedback-ld
16925 clean-stagefeedback-ld:
16926 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] \
16927 || exit 0 ; \
16928 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
16929 cd $(HOST_SUBDIR)/ld && \
16930 $(MAKE) $(FLAGS_TO_PASS) \
16931 $(POSTSTAGE1_FLAGS_TO_PASS) \
16932 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16933 @endif ld-bootstrap
16939 .PHONY: check-ld maybe-check-ld
16940 maybe-check-ld:
16941 @if ld
16942 maybe-check-ld: check-ld
16944 check-ld:
16945 @: $(MAKE); $(unstage)
16946 @r=`${PWD_COMMAND}`; export r; \
16947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16948 $(HOST_EXPORTS) \
16949 (cd $(HOST_SUBDIR)/ld && \
16950 $(MAKE) $(FLAGS_TO_PASS) check)
16952 @endif ld
16954 .PHONY: install-ld maybe-install-ld
16955 maybe-install-ld:
16956 @if ld
16957 maybe-install-ld: install-ld
16959 install-ld: installdirs
16960 @: $(MAKE); $(unstage)
16961 @r=`${PWD_COMMAND}`; export r; \
16962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16963 $(HOST_EXPORTS) \
16964 (cd $(HOST_SUBDIR)/ld && \
16965 $(MAKE) $(FLAGS_TO_PASS) install)
16967 @endif ld
16969 # Other targets (info, dvi, etc.)
16971 .PHONY: maybe-info-ld info-ld
16972 maybe-info-ld:
16973 @if ld
16974 maybe-info-ld: info-ld
16976 info-ld: \
16977 configure-ld
16978 @[ -f ./ld/Makefile ] || exit 0; \
16979 r=`${PWD_COMMAND}`; export r; \
16980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16981 $(HOST_EXPORTS) \
16982 for flag in $(EXTRA_HOST_FLAGS) ; do \
16983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16984 done; \
16985 echo "Doing info in ld" ; \
16986 (cd $(HOST_SUBDIR)/ld && \
16987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16989 "RANLIB=$${RANLIB}" \
16990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16991 info) \
16992 || exit 1
16994 @endif ld
16996 .PHONY: maybe-dvi-ld dvi-ld
16997 maybe-dvi-ld:
16998 @if ld
16999 maybe-dvi-ld: dvi-ld
17001 dvi-ld: \
17002 configure-ld
17003 @[ -f ./ld/Makefile ] || exit 0; \
17004 r=`${PWD_COMMAND}`; export r; \
17005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17006 $(HOST_EXPORTS) \
17007 for flag in $(EXTRA_HOST_FLAGS) ; do \
17008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17009 done; \
17010 echo "Doing dvi in ld" ; \
17011 (cd $(HOST_SUBDIR)/ld && \
17012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17014 "RANLIB=$${RANLIB}" \
17015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17016 dvi) \
17017 || exit 1
17019 @endif ld
17021 .PHONY: maybe-html-ld html-ld
17022 maybe-html-ld:
17023 @if ld
17024 maybe-html-ld: html-ld
17026 html-ld: \
17027 configure-ld
17028 @[ -f ./ld/Makefile ] || exit 0; \
17029 r=`${PWD_COMMAND}`; export r; \
17030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17031 $(HOST_EXPORTS) \
17032 for flag in $(EXTRA_HOST_FLAGS) ; do \
17033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17034 done; \
17035 echo "Doing html in ld" ; \
17036 (cd $(HOST_SUBDIR)/ld && \
17037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17039 "RANLIB=$${RANLIB}" \
17040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17041 html) \
17042 || exit 1
17044 @endif ld
17046 .PHONY: maybe-TAGS-ld TAGS-ld
17047 maybe-TAGS-ld:
17048 @if ld
17049 maybe-TAGS-ld: TAGS-ld
17051 TAGS-ld: \
17052 configure-ld
17053 @[ -f ./ld/Makefile ] || exit 0; \
17054 r=`${PWD_COMMAND}`; export r; \
17055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17056 $(HOST_EXPORTS) \
17057 for flag in $(EXTRA_HOST_FLAGS) ; do \
17058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17059 done; \
17060 echo "Doing TAGS in ld" ; \
17061 (cd $(HOST_SUBDIR)/ld && \
17062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17064 "RANLIB=$${RANLIB}" \
17065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17066 TAGS) \
17067 || exit 1
17069 @endif ld
17071 .PHONY: maybe-install-info-ld install-info-ld
17072 maybe-install-info-ld:
17073 @if ld
17074 maybe-install-info-ld: install-info-ld
17076 install-info-ld: \
17077 configure-ld \
17078 info-ld
17079 @[ -f ./ld/Makefile ] || exit 0; \
17080 r=`${PWD_COMMAND}`; export r; \
17081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17082 $(HOST_EXPORTS) \
17083 for flag in $(EXTRA_HOST_FLAGS) ; do \
17084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17085 done; \
17086 echo "Doing install-info in ld" ; \
17087 (cd $(HOST_SUBDIR)/ld && \
17088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17090 "RANLIB=$${RANLIB}" \
17091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17092 install-info) \
17093 || exit 1
17095 @endif ld
17097 .PHONY: maybe-install-html-ld install-html-ld
17098 maybe-install-html-ld:
17099 @if ld
17100 maybe-install-html-ld: install-html-ld
17102 install-html-ld: \
17103 configure-ld \
17104 html-ld
17105 @[ -f ./ld/Makefile ] || exit 0; \
17106 r=`${PWD_COMMAND}`; export r; \
17107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17108 $(HOST_EXPORTS) \
17109 for flag in $(EXTRA_HOST_FLAGS) ; do \
17110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17111 done; \
17112 echo "Doing install-html in ld" ; \
17113 (cd $(HOST_SUBDIR)/ld && \
17114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17116 "RANLIB=$${RANLIB}" \
17117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17118 install-html) \
17119 || exit 1
17121 @endif ld
17123 .PHONY: maybe-installcheck-ld installcheck-ld
17124 maybe-installcheck-ld:
17125 @if ld
17126 maybe-installcheck-ld: installcheck-ld
17128 installcheck-ld: \
17129 configure-ld
17130 @[ -f ./ld/Makefile ] || exit 0; \
17131 r=`${PWD_COMMAND}`; export r; \
17132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17133 $(HOST_EXPORTS) \
17134 for flag in $(EXTRA_HOST_FLAGS) ; do \
17135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17136 done; \
17137 echo "Doing installcheck in ld" ; \
17138 (cd $(HOST_SUBDIR)/ld && \
17139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17141 "RANLIB=$${RANLIB}" \
17142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17143 installcheck) \
17144 || exit 1
17146 @endif ld
17148 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
17149 maybe-mostlyclean-ld:
17150 @if ld
17151 maybe-mostlyclean-ld: mostlyclean-ld
17153 mostlyclean-ld:
17154 @[ -f ./ld/Makefile ] || exit 0; \
17155 r=`${PWD_COMMAND}`; export r; \
17156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17157 $(HOST_EXPORTS) \
17158 for flag in $(EXTRA_HOST_FLAGS) ; do \
17159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17160 done; \
17161 echo "Doing mostlyclean in ld" ; \
17162 (cd $(HOST_SUBDIR)/ld && \
17163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17165 "RANLIB=$${RANLIB}" \
17166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17167 mostlyclean) \
17168 || exit 1
17170 @endif ld
17172 .PHONY: maybe-clean-ld clean-ld
17173 maybe-clean-ld:
17174 @if ld
17175 maybe-clean-ld: clean-ld
17177 clean-ld:
17178 @[ -f ./ld/Makefile ] || exit 0; \
17179 r=`${PWD_COMMAND}`; export r; \
17180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17181 $(HOST_EXPORTS) \
17182 for flag in $(EXTRA_HOST_FLAGS) ; do \
17183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17184 done; \
17185 echo "Doing clean in ld" ; \
17186 (cd $(HOST_SUBDIR)/ld && \
17187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17189 "RANLIB=$${RANLIB}" \
17190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17191 clean) \
17192 || exit 1
17194 @endif ld
17196 .PHONY: maybe-distclean-ld distclean-ld
17197 maybe-distclean-ld:
17198 @if ld
17199 maybe-distclean-ld: distclean-ld
17201 distclean-ld:
17202 @[ -f ./ld/Makefile ] || exit 0; \
17203 r=`${PWD_COMMAND}`; export r; \
17204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17205 $(HOST_EXPORTS) \
17206 for flag in $(EXTRA_HOST_FLAGS) ; do \
17207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17208 done; \
17209 echo "Doing distclean in ld" ; \
17210 (cd $(HOST_SUBDIR)/ld && \
17211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17213 "RANLIB=$${RANLIB}" \
17214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17215 distclean) \
17216 || exit 1
17218 @endif ld
17220 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
17221 maybe-maintainer-clean-ld:
17222 @if ld
17223 maybe-maintainer-clean-ld: maintainer-clean-ld
17225 maintainer-clean-ld:
17226 @[ -f ./ld/Makefile ] || exit 0; \
17227 r=`${PWD_COMMAND}`; export r; \
17228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17229 $(HOST_EXPORTS) \
17230 for flag in $(EXTRA_HOST_FLAGS) ; do \
17231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17232 done; \
17233 echo "Doing maintainer-clean in ld" ; \
17234 (cd $(HOST_SUBDIR)/ld && \
17235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17237 "RANLIB=$${RANLIB}" \
17238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17239 maintainer-clean) \
17240 || exit 1
17242 @endif ld
17246 .PHONY: configure-libcpp maybe-configure-libcpp
17247 maybe-configure-libcpp:
17248 @if gcc-bootstrap
17249 configure-libcpp: stage_current
17250 @endif gcc-bootstrap
17251 @if libcpp
17252 maybe-configure-libcpp: configure-libcpp
17253 configure-libcpp:
17254 @r=`${PWD_COMMAND}`; export r; \
17255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17256 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17257 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17258 $(HOST_EXPORTS) \
17259 echo Configuring in $(HOST_SUBDIR)/libcpp; \
17260 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
17261 case $(srcdir) in \
17262 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17263 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17264 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17265 esac; \
17266 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17267 libsrcdir="$$s/libcpp"; \
17268 $(SHELL) $${libsrcdir}/configure \
17269 $(HOST_CONFIGARGS) $${srcdiroption} \
17270 || exit 1
17271 @endif libcpp
17275 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
17276 maybe-configure-stage1-libcpp:
17277 @if libcpp-bootstrap
17278 maybe-configure-stage1-libcpp: configure-stage1-libcpp
17279 configure-stage1-libcpp:
17280 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17281 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17282 @r=`${PWD_COMMAND}`; export r; \
17283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17284 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17285 $(HOST_EXPORTS) \
17286 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
17287 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17288 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17289 case $(srcdir) in \
17290 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17291 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17292 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17293 esac; \
17294 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17295 libsrcdir="$$s/libcpp"; \
17296 $(SHELL) $${libsrcdir}/configure \
17297 $(HOST_CONFIGARGS) $${srcdiroption} \
17299 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17300 @endif libcpp-bootstrap
17302 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
17303 maybe-configure-stage2-libcpp:
17304 @if libcpp-bootstrap
17305 maybe-configure-stage2-libcpp: configure-stage2-libcpp
17306 configure-stage2-libcpp:
17307 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17308 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17309 @r=`${PWD_COMMAND}`; export r; \
17310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17311 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17312 $(HOST_EXPORTS) \
17313 $(POSTSTAGE1_HOST_EXPORTS) \
17314 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
17315 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17316 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17317 case $(srcdir) in \
17318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17319 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17321 esac; \
17322 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17323 libsrcdir="$$s/libcpp"; \
17324 $(SHELL) $${libsrcdir}/configure \
17325 $(HOST_CONFIGARGS) $${srcdiroption} \
17326 --with-build-libsubdir=$(HOST_SUBDIR) \
17327 @stage2_werror_flag@
17328 @endif libcpp-bootstrap
17330 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
17331 maybe-configure-stage3-libcpp:
17332 @if libcpp-bootstrap
17333 maybe-configure-stage3-libcpp: configure-stage3-libcpp
17334 configure-stage3-libcpp:
17335 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17336 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17337 @r=`${PWD_COMMAND}`; export r; \
17338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17339 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17340 $(HOST_EXPORTS) \
17341 $(POSTSTAGE1_HOST_EXPORTS) \
17342 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
17343 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17344 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17345 case $(srcdir) in \
17346 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17347 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17348 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17349 esac; \
17350 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17351 libsrcdir="$$s/libcpp"; \
17352 $(SHELL) $${libsrcdir}/configure \
17353 $(HOST_CONFIGARGS) $${srcdiroption} \
17354 --with-build-libsubdir=$(HOST_SUBDIR) \
17355 @stage2_werror_flag@
17356 @endif libcpp-bootstrap
17358 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
17359 maybe-configure-stage4-libcpp:
17360 @if libcpp-bootstrap
17361 maybe-configure-stage4-libcpp: configure-stage4-libcpp
17362 configure-stage4-libcpp:
17363 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17364 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17365 @r=`${PWD_COMMAND}`; export r; \
17366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17367 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17368 $(HOST_EXPORTS) \
17369 $(POSTSTAGE1_HOST_EXPORTS) \
17370 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
17371 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17372 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17373 case $(srcdir) in \
17374 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17375 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17376 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17377 esac; \
17378 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17379 libsrcdir="$$s/libcpp"; \
17380 $(SHELL) $${libsrcdir}/configure \
17381 $(HOST_CONFIGARGS) $${srcdiroption} \
17382 --with-build-libsubdir=$(HOST_SUBDIR) \
17383 @stage2_werror_flag@
17384 @endif libcpp-bootstrap
17386 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
17387 maybe-configure-stageprofile-libcpp:
17388 @if libcpp-bootstrap
17389 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
17390 configure-stageprofile-libcpp:
17391 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17392 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17393 @r=`${PWD_COMMAND}`; export r; \
17394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17395 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17396 $(HOST_EXPORTS) \
17397 $(POSTSTAGE1_HOST_EXPORTS) \
17398 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
17399 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17400 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17401 case $(srcdir) in \
17402 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17403 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17404 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17405 esac; \
17406 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17407 libsrcdir="$$s/libcpp"; \
17408 $(SHELL) $${libsrcdir}/configure \
17409 $(HOST_CONFIGARGS) $${srcdiroption} \
17410 --with-build-libsubdir=$(HOST_SUBDIR) \
17411 @stage2_werror_flag@
17412 @endif libcpp-bootstrap
17414 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
17415 maybe-configure-stagefeedback-libcpp:
17416 @if libcpp-bootstrap
17417 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
17418 configure-stagefeedback-libcpp:
17419 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17420 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
17421 @r=`${PWD_COMMAND}`; export r; \
17422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17423 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
17424 $(HOST_EXPORTS) \
17425 $(POSTSTAGE1_HOST_EXPORTS) \
17426 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
17427 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
17428 cd $(HOST_SUBDIR)/libcpp || exit 1; \
17429 case $(srcdir) in \
17430 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17431 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
17432 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17433 esac; \
17434 srcdiroption="--srcdir=$${topdir}/libcpp"; \
17435 libsrcdir="$$s/libcpp"; \
17436 $(SHELL) $${libsrcdir}/configure \
17437 $(HOST_CONFIGARGS) $${srcdiroption} \
17438 --with-build-libsubdir=$(HOST_SUBDIR) \
17439 @stage2_werror_flag@
17440 @endif libcpp-bootstrap
17446 .PHONY: all-libcpp maybe-all-libcpp
17447 maybe-all-libcpp:
17448 @if gcc-bootstrap
17449 all-libcpp: stage_current
17450 @endif gcc-bootstrap
17451 @if libcpp
17452 TARGET-libcpp=all
17453 maybe-all-libcpp: all-libcpp
17454 all-libcpp: configure-libcpp
17455 @r=`${PWD_COMMAND}`; export r; \
17456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17457 $(HOST_EXPORTS) \
17458 (cd $(HOST_SUBDIR)/libcpp && \
17459 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
17460 @endif libcpp
17464 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
17465 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
17466 maybe-all-stage1-libcpp:
17467 maybe-clean-stage1-libcpp:
17468 @if libcpp-bootstrap
17469 maybe-all-stage1-libcpp: all-stage1-libcpp
17470 all-stage1: all-stage1-libcpp
17471 TARGET-stage1-libcpp = $(TARGET-libcpp)
17472 all-stage1-libcpp: configure-stage1-libcpp
17473 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17474 @r=`${PWD_COMMAND}`; export r; \
17475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17476 $(HOST_EXPORTS) \
17477 cd $(HOST_SUBDIR)/libcpp && \
17478 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
17479 $(TARGET-stage1-libcpp)
17481 maybe-clean-stage1-libcpp: clean-stage1-libcpp
17482 clean-stage1: clean-stage1-libcpp
17483 clean-stage1-libcpp:
17484 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] \
17485 || exit 0 ; \
17486 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
17487 cd $(HOST_SUBDIR)/libcpp && \
17488 $(MAKE) $(FLAGS_TO_PASS) \
17489 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
17490 @endif libcpp-bootstrap
17493 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
17494 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
17495 maybe-all-stage2-libcpp:
17496 maybe-clean-stage2-libcpp:
17497 @if libcpp-bootstrap
17498 maybe-all-stage2-libcpp: all-stage2-libcpp
17499 all-stage2: all-stage2-libcpp
17500 TARGET-stage2-libcpp = $(TARGET-libcpp)
17501 all-stage2-libcpp: configure-stage2-libcpp
17502 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17503 @r=`${PWD_COMMAND}`; export r; \
17504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17505 $(HOST_EXPORTS) \
17506 $(POSTSTAGE1_HOST_EXPORTS) \
17507 cd $(HOST_SUBDIR)/libcpp && \
17508 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17509 $(TARGET-stage2-libcpp)
17511 maybe-clean-stage2-libcpp: clean-stage2-libcpp
17512 clean-stage2: clean-stage2-libcpp
17513 clean-stage2-libcpp:
17514 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] \
17515 || exit 0 ; \
17516 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
17517 cd $(HOST_SUBDIR)/libcpp && \
17518 $(MAKE) $(FLAGS_TO_PASS) \
17519 $(POSTSTAGE1_FLAGS_TO_PASS) \
17520 clean
17521 @endif libcpp-bootstrap
17524 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
17525 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
17526 maybe-all-stage3-libcpp:
17527 maybe-clean-stage3-libcpp:
17528 @if libcpp-bootstrap
17529 maybe-all-stage3-libcpp: all-stage3-libcpp
17530 all-stage3: all-stage3-libcpp
17531 TARGET-stage3-libcpp = $(TARGET-libcpp)
17532 all-stage3-libcpp: configure-stage3-libcpp
17533 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17534 @r=`${PWD_COMMAND}`; export r; \
17535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17536 $(HOST_EXPORTS) \
17537 $(POSTSTAGE1_HOST_EXPORTS) \
17538 cd $(HOST_SUBDIR)/libcpp && \
17539 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17540 $(TARGET-stage3-libcpp)
17542 maybe-clean-stage3-libcpp: clean-stage3-libcpp
17543 clean-stage3: clean-stage3-libcpp
17544 clean-stage3-libcpp:
17545 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] \
17546 || exit 0 ; \
17547 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
17548 cd $(HOST_SUBDIR)/libcpp && \
17549 $(MAKE) $(FLAGS_TO_PASS) \
17550 $(POSTSTAGE1_FLAGS_TO_PASS) \
17551 clean
17552 @endif libcpp-bootstrap
17555 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
17556 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
17557 maybe-all-stage4-libcpp:
17558 maybe-clean-stage4-libcpp:
17559 @if libcpp-bootstrap
17560 maybe-all-stage4-libcpp: all-stage4-libcpp
17561 all-stage4: all-stage4-libcpp
17562 TARGET-stage4-libcpp = $(TARGET-libcpp)
17563 all-stage4-libcpp: configure-stage4-libcpp
17564 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17565 @r=`${PWD_COMMAND}`; export r; \
17566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17567 $(HOST_EXPORTS) \
17568 $(POSTSTAGE1_HOST_EXPORTS) \
17569 cd $(HOST_SUBDIR)/libcpp && \
17570 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17571 $(TARGET-stage4-libcpp)
17573 maybe-clean-stage4-libcpp: clean-stage4-libcpp
17574 clean-stage4: clean-stage4-libcpp
17575 clean-stage4-libcpp:
17576 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] \
17577 || exit 0 ; \
17578 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
17579 cd $(HOST_SUBDIR)/libcpp && \
17580 $(MAKE) $(FLAGS_TO_PASS) \
17581 $(POSTSTAGE1_FLAGS_TO_PASS) \
17582 clean
17583 @endif libcpp-bootstrap
17586 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
17587 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
17588 maybe-all-stageprofile-libcpp:
17589 maybe-clean-stageprofile-libcpp:
17590 @if libcpp-bootstrap
17591 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
17592 all-stageprofile: all-stageprofile-libcpp
17593 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
17594 all-stageprofile-libcpp: configure-stageprofile-libcpp
17595 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17596 @r=`${PWD_COMMAND}`; export r; \
17597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17598 $(HOST_EXPORTS) \
17599 $(POSTSTAGE1_HOST_EXPORTS) \
17600 cd $(HOST_SUBDIR)/libcpp && \
17601 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
17602 $(TARGET-stageprofile-libcpp)
17604 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
17605 clean-stageprofile: clean-stageprofile-libcpp
17606 clean-stageprofile-libcpp:
17607 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] \
17608 || exit 0 ; \
17609 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
17610 cd $(HOST_SUBDIR)/libcpp && \
17611 $(MAKE) $(FLAGS_TO_PASS) \
17612 $(POSTSTAGE1_FLAGS_TO_PASS) \
17613 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
17614 @endif libcpp-bootstrap
17617 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
17618 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
17619 maybe-all-stagefeedback-libcpp:
17620 maybe-clean-stagefeedback-libcpp:
17621 @if libcpp-bootstrap
17622 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
17623 all-stagefeedback: all-stagefeedback-libcpp
17624 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
17625 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
17626 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17627 @r=`${PWD_COMMAND}`; export r; \
17628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17629 $(HOST_EXPORTS) \
17630 $(POSTSTAGE1_HOST_EXPORTS) \
17631 cd $(HOST_SUBDIR)/libcpp && \
17632 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
17633 $(TARGET-stagefeedback-libcpp)
17635 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
17636 clean-stagefeedback: clean-stagefeedback-libcpp
17637 clean-stagefeedback-libcpp:
17638 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] \
17639 || exit 0 ; \
17640 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
17641 cd $(HOST_SUBDIR)/libcpp && \
17642 $(MAKE) $(FLAGS_TO_PASS) \
17643 $(POSTSTAGE1_FLAGS_TO_PASS) \
17644 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
17645 @endif libcpp-bootstrap
17651 .PHONY: check-libcpp maybe-check-libcpp
17652 maybe-check-libcpp:
17653 @if libcpp
17654 maybe-check-libcpp: check-libcpp
17656 check-libcpp:
17657 @: $(MAKE); $(unstage)
17658 @r=`${PWD_COMMAND}`; export r; \
17659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17660 $(HOST_EXPORTS) \
17661 (cd $(HOST_SUBDIR)/libcpp && \
17662 $(MAKE) $(FLAGS_TO_PASS) check)
17664 @endif libcpp
17666 .PHONY: install-libcpp maybe-install-libcpp
17667 maybe-install-libcpp:
17668 @if libcpp
17669 maybe-install-libcpp: install-libcpp
17671 install-libcpp: installdirs
17672 @: $(MAKE); $(unstage)
17673 @r=`${PWD_COMMAND}`; export r; \
17674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17675 $(HOST_EXPORTS) \
17676 (cd $(HOST_SUBDIR)/libcpp && \
17677 $(MAKE) $(FLAGS_TO_PASS) install)
17679 @endif libcpp
17681 # Other targets (info, dvi, etc.)
17683 .PHONY: maybe-info-libcpp info-libcpp
17684 maybe-info-libcpp:
17685 @if libcpp
17686 maybe-info-libcpp: info-libcpp
17688 info-libcpp: \
17689 configure-libcpp
17690 @[ -f ./libcpp/Makefile ] || exit 0; \
17691 r=`${PWD_COMMAND}`; export r; \
17692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17693 $(HOST_EXPORTS) \
17694 for flag in $(EXTRA_HOST_FLAGS) ; do \
17695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17696 done; \
17697 echo "Doing info in libcpp" ; \
17698 (cd $(HOST_SUBDIR)/libcpp && \
17699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17701 "RANLIB=$${RANLIB}" \
17702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17703 info) \
17704 || exit 1
17706 @endif libcpp
17708 .PHONY: maybe-dvi-libcpp dvi-libcpp
17709 maybe-dvi-libcpp:
17710 @if libcpp
17711 maybe-dvi-libcpp: dvi-libcpp
17713 dvi-libcpp: \
17714 configure-libcpp
17715 @[ -f ./libcpp/Makefile ] || exit 0; \
17716 r=`${PWD_COMMAND}`; export r; \
17717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17718 $(HOST_EXPORTS) \
17719 for flag in $(EXTRA_HOST_FLAGS) ; do \
17720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17721 done; \
17722 echo "Doing dvi in libcpp" ; \
17723 (cd $(HOST_SUBDIR)/libcpp && \
17724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17726 "RANLIB=$${RANLIB}" \
17727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17728 dvi) \
17729 || exit 1
17731 @endif libcpp
17733 .PHONY: maybe-html-libcpp html-libcpp
17734 maybe-html-libcpp:
17735 @if libcpp
17736 maybe-html-libcpp: html-libcpp
17738 html-libcpp: \
17739 configure-libcpp
17740 @[ -f ./libcpp/Makefile ] || exit 0; \
17741 r=`${PWD_COMMAND}`; export r; \
17742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17743 $(HOST_EXPORTS) \
17744 for flag in $(EXTRA_HOST_FLAGS) ; do \
17745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17746 done; \
17747 echo "Doing html in libcpp" ; \
17748 (cd $(HOST_SUBDIR)/libcpp && \
17749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17751 "RANLIB=$${RANLIB}" \
17752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17753 html) \
17754 || exit 1
17756 @endif libcpp
17758 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
17759 maybe-TAGS-libcpp:
17760 @if libcpp
17761 maybe-TAGS-libcpp: TAGS-libcpp
17763 TAGS-libcpp: \
17764 configure-libcpp
17765 @[ -f ./libcpp/Makefile ] || exit 0; \
17766 r=`${PWD_COMMAND}`; export r; \
17767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17768 $(HOST_EXPORTS) \
17769 for flag in $(EXTRA_HOST_FLAGS) ; do \
17770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17771 done; \
17772 echo "Doing TAGS in libcpp" ; \
17773 (cd $(HOST_SUBDIR)/libcpp && \
17774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17776 "RANLIB=$${RANLIB}" \
17777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17778 TAGS) \
17779 || exit 1
17781 @endif libcpp
17783 .PHONY: maybe-install-info-libcpp install-info-libcpp
17784 maybe-install-info-libcpp:
17785 @if libcpp
17786 maybe-install-info-libcpp: install-info-libcpp
17788 install-info-libcpp: \
17789 configure-libcpp \
17790 info-libcpp
17791 @[ -f ./libcpp/Makefile ] || exit 0; \
17792 r=`${PWD_COMMAND}`; export r; \
17793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17794 $(HOST_EXPORTS) \
17795 for flag in $(EXTRA_HOST_FLAGS) ; do \
17796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17797 done; \
17798 echo "Doing install-info in libcpp" ; \
17799 (cd $(HOST_SUBDIR)/libcpp && \
17800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17802 "RANLIB=$${RANLIB}" \
17803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17804 install-info) \
17805 || exit 1
17807 @endif libcpp
17809 .PHONY: maybe-install-html-libcpp install-html-libcpp
17810 maybe-install-html-libcpp:
17811 @if libcpp
17812 maybe-install-html-libcpp: install-html-libcpp
17814 install-html-libcpp: \
17815 configure-libcpp \
17816 html-libcpp
17817 @[ -f ./libcpp/Makefile ] || exit 0; \
17818 r=`${PWD_COMMAND}`; export r; \
17819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17820 $(HOST_EXPORTS) \
17821 for flag in $(EXTRA_HOST_FLAGS) ; do \
17822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17823 done; \
17824 echo "Doing install-html in libcpp" ; \
17825 (cd $(HOST_SUBDIR)/libcpp && \
17826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17828 "RANLIB=$${RANLIB}" \
17829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17830 install-html) \
17831 || exit 1
17833 @endif libcpp
17835 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
17836 maybe-installcheck-libcpp:
17837 @if libcpp
17838 maybe-installcheck-libcpp: installcheck-libcpp
17840 installcheck-libcpp: \
17841 configure-libcpp
17842 @[ -f ./libcpp/Makefile ] || exit 0; \
17843 r=`${PWD_COMMAND}`; export r; \
17844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17845 $(HOST_EXPORTS) \
17846 for flag in $(EXTRA_HOST_FLAGS) ; do \
17847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17848 done; \
17849 echo "Doing installcheck in libcpp" ; \
17850 (cd $(HOST_SUBDIR)/libcpp && \
17851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17853 "RANLIB=$${RANLIB}" \
17854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17855 installcheck) \
17856 || exit 1
17858 @endif libcpp
17860 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
17861 maybe-mostlyclean-libcpp:
17862 @if libcpp
17863 maybe-mostlyclean-libcpp: mostlyclean-libcpp
17865 mostlyclean-libcpp:
17866 @[ -f ./libcpp/Makefile ] || exit 0; \
17867 r=`${PWD_COMMAND}`; export r; \
17868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17869 $(HOST_EXPORTS) \
17870 for flag in $(EXTRA_HOST_FLAGS) ; do \
17871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17872 done; \
17873 echo "Doing mostlyclean in libcpp" ; \
17874 (cd $(HOST_SUBDIR)/libcpp && \
17875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17877 "RANLIB=$${RANLIB}" \
17878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17879 mostlyclean) \
17880 || exit 1
17882 @endif libcpp
17884 .PHONY: maybe-clean-libcpp clean-libcpp
17885 maybe-clean-libcpp:
17886 @if libcpp
17887 maybe-clean-libcpp: clean-libcpp
17889 clean-libcpp:
17890 @[ -f ./libcpp/Makefile ] || exit 0; \
17891 r=`${PWD_COMMAND}`; export r; \
17892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17893 $(HOST_EXPORTS) \
17894 for flag in $(EXTRA_HOST_FLAGS) ; do \
17895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17896 done; \
17897 echo "Doing clean in libcpp" ; \
17898 (cd $(HOST_SUBDIR)/libcpp && \
17899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17901 "RANLIB=$${RANLIB}" \
17902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17903 clean) \
17904 || exit 1
17906 @endif libcpp
17908 .PHONY: maybe-distclean-libcpp distclean-libcpp
17909 maybe-distclean-libcpp:
17910 @if libcpp
17911 maybe-distclean-libcpp: distclean-libcpp
17913 distclean-libcpp:
17914 @[ -f ./libcpp/Makefile ] || exit 0; \
17915 r=`${PWD_COMMAND}`; export r; \
17916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17917 $(HOST_EXPORTS) \
17918 for flag in $(EXTRA_HOST_FLAGS) ; do \
17919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17920 done; \
17921 echo "Doing distclean in libcpp" ; \
17922 (cd $(HOST_SUBDIR)/libcpp && \
17923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17925 "RANLIB=$${RANLIB}" \
17926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17927 distclean) \
17928 || exit 1
17930 @endif libcpp
17932 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
17933 maybe-maintainer-clean-libcpp:
17934 @if libcpp
17935 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
17937 maintainer-clean-libcpp:
17938 @[ -f ./libcpp/Makefile ] || exit 0; \
17939 r=`${PWD_COMMAND}`; export r; \
17940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17941 $(HOST_EXPORTS) \
17942 for flag in $(EXTRA_HOST_FLAGS) ; do \
17943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17944 done; \
17945 echo "Doing maintainer-clean in libcpp" ; \
17946 (cd $(HOST_SUBDIR)/libcpp && \
17947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17949 "RANLIB=$${RANLIB}" \
17950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17951 maintainer-clean) \
17952 || exit 1
17954 @endif libcpp
17958 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
17959 maybe-configure-libdecnumber:
17960 @if gcc-bootstrap
17961 configure-libdecnumber: stage_current
17962 @endif gcc-bootstrap
17963 @if libdecnumber
17964 maybe-configure-libdecnumber: configure-libdecnumber
17965 configure-libdecnumber:
17966 @r=`${PWD_COMMAND}`; export r; \
17967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17968 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17969 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17970 $(HOST_EXPORTS) \
17971 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
17972 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
17973 case $(srcdir) in \
17974 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17975 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17976 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17977 esac; \
17978 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17979 libsrcdir="$$s/libdecnumber"; \
17980 $(SHELL) $${libsrcdir}/configure \
17981 $(HOST_CONFIGARGS) $${srcdiroption} \
17982 || exit 1
17983 @endif libdecnumber
17987 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
17988 maybe-configure-stage1-libdecnumber:
17989 @if libdecnumber-bootstrap
17990 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
17991 configure-stage1-libdecnumber:
17992 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17993 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
17994 @r=`${PWD_COMMAND}`; export r; \
17995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17996 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17997 $(HOST_EXPORTS) \
17998 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
17999 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
18000 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
18001 case $(srcdir) in \
18002 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18003 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
18004 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18005 esac; \
18006 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
18007 libsrcdir="$$s/libdecnumber"; \
18008 $(SHELL) $${libsrcdir}/configure \
18009 $(HOST_CONFIGARGS) $${srcdiroption} \
18011 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
18012 @endif libdecnumber-bootstrap
18014 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
18015 maybe-configure-stage2-libdecnumber:
18016 @if libdecnumber-bootstrap
18017 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
18018 configure-stage2-libdecnumber:
18019 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18020 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
18021 @r=`${PWD_COMMAND}`; export r; \
18022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18023 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
18024 $(HOST_EXPORTS) \
18025 $(POSTSTAGE1_HOST_EXPORTS) \
18026 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
18027 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
18028 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
18029 case $(srcdir) in \
18030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18031 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
18032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18033 esac; \
18034 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
18035 libsrcdir="$$s/libdecnumber"; \
18036 $(SHELL) $${libsrcdir}/configure \
18037 $(HOST_CONFIGARGS) $${srcdiroption} \
18038 --with-build-libsubdir=$(HOST_SUBDIR) \
18039 @stage2_werror_flag@
18040 @endif libdecnumber-bootstrap
18042 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
18043 maybe-configure-stage3-libdecnumber:
18044 @if libdecnumber-bootstrap
18045 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
18046 configure-stage3-libdecnumber:
18047 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18048 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
18049 @r=`${PWD_COMMAND}`; export r; \
18050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18051 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
18052 $(HOST_EXPORTS) \
18053 $(POSTSTAGE1_HOST_EXPORTS) \
18054 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
18055 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
18056 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
18057 case $(srcdir) in \
18058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18059 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
18060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18061 esac; \
18062 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
18063 libsrcdir="$$s/libdecnumber"; \
18064 $(SHELL) $${libsrcdir}/configure \
18065 $(HOST_CONFIGARGS) $${srcdiroption} \
18066 --with-build-libsubdir=$(HOST_SUBDIR) \
18067 @stage2_werror_flag@
18068 @endif libdecnumber-bootstrap
18070 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
18071 maybe-configure-stage4-libdecnumber:
18072 @if libdecnumber-bootstrap
18073 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
18074 configure-stage4-libdecnumber:
18075 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18076 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
18077 @r=`${PWD_COMMAND}`; export r; \
18078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18079 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
18080 $(HOST_EXPORTS) \
18081 $(POSTSTAGE1_HOST_EXPORTS) \
18082 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
18083 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
18084 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
18085 case $(srcdir) in \
18086 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18087 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
18088 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18089 esac; \
18090 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
18091 libsrcdir="$$s/libdecnumber"; \
18092 $(SHELL) $${libsrcdir}/configure \
18093 $(HOST_CONFIGARGS) $${srcdiroption} \
18094 --with-build-libsubdir=$(HOST_SUBDIR) \
18095 @stage2_werror_flag@
18096 @endif libdecnumber-bootstrap
18098 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
18099 maybe-configure-stageprofile-libdecnumber:
18100 @if libdecnumber-bootstrap
18101 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
18102 configure-stageprofile-libdecnumber:
18103 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18104 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
18105 @r=`${PWD_COMMAND}`; export r; \
18106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18107 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
18108 $(HOST_EXPORTS) \
18109 $(POSTSTAGE1_HOST_EXPORTS) \
18110 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
18111 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
18112 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
18113 case $(srcdir) in \
18114 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18115 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
18116 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18117 esac; \
18118 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
18119 libsrcdir="$$s/libdecnumber"; \
18120 $(SHELL) $${libsrcdir}/configure \
18121 $(HOST_CONFIGARGS) $${srcdiroption} \
18122 --with-build-libsubdir=$(HOST_SUBDIR) \
18123 @stage2_werror_flag@
18124 @endif libdecnumber-bootstrap
18126 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
18127 maybe-configure-stagefeedback-libdecnumber:
18128 @if libdecnumber-bootstrap
18129 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
18130 configure-stagefeedback-libdecnumber:
18131 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18132 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
18133 @r=`${PWD_COMMAND}`; export r; \
18134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18135 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
18136 $(HOST_EXPORTS) \
18137 $(POSTSTAGE1_HOST_EXPORTS) \
18138 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
18139 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
18140 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
18141 case $(srcdir) in \
18142 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18143 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
18144 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18145 esac; \
18146 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
18147 libsrcdir="$$s/libdecnumber"; \
18148 $(SHELL) $${libsrcdir}/configure \
18149 $(HOST_CONFIGARGS) $${srcdiroption} \
18150 --with-build-libsubdir=$(HOST_SUBDIR) \
18151 @stage2_werror_flag@
18152 @endif libdecnumber-bootstrap
18158 .PHONY: all-libdecnumber maybe-all-libdecnumber
18159 maybe-all-libdecnumber:
18160 @if gcc-bootstrap
18161 all-libdecnumber: stage_current
18162 @endif gcc-bootstrap
18163 @if libdecnumber
18164 TARGET-libdecnumber=all
18165 maybe-all-libdecnumber: all-libdecnumber
18166 all-libdecnumber: configure-libdecnumber
18167 @r=`${PWD_COMMAND}`; export r; \
18168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18169 $(HOST_EXPORTS) \
18170 (cd $(HOST_SUBDIR)/libdecnumber && \
18171 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libdecnumber))
18172 @endif libdecnumber
18176 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
18177 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
18178 maybe-all-stage1-libdecnumber:
18179 maybe-clean-stage1-libdecnumber:
18180 @if libdecnumber-bootstrap
18181 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
18182 all-stage1: all-stage1-libdecnumber
18183 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
18184 all-stage1-libdecnumber: configure-stage1-libdecnumber
18185 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18186 @r=`${PWD_COMMAND}`; export r; \
18187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18188 $(HOST_EXPORTS) \
18189 cd $(HOST_SUBDIR)/libdecnumber && \
18190 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
18191 $(TARGET-stage1-libdecnumber)
18193 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
18194 clean-stage1: clean-stage1-libdecnumber
18195 clean-stage1-libdecnumber:
18196 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] \
18197 || exit 0 ; \
18198 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
18199 cd $(HOST_SUBDIR)/libdecnumber && \
18200 $(MAKE) $(FLAGS_TO_PASS) \
18201 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
18202 @endif libdecnumber-bootstrap
18205 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
18206 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
18207 maybe-all-stage2-libdecnumber:
18208 maybe-clean-stage2-libdecnumber:
18209 @if libdecnumber-bootstrap
18210 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
18211 all-stage2: all-stage2-libdecnumber
18212 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
18213 all-stage2-libdecnumber: configure-stage2-libdecnumber
18214 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18215 @r=`${PWD_COMMAND}`; export r; \
18216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18217 $(HOST_EXPORTS) \
18218 $(POSTSTAGE1_HOST_EXPORTS) \
18219 cd $(HOST_SUBDIR)/libdecnumber && \
18220 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18221 $(TARGET-stage2-libdecnumber)
18223 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
18224 clean-stage2: clean-stage2-libdecnumber
18225 clean-stage2-libdecnumber:
18226 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] \
18227 || exit 0 ; \
18228 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
18229 cd $(HOST_SUBDIR)/libdecnumber && \
18230 $(MAKE) $(FLAGS_TO_PASS) \
18231 $(POSTSTAGE1_FLAGS_TO_PASS) \
18232 clean
18233 @endif libdecnumber-bootstrap
18236 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
18237 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
18238 maybe-all-stage3-libdecnumber:
18239 maybe-clean-stage3-libdecnumber:
18240 @if libdecnumber-bootstrap
18241 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
18242 all-stage3: all-stage3-libdecnumber
18243 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
18244 all-stage3-libdecnumber: configure-stage3-libdecnumber
18245 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18246 @r=`${PWD_COMMAND}`; export r; \
18247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18248 $(HOST_EXPORTS) \
18249 $(POSTSTAGE1_HOST_EXPORTS) \
18250 cd $(HOST_SUBDIR)/libdecnumber && \
18251 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18252 $(TARGET-stage3-libdecnumber)
18254 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
18255 clean-stage3: clean-stage3-libdecnumber
18256 clean-stage3-libdecnumber:
18257 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] \
18258 || exit 0 ; \
18259 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
18260 cd $(HOST_SUBDIR)/libdecnumber && \
18261 $(MAKE) $(FLAGS_TO_PASS) \
18262 $(POSTSTAGE1_FLAGS_TO_PASS) \
18263 clean
18264 @endif libdecnumber-bootstrap
18267 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
18268 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
18269 maybe-all-stage4-libdecnumber:
18270 maybe-clean-stage4-libdecnumber:
18271 @if libdecnumber-bootstrap
18272 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
18273 all-stage4: all-stage4-libdecnumber
18274 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
18275 all-stage4-libdecnumber: configure-stage4-libdecnumber
18276 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18277 @r=`${PWD_COMMAND}`; export r; \
18278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18279 $(HOST_EXPORTS) \
18280 $(POSTSTAGE1_HOST_EXPORTS) \
18281 cd $(HOST_SUBDIR)/libdecnumber && \
18282 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18283 $(TARGET-stage4-libdecnumber)
18285 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
18286 clean-stage4: clean-stage4-libdecnumber
18287 clean-stage4-libdecnumber:
18288 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] \
18289 || exit 0 ; \
18290 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
18291 cd $(HOST_SUBDIR)/libdecnumber && \
18292 $(MAKE) $(FLAGS_TO_PASS) \
18293 $(POSTSTAGE1_FLAGS_TO_PASS) \
18294 clean
18295 @endif libdecnumber-bootstrap
18298 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
18299 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
18300 maybe-all-stageprofile-libdecnumber:
18301 maybe-clean-stageprofile-libdecnumber:
18302 @if libdecnumber-bootstrap
18303 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
18304 all-stageprofile: all-stageprofile-libdecnumber
18305 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
18306 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
18307 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18308 @r=`${PWD_COMMAND}`; export r; \
18309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18310 $(HOST_EXPORTS) \
18311 $(POSTSTAGE1_HOST_EXPORTS) \
18312 cd $(HOST_SUBDIR)/libdecnumber && \
18313 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
18314 $(TARGET-stageprofile-libdecnumber)
18316 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
18317 clean-stageprofile: clean-stageprofile-libdecnumber
18318 clean-stageprofile-libdecnumber:
18319 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] \
18320 || exit 0 ; \
18321 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
18322 cd $(HOST_SUBDIR)/libdecnumber && \
18323 $(MAKE) $(FLAGS_TO_PASS) \
18324 $(POSTSTAGE1_FLAGS_TO_PASS) \
18325 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
18326 @endif libdecnumber-bootstrap
18329 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
18330 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
18331 maybe-all-stagefeedback-libdecnumber:
18332 maybe-clean-stagefeedback-libdecnumber:
18333 @if libdecnumber-bootstrap
18334 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
18335 all-stagefeedback: all-stagefeedback-libdecnumber
18336 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
18337 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
18338 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18339 @r=`${PWD_COMMAND}`; export r; \
18340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18341 $(HOST_EXPORTS) \
18342 $(POSTSTAGE1_HOST_EXPORTS) \
18343 cd $(HOST_SUBDIR)/libdecnumber && \
18344 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
18345 $(TARGET-stagefeedback-libdecnumber)
18347 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
18348 clean-stagefeedback: clean-stagefeedback-libdecnumber
18349 clean-stagefeedback-libdecnumber:
18350 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] \
18351 || exit 0 ; \
18352 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
18353 cd $(HOST_SUBDIR)/libdecnumber && \
18354 $(MAKE) $(FLAGS_TO_PASS) \
18355 $(POSTSTAGE1_FLAGS_TO_PASS) \
18356 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
18357 @endif libdecnumber-bootstrap
18363 .PHONY: check-libdecnumber maybe-check-libdecnumber
18364 maybe-check-libdecnumber:
18365 @if libdecnumber
18366 maybe-check-libdecnumber: check-libdecnumber
18368 check-libdecnumber:
18369 @: $(MAKE); $(unstage)
18370 @r=`${PWD_COMMAND}`; export r; \
18371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18372 $(HOST_EXPORTS) \
18373 (cd $(HOST_SUBDIR)/libdecnumber && \
18374 $(MAKE) $(FLAGS_TO_PASS) check)
18376 @endif libdecnumber
18378 .PHONY: install-libdecnumber maybe-install-libdecnumber
18379 maybe-install-libdecnumber:
18380 @if libdecnumber
18381 maybe-install-libdecnumber: install-libdecnumber
18383 install-libdecnumber: installdirs
18384 @: $(MAKE); $(unstage)
18385 @r=`${PWD_COMMAND}`; export r; \
18386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18387 $(HOST_EXPORTS) \
18388 (cd $(HOST_SUBDIR)/libdecnumber && \
18389 $(MAKE) $(FLAGS_TO_PASS) install)
18391 @endif libdecnumber
18393 # Other targets (info, dvi, etc.)
18395 .PHONY: maybe-info-libdecnumber info-libdecnumber
18396 maybe-info-libdecnumber:
18397 @if libdecnumber
18398 maybe-info-libdecnumber: info-libdecnumber
18400 info-libdecnumber: \
18401 configure-libdecnumber
18402 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18403 r=`${PWD_COMMAND}`; export r; \
18404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18405 $(HOST_EXPORTS) \
18406 for flag in $(EXTRA_HOST_FLAGS) ; do \
18407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18408 done; \
18409 echo "Doing info in libdecnumber" ; \
18410 (cd $(HOST_SUBDIR)/libdecnumber && \
18411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18413 "RANLIB=$${RANLIB}" \
18414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18415 info) \
18416 || exit 1
18418 @endif libdecnumber
18420 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
18421 maybe-dvi-libdecnumber:
18422 @if libdecnumber
18423 maybe-dvi-libdecnumber: dvi-libdecnumber
18425 dvi-libdecnumber: \
18426 configure-libdecnumber
18427 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18428 r=`${PWD_COMMAND}`; export r; \
18429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18430 $(HOST_EXPORTS) \
18431 for flag in $(EXTRA_HOST_FLAGS) ; do \
18432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18433 done; \
18434 echo "Doing dvi in libdecnumber" ; \
18435 (cd $(HOST_SUBDIR)/libdecnumber && \
18436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18438 "RANLIB=$${RANLIB}" \
18439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18440 dvi) \
18441 || exit 1
18443 @endif libdecnumber
18445 .PHONY: maybe-html-libdecnumber html-libdecnumber
18446 maybe-html-libdecnumber:
18447 @if libdecnumber
18448 maybe-html-libdecnumber: html-libdecnumber
18450 html-libdecnumber: \
18451 configure-libdecnumber
18452 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18453 r=`${PWD_COMMAND}`; export r; \
18454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18455 $(HOST_EXPORTS) \
18456 for flag in $(EXTRA_HOST_FLAGS) ; do \
18457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18458 done; \
18459 echo "Doing html in libdecnumber" ; \
18460 (cd $(HOST_SUBDIR)/libdecnumber && \
18461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18463 "RANLIB=$${RANLIB}" \
18464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18465 html) \
18466 || exit 1
18468 @endif libdecnumber
18470 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
18471 maybe-TAGS-libdecnumber:
18472 @if libdecnumber
18473 maybe-TAGS-libdecnumber: TAGS-libdecnumber
18475 TAGS-libdecnumber: \
18476 configure-libdecnumber
18477 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18478 r=`${PWD_COMMAND}`; export r; \
18479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18480 $(HOST_EXPORTS) \
18481 for flag in $(EXTRA_HOST_FLAGS) ; do \
18482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18483 done; \
18484 echo "Doing TAGS in libdecnumber" ; \
18485 (cd $(HOST_SUBDIR)/libdecnumber && \
18486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18488 "RANLIB=$${RANLIB}" \
18489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18490 TAGS) \
18491 || exit 1
18493 @endif libdecnumber
18495 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
18496 maybe-install-info-libdecnumber:
18497 @if libdecnumber
18498 maybe-install-info-libdecnumber: install-info-libdecnumber
18500 install-info-libdecnumber: \
18501 configure-libdecnumber \
18502 info-libdecnumber
18503 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18504 r=`${PWD_COMMAND}`; export r; \
18505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18506 $(HOST_EXPORTS) \
18507 for flag in $(EXTRA_HOST_FLAGS) ; do \
18508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18509 done; \
18510 echo "Doing install-info in libdecnumber" ; \
18511 (cd $(HOST_SUBDIR)/libdecnumber && \
18512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18514 "RANLIB=$${RANLIB}" \
18515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18516 install-info) \
18517 || exit 1
18519 @endif libdecnumber
18521 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
18522 maybe-install-html-libdecnumber:
18523 @if libdecnumber
18524 maybe-install-html-libdecnumber: install-html-libdecnumber
18526 install-html-libdecnumber: \
18527 configure-libdecnumber \
18528 html-libdecnumber
18529 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18530 r=`${PWD_COMMAND}`; export r; \
18531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18532 $(HOST_EXPORTS) \
18533 for flag in $(EXTRA_HOST_FLAGS) ; do \
18534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18535 done; \
18536 echo "Doing install-html in libdecnumber" ; \
18537 (cd $(HOST_SUBDIR)/libdecnumber && \
18538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18540 "RANLIB=$${RANLIB}" \
18541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18542 install-html) \
18543 || exit 1
18545 @endif libdecnumber
18547 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
18548 maybe-installcheck-libdecnumber:
18549 @if libdecnumber
18550 maybe-installcheck-libdecnumber: installcheck-libdecnumber
18552 installcheck-libdecnumber: \
18553 configure-libdecnumber
18554 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18555 r=`${PWD_COMMAND}`; export r; \
18556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18557 $(HOST_EXPORTS) \
18558 for flag in $(EXTRA_HOST_FLAGS) ; do \
18559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18560 done; \
18561 echo "Doing installcheck in libdecnumber" ; \
18562 (cd $(HOST_SUBDIR)/libdecnumber && \
18563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18565 "RANLIB=$${RANLIB}" \
18566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18567 installcheck) \
18568 || exit 1
18570 @endif libdecnumber
18572 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
18573 maybe-mostlyclean-libdecnumber:
18574 @if libdecnumber
18575 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
18577 mostlyclean-libdecnumber:
18578 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18579 r=`${PWD_COMMAND}`; export r; \
18580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18581 $(HOST_EXPORTS) \
18582 for flag in $(EXTRA_HOST_FLAGS) ; do \
18583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18584 done; \
18585 echo "Doing mostlyclean in libdecnumber" ; \
18586 (cd $(HOST_SUBDIR)/libdecnumber && \
18587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18589 "RANLIB=$${RANLIB}" \
18590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18591 mostlyclean) \
18592 || exit 1
18594 @endif libdecnumber
18596 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
18597 maybe-clean-libdecnumber:
18598 @if libdecnumber
18599 maybe-clean-libdecnumber: clean-libdecnumber
18601 clean-libdecnumber:
18602 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18603 r=`${PWD_COMMAND}`; export r; \
18604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18605 $(HOST_EXPORTS) \
18606 for flag in $(EXTRA_HOST_FLAGS) ; do \
18607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18608 done; \
18609 echo "Doing clean in libdecnumber" ; \
18610 (cd $(HOST_SUBDIR)/libdecnumber && \
18611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18613 "RANLIB=$${RANLIB}" \
18614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18615 clean) \
18616 || exit 1
18618 @endif libdecnumber
18620 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
18621 maybe-distclean-libdecnumber:
18622 @if libdecnumber
18623 maybe-distclean-libdecnumber: distclean-libdecnumber
18625 distclean-libdecnumber:
18626 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18627 r=`${PWD_COMMAND}`; export r; \
18628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18629 $(HOST_EXPORTS) \
18630 for flag in $(EXTRA_HOST_FLAGS) ; do \
18631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18632 done; \
18633 echo "Doing distclean in libdecnumber" ; \
18634 (cd $(HOST_SUBDIR)/libdecnumber && \
18635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18637 "RANLIB=$${RANLIB}" \
18638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18639 distclean) \
18640 || exit 1
18642 @endif libdecnumber
18644 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
18645 maybe-maintainer-clean-libdecnumber:
18646 @if libdecnumber
18647 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
18649 maintainer-clean-libdecnumber:
18650 @[ -f ./libdecnumber/Makefile ] || exit 0; \
18651 r=`${PWD_COMMAND}`; export r; \
18652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18653 $(HOST_EXPORTS) \
18654 for flag in $(EXTRA_HOST_FLAGS) ; do \
18655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18656 done; \
18657 echo "Doing maintainer-clean in libdecnumber" ; \
18658 (cd $(HOST_SUBDIR)/libdecnumber && \
18659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18661 "RANLIB=$${RANLIB}" \
18662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18663 maintainer-clean) \
18664 || exit 1
18666 @endif libdecnumber
18670 .PHONY: configure-libgui maybe-configure-libgui
18671 maybe-configure-libgui:
18672 @if gcc-bootstrap
18673 configure-libgui: stage_current
18674 @endif gcc-bootstrap
18675 @if libgui
18676 maybe-configure-libgui: configure-libgui
18677 configure-libgui:
18678 @: $(MAKE); $(unstage)
18679 @r=`${PWD_COMMAND}`; export r; \
18680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18681 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
18682 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
18683 $(HOST_EXPORTS) \
18684 echo Configuring in $(HOST_SUBDIR)/libgui; \
18685 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
18686 case $(srcdir) in \
18687 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18688 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
18689 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18690 esac; \
18691 srcdiroption="--srcdir=$${topdir}/libgui"; \
18692 libsrcdir="$$s/libgui"; \
18693 $(SHELL) $${libsrcdir}/configure \
18694 $(HOST_CONFIGARGS) $${srcdiroption} \
18695 || exit 1
18696 @endif libgui
18702 .PHONY: all-libgui maybe-all-libgui
18703 maybe-all-libgui:
18704 @if gcc-bootstrap
18705 all-libgui: stage_current
18706 @endif gcc-bootstrap
18707 @if libgui
18708 TARGET-libgui=all
18709 maybe-all-libgui: all-libgui
18710 all-libgui: configure-libgui
18711 @: $(MAKE); $(unstage)
18712 @r=`${PWD_COMMAND}`; export r; \
18713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18714 $(HOST_EXPORTS) \
18715 (cd $(HOST_SUBDIR)/libgui && \
18716 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
18717 @endif libgui
18722 .PHONY: check-libgui maybe-check-libgui
18723 maybe-check-libgui:
18724 @if libgui
18725 maybe-check-libgui: check-libgui
18727 check-libgui:
18728 @: $(MAKE); $(unstage)
18729 @r=`${PWD_COMMAND}`; export r; \
18730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18731 $(HOST_EXPORTS) \
18732 (cd $(HOST_SUBDIR)/libgui && \
18733 $(MAKE) $(FLAGS_TO_PASS) check)
18735 @endif libgui
18737 .PHONY: install-libgui maybe-install-libgui
18738 maybe-install-libgui:
18739 @if libgui
18740 maybe-install-libgui: install-libgui
18742 install-libgui: installdirs
18743 @: $(MAKE); $(unstage)
18744 @r=`${PWD_COMMAND}`; export r; \
18745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18746 $(HOST_EXPORTS) \
18747 (cd $(HOST_SUBDIR)/libgui && \
18748 $(MAKE) $(FLAGS_TO_PASS) install)
18750 @endif libgui
18752 # Other targets (info, dvi, etc.)
18754 .PHONY: maybe-info-libgui info-libgui
18755 maybe-info-libgui:
18756 @if libgui
18757 maybe-info-libgui: info-libgui
18759 info-libgui: \
18760 configure-libgui
18761 @: $(MAKE); $(unstage)
18762 @[ -f ./libgui/Makefile ] || exit 0; \
18763 r=`${PWD_COMMAND}`; export r; \
18764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18765 $(HOST_EXPORTS) \
18766 for flag in $(EXTRA_HOST_FLAGS) ; do \
18767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18768 done; \
18769 echo "Doing info in libgui" ; \
18770 (cd $(HOST_SUBDIR)/libgui && \
18771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18773 "RANLIB=$${RANLIB}" \
18774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18775 info) \
18776 || exit 1
18778 @endif libgui
18780 .PHONY: maybe-dvi-libgui dvi-libgui
18781 maybe-dvi-libgui:
18782 @if libgui
18783 maybe-dvi-libgui: dvi-libgui
18785 dvi-libgui: \
18786 configure-libgui
18787 @: $(MAKE); $(unstage)
18788 @[ -f ./libgui/Makefile ] || exit 0; \
18789 r=`${PWD_COMMAND}`; export r; \
18790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18791 $(HOST_EXPORTS) \
18792 for flag in $(EXTRA_HOST_FLAGS) ; do \
18793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18794 done; \
18795 echo "Doing dvi in libgui" ; \
18796 (cd $(HOST_SUBDIR)/libgui && \
18797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18799 "RANLIB=$${RANLIB}" \
18800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18801 dvi) \
18802 || exit 1
18804 @endif libgui
18806 .PHONY: maybe-html-libgui html-libgui
18807 maybe-html-libgui:
18808 @if libgui
18809 maybe-html-libgui: html-libgui
18811 html-libgui: \
18812 configure-libgui
18813 @: $(MAKE); $(unstage)
18814 @[ -f ./libgui/Makefile ] || exit 0; \
18815 r=`${PWD_COMMAND}`; export r; \
18816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18817 $(HOST_EXPORTS) \
18818 for flag in $(EXTRA_HOST_FLAGS) ; do \
18819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18820 done; \
18821 echo "Doing html in libgui" ; \
18822 (cd $(HOST_SUBDIR)/libgui && \
18823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18825 "RANLIB=$${RANLIB}" \
18826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18827 html) \
18828 || exit 1
18830 @endif libgui
18832 .PHONY: maybe-TAGS-libgui TAGS-libgui
18833 maybe-TAGS-libgui:
18834 @if libgui
18835 maybe-TAGS-libgui: TAGS-libgui
18837 TAGS-libgui: \
18838 configure-libgui
18839 @: $(MAKE); $(unstage)
18840 @[ -f ./libgui/Makefile ] || exit 0; \
18841 r=`${PWD_COMMAND}`; export r; \
18842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18843 $(HOST_EXPORTS) \
18844 for flag in $(EXTRA_HOST_FLAGS) ; do \
18845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18846 done; \
18847 echo "Doing TAGS in libgui" ; \
18848 (cd $(HOST_SUBDIR)/libgui && \
18849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18851 "RANLIB=$${RANLIB}" \
18852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18853 TAGS) \
18854 || exit 1
18856 @endif libgui
18858 .PHONY: maybe-install-info-libgui install-info-libgui
18859 maybe-install-info-libgui:
18860 @if libgui
18861 maybe-install-info-libgui: install-info-libgui
18863 install-info-libgui: \
18864 configure-libgui \
18865 info-libgui
18866 @: $(MAKE); $(unstage)
18867 @[ -f ./libgui/Makefile ] || exit 0; \
18868 r=`${PWD_COMMAND}`; export r; \
18869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18870 $(HOST_EXPORTS) \
18871 for flag in $(EXTRA_HOST_FLAGS) ; do \
18872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18873 done; \
18874 echo "Doing install-info in libgui" ; \
18875 (cd $(HOST_SUBDIR)/libgui && \
18876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18878 "RANLIB=$${RANLIB}" \
18879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18880 install-info) \
18881 || exit 1
18883 @endif libgui
18885 .PHONY: maybe-install-html-libgui install-html-libgui
18886 maybe-install-html-libgui:
18887 @if libgui
18888 maybe-install-html-libgui: install-html-libgui
18890 install-html-libgui: \
18891 configure-libgui \
18892 html-libgui
18893 @: $(MAKE); $(unstage)
18894 @[ -f ./libgui/Makefile ] || exit 0; \
18895 r=`${PWD_COMMAND}`; export r; \
18896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18897 $(HOST_EXPORTS) \
18898 for flag in $(EXTRA_HOST_FLAGS) ; do \
18899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18900 done; \
18901 echo "Doing install-html in libgui" ; \
18902 (cd $(HOST_SUBDIR)/libgui && \
18903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18905 "RANLIB=$${RANLIB}" \
18906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18907 install-html) \
18908 || exit 1
18910 @endif libgui
18912 .PHONY: maybe-installcheck-libgui installcheck-libgui
18913 maybe-installcheck-libgui:
18914 @if libgui
18915 maybe-installcheck-libgui: installcheck-libgui
18917 installcheck-libgui: \
18918 configure-libgui
18919 @: $(MAKE); $(unstage)
18920 @[ -f ./libgui/Makefile ] || exit 0; \
18921 r=`${PWD_COMMAND}`; export r; \
18922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18923 $(HOST_EXPORTS) \
18924 for flag in $(EXTRA_HOST_FLAGS) ; do \
18925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18926 done; \
18927 echo "Doing installcheck in libgui" ; \
18928 (cd $(HOST_SUBDIR)/libgui && \
18929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18931 "RANLIB=$${RANLIB}" \
18932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18933 installcheck) \
18934 || exit 1
18936 @endif libgui
18938 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
18939 maybe-mostlyclean-libgui:
18940 @if libgui
18941 maybe-mostlyclean-libgui: mostlyclean-libgui
18943 mostlyclean-libgui:
18944 @: $(MAKE); $(unstage)
18945 @[ -f ./libgui/Makefile ] || exit 0; \
18946 r=`${PWD_COMMAND}`; export r; \
18947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18948 $(HOST_EXPORTS) \
18949 for flag in $(EXTRA_HOST_FLAGS) ; do \
18950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18951 done; \
18952 echo "Doing mostlyclean in libgui" ; \
18953 (cd $(HOST_SUBDIR)/libgui && \
18954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18956 "RANLIB=$${RANLIB}" \
18957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18958 mostlyclean) \
18959 || exit 1
18961 @endif libgui
18963 .PHONY: maybe-clean-libgui clean-libgui
18964 maybe-clean-libgui:
18965 @if libgui
18966 maybe-clean-libgui: clean-libgui
18968 clean-libgui:
18969 @: $(MAKE); $(unstage)
18970 @[ -f ./libgui/Makefile ] || exit 0; \
18971 r=`${PWD_COMMAND}`; export r; \
18972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18973 $(HOST_EXPORTS) \
18974 for flag in $(EXTRA_HOST_FLAGS) ; do \
18975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18976 done; \
18977 echo "Doing clean in libgui" ; \
18978 (cd $(HOST_SUBDIR)/libgui && \
18979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18981 "RANLIB=$${RANLIB}" \
18982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18983 clean) \
18984 || exit 1
18986 @endif libgui
18988 .PHONY: maybe-distclean-libgui distclean-libgui
18989 maybe-distclean-libgui:
18990 @if libgui
18991 maybe-distclean-libgui: distclean-libgui
18993 distclean-libgui:
18994 @: $(MAKE); $(unstage)
18995 @[ -f ./libgui/Makefile ] || exit 0; \
18996 r=`${PWD_COMMAND}`; export r; \
18997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18998 $(HOST_EXPORTS) \
18999 for flag in $(EXTRA_HOST_FLAGS) ; do \
19000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19001 done; \
19002 echo "Doing distclean in libgui" ; \
19003 (cd $(HOST_SUBDIR)/libgui && \
19004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19006 "RANLIB=$${RANLIB}" \
19007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19008 distclean) \
19009 || exit 1
19011 @endif libgui
19013 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
19014 maybe-maintainer-clean-libgui:
19015 @if libgui
19016 maybe-maintainer-clean-libgui: maintainer-clean-libgui
19018 maintainer-clean-libgui:
19019 @: $(MAKE); $(unstage)
19020 @[ -f ./libgui/Makefile ] || exit 0; \
19021 r=`${PWD_COMMAND}`; export r; \
19022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19023 $(HOST_EXPORTS) \
19024 for flag in $(EXTRA_HOST_FLAGS) ; do \
19025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19026 done; \
19027 echo "Doing maintainer-clean in libgui" ; \
19028 (cd $(HOST_SUBDIR)/libgui && \
19029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19031 "RANLIB=$${RANLIB}" \
19032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19033 maintainer-clean) \
19034 || exit 1
19036 @endif libgui
19040 .PHONY: configure-libiberty maybe-configure-libiberty
19041 maybe-configure-libiberty:
19042 @if gcc-bootstrap
19043 configure-libiberty: stage_current
19044 @endif gcc-bootstrap
19045 @if libiberty
19046 maybe-configure-libiberty: configure-libiberty
19047 configure-libiberty:
19048 @r=`${PWD_COMMAND}`; export r; \
19049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19050 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
19051 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
19052 $(HOST_EXPORTS) \
19053 echo Configuring in $(HOST_SUBDIR)/libiberty; \
19054 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
19055 case $(srcdir) in \
19056 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19057 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
19058 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19059 esac; \
19060 srcdiroption="--srcdir=$${topdir}/libiberty"; \
19061 libsrcdir="$$s/libiberty"; \
19062 $(SHELL) $${libsrcdir}/configure \
19063 $(HOST_CONFIGARGS) $${srcdiroption} \
19064 || exit 1
19065 @endif libiberty
19069 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
19070 maybe-configure-stage1-libiberty:
19071 @if libiberty-bootstrap
19072 maybe-configure-stage1-libiberty: configure-stage1-libiberty
19073 configure-stage1-libiberty:
19074 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19075 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
19076 @r=`${PWD_COMMAND}`; export r; \
19077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19078 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
19079 $(HOST_EXPORTS) \
19080 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
19081 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
19082 cd $(HOST_SUBDIR)/libiberty || exit 1; \
19083 case $(srcdir) in \
19084 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19085 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
19086 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19087 esac; \
19088 srcdiroption="--srcdir=$${topdir}/libiberty"; \
19089 libsrcdir="$$s/libiberty"; \
19090 $(SHELL) $${libsrcdir}/configure \
19091 $(HOST_CONFIGARGS) $${srcdiroption} \
19093 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
19094 @endif libiberty-bootstrap
19096 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
19097 maybe-configure-stage2-libiberty:
19098 @if libiberty-bootstrap
19099 maybe-configure-stage2-libiberty: configure-stage2-libiberty
19100 configure-stage2-libiberty:
19101 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19102 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
19103 @r=`${PWD_COMMAND}`; export r; \
19104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19105 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
19106 $(HOST_EXPORTS) \
19107 $(POSTSTAGE1_HOST_EXPORTS) \
19108 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
19109 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
19110 cd $(HOST_SUBDIR)/libiberty || exit 1; \
19111 case $(srcdir) in \
19112 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19113 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
19114 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19115 esac; \
19116 srcdiroption="--srcdir=$${topdir}/libiberty"; \
19117 libsrcdir="$$s/libiberty"; \
19118 $(SHELL) $${libsrcdir}/configure \
19119 $(HOST_CONFIGARGS) $${srcdiroption} \
19120 --with-build-libsubdir=$(HOST_SUBDIR) \
19121 @stage2_werror_flag@
19122 @endif libiberty-bootstrap
19124 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
19125 maybe-configure-stage3-libiberty:
19126 @if libiberty-bootstrap
19127 maybe-configure-stage3-libiberty: configure-stage3-libiberty
19128 configure-stage3-libiberty:
19129 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19130 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
19131 @r=`${PWD_COMMAND}`; export r; \
19132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19133 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
19134 $(HOST_EXPORTS) \
19135 $(POSTSTAGE1_HOST_EXPORTS) \
19136 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
19137 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
19138 cd $(HOST_SUBDIR)/libiberty || exit 1; \
19139 case $(srcdir) in \
19140 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19141 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
19142 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19143 esac; \
19144 srcdiroption="--srcdir=$${topdir}/libiberty"; \
19145 libsrcdir="$$s/libiberty"; \
19146 $(SHELL) $${libsrcdir}/configure \
19147 $(HOST_CONFIGARGS) $${srcdiroption} \
19148 --with-build-libsubdir=$(HOST_SUBDIR) \
19149 @stage2_werror_flag@
19150 @endif libiberty-bootstrap
19152 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
19153 maybe-configure-stage4-libiberty:
19154 @if libiberty-bootstrap
19155 maybe-configure-stage4-libiberty: configure-stage4-libiberty
19156 configure-stage4-libiberty:
19157 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19158 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
19159 @r=`${PWD_COMMAND}`; export r; \
19160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19161 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
19162 $(HOST_EXPORTS) \
19163 $(POSTSTAGE1_HOST_EXPORTS) \
19164 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
19165 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
19166 cd $(HOST_SUBDIR)/libiberty || exit 1; \
19167 case $(srcdir) in \
19168 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19169 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
19170 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19171 esac; \
19172 srcdiroption="--srcdir=$${topdir}/libiberty"; \
19173 libsrcdir="$$s/libiberty"; \
19174 $(SHELL) $${libsrcdir}/configure \
19175 $(HOST_CONFIGARGS) $${srcdiroption} \
19176 --with-build-libsubdir=$(HOST_SUBDIR) \
19177 @stage2_werror_flag@
19178 @endif libiberty-bootstrap
19180 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
19181 maybe-configure-stageprofile-libiberty:
19182 @if libiberty-bootstrap
19183 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
19184 configure-stageprofile-libiberty:
19185 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19186 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
19187 @r=`${PWD_COMMAND}`; export r; \
19188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19189 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
19190 $(HOST_EXPORTS) \
19191 $(POSTSTAGE1_HOST_EXPORTS) \
19192 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
19193 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
19194 cd $(HOST_SUBDIR)/libiberty || exit 1; \
19195 case $(srcdir) in \
19196 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19197 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
19198 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19199 esac; \
19200 srcdiroption="--srcdir=$${topdir}/libiberty"; \
19201 libsrcdir="$$s/libiberty"; \
19202 $(SHELL) $${libsrcdir}/configure \
19203 $(HOST_CONFIGARGS) $${srcdiroption} \
19204 --with-build-libsubdir=$(HOST_SUBDIR) \
19205 @stage2_werror_flag@
19206 @endif libiberty-bootstrap
19208 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
19209 maybe-configure-stagefeedback-libiberty:
19210 @if libiberty-bootstrap
19211 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
19212 configure-stagefeedback-libiberty:
19213 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19214 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
19215 @r=`${PWD_COMMAND}`; export r; \
19216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19217 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
19218 $(HOST_EXPORTS) \
19219 $(POSTSTAGE1_HOST_EXPORTS) \
19220 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
19221 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
19222 cd $(HOST_SUBDIR)/libiberty || exit 1; \
19223 case $(srcdir) in \
19224 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19225 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
19226 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19227 esac; \
19228 srcdiroption="--srcdir=$${topdir}/libiberty"; \
19229 libsrcdir="$$s/libiberty"; \
19230 $(SHELL) $${libsrcdir}/configure \
19231 $(HOST_CONFIGARGS) $${srcdiroption} \
19232 --with-build-libsubdir=$(HOST_SUBDIR) \
19233 @stage2_werror_flag@
19234 @endif libiberty-bootstrap
19240 .PHONY: all-libiberty maybe-all-libiberty
19241 maybe-all-libiberty:
19242 @if gcc-bootstrap
19243 all-libiberty: stage_current
19244 @endif gcc-bootstrap
19245 @if libiberty
19246 TARGET-libiberty=all
19247 maybe-all-libiberty: all-libiberty
19248 all-libiberty: configure-libiberty
19249 @r=`${PWD_COMMAND}`; export r; \
19250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19251 $(HOST_EXPORTS) \
19252 (cd $(HOST_SUBDIR)/libiberty && \
19253 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
19254 @endif libiberty
19258 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
19259 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
19260 maybe-all-stage1-libiberty:
19261 maybe-clean-stage1-libiberty:
19262 @if libiberty-bootstrap
19263 maybe-all-stage1-libiberty: all-stage1-libiberty
19264 all-stage1: all-stage1-libiberty
19265 TARGET-stage1-libiberty = $(TARGET-libiberty)
19266 all-stage1-libiberty: configure-stage1-libiberty
19267 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19268 @r=`${PWD_COMMAND}`; export r; \
19269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19270 $(HOST_EXPORTS) \
19271 cd $(HOST_SUBDIR)/libiberty && \
19272 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
19273 $(TARGET-stage1-libiberty)
19275 maybe-clean-stage1-libiberty: clean-stage1-libiberty
19276 clean-stage1: clean-stage1-libiberty
19277 clean-stage1-libiberty:
19278 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] \
19279 || exit 0 ; \
19280 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
19281 cd $(HOST_SUBDIR)/libiberty && \
19282 $(MAKE) $(FLAGS_TO_PASS) \
19283 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
19284 @endif libiberty-bootstrap
19287 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
19288 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
19289 maybe-all-stage2-libiberty:
19290 maybe-clean-stage2-libiberty:
19291 @if libiberty-bootstrap
19292 maybe-all-stage2-libiberty: all-stage2-libiberty
19293 all-stage2: all-stage2-libiberty
19294 TARGET-stage2-libiberty = $(TARGET-libiberty)
19295 all-stage2-libiberty: configure-stage2-libiberty
19296 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19297 @r=`${PWD_COMMAND}`; export r; \
19298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19299 $(HOST_EXPORTS) \
19300 $(POSTSTAGE1_HOST_EXPORTS) \
19301 cd $(HOST_SUBDIR)/libiberty && \
19302 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19303 $(TARGET-stage2-libiberty)
19305 maybe-clean-stage2-libiberty: clean-stage2-libiberty
19306 clean-stage2: clean-stage2-libiberty
19307 clean-stage2-libiberty:
19308 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] \
19309 || exit 0 ; \
19310 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
19311 cd $(HOST_SUBDIR)/libiberty && \
19312 $(MAKE) $(FLAGS_TO_PASS) \
19313 $(POSTSTAGE1_FLAGS_TO_PASS) \
19314 clean
19315 @endif libiberty-bootstrap
19318 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
19319 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
19320 maybe-all-stage3-libiberty:
19321 maybe-clean-stage3-libiberty:
19322 @if libiberty-bootstrap
19323 maybe-all-stage3-libiberty: all-stage3-libiberty
19324 all-stage3: all-stage3-libiberty
19325 TARGET-stage3-libiberty = $(TARGET-libiberty)
19326 all-stage3-libiberty: configure-stage3-libiberty
19327 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19328 @r=`${PWD_COMMAND}`; export r; \
19329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19330 $(HOST_EXPORTS) \
19331 $(POSTSTAGE1_HOST_EXPORTS) \
19332 cd $(HOST_SUBDIR)/libiberty && \
19333 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19334 $(TARGET-stage3-libiberty)
19336 maybe-clean-stage3-libiberty: clean-stage3-libiberty
19337 clean-stage3: clean-stage3-libiberty
19338 clean-stage3-libiberty:
19339 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] \
19340 || exit 0 ; \
19341 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
19342 cd $(HOST_SUBDIR)/libiberty && \
19343 $(MAKE) $(FLAGS_TO_PASS) \
19344 $(POSTSTAGE1_FLAGS_TO_PASS) \
19345 clean
19346 @endif libiberty-bootstrap
19349 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
19350 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
19351 maybe-all-stage4-libiberty:
19352 maybe-clean-stage4-libiberty:
19353 @if libiberty-bootstrap
19354 maybe-all-stage4-libiberty: all-stage4-libiberty
19355 all-stage4: all-stage4-libiberty
19356 TARGET-stage4-libiberty = $(TARGET-libiberty)
19357 all-stage4-libiberty: configure-stage4-libiberty
19358 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19359 @r=`${PWD_COMMAND}`; export r; \
19360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19361 $(HOST_EXPORTS) \
19362 $(POSTSTAGE1_HOST_EXPORTS) \
19363 cd $(HOST_SUBDIR)/libiberty && \
19364 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19365 $(TARGET-stage4-libiberty)
19367 maybe-clean-stage4-libiberty: clean-stage4-libiberty
19368 clean-stage4: clean-stage4-libiberty
19369 clean-stage4-libiberty:
19370 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] \
19371 || exit 0 ; \
19372 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
19373 cd $(HOST_SUBDIR)/libiberty && \
19374 $(MAKE) $(FLAGS_TO_PASS) \
19375 $(POSTSTAGE1_FLAGS_TO_PASS) \
19376 clean
19377 @endif libiberty-bootstrap
19380 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
19381 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
19382 maybe-all-stageprofile-libiberty:
19383 maybe-clean-stageprofile-libiberty:
19384 @if libiberty-bootstrap
19385 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
19386 all-stageprofile: all-stageprofile-libiberty
19387 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
19388 all-stageprofile-libiberty: configure-stageprofile-libiberty
19389 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19390 @r=`${PWD_COMMAND}`; export r; \
19391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19392 $(HOST_EXPORTS) \
19393 $(POSTSTAGE1_HOST_EXPORTS) \
19394 cd $(HOST_SUBDIR)/libiberty && \
19395 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
19396 $(TARGET-stageprofile-libiberty)
19398 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
19399 clean-stageprofile: clean-stageprofile-libiberty
19400 clean-stageprofile-libiberty:
19401 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] \
19402 || exit 0 ; \
19403 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
19404 cd $(HOST_SUBDIR)/libiberty && \
19405 $(MAKE) $(FLAGS_TO_PASS) \
19406 $(POSTSTAGE1_FLAGS_TO_PASS) \
19407 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
19408 @endif libiberty-bootstrap
19411 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
19412 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
19413 maybe-all-stagefeedback-libiberty:
19414 maybe-clean-stagefeedback-libiberty:
19415 @if libiberty-bootstrap
19416 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
19417 all-stagefeedback: all-stagefeedback-libiberty
19418 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
19419 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
19420 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19421 @r=`${PWD_COMMAND}`; export r; \
19422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19423 $(HOST_EXPORTS) \
19424 $(POSTSTAGE1_HOST_EXPORTS) \
19425 cd $(HOST_SUBDIR)/libiberty && \
19426 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
19427 $(TARGET-stagefeedback-libiberty)
19429 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
19430 clean-stagefeedback: clean-stagefeedback-libiberty
19431 clean-stagefeedback-libiberty:
19432 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] \
19433 || exit 0 ; \
19434 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
19435 cd $(HOST_SUBDIR)/libiberty && \
19436 $(MAKE) $(FLAGS_TO_PASS) \
19437 $(POSTSTAGE1_FLAGS_TO_PASS) \
19438 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
19439 @endif libiberty-bootstrap
19445 .PHONY: check-libiberty maybe-check-libiberty
19446 maybe-check-libiberty:
19447 @if libiberty
19448 maybe-check-libiberty: check-libiberty
19450 check-libiberty:
19451 @: $(MAKE); $(unstage)
19452 @r=`${PWD_COMMAND}`; export r; \
19453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19454 $(HOST_EXPORTS) \
19455 (cd $(HOST_SUBDIR)/libiberty && \
19456 $(MAKE) $(FLAGS_TO_PASS) check)
19458 @endif libiberty
19460 .PHONY: install-libiberty maybe-install-libiberty
19461 maybe-install-libiberty:
19462 @if libiberty
19463 maybe-install-libiberty: install-libiberty
19465 install-libiberty: installdirs
19466 @: $(MAKE); $(unstage)
19467 @r=`${PWD_COMMAND}`; export r; \
19468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19469 $(HOST_EXPORTS) \
19470 (cd $(HOST_SUBDIR)/libiberty && \
19471 $(MAKE) $(FLAGS_TO_PASS) install)
19473 @endif libiberty
19475 # Other targets (info, dvi, etc.)
19477 .PHONY: maybe-info-libiberty info-libiberty
19478 maybe-info-libiberty:
19479 @if libiberty
19480 maybe-info-libiberty: info-libiberty
19482 info-libiberty: \
19483 configure-libiberty
19484 @[ -f ./libiberty/Makefile ] || exit 0; \
19485 r=`${PWD_COMMAND}`; export r; \
19486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19487 $(HOST_EXPORTS) \
19488 for flag in $(EXTRA_HOST_FLAGS) ; do \
19489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19490 done; \
19491 echo "Doing info in libiberty" ; \
19492 (cd $(HOST_SUBDIR)/libiberty && \
19493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19495 "RANLIB=$${RANLIB}" \
19496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19497 info) \
19498 || exit 1
19500 @endif libiberty
19502 .PHONY: maybe-dvi-libiberty dvi-libiberty
19503 maybe-dvi-libiberty:
19504 @if libiberty
19505 maybe-dvi-libiberty: dvi-libiberty
19507 dvi-libiberty: \
19508 configure-libiberty
19509 @[ -f ./libiberty/Makefile ] || exit 0; \
19510 r=`${PWD_COMMAND}`; export r; \
19511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19512 $(HOST_EXPORTS) \
19513 for flag in $(EXTRA_HOST_FLAGS) ; do \
19514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19515 done; \
19516 echo "Doing dvi in libiberty" ; \
19517 (cd $(HOST_SUBDIR)/libiberty && \
19518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19520 "RANLIB=$${RANLIB}" \
19521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19522 dvi) \
19523 || exit 1
19525 @endif libiberty
19527 .PHONY: maybe-html-libiberty html-libiberty
19528 maybe-html-libiberty:
19529 @if libiberty
19530 maybe-html-libiberty: html-libiberty
19532 html-libiberty: \
19533 configure-libiberty
19534 @[ -f ./libiberty/Makefile ] || exit 0; \
19535 r=`${PWD_COMMAND}`; export r; \
19536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19537 $(HOST_EXPORTS) \
19538 for flag in $(EXTRA_HOST_FLAGS) ; do \
19539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19540 done; \
19541 echo "Doing html in libiberty" ; \
19542 (cd $(HOST_SUBDIR)/libiberty && \
19543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19545 "RANLIB=$${RANLIB}" \
19546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19547 html) \
19548 || exit 1
19550 @endif libiberty
19552 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
19553 maybe-TAGS-libiberty:
19554 @if libiberty
19555 maybe-TAGS-libiberty: TAGS-libiberty
19557 TAGS-libiberty: \
19558 configure-libiberty
19559 @[ -f ./libiberty/Makefile ] || exit 0; \
19560 r=`${PWD_COMMAND}`; export r; \
19561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19562 $(HOST_EXPORTS) \
19563 for flag in $(EXTRA_HOST_FLAGS) ; do \
19564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19565 done; \
19566 echo "Doing TAGS in libiberty" ; \
19567 (cd $(HOST_SUBDIR)/libiberty && \
19568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19570 "RANLIB=$${RANLIB}" \
19571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19572 TAGS) \
19573 || exit 1
19575 @endif libiberty
19577 .PHONY: maybe-install-info-libiberty install-info-libiberty
19578 maybe-install-info-libiberty:
19579 @if libiberty
19580 maybe-install-info-libiberty: install-info-libiberty
19582 install-info-libiberty: \
19583 configure-libiberty \
19584 info-libiberty
19585 @[ -f ./libiberty/Makefile ] || exit 0; \
19586 r=`${PWD_COMMAND}`; export r; \
19587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19588 $(HOST_EXPORTS) \
19589 for flag in $(EXTRA_HOST_FLAGS) ; do \
19590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19591 done; \
19592 echo "Doing install-info in libiberty" ; \
19593 (cd $(HOST_SUBDIR)/libiberty && \
19594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19596 "RANLIB=$${RANLIB}" \
19597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19598 install-info) \
19599 || exit 1
19601 @endif libiberty
19603 .PHONY: maybe-install-html-libiberty install-html-libiberty
19604 maybe-install-html-libiberty:
19605 @if libiberty
19606 maybe-install-html-libiberty: install-html-libiberty
19608 install-html-libiberty: \
19609 configure-libiberty \
19610 html-libiberty
19611 @[ -f ./libiberty/Makefile ] || exit 0; \
19612 r=`${PWD_COMMAND}`; export r; \
19613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19614 $(HOST_EXPORTS) \
19615 for flag in $(EXTRA_HOST_FLAGS) ; do \
19616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19617 done; \
19618 echo "Doing install-html in libiberty" ; \
19619 (cd $(HOST_SUBDIR)/libiberty && \
19620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19622 "RANLIB=$${RANLIB}" \
19623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19624 install-html) \
19625 || exit 1
19627 @endif libiberty
19629 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
19630 maybe-installcheck-libiberty:
19631 @if libiberty
19632 maybe-installcheck-libiberty: installcheck-libiberty
19634 installcheck-libiberty: \
19635 configure-libiberty
19636 @[ -f ./libiberty/Makefile ] || exit 0; \
19637 r=`${PWD_COMMAND}`; export r; \
19638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19639 $(HOST_EXPORTS) \
19640 for flag in $(EXTRA_HOST_FLAGS) ; do \
19641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19642 done; \
19643 echo "Doing installcheck in libiberty" ; \
19644 (cd $(HOST_SUBDIR)/libiberty && \
19645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19647 "RANLIB=$${RANLIB}" \
19648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19649 installcheck) \
19650 || exit 1
19652 @endif libiberty
19654 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
19655 maybe-mostlyclean-libiberty:
19656 @if libiberty
19657 maybe-mostlyclean-libiberty: mostlyclean-libiberty
19659 mostlyclean-libiberty:
19660 @[ -f ./libiberty/Makefile ] || exit 0; \
19661 r=`${PWD_COMMAND}`; export r; \
19662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19663 $(HOST_EXPORTS) \
19664 for flag in $(EXTRA_HOST_FLAGS) ; do \
19665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19666 done; \
19667 echo "Doing mostlyclean in libiberty" ; \
19668 (cd $(HOST_SUBDIR)/libiberty && \
19669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19671 "RANLIB=$${RANLIB}" \
19672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19673 mostlyclean) \
19674 || exit 1
19676 @endif libiberty
19678 .PHONY: maybe-clean-libiberty clean-libiberty
19679 maybe-clean-libiberty:
19680 @if libiberty
19681 maybe-clean-libiberty: clean-libiberty
19683 clean-libiberty:
19684 @[ -f ./libiberty/Makefile ] || exit 0; \
19685 r=`${PWD_COMMAND}`; export r; \
19686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19687 $(HOST_EXPORTS) \
19688 for flag in $(EXTRA_HOST_FLAGS) ; do \
19689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19690 done; \
19691 echo "Doing clean in libiberty" ; \
19692 (cd $(HOST_SUBDIR)/libiberty && \
19693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19695 "RANLIB=$${RANLIB}" \
19696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19697 clean) \
19698 || exit 1
19700 @endif libiberty
19702 .PHONY: maybe-distclean-libiberty distclean-libiberty
19703 maybe-distclean-libiberty:
19704 @if libiberty
19705 maybe-distclean-libiberty: distclean-libiberty
19707 distclean-libiberty:
19708 @[ -f ./libiberty/Makefile ] || exit 0; \
19709 r=`${PWD_COMMAND}`; export r; \
19710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19711 $(HOST_EXPORTS) \
19712 for flag in $(EXTRA_HOST_FLAGS) ; do \
19713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19714 done; \
19715 echo "Doing distclean in libiberty" ; \
19716 (cd $(HOST_SUBDIR)/libiberty && \
19717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19719 "RANLIB=$${RANLIB}" \
19720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19721 distclean) \
19722 || exit 1
19724 @endif libiberty
19726 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
19727 maybe-maintainer-clean-libiberty:
19728 @if libiberty
19729 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
19731 maintainer-clean-libiberty:
19732 @[ -f ./libiberty/Makefile ] || exit 0; \
19733 r=`${PWD_COMMAND}`; export r; \
19734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19735 $(HOST_EXPORTS) \
19736 for flag in $(EXTRA_HOST_FLAGS) ; do \
19737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19738 done; \
19739 echo "Doing maintainer-clean in libiberty" ; \
19740 (cd $(HOST_SUBDIR)/libiberty && \
19741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19743 "RANLIB=$${RANLIB}" \
19744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19745 maintainer-clean) \
19746 || exit 1
19748 @endif libiberty
19752 .PHONY: configure-libtool maybe-configure-libtool
19753 maybe-configure-libtool:
19754 @if gcc-bootstrap
19755 configure-libtool: stage_current
19756 @endif gcc-bootstrap
19757 @if libtool
19758 maybe-configure-libtool: configure-libtool
19759 configure-libtool:
19760 @: $(MAKE); $(unstage)
19761 @r=`${PWD_COMMAND}`; export r; \
19762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19763 test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
19764 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
19765 $(HOST_EXPORTS) \
19766 echo Configuring in $(HOST_SUBDIR)/libtool; \
19767 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
19768 case $(srcdir) in \
19769 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19770 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
19771 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19772 esac; \
19773 srcdiroption="--srcdir=$${topdir}/libtool"; \
19774 libsrcdir="$$s/libtool"; \
19775 $(SHELL) $${libsrcdir}/configure \
19776 $(HOST_CONFIGARGS) $${srcdiroption} \
19777 || exit 1
19778 @endif libtool
19784 .PHONY: all-libtool maybe-all-libtool
19785 maybe-all-libtool:
19786 @if gcc-bootstrap
19787 all-libtool: stage_current
19788 @endif gcc-bootstrap
19789 @if libtool
19790 TARGET-libtool=all
19791 maybe-all-libtool: all-libtool
19792 all-libtool: configure-libtool
19793 @: $(MAKE); $(unstage)
19794 @r=`${PWD_COMMAND}`; export r; \
19795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19796 $(HOST_EXPORTS) \
19797 (cd $(HOST_SUBDIR)/libtool && \
19798 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
19799 @endif libtool
19804 .PHONY: check-libtool maybe-check-libtool
19805 maybe-check-libtool:
19806 @if libtool
19807 maybe-check-libtool: check-libtool
19809 check-libtool:
19810 @: $(MAKE); $(unstage)
19811 @r=`${PWD_COMMAND}`; export r; \
19812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19813 $(HOST_EXPORTS) \
19814 (cd $(HOST_SUBDIR)/libtool && \
19815 $(MAKE) $(FLAGS_TO_PASS) check)
19817 @endif libtool
19819 .PHONY: install-libtool maybe-install-libtool
19820 maybe-install-libtool:
19821 @if libtool
19822 maybe-install-libtool: install-libtool
19824 install-libtool: installdirs
19825 @: $(MAKE); $(unstage)
19826 @r=`${PWD_COMMAND}`; export r; \
19827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19828 $(HOST_EXPORTS) \
19829 (cd $(HOST_SUBDIR)/libtool && \
19830 $(MAKE) $(FLAGS_TO_PASS) install)
19832 @endif libtool
19834 # Other targets (info, dvi, etc.)
19836 .PHONY: maybe-info-libtool info-libtool
19837 maybe-info-libtool:
19838 @if libtool
19839 maybe-info-libtool: info-libtool
19841 info-libtool: \
19842 configure-libtool
19843 @: $(MAKE); $(unstage)
19844 @[ -f ./libtool/Makefile ] || exit 0; \
19845 r=`${PWD_COMMAND}`; export r; \
19846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19847 $(HOST_EXPORTS) \
19848 for flag in $(EXTRA_HOST_FLAGS) ; do \
19849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19850 done; \
19851 echo "Doing info in libtool" ; \
19852 (cd $(HOST_SUBDIR)/libtool && \
19853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19855 "RANLIB=$${RANLIB}" \
19856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19857 info) \
19858 || exit 1
19860 @endif libtool
19862 .PHONY: maybe-dvi-libtool dvi-libtool
19863 maybe-dvi-libtool:
19864 @if libtool
19865 maybe-dvi-libtool: dvi-libtool
19867 dvi-libtool: \
19868 configure-libtool
19869 @: $(MAKE); $(unstage)
19870 @[ -f ./libtool/Makefile ] || exit 0; \
19871 r=`${PWD_COMMAND}`; export r; \
19872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19873 $(HOST_EXPORTS) \
19874 for flag in $(EXTRA_HOST_FLAGS) ; do \
19875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19876 done; \
19877 echo "Doing dvi in libtool" ; \
19878 (cd $(HOST_SUBDIR)/libtool && \
19879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19881 "RANLIB=$${RANLIB}" \
19882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19883 dvi) \
19884 || exit 1
19886 @endif libtool
19888 .PHONY: maybe-html-libtool html-libtool
19889 maybe-html-libtool:
19890 @if libtool
19891 maybe-html-libtool: html-libtool
19893 html-libtool: \
19894 configure-libtool
19895 @: $(MAKE); $(unstage)
19896 @[ -f ./libtool/Makefile ] || exit 0; \
19897 r=`${PWD_COMMAND}`; export r; \
19898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19899 $(HOST_EXPORTS) \
19900 for flag in $(EXTRA_HOST_FLAGS) ; do \
19901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19902 done; \
19903 echo "Doing html in libtool" ; \
19904 (cd $(HOST_SUBDIR)/libtool && \
19905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19907 "RANLIB=$${RANLIB}" \
19908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19909 html) \
19910 || exit 1
19912 @endif libtool
19914 .PHONY: maybe-TAGS-libtool TAGS-libtool
19915 maybe-TAGS-libtool:
19916 @if libtool
19917 maybe-TAGS-libtool: TAGS-libtool
19919 TAGS-libtool: \
19920 configure-libtool
19921 @: $(MAKE); $(unstage)
19922 @[ -f ./libtool/Makefile ] || exit 0; \
19923 r=`${PWD_COMMAND}`; export r; \
19924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19925 $(HOST_EXPORTS) \
19926 for flag in $(EXTRA_HOST_FLAGS) ; do \
19927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19928 done; \
19929 echo "Doing TAGS in libtool" ; \
19930 (cd $(HOST_SUBDIR)/libtool && \
19931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19933 "RANLIB=$${RANLIB}" \
19934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19935 TAGS) \
19936 || exit 1
19938 @endif libtool
19940 .PHONY: maybe-install-info-libtool install-info-libtool
19941 maybe-install-info-libtool:
19942 @if libtool
19943 maybe-install-info-libtool: install-info-libtool
19945 install-info-libtool: \
19946 configure-libtool \
19947 info-libtool
19948 @: $(MAKE); $(unstage)
19949 @[ -f ./libtool/Makefile ] || exit 0; \
19950 r=`${PWD_COMMAND}`; export r; \
19951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19952 $(HOST_EXPORTS) \
19953 for flag in $(EXTRA_HOST_FLAGS) ; do \
19954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19955 done; \
19956 echo "Doing install-info in libtool" ; \
19957 (cd $(HOST_SUBDIR)/libtool && \
19958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19960 "RANLIB=$${RANLIB}" \
19961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19962 install-info) \
19963 || exit 1
19965 @endif libtool
19967 .PHONY: maybe-install-html-libtool install-html-libtool
19968 maybe-install-html-libtool:
19969 @if libtool
19970 maybe-install-html-libtool: install-html-libtool
19972 install-html-libtool: \
19973 configure-libtool \
19974 html-libtool
19975 @: $(MAKE); $(unstage)
19976 @[ -f ./libtool/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 install-html in libtool" ; \
19984 (cd $(HOST_SUBDIR)/libtool && \
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 install-html) \
19990 || exit 1
19992 @endif libtool
19994 .PHONY: maybe-installcheck-libtool installcheck-libtool
19995 maybe-installcheck-libtool:
19996 @if libtool
19997 maybe-installcheck-libtool: installcheck-libtool
19999 installcheck-libtool: \
20000 configure-libtool
20001 @: $(MAKE); $(unstage)
20002 @[ -f ./libtool/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 installcheck in libtool" ; \
20010 (cd $(HOST_SUBDIR)/libtool && \
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 installcheck) \
20016 || exit 1
20018 @endif libtool
20020 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
20021 maybe-mostlyclean-libtool:
20022 @if libtool
20023 maybe-mostlyclean-libtool: mostlyclean-libtool
20025 mostlyclean-libtool:
20026 @: $(MAKE); $(unstage)
20027 @[ -f ./libtool/Makefile ] || exit 0; \
20028 r=`${PWD_COMMAND}`; export r; \
20029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20030 $(HOST_EXPORTS) \
20031 for flag in $(EXTRA_HOST_FLAGS) ; do \
20032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20033 done; \
20034 echo "Doing mostlyclean in libtool" ; \
20035 (cd $(HOST_SUBDIR)/libtool && \
20036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20038 "RANLIB=$${RANLIB}" \
20039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20040 mostlyclean) \
20041 || exit 1
20043 @endif libtool
20045 .PHONY: maybe-clean-libtool clean-libtool
20046 maybe-clean-libtool:
20047 @if libtool
20048 maybe-clean-libtool: clean-libtool
20050 clean-libtool:
20051 @: $(MAKE); $(unstage)
20052 @[ -f ./libtool/Makefile ] || exit 0; \
20053 r=`${PWD_COMMAND}`; export r; \
20054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20055 $(HOST_EXPORTS) \
20056 for flag in $(EXTRA_HOST_FLAGS) ; do \
20057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20058 done; \
20059 echo "Doing clean in libtool" ; \
20060 (cd $(HOST_SUBDIR)/libtool && \
20061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20063 "RANLIB=$${RANLIB}" \
20064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20065 clean) \
20066 || exit 1
20068 @endif libtool
20070 .PHONY: maybe-distclean-libtool distclean-libtool
20071 maybe-distclean-libtool:
20072 @if libtool
20073 maybe-distclean-libtool: distclean-libtool
20075 distclean-libtool:
20076 @: $(MAKE); $(unstage)
20077 @[ -f ./libtool/Makefile ] || exit 0; \
20078 r=`${PWD_COMMAND}`; export r; \
20079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20080 $(HOST_EXPORTS) \
20081 for flag in $(EXTRA_HOST_FLAGS) ; do \
20082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20083 done; \
20084 echo "Doing distclean in libtool" ; \
20085 (cd $(HOST_SUBDIR)/libtool && \
20086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20088 "RANLIB=$${RANLIB}" \
20089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20090 distclean) \
20091 || exit 1
20093 @endif libtool
20095 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
20096 maybe-maintainer-clean-libtool:
20097 @if libtool
20098 maybe-maintainer-clean-libtool: maintainer-clean-libtool
20100 maintainer-clean-libtool:
20101 @: $(MAKE); $(unstage)
20102 @[ -f ./libtool/Makefile ] || exit 0; \
20103 r=`${PWD_COMMAND}`; export r; \
20104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20105 $(HOST_EXPORTS) \
20106 for flag in $(EXTRA_HOST_FLAGS) ; do \
20107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20108 done; \
20109 echo "Doing maintainer-clean in libtool" ; \
20110 (cd $(HOST_SUBDIR)/libtool && \
20111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20113 "RANLIB=$${RANLIB}" \
20114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20115 maintainer-clean) \
20116 || exit 1
20118 @endif libtool
20122 .PHONY: configure-m4 maybe-configure-m4
20123 maybe-configure-m4:
20124 @if gcc-bootstrap
20125 configure-m4: stage_current
20126 @endif gcc-bootstrap
20127 @if m4
20128 maybe-configure-m4: configure-m4
20129 configure-m4:
20130 @: $(MAKE); $(unstage)
20131 @r=`${PWD_COMMAND}`; export r; \
20132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20133 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
20134 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
20135 $(HOST_EXPORTS) \
20136 echo Configuring in $(HOST_SUBDIR)/m4; \
20137 cd "$(HOST_SUBDIR)/m4" || exit 1; \
20138 case $(srcdir) in \
20139 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20140 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
20141 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20142 esac; \
20143 srcdiroption="--srcdir=$${topdir}/m4"; \
20144 libsrcdir="$$s/m4"; \
20145 $(SHELL) $${libsrcdir}/configure \
20146 $(HOST_CONFIGARGS) $${srcdiroption} \
20147 || exit 1
20148 @endif m4
20154 .PHONY: all-m4 maybe-all-m4
20155 maybe-all-m4:
20156 @if gcc-bootstrap
20157 all-m4: stage_current
20158 @endif gcc-bootstrap
20159 @if m4
20160 TARGET-m4=all
20161 maybe-all-m4: all-m4
20162 all-m4: configure-m4
20163 @: $(MAKE); $(unstage)
20164 @r=`${PWD_COMMAND}`; export r; \
20165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20166 $(HOST_EXPORTS) \
20167 (cd $(HOST_SUBDIR)/m4 && \
20168 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
20169 @endif m4
20174 .PHONY: check-m4 maybe-check-m4
20175 maybe-check-m4:
20176 @if m4
20177 maybe-check-m4: check-m4
20179 check-m4:
20180 @: $(MAKE); $(unstage)
20181 @r=`${PWD_COMMAND}`; export r; \
20182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20183 $(HOST_EXPORTS) \
20184 (cd $(HOST_SUBDIR)/m4 && \
20185 $(MAKE) $(FLAGS_TO_PASS) check)
20187 @endif m4
20189 .PHONY: install-m4 maybe-install-m4
20190 maybe-install-m4:
20191 @if m4
20192 maybe-install-m4: install-m4
20194 install-m4: installdirs
20195 @: $(MAKE); $(unstage)
20196 @r=`${PWD_COMMAND}`; export r; \
20197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20198 $(HOST_EXPORTS) \
20199 (cd $(HOST_SUBDIR)/m4 && \
20200 $(MAKE) $(FLAGS_TO_PASS) install)
20202 @endif m4
20204 # Other targets (info, dvi, etc.)
20206 .PHONY: maybe-info-m4 info-m4
20207 maybe-info-m4:
20208 @if m4
20209 maybe-info-m4: info-m4
20211 info-m4: \
20212 configure-m4
20213 @: $(MAKE); $(unstage)
20214 @[ -f ./m4/Makefile ] || exit 0; \
20215 r=`${PWD_COMMAND}`; export r; \
20216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20217 $(HOST_EXPORTS) \
20218 for flag in $(EXTRA_HOST_FLAGS) ; do \
20219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20220 done; \
20221 echo "Doing info in m4" ; \
20222 (cd $(HOST_SUBDIR)/m4 && \
20223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20225 "RANLIB=$${RANLIB}" \
20226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20227 info) \
20228 || exit 1
20230 @endif m4
20232 .PHONY: maybe-dvi-m4 dvi-m4
20233 maybe-dvi-m4:
20234 @if m4
20235 maybe-dvi-m4: dvi-m4
20237 dvi-m4: \
20238 configure-m4
20239 @: $(MAKE); $(unstage)
20240 @[ -f ./m4/Makefile ] || exit 0; \
20241 r=`${PWD_COMMAND}`; export r; \
20242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20243 $(HOST_EXPORTS) \
20244 for flag in $(EXTRA_HOST_FLAGS) ; do \
20245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20246 done; \
20247 echo "Doing dvi in m4" ; \
20248 (cd $(HOST_SUBDIR)/m4 && \
20249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20251 "RANLIB=$${RANLIB}" \
20252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20253 dvi) \
20254 || exit 1
20256 @endif m4
20258 .PHONY: maybe-html-m4 html-m4
20259 maybe-html-m4:
20260 @if m4
20261 maybe-html-m4: html-m4
20263 html-m4: \
20264 configure-m4
20265 @: $(MAKE); $(unstage)
20266 @[ -f ./m4/Makefile ] || exit 0; \
20267 r=`${PWD_COMMAND}`; export r; \
20268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20269 $(HOST_EXPORTS) \
20270 for flag in $(EXTRA_HOST_FLAGS) ; do \
20271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20272 done; \
20273 echo "Doing html in m4" ; \
20274 (cd $(HOST_SUBDIR)/m4 && \
20275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20277 "RANLIB=$${RANLIB}" \
20278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20279 html) \
20280 || exit 1
20282 @endif m4
20284 .PHONY: maybe-TAGS-m4 TAGS-m4
20285 maybe-TAGS-m4:
20286 @if m4
20287 maybe-TAGS-m4: TAGS-m4
20289 TAGS-m4: \
20290 configure-m4
20291 @: $(MAKE); $(unstage)
20292 @[ -f ./m4/Makefile ] || exit 0; \
20293 r=`${PWD_COMMAND}`; export r; \
20294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20295 $(HOST_EXPORTS) \
20296 for flag in $(EXTRA_HOST_FLAGS) ; do \
20297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20298 done; \
20299 echo "Doing TAGS in m4" ; \
20300 (cd $(HOST_SUBDIR)/m4 && \
20301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20303 "RANLIB=$${RANLIB}" \
20304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20305 TAGS) \
20306 || exit 1
20308 @endif m4
20310 .PHONY: maybe-install-info-m4 install-info-m4
20311 maybe-install-info-m4:
20312 @if m4
20313 maybe-install-info-m4: install-info-m4
20315 install-info-m4: \
20316 configure-m4 \
20317 info-m4
20318 @: $(MAKE); $(unstage)
20319 @[ -f ./m4/Makefile ] || exit 0; \
20320 r=`${PWD_COMMAND}`; export r; \
20321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20322 $(HOST_EXPORTS) \
20323 for flag in $(EXTRA_HOST_FLAGS) ; do \
20324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20325 done; \
20326 echo "Doing install-info in m4" ; \
20327 (cd $(HOST_SUBDIR)/m4 && \
20328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20330 "RANLIB=$${RANLIB}" \
20331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20332 install-info) \
20333 || exit 1
20335 @endif m4
20337 .PHONY: maybe-install-html-m4 install-html-m4
20338 maybe-install-html-m4:
20339 @if m4
20340 maybe-install-html-m4: install-html-m4
20342 install-html-m4: \
20343 configure-m4 \
20344 html-m4
20345 @: $(MAKE); $(unstage)
20346 @[ -f ./m4/Makefile ] || exit 0; \
20347 r=`${PWD_COMMAND}`; export r; \
20348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20349 $(HOST_EXPORTS) \
20350 for flag in $(EXTRA_HOST_FLAGS) ; do \
20351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20352 done; \
20353 echo "Doing install-html in m4" ; \
20354 (cd $(HOST_SUBDIR)/m4 && \
20355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20357 "RANLIB=$${RANLIB}" \
20358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20359 install-html) \
20360 || exit 1
20362 @endif m4
20364 .PHONY: maybe-installcheck-m4 installcheck-m4
20365 maybe-installcheck-m4:
20366 @if m4
20367 maybe-installcheck-m4: installcheck-m4
20369 installcheck-m4: \
20370 configure-m4
20371 @: $(MAKE); $(unstage)
20372 @[ -f ./m4/Makefile ] || exit 0; \
20373 r=`${PWD_COMMAND}`; export r; \
20374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20375 $(HOST_EXPORTS) \
20376 for flag in $(EXTRA_HOST_FLAGS) ; do \
20377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20378 done; \
20379 echo "Doing installcheck in m4" ; \
20380 (cd $(HOST_SUBDIR)/m4 && \
20381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20383 "RANLIB=$${RANLIB}" \
20384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20385 installcheck) \
20386 || exit 1
20388 @endif m4
20390 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
20391 maybe-mostlyclean-m4:
20392 @if m4
20393 maybe-mostlyclean-m4: mostlyclean-m4
20395 mostlyclean-m4:
20396 @: $(MAKE); $(unstage)
20397 @[ -f ./m4/Makefile ] || exit 0; \
20398 r=`${PWD_COMMAND}`; export r; \
20399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20400 $(HOST_EXPORTS) \
20401 for flag in $(EXTRA_HOST_FLAGS) ; do \
20402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20403 done; \
20404 echo "Doing mostlyclean in m4" ; \
20405 (cd $(HOST_SUBDIR)/m4 && \
20406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20408 "RANLIB=$${RANLIB}" \
20409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20410 mostlyclean) \
20411 || exit 1
20413 @endif m4
20415 .PHONY: maybe-clean-m4 clean-m4
20416 maybe-clean-m4:
20417 @if m4
20418 maybe-clean-m4: clean-m4
20420 clean-m4:
20421 @: $(MAKE); $(unstage)
20422 @[ -f ./m4/Makefile ] || exit 0; \
20423 r=`${PWD_COMMAND}`; export r; \
20424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20425 $(HOST_EXPORTS) \
20426 for flag in $(EXTRA_HOST_FLAGS) ; do \
20427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20428 done; \
20429 echo "Doing clean in m4" ; \
20430 (cd $(HOST_SUBDIR)/m4 && \
20431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20433 "RANLIB=$${RANLIB}" \
20434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20435 clean) \
20436 || exit 1
20438 @endif m4
20440 .PHONY: maybe-distclean-m4 distclean-m4
20441 maybe-distclean-m4:
20442 @if m4
20443 maybe-distclean-m4: distclean-m4
20445 distclean-m4:
20446 @: $(MAKE); $(unstage)
20447 @[ -f ./m4/Makefile ] || exit 0; \
20448 r=`${PWD_COMMAND}`; export r; \
20449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20450 $(HOST_EXPORTS) \
20451 for flag in $(EXTRA_HOST_FLAGS) ; do \
20452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20453 done; \
20454 echo "Doing distclean in m4" ; \
20455 (cd $(HOST_SUBDIR)/m4 && \
20456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20458 "RANLIB=$${RANLIB}" \
20459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20460 distclean) \
20461 || exit 1
20463 @endif m4
20465 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
20466 maybe-maintainer-clean-m4:
20467 @if m4
20468 maybe-maintainer-clean-m4: maintainer-clean-m4
20470 maintainer-clean-m4:
20471 @: $(MAKE); $(unstage)
20472 @[ -f ./m4/Makefile ] || exit 0; \
20473 r=`${PWD_COMMAND}`; export r; \
20474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20475 $(HOST_EXPORTS) \
20476 for flag in $(EXTRA_HOST_FLAGS) ; do \
20477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20478 done; \
20479 echo "Doing maintainer-clean in m4" ; \
20480 (cd $(HOST_SUBDIR)/m4 && \
20481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20483 "RANLIB=$${RANLIB}" \
20484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20485 maintainer-clean) \
20486 || exit 1
20488 @endif m4
20492 .PHONY: configure-make maybe-configure-make
20493 maybe-configure-make:
20494 @if gcc-bootstrap
20495 configure-make: stage_current
20496 @endif gcc-bootstrap
20497 @if make
20498 maybe-configure-make: configure-make
20499 configure-make:
20500 @: $(MAKE); $(unstage)
20501 @r=`${PWD_COMMAND}`; export r; \
20502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20503 test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
20504 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
20505 $(HOST_EXPORTS) \
20506 echo Configuring in $(HOST_SUBDIR)/make; \
20507 cd "$(HOST_SUBDIR)/make" || exit 1; \
20508 case $(srcdir) in \
20509 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20510 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
20511 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20512 esac; \
20513 srcdiroption="--srcdir=$${topdir}/make"; \
20514 libsrcdir="$$s/make"; \
20515 $(SHELL) $${libsrcdir}/configure \
20516 $(HOST_CONFIGARGS) $${srcdiroption} \
20517 || exit 1
20518 @endif make
20524 .PHONY: all-make maybe-all-make
20525 maybe-all-make:
20526 @if gcc-bootstrap
20527 all-make: stage_current
20528 @endif gcc-bootstrap
20529 @if make
20530 TARGET-make=all
20531 maybe-all-make: all-make
20532 all-make: configure-make
20533 @: $(MAKE); $(unstage)
20534 @r=`${PWD_COMMAND}`; export r; \
20535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20536 $(HOST_EXPORTS) \
20537 (cd $(HOST_SUBDIR)/make && \
20538 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
20539 @endif make
20544 .PHONY: check-make maybe-check-make
20545 maybe-check-make:
20546 @if make
20547 maybe-check-make: check-make
20549 check-make:
20550 @: $(MAKE); $(unstage)
20551 @r=`${PWD_COMMAND}`; export r; \
20552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20553 $(HOST_EXPORTS) \
20554 (cd $(HOST_SUBDIR)/make && \
20555 $(MAKE) $(FLAGS_TO_PASS) check)
20557 @endif make
20559 .PHONY: install-make maybe-install-make
20560 maybe-install-make:
20561 @if make
20562 maybe-install-make: install-make
20564 install-make: installdirs
20565 @: $(MAKE); $(unstage)
20566 @r=`${PWD_COMMAND}`; export r; \
20567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20568 $(HOST_EXPORTS) \
20569 (cd $(HOST_SUBDIR)/make && \
20570 $(MAKE) $(FLAGS_TO_PASS) install)
20572 @endif make
20574 # Other targets (info, dvi, etc.)
20576 .PHONY: maybe-info-make info-make
20577 maybe-info-make:
20578 @if make
20579 maybe-info-make: info-make
20581 info-make: \
20582 configure-make
20583 @: $(MAKE); $(unstage)
20584 @[ -f ./make/Makefile ] || exit 0; \
20585 r=`${PWD_COMMAND}`; export r; \
20586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20587 $(HOST_EXPORTS) \
20588 for flag in $(EXTRA_HOST_FLAGS) ; do \
20589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20590 done; \
20591 echo "Doing info in make" ; \
20592 (cd $(HOST_SUBDIR)/make && \
20593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20595 "RANLIB=$${RANLIB}" \
20596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20597 info) \
20598 || exit 1
20600 @endif make
20602 .PHONY: maybe-dvi-make dvi-make
20603 maybe-dvi-make:
20604 @if make
20605 maybe-dvi-make: dvi-make
20607 dvi-make: \
20608 configure-make
20609 @: $(MAKE); $(unstage)
20610 @[ -f ./make/Makefile ] || exit 0; \
20611 r=`${PWD_COMMAND}`; export r; \
20612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20613 $(HOST_EXPORTS) \
20614 for flag in $(EXTRA_HOST_FLAGS) ; do \
20615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20616 done; \
20617 echo "Doing dvi in make" ; \
20618 (cd $(HOST_SUBDIR)/make && \
20619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20621 "RANLIB=$${RANLIB}" \
20622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20623 dvi) \
20624 || exit 1
20626 @endif make
20628 .PHONY: maybe-html-make html-make
20629 maybe-html-make:
20630 @if make
20631 maybe-html-make: html-make
20633 html-make: \
20634 configure-make
20635 @: $(MAKE); $(unstage)
20636 @[ -f ./make/Makefile ] || exit 0; \
20637 r=`${PWD_COMMAND}`; export r; \
20638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20639 $(HOST_EXPORTS) \
20640 for flag in $(EXTRA_HOST_FLAGS) ; do \
20641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20642 done; \
20643 echo "Doing html in make" ; \
20644 (cd $(HOST_SUBDIR)/make && \
20645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20647 "RANLIB=$${RANLIB}" \
20648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20649 html) \
20650 || exit 1
20652 @endif make
20654 .PHONY: maybe-TAGS-make TAGS-make
20655 maybe-TAGS-make:
20656 @if make
20657 maybe-TAGS-make: TAGS-make
20659 TAGS-make: \
20660 configure-make
20661 @: $(MAKE); $(unstage)
20662 @[ -f ./make/Makefile ] || exit 0; \
20663 r=`${PWD_COMMAND}`; export r; \
20664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20665 $(HOST_EXPORTS) \
20666 for flag in $(EXTRA_HOST_FLAGS) ; do \
20667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20668 done; \
20669 echo "Doing TAGS in make" ; \
20670 (cd $(HOST_SUBDIR)/make && \
20671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20673 "RANLIB=$${RANLIB}" \
20674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20675 TAGS) \
20676 || exit 1
20678 @endif make
20680 .PHONY: maybe-install-info-make install-info-make
20681 maybe-install-info-make:
20682 @if make
20683 maybe-install-info-make: install-info-make
20685 install-info-make: \
20686 configure-make \
20687 info-make
20688 @: $(MAKE); $(unstage)
20689 @[ -f ./make/Makefile ] || exit 0; \
20690 r=`${PWD_COMMAND}`; export r; \
20691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20692 $(HOST_EXPORTS) \
20693 for flag in $(EXTRA_HOST_FLAGS) ; do \
20694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20695 done; \
20696 echo "Doing install-info in make" ; \
20697 (cd $(HOST_SUBDIR)/make && \
20698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20700 "RANLIB=$${RANLIB}" \
20701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20702 install-info) \
20703 || exit 1
20705 @endif make
20707 .PHONY: maybe-install-html-make install-html-make
20708 maybe-install-html-make:
20709 @if make
20710 maybe-install-html-make: install-html-make
20712 install-html-make: \
20713 configure-make \
20714 html-make
20715 @: $(MAKE); $(unstage)
20716 @[ -f ./make/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 install-html in make" ; \
20724 (cd $(HOST_SUBDIR)/make && \
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 install-html) \
20730 || exit 1
20732 @endif make
20734 .PHONY: maybe-installcheck-make installcheck-make
20735 maybe-installcheck-make:
20736 @if make
20737 maybe-installcheck-make: installcheck-make
20739 installcheck-make: \
20740 configure-make
20741 @: $(MAKE); $(unstage)
20742 @[ -f ./make/Makefile ] || exit 0; \
20743 r=`${PWD_COMMAND}`; export r; \
20744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20745 $(HOST_EXPORTS) \
20746 for flag in $(EXTRA_HOST_FLAGS) ; do \
20747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20748 done; \
20749 echo "Doing installcheck in make" ; \
20750 (cd $(HOST_SUBDIR)/make && \
20751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20753 "RANLIB=$${RANLIB}" \
20754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20755 installcheck) \
20756 || exit 1
20758 @endif make
20760 .PHONY: maybe-mostlyclean-make mostlyclean-make
20761 maybe-mostlyclean-make:
20762 @if make
20763 maybe-mostlyclean-make: mostlyclean-make
20765 mostlyclean-make:
20766 @: $(MAKE); $(unstage)
20767 @[ -f ./make/Makefile ] || exit 0; \
20768 r=`${PWD_COMMAND}`; export r; \
20769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20770 $(HOST_EXPORTS) \
20771 for flag in $(EXTRA_HOST_FLAGS) ; do \
20772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20773 done; \
20774 echo "Doing mostlyclean in make" ; \
20775 (cd $(HOST_SUBDIR)/make && \
20776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20778 "RANLIB=$${RANLIB}" \
20779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20780 mostlyclean) \
20781 || exit 1
20783 @endif make
20785 .PHONY: maybe-clean-make clean-make
20786 maybe-clean-make:
20787 @if make
20788 maybe-clean-make: clean-make
20790 clean-make:
20791 @: $(MAKE); $(unstage)
20792 @[ -f ./make/Makefile ] || exit 0; \
20793 r=`${PWD_COMMAND}`; export r; \
20794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20795 $(HOST_EXPORTS) \
20796 for flag in $(EXTRA_HOST_FLAGS) ; do \
20797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20798 done; \
20799 echo "Doing clean in make" ; \
20800 (cd $(HOST_SUBDIR)/make && \
20801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20803 "RANLIB=$${RANLIB}" \
20804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20805 clean) \
20806 || exit 1
20808 @endif make
20810 .PHONY: maybe-distclean-make distclean-make
20811 maybe-distclean-make:
20812 @if make
20813 maybe-distclean-make: distclean-make
20815 distclean-make:
20816 @: $(MAKE); $(unstage)
20817 @[ -f ./make/Makefile ] || exit 0; \
20818 r=`${PWD_COMMAND}`; export r; \
20819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20820 $(HOST_EXPORTS) \
20821 for flag in $(EXTRA_HOST_FLAGS) ; do \
20822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20823 done; \
20824 echo "Doing distclean in make" ; \
20825 (cd $(HOST_SUBDIR)/make && \
20826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20828 "RANLIB=$${RANLIB}" \
20829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20830 distclean) \
20831 || exit 1
20833 @endif make
20835 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
20836 maybe-maintainer-clean-make:
20837 @if make
20838 maybe-maintainer-clean-make: maintainer-clean-make
20840 maintainer-clean-make:
20841 @: $(MAKE); $(unstage)
20842 @[ -f ./make/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 maintainer-clean in make" ; \
20850 (cd $(HOST_SUBDIR)/make && \
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 maintainer-clean) \
20856 || exit 1
20858 @endif make
20862 .PHONY: configure-mmalloc maybe-configure-mmalloc
20863 maybe-configure-mmalloc:
20864 @if gcc-bootstrap
20865 configure-mmalloc: stage_current
20866 @endif gcc-bootstrap
20867 @if mmalloc
20868 maybe-configure-mmalloc: configure-mmalloc
20869 configure-mmalloc:
20870 @: $(MAKE); $(unstage)
20871 @r=`${PWD_COMMAND}`; export r; \
20872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20873 test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
20874 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
20875 $(HOST_EXPORTS) \
20876 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
20877 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
20878 case $(srcdir) in \
20879 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20880 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
20881 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20882 esac; \
20883 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
20884 libsrcdir="$$s/mmalloc"; \
20885 $(SHELL) $${libsrcdir}/configure \
20886 $(HOST_CONFIGARGS) $${srcdiroption} \
20887 || exit 1
20888 @endif mmalloc
20894 .PHONY: all-mmalloc maybe-all-mmalloc
20895 maybe-all-mmalloc:
20896 @if gcc-bootstrap
20897 all-mmalloc: stage_current
20898 @endif gcc-bootstrap
20899 @if mmalloc
20900 TARGET-mmalloc=all
20901 maybe-all-mmalloc: all-mmalloc
20902 all-mmalloc: configure-mmalloc
20903 @: $(MAKE); $(unstage)
20904 @r=`${PWD_COMMAND}`; export r; \
20905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20906 $(HOST_EXPORTS) \
20907 (cd $(HOST_SUBDIR)/mmalloc && \
20908 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
20909 @endif mmalloc
20914 .PHONY: check-mmalloc maybe-check-mmalloc
20915 maybe-check-mmalloc:
20916 @if mmalloc
20917 maybe-check-mmalloc: check-mmalloc
20919 check-mmalloc:
20921 @endif mmalloc
20923 .PHONY: install-mmalloc maybe-install-mmalloc
20924 maybe-install-mmalloc:
20925 @if mmalloc
20926 maybe-install-mmalloc: install-mmalloc
20928 install-mmalloc: installdirs
20929 @: $(MAKE); $(unstage)
20930 @r=`${PWD_COMMAND}`; export r; \
20931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20932 $(HOST_EXPORTS) \
20933 (cd $(HOST_SUBDIR)/mmalloc && \
20934 $(MAKE) $(FLAGS_TO_PASS) install)
20936 @endif mmalloc
20938 # Other targets (info, dvi, etc.)
20940 .PHONY: maybe-info-mmalloc info-mmalloc
20941 maybe-info-mmalloc:
20942 @if mmalloc
20943 maybe-info-mmalloc: info-mmalloc
20945 info-mmalloc: \
20946 configure-mmalloc
20947 @: $(MAKE); $(unstage)
20948 @[ -f ./mmalloc/Makefile ] || exit 0; \
20949 r=`${PWD_COMMAND}`; export r; \
20950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20951 $(HOST_EXPORTS) \
20952 for flag in $(EXTRA_HOST_FLAGS) ; do \
20953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20954 done; \
20955 echo "Doing info in mmalloc" ; \
20956 (cd $(HOST_SUBDIR)/mmalloc && \
20957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20959 "RANLIB=$${RANLIB}" \
20960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20961 info) \
20962 || exit 1
20964 @endif mmalloc
20966 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
20967 maybe-dvi-mmalloc:
20968 @if mmalloc
20969 maybe-dvi-mmalloc: dvi-mmalloc
20971 dvi-mmalloc: \
20972 configure-mmalloc
20973 @: $(MAKE); $(unstage)
20974 @[ -f ./mmalloc/Makefile ] || exit 0; \
20975 r=`${PWD_COMMAND}`; export r; \
20976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20977 $(HOST_EXPORTS) \
20978 for flag in $(EXTRA_HOST_FLAGS) ; do \
20979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20980 done; \
20981 echo "Doing dvi in mmalloc" ; \
20982 (cd $(HOST_SUBDIR)/mmalloc && \
20983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20985 "RANLIB=$${RANLIB}" \
20986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20987 dvi) \
20988 || exit 1
20990 @endif mmalloc
20992 .PHONY: maybe-html-mmalloc html-mmalloc
20993 maybe-html-mmalloc:
20994 @if mmalloc
20995 maybe-html-mmalloc: html-mmalloc
20997 html-mmalloc: \
20998 configure-mmalloc
20999 @: $(MAKE); $(unstage)
21000 @[ -f ./mmalloc/Makefile ] || exit 0; \
21001 r=`${PWD_COMMAND}`; export r; \
21002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21003 $(HOST_EXPORTS) \
21004 for flag in $(EXTRA_HOST_FLAGS) ; do \
21005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21006 done; \
21007 echo "Doing html in mmalloc" ; \
21008 (cd $(HOST_SUBDIR)/mmalloc && \
21009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21011 "RANLIB=$${RANLIB}" \
21012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21013 html) \
21014 || exit 1
21016 @endif mmalloc
21018 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
21019 maybe-TAGS-mmalloc:
21020 @if mmalloc
21021 maybe-TAGS-mmalloc: TAGS-mmalloc
21023 TAGS-mmalloc: \
21024 configure-mmalloc
21025 @: $(MAKE); $(unstage)
21026 @[ -f ./mmalloc/Makefile ] || exit 0; \
21027 r=`${PWD_COMMAND}`; export r; \
21028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21029 $(HOST_EXPORTS) \
21030 for flag in $(EXTRA_HOST_FLAGS) ; do \
21031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21032 done; \
21033 echo "Doing TAGS in mmalloc" ; \
21034 (cd $(HOST_SUBDIR)/mmalloc && \
21035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21037 "RANLIB=$${RANLIB}" \
21038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21039 TAGS) \
21040 || exit 1
21042 @endif mmalloc
21044 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
21045 maybe-install-info-mmalloc:
21046 @if mmalloc
21047 maybe-install-info-mmalloc: install-info-mmalloc
21049 install-info-mmalloc: \
21050 configure-mmalloc \
21051 info-mmalloc
21052 @: $(MAKE); $(unstage)
21053 @[ -f ./mmalloc/Makefile ] || exit 0; \
21054 r=`${PWD_COMMAND}`; export r; \
21055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21056 $(HOST_EXPORTS) \
21057 for flag in $(EXTRA_HOST_FLAGS) ; do \
21058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21059 done; \
21060 echo "Doing install-info in mmalloc" ; \
21061 (cd $(HOST_SUBDIR)/mmalloc && \
21062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21064 "RANLIB=$${RANLIB}" \
21065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21066 install-info) \
21067 || exit 1
21069 @endif mmalloc
21071 .PHONY: maybe-install-html-mmalloc install-html-mmalloc
21072 maybe-install-html-mmalloc:
21073 @if mmalloc
21074 maybe-install-html-mmalloc: install-html-mmalloc
21076 install-html-mmalloc: \
21077 configure-mmalloc \
21078 html-mmalloc
21079 @: $(MAKE); $(unstage)
21080 @[ -f ./mmalloc/Makefile ] || exit 0; \
21081 r=`${PWD_COMMAND}`; export r; \
21082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21083 $(HOST_EXPORTS) \
21084 for flag in $(EXTRA_HOST_FLAGS) ; do \
21085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21086 done; \
21087 echo "Doing install-html in mmalloc" ; \
21088 (cd $(HOST_SUBDIR)/mmalloc && \
21089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21091 "RANLIB=$${RANLIB}" \
21092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21093 install-html) \
21094 || exit 1
21096 @endif mmalloc
21098 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
21099 maybe-installcheck-mmalloc:
21100 @if mmalloc
21101 maybe-installcheck-mmalloc: installcheck-mmalloc
21103 installcheck-mmalloc: \
21104 configure-mmalloc
21105 @: $(MAKE); $(unstage)
21106 @[ -f ./mmalloc/Makefile ] || exit 0; \
21107 r=`${PWD_COMMAND}`; export r; \
21108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21109 $(HOST_EXPORTS) \
21110 for flag in $(EXTRA_HOST_FLAGS) ; do \
21111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21112 done; \
21113 echo "Doing installcheck in mmalloc" ; \
21114 (cd $(HOST_SUBDIR)/mmalloc && \
21115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21117 "RANLIB=$${RANLIB}" \
21118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21119 installcheck) \
21120 || exit 1
21122 @endif mmalloc
21124 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
21125 maybe-mostlyclean-mmalloc:
21126 @if mmalloc
21127 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
21129 mostlyclean-mmalloc:
21130 @: $(MAKE); $(unstage)
21131 @[ -f ./mmalloc/Makefile ] || exit 0; \
21132 r=`${PWD_COMMAND}`; export r; \
21133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21134 $(HOST_EXPORTS) \
21135 for flag in $(EXTRA_HOST_FLAGS) ; do \
21136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21137 done; \
21138 echo "Doing mostlyclean in mmalloc" ; \
21139 (cd $(HOST_SUBDIR)/mmalloc && \
21140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21142 "RANLIB=$${RANLIB}" \
21143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21144 mostlyclean) \
21145 || exit 1
21147 @endif mmalloc
21149 .PHONY: maybe-clean-mmalloc clean-mmalloc
21150 maybe-clean-mmalloc:
21151 @if mmalloc
21152 maybe-clean-mmalloc: clean-mmalloc
21154 clean-mmalloc:
21155 @: $(MAKE); $(unstage)
21156 @[ -f ./mmalloc/Makefile ] || exit 0; \
21157 r=`${PWD_COMMAND}`; export r; \
21158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21159 $(HOST_EXPORTS) \
21160 for flag in $(EXTRA_HOST_FLAGS) ; do \
21161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21162 done; \
21163 echo "Doing clean in mmalloc" ; \
21164 (cd $(HOST_SUBDIR)/mmalloc && \
21165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21167 "RANLIB=$${RANLIB}" \
21168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21169 clean) \
21170 || exit 1
21172 @endif mmalloc
21174 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
21175 maybe-distclean-mmalloc:
21176 @if mmalloc
21177 maybe-distclean-mmalloc: distclean-mmalloc
21179 distclean-mmalloc:
21180 @: $(MAKE); $(unstage)
21181 @[ -f ./mmalloc/Makefile ] || exit 0; \
21182 r=`${PWD_COMMAND}`; export r; \
21183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21184 $(HOST_EXPORTS) \
21185 for flag in $(EXTRA_HOST_FLAGS) ; do \
21186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21187 done; \
21188 echo "Doing distclean in mmalloc" ; \
21189 (cd $(HOST_SUBDIR)/mmalloc && \
21190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21192 "RANLIB=$${RANLIB}" \
21193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21194 distclean) \
21195 || exit 1
21197 @endif mmalloc
21199 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
21200 maybe-maintainer-clean-mmalloc:
21201 @if mmalloc
21202 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
21204 maintainer-clean-mmalloc:
21205 @: $(MAKE); $(unstage)
21206 @[ -f ./mmalloc/Makefile ] || exit 0; \
21207 r=`${PWD_COMMAND}`; export r; \
21208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21209 $(HOST_EXPORTS) \
21210 for flag in $(EXTRA_HOST_FLAGS) ; do \
21211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21212 done; \
21213 echo "Doing maintainer-clean in mmalloc" ; \
21214 (cd $(HOST_SUBDIR)/mmalloc && \
21215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21217 "RANLIB=$${RANLIB}" \
21218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21219 maintainer-clean) \
21220 || exit 1
21222 @endif mmalloc
21226 .PHONY: configure-patch maybe-configure-patch
21227 maybe-configure-patch:
21228 @if gcc-bootstrap
21229 configure-patch: stage_current
21230 @endif gcc-bootstrap
21231 @if patch
21232 maybe-configure-patch: configure-patch
21233 configure-patch:
21234 @: $(MAKE); $(unstage)
21235 @r=`${PWD_COMMAND}`; export r; \
21236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21237 test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
21238 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
21239 $(HOST_EXPORTS) \
21240 echo Configuring in $(HOST_SUBDIR)/patch; \
21241 cd "$(HOST_SUBDIR)/patch" || exit 1; \
21242 case $(srcdir) in \
21243 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21244 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
21245 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21246 esac; \
21247 srcdiroption="--srcdir=$${topdir}/patch"; \
21248 libsrcdir="$$s/patch"; \
21249 $(SHELL) $${libsrcdir}/configure \
21250 $(HOST_CONFIGARGS) $${srcdiroption} \
21251 || exit 1
21252 @endif patch
21258 .PHONY: all-patch maybe-all-patch
21259 maybe-all-patch:
21260 @if gcc-bootstrap
21261 all-patch: stage_current
21262 @endif gcc-bootstrap
21263 @if patch
21264 TARGET-patch=all
21265 maybe-all-patch: all-patch
21266 all-patch: configure-patch
21267 @: $(MAKE); $(unstage)
21268 @r=`${PWD_COMMAND}`; export r; \
21269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21270 $(HOST_EXPORTS) \
21271 (cd $(HOST_SUBDIR)/patch && \
21272 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
21273 @endif patch
21278 .PHONY: check-patch maybe-check-patch
21279 maybe-check-patch:
21280 @if patch
21281 maybe-check-patch: check-patch
21283 check-patch:
21284 @: $(MAKE); $(unstage)
21285 @r=`${PWD_COMMAND}`; export r; \
21286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21287 $(HOST_EXPORTS) \
21288 (cd $(HOST_SUBDIR)/patch && \
21289 $(MAKE) $(FLAGS_TO_PASS) check)
21291 @endif patch
21293 .PHONY: install-patch maybe-install-patch
21294 maybe-install-patch:
21295 @if patch
21296 maybe-install-patch: install-patch
21298 install-patch: installdirs
21299 @: $(MAKE); $(unstage)
21300 @r=`${PWD_COMMAND}`; export r; \
21301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21302 $(HOST_EXPORTS) \
21303 (cd $(HOST_SUBDIR)/patch && \
21304 $(MAKE) $(FLAGS_TO_PASS) install)
21306 @endif patch
21308 # Other targets (info, dvi, etc.)
21310 .PHONY: maybe-info-patch info-patch
21311 maybe-info-patch:
21312 @if patch
21313 maybe-info-patch: info-patch
21315 info-patch: \
21316 configure-patch
21317 @: $(MAKE); $(unstage)
21318 @[ -f ./patch/Makefile ] || exit 0; \
21319 r=`${PWD_COMMAND}`; export r; \
21320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21321 $(HOST_EXPORTS) \
21322 for flag in $(EXTRA_HOST_FLAGS) ; do \
21323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21324 done; \
21325 echo "Doing info in patch" ; \
21326 (cd $(HOST_SUBDIR)/patch && \
21327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21329 "RANLIB=$${RANLIB}" \
21330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21331 info) \
21332 || exit 1
21334 @endif patch
21336 .PHONY: maybe-dvi-patch dvi-patch
21337 maybe-dvi-patch:
21338 @if patch
21339 maybe-dvi-patch: dvi-patch
21341 dvi-patch: \
21342 configure-patch
21343 @: $(MAKE); $(unstage)
21344 @[ -f ./patch/Makefile ] || exit 0; \
21345 r=`${PWD_COMMAND}`; export r; \
21346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21347 $(HOST_EXPORTS) \
21348 for flag in $(EXTRA_HOST_FLAGS) ; do \
21349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21350 done; \
21351 echo "Doing dvi in patch" ; \
21352 (cd $(HOST_SUBDIR)/patch && \
21353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21355 "RANLIB=$${RANLIB}" \
21356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21357 dvi) \
21358 || exit 1
21360 @endif patch
21362 .PHONY: maybe-html-patch html-patch
21363 maybe-html-patch:
21364 @if patch
21365 maybe-html-patch: html-patch
21367 html-patch: \
21368 configure-patch
21369 @: $(MAKE); $(unstage)
21370 @[ -f ./patch/Makefile ] || exit 0; \
21371 r=`${PWD_COMMAND}`; export r; \
21372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21373 $(HOST_EXPORTS) \
21374 for flag in $(EXTRA_HOST_FLAGS) ; do \
21375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21376 done; \
21377 echo "Doing html in patch" ; \
21378 (cd $(HOST_SUBDIR)/patch && \
21379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21381 "RANLIB=$${RANLIB}" \
21382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21383 html) \
21384 || exit 1
21386 @endif patch
21388 .PHONY: maybe-TAGS-patch TAGS-patch
21389 maybe-TAGS-patch:
21390 @if patch
21391 maybe-TAGS-patch: TAGS-patch
21393 TAGS-patch: \
21394 configure-patch
21395 @: $(MAKE); $(unstage)
21396 @[ -f ./patch/Makefile ] || exit 0; \
21397 r=`${PWD_COMMAND}`; export r; \
21398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21399 $(HOST_EXPORTS) \
21400 for flag in $(EXTRA_HOST_FLAGS) ; do \
21401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21402 done; \
21403 echo "Doing TAGS in patch" ; \
21404 (cd $(HOST_SUBDIR)/patch && \
21405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21407 "RANLIB=$${RANLIB}" \
21408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21409 TAGS) \
21410 || exit 1
21412 @endif patch
21414 .PHONY: maybe-install-info-patch install-info-patch
21415 maybe-install-info-patch:
21416 @if patch
21417 maybe-install-info-patch: install-info-patch
21419 install-info-patch: \
21420 configure-patch \
21421 info-patch
21422 @: $(MAKE); $(unstage)
21423 @[ -f ./patch/Makefile ] || exit 0; \
21424 r=`${PWD_COMMAND}`; export r; \
21425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21426 $(HOST_EXPORTS) \
21427 for flag in $(EXTRA_HOST_FLAGS) ; do \
21428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21429 done; \
21430 echo "Doing install-info in patch" ; \
21431 (cd $(HOST_SUBDIR)/patch && \
21432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21434 "RANLIB=$${RANLIB}" \
21435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21436 install-info) \
21437 || exit 1
21439 @endif patch
21441 .PHONY: maybe-install-html-patch install-html-patch
21442 maybe-install-html-patch:
21443 @if patch
21444 maybe-install-html-patch: install-html-patch
21446 install-html-patch: \
21447 configure-patch \
21448 html-patch
21449 @: $(MAKE); $(unstage)
21450 @[ -f ./patch/Makefile ] || exit 0; \
21451 r=`${PWD_COMMAND}`; export r; \
21452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21453 $(HOST_EXPORTS) \
21454 for flag in $(EXTRA_HOST_FLAGS) ; do \
21455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21456 done; \
21457 echo "Doing install-html in patch" ; \
21458 (cd $(HOST_SUBDIR)/patch && \
21459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21461 "RANLIB=$${RANLIB}" \
21462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21463 install-html) \
21464 || exit 1
21466 @endif patch
21468 .PHONY: maybe-installcheck-patch installcheck-patch
21469 maybe-installcheck-patch:
21470 @if patch
21471 maybe-installcheck-patch: installcheck-patch
21473 installcheck-patch: \
21474 configure-patch
21475 @: $(MAKE); $(unstage)
21476 @[ -f ./patch/Makefile ] || exit 0; \
21477 r=`${PWD_COMMAND}`; export r; \
21478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21479 $(HOST_EXPORTS) \
21480 for flag in $(EXTRA_HOST_FLAGS) ; do \
21481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21482 done; \
21483 echo "Doing installcheck in patch" ; \
21484 (cd $(HOST_SUBDIR)/patch && \
21485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21487 "RANLIB=$${RANLIB}" \
21488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21489 installcheck) \
21490 || exit 1
21492 @endif patch
21494 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
21495 maybe-mostlyclean-patch:
21496 @if patch
21497 maybe-mostlyclean-patch: mostlyclean-patch
21499 mostlyclean-patch:
21500 @: $(MAKE); $(unstage)
21501 @[ -f ./patch/Makefile ] || exit 0; \
21502 r=`${PWD_COMMAND}`; export r; \
21503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21504 $(HOST_EXPORTS) \
21505 for flag in $(EXTRA_HOST_FLAGS) ; do \
21506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21507 done; \
21508 echo "Doing mostlyclean in patch" ; \
21509 (cd $(HOST_SUBDIR)/patch && \
21510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21512 "RANLIB=$${RANLIB}" \
21513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21514 mostlyclean) \
21515 || exit 1
21517 @endif patch
21519 .PHONY: maybe-clean-patch clean-patch
21520 maybe-clean-patch:
21521 @if patch
21522 maybe-clean-patch: clean-patch
21524 clean-patch:
21525 @: $(MAKE); $(unstage)
21526 @[ -f ./patch/Makefile ] || exit 0; \
21527 r=`${PWD_COMMAND}`; export r; \
21528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21529 $(HOST_EXPORTS) \
21530 for flag in $(EXTRA_HOST_FLAGS) ; do \
21531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21532 done; \
21533 echo "Doing clean in patch" ; \
21534 (cd $(HOST_SUBDIR)/patch && \
21535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21537 "RANLIB=$${RANLIB}" \
21538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21539 clean) \
21540 || exit 1
21542 @endif patch
21544 .PHONY: maybe-distclean-patch distclean-patch
21545 maybe-distclean-patch:
21546 @if patch
21547 maybe-distclean-patch: distclean-patch
21549 distclean-patch:
21550 @: $(MAKE); $(unstage)
21551 @[ -f ./patch/Makefile ] || exit 0; \
21552 r=`${PWD_COMMAND}`; export r; \
21553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21554 $(HOST_EXPORTS) \
21555 for flag in $(EXTRA_HOST_FLAGS) ; do \
21556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21557 done; \
21558 echo "Doing distclean in patch" ; \
21559 (cd $(HOST_SUBDIR)/patch && \
21560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21562 "RANLIB=$${RANLIB}" \
21563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21564 distclean) \
21565 || exit 1
21567 @endif patch
21569 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
21570 maybe-maintainer-clean-patch:
21571 @if patch
21572 maybe-maintainer-clean-patch: maintainer-clean-patch
21574 maintainer-clean-patch:
21575 @: $(MAKE); $(unstage)
21576 @[ -f ./patch/Makefile ] || exit 0; \
21577 r=`${PWD_COMMAND}`; export r; \
21578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21579 $(HOST_EXPORTS) \
21580 for flag in $(EXTRA_HOST_FLAGS) ; do \
21581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21582 done; \
21583 echo "Doing maintainer-clean in patch" ; \
21584 (cd $(HOST_SUBDIR)/patch && \
21585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21587 "RANLIB=$${RANLIB}" \
21588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21589 maintainer-clean) \
21590 || exit 1
21592 @endif patch
21596 .PHONY: configure-perl maybe-configure-perl
21597 maybe-configure-perl:
21598 @if gcc-bootstrap
21599 configure-perl: stage_current
21600 @endif gcc-bootstrap
21601 @if perl
21602 maybe-configure-perl: configure-perl
21603 configure-perl:
21604 @: $(MAKE); $(unstage)
21605 @r=`${PWD_COMMAND}`; export r; \
21606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21607 test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
21608 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
21609 $(HOST_EXPORTS) \
21610 echo Configuring in $(HOST_SUBDIR)/perl; \
21611 cd "$(HOST_SUBDIR)/perl" || exit 1; \
21612 case $(srcdir) in \
21613 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21614 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
21615 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21616 esac; \
21617 srcdiroption="--srcdir=$${topdir}/perl"; \
21618 libsrcdir="$$s/perl"; \
21619 $(SHELL) $${libsrcdir}/configure \
21620 $(HOST_CONFIGARGS) $${srcdiroption} \
21621 || exit 1
21622 @endif perl
21628 .PHONY: all-perl maybe-all-perl
21629 maybe-all-perl:
21630 @if gcc-bootstrap
21631 all-perl: stage_current
21632 @endif gcc-bootstrap
21633 @if perl
21634 TARGET-perl=all
21635 maybe-all-perl: all-perl
21636 all-perl: configure-perl
21637 @: $(MAKE); $(unstage)
21638 @r=`${PWD_COMMAND}`; export r; \
21639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21640 $(HOST_EXPORTS) \
21641 (cd $(HOST_SUBDIR)/perl && \
21642 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
21643 @endif perl
21648 .PHONY: check-perl maybe-check-perl
21649 maybe-check-perl:
21650 @if perl
21651 maybe-check-perl: check-perl
21653 check-perl:
21654 @: $(MAKE); $(unstage)
21655 @r=`${PWD_COMMAND}`; export r; \
21656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21657 $(HOST_EXPORTS) \
21658 (cd $(HOST_SUBDIR)/perl && \
21659 $(MAKE) $(FLAGS_TO_PASS) check)
21661 @endif perl
21663 .PHONY: install-perl maybe-install-perl
21664 maybe-install-perl:
21665 @if perl
21666 maybe-install-perl: install-perl
21668 install-perl: installdirs
21669 @: $(MAKE); $(unstage)
21670 @r=`${PWD_COMMAND}`; export r; \
21671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21672 $(HOST_EXPORTS) \
21673 (cd $(HOST_SUBDIR)/perl && \
21674 $(MAKE) $(FLAGS_TO_PASS) install)
21676 @endif perl
21678 # Other targets (info, dvi, etc.)
21680 .PHONY: maybe-info-perl info-perl
21681 maybe-info-perl:
21682 @if perl
21683 maybe-info-perl: info-perl
21685 info-perl: \
21686 configure-perl
21687 @: $(MAKE); $(unstage)
21688 @[ -f ./perl/Makefile ] || exit 0; \
21689 r=`${PWD_COMMAND}`; export r; \
21690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21691 $(HOST_EXPORTS) \
21692 for flag in $(EXTRA_HOST_FLAGS) ; do \
21693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21694 done; \
21695 echo "Doing info in perl" ; \
21696 (cd $(HOST_SUBDIR)/perl && \
21697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21699 "RANLIB=$${RANLIB}" \
21700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21701 info) \
21702 || exit 1
21704 @endif perl
21706 .PHONY: maybe-dvi-perl dvi-perl
21707 maybe-dvi-perl:
21708 @if perl
21709 maybe-dvi-perl: dvi-perl
21711 dvi-perl: \
21712 configure-perl
21713 @: $(MAKE); $(unstage)
21714 @[ -f ./perl/Makefile ] || exit 0; \
21715 r=`${PWD_COMMAND}`; export r; \
21716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21717 $(HOST_EXPORTS) \
21718 for flag in $(EXTRA_HOST_FLAGS) ; do \
21719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21720 done; \
21721 echo "Doing dvi in perl" ; \
21722 (cd $(HOST_SUBDIR)/perl && \
21723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21725 "RANLIB=$${RANLIB}" \
21726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21727 dvi) \
21728 || exit 1
21730 @endif perl
21732 .PHONY: maybe-html-perl html-perl
21733 maybe-html-perl:
21734 @if perl
21735 maybe-html-perl: html-perl
21737 html-perl: \
21738 configure-perl
21739 @: $(MAKE); $(unstage)
21740 @[ -f ./perl/Makefile ] || exit 0; \
21741 r=`${PWD_COMMAND}`; export r; \
21742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21743 $(HOST_EXPORTS) \
21744 for flag in $(EXTRA_HOST_FLAGS) ; do \
21745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21746 done; \
21747 echo "Doing html in perl" ; \
21748 (cd $(HOST_SUBDIR)/perl && \
21749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21751 "RANLIB=$${RANLIB}" \
21752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21753 html) \
21754 || exit 1
21756 @endif perl
21758 .PHONY: maybe-TAGS-perl TAGS-perl
21759 maybe-TAGS-perl:
21760 @if perl
21761 maybe-TAGS-perl: TAGS-perl
21763 TAGS-perl: \
21764 configure-perl
21765 @: $(MAKE); $(unstage)
21766 @[ -f ./perl/Makefile ] || exit 0; \
21767 r=`${PWD_COMMAND}`; export r; \
21768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21769 $(HOST_EXPORTS) \
21770 for flag in $(EXTRA_HOST_FLAGS) ; do \
21771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21772 done; \
21773 echo "Doing TAGS in perl" ; \
21774 (cd $(HOST_SUBDIR)/perl && \
21775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21777 "RANLIB=$${RANLIB}" \
21778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21779 TAGS) \
21780 || exit 1
21782 @endif perl
21784 .PHONY: maybe-install-info-perl install-info-perl
21785 maybe-install-info-perl:
21786 @if perl
21787 maybe-install-info-perl: install-info-perl
21789 install-info-perl: \
21790 configure-perl \
21791 info-perl
21792 @: $(MAKE); $(unstage)
21793 @[ -f ./perl/Makefile ] || exit 0; \
21794 r=`${PWD_COMMAND}`; export r; \
21795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21796 $(HOST_EXPORTS) \
21797 for flag in $(EXTRA_HOST_FLAGS) ; do \
21798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21799 done; \
21800 echo "Doing install-info in perl" ; \
21801 (cd $(HOST_SUBDIR)/perl && \
21802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21804 "RANLIB=$${RANLIB}" \
21805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21806 install-info) \
21807 || exit 1
21809 @endif perl
21811 .PHONY: maybe-install-html-perl install-html-perl
21812 maybe-install-html-perl:
21813 @if perl
21814 maybe-install-html-perl: install-html-perl
21816 install-html-perl: \
21817 configure-perl \
21818 html-perl
21819 @: $(MAKE); $(unstage)
21820 @[ -f ./perl/Makefile ] || exit 0; \
21821 r=`${PWD_COMMAND}`; export r; \
21822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21823 $(HOST_EXPORTS) \
21824 for flag in $(EXTRA_HOST_FLAGS) ; do \
21825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21826 done; \
21827 echo "Doing install-html in perl" ; \
21828 (cd $(HOST_SUBDIR)/perl && \
21829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21831 "RANLIB=$${RANLIB}" \
21832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21833 install-html) \
21834 || exit 1
21836 @endif perl
21838 .PHONY: maybe-installcheck-perl installcheck-perl
21839 maybe-installcheck-perl:
21840 @if perl
21841 maybe-installcheck-perl: installcheck-perl
21843 installcheck-perl: \
21844 configure-perl
21845 @: $(MAKE); $(unstage)
21846 @[ -f ./perl/Makefile ] || exit 0; \
21847 r=`${PWD_COMMAND}`; export r; \
21848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21849 $(HOST_EXPORTS) \
21850 for flag in $(EXTRA_HOST_FLAGS) ; do \
21851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21852 done; \
21853 echo "Doing installcheck in perl" ; \
21854 (cd $(HOST_SUBDIR)/perl && \
21855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21857 "RANLIB=$${RANLIB}" \
21858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21859 installcheck) \
21860 || exit 1
21862 @endif perl
21864 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
21865 maybe-mostlyclean-perl:
21866 @if perl
21867 maybe-mostlyclean-perl: mostlyclean-perl
21869 mostlyclean-perl:
21870 @: $(MAKE); $(unstage)
21871 @[ -f ./perl/Makefile ] || exit 0; \
21872 r=`${PWD_COMMAND}`; export r; \
21873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21874 $(HOST_EXPORTS) \
21875 for flag in $(EXTRA_HOST_FLAGS) ; do \
21876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21877 done; \
21878 echo "Doing mostlyclean in perl" ; \
21879 (cd $(HOST_SUBDIR)/perl && \
21880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21882 "RANLIB=$${RANLIB}" \
21883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21884 mostlyclean) \
21885 || exit 1
21887 @endif perl
21889 .PHONY: maybe-clean-perl clean-perl
21890 maybe-clean-perl:
21891 @if perl
21892 maybe-clean-perl: clean-perl
21894 clean-perl:
21895 @: $(MAKE); $(unstage)
21896 @[ -f ./perl/Makefile ] || exit 0; \
21897 r=`${PWD_COMMAND}`; export r; \
21898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21899 $(HOST_EXPORTS) \
21900 for flag in $(EXTRA_HOST_FLAGS) ; do \
21901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21902 done; \
21903 echo "Doing clean in perl" ; \
21904 (cd $(HOST_SUBDIR)/perl && \
21905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21907 "RANLIB=$${RANLIB}" \
21908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21909 clean) \
21910 || exit 1
21912 @endif perl
21914 .PHONY: maybe-distclean-perl distclean-perl
21915 maybe-distclean-perl:
21916 @if perl
21917 maybe-distclean-perl: distclean-perl
21919 distclean-perl:
21920 @: $(MAKE); $(unstage)
21921 @[ -f ./perl/Makefile ] || exit 0; \
21922 r=`${PWD_COMMAND}`; export r; \
21923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21924 $(HOST_EXPORTS) \
21925 for flag in $(EXTRA_HOST_FLAGS) ; do \
21926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21927 done; \
21928 echo "Doing distclean in perl" ; \
21929 (cd $(HOST_SUBDIR)/perl && \
21930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21932 "RANLIB=$${RANLIB}" \
21933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21934 distclean) \
21935 || exit 1
21937 @endif perl
21939 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
21940 maybe-maintainer-clean-perl:
21941 @if perl
21942 maybe-maintainer-clean-perl: maintainer-clean-perl
21944 maintainer-clean-perl:
21945 @: $(MAKE); $(unstage)
21946 @[ -f ./perl/Makefile ] || exit 0; \
21947 r=`${PWD_COMMAND}`; export r; \
21948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21949 $(HOST_EXPORTS) \
21950 for flag in $(EXTRA_HOST_FLAGS) ; do \
21951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21952 done; \
21953 echo "Doing maintainer-clean in perl" ; \
21954 (cd $(HOST_SUBDIR)/perl && \
21955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21957 "RANLIB=$${RANLIB}" \
21958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21959 maintainer-clean) \
21960 || exit 1
21962 @endif perl
21966 .PHONY: configure-prms maybe-configure-prms
21967 maybe-configure-prms:
21968 @if gcc-bootstrap
21969 configure-prms: stage_current
21970 @endif gcc-bootstrap
21971 @if prms
21972 maybe-configure-prms: configure-prms
21973 configure-prms:
21974 @: $(MAKE); $(unstage)
21975 @r=`${PWD_COMMAND}`; export r; \
21976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21977 test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
21978 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
21979 $(HOST_EXPORTS) \
21980 echo Configuring in $(HOST_SUBDIR)/prms; \
21981 cd "$(HOST_SUBDIR)/prms" || exit 1; \
21982 case $(srcdir) in \
21983 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21984 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
21985 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21986 esac; \
21987 srcdiroption="--srcdir=$${topdir}/prms"; \
21988 libsrcdir="$$s/prms"; \
21989 $(SHELL) $${libsrcdir}/configure \
21990 $(HOST_CONFIGARGS) $${srcdiroption} \
21991 || exit 1
21992 @endif prms
21998 .PHONY: all-prms maybe-all-prms
21999 maybe-all-prms:
22000 @if gcc-bootstrap
22001 all-prms: stage_current
22002 @endif gcc-bootstrap
22003 @if prms
22004 TARGET-prms=all
22005 maybe-all-prms: all-prms
22006 all-prms: configure-prms
22007 @: $(MAKE); $(unstage)
22008 @r=`${PWD_COMMAND}`; export r; \
22009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22010 $(HOST_EXPORTS) \
22011 (cd $(HOST_SUBDIR)/prms && \
22012 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
22013 @endif prms
22018 .PHONY: check-prms maybe-check-prms
22019 maybe-check-prms:
22020 @if prms
22021 maybe-check-prms: check-prms
22023 check-prms:
22024 @: $(MAKE); $(unstage)
22025 @r=`${PWD_COMMAND}`; export r; \
22026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22027 $(HOST_EXPORTS) \
22028 (cd $(HOST_SUBDIR)/prms && \
22029 $(MAKE) $(FLAGS_TO_PASS) check)
22031 @endif prms
22033 .PHONY: install-prms maybe-install-prms
22034 maybe-install-prms:
22035 @if prms
22036 maybe-install-prms: install-prms
22038 install-prms: installdirs
22039 @: $(MAKE); $(unstage)
22040 @r=`${PWD_COMMAND}`; export r; \
22041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22042 $(HOST_EXPORTS) \
22043 (cd $(HOST_SUBDIR)/prms && \
22044 $(MAKE) $(FLAGS_TO_PASS) install)
22046 @endif prms
22048 # Other targets (info, dvi, etc.)
22050 .PHONY: maybe-info-prms info-prms
22051 maybe-info-prms:
22052 @if prms
22053 maybe-info-prms: info-prms
22055 info-prms: \
22056 configure-prms
22057 @: $(MAKE); $(unstage)
22058 @[ -f ./prms/Makefile ] || exit 0; \
22059 r=`${PWD_COMMAND}`; export r; \
22060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22061 $(HOST_EXPORTS) \
22062 for flag in $(EXTRA_HOST_FLAGS) ; do \
22063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22064 done; \
22065 echo "Doing info in prms" ; \
22066 (cd $(HOST_SUBDIR)/prms && \
22067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22069 "RANLIB=$${RANLIB}" \
22070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22071 info) \
22072 || exit 1
22074 @endif prms
22076 .PHONY: maybe-dvi-prms dvi-prms
22077 maybe-dvi-prms:
22078 @if prms
22079 maybe-dvi-prms: dvi-prms
22081 dvi-prms: \
22082 configure-prms
22083 @: $(MAKE); $(unstage)
22084 @[ -f ./prms/Makefile ] || exit 0; \
22085 r=`${PWD_COMMAND}`; export r; \
22086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22087 $(HOST_EXPORTS) \
22088 for flag in $(EXTRA_HOST_FLAGS) ; do \
22089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22090 done; \
22091 echo "Doing dvi in prms" ; \
22092 (cd $(HOST_SUBDIR)/prms && \
22093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22095 "RANLIB=$${RANLIB}" \
22096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22097 dvi) \
22098 || exit 1
22100 @endif prms
22102 .PHONY: maybe-html-prms html-prms
22103 maybe-html-prms:
22104 @if prms
22105 maybe-html-prms: html-prms
22107 html-prms: \
22108 configure-prms
22109 @: $(MAKE); $(unstage)
22110 @[ -f ./prms/Makefile ] || exit 0; \
22111 r=`${PWD_COMMAND}`; export r; \
22112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22113 $(HOST_EXPORTS) \
22114 for flag in $(EXTRA_HOST_FLAGS) ; do \
22115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22116 done; \
22117 echo "Doing html in prms" ; \
22118 (cd $(HOST_SUBDIR)/prms && \
22119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22121 "RANLIB=$${RANLIB}" \
22122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22123 html) \
22124 || exit 1
22126 @endif prms
22128 .PHONY: maybe-TAGS-prms TAGS-prms
22129 maybe-TAGS-prms:
22130 @if prms
22131 maybe-TAGS-prms: TAGS-prms
22133 TAGS-prms: \
22134 configure-prms
22135 @: $(MAKE); $(unstage)
22136 @[ -f ./prms/Makefile ] || exit 0; \
22137 r=`${PWD_COMMAND}`; export r; \
22138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22139 $(HOST_EXPORTS) \
22140 for flag in $(EXTRA_HOST_FLAGS) ; do \
22141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22142 done; \
22143 echo "Doing TAGS in prms" ; \
22144 (cd $(HOST_SUBDIR)/prms && \
22145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22147 "RANLIB=$${RANLIB}" \
22148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22149 TAGS) \
22150 || exit 1
22152 @endif prms
22154 .PHONY: maybe-install-info-prms install-info-prms
22155 maybe-install-info-prms:
22156 @if prms
22157 maybe-install-info-prms: install-info-prms
22159 install-info-prms: \
22160 configure-prms \
22161 info-prms
22162 @: $(MAKE); $(unstage)
22163 @[ -f ./prms/Makefile ] || exit 0; \
22164 r=`${PWD_COMMAND}`; export r; \
22165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22166 $(HOST_EXPORTS) \
22167 for flag in $(EXTRA_HOST_FLAGS) ; do \
22168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22169 done; \
22170 echo "Doing install-info in prms" ; \
22171 (cd $(HOST_SUBDIR)/prms && \
22172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22174 "RANLIB=$${RANLIB}" \
22175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22176 install-info) \
22177 || exit 1
22179 @endif prms
22181 .PHONY: maybe-install-html-prms install-html-prms
22182 maybe-install-html-prms:
22183 @if prms
22184 maybe-install-html-prms: install-html-prms
22186 install-html-prms: \
22187 configure-prms \
22188 html-prms
22189 @: $(MAKE); $(unstage)
22190 @[ -f ./prms/Makefile ] || exit 0; \
22191 r=`${PWD_COMMAND}`; export r; \
22192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22193 $(HOST_EXPORTS) \
22194 for flag in $(EXTRA_HOST_FLAGS) ; do \
22195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22196 done; \
22197 echo "Doing install-html in prms" ; \
22198 (cd $(HOST_SUBDIR)/prms && \
22199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22201 "RANLIB=$${RANLIB}" \
22202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22203 install-html) \
22204 || exit 1
22206 @endif prms
22208 .PHONY: maybe-installcheck-prms installcheck-prms
22209 maybe-installcheck-prms:
22210 @if prms
22211 maybe-installcheck-prms: installcheck-prms
22213 installcheck-prms: \
22214 configure-prms
22215 @: $(MAKE); $(unstage)
22216 @[ -f ./prms/Makefile ] || exit 0; \
22217 r=`${PWD_COMMAND}`; export r; \
22218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22219 $(HOST_EXPORTS) \
22220 for flag in $(EXTRA_HOST_FLAGS) ; do \
22221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22222 done; \
22223 echo "Doing installcheck in prms" ; \
22224 (cd $(HOST_SUBDIR)/prms && \
22225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22227 "RANLIB=$${RANLIB}" \
22228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22229 installcheck) \
22230 || exit 1
22232 @endif prms
22234 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
22235 maybe-mostlyclean-prms:
22236 @if prms
22237 maybe-mostlyclean-prms: mostlyclean-prms
22239 mostlyclean-prms:
22240 @: $(MAKE); $(unstage)
22241 @[ -f ./prms/Makefile ] || exit 0; \
22242 r=`${PWD_COMMAND}`; export r; \
22243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22244 $(HOST_EXPORTS) \
22245 for flag in $(EXTRA_HOST_FLAGS) ; do \
22246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22247 done; \
22248 echo "Doing mostlyclean in prms" ; \
22249 (cd $(HOST_SUBDIR)/prms && \
22250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22252 "RANLIB=$${RANLIB}" \
22253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22254 mostlyclean) \
22255 || exit 1
22257 @endif prms
22259 .PHONY: maybe-clean-prms clean-prms
22260 maybe-clean-prms:
22261 @if prms
22262 maybe-clean-prms: clean-prms
22264 clean-prms:
22265 @: $(MAKE); $(unstage)
22266 @[ -f ./prms/Makefile ] || exit 0; \
22267 r=`${PWD_COMMAND}`; export r; \
22268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22269 $(HOST_EXPORTS) \
22270 for flag in $(EXTRA_HOST_FLAGS) ; do \
22271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22272 done; \
22273 echo "Doing clean in prms" ; \
22274 (cd $(HOST_SUBDIR)/prms && \
22275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22277 "RANLIB=$${RANLIB}" \
22278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22279 clean) \
22280 || exit 1
22282 @endif prms
22284 .PHONY: maybe-distclean-prms distclean-prms
22285 maybe-distclean-prms:
22286 @if prms
22287 maybe-distclean-prms: distclean-prms
22289 distclean-prms:
22290 @: $(MAKE); $(unstage)
22291 @[ -f ./prms/Makefile ] || exit 0; \
22292 r=`${PWD_COMMAND}`; export r; \
22293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22294 $(HOST_EXPORTS) \
22295 for flag in $(EXTRA_HOST_FLAGS) ; do \
22296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22297 done; \
22298 echo "Doing distclean in prms" ; \
22299 (cd $(HOST_SUBDIR)/prms && \
22300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22302 "RANLIB=$${RANLIB}" \
22303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22304 distclean) \
22305 || exit 1
22307 @endif prms
22309 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
22310 maybe-maintainer-clean-prms:
22311 @if prms
22312 maybe-maintainer-clean-prms: maintainer-clean-prms
22314 maintainer-clean-prms:
22315 @: $(MAKE); $(unstage)
22316 @[ -f ./prms/Makefile ] || exit 0; \
22317 r=`${PWD_COMMAND}`; export r; \
22318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22319 $(HOST_EXPORTS) \
22320 for flag in $(EXTRA_HOST_FLAGS) ; do \
22321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22322 done; \
22323 echo "Doing maintainer-clean in prms" ; \
22324 (cd $(HOST_SUBDIR)/prms && \
22325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22327 "RANLIB=$${RANLIB}" \
22328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22329 maintainer-clean) \
22330 || exit 1
22332 @endif prms
22336 .PHONY: configure-rcs maybe-configure-rcs
22337 maybe-configure-rcs:
22338 @if gcc-bootstrap
22339 configure-rcs: stage_current
22340 @endif gcc-bootstrap
22341 @if rcs
22342 maybe-configure-rcs: configure-rcs
22343 configure-rcs:
22344 @: $(MAKE); $(unstage)
22345 @r=`${PWD_COMMAND}`; export r; \
22346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22347 test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
22348 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
22349 $(HOST_EXPORTS) \
22350 echo Configuring in $(HOST_SUBDIR)/rcs; \
22351 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
22352 case $(srcdir) in \
22353 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22354 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
22355 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22356 esac; \
22357 srcdiroption="--srcdir=$${topdir}/rcs"; \
22358 libsrcdir="$$s/rcs"; \
22359 $(SHELL) $${libsrcdir}/configure \
22360 $(HOST_CONFIGARGS) $${srcdiroption} \
22361 || exit 1
22362 @endif rcs
22368 .PHONY: all-rcs maybe-all-rcs
22369 maybe-all-rcs:
22370 @if gcc-bootstrap
22371 all-rcs: stage_current
22372 @endif gcc-bootstrap
22373 @if rcs
22374 TARGET-rcs=all
22375 maybe-all-rcs: all-rcs
22376 all-rcs: configure-rcs
22377 @: $(MAKE); $(unstage)
22378 @r=`${PWD_COMMAND}`; export r; \
22379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22380 $(HOST_EXPORTS) \
22381 (cd $(HOST_SUBDIR)/rcs && \
22382 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
22383 @endif rcs
22388 .PHONY: check-rcs maybe-check-rcs
22389 maybe-check-rcs:
22390 @if rcs
22391 maybe-check-rcs: check-rcs
22393 check-rcs:
22394 @: $(MAKE); $(unstage)
22395 @r=`${PWD_COMMAND}`; export r; \
22396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22397 $(HOST_EXPORTS) \
22398 (cd $(HOST_SUBDIR)/rcs && \
22399 $(MAKE) $(FLAGS_TO_PASS) check)
22401 @endif rcs
22403 .PHONY: install-rcs maybe-install-rcs
22404 maybe-install-rcs:
22405 @if rcs
22406 maybe-install-rcs: install-rcs
22408 install-rcs: installdirs
22409 @: $(MAKE); $(unstage)
22410 @r=`${PWD_COMMAND}`; export r; \
22411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22412 $(HOST_EXPORTS) \
22413 (cd $(HOST_SUBDIR)/rcs && \
22414 $(MAKE) $(FLAGS_TO_PASS) install)
22416 @endif rcs
22418 # Other targets (info, dvi, etc.)
22420 .PHONY: maybe-info-rcs info-rcs
22421 maybe-info-rcs:
22422 @if rcs
22423 maybe-info-rcs: info-rcs
22425 info-rcs: \
22426 configure-rcs
22427 @: $(MAKE); $(unstage)
22428 @[ -f ./rcs/Makefile ] || exit 0; \
22429 r=`${PWD_COMMAND}`; export r; \
22430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22431 $(HOST_EXPORTS) \
22432 for flag in $(EXTRA_HOST_FLAGS) ; do \
22433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22434 done; \
22435 echo "Doing info in rcs" ; \
22436 (cd $(HOST_SUBDIR)/rcs && \
22437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22439 "RANLIB=$${RANLIB}" \
22440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22441 info) \
22442 || exit 1
22444 @endif rcs
22446 .PHONY: maybe-dvi-rcs dvi-rcs
22447 maybe-dvi-rcs:
22448 @if rcs
22449 maybe-dvi-rcs: dvi-rcs
22451 dvi-rcs: \
22452 configure-rcs
22453 @: $(MAKE); $(unstage)
22454 @[ -f ./rcs/Makefile ] || exit 0; \
22455 r=`${PWD_COMMAND}`; export r; \
22456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22457 $(HOST_EXPORTS) \
22458 for flag in $(EXTRA_HOST_FLAGS) ; do \
22459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22460 done; \
22461 echo "Doing dvi in rcs" ; \
22462 (cd $(HOST_SUBDIR)/rcs && \
22463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22465 "RANLIB=$${RANLIB}" \
22466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22467 dvi) \
22468 || exit 1
22470 @endif rcs
22472 .PHONY: maybe-html-rcs html-rcs
22473 maybe-html-rcs:
22474 @if rcs
22475 maybe-html-rcs: html-rcs
22477 html-rcs: \
22478 configure-rcs
22479 @: $(MAKE); $(unstage)
22480 @[ -f ./rcs/Makefile ] || exit 0; \
22481 r=`${PWD_COMMAND}`; export r; \
22482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22483 $(HOST_EXPORTS) \
22484 for flag in $(EXTRA_HOST_FLAGS) ; do \
22485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22486 done; \
22487 echo "Doing html in rcs" ; \
22488 (cd $(HOST_SUBDIR)/rcs && \
22489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22491 "RANLIB=$${RANLIB}" \
22492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22493 html) \
22494 || exit 1
22496 @endif rcs
22498 .PHONY: maybe-TAGS-rcs TAGS-rcs
22499 maybe-TAGS-rcs:
22500 @if rcs
22501 maybe-TAGS-rcs: TAGS-rcs
22503 TAGS-rcs: \
22504 configure-rcs
22505 @: $(MAKE); $(unstage)
22506 @[ -f ./rcs/Makefile ] || exit 0; \
22507 r=`${PWD_COMMAND}`; export r; \
22508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22509 $(HOST_EXPORTS) \
22510 for flag in $(EXTRA_HOST_FLAGS) ; do \
22511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22512 done; \
22513 echo "Doing TAGS in rcs" ; \
22514 (cd $(HOST_SUBDIR)/rcs && \
22515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22517 "RANLIB=$${RANLIB}" \
22518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22519 TAGS) \
22520 || exit 1
22522 @endif rcs
22524 .PHONY: maybe-install-info-rcs install-info-rcs
22525 maybe-install-info-rcs:
22526 @if rcs
22527 maybe-install-info-rcs: install-info-rcs
22529 install-info-rcs: \
22530 configure-rcs \
22531 info-rcs
22532 @: $(MAKE); $(unstage)
22533 @[ -f ./rcs/Makefile ] || exit 0; \
22534 r=`${PWD_COMMAND}`; export r; \
22535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22536 $(HOST_EXPORTS) \
22537 for flag in $(EXTRA_HOST_FLAGS) ; do \
22538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22539 done; \
22540 echo "Doing install-info in rcs" ; \
22541 (cd $(HOST_SUBDIR)/rcs && \
22542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22544 "RANLIB=$${RANLIB}" \
22545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22546 install-info) \
22547 || exit 1
22549 @endif rcs
22551 .PHONY: maybe-install-html-rcs install-html-rcs
22552 maybe-install-html-rcs:
22553 @if rcs
22554 maybe-install-html-rcs: install-html-rcs
22556 install-html-rcs: \
22557 configure-rcs \
22558 html-rcs
22559 @: $(MAKE); $(unstage)
22560 @[ -f ./rcs/Makefile ] || exit 0; \
22561 r=`${PWD_COMMAND}`; export r; \
22562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22563 $(HOST_EXPORTS) \
22564 for flag in $(EXTRA_HOST_FLAGS) ; do \
22565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22566 done; \
22567 echo "Doing install-html in rcs" ; \
22568 (cd $(HOST_SUBDIR)/rcs && \
22569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22571 "RANLIB=$${RANLIB}" \
22572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22573 install-html) \
22574 || exit 1
22576 @endif rcs
22578 .PHONY: maybe-installcheck-rcs installcheck-rcs
22579 maybe-installcheck-rcs:
22580 @if rcs
22581 maybe-installcheck-rcs: installcheck-rcs
22583 installcheck-rcs: \
22584 configure-rcs
22585 @: $(MAKE); $(unstage)
22586 @[ -f ./rcs/Makefile ] || exit 0; \
22587 r=`${PWD_COMMAND}`; export r; \
22588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22589 $(HOST_EXPORTS) \
22590 for flag in $(EXTRA_HOST_FLAGS) ; do \
22591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22592 done; \
22593 echo "Doing installcheck in rcs" ; \
22594 (cd $(HOST_SUBDIR)/rcs && \
22595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22597 "RANLIB=$${RANLIB}" \
22598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22599 installcheck) \
22600 || exit 1
22602 @endif rcs
22604 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
22605 maybe-mostlyclean-rcs:
22606 @if rcs
22607 maybe-mostlyclean-rcs: mostlyclean-rcs
22609 mostlyclean-rcs:
22610 @: $(MAKE); $(unstage)
22611 @[ -f ./rcs/Makefile ] || exit 0; \
22612 r=`${PWD_COMMAND}`; export r; \
22613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22614 $(HOST_EXPORTS) \
22615 for flag in $(EXTRA_HOST_FLAGS) ; do \
22616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22617 done; \
22618 echo "Doing mostlyclean in rcs" ; \
22619 (cd $(HOST_SUBDIR)/rcs && \
22620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22622 "RANLIB=$${RANLIB}" \
22623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22624 mostlyclean) \
22625 || exit 1
22627 @endif rcs
22629 .PHONY: maybe-clean-rcs clean-rcs
22630 maybe-clean-rcs:
22631 @if rcs
22632 maybe-clean-rcs: clean-rcs
22634 clean-rcs:
22635 @: $(MAKE); $(unstage)
22636 @[ -f ./rcs/Makefile ] || exit 0; \
22637 r=`${PWD_COMMAND}`; export r; \
22638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22639 $(HOST_EXPORTS) \
22640 for flag in $(EXTRA_HOST_FLAGS) ; do \
22641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22642 done; \
22643 echo "Doing clean in rcs" ; \
22644 (cd $(HOST_SUBDIR)/rcs && \
22645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22647 "RANLIB=$${RANLIB}" \
22648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22649 clean) \
22650 || exit 1
22652 @endif rcs
22654 .PHONY: maybe-distclean-rcs distclean-rcs
22655 maybe-distclean-rcs:
22656 @if rcs
22657 maybe-distclean-rcs: distclean-rcs
22659 distclean-rcs:
22660 @: $(MAKE); $(unstage)
22661 @[ -f ./rcs/Makefile ] || exit 0; \
22662 r=`${PWD_COMMAND}`; export r; \
22663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22664 $(HOST_EXPORTS) \
22665 for flag in $(EXTRA_HOST_FLAGS) ; do \
22666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22667 done; \
22668 echo "Doing distclean in rcs" ; \
22669 (cd $(HOST_SUBDIR)/rcs && \
22670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22672 "RANLIB=$${RANLIB}" \
22673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22674 distclean) \
22675 || exit 1
22677 @endif rcs
22679 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
22680 maybe-maintainer-clean-rcs:
22681 @if rcs
22682 maybe-maintainer-clean-rcs: maintainer-clean-rcs
22684 maintainer-clean-rcs:
22685 @: $(MAKE); $(unstage)
22686 @[ -f ./rcs/Makefile ] || exit 0; \
22687 r=`${PWD_COMMAND}`; export r; \
22688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22689 $(HOST_EXPORTS) \
22690 for flag in $(EXTRA_HOST_FLAGS) ; do \
22691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22692 done; \
22693 echo "Doing maintainer-clean in rcs" ; \
22694 (cd $(HOST_SUBDIR)/rcs && \
22695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22697 "RANLIB=$${RANLIB}" \
22698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22699 maintainer-clean) \
22700 || exit 1
22702 @endif rcs
22706 .PHONY: configure-readline maybe-configure-readline
22707 maybe-configure-readline:
22708 @if gcc-bootstrap
22709 configure-readline: stage_current
22710 @endif gcc-bootstrap
22711 @if readline
22712 maybe-configure-readline: configure-readline
22713 configure-readline:
22714 @: $(MAKE); $(unstage)
22715 @r=`${PWD_COMMAND}`; export r; \
22716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22717 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
22718 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
22719 $(HOST_EXPORTS) \
22720 echo Configuring in $(HOST_SUBDIR)/readline; \
22721 cd "$(HOST_SUBDIR)/readline" || exit 1; \
22722 case $(srcdir) in \
22723 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22724 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
22725 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22726 esac; \
22727 srcdiroption="--srcdir=$${topdir}/readline"; \
22728 libsrcdir="$$s/readline"; \
22729 $(SHELL) $${libsrcdir}/configure \
22730 $(HOST_CONFIGARGS) $${srcdiroption} \
22731 || exit 1
22732 @endif readline
22738 .PHONY: all-readline maybe-all-readline
22739 maybe-all-readline:
22740 @if gcc-bootstrap
22741 all-readline: stage_current
22742 @endif gcc-bootstrap
22743 @if readline
22744 TARGET-readline=all
22745 maybe-all-readline: all-readline
22746 all-readline: configure-readline
22747 @: $(MAKE); $(unstage)
22748 @r=`${PWD_COMMAND}`; export r; \
22749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22750 $(HOST_EXPORTS) \
22751 (cd $(HOST_SUBDIR)/readline && \
22752 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
22753 @endif readline
22758 .PHONY: check-readline maybe-check-readline
22759 maybe-check-readline:
22760 @if readline
22761 maybe-check-readline: check-readline
22763 check-readline:
22764 @: $(MAKE); $(unstage)
22765 @r=`${PWD_COMMAND}`; export r; \
22766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22767 $(HOST_EXPORTS) \
22768 (cd $(HOST_SUBDIR)/readline && \
22769 $(MAKE) $(FLAGS_TO_PASS) check)
22771 @endif readline
22773 .PHONY: install-readline maybe-install-readline
22774 maybe-install-readline:
22775 @if readline
22776 maybe-install-readline: install-readline
22778 install-readline: installdirs
22779 @: $(MAKE); $(unstage)
22780 @r=`${PWD_COMMAND}`; export r; \
22781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22782 $(HOST_EXPORTS) \
22783 (cd $(HOST_SUBDIR)/readline && \
22784 $(MAKE) $(FLAGS_TO_PASS) install)
22786 @endif readline
22788 # Other targets (info, dvi, etc.)
22790 .PHONY: maybe-info-readline info-readline
22791 maybe-info-readline:
22792 @if readline
22793 maybe-info-readline: info-readline
22795 info-readline: \
22796 configure-readline
22797 @: $(MAKE); $(unstage)
22798 @[ -f ./readline/Makefile ] || exit 0; \
22799 r=`${PWD_COMMAND}`; export r; \
22800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22801 $(HOST_EXPORTS) \
22802 for flag in $(EXTRA_HOST_FLAGS) ; do \
22803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22804 done; \
22805 echo "Doing info in readline" ; \
22806 (cd $(HOST_SUBDIR)/readline && \
22807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22809 "RANLIB=$${RANLIB}" \
22810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22811 info) \
22812 || exit 1
22814 @endif readline
22816 .PHONY: maybe-dvi-readline dvi-readline
22817 maybe-dvi-readline:
22818 @if readline
22819 maybe-dvi-readline: dvi-readline
22821 dvi-readline: \
22822 configure-readline
22823 @: $(MAKE); $(unstage)
22824 @[ -f ./readline/Makefile ] || exit 0; \
22825 r=`${PWD_COMMAND}`; export r; \
22826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22827 $(HOST_EXPORTS) \
22828 for flag in $(EXTRA_HOST_FLAGS) ; do \
22829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22830 done; \
22831 echo "Doing dvi in readline" ; \
22832 (cd $(HOST_SUBDIR)/readline && \
22833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22835 "RANLIB=$${RANLIB}" \
22836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22837 dvi) \
22838 || exit 1
22840 @endif readline
22842 .PHONY: maybe-html-readline html-readline
22843 maybe-html-readline:
22844 @if readline
22845 maybe-html-readline: html-readline
22847 html-readline: \
22848 configure-readline
22849 @: $(MAKE); $(unstage)
22850 @[ -f ./readline/Makefile ] || exit 0; \
22851 r=`${PWD_COMMAND}`; export r; \
22852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22853 $(HOST_EXPORTS) \
22854 for flag in $(EXTRA_HOST_FLAGS) ; do \
22855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22856 done; \
22857 echo "Doing html in readline" ; \
22858 (cd $(HOST_SUBDIR)/readline && \
22859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22861 "RANLIB=$${RANLIB}" \
22862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22863 html) \
22864 || exit 1
22866 @endif readline
22868 .PHONY: maybe-TAGS-readline TAGS-readline
22869 maybe-TAGS-readline:
22870 @if readline
22871 maybe-TAGS-readline: TAGS-readline
22873 TAGS-readline: \
22874 configure-readline
22875 @: $(MAKE); $(unstage)
22876 @[ -f ./readline/Makefile ] || exit 0; \
22877 r=`${PWD_COMMAND}`; export r; \
22878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22879 $(HOST_EXPORTS) \
22880 for flag in $(EXTRA_HOST_FLAGS) ; do \
22881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22882 done; \
22883 echo "Doing TAGS in readline" ; \
22884 (cd $(HOST_SUBDIR)/readline && \
22885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22887 "RANLIB=$${RANLIB}" \
22888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22889 TAGS) \
22890 || exit 1
22892 @endif readline
22894 .PHONY: maybe-install-info-readline install-info-readline
22895 maybe-install-info-readline:
22896 @if readline
22897 maybe-install-info-readline: install-info-readline
22899 install-info-readline: \
22900 configure-readline \
22901 info-readline
22902 @: $(MAKE); $(unstage)
22903 @[ -f ./readline/Makefile ] || exit 0; \
22904 r=`${PWD_COMMAND}`; export r; \
22905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22906 $(HOST_EXPORTS) \
22907 for flag in $(EXTRA_HOST_FLAGS) ; do \
22908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22909 done; \
22910 echo "Doing install-info in readline" ; \
22911 (cd $(HOST_SUBDIR)/readline && \
22912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22914 "RANLIB=$${RANLIB}" \
22915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22916 install-info) \
22917 || exit 1
22919 @endif readline
22921 .PHONY: maybe-install-html-readline install-html-readline
22922 maybe-install-html-readline:
22923 @if readline
22924 maybe-install-html-readline: install-html-readline
22926 install-html-readline: \
22927 configure-readline \
22928 html-readline
22929 @: $(MAKE); $(unstage)
22930 @[ -f ./readline/Makefile ] || exit 0; \
22931 r=`${PWD_COMMAND}`; export r; \
22932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22933 $(HOST_EXPORTS) \
22934 for flag in $(EXTRA_HOST_FLAGS) ; do \
22935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22936 done; \
22937 echo "Doing install-html in readline" ; \
22938 (cd $(HOST_SUBDIR)/readline && \
22939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22941 "RANLIB=$${RANLIB}" \
22942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22943 install-html) \
22944 || exit 1
22946 @endif readline
22948 .PHONY: maybe-installcheck-readline installcheck-readline
22949 maybe-installcheck-readline:
22950 @if readline
22951 maybe-installcheck-readline: installcheck-readline
22953 installcheck-readline: \
22954 configure-readline
22955 @: $(MAKE); $(unstage)
22956 @[ -f ./readline/Makefile ] || exit 0; \
22957 r=`${PWD_COMMAND}`; export r; \
22958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22959 $(HOST_EXPORTS) \
22960 for flag in $(EXTRA_HOST_FLAGS) ; do \
22961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22962 done; \
22963 echo "Doing installcheck in readline" ; \
22964 (cd $(HOST_SUBDIR)/readline && \
22965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22967 "RANLIB=$${RANLIB}" \
22968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22969 installcheck) \
22970 || exit 1
22972 @endif readline
22974 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
22975 maybe-mostlyclean-readline:
22976 @if readline
22977 maybe-mostlyclean-readline: mostlyclean-readline
22979 mostlyclean-readline:
22980 @: $(MAKE); $(unstage)
22981 @[ -f ./readline/Makefile ] || exit 0; \
22982 r=`${PWD_COMMAND}`; export r; \
22983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22984 $(HOST_EXPORTS) \
22985 for flag in $(EXTRA_HOST_FLAGS) ; do \
22986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22987 done; \
22988 echo "Doing mostlyclean in readline" ; \
22989 (cd $(HOST_SUBDIR)/readline && \
22990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22992 "RANLIB=$${RANLIB}" \
22993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22994 mostlyclean) \
22995 || exit 1
22997 @endif readline
22999 .PHONY: maybe-clean-readline clean-readline
23000 maybe-clean-readline:
23001 @if readline
23002 maybe-clean-readline: clean-readline
23004 clean-readline:
23005 @: $(MAKE); $(unstage)
23006 @[ -f ./readline/Makefile ] || exit 0; \
23007 r=`${PWD_COMMAND}`; export r; \
23008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23009 $(HOST_EXPORTS) \
23010 for flag in $(EXTRA_HOST_FLAGS) ; do \
23011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23012 done; \
23013 echo "Doing clean in readline" ; \
23014 (cd $(HOST_SUBDIR)/readline && \
23015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23017 "RANLIB=$${RANLIB}" \
23018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23019 clean) \
23020 || exit 1
23022 @endif readline
23024 .PHONY: maybe-distclean-readline distclean-readline
23025 maybe-distclean-readline:
23026 @if readline
23027 maybe-distclean-readline: distclean-readline
23029 distclean-readline:
23030 @: $(MAKE); $(unstage)
23031 @[ -f ./readline/Makefile ] || exit 0; \
23032 r=`${PWD_COMMAND}`; export r; \
23033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23034 $(HOST_EXPORTS) \
23035 for flag in $(EXTRA_HOST_FLAGS) ; do \
23036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23037 done; \
23038 echo "Doing distclean in readline" ; \
23039 (cd $(HOST_SUBDIR)/readline && \
23040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23042 "RANLIB=$${RANLIB}" \
23043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23044 distclean) \
23045 || exit 1
23047 @endif readline
23049 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
23050 maybe-maintainer-clean-readline:
23051 @if readline
23052 maybe-maintainer-clean-readline: maintainer-clean-readline
23054 maintainer-clean-readline:
23055 @: $(MAKE); $(unstage)
23056 @[ -f ./readline/Makefile ] || exit 0; \
23057 r=`${PWD_COMMAND}`; export r; \
23058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23059 $(HOST_EXPORTS) \
23060 for flag in $(EXTRA_HOST_FLAGS) ; do \
23061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23062 done; \
23063 echo "Doing maintainer-clean in readline" ; \
23064 (cd $(HOST_SUBDIR)/readline && \
23065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23067 "RANLIB=$${RANLIB}" \
23068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23069 maintainer-clean) \
23070 || exit 1
23072 @endif readline
23076 .PHONY: configure-release maybe-configure-release
23077 maybe-configure-release:
23078 @if gcc-bootstrap
23079 configure-release: stage_current
23080 @endif gcc-bootstrap
23081 @if release
23082 maybe-configure-release: configure-release
23083 configure-release:
23084 @: $(MAKE); $(unstage)
23085 @r=`${PWD_COMMAND}`; export r; \
23086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23087 test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
23088 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
23089 $(HOST_EXPORTS) \
23090 echo Configuring in $(HOST_SUBDIR)/release; \
23091 cd "$(HOST_SUBDIR)/release" || exit 1; \
23092 case $(srcdir) in \
23093 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23094 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
23095 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23096 esac; \
23097 srcdiroption="--srcdir=$${topdir}/release"; \
23098 libsrcdir="$$s/release"; \
23099 $(SHELL) $${libsrcdir}/configure \
23100 $(HOST_CONFIGARGS) $${srcdiroption} \
23101 || exit 1
23102 @endif release
23108 .PHONY: all-release maybe-all-release
23109 maybe-all-release:
23110 @if gcc-bootstrap
23111 all-release: stage_current
23112 @endif gcc-bootstrap
23113 @if release
23114 TARGET-release=all
23115 maybe-all-release: all-release
23116 all-release: configure-release
23117 @: $(MAKE); $(unstage)
23118 @r=`${PWD_COMMAND}`; export r; \
23119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23120 $(HOST_EXPORTS) \
23121 (cd $(HOST_SUBDIR)/release && \
23122 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
23123 @endif release
23128 .PHONY: check-release maybe-check-release
23129 maybe-check-release:
23130 @if release
23131 maybe-check-release: check-release
23133 check-release:
23135 @endif release
23137 .PHONY: install-release maybe-install-release
23138 maybe-install-release:
23139 @if release
23140 maybe-install-release: install-release
23142 install-release:
23144 @endif release
23146 # Other targets (info, dvi, etc.)
23148 .PHONY: maybe-info-release info-release
23149 maybe-info-release:
23150 @if release
23151 maybe-info-release: info-release
23153 info-release: \
23154 configure-release
23155 @: $(MAKE); $(unstage)
23156 @[ -f ./release/Makefile ] || exit 0; \
23157 r=`${PWD_COMMAND}`; export r; \
23158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23159 $(HOST_EXPORTS) \
23160 for flag in $(EXTRA_HOST_FLAGS) ; do \
23161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23162 done; \
23163 echo "Doing info in release" ; \
23164 (cd $(HOST_SUBDIR)/release && \
23165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23167 "RANLIB=$${RANLIB}" \
23168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23169 info) \
23170 || exit 1
23172 @endif release
23174 .PHONY: maybe-dvi-release dvi-release
23175 maybe-dvi-release:
23176 @if release
23177 maybe-dvi-release: dvi-release
23179 dvi-release: \
23180 configure-release
23181 @: $(MAKE); $(unstage)
23182 @[ -f ./release/Makefile ] || exit 0; \
23183 r=`${PWD_COMMAND}`; export r; \
23184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23185 $(HOST_EXPORTS) \
23186 for flag in $(EXTRA_HOST_FLAGS) ; do \
23187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23188 done; \
23189 echo "Doing dvi in release" ; \
23190 (cd $(HOST_SUBDIR)/release && \
23191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23193 "RANLIB=$${RANLIB}" \
23194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23195 dvi) \
23196 || exit 1
23198 @endif release
23200 .PHONY: maybe-html-release html-release
23201 maybe-html-release:
23202 @if release
23203 maybe-html-release: html-release
23205 html-release: \
23206 configure-release
23207 @: $(MAKE); $(unstage)
23208 @[ -f ./release/Makefile ] || exit 0; \
23209 r=`${PWD_COMMAND}`; export r; \
23210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23211 $(HOST_EXPORTS) \
23212 for flag in $(EXTRA_HOST_FLAGS) ; do \
23213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23214 done; \
23215 echo "Doing html in release" ; \
23216 (cd $(HOST_SUBDIR)/release && \
23217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23219 "RANLIB=$${RANLIB}" \
23220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23221 html) \
23222 || exit 1
23224 @endif release
23226 .PHONY: maybe-TAGS-release TAGS-release
23227 maybe-TAGS-release:
23228 @if release
23229 maybe-TAGS-release: TAGS-release
23231 TAGS-release: \
23232 configure-release
23233 @: $(MAKE); $(unstage)
23234 @[ -f ./release/Makefile ] || exit 0; \
23235 r=`${PWD_COMMAND}`; export r; \
23236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23237 $(HOST_EXPORTS) \
23238 for flag in $(EXTRA_HOST_FLAGS) ; do \
23239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23240 done; \
23241 echo "Doing TAGS in release" ; \
23242 (cd $(HOST_SUBDIR)/release && \
23243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23245 "RANLIB=$${RANLIB}" \
23246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23247 TAGS) \
23248 || exit 1
23250 @endif release
23252 .PHONY: maybe-install-info-release install-info-release
23253 maybe-install-info-release:
23254 @if release
23255 maybe-install-info-release: install-info-release
23257 install-info-release: \
23258 configure-release \
23259 info-release
23260 @: $(MAKE); $(unstage)
23261 @[ -f ./release/Makefile ] || exit 0; \
23262 r=`${PWD_COMMAND}`; export r; \
23263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23264 $(HOST_EXPORTS) \
23265 for flag in $(EXTRA_HOST_FLAGS) ; do \
23266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23267 done; \
23268 echo "Doing install-info in release" ; \
23269 (cd $(HOST_SUBDIR)/release && \
23270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23272 "RANLIB=$${RANLIB}" \
23273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23274 install-info) \
23275 || exit 1
23277 @endif release
23279 .PHONY: maybe-install-html-release install-html-release
23280 maybe-install-html-release:
23281 @if release
23282 maybe-install-html-release: install-html-release
23284 install-html-release: \
23285 configure-release \
23286 html-release
23287 @: $(MAKE); $(unstage)
23288 @[ -f ./release/Makefile ] || exit 0; \
23289 r=`${PWD_COMMAND}`; export r; \
23290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23291 $(HOST_EXPORTS) \
23292 for flag in $(EXTRA_HOST_FLAGS) ; do \
23293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23294 done; \
23295 echo "Doing install-html in release" ; \
23296 (cd $(HOST_SUBDIR)/release && \
23297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23299 "RANLIB=$${RANLIB}" \
23300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23301 install-html) \
23302 || exit 1
23304 @endif release
23306 .PHONY: maybe-installcheck-release installcheck-release
23307 maybe-installcheck-release:
23308 @if release
23309 maybe-installcheck-release: installcheck-release
23311 installcheck-release: \
23312 configure-release
23313 @: $(MAKE); $(unstage)
23314 @[ -f ./release/Makefile ] || exit 0; \
23315 r=`${PWD_COMMAND}`; export r; \
23316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23317 $(HOST_EXPORTS) \
23318 for flag in $(EXTRA_HOST_FLAGS) ; do \
23319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23320 done; \
23321 echo "Doing installcheck in release" ; \
23322 (cd $(HOST_SUBDIR)/release && \
23323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23325 "RANLIB=$${RANLIB}" \
23326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23327 installcheck) \
23328 || exit 1
23330 @endif release
23332 .PHONY: maybe-mostlyclean-release mostlyclean-release
23333 maybe-mostlyclean-release:
23334 @if release
23335 maybe-mostlyclean-release: mostlyclean-release
23337 mostlyclean-release:
23338 @: $(MAKE); $(unstage)
23339 @[ -f ./release/Makefile ] || exit 0; \
23340 r=`${PWD_COMMAND}`; export r; \
23341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23342 $(HOST_EXPORTS) \
23343 for flag in $(EXTRA_HOST_FLAGS) ; do \
23344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23345 done; \
23346 echo "Doing mostlyclean in release" ; \
23347 (cd $(HOST_SUBDIR)/release && \
23348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23350 "RANLIB=$${RANLIB}" \
23351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23352 mostlyclean) \
23353 || exit 1
23355 @endif release
23357 .PHONY: maybe-clean-release clean-release
23358 maybe-clean-release:
23359 @if release
23360 maybe-clean-release: clean-release
23362 clean-release:
23363 @: $(MAKE); $(unstage)
23364 @[ -f ./release/Makefile ] || exit 0; \
23365 r=`${PWD_COMMAND}`; export r; \
23366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23367 $(HOST_EXPORTS) \
23368 for flag in $(EXTRA_HOST_FLAGS) ; do \
23369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23370 done; \
23371 echo "Doing clean in release" ; \
23372 (cd $(HOST_SUBDIR)/release && \
23373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23375 "RANLIB=$${RANLIB}" \
23376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23377 clean) \
23378 || exit 1
23380 @endif release
23382 .PHONY: maybe-distclean-release distclean-release
23383 maybe-distclean-release:
23384 @if release
23385 maybe-distclean-release: distclean-release
23387 distclean-release:
23388 @: $(MAKE); $(unstage)
23389 @[ -f ./release/Makefile ] || exit 0; \
23390 r=`${PWD_COMMAND}`; export r; \
23391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23392 $(HOST_EXPORTS) \
23393 for flag in $(EXTRA_HOST_FLAGS) ; do \
23394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23395 done; \
23396 echo "Doing distclean in release" ; \
23397 (cd $(HOST_SUBDIR)/release && \
23398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23400 "RANLIB=$${RANLIB}" \
23401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23402 distclean) \
23403 || exit 1
23405 @endif release
23407 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
23408 maybe-maintainer-clean-release:
23409 @if release
23410 maybe-maintainer-clean-release: maintainer-clean-release
23412 maintainer-clean-release:
23413 @: $(MAKE); $(unstage)
23414 @[ -f ./release/Makefile ] || exit 0; \
23415 r=`${PWD_COMMAND}`; export r; \
23416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23417 $(HOST_EXPORTS) \
23418 for flag in $(EXTRA_HOST_FLAGS) ; do \
23419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23420 done; \
23421 echo "Doing maintainer-clean in release" ; \
23422 (cd $(HOST_SUBDIR)/release && \
23423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23425 "RANLIB=$${RANLIB}" \
23426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23427 maintainer-clean) \
23428 || exit 1
23430 @endif release
23434 .PHONY: configure-recode maybe-configure-recode
23435 maybe-configure-recode:
23436 @if gcc-bootstrap
23437 configure-recode: stage_current
23438 @endif gcc-bootstrap
23439 @if recode
23440 maybe-configure-recode: configure-recode
23441 configure-recode:
23442 @: $(MAKE); $(unstage)
23443 @r=`${PWD_COMMAND}`; export r; \
23444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23445 test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
23446 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
23447 $(HOST_EXPORTS) \
23448 echo Configuring in $(HOST_SUBDIR)/recode; \
23449 cd "$(HOST_SUBDIR)/recode" || exit 1; \
23450 case $(srcdir) in \
23451 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23452 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
23453 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23454 esac; \
23455 srcdiroption="--srcdir=$${topdir}/recode"; \
23456 libsrcdir="$$s/recode"; \
23457 $(SHELL) $${libsrcdir}/configure \
23458 $(HOST_CONFIGARGS) $${srcdiroption} \
23459 || exit 1
23460 @endif recode
23466 .PHONY: all-recode maybe-all-recode
23467 maybe-all-recode:
23468 @if gcc-bootstrap
23469 all-recode: stage_current
23470 @endif gcc-bootstrap
23471 @if recode
23472 TARGET-recode=all
23473 maybe-all-recode: all-recode
23474 all-recode: configure-recode
23475 @: $(MAKE); $(unstage)
23476 @r=`${PWD_COMMAND}`; export r; \
23477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23478 $(HOST_EXPORTS) \
23479 (cd $(HOST_SUBDIR)/recode && \
23480 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
23481 @endif recode
23486 .PHONY: check-recode maybe-check-recode
23487 maybe-check-recode:
23488 @if recode
23489 maybe-check-recode: check-recode
23491 check-recode:
23492 @: $(MAKE); $(unstage)
23493 @r=`${PWD_COMMAND}`; export r; \
23494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23495 $(HOST_EXPORTS) \
23496 (cd $(HOST_SUBDIR)/recode && \
23497 $(MAKE) $(FLAGS_TO_PASS) check)
23499 @endif recode
23501 .PHONY: install-recode maybe-install-recode
23502 maybe-install-recode:
23503 @if recode
23504 maybe-install-recode: install-recode
23506 install-recode: installdirs
23507 @: $(MAKE); $(unstage)
23508 @r=`${PWD_COMMAND}`; export r; \
23509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23510 $(HOST_EXPORTS) \
23511 (cd $(HOST_SUBDIR)/recode && \
23512 $(MAKE) $(FLAGS_TO_PASS) install)
23514 @endif recode
23516 # Other targets (info, dvi, etc.)
23518 .PHONY: maybe-info-recode info-recode
23519 maybe-info-recode:
23520 @if recode
23521 maybe-info-recode: info-recode
23523 info-recode: \
23524 configure-recode
23525 @: $(MAKE); $(unstage)
23526 @[ -f ./recode/Makefile ] || exit 0; \
23527 r=`${PWD_COMMAND}`; export r; \
23528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23529 $(HOST_EXPORTS) \
23530 for flag in $(EXTRA_HOST_FLAGS) ; do \
23531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23532 done; \
23533 echo "Doing info in recode" ; \
23534 (cd $(HOST_SUBDIR)/recode && \
23535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23537 "RANLIB=$${RANLIB}" \
23538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23539 info) \
23540 || exit 1
23542 @endif recode
23544 .PHONY: maybe-dvi-recode dvi-recode
23545 maybe-dvi-recode:
23546 @if recode
23547 maybe-dvi-recode: dvi-recode
23549 dvi-recode: \
23550 configure-recode
23551 @: $(MAKE); $(unstage)
23552 @[ -f ./recode/Makefile ] || exit 0; \
23553 r=`${PWD_COMMAND}`; export r; \
23554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23555 $(HOST_EXPORTS) \
23556 for flag in $(EXTRA_HOST_FLAGS) ; do \
23557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23558 done; \
23559 echo "Doing dvi in recode" ; \
23560 (cd $(HOST_SUBDIR)/recode && \
23561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23563 "RANLIB=$${RANLIB}" \
23564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23565 dvi) \
23566 || exit 1
23568 @endif recode
23570 .PHONY: maybe-html-recode html-recode
23571 maybe-html-recode:
23572 @if recode
23573 maybe-html-recode: html-recode
23575 html-recode: \
23576 configure-recode
23577 @: $(MAKE); $(unstage)
23578 @[ -f ./recode/Makefile ] || exit 0; \
23579 r=`${PWD_COMMAND}`; export r; \
23580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23581 $(HOST_EXPORTS) \
23582 for flag in $(EXTRA_HOST_FLAGS) ; do \
23583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23584 done; \
23585 echo "Doing html in recode" ; \
23586 (cd $(HOST_SUBDIR)/recode && \
23587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23589 "RANLIB=$${RANLIB}" \
23590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23591 html) \
23592 || exit 1
23594 @endif recode
23596 .PHONY: maybe-TAGS-recode TAGS-recode
23597 maybe-TAGS-recode:
23598 @if recode
23599 maybe-TAGS-recode: TAGS-recode
23601 TAGS-recode: \
23602 configure-recode
23603 @: $(MAKE); $(unstage)
23604 @[ -f ./recode/Makefile ] || exit 0; \
23605 r=`${PWD_COMMAND}`; export r; \
23606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23607 $(HOST_EXPORTS) \
23608 for flag in $(EXTRA_HOST_FLAGS) ; do \
23609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23610 done; \
23611 echo "Doing TAGS in recode" ; \
23612 (cd $(HOST_SUBDIR)/recode && \
23613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23615 "RANLIB=$${RANLIB}" \
23616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23617 TAGS) \
23618 || exit 1
23620 @endif recode
23622 .PHONY: maybe-install-info-recode install-info-recode
23623 maybe-install-info-recode:
23624 @if recode
23625 maybe-install-info-recode: install-info-recode
23627 install-info-recode: \
23628 configure-recode \
23629 info-recode
23630 @: $(MAKE); $(unstage)
23631 @[ -f ./recode/Makefile ] || exit 0; \
23632 r=`${PWD_COMMAND}`; export r; \
23633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23634 $(HOST_EXPORTS) \
23635 for flag in $(EXTRA_HOST_FLAGS) ; do \
23636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23637 done; \
23638 echo "Doing install-info in recode" ; \
23639 (cd $(HOST_SUBDIR)/recode && \
23640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23642 "RANLIB=$${RANLIB}" \
23643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23644 install-info) \
23645 || exit 1
23647 @endif recode
23649 .PHONY: maybe-install-html-recode install-html-recode
23650 maybe-install-html-recode:
23651 @if recode
23652 maybe-install-html-recode: install-html-recode
23654 install-html-recode: \
23655 configure-recode \
23656 html-recode
23657 @: $(MAKE); $(unstage)
23658 @[ -f ./recode/Makefile ] || exit 0; \
23659 r=`${PWD_COMMAND}`; export r; \
23660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23661 $(HOST_EXPORTS) \
23662 for flag in $(EXTRA_HOST_FLAGS) ; do \
23663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23664 done; \
23665 echo "Doing install-html in recode" ; \
23666 (cd $(HOST_SUBDIR)/recode && \
23667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23669 "RANLIB=$${RANLIB}" \
23670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23671 install-html) \
23672 || exit 1
23674 @endif recode
23676 .PHONY: maybe-installcheck-recode installcheck-recode
23677 maybe-installcheck-recode:
23678 @if recode
23679 maybe-installcheck-recode: installcheck-recode
23681 installcheck-recode: \
23682 configure-recode
23683 @: $(MAKE); $(unstage)
23684 @[ -f ./recode/Makefile ] || exit 0; \
23685 r=`${PWD_COMMAND}`; export r; \
23686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23687 $(HOST_EXPORTS) \
23688 for flag in $(EXTRA_HOST_FLAGS) ; do \
23689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23690 done; \
23691 echo "Doing installcheck in recode" ; \
23692 (cd $(HOST_SUBDIR)/recode && \
23693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23695 "RANLIB=$${RANLIB}" \
23696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23697 installcheck) \
23698 || exit 1
23700 @endif recode
23702 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
23703 maybe-mostlyclean-recode:
23704 @if recode
23705 maybe-mostlyclean-recode: mostlyclean-recode
23707 mostlyclean-recode:
23708 @: $(MAKE); $(unstage)
23709 @[ -f ./recode/Makefile ] || exit 0; \
23710 r=`${PWD_COMMAND}`; export r; \
23711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23712 $(HOST_EXPORTS) \
23713 for flag in $(EXTRA_HOST_FLAGS) ; do \
23714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23715 done; \
23716 echo "Doing mostlyclean in recode" ; \
23717 (cd $(HOST_SUBDIR)/recode && \
23718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23720 "RANLIB=$${RANLIB}" \
23721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23722 mostlyclean) \
23723 || exit 1
23725 @endif recode
23727 .PHONY: maybe-clean-recode clean-recode
23728 maybe-clean-recode:
23729 @if recode
23730 maybe-clean-recode: clean-recode
23732 clean-recode:
23733 @: $(MAKE); $(unstage)
23734 @[ -f ./recode/Makefile ] || exit 0; \
23735 r=`${PWD_COMMAND}`; export r; \
23736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23737 $(HOST_EXPORTS) \
23738 for flag in $(EXTRA_HOST_FLAGS) ; do \
23739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23740 done; \
23741 echo "Doing clean in recode" ; \
23742 (cd $(HOST_SUBDIR)/recode && \
23743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23745 "RANLIB=$${RANLIB}" \
23746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23747 clean) \
23748 || exit 1
23750 @endif recode
23752 .PHONY: maybe-distclean-recode distclean-recode
23753 maybe-distclean-recode:
23754 @if recode
23755 maybe-distclean-recode: distclean-recode
23757 distclean-recode:
23758 @: $(MAKE); $(unstage)
23759 @[ -f ./recode/Makefile ] || exit 0; \
23760 r=`${PWD_COMMAND}`; export r; \
23761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23762 $(HOST_EXPORTS) \
23763 for flag in $(EXTRA_HOST_FLAGS) ; do \
23764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23765 done; \
23766 echo "Doing distclean in recode" ; \
23767 (cd $(HOST_SUBDIR)/recode && \
23768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23770 "RANLIB=$${RANLIB}" \
23771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23772 distclean) \
23773 || exit 1
23775 @endif recode
23777 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
23778 maybe-maintainer-clean-recode:
23779 @if recode
23780 maybe-maintainer-clean-recode: maintainer-clean-recode
23782 maintainer-clean-recode:
23783 @: $(MAKE); $(unstage)
23784 @[ -f ./recode/Makefile ] || exit 0; \
23785 r=`${PWD_COMMAND}`; export r; \
23786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23787 $(HOST_EXPORTS) \
23788 for flag in $(EXTRA_HOST_FLAGS) ; do \
23789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23790 done; \
23791 echo "Doing maintainer-clean in recode" ; \
23792 (cd $(HOST_SUBDIR)/recode && \
23793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23795 "RANLIB=$${RANLIB}" \
23796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23797 maintainer-clean) \
23798 || exit 1
23800 @endif recode
23804 .PHONY: configure-sed maybe-configure-sed
23805 maybe-configure-sed:
23806 @if gcc-bootstrap
23807 configure-sed: stage_current
23808 @endif gcc-bootstrap
23809 @if sed
23810 maybe-configure-sed: configure-sed
23811 configure-sed:
23812 @: $(MAKE); $(unstage)
23813 @r=`${PWD_COMMAND}`; export r; \
23814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23815 test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
23816 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
23817 $(HOST_EXPORTS) \
23818 echo Configuring in $(HOST_SUBDIR)/sed; \
23819 cd "$(HOST_SUBDIR)/sed" || exit 1; \
23820 case $(srcdir) in \
23821 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23822 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
23823 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23824 esac; \
23825 srcdiroption="--srcdir=$${topdir}/sed"; \
23826 libsrcdir="$$s/sed"; \
23827 $(SHELL) $${libsrcdir}/configure \
23828 $(HOST_CONFIGARGS) $${srcdiroption} \
23829 || exit 1
23830 @endif sed
23836 .PHONY: all-sed maybe-all-sed
23837 maybe-all-sed:
23838 @if gcc-bootstrap
23839 all-sed: stage_current
23840 @endif gcc-bootstrap
23841 @if sed
23842 TARGET-sed=all
23843 maybe-all-sed: all-sed
23844 all-sed: configure-sed
23845 @: $(MAKE); $(unstage)
23846 @r=`${PWD_COMMAND}`; export r; \
23847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23848 $(HOST_EXPORTS) \
23849 (cd $(HOST_SUBDIR)/sed && \
23850 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
23851 @endif sed
23856 .PHONY: check-sed maybe-check-sed
23857 maybe-check-sed:
23858 @if sed
23859 maybe-check-sed: check-sed
23861 check-sed:
23862 @: $(MAKE); $(unstage)
23863 @r=`${PWD_COMMAND}`; export r; \
23864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23865 $(HOST_EXPORTS) \
23866 (cd $(HOST_SUBDIR)/sed && \
23867 $(MAKE) $(FLAGS_TO_PASS) check)
23869 @endif sed
23871 .PHONY: install-sed maybe-install-sed
23872 maybe-install-sed:
23873 @if sed
23874 maybe-install-sed: install-sed
23876 install-sed: installdirs
23877 @: $(MAKE); $(unstage)
23878 @r=`${PWD_COMMAND}`; export r; \
23879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23880 $(HOST_EXPORTS) \
23881 (cd $(HOST_SUBDIR)/sed && \
23882 $(MAKE) $(FLAGS_TO_PASS) install)
23884 @endif sed
23886 # Other targets (info, dvi, etc.)
23888 .PHONY: maybe-info-sed info-sed
23889 maybe-info-sed:
23890 @if sed
23891 maybe-info-sed: info-sed
23893 info-sed: \
23894 configure-sed
23895 @: $(MAKE); $(unstage)
23896 @[ -f ./sed/Makefile ] || exit 0; \
23897 r=`${PWD_COMMAND}`; export r; \
23898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23899 $(HOST_EXPORTS) \
23900 for flag in $(EXTRA_HOST_FLAGS) ; do \
23901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23902 done; \
23903 echo "Doing info in sed" ; \
23904 (cd $(HOST_SUBDIR)/sed && \
23905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23907 "RANLIB=$${RANLIB}" \
23908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23909 info) \
23910 || exit 1
23912 @endif sed
23914 .PHONY: maybe-dvi-sed dvi-sed
23915 maybe-dvi-sed:
23916 @if sed
23917 maybe-dvi-sed: dvi-sed
23919 dvi-sed: \
23920 configure-sed
23921 @: $(MAKE); $(unstage)
23922 @[ -f ./sed/Makefile ] || exit 0; \
23923 r=`${PWD_COMMAND}`; export r; \
23924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23925 $(HOST_EXPORTS) \
23926 for flag in $(EXTRA_HOST_FLAGS) ; do \
23927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23928 done; \
23929 echo "Doing dvi in sed" ; \
23930 (cd $(HOST_SUBDIR)/sed && \
23931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23933 "RANLIB=$${RANLIB}" \
23934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23935 dvi) \
23936 || exit 1
23938 @endif sed
23940 .PHONY: maybe-html-sed html-sed
23941 maybe-html-sed:
23942 @if sed
23943 maybe-html-sed: html-sed
23945 html-sed: \
23946 configure-sed
23947 @: $(MAKE); $(unstage)
23948 @[ -f ./sed/Makefile ] || exit 0; \
23949 r=`${PWD_COMMAND}`; export r; \
23950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23951 $(HOST_EXPORTS) \
23952 for flag in $(EXTRA_HOST_FLAGS) ; do \
23953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23954 done; \
23955 echo "Doing html in sed" ; \
23956 (cd $(HOST_SUBDIR)/sed && \
23957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23959 "RANLIB=$${RANLIB}" \
23960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23961 html) \
23962 || exit 1
23964 @endif sed
23966 .PHONY: maybe-TAGS-sed TAGS-sed
23967 maybe-TAGS-sed:
23968 @if sed
23969 maybe-TAGS-sed: TAGS-sed
23971 TAGS-sed: \
23972 configure-sed
23973 @: $(MAKE); $(unstage)
23974 @[ -f ./sed/Makefile ] || exit 0; \
23975 r=`${PWD_COMMAND}`; export r; \
23976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23977 $(HOST_EXPORTS) \
23978 for flag in $(EXTRA_HOST_FLAGS) ; do \
23979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23980 done; \
23981 echo "Doing TAGS in sed" ; \
23982 (cd $(HOST_SUBDIR)/sed && \
23983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23985 "RANLIB=$${RANLIB}" \
23986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23987 TAGS) \
23988 || exit 1
23990 @endif sed
23992 .PHONY: maybe-install-info-sed install-info-sed
23993 maybe-install-info-sed:
23994 @if sed
23995 maybe-install-info-sed: install-info-sed
23997 install-info-sed: \
23998 configure-sed \
23999 info-sed
24000 @: $(MAKE); $(unstage)
24001 @[ -f ./sed/Makefile ] || exit 0; \
24002 r=`${PWD_COMMAND}`; export r; \
24003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24004 $(HOST_EXPORTS) \
24005 for flag in $(EXTRA_HOST_FLAGS) ; do \
24006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24007 done; \
24008 echo "Doing install-info in sed" ; \
24009 (cd $(HOST_SUBDIR)/sed && \
24010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24012 "RANLIB=$${RANLIB}" \
24013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24014 install-info) \
24015 || exit 1
24017 @endif sed
24019 .PHONY: maybe-install-html-sed install-html-sed
24020 maybe-install-html-sed:
24021 @if sed
24022 maybe-install-html-sed: install-html-sed
24024 install-html-sed: \
24025 configure-sed \
24026 html-sed
24027 @: $(MAKE); $(unstage)
24028 @[ -f ./sed/Makefile ] || exit 0; \
24029 r=`${PWD_COMMAND}`; export r; \
24030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24031 $(HOST_EXPORTS) \
24032 for flag in $(EXTRA_HOST_FLAGS) ; do \
24033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24034 done; \
24035 echo "Doing install-html in sed" ; \
24036 (cd $(HOST_SUBDIR)/sed && \
24037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24039 "RANLIB=$${RANLIB}" \
24040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24041 install-html) \
24042 || exit 1
24044 @endif sed
24046 .PHONY: maybe-installcheck-sed installcheck-sed
24047 maybe-installcheck-sed:
24048 @if sed
24049 maybe-installcheck-sed: installcheck-sed
24051 installcheck-sed: \
24052 configure-sed
24053 @: $(MAKE); $(unstage)
24054 @[ -f ./sed/Makefile ] || exit 0; \
24055 r=`${PWD_COMMAND}`; export r; \
24056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24057 $(HOST_EXPORTS) \
24058 for flag in $(EXTRA_HOST_FLAGS) ; do \
24059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24060 done; \
24061 echo "Doing installcheck in sed" ; \
24062 (cd $(HOST_SUBDIR)/sed && \
24063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24065 "RANLIB=$${RANLIB}" \
24066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24067 installcheck) \
24068 || exit 1
24070 @endif sed
24072 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
24073 maybe-mostlyclean-sed:
24074 @if sed
24075 maybe-mostlyclean-sed: mostlyclean-sed
24077 mostlyclean-sed:
24078 @: $(MAKE); $(unstage)
24079 @[ -f ./sed/Makefile ] || exit 0; \
24080 r=`${PWD_COMMAND}`; export r; \
24081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24082 $(HOST_EXPORTS) \
24083 for flag in $(EXTRA_HOST_FLAGS) ; do \
24084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24085 done; \
24086 echo "Doing mostlyclean in sed" ; \
24087 (cd $(HOST_SUBDIR)/sed && \
24088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24090 "RANLIB=$${RANLIB}" \
24091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24092 mostlyclean) \
24093 || exit 1
24095 @endif sed
24097 .PHONY: maybe-clean-sed clean-sed
24098 maybe-clean-sed:
24099 @if sed
24100 maybe-clean-sed: clean-sed
24102 clean-sed:
24103 @: $(MAKE); $(unstage)
24104 @[ -f ./sed/Makefile ] || exit 0; \
24105 r=`${PWD_COMMAND}`; export r; \
24106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24107 $(HOST_EXPORTS) \
24108 for flag in $(EXTRA_HOST_FLAGS) ; do \
24109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24110 done; \
24111 echo "Doing clean in sed" ; \
24112 (cd $(HOST_SUBDIR)/sed && \
24113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24115 "RANLIB=$${RANLIB}" \
24116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24117 clean) \
24118 || exit 1
24120 @endif sed
24122 .PHONY: maybe-distclean-sed distclean-sed
24123 maybe-distclean-sed:
24124 @if sed
24125 maybe-distclean-sed: distclean-sed
24127 distclean-sed:
24128 @: $(MAKE); $(unstage)
24129 @[ -f ./sed/Makefile ] || exit 0; \
24130 r=`${PWD_COMMAND}`; export r; \
24131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24132 $(HOST_EXPORTS) \
24133 for flag in $(EXTRA_HOST_FLAGS) ; do \
24134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24135 done; \
24136 echo "Doing distclean in sed" ; \
24137 (cd $(HOST_SUBDIR)/sed && \
24138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24140 "RANLIB=$${RANLIB}" \
24141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24142 distclean) \
24143 || exit 1
24145 @endif sed
24147 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
24148 maybe-maintainer-clean-sed:
24149 @if sed
24150 maybe-maintainer-clean-sed: maintainer-clean-sed
24152 maintainer-clean-sed:
24153 @: $(MAKE); $(unstage)
24154 @[ -f ./sed/Makefile ] || exit 0; \
24155 r=`${PWD_COMMAND}`; export r; \
24156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24157 $(HOST_EXPORTS) \
24158 for flag in $(EXTRA_HOST_FLAGS) ; do \
24159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24160 done; \
24161 echo "Doing maintainer-clean in sed" ; \
24162 (cd $(HOST_SUBDIR)/sed && \
24163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24165 "RANLIB=$${RANLIB}" \
24166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24167 maintainer-clean) \
24168 || exit 1
24170 @endif sed
24174 .PHONY: configure-send-pr maybe-configure-send-pr
24175 maybe-configure-send-pr:
24176 @if gcc-bootstrap
24177 configure-send-pr: stage_current
24178 @endif gcc-bootstrap
24179 @if send-pr
24180 maybe-configure-send-pr: configure-send-pr
24181 configure-send-pr:
24182 @: $(MAKE); $(unstage)
24183 @r=`${PWD_COMMAND}`; export r; \
24184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24185 test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
24186 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
24187 $(HOST_EXPORTS) \
24188 echo Configuring in $(HOST_SUBDIR)/send-pr; \
24189 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
24190 case $(srcdir) in \
24191 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24192 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
24193 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24194 esac; \
24195 srcdiroption="--srcdir=$${topdir}/send-pr"; \
24196 libsrcdir="$$s/send-pr"; \
24197 $(SHELL) $${libsrcdir}/configure \
24198 $(HOST_CONFIGARGS) $${srcdiroption} \
24199 || exit 1
24200 @endif send-pr
24206 .PHONY: all-send-pr maybe-all-send-pr
24207 maybe-all-send-pr:
24208 @if gcc-bootstrap
24209 all-send-pr: stage_current
24210 @endif gcc-bootstrap
24211 @if send-pr
24212 TARGET-send-pr=all
24213 maybe-all-send-pr: all-send-pr
24214 all-send-pr: configure-send-pr
24215 @: $(MAKE); $(unstage)
24216 @r=`${PWD_COMMAND}`; export r; \
24217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24218 $(HOST_EXPORTS) \
24219 (cd $(HOST_SUBDIR)/send-pr && \
24220 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
24221 @endif send-pr
24226 .PHONY: check-send-pr maybe-check-send-pr
24227 maybe-check-send-pr:
24228 @if send-pr
24229 maybe-check-send-pr: check-send-pr
24231 check-send-pr:
24232 @: $(MAKE); $(unstage)
24233 @r=`${PWD_COMMAND}`; export r; \
24234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24235 $(HOST_EXPORTS) \
24236 (cd $(HOST_SUBDIR)/send-pr && \
24237 $(MAKE) $(FLAGS_TO_PASS) check)
24239 @endif send-pr
24241 .PHONY: install-send-pr maybe-install-send-pr
24242 maybe-install-send-pr:
24243 @if send-pr
24244 maybe-install-send-pr: install-send-pr
24246 install-send-pr: installdirs
24247 @: $(MAKE); $(unstage)
24248 @r=`${PWD_COMMAND}`; export r; \
24249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24250 $(HOST_EXPORTS) \
24251 (cd $(HOST_SUBDIR)/send-pr && \
24252 $(MAKE) $(FLAGS_TO_PASS) install)
24254 @endif send-pr
24256 # Other targets (info, dvi, etc.)
24258 .PHONY: maybe-info-send-pr info-send-pr
24259 maybe-info-send-pr:
24260 @if send-pr
24261 maybe-info-send-pr: info-send-pr
24263 info-send-pr: \
24264 configure-send-pr
24265 @: $(MAKE); $(unstage)
24266 @[ -f ./send-pr/Makefile ] || exit 0; \
24267 r=`${PWD_COMMAND}`; export r; \
24268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24269 $(HOST_EXPORTS) \
24270 for flag in $(EXTRA_HOST_FLAGS) ; do \
24271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24272 done; \
24273 echo "Doing info in send-pr" ; \
24274 (cd $(HOST_SUBDIR)/send-pr && \
24275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24277 "RANLIB=$${RANLIB}" \
24278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24279 info) \
24280 || exit 1
24282 @endif send-pr
24284 .PHONY: maybe-dvi-send-pr dvi-send-pr
24285 maybe-dvi-send-pr:
24286 @if send-pr
24287 maybe-dvi-send-pr: dvi-send-pr
24289 dvi-send-pr: \
24290 configure-send-pr
24291 @: $(MAKE); $(unstage)
24292 @[ -f ./send-pr/Makefile ] || exit 0; \
24293 r=`${PWD_COMMAND}`; export r; \
24294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24295 $(HOST_EXPORTS) \
24296 for flag in $(EXTRA_HOST_FLAGS) ; do \
24297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24298 done; \
24299 echo "Doing dvi in send-pr" ; \
24300 (cd $(HOST_SUBDIR)/send-pr && \
24301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24303 "RANLIB=$${RANLIB}" \
24304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24305 dvi) \
24306 || exit 1
24308 @endif send-pr
24310 .PHONY: maybe-html-send-pr html-send-pr
24311 maybe-html-send-pr:
24312 @if send-pr
24313 maybe-html-send-pr: html-send-pr
24315 html-send-pr: \
24316 configure-send-pr
24317 @: $(MAKE); $(unstage)
24318 @[ -f ./send-pr/Makefile ] || exit 0; \
24319 r=`${PWD_COMMAND}`; export r; \
24320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24321 $(HOST_EXPORTS) \
24322 for flag in $(EXTRA_HOST_FLAGS) ; do \
24323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24324 done; \
24325 echo "Doing html in send-pr" ; \
24326 (cd $(HOST_SUBDIR)/send-pr && \
24327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24329 "RANLIB=$${RANLIB}" \
24330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24331 html) \
24332 || exit 1
24334 @endif send-pr
24336 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
24337 maybe-TAGS-send-pr:
24338 @if send-pr
24339 maybe-TAGS-send-pr: TAGS-send-pr
24341 TAGS-send-pr: \
24342 configure-send-pr
24343 @: $(MAKE); $(unstage)
24344 @[ -f ./send-pr/Makefile ] || exit 0; \
24345 r=`${PWD_COMMAND}`; export r; \
24346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24347 $(HOST_EXPORTS) \
24348 for flag in $(EXTRA_HOST_FLAGS) ; do \
24349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24350 done; \
24351 echo "Doing TAGS in send-pr" ; \
24352 (cd $(HOST_SUBDIR)/send-pr && \
24353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24355 "RANLIB=$${RANLIB}" \
24356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24357 TAGS) \
24358 || exit 1
24360 @endif send-pr
24362 .PHONY: maybe-install-info-send-pr install-info-send-pr
24363 maybe-install-info-send-pr:
24364 @if send-pr
24365 maybe-install-info-send-pr: install-info-send-pr
24367 install-info-send-pr: \
24368 configure-send-pr \
24369 info-send-pr
24370 @: $(MAKE); $(unstage)
24371 @[ -f ./send-pr/Makefile ] || exit 0; \
24372 r=`${PWD_COMMAND}`; export r; \
24373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24374 $(HOST_EXPORTS) \
24375 for flag in $(EXTRA_HOST_FLAGS) ; do \
24376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24377 done; \
24378 echo "Doing install-info in send-pr" ; \
24379 (cd $(HOST_SUBDIR)/send-pr && \
24380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24382 "RANLIB=$${RANLIB}" \
24383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24384 install-info) \
24385 || exit 1
24387 @endif send-pr
24389 .PHONY: maybe-install-html-send-pr install-html-send-pr
24390 maybe-install-html-send-pr:
24391 @if send-pr
24392 maybe-install-html-send-pr: install-html-send-pr
24394 install-html-send-pr: \
24395 configure-send-pr \
24396 html-send-pr
24397 @: $(MAKE); $(unstage)
24398 @[ -f ./send-pr/Makefile ] || exit 0; \
24399 r=`${PWD_COMMAND}`; export r; \
24400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24401 $(HOST_EXPORTS) \
24402 for flag in $(EXTRA_HOST_FLAGS) ; do \
24403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24404 done; \
24405 echo "Doing install-html in send-pr" ; \
24406 (cd $(HOST_SUBDIR)/send-pr && \
24407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24409 "RANLIB=$${RANLIB}" \
24410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24411 install-html) \
24412 || exit 1
24414 @endif send-pr
24416 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
24417 maybe-installcheck-send-pr:
24418 @if send-pr
24419 maybe-installcheck-send-pr: installcheck-send-pr
24421 installcheck-send-pr: \
24422 configure-send-pr
24423 @: $(MAKE); $(unstage)
24424 @[ -f ./send-pr/Makefile ] || exit 0; \
24425 r=`${PWD_COMMAND}`; export r; \
24426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24427 $(HOST_EXPORTS) \
24428 for flag in $(EXTRA_HOST_FLAGS) ; do \
24429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24430 done; \
24431 echo "Doing installcheck in send-pr" ; \
24432 (cd $(HOST_SUBDIR)/send-pr && \
24433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24435 "RANLIB=$${RANLIB}" \
24436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24437 installcheck) \
24438 || exit 1
24440 @endif send-pr
24442 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
24443 maybe-mostlyclean-send-pr:
24444 @if send-pr
24445 maybe-mostlyclean-send-pr: mostlyclean-send-pr
24447 mostlyclean-send-pr:
24448 @: $(MAKE); $(unstage)
24449 @[ -f ./send-pr/Makefile ] || exit 0; \
24450 r=`${PWD_COMMAND}`; export r; \
24451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24452 $(HOST_EXPORTS) \
24453 for flag in $(EXTRA_HOST_FLAGS) ; do \
24454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24455 done; \
24456 echo "Doing mostlyclean in send-pr" ; \
24457 (cd $(HOST_SUBDIR)/send-pr && \
24458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24460 "RANLIB=$${RANLIB}" \
24461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24462 mostlyclean) \
24463 || exit 1
24465 @endif send-pr
24467 .PHONY: maybe-clean-send-pr clean-send-pr
24468 maybe-clean-send-pr:
24469 @if send-pr
24470 maybe-clean-send-pr: clean-send-pr
24472 clean-send-pr:
24473 @: $(MAKE); $(unstage)
24474 @[ -f ./send-pr/Makefile ] || exit 0; \
24475 r=`${PWD_COMMAND}`; export r; \
24476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24477 $(HOST_EXPORTS) \
24478 for flag in $(EXTRA_HOST_FLAGS) ; do \
24479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24480 done; \
24481 echo "Doing clean in send-pr" ; \
24482 (cd $(HOST_SUBDIR)/send-pr && \
24483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24485 "RANLIB=$${RANLIB}" \
24486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24487 clean) \
24488 || exit 1
24490 @endif send-pr
24492 .PHONY: maybe-distclean-send-pr distclean-send-pr
24493 maybe-distclean-send-pr:
24494 @if send-pr
24495 maybe-distclean-send-pr: distclean-send-pr
24497 distclean-send-pr:
24498 @: $(MAKE); $(unstage)
24499 @[ -f ./send-pr/Makefile ] || exit 0; \
24500 r=`${PWD_COMMAND}`; export r; \
24501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24502 $(HOST_EXPORTS) \
24503 for flag in $(EXTRA_HOST_FLAGS) ; do \
24504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24505 done; \
24506 echo "Doing distclean in send-pr" ; \
24507 (cd $(HOST_SUBDIR)/send-pr && \
24508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24510 "RANLIB=$${RANLIB}" \
24511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24512 distclean) \
24513 || exit 1
24515 @endif send-pr
24517 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
24518 maybe-maintainer-clean-send-pr:
24519 @if send-pr
24520 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
24522 maintainer-clean-send-pr:
24523 @: $(MAKE); $(unstage)
24524 @[ -f ./send-pr/Makefile ] || exit 0; \
24525 r=`${PWD_COMMAND}`; export r; \
24526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24527 $(HOST_EXPORTS) \
24528 for flag in $(EXTRA_HOST_FLAGS) ; do \
24529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24530 done; \
24531 echo "Doing maintainer-clean in send-pr" ; \
24532 (cd $(HOST_SUBDIR)/send-pr && \
24533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24535 "RANLIB=$${RANLIB}" \
24536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24537 maintainer-clean) \
24538 || exit 1
24540 @endif send-pr
24544 .PHONY: configure-shellutils maybe-configure-shellutils
24545 maybe-configure-shellutils:
24546 @if gcc-bootstrap
24547 configure-shellutils: stage_current
24548 @endif gcc-bootstrap
24549 @if shellutils
24550 maybe-configure-shellutils: configure-shellutils
24551 configure-shellutils:
24552 @: $(MAKE); $(unstage)
24553 @r=`${PWD_COMMAND}`; export r; \
24554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24555 test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
24556 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
24557 $(HOST_EXPORTS) \
24558 echo Configuring in $(HOST_SUBDIR)/shellutils; \
24559 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
24560 case $(srcdir) in \
24561 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24562 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
24563 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24564 esac; \
24565 srcdiroption="--srcdir=$${topdir}/shellutils"; \
24566 libsrcdir="$$s/shellutils"; \
24567 $(SHELL) $${libsrcdir}/configure \
24568 $(HOST_CONFIGARGS) $${srcdiroption} \
24569 || exit 1
24570 @endif shellutils
24576 .PHONY: all-shellutils maybe-all-shellutils
24577 maybe-all-shellutils:
24578 @if gcc-bootstrap
24579 all-shellutils: stage_current
24580 @endif gcc-bootstrap
24581 @if shellutils
24582 TARGET-shellutils=all
24583 maybe-all-shellutils: all-shellutils
24584 all-shellutils: configure-shellutils
24585 @: $(MAKE); $(unstage)
24586 @r=`${PWD_COMMAND}`; export r; \
24587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24588 $(HOST_EXPORTS) \
24589 (cd $(HOST_SUBDIR)/shellutils && \
24590 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
24591 @endif shellutils
24596 .PHONY: check-shellutils maybe-check-shellutils
24597 maybe-check-shellutils:
24598 @if shellutils
24599 maybe-check-shellutils: check-shellutils
24601 check-shellutils:
24602 @: $(MAKE); $(unstage)
24603 @r=`${PWD_COMMAND}`; export r; \
24604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24605 $(HOST_EXPORTS) \
24606 (cd $(HOST_SUBDIR)/shellutils && \
24607 $(MAKE) $(FLAGS_TO_PASS) check)
24609 @endif shellutils
24611 .PHONY: install-shellutils maybe-install-shellutils
24612 maybe-install-shellutils:
24613 @if shellutils
24614 maybe-install-shellutils: install-shellutils
24616 install-shellutils: installdirs
24617 @: $(MAKE); $(unstage)
24618 @r=`${PWD_COMMAND}`; export r; \
24619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24620 $(HOST_EXPORTS) \
24621 (cd $(HOST_SUBDIR)/shellutils && \
24622 $(MAKE) $(FLAGS_TO_PASS) install)
24624 @endif shellutils
24626 # Other targets (info, dvi, etc.)
24628 .PHONY: maybe-info-shellutils info-shellutils
24629 maybe-info-shellutils:
24630 @if shellutils
24631 maybe-info-shellutils: info-shellutils
24633 info-shellutils: \
24634 configure-shellutils
24635 @: $(MAKE); $(unstage)
24636 @[ -f ./shellutils/Makefile ] || exit 0; \
24637 r=`${PWD_COMMAND}`; export r; \
24638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24639 $(HOST_EXPORTS) \
24640 for flag in $(EXTRA_HOST_FLAGS) ; do \
24641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24642 done; \
24643 echo "Doing info in shellutils" ; \
24644 (cd $(HOST_SUBDIR)/shellutils && \
24645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24647 "RANLIB=$${RANLIB}" \
24648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24649 info) \
24650 || exit 1
24652 @endif shellutils
24654 .PHONY: maybe-dvi-shellutils dvi-shellutils
24655 maybe-dvi-shellutils:
24656 @if shellutils
24657 maybe-dvi-shellutils: dvi-shellutils
24659 dvi-shellutils: \
24660 configure-shellutils
24661 @: $(MAKE); $(unstage)
24662 @[ -f ./shellutils/Makefile ] || exit 0; \
24663 r=`${PWD_COMMAND}`; export r; \
24664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24665 $(HOST_EXPORTS) \
24666 for flag in $(EXTRA_HOST_FLAGS) ; do \
24667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24668 done; \
24669 echo "Doing dvi in shellutils" ; \
24670 (cd $(HOST_SUBDIR)/shellutils && \
24671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24673 "RANLIB=$${RANLIB}" \
24674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24675 dvi) \
24676 || exit 1
24678 @endif shellutils
24680 .PHONY: maybe-html-shellutils html-shellutils
24681 maybe-html-shellutils:
24682 @if shellutils
24683 maybe-html-shellutils: html-shellutils
24685 html-shellutils: \
24686 configure-shellutils
24687 @: $(MAKE); $(unstage)
24688 @[ -f ./shellutils/Makefile ] || exit 0; \
24689 r=`${PWD_COMMAND}`; export r; \
24690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24691 $(HOST_EXPORTS) \
24692 for flag in $(EXTRA_HOST_FLAGS) ; do \
24693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24694 done; \
24695 echo "Doing html in shellutils" ; \
24696 (cd $(HOST_SUBDIR)/shellutils && \
24697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24699 "RANLIB=$${RANLIB}" \
24700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24701 html) \
24702 || exit 1
24704 @endif shellutils
24706 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
24707 maybe-TAGS-shellutils:
24708 @if shellutils
24709 maybe-TAGS-shellutils: TAGS-shellutils
24711 TAGS-shellutils: \
24712 configure-shellutils
24713 @: $(MAKE); $(unstage)
24714 @[ -f ./shellutils/Makefile ] || exit 0; \
24715 r=`${PWD_COMMAND}`; export r; \
24716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24717 $(HOST_EXPORTS) \
24718 for flag in $(EXTRA_HOST_FLAGS) ; do \
24719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24720 done; \
24721 echo "Doing TAGS in shellutils" ; \
24722 (cd $(HOST_SUBDIR)/shellutils && \
24723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24725 "RANLIB=$${RANLIB}" \
24726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24727 TAGS) \
24728 || exit 1
24730 @endif shellutils
24732 .PHONY: maybe-install-info-shellutils install-info-shellutils
24733 maybe-install-info-shellutils:
24734 @if shellutils
24735 maybe-install-info-shellutils: install-info-shellutils
24737 install-info-shellutils: \
24738 configure-shellutils \
24739 info-shellutils
24740 @: $(MAKE); $(unstage)
24741 @[ -f ./shellutils/Makefile ] || exit 0; \
24742 r=`${PWD_COMMAND}`; export r; \
24743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24744 $(HOST_EXPORTS) \
24745 for flag in $(EXTRA_HOST_FLAGS) ; do \
24746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24747 done; \
24748 echo "Doing install-info in shellutils" ; \
24749 (cd $(HOST_SUBDIR)/shellutils && \
24750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24752 "RANLIB=$${RANLIB}" \
24753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24754 install-info) \
24755 || exit 1
24757 @endif shellutils
24759 .PHONY: maybe-install-html-shellutils install-html-shellutils
24760 maybe-install-html-shellutils:
24761 @if shellutils
24762 maybe-install-html-shellutils: install-html-shellutils
24764 install-html-shellutils: \
24765 configure-shellutils \
24766 html-shellutils
24767 @: $(MAKE); $(unstage)
24768 @[ -f ./shellutils/Makefile ] || exit 0; \
24769 r=`${PWD_COMMAND}`; export r; \
24770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24771 $(HOST_EXPORTS) \
24772 for flag in $(EXTRA_HOST_FLAGS) ; do \
24773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24774 done; \
24775 echo "Doing install-html in shellutils" ; \
24776 (cd $(HOST_SUBDIR)/shellutils && \
24777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24779 "RANLIB=$${RANLIB}" \
24780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24781 install-html) \
24782 || exit 1
24784 @endif shellutils
24786 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
24787 maybe-installcheck-shellutils:
24788 @if shellutils
24789 maybe-installcheck-shellutils: installcheck-shellutils
24791 installcheck-shellutils: \
24792 configure-shellutils
24793 @: $(MAKE); $(unstage)
24794 @[ -f ./shellutils/Makefile ] || exit 0; \
24795 r=`${PWD_COMMAND}`; export r; \
24796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24797 $(HOST_EXPORTS) \
24798 for flag in $(EXTRA_HOST_FLAGS) ; do \
24799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24800 done; \
24801 echo "Doing installcheck in shellutils" ; \
24802 (cd $(HOST_SUBDIR)/shellutils && \
24803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24805 "RANLIB=$${RANLIB}" \
24806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24807 installcheck) \
24808 || exit 1
24810 @endif shellutils
24812 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
24813 maybe-mostlyclean-shellutils:
24814 @if shellutils
24815 maybe-mostlyclean-shellutils: mostlyclean-shellutils
24817 mostlyclean-shellutils:
24818 @: $(MAKE); $(unstage)
24819 @[ -f ./shellutils/Makefile ] || exit 0; \
24820 r=`${PWD_COMMAND}`; export r; \
24821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24822 $(HOST_EXPORTS) \
24823 for flag in $(EXTRA_HOST_FLAGS) ; do \
24824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24825 done; \
24826 echo "Doing mostlyclean in shellutils" ; \
24827 (cd $(HOST_SUBDIR)/shellutils && \
24828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24830 "RANLIB=$${RANLIB}" \
24831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24832 mostlyclean) \
24833 || exit 1
24835 @endif shellutils
24837 .PHONY: maybe-clean-shellutils clean-shellutils
24838 maybe-clean-shellutils:
24839 @if shellutils
24840 maybe-clean-shellutils: clean-shellutils
24842 clean-shellutils:
24843 @: $(MAKE); $(unstage)
24844 @[ -f ./shellutils/Makefile ] || exit 0; \
24845 r=`${PWD_COMMAND}`; export r; \
24846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24847 $(HOST_EXPORTS) \
24848 for flag in $(EXTRA_HOST_FLAGS) ; do \
24849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24850 done; \
24851 echo "Doing clean in shellutils" ; \
24852 (cd $(HOST_SUBDIR)/shellutils && \
24853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24855 "RANLIB=$${RANLIB}" \
24856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24857 clean) \
24858 || exit 1
24860 @endif shellutils
24862 .PHONY: maybe-distclean-shellutils distclean-shellutils
24863 maybe-distclean-shellutils:
24864 @if shellutils
24865 maybe-distclean-shellutils: distclean-shellutils
24867 distclean-shellutils:
24868 @: $(MAKE); $(unstage)
24869 @[ -f ./shellutils/Makefile ] || exit 0; \
24870 r=`${PWD_COMMAND}`; export r; \
24871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24872 $(HOST_EXPORTS) \
24873 for flag in $(EXTRA_HOST_FLAGS) ; do \
24874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24875 done; \
24876 echo "Doing distclean in shellutils" ; \
24877 (cd $(HOST_SUBDIR)/shellutils && \
24878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24880 "RANLIB=$${RANLIB}" \
24881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24882 distclean) \
24883 || exit 1
24885 @endif shellutils
24887 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
24888 maybe-maintainer-clean-shellutils:
24889 @if shellutils
24890 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
24892 maintainer-clean-shellutils:
24893 @: $(MAKE); $(unstage)
24894 @[ -f ./shellutils/Makefile ] || exit 0; \
24895 r=`${PWD_COMMAND}`; export r; \
24896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24897 $(HOST_EXPORTS) \
24898 for flag in $(EXTRA_HOST_FLAGS) ; do \
24899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24900 done; \
24901 echo "Doing maintainer-clean in shellutils" ; \
24902 (cd $(HOST_SUBDIR)/shellutils && \
24903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24905 "RANLIB=$${RANLIB}" \
24906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24907 maintainer-clean) \
24908 || exit 1
24910 @endif shellutils
24914 .PHONY: configure-sid maybe-configure-sid
24915 maybe-configure-sid:
24916 @if gcc-bootstrap
24917 configure-sid: stage_current
24918 @endif gcc-bootstrap
24919 @if sid
24920 maybe-configure-sid: configure-sid
24921 configure-sid:
24922 @: $(MAKE); $(unstage)
24923 @r=`${PWD_COMMAND}`; export r; \
24924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24925 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
24926 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
24927 $(HOST_EXPORTS) \
24928 echo Configuring in $(HOST_SUBDIR)/sid; \
24929 cd "$(HOST_SUBDIR)/sid" || exit 1; \
24930 case $(srcdir) in \
24931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24932 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
24933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24934 esac; \
24935 srcdiroption="--srcdir=$${topdir}/sid"; \
24936 libsrcdir="$$s/sid"; \
24937 $(SHELL) $${libsrcdir}/configure \
24938 $(HOST_CONFIGARGS) $${srcdiroption} \
24939 || exit 1
24940 @endif sid
24946 .PHONY: all-sid maybe-all-sid
24947 maybe-all-sid:
24948 @if gcc-bootstrap
24949 all-sid: stage_current
24950 @endif gcc-bootstrap
24951 @if sid
24952 TARGET-sid=all
24953 maybe-all-sid: all-sid
24954 all-sid: configure-sid
24955 @: $(MAKE); $(unstage)
24956 @r=`${PWD_COMMAND}`; export r; \
24957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24958 $(HOST_EXPORTS) \
24959 (cd $(HOST_SUBDIR)/sid && \
24960 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
24961 @endif sid
24966 .PHONY: check-sid maybe-check-sid
24967 maybe-check-sid:
24968 @if sid
24969 maybe-check-sid: check-sid
24971 check-sid:
24972 @: $(MAKE); $(unstage)
24973 @r=`${PWD_COMMAND}`; export r; \
24974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24975 $(HOST_EXPORTS) \
24976 (cd $(HOST_SUBDIR)/sid && \
24977 $(MAKE) $(FLAGS_TO_PASS) check)
24979 @endif sid
24981 .PHONY: install-sid maybe-install-sid
24982 maybe-install-sid:
24983 @if sid
24984 maybe-install-sid: install-sid
24986 install-sid: installdirs
24987 @: $(MAKE); $(unstage)
24988 @r=`${PWD_COMMAND}`; export r; \
24989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24990 $(HOST_EXPORTS) \
24991 (cd $(HOST_SUBDIR)/sid && \
24992 $(MAKE) $(FLAGS_TO_PASS) install)
24994 @endif sid
24996 # Other targets (info, dvi, etc.)
24998 .PHONY: maybe-info-sid info-sid
24999 maybe-info-sid:
25000 @if sid
25001 maybe-info-sid: info-sid
25003 info-sid: \
25004 configure-sid
25005 @: $(MAKE); $(unstage)
25006 @[ -f ./sid/Makefile ] || exit 0; \
25007 r=`${PWD_COMMAND}`; export r; \
25008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25009 $(HOST_EXPORTS) \
25010 for flag in $(EXTRA_HOST_FLAGS) ; do \
25011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25012 done; \
25013 echo "Doing info in sid" ; \
25014 (cd $(HOST_SUBDIR)/sid && \
25015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25017 "RANLIB=$${RANLIB}" \
25018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25019 info) \
25020 || exit 1
25022 @endif sid
25024 .PHONY: maybe-dvi-sid dvi-sid
25025 maybe-dvi-sid:
25026 @if sid
25027 maybe-dvi-sid: dvi-sid
25029 dvi-sid: \
25030 configure-sid
25031 @: $(MAKE); $(unstage)
25032 @[ -f ./sid/Makefile ] || exit 0; \
25033 r=`${PWD_COMMAND}`; export r; \
25034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25035 $(HOST_EXPORTS) \
25036 for flag in $(EXTRA_HOST_FLAGS) ; do \
25037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25038 done; \
25039 echo "Doing dvi in sid" ; \
25040 (cd $(HOST_SUBDIR)/sid && \
25041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25043 "RANLIB=$${RANLIB}" \
25044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25045 dvi) \
25046 || exit 1
25048 @endif sid
25050 .PHONY: maybe-html-sid html-sid
25051 maybe-html-sid:
25052 @if sid
25053 maybe-html-sid: html-sid
25055 html-sid: \
25056 configure-sid
25057 @: $(MAKE); $(unstage)
25058 @[ -f ./sid/Makefile ] || exit 0; \
25059 r=`${PWD_COMMAND}`; export r; \
25060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25061 $(HOST_EXPORTS) \
25062 for flag in $(EXTRA_HOST_FLAGS) ; do \
25063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25064 done; \
25065 echo "Doing html in sid" ; \
25066 (cd $(HOST_SUBDIR)/sid && \
25067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25069 "RANLIB=$${RANLIB}" \
25070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25071 html) \
25072 || exit 1
25074 @endif sid
25076 .PHONY: maybe-TAGS-sid TAGS-sid
25077 maybe-TAGS-sid:
25078 @if sid
25079 maybe-TAGS-sid: TAGS-sid
25081 TAGS-sid: \
25082 configure-sid
25083 @: $(MAKE); $(unstage)
25084 @[ -f ./sid/Makefile ] || exit 0; \
25085 r=`${PWD_COMMAND}`; export r; \
25086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25087 $(HOST_EXPORTS) \
25088 for flag in $(EXTRA_HOST_FLAGS) ; do \
25089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25090 done; \
25091 echo "Doing TAGS in sid" ; \
25092 (cd $(HOST_SUBDIR)/sid && \
25093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25095 "RANLIB=$${RANLIB}" \
25096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25097 TAGS) \
25098 || exit 1
25100 @endif sid
25102 .PHONY: maybe-install-info-sid install-info-sid
25103 maybe-install-info-sid:
25104 @if sid
25105 maybe-install-info-sid: install-info-sid
25107 install-info-sid: \
25108 configure-sid \
25109 info-sid
25110 @: $(MAKE); $(unstage)
25111 @[ -f ./sid/Makefile ] || exit 0; \
25112 r=`${PWD_COMMAND}`; export r; \
25113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25114 $(HOST_EXPORTS) \
25115 for flag in $(EXTRA_HOST_FLAGS) ; do \
25116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25117 done; \
25118 echo "Doing install-info in sid" ; \
25119 (cd $(HOST_SUBDIR)/sid && \
25120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25122 "RANLIB=$${RANLIB}" \
25123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25124 install-info) \
25125 || exit 1
25127 @endif sid
25129 .PHONY: maybe-install-html-sid install-html-sid
25130 maybe-install-html-sid:
25131 @if sid
25132 maybe-install-html-sid: install-html-sid
25134 install-html-sid: \
25135 configure-sid \
25136 html-sid
25137 @: $(MAKE); $(unstage)
25138 @[ -f ./sid/Makefile ] || exit 0; \
25139 r=`${PWD_COMMAND}`; export r; \
25140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25141 $(HOST_EXPORTS) \
25142 for flag in $(EXTRA_HOST_FLAGS) ; do \
25143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25144 done; \
25145 echo "Doing install-html in sid" ; \
25146 (cd $(HOST_SUBDIR)/sid && \
25147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25149 "RANLIB=$${RANLIB}" \
25150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25151 install-html) \
25152 || exit 1
25154 @endif sid
25156 .PHONY: maybe-installcheck-sid installcheck-sid
25157 maybe-installcheck-sid:
25158 @if sid
25159 maybe-installcheck-sid: installcheck-sid
25161 installcheck-sid: \
25162 configure-sid
25163 @: $(MAKE); $(unstage)
25164 @[ -f ./sid/Makefile ] || exit 0; \
25165 r=`${PWD_COMMAND}`; export r; \
25166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25167 $(HOST_EXPORTS) \
25168 for flag in $(EXTRA_HOST_FLAGS) ; do \
25169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25170 done; \
25171 echo "Doing installcheck in sid" ; \
25172 (cd $(HOST_SUBDIR)/sid && \
25173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25175 "RANLIB=$${RANLIB}" \
25176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25177 installcheck) \
25178 || exit 1
25180 @endif sid
25182 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
25183 maybe-mostlyclean-sid:
25184 @if sid
25185 maybe-mostlyclean-sid: mostlyclean-sid
25187 mostlyclean-sid:
25188 @: $(MAKE); $(unstage)
25189 @[ -f ./sid/Makefile ] || exit 0; \
25190 r=`${PWD_COMMAND}`; export r; \
25191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25192 $(HOST_EXPORTS) \
25193 for flag in $(EXTRA_HOST_FLAGS) ; do \
25194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25195 done; \
25196 echo "Doing mostlyclean in sid" ; \
25197 (cd $(HOST_SUBDIR)/sid && \
25198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25200 "RANLIB=$${RANLIB}" \
25201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25202 mostlyclean) \
25203 || exit 1
25205 @endif sid
25207 .PHONY: maybe-clean-sid clean-sid
25208 maybe-clean-sid:
25209 @if sid
25210 maybe-clean-sid: clean-sid
25212 clean-sid:
25213 @: $(MAKE); $(unstage)
25214 @[ -f ./sid/Makefile ] || exit 0; \
25215 r=`${PWD_COMMAND}`; export r; \
25216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25217 $(HOST_EXPORTS) \
25218 for flag in $(EXTRA_HOST_FLAGS) ; do \
25219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25220 done; \
25221 echo "Doing clean in sid" ; \
25222 (cd $(HOST_SUBDIR)/sid && \
25223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25225 "RANLIB=$${RANLIB}" \
25226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25227 clean) \
25228 || exit 1
25230 @endif sid
25232 .PHONY: maybe-distclean-sid distclean-sid
25233 maybe-distclean-sid:
25234 @if sid
25235 maybe-distclean-sid: distclean-sid
25237 distclean-sid:
25238 @: $(MAKE); $(unstage)
25239 @[ -f ./sid/Makefile ] || exit 0; \
25240 r=`${PWD_COMMAND}`; export r; \
25241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25242 $(HOST_EXPORTS) \
25243 for flag in $(EXTRA_HOST_FLAGS) ; do \
25244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25245 done; \
25246 echo "Doing distclean in sid" ; \
25247 (cd $(HOST_SUBDIR)/sid && \
25248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25250 "RANLIB=$${RANLIB}" \
25251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25252 distclean) \
25253 || exit 1
25255 @endif sid
25257 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
25258 maybe-maintainer-clean-sid:
25259 @if sid
25260 maybe-maintainer-clean-sid: maintainer-clean-sid
25262 maintainer-clean-sid:
25263 @: $(MAKE); $(unstage)
25264 @[ -f ./sid/Makefile ] || exit 0; \
25265 r=`${PWD_COMMAND}`; export r; \
25266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25267 $(HOST_EXPORTS) \
25268 for flag in $(EXTRA_HOST_FLAGS) ; do \
25269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25270 done; \
25271 echo "Doing maintainer-clean in sid" ; \
25272 (cd $(HOST_SUBDIR)/sid && \
25273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25275 "RANLIB=$${RANLIB}" \
25276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25277 maintainer-clean) \
25278 || exit 1
25280 @endif sid
25284 .PHONY: configure-sim maybe-configure-sim
25285 maybe-configure-sim:
25286 @if gcc-bootstrap
25287 configure-sim: stage_current
25288 @endif gcc-bootstrap
25289 @if sim
25290 maybe-configure-sim: configure-sim
25291 configure-sim:
25292 @: $(MAKE); $(unstage)
25293 @r=`${PWD_COMMAND}`; export r; \
25294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25295 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
25296 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
25297 $(HOST_EXPORTS) \
25298 echo Configuring in $(HOST_SUBDIR)/sim; \
25299 cd "$(HOST_SUBDIR)/sim" || exit 1; \
25300 case $(srcdir) in \
25301 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25302 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
25303 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25304 esac; \
25305 srcdiroption="--srcdir=$${topdir}/sim"; \
25306 libsrcdir="$$s/sim"; \
25307 $(SHELL) $${libsrcdir}/configure \
25308 $(HOST_CONFIGARGS) $${srcdiroption} \
25309 || exit 1
25310 @endif sim
25316 .PHONY: all-sim maybe-all-sim
25317 maybe-all-sim:
25318 @if gcc-bootstrap
25319 all-sim: stage_current
25320 @endif gcc-bootstrap
25321 @if sim
25322 TARGET-sim=all
25323 maybe-all-sim: all-sim
25324 all-sim: configure-sim
25325 @: $(MAKE); $(unstage)
25326 @r=`${PWD_COMMAND}`; export r; \
25327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25328 $(HOST_EXPORTS) \
25329 (cd $(HOST_SUBDIR)/sim && \
25330 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
25331 @endif sim
25336 .PHONY: check-sim maybe-check-sim
25337 maybe-check-sim:
25338 @if sim
25339 maybe-check-sim: check-sim
25341 check-sim:
25342 @: $(MAKE); $(unstage)
25343 @r=`${PWD_COMMAND}`; export r; \
25344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25345 $(HOST_EXPORTS) \
25346 (cd $(HOST_SUBDIR)/sim && \
25347 $(MAKE) $(FLAGS_TO_PASS) check)
25349 @endif sim
25351 .PHONY: install-sim maybe-install-sim
25352 maybe-install-sim:
25353 @if sim
25354 maybe-install-sim: install-sim
25356 install-sim: installdirs
25357 @: $(MAKE); $(unstage)
25358 @r=`${PWD_COMMAND}`; export r; \
25359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25360 $(HOST_EXPORTS) \
25361 (cd $(HOST_SUBDIR)/sim && \
25362 $(MAKE) $(FLAGS_TO_PASS) install)
25364 @endif sim
25366 # Other targets (info, dvi, etc.)
25368 .PHONY: maybe-info-sim info-sim
25369 maybe-info-sim:
25370 @if sim
25371 maybe-info-sim: info-sim
25373 info-sim: \
25374 configure-sim
25375 @: $(MAKE); $(unstage)
25376 @[ -f ./sim/Makefile ] || exit 0; \
25377 r=`${PWD_COMMAND}`; export r; \
25378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25379 $(HOST_EXPORTS) \
25380 for flag in $(EXTRA_HOST_FLAGS) ; do \
25381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25382 done; \
25383 echo "Doing info in sim" ; \
25384 (cd $(HOST_SUBDIR)/sim && \
25385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25387 "RANLIB=$${RANLIB}" \
25388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25389 info) \
25390 || exit 1
25392 @endif sim
25394 .PHONY: maybe-dvi-sim dvi-sim
25395 maybe-dvi-sim:
25396 @if sim
25397 maybe-dvi-sim: dvi-sim
25399 dvi-sim: \
25400 configure-sim
25401 @: $(MAKE); $(unstage)
25402 @[ -f ./sim/Makefile ] || exit 0; \
25403 r=`${PWD_COMMAND}`; export r; \
25404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25405 $(HOST_EXPORTS) \
25406 for flag in $(EXTRA_HOST_FLAGS) ; do \
25407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25408 done; \
25409 echo "Doing dvi in sim" ; \
25410 (cd $(HOST_SUBDIR)/sim && \
25411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25413 "RANLIB=$${RANLIB}" \
25414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25415 dvi) \
25416 || exit 1
25418 @endif sim
25420 .PHONY: maybe-html-sim html-sim
25421 maybe-html-sim:
25422 @if sim
25423 maybe-html-sim: html-sim
25425 html-sim: \
25426 configure-sim
25427 @: $(MAKE); $(unstage)
25428 @[ -f ./sim/Makefile ] || exit 0; \
25429 r=`${PWD_COMMAND}`; export r; \
25430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25431 $(HOST_EXPORTS) \
25432 for flag in $(EXTRA_HOST_FLAGS) ; do \
25433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25434 done; \
25435 echo "Doing html in sim" ; \
25436 (cd $(HOST_SUBDIR)/sim && \
25437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25439 "RANLIB=$${RANLIB}" \
25440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25441 html) \
25442 || exit 1
25444 @endif sim
25446 .PHONY: maybe-TAGS-sim TAGS-sim
25447 maybe-TAGS-sim:
25448 @if sim
25449 maybe-TAGS-sim: TAGS-sim
25451 TAGS-sim: \
25452 configure-sim
25453 @: $(MAKE); $(unstage)
25454 @[ -f ./sim/Makefile ] || exit 0; \
25455 r=`${PWD_COMMAND}`; export r; \
25456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25457 $(HOST_EXPORTS) \
25458 for flag in $(EXTRA_HOST_FLAGS) ; do \
25459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25460 done; \
25461 echo "Doing TAGS in sim" ; \
25462 (cd $(HOST_SUBDIR)/sim && \
25463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25465 "RANLIB=$${RANLIB}" \
25466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25467 TAGS) \
25468 || exit 1
25470 @endif sim
25472 .PHONY: maybe-install-info-sim install-info-sim
25473 maybe-install-info-sim:
25474 @if sim
25475 maybe-install-info-sim: install-info-sim
25477 install-info-sim: \
25478 configure-sim \
25479 info-sim
25480 @: $(MAKE); $(unstage)
25481 @[ -f ./sim/Makefile ] || exit 0; \
25482 r=`${PWD_COMMAND}`; export r; \
25483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25484 $(HOST_EXPORTS) \
25485 for flag in $(EXTRA_HOST_FLAGS) ; do \
25486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25487 done; \
25488 echo "Doing install-info in sim" ; \
25489 (cd $(HOST_SUBDIR)/sim && \
25490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25492 "RANLIB=$${RANLIB}" \
25493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25494 install-info) \
25495 || exit 1
25497 @endif sim
25499 .PHONY: maybe-install-html-sim install-html-sim
25500 maybe-install-html-sim:
25501 @if sim
25502 maybe-install-html-sim: install-html-sim
25504 install-html-sim: \
25505 configure-sim \
25506 html-sim
25507 @: $(MAKE); $(unstage)
25508 @[ -f ./sim/Makefile ] || exit 0; \
25509 r=`${PWD_COMMAND}`; export r; \
25510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25511 $(HOST_EXPORTS) \
25512 for flag in $(EXTRA_HOST_FLAGS) ; do \
25513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25514 done; \
25515 echo "Doing install-html in sim" ; \
25516 (cd $(HOST_SUBDIR)/sim && \
25517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25519 "RANLIB=$${RANLIB}" \
25520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25521 install-html) \
25522 || exit 1
25524 @endif sim
25526 .PHONY: maybe-installcheck-sim installcheck-sim
25527 maybe-installcheck-sim:
25528 @if sim
25529 maybe-installcheck-sim: installcheck-sim
25531 installcheck-sim: \
25532 configure-sim
25533 @: $(MAKE); $(unstage)
25534 @[ -f ./sim/Makefile ] || exit 0; \
25535 r=`${PWD_COMMAND}`; export r; \
25536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25537 $(HOST_EXPORTS) \
25538 for flag in $(EXTRA_HOST_FLAGS) ; do \
25539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25540 done; \
25541 echo "Doing installcheck in sim" ; \
25542 (cd $(HOST_SUBDIR)/sim && \
25543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25545 "RANLIB=$${RANLIB}" \
25546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25547 installcheck) \
25548 || exit 1
25550 @endif sim
25552 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
25553 maybe-mostlyclean-sim:
25554 @if sim
25555 maybe-mostlyclean-sim: mostlyclean-sim
25557 mostlyclean-sim:
25558 @: $(MAKE); $(unstage)
25559 @[ -f ./sim/Makefile ] || exit 0; \
25560 r=`${PWD_COMMAND}`; export r; \
25561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25562 $(HOST_EXPORTS) \
25563 for flag in $(EXTRA_HOST_FLAGS) ; do \
25564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25565 done; \
25566 echo "Doing mostlyclean in sim" ; \
25567 (cd $(HOST_SUBDIR)/sim && \
25568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25570 "RANLIB=$${RANLIB}" \
25571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25572 mostlyclean) \
25573 || exit 1
25575 @endif sim
25577 .PHONY: maybe-clean-sim clean-sim
25578 maybe-clean-sim:
25579 @if sim
25580 maybe-clean-sim: clean-sim
25582 clean-sim:
25583 @: $(MAKE); $(unstage)
25584 @[ -f ./sim/Makefile ] || exit 0; \
25585 r=`${PWD_COMMAND}`; export r; \
25586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25587 $(HOST_EXPORTS) \
25588 for flag in $(EXTRA_HOST_FLAGS) ; do \
25589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25590 done; \
25591 echo "Doing clean in sim" ; \
25592 (cd $(HOST_SUBDIR)/sim && \
25593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25595 "RANLIB=$${RANLIB}" \
25596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25597 clean) \
25598 || exit 1
25600 @endif sim
25602 .PHONY: maybe-distclean-sim distclean-sim
25603 maybe-distclean-sim:
25604 @if sim
25605 maybe-distclean-sim: distclean-sim
25607 distclean-sim:
25608 @: $(MAKE); $(unstage)
25609 @[ -f ./sim/Makefile ] || exit 0; \
25610 r=`${PWD_COMMAND}`; export r; \
25611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25612 $(HOST_EXPORTS) \
25613 for flag in $(EXTRA_HOST_FLAGS) ; do \
25614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25615 done; \
25616 echo "Doing distclean in sim" ; \
25617 (cd $(HOST_SUBDIR)/sim && \
25618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25620 "RANLIB=$${RANLIB}" \
25621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25622 distclean) \
25623 || exit 1
25625 @endif sim
25627 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
25628 maybe-maintainer-clean-sim:
25629 @if sim
25630 maybe-maintainer-clean-sim: maintainer-clean-sim
25632 maintainer-clean-sim:
25633 @: $(MAKE); $(unstage)
25634 @[ -f ./sim/Makefile ] || exit 0; \
25635 r=`${PWD_COMMAND}`; export r; \
25636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25637 $(HOST_EXPORTS) \
25638 for flag in $(EXTRA_HOST_FLAGS) ; do \
25639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25640 done; \
25641 echo "Doing maintainer-clean in sim" ; \
25642 (cd $(HOST_SUBDIR)/sim && \
25643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25645 "RANLIB=$${RANLIB}" \
25646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25647 maintainer-clean) \
25648 || exit 1
25650 @endif sim
25654 .PHONY: configure-tar maybe-configure-tar
25655 maybe-configure-tar:
25656 @if gcc-bootstrap
25657 configure-tar: stage_current
25658 @endif gcc-bootstrap
25659 @if tar
25660 maybe-configure-tar: configure-tar
25661 configure-tar:
25662 @: $(MAKE); $(unstage)
25663 @r=`${PWD_COMMAND}`; export r; \
25664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25665 test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
25666 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
25667 $(HOST_EXPORTS) \
25668 echo Configuring in $(HOST_SUBDIR)/tar; \
25669 cd "$(HOST_SUBDIR)/tar" || exit 1; \
25670 case $(srcdir) in \
25671 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25672 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
25673 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25674 esac; \
25675 srcdiroption="--srcdir=$${topdir}/tar"; \
25676 libsrcdir="$$s/tar"; \
25677 $(SHELL) $${libsrcdir}/configure \
25678 $(HOST_CONFIGARGS) $${srcdiroption} \
25679 || exit 1
25680 @endif tar
25686 .PHONY: all-tar maybe-all-tar
25687 maybe-all-tar:
25688 @if gcc-bootstrap
25689 all-tar: stage_current
25690 @endif gcc-bootstrap
25691 @if tar
25692 TARGET-tar=all
25693 maybe-all-tar: all-tar
25694 all-tar: configure-tar
25695 @: $(MAKE); $(unstage)
25696 @r=`${PWD_COMMAND}`; export r; \
25697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25698 $(HOST_EXPORTS) \
25699 (cd $(HOST_SUBDIR)/tar && \
25700 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
25701 @endif tar
25706 .PHONY: check-tar maybe-check-tar
25707 maybe-check-tar:
25708 @if tar
25709 maybe-check-tar: check-tar
25711 check-tar:
25712 @: $(MAKE); $(unstage)
25713 @r=`${PWD_COMMAND}`; export r; \
25714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25715 $(HOST_EXPORTS) \
25716 (cd $(HOST_SUBDIR)/tar && \
25717 $(MAKE) $(FLAGS_TO_PASS) check)
25719 @endif tar
25721 .PHONY: install-tar maybe-install-tar
25722 maybe-install-tar:
25723 @if tar
25724 maybe-install-tar: install-tar
25726 install-tar: installdirs
25727 @: $(MAKE); $(unstage)
25728 @r=`${PWD_COMMAND}`; export r; \
25729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25730 $(HOST_EXPORTS) \
25731 (cd $(HOST_SUBDIR)/tar && \
25732 $(MAKE) $(FLAGS_TO_PASS) install)
25734 @endif tar
25736 # Other targets (info, dvi, etc.)
25738 .PHONY: maybe-info-tar info-tar
25739 maybe-info-tar:
25740 @if tar
25741 maybe-info-tar: info-tar
25743 info-tar: \
25744 configure-tar
25745 @: $(MAKE); $(unstage)
25746 @[ -f ./tar/Makefile ] || exit 0; \
25747 r=`${PWD_COMMAND}`; export r; \
25748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25749 $(HOST_EXPORTS) \
25750 for flag in $(EXTRA_HOST_FLAGS) ; do \
25751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25752 done; \
25753 echo "Doing info in tar" ; \
25754 (cd $(HOST_SUBDIR)/tar && \
25755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25757 "RANLIB=$${RANLIB}" \
25758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25759 info) \
25760 || exit 1
25762 @endif tar
25764 .PHONY: maybe-dvi-tar dvi-tar
25765 maybe-dvi-tar:
25766 @if tar
25767 maybe-dvi-tar: dvi-tar
25769 dvi-tar: \
25770 configure-tar
25771 @: $(MAKE); $(unstage)
25772 @[ -f ./tar/Makefile ] || exit 0; \
25773 r=`${PWD_COMMAND}`; export r; \
25774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25775 $(HOST_EXPORTS) \
25776 for flag in $(EXTRA_HOST_FLAGS) ; do \
25777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25778 done; \
25779 echo "Doing dvi in tar" ; \
25780 (cd $(HOST_SUBDIR)/tar && \
25781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25783 "RANLIB=$${RANLIB}" \
25784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25785 dvi) \
25786 || exit 1
25788 @endif tar
25790 .PHONY: maybe-html-tar html-tar
25791 maybe-html-tar:
25792 @if tar
25793 maybe-html-tar: html-tar
25795 html-tar: \
25796 configure-tar
25797 @: $(MAKE); $(unstage)
25798 @[ -f ./tar/Makefile ] || exit 0; \
25799 r=`${PWD_COMMAND}`; export r; \
25800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25801 $(HOST_EXPORTS) \
25802 for flag in $(EXTRA_HOST_FLAGS) ; do \
25803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25804 done; \
25805 echo "Doing html in tar" ; \
25806 (cd $(HOST_SUBDIR)/tar && \
25807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25809 "RANLIB=$${RANLIB}" \
25810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25811 html) \
25812 || exit 1
25814 @endif tar
25816 .PHONY: maybe-TAGS-tar TAGS-tar
25817 maybe-TAGS-tar:
25818 @if tar
25819 maybe-TAGS-tar: TAGS-tar
25821 TAGS-tar: \
25822 configure-tar
25823 @: $(MAKE); $(unstage)
25824 @[ -f ./tar/Makefile ] || exit 0; \
25825 r=`${PWD_COMMAND}`; export r; \
25826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25827 $(HOST_EXPORTS) \
25828 for flag in $(EXTRA_HOST_FLAGS) ; do \
25829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25830 done; \
25831 echo "Doing TAGS in tar" ; \
25832 (cd $(HOST_SUBDIR)/tar && \
25833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25835 "RANLIB=$${RANLIB}" \
25836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25837 TAGS) \
25838 || exit 1
25840 @endif tar
25842 .PHONY: maybe-install-info-tar install-info-tar
25843 maybe-install-info-tar:
25844 @if tar
25845 maybe-install-info-tar: install-info-tar
25847 install-info-tar: \
25848 configure-tar \
25849 info-tar
25850 @: $(MAKE); $(unstage)
25851 @[ -f ./tar/Makefile ] || exit 0; \
25852 r=`${PWD_COMMAND}`; export r; \
25853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25854 $(HOST_EXPORTS) \
25855 for flag in $(EXTRA_HOST_FLAGS) ; do \
25856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25857 done; \
25858 echo "Doing install-info in tar" ; \
25859 (cd $(HOST_SUBDIR)/tar && \
25860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25862 "RANLIB=$${RANLIB}" \
25863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25864 install-info) \
25865 || exit 1
25867 @endif tar
25869 .PHONY: maybe-install-html-tar install-html-tar
25870 maybe-install-html-tar:
25871 @if tar
25872 maybe-install-html-tar: install-html-tar
25874 install-html-tar: \
25875 configure-tar \
25876 html-tar
25877 @: $(MAKE); $(unstage)
25878 @[ -f ./tar/Makefile ] || exit 0; \
25879 r=`${PWD_COMMAND}`; export r; \
25880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25881 $(HOST_EXPORTS) \
25882 for flag in $(EXTRA_HOST_FLAGS) ; do \
25883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25884 done; \
25885 echo "Doing install-html in tar" ; \
25886 (cd $(HOST_SUBDIR)/tar && \
25887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25889 "RANLIB=$${RANLIB}" \
25890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25891 install-html) \
25892 || exit 1
25894 @endif tar
25896 .PHONY: maybe-installcheck-tar installcheck-tar
25897 maybe-installcheck-tar:
25898 @if tar
25899 maybe-installcheck-tar: installcheck-tar
25901 installcheck-tar: \
25902 configure-tar
25903 @: $(MAKE); $(unstage)
25904 @[ -f ./tar/Makefile ] || exit 0; \
25905 r=`${PWD_COMMAND}`; export r; \
25906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25907 $(HOST_EXPORTS) \
25908 for flag in $(EXTRA_HOST_FLAGS) ; do \
25909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25910 done; \
25911 echo "Doing installcheck in tar" ; \
25912 (cd $(HOST_SUBDIR)/tar && \
25913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25915 "RANLIB=$${RANLIB}" \
25916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25917 installcheck) \
25918 || exit 1
25920 @endif tar
25922 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
25923 maybe-mostlyclean-tar:
25924 @if tar
25925 maybe-mostlyclean-tar: mostlyclean-tar
25927 mostlyclean-tar:
25928 @: $(MAKE); $(unstage)
25929 @[ -f ./tar/Makefile ] || exit 0; \
25930 r=`${PWD_COMMAND}`; export r; \
25931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25932 $(HOST_EXPORTS) \
25933 for flag in $(EXTRA_HOST_FLAGS) ; do \
25934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25935 done; \
25936 echo "Doing mostlyclean in tar" ; \
25937 (cd $(HOST_SUBDIR)/tar && \
25938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25940 "RANLIB=$${RANLIB}" \
25941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25942 mostlyclean) \
25943 || exit 1
25945 @endif tar
25947 .PHONY: maybe-clean-tar clean-tar
25948 maybe-clean-tar:
25949 @if tar
25950 maybe-clean-tar: clean-tar
25952 clean-tar:
25953 @: $(MAKE); $(unstage)
25954 @[ -f ./tar/Makefile ] || exit 0; \
25955 r=`${PWD_COMMAND}`; export r; \
25956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25957 $(HOST_EXPORTS) \
25958 for flag in $(EXTRA_HOST_FLAGS) ; do \
25959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25960 done; \
25961 echo "Doing clean in tar" ; \
25962 (cd $(HOST_SUBDIR)/tar && \
25963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25965 "RANLIB=$${RANLIB}" \
25966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25967 clean) \
25968 || exit 1
25970 @endif tar
25972 .PHONY: maybe-distclean-tar distclean-tar
25973 maybe-distclean-tar:
25974 @if tar
25975 maybe-distclean-tar: distclean-tar
25977 distclean-tar:
25978 @: $(MAKE); $(unstage)
25979 @[ -f ./tar/Makefile ] || exit 0; \
25980 r=`${PWD_COMMAND}`; export r; \
25981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25982 $(HOST_EXPORTS) \
25983 for flag in $(EXTRA_HOST_FLAGS) ; do \
25984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25985 done; \
25986 echo "Doing distclean in tar" ; \
25987 (cd $(HOST_SUBDIR)/tar && \
25988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25990 "RANLIB=$${RANLIB}" \
25991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25992 distclean) \
25993 || exit 1
25995 @endif tar
25997 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
25998 maybe-maintainer-clean-tar:
25999 @if tar
26000 maybe-maintainer-clean-tar: maintainer-clean-tar
26002 maintainer-clean-tar:
26003 @: $(MAKE); $(unstage)
26004 @[ -f ./tar/Makefile ] || exit 0; \
26005 r=`${PWD_COMMAND}`; export r; \
26006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26007 $(HOST_EXPORTS) \
26008 for flag in $(EXTRA_HOST_FLAGS) ; do \
26009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26010 done; \
26011 echo "Doing maintainer-clean in tar" ; \
26012 (cd $(HOST_SUBDIR)/tar && \
26013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26015 "RANLIB=$${RANLIB}" \
26016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26017 maintainer-clean) \
26018 || exit 1
26020 @endif tar
26024 .PHONY: configure-texinfo maybe-configure-texinfo
26025 maybe-configure-texinfo:
26026 @if gcc-bootstrap
26027 configure-texinfo: stage_current
26028 @endif gcc-bootstrap
26029 @if texinfo
26030 maybe-configure-texinfo: configure-texinfo
26031 configure-texinfo:
26032 @: $(MAKE); $(unstage)
26033 @r=`${PWD_COMMAND}`; export r; \
26034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26035 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
26036 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
26037 $(HOST_EXPORTS) \
26038 echo Configuring in $(HOST_SUBDIR)/texinfo; \
26039 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
26040 case $(srcdir) in \
26041 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26042 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
26043 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26044 esac; \
26045 srcdiroption="--srcdir=$${topdir}/texinfo"; \
26046 libsrcdir="$$s/texinfo"; \
26047 $(SHELL) $${libsrcdir}/configure \
26048 $(HOST_CONFIGARGS) $${srcdiroption} \
26049 || exit 1
26050 @endif texinfo
26056 .PHONY: all-texinfo maybe-all-texinfo
26057 maybe-all-texinfo:
26058 @if gcc-bootstrap
26059 all-texinfo: stage_current
26060 @endif gcc-bootstrap
26061 @if texinfo
26062 TARGET-texinfo=all
26063 maybe-all-texinfo: all-texinfo
26064 all-texinfo: configure-texinfo
26065 @: $(MAKE); $(unstage)
26066 @r=`${PWD_COMMAND}`; export r; \
26067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26068 $(HOST_EXPORTS) \
26069 (cd $(HOST_SUBDIR)/texinfo && \
26070 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
26071 @endif texinfo
26076 .PHONY: check-texinfo maybe-check-texinfo
26077 maybe-check-texinfo:
26078 @if texinfo
26079 maybe-check-texinfo: check-texinfo
26081 check-texinfo:
26082 @: $(MAKE); $(unstage)
26083 @r=`${PWD_COMMAND}`; export r; \
26084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26085 $(HOST_EXPORTS) \
26086 (cd $(HOST_SUBDIR)/texinfo && \
26087 $(MAKE) $(FLAGS_TO_PASS) check)
26089 @endif texinfo
26091 .PHONY: install-texinfo maybe-install-texinfo
26092 maybe-install-texinfo:
26093 @if texinfo
26094 maybe-install-texinfo: install-texinfo
26096 install-texinfo:
26098 @endif texinfo
26100 # Other targets (info, dvi, etc.)
26102 .PHONY: maybe-info-texinfo info-texinfo
26103 maybe-info-texinfo:
26104 @if texinfo
26105 maybe-info-texinfo: info-texinfo
26107 info-texinfo: \
26108 configure-texinfo
26109 @: $(MAKE); $(unstage)
26110 @[ -f ./texinfo/Makefile ] || exit 0; \
26111 r=`${PWD_COMMAND}`; export r; \
26112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26113 $(HOST_EXPORTS) \
26114 for flag in $(EXTRA_HOST_FLAGS) ; do \
26115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26116 done; \
26117 echo "Doing info in texinfo" ; \
26118 (cd $(HOST_SUBDIR)/texinfo && \
26119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26121 "RANLIB=$${RANLIB}" \
26122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26123 info) \
26124 || exit 1
26126 @endif texinfo
26128 .PHONY: maybe-dvi-texinfo dvi-texinfo
26129 maybe-dvi-texinfo:
26130 @if texinfo
26131 maybe-dvi-texinfo: dvi-texinfo
26133 dvi-texinfo: \
26134 configure-texinfo
26135 @: $(MAKE); $(unstage)
26136 @[ -f ./texinfo/Makefile ] || exit 0; \
26137 r=`${PWD_COMMAND}`; export r; \
26138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26139 $(HOST_EXPORTS) \
26140 for flag in $(EXTRA_HOST_FLAGS) ; do \
26141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26142 done; \
26143 echo "Doing dvi in texinfo" ; \
26144 (cd $(HOST_SUBDIR)/texinfo && \
26145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26147 "RANLIB=$${RANLIB}" \
26148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26149 dvi) \
26150 || exit 1
26152 @endif texinfo
26154 .PHONY: maybe-html-texinfo html-texinfo
26155 maybe-html-texinfo:
26156 @if texinfo
26157 maybe-html-texinfo: html-texinfo
26159 html-texinfo: \
26160 configure-texinfo
26161 @: $(MAKE); $(unstage)
26162 @[ -f ./texinfo/Makefile ] || exit 0; \
26163 r=`${PWD_COMMAND}`; export r; \
26164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26165 $(HOST_EXPORTS) \
26166 for flag in $(EXTRA_HOST_FLAGS) ; do \
26167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26168 done; \
26169 echo "Doing html in texinfo" ; \
26170 (cd $(HOST_SUBDIR)/texinfo && \
26171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26173 "RANLIB=$${RANLIB}" \
26174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26175 html) \
26176 || exit 1
26178 @endif texinfo
26180 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
26181 maybe-TAGS-texinfo:
26182 @if texinfo
26183 maybe-TAGS-texinfo: TAGS-texinfo
26185 TAGS-texinfo: \
26186 configure-texinfo
26187 @: $(MAKE); $(unstage)
26188 @[ -f ./texinfo/Makefile ] || exit 0; \
26189 r=`${PWD_COMMAND}`; export r; \
26190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26191 $(HOST_EXPORTS) \
26192 for flag in $(EXTRA_HOST_FLAGS) ; do \
26193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26194 done; \
26195 echo "Doing TAGS in texinfo" ; \
26196 (cd $(HOST_SUBDIR)/texinfo && \
26197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26199 "RANLIB=$${RANLIB}" \
26200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26201 TAGS) \
26202 || exit 1
26204 @endif texinfo
26206 .PHONY: maybe-install-info-texinfo install-info-texinfo
26207 maybe-install-info-texinfo:
26208 @if texinfo
26209 maybe-install-info-texinfo: install-info-texinfo
26211 install-info-texinfo: \
26212 configure-texinfo \
26213 info-texinfo
26214 @: $(MAKE); $(unstage)
26215 @[ -f ./texinfo/Makefile ] || exit 0; \
26216 r=`${PWD_COMMAND}`; export r; \
26217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26218 $(HOST_EXPORTS) \
26219 for flag in $(EXTRA_HOST_FLAGS) ; do \
26220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26221 done; \
26222 echo "Doing install-info in texinfo" ; \
26223 (cd $(HOST_SUBDIR)/texinfo && \
26224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26226 "RANLIB=$${RANLIB}" \
26227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26228 install-info) \
26229 || exit 1
26231 @endif texinfo
26233 .PHONY: maybe-install-html-texinfo install-html-texinfo
26234 maybe-install-html-texinfo:
26235 @if texinfo
26236 maybe-install-html-texinfo: install-html-texinfo
26238 install-html-texinfo: \
26239 configure-texinfo \
26240 html-texinfo
26241 @: $(MAKE); $(unstage)
26242 @[ -f ./texinfo/Makefile ] || exit 0; \
26243 r=`${PWD_COMMAND}`; export r; \
26244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26245 $(HOST_EXPORTS) \
26246 for flag in $(EXTRA_HOST_FLAGS) ; do \
26247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26248 done; \
26249 echo "Doing install-html in texinfo" ; \
26250 (cd $(HOST_SUBDIR)/texinfo && \
26251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26253 "RANLIB=$${RANLIB}" \
26254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26255 install-html) \
26256 || exit 1
26258 @endif texinfo
26260 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
26261 maybe-installcheck-texinfo:
26262 @if texinfo
26263 maybe-installcheck-texinfo: installcheck-texinfo
26265 installcheck-texinfo: \
26266 configure-texinfo
26267 @: $(MAKE); $(unstage)
26268 @[ -f ./texinfo/Makefile ] || exit 0; \
26269 r=`${PWD_COMMAND}`; export r; \
26270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26271 $(HOST_EXPORTS) \
26272 for flag in $(EXTRA_HOST_FLAGS) ; do \
26273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26274 done; \
26275 echo "Doing installcheck in texinfo" ; \
26276 (cd $(HOST_SUBDIR)/texinfo && \
26277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26279 "RANLIB=$${RANLIB}" \
26280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26281 installcheck) \
26282 || exit 1
26284 @endif texinfo
26286 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
26287 maybe-mostlyclean-texinfo:
26288 @if texinfo
26289 maybe-mostlyclean-texinfo: mostlyclean-texinfo
26291 mostlyclean-texinfo:
26292 @: $(MAKE); $(unstage)
26293 @[ -f ./texinfo/Makefile ] || exit 0; \
26294 r=`${PWD_COMMAND}`; export r; \
26295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26296 $(HOST_EXPORTS) \
26297 for flag in $(EXTRA_HOST_FLAGS) ; do \
26298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26299 done; \
26300 echo "Doing mostlyclean in texinfo" ; \
26301 (cd $(HOST_SUBDIR)/texinfo && \
26302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26304 "RANLIB=$${RANLIB}" \
26305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26306 mostlyclean) \
26307 || exit 1
26309 @endif texinfo
26311 .PHONY: maybe-clean-texinfo clean-texinfo
26312 maybe-clean-texinfo:
26313 @if texinfo
26314 maybe-clean-texinfo: clean-texinfo
26316 clean-texinfo:
26317 @: $(MAKE); $(unstage)
26318 @[ -f ./texinfo/Makefile ] || exit 0; \
26319 r=`${PWD_COMMAND}`; export r; \
26320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26321 $(HOST_EXPORTS) \
26322 for flag in $(EXTRA_HOST_FLAGS) ; do \
26323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26324 done; \
26325 echo "Doing clean in texinfo" ; \
26326 (cd $(HOST_SUBDIR)/texinfo && \
26327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26329 "RANLIB=$${RANLIB}" \
26330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26331 clean) \
26332 || exit 1
26334 @endif texinfo
26336 .PHONY: maybe-distclean-texinfo distclean-texinfo
26337 maybe-distclean-texinfo:
26338 @if texinfo
26339 maybe-distclean-texinfo: distclean-texinfo
26341 distclean-texinfo:
26342 @: $(MAKE); $(unstage)
26343 @[ -f ./texinfo/Makefile ] || exit 0; \
26344 r=`${PWD_COMMAND}`; export r; \
26345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26346 $(HOST_EXPORTS) \
26347 for flag in $(EXTRA_HOST_FLAGS) ; do \
26348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26349 done; \
26350 echo "Doing distclean in texinfo" ; \
26351 (cd $(HOST_SUBDIR)/texinfo && \
26352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26354 "RANLIB=$${RANLIB}" \
26355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26356 distclean) \
26357 || exit 1
26359 @endif texinfo
26361 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
26362 maybe-maintainer-clean-texinfo:
26363 @if texinfo
26364 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
26366 maintainer-clean-texinfo:
26367 @: $(MAKE); $(unstage)
26368 @[ -f ./texinfo/Makefile ] || exit 0; \
26369 r=`${PWD_COMMAND}`; export r; \
26370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26371 $(HOST_EXPORTS) \
26372 for flag in $(EXTRA_HOST_FLAGS) ; do \
26373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26374 done; \
26375 echo "Doing maintainer-clean in texinfo" ; \
26376 (cd $(HOST_SUBDIR)/texinfo && \
26377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26379 "RANLIB=$${RANLIB}" \
26380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26381 maintainer-clean) \
26382 || exit 1
26384 @endif texinfo
26388 .PHONY: configure-textutils maybe-configure-textutils
26389 maybe-configure-textutils:
26390 @if gcc-bootstrap
26391 configure-textutils: stage_current
26392 @endif gcc-bootstrap
26393 @if textutils
26394 maybe-configure-textutils: configure-textutils
26395 configure-textutils:
26396 @: $(MAKE); $(unstage)
26397 @r=`${PWD_COMMAND}`; export r; \
26398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26399 test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
26400 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
26401 $(HOST_EXPORTS) \
26402 echo Configuring in $(HOST_SUBDIR)/textutils; \
26403 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
26404 case $(srcdir) in \
26405 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26406 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
26407 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26408 esac; \
26409 srcdiroption="--srcdir=$${topdir}/textutils"; \
26410 libsrcdir="$$s/textutils"; \
26411 $(SHELL) $${libsrcdir}/configure \
26412 $(HOST_CONFIGARGS) $${srcdiroption} \
26413 || exit 1
26414 @endif textutils
26420 .PHONY: all-textutils maybe-all-textutils
26421 maybe-all-textutils:
26422 @if gcc-bootstrap
26423 all-textutils: stage_current
26424 @endif gcc-bootstrap
26425 @if textutils
26426 TARGET-textutils=all
26427 maybe-all-textutils: all-textutils
26428 all-textutils: configure-textutils
26429 @: $(MAKE); $(unstage)
26430 @r=`${PWD_COMMAND}`; export r; \
26431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26432 $(HOST_EXPORTS) \
26433 (cd $(HOST_SUBDIR)/textutils && \
26434 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
26435 @endif textutils
26440 .PHONY: check-textutils maybe-check-textutils
26441 maybe-check-textutils:
26442 @if textutils
26443 maybe-check-textutils: check-textutils
26445 check-textutils:
26446 @: $(MAKE); $(unstage)
26447 @r=`${PWD_COMMAND}`; export r; \
26448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26449 $(HOST_EXPORTS) \
26450 (cd $(HOST_SUBDIR)/textutils && \
26451 $(MAKE) $(FLAGS_TO_PASS) check)
26453 @endif textutils
26455 .PHONY: install-textutils maybe-install-textutils
26456 maybe-install-textutils:
26457 @if textutils
26458 maybe-install-textutils: install-textutils
26460 install-textutils: installdirs
26461 @: $(MAKE); $(unstage)
26462 @r=`${PWD_COMMAND}`; export r; \
26463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26464 $(HOST_EXPORTS) \
26465 (cd $(HOST_SUBDIR)/textutils && \
26466 $(MAKE) $(FLAGS_TO_PASS) install)
26468 @endif textutils
26470 # Other targets (info, dvi, etc.)
26472 .PHONY: maybe-info-textutils info-textutils
26473 maybe-info-textutils:
26474 @if textutils
26475 maybe-info-textutils: info-textutils
26477 info-textutils: \
26478 configure-textutils
26479 @: $(MAKE); $(unstage)
26480 @[ -f ./textutils/Makefile ] || exit 0; \
26481 r=`${PWD_COMMAND}`; export r; \
26482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26483 $(HOST_EXPORTS) \
26484 for flag in $(EXTRA_HOST_FLAGS) ; do \
26485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26486 done; \
26487 echo "Doing info in textutils" ; \
26488 (cd $(HOST_SUBDIR)/textutils && \
26489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26491 "RANLIB=$${RANLIB}" \
26492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26493 info) \
26494 || exit 1
26496 @endif textutils
26498 .PHONY: maybe-dvi-textutils dvi-textutils
26499 maybe-dvi-textutils:
26500 @if textutils
26501 maybe-dvi-textutils: dvi-textutils
26503 dvi-textutils: \
26504 configure-textutils
26505 @: $(MAKE); $(unstage)
26506 @[ -f ./textutils/Makefile ] || exit 0; \
26507 r=`${PWD_COMMAND}`; export r; \
26508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26509 $(HOST_EXPORTS) \
26510 for flag in $(EXTRA_HOST_FLAGS) ; do \
26511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26512 done; \
26513 echo "Doing dvi in textutils" ; \
26514 (cd $(HOST_SUBDIR)/textutils && \
26515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26517 "RANLIB=$${RANLIB}" \
26518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26519 dvi) \
26520 || exit 1
26522 @endif textutils
26524 .PHONY: maybe-html-textutils html-textutils
26525 maybe-html-textutils:
26526 @if textutils
26527 maybe-html-textutils: html-textutils
26529 html-textutils: \
26530 configure-textutils
26531 @: $(MAKE); $(unstage)
26532 @[ -f ./textutils/Makefile ] || exit 0; \
26533 r=`${PWD_COMMAND}`; export r; \
26534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26535 $(HOST_EXPORTS) \
26536 for flag in $(EXTRA_HOST_FLAGS) ; do \
26537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26538 done; \
26539 echo "Doing html in textutils" ; \
26540 (cd $(HOST_SUBDIR)/textutils && \
26541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26543 "RANLIB=$${RANLIB}" \
26544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26545 html) \
26546 || exit 1
26548 @endif textutils
26550 .PHONY: maybe-TAGS-textutils TAGS-textutils
26551 maybe-TAGS-textutils:
26552 @if textutils
26553 maybe-TAGS-textutils: TAGS-textutils
26555 TAGS-textutils: \
26556 configure-textutils
26557 @: $(MAKE); $(unstage)
26558 @[ -f ./textutils/Makefile ] || exit 0; \
26559 r=`${PWD_COMMAND}`; export r; \
26560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26561 $(HOST_EXPORTS) \
26562 for flag in $(EXTRA_HOST_FLAGS) ; do \
26563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26564 done; \
26565 echo "Doing TAGS in textutils" ; \
26566 (cd $(HOST_SUBDIR)/textutils && \
26567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26569 "RANLIB=$${RANLIB}" \
26570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26571 TAGS) \
26572 || exit 1
26574 @endif textutils
26576 .PHONY: maybe-install-info-textutils install-info-textutils
26577 maybe-install-info-textutils:
26578 @if textutils
26579 maybe-install-info-textutils: install-info-textutils
26581 install-info-textutils: \
26582 configure-textutils \
26583 info-textutils
26584 @: $(MAKE); $(unstage)
26585 @[ -f ./textutils/Makefile ] || exit 0; \
26586 r=`${PWD_COMMAND}`; export r; \
26587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26588 $(HOST_EXPORTS) \
26589 for flag in $(EXTRA_HOST_FLAGS) ; do \
26590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26591 done; \
26592 echo "Doing install-info in textutils" ; \
26593 (cd $(HOST_SUBDIR)/textutils && \
26594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26596 "RANLIB=$${RANLIB}" \
26597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26598 install-info) \
26599 || exit 1
26601 @endif textutils
26603 .PHONY: maybe-install-html-textutils install-html-textutils
26604 maybe-install-html-textutils:
26605 @if textutils
26606 maybe-install-html-textutils: install-html-textutils
26608 install-html-textutils: \
26609 configure-textutils \
26610 html-textutils
26611 @: $(MAKE); $(unstage)
26612 @[ -f ./textutils/Makefile ] || exit 0; \
26613 r=`${PWD_COMMAND}`; export r; \
26614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26615 $(HOST_EXPORTS) \
26616 for flag in $(EXTRA_HOST_FLAGS) ; do \
26617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26618 done; \
26619 echo "Doing install-html in textutils" ; \
26620 (cd $(HOST_SUBDIR)/textutils && \
26621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26623 "RANLIB=$${RANLIB}" \
26624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26625 install-html) \
26626 || exit 1
26628 @endif textutils
26630 .PHONY: maybe-installcheck-textutils installcheck-textutils
26631 maybe-installcheck-textutils:
26632 @if textutils
26633 maybe-installcheck-textutils: installcheck-textutils
26635 installcheck-textutils: \
26636 configure-textutils
26637 @: $(MAKE); $(unstage)
26638 @[ -f ./textutils/Makefile ] || exit 0; \
26639 r=`${PWD_COMMAND}`; export r; \
26640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26641 $(HOST_EXPORTS) \
26642 for flag in $(EXTRA_HOST_FLAGS) ; do \
26643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26644 done; \
26645 echo "Doing installcheck in textutils" ; \
26646 (cd $(HOST_SUBDIR)/textutils && \
26647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26649 "RANLIB=$${RANLIB}" \
26650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26651 installcheck) \
26652 || exit 1
26654 @endif textutils
26656 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
26657 maybe-mostlyclean-textutils:
26658 @if textutils
26659 maybe-mostlyclean-textutils: mostlyclean-textutils
26661 mostlyclean-textutils:
26662 @: $(MAKE); $(unstage)
26663 @[ -f ./textutils/Makefile ] || exit 0; \
26664 r=`${PWD_COMMAND}`; export r; \
26665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26666 $(HOST_EXPORTS) \
26667 for flag in $(EXTRA_HOST_FLAGS) ; do \
26668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26669 done; \
26670 echo "Doing mostlyclean in textutils" ; \
26671 (cd $(HOST_SUBDIR)/textutils && \
26672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26674 "RANLIB=$${RANLIB}" \
26675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26676 mostlyclean) \
26677 || exit 1
26679 @endif textutils
26681 .PHONY: maybe-clean-textutils clean-textutils
26682 maybe-clean-textutils:
26683 @if textutils
26684 maybe-clean-textutils: clean-textutils
26686 clean-textutils:
26687 @: $(MAKE); $(unstage)
26688 @[ -f ./textutils/Makefile ] || exit 0; \
26689 r=`${PWD_COMMAND}`; export r; \
26690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26691 $(HOST_EXPORTS) \
26692 for flag in $(EXTRA_HOST_FLAGS) ; do \
26693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26694 done; \
26695 echo "Doing clean in textutils" ; \
26696 (cd $(HOST_SUBDIR)/textutils && \
26697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26699 "RANLIB=$${RANLIB}" \
26700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26701 clean) \
26702 || exit 1
26704 @endif textutils
26706 .PHONY: maybe-distclean-textutils distclean-textutils
26707 maybe-distclean-textutils:
26708 @if textutils
26709 maybe-distclean-textutils: distclean-textutils
26711 distclean-textutils:
26712 @: $(MAKE); $(unstage)
26713 @[ -f ./textutils/Makefile ] || exit 0; \
26714 r=`${PWD_COMMAND}`; export r; \
26715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26716 $(HOST_EXPORTS) \
26717 for flag in $(EXTRA_HOST_FLAGS) ; do \
26718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26719 done; \
26720 echo "Doing distclean in textutils" ; \
26721 (cd $(HOST_SUBDIR)/textutils && \
26722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26724 "RANLIB=$${RANLIB}" \
26725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26726 distclean) \
26727 || exit 1
26729 @endif textutils
26731 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
26732 maybe-maintainer-clean-textutils:
26733 @if textutils
26734 maybe-maintainer-clean-textutils: maintainer-clean-textutils
26736 maintainer-clean-textutils:
26737 @: $(MAKE); $(unstage)
26738 @[ -f ./textutils/Makefile ] || exit 0; \
26739 r=`${PWD_COMMAND}`; export r; \
26740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26741 $(HOST_EXPORTS) \
26742 for flag in $(EXTRA_HOST_FLAGS) ; do \
26743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26744 done; \
26745 echo "Doing maintainer-clean in textutils" ; \
26746 (cd $(HOST_SUBDIR)/textutils && \
26747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26749 "RANLIB=$${RANLIB}" \
26750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26751 maintainer-clean) \
26752 || exit 1
26754 @endif textutils
26758 .PHONY: configure-time maybe-configure-time
26759 maybe-configure-time:
26760 @if gcc-bootstrap
26761 configure-time: stage_current
26762 @endif gcc-bootstrap
26763 @if time
26764 maybe-configure-time: configure-time
26765 configure-time:
26766 @: $(MAKE); $(unstage)
26767 @r=`${PWD_COMMAND}`; export r; \
26768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26769 test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
26770 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
26771 $(HOST_EXPORTS) \
26772 echo Configuring in $(HOST_SUBDIR)/time; \
26773 cd "$(HOST_SUBDIR)/time" || exit 1; \
26774 case $(srcdir) in \
26775 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26776 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
26777 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26778 esac; \
26779 srcdiroption="--srcdir=$${topdir}/time"; \
26780 libsrcdir="$$s/time"; \
26781 $(SHELL) $${libsrcdir}/configure \
26782 $(HOST_CONFIGARGS) $${srcdiroption} \
26783 || exit 1
26784 @endif time
26790 .PHONY: all-time maybe-all-time
26791 maybe-all-time:
26792 @if gcc-bootstrap
26793 all-time: stage_current
26794 @endif gcc-bootstrap
26795 @if time
26796 TARGET-time=all
26797 maybe-all-time: all-time
26798 all-time: configure-time
26799 @: $(MAKE); $(unstage)
26800 @r=`${PWD_COMMAND}`; export r; \
26801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26802 $(HOST_EXPORTS) \
26803 (cd $(HOST_SUBDIR)/time && \
26804 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
26805 @endif time
26810 .PHONY: check-time maybe-check-time
26811 maybe-check-time:
26812 @if time
26813 maybe-check-time: check-time
26815 check-time:
26816 @: $(MAKE); $(unstage)
26817 @r=`${PWD_COMMAND}`; export r; \
26818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26819 $(HOST_EXPORTS) \
26820 (cd $(HOST_SUBDIR)/time && \
26821 $(MAKE) $(FLAGS_TO_PASS) check)
26823 @endif time
26825 .PHONY: install-time maybe-install-time
26826 maybe-install-time:
26827 @if time
26828 maybe-install-time: install-time
26830 install-time: installdirs
26831 @: $(MAKE); $(unstage)
26832 @r=`${PWD_COMMAND}`; export r; \
26833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26834 $(HOST_EXPORTS) \
26835 (cd $(HOST_SUBDIR)/time && \
26836 $(MAKE) $(FLAGS_TO_PASS) install)
26838 @endif time
26840 # Other targets (info, dvi, etc.)
26842 .PHONY: maybe-info-time info-time
26843 maybe-info-time:
26844 @if time
26845 maybe-info-time: info-time
26847 info-time: \
26848 configure-time
26849 @: $(MAKE); $(unstage)
26850 @[ -f ./time/Makefile ] || exit 0; \
26851 r=`${PWD_COMMAND}`; export r; \
26852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26853 $(HOST_EXPORTS) \
26854 for flag in $(EXTRA_HOST_FLAGS) ; do \
26855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26856 done; \
26857 echo "Doing info in time" ; \
26858 (cd $(HOST_SUBDIR)/time && \
26859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26861 "RANLIB=$${RANLIB}" \
26862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26863 info) \
26864 || exit 1
26866 @endif time
26868 .PHONY: maybe-dvi-time dvi-time
26869 maybe-dvi-time:
26870 @if time
26871 maybe-dvi-time: dvi-time
26873 dvi-time: \
26874 configure-time
26875 @: $(MAKE); $(unstage)
26876 @[ -f ./time/Makefile ] || exit 0; \
26877 r=`${PWD_COMMAND}`; export r; \
26878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26879 $(HOST_EXPORTS) \
26880 for flag in $(EXTRA_HOST_FLAGS) ; do \
26881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26882 done; \
26883 echo "Doing dvi in time" ; \
26884 (cd $(HOST_SUBDIR)/time && \
26885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26887 "RANLIB=$${RANLIB}" \
26888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26889 dvi) \
26890 || exit 1
26892 @endif time
26894 .PHONY: maybe-html-time html-time
26895 maybe-html-time:
26896 @if time
26897 maybe-html-time: html-time
26899 html-time: \
26900 configure-time
26901 @: $(MAKE); $(unstage)
26902 @[ -f ./time/Makefile ] || exit 0; \
26903 r=`${PWD_COMMAND}`; export r; \
26904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26905 $(HOST_EXPORTS) \
26906 for flag in $(EXTRA_HOST_FLAGS) ; do \
26907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26908 done; \
26909 echo "Doing html in time" ; \
26910 (cd $(HOST_SUBDIR)/time && \
26911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26913 "RANLIB=$${RANLIB}" \
26914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26915 html) \
26916 || exit 1
26918 @endif time
26920 .PHONY: maybe-TAGS-time TAGS-time
26921 maybe-TAGS-time:
26922 @if time
26923 maybe-TAGS-time: TAGS-time
26925 TAGS-time: \
26926 configure-time
26927 @: $(MAKE); $(unstage)
26928 @[ -f ./time/Makefile ] || exit 0; \
26929 r=`${PWD_COMMAND}`; export r; \
26930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26931 $(HOST_EXPORTS) \
26932 for flag in $(EXTRA_HOST_FLAGS) ; do \
26933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26934 done; \
26935 echo "Doing TAGS in time" ; \
26936 (cd $(HOST_SUBDIR)/time && \
26937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26939 "RANLIB=$${RANLIB}" \
26940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26941 TAGS) \
26942 || exit 1
26944 @endif time
26946 .PHONY: maybe-install-info-time install-info-time
26947 maybe-install-info-time:
26948 @if time
26949 maybe-install-info-time: install-info-time
26951 install-info-time: \
26952 configure-time \
26953 info-time
26954 @: $(MAKE); $(unstage)
26955 @[ -f ./time/Makefile ] || exit 0; \
26956 r=`${PWD_COMMAND}`; export r; \
26957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26958 $(HOST_EXPORTS) \
26959 for flag in $(EXTRA_HOST_FLAGS) ; do \
26960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26961 done; \
26962 echo "Doing install-info in time" ; \
26963 (cd $(HOST_SUBDIR)/time && \
26964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26966 "RANLIB=$${RANLIB}" \
26967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26968 install-info) \
26969 || exit 1
26971 @endif time
26973 .PHONY: maybe-install-html-time install-html-time
26974 maybe-install-html-time:
26975 @if time
26976 maybe-install-html-time: install-html-time
26978 install-html-time: \
26979 configure-time \
26980 html-time
26981 @: $(MAKE); $(unstage)
26982 @[ -f ./time/Makefile ] || exit 0; \
26983 r=`${PWD_COMMAND}`; export r; \
26984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26985 $(HOST_EXPORTS) \
26986 for flag in $(EXTRA_HOST_FLAGS) ; do \
26987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26988 done; \
26989 echo "Doing install-html in time" ; \
26990 (cd $(HOST_SUBDIR)/time && \
26991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26993 "RANLIB=$${RANLIB}" \
26994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26995 install-html) \
26996 || exit 1
26998 @endif time
27000 .PHONY: maybe-installcheck-time installcheck-time
27001 maybe-installcheck-time:
27002 @if time
27003 maybe-installcheck-time: installcheck-time
27005 installcheck-time: \
27006 configure-time
27007 @: $(MAKE); $(unstage)
27008 @[ -f ./time/Makefile ] || exit 0; \
27009 r=`${PWD_COMMAND}`; export r; \
27010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27011 $(HOST_EXPORTS) \
27012 for flag in $(EXTRA_HOST_FLAGS) ; do \
27013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27014 done; \
27015 echo "Doing installcheck in time" ; \
27016 (cd $(HOST_SUBDIR)/time && \
27017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27019 "RANLIB=$${RANLIB}" \
27020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27021 installcheck) \
27022 || exit 1
27024 @endif time
27026 .PHONY: maybe-mostlyclean-time mostlyclean-time
27027 maybe-mostlyclean-time:
27028 @if time
27029 maybe-mostlyclean-time: mostlyclean-time
27031 mostlyclean-time:
27032 @: $(MAKE); $(unstage)
27033 @[ -f ./time/Makefile ] || exit 0; \
27034 r=`${PWD_COMMAND}`; export r; \
27035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27036 $(HOST_EXPORTS) \
27037 for flag in $(EXTRA_HOST_FLAGS) ; do \
27038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27039 done; \
27040 echo "Doing mostlyclean in time" ; \
27041 (cd $(HOST_SUBDIR)/time && \
27042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27044 "RANLIB=$${RANLIB}" \
27045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27046 mostlyclean) \
27047 || exit 1
27049 @endif time
27051 .PHONY: maybe-clean-time clean-time
27052 maybe-clean-time:
27053 @if time
27054 maybe-clean-time: clean-time
27056 clean-time:
27057 @: $(MAKE); $(unstage)
27058 @[ -f ./time/Makefile ] || exit 0; \
27059 r=`${PWD_COMMAND}`; export r; \
27060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27061 $(HOST_EXPORTS) \
27062 for flag in $(EXTRA_HOST_FLAGS) ; do \
27063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27064 done; \
27065 echo "Doing clean in time" ; \
27066 (cd $(HOST_SUBDIR)/time && \
27067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27069 "RANLIB=$${RANLIB}" \
27070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27071 clean) \
27072 || exit 1
27074 @endif time
27076 .PHONY: maybe-distclean-time distclean-time
27077 maybe-distclean-time:
27078 @if time
27079 maybe-distclean-time: distclean-time
27081 distclean-time:
27082 @: $(MAKE); $(unstage)
27083 @[ -f ./time/Makefile ] || exit 0; \
27084 r=`${PWD_COMMAND}`; export r; \
27085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27086 $(HOST_EXPORTS) \
27087 for flag in $(EXTRA_HOST_FLAGS) ; do \
27088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27089 done; \
27090 echo "Doing distclean in time" ; \
27091 (cd $(HOST_SUBDIR)/time && \
27092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27094 "RANLIB=$${RANLIB}" \
27095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27096 distclean) \
27097 || exit 1
27099 @endif time
27101 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
27102 maybe-maintainer-clean-time:
27103 @if time
27104 maybe-maintainer-clean-time: maintainer-clean-time
27106 maintainer-clean-time:
27107 @: $(MAKE); $(unstage)
27108 @[ -f ./time/Makefile ] || exit 0; \
27109 r=`${PWD_COMMAND}`; export r; \
27110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27111 $(HOST_EXPORTS) \
27112 for flag in $(EXTRA_HOST_FLAGS) ; do \
27113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27114 done; \
27115 echo "Doing maintainer-clean in time" ; \
27116 (cd $(HOST_SUBDIR)/time && \
27117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27119 "RANLIB=$${RANLIB}" \
27120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27121 maintainer-clean) \
27122 || exit 1
27124 @endif time
27128 .PHONY: configure-uudecode maybe-configure-uudecode
27129 maybe-configure-uudecode:
27130 @if gcc-bootstrap
27131 configure-uudecode: stage_current
27132 @endif gcc-bootstrap
27133 @if uudecode
27134 maybe-configure-uudecode: configure-uudecode
27135 configure-uudecode:
27136 @: $(MAKE); $(unstage)
27137 @r=`${PWD_COMMAND}`; export r; \
27138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27139 test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
27140 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
27141 $(HOST_EXPORTS) \
27142 echo Configuring in $(HOST_SUBDIR)/uudecode; \
27143 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
27144 case $(srcdir) in \
27145 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27146 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
27147 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27148 esac; \
27149 srcdiroption="--srcdir=$${topdir}/uudecode"; \
27150 libsrcdir="$$s/uudecode"; \
27151 $(SHELL) $${libsrcdir}/configure \
27152 $(HOST_CONFIGARGS) $${srcdiroption} \
27153 || exit 1
27154 @endif uudecode
27160 .PHONY: all-uudecode maybe-all-uudecode
27161 maybe-all-uudecode:
27162 @if gcc-bootstrap
27163 all-uudecode: stage_current
27164 @endif gcc-bootstrap
27165 @if uudecode
27166 TARGET-uudecode=all
27167 maybe-all-uudecode: all-uudecode
27168 all-uudecode: configure-uudecode
27169 @: $(MAKE); $(unstage)
27170 @r=`${PWD_COMMAND}`; export r; \
27171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27172 $(HOST_EXPORTS) \
27173 (cd $(HOST_SUBDIR)/uudecode && \
27174 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
27175 @endif uudecode
27180 .PHONY: check-uudecode maybe-check-uudecode
27181 maybe-check-uudecode:
27182 @if uudecode
27183 maybe-check-uudecode: check-uudecode
27185 check-uudecode:
27186 @: $(MAKE); $(unstage)
27187 @r=`${PWD_COMMAND}`; export r; \
27188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27189 $(HOST_EXPORTS) \
27190 (cd $(HOST_SUBDIR)/uudecode && \
27191 $(MAKE) $(FLAGS_TO_PASS) check)
27193 @endif uudecode
27195 .PHONY: install-uudecode maybe-install-uudecode
27196 maybe-install-uudecode:
27197 @if uudecode
27198 maybe-install-uudecode: install-uudecode
27200 install-uudecode: installdirs
27201 @: $(MAKE); $(unstage)
27202 @r=`${PWD_COMMAND}`; export r; \
27203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27204 $(HOST_EXPORTS) \
27205 (cd $(HOST_SUBDIR)/uudecode && \
27206 $(MAKE) $(FLAGS_TO_PASS) install)
27208 @endif uudecode
27210 # Other targets (info, dvi, etc.)
27212 .PHONY: maybe-info-uudecode info-uudecode
27213 maybe-info-uudecode:
27214 @if uudecode
27215 maybe-info-uudecode: info-uudecode
27217 info-uudecode: \
27218 configure-uudecode
27219 @: $(MAKE); $(unstage)
27220 @[ -f ./uudecode/Makefile ] || exit 0; \
27221 r=`${PWD_COMMAND}`; export r; \
27222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27223 $(HOST_EXPORTS) \
27224 for flag in $(EXTRA_HOST_FLAGS) ; do \
27225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27226 done; \
27227 echo "Doing info in uudecode" ; \
27228 (cd $(HOST_SUBDIR)/uudecode && \
27229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27231 "RANLIB=$${RANLIB}" \
27232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27233 info) \
27234 || exit 1
27236 @endif uudecode
27238 .PHONY: maybe-dvi-uudecode dvi-uudecode
27239 maybe-dvi-uudecode:
27240 @if uudecode
27241 maybe-dvi-uudecode: dvi-uudecode
27243 dvi-uudecode: \
27244 configure-uudecode
27245 @: $(MAKE); $(unstage)
27246 @[ -f ./uudecode/Makefile ] || exit 0; \
27247 r=`${PWD_COMMAND}`; export r; \
27248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27249 $(HOST_EXPORTS) \
27250 for flag in $(EXTRA_HOST_FLAGS) ; do \
27251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27252 done; \
27253 echo "Doing dvi in uudecode" ; \
27254 (cd $(HOST_SUBDIR)/uudecode && \
27255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27257 "RANLIB=$${RANLIB}" \
27258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27259 dvi) \
27260 || exit 1
27262 @endif uudecode
27264 .PHONY: maybe-html-uudecode html-uudecode
27265 maybe-html-uudecode:
27266 @if uudecode
27267 maybe-html-uudecode: html-uudecode
27269 html-uudecode: \
27270 configure-uudecode
27271 @: $(MAKE); $(unstage)
27272 @[ -f ./uudecode/Makefile ] || exit 0; \
27273 r=`${PWD_COMMAND}`; export r; \
27274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27275 $(HOST_EXPORTS) \
27276 for flag in $(EXTRA_HOST_FLAGS) ; do \
27277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27278 done; \
27279 echo "Doing html in uudecode" ; \
27280 (cd $(HOST_SUBDIR)/uudecode && \
27281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27283 "RANLIB=$${RANLIB}" \
27284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27285 html) \
27286 || exit 1
27288 @endif uudecode
27290 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
27291 maybe-TAGS-uudecode:
27292 @if uudecode
27293 maybe-TAGS-uudecode: TAGS-uudecode
27295 TAGS-uudecode: \
27296 configure-uudecode
27297 @: $(MAKE); $(unstage)
27298 @[ -f ./uudecode/Makefile ] || exit 0; \
27299 r=`${PWD_COMMAND}`; export r; \
27300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27301 $(HOST_EXPORTS) \
27302 for flag in $(EXTRA_HOST_FLAGS) ; do \
27303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27304 done; \
27305 echo "Doing TAGS in uudecode" ; \
27306 (cd $(HOST_SUBDIR)/uudecode && \
27307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27309 "RANLIB=$${RANLIB}" \
27310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27311 TAGS) \
27312 || exit 1
27314 @endif uudecode
27316 .PHONY: maybe-install-info-uudecode install-info-uudecode
27317 maybe-install-info-uudecode:
27318 @if uudecode
27319 maybe-install-info-uudecode: install-info-uudecode
27321 install-info-uudecode: \
27322 configure-uudecode \
27323 info-uudecode
27324 @: $(MAKE); $(unstage)
27325 @[ -f ./uudecode/Makefile ] || exit 0; \
27326 r=`${PWD_COMMAND}`; export r; \
27327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27328 $(HOST_EXPORTS) \
27329 for flag in $(EXTRA_HOST_FLAGS) ; do \
27330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27331 done; \
27332 echo "Doing install-info in uudecode" ; \
27333 (cd $(HOST_SUBDIR)/uudecode && \
27334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27336 "RANLIB=$${RANLIB}" \
27337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27338 install-info) \
27339 || exit 1
27341 @endif uudecode
27343 .PHONY: maybe-install-html-uudecode install-html-uudecode
27344 maybe-install-html-uudecode:
27345 @if uudecode
27346 maybe-install-html-uudecode: install-html-uudecode
27348 install-html-uudecode: \
27349 configure-uudecode \
27350 html-uudecode
27351 @: $(MAKE); $(unstage)
27352 @[ -f ./uudecode/Makefile ] || exit 0; \
27353 r=`${PWD_COMMAND}`; export r; \
27354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27355 $(HOST_EXPORTS) \
27356 for flag in $(EXTRA_HOST_FLAGS) ; do \
27357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27358 done; \
27359 echo "Doing install-html in uudecode" ; \
27360 (cd $(HOST_SUBDIR)/uudecode && \
27361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27363 "RANLIB=$${RANLIB}" \
27364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27365 install-html) \
27366 || exit 1
27368 @endif uudecode
27370 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
27371 maybe-installcheck-uudecode:
27372 @if uudecode
27373 maybe-installcheck-uudecode: installcheck-uudecode
27375 installcheck-uudecode: \
27376 configure-uudecode
27377 @: $(MAKE); $(unstage)
27378 @[ -f ./uudecode/Makefile ] || exit 0; \
27379 r=`${PWD_COMMAND}`; export r; \
27380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27381 $(HOST_EXPORTS) \
27382 for flag in $(EXTRA_HOST_FLAGS) ; do \
27383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27384 done; \
27385 echo "Doing installcheck in uudecode" ; \
27386 (cd $(HOST_SUBDIR)/uudecode && \
27387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27389 "RANLIB=$${RANLIB}" \
27390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27391 installcheck) \
27392 || exit 1
27394 @endif uudecode
27396 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
27397 maybe-mostlyclean-uudecode:
27398 @if uudecode
27399 maybe-mostlyclean-uudecode: mostlyclean-uudecode
27401 mostlyclean-uudecode:
27402 @: $(MAKE); $(unstage)
27403 @[ -f ./uudecode/Makefile ] || exit 0; \
27404 r=`${PWD_COMMAND}`; export r; \
27405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27406 $(HOST_EXPORTS) \
27407 for flag in $(EXTRA_HOST_FLAGS) ; do \
27408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27409 done; \
27410 echo "Doing mostlyclean in uudecode" ; \
27411 (cd $(HOST_SUBDIR)/uudecode && \
27412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27414 "RANLIB=$${RANLIB}" \
27415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27416 mostlyclean) \
27417 || exit 1
27419 @endif uudecode
27421 .PHONY: maybe-clean-uudecode clean-uudecode
27422 maybe-clean-uudecode:
27423 @if uudecode
27424 maybe-clean-uudecode: clean-uudecode
27426 clean-uudecode:
27427 @: $(MAKE); $(unstage)
27428 @[ -f ./uudecode/Makefile ] || exit 0; \
27429 r=`${PWD_COMMAND}`; export r; \
27430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27431 $(HOST_EXPORTS) \
27432 for flag in $(EXTRA_HOST_FLAGS) ; do \
27433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27434 done; \
27435 echo "Doing clean in uudecode" ; \
27436 (cd $(HOST_SUBDIR)/uudecode && \
27437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27439 "RANLIB=$${RANLIB}" \
27440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27441 clean) \
27442 || exit 1
27444 @endif uudecode
27446 .PHONY: maybe-distclean-uudecode distclean-uudecode
27447 maybe-distclean-uudecode:
27448 @if uudecode
27449 maybe-distclean-uudecode: distclean-uudecode
27451 distclean-uudecode:
27452 @: $(MAKE); $(unstage)
27453 @[ -f ./uudecode/Makefile ] || exit 0; \
27454 r=`${PWD_COMMAND}`; export r; \
27455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27456 $(HOST_EXPORTS) \
27457 for flag in $(EXTRA_HOST_FLAGS) ; do \
27458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27459 done; \
27460 echo "Doing distclean in uudecode" ; \
27461 (cd $(HOST_SUBDIR)/uudecode && \
27462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27464 "RANLIB=$${RANLIB}" \
27465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27466 distclean) \
27467 || exit 1
27469 @endif uudecode
27471 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
27472 maybe-maintainer-clean-uudecode:
27473 @if uudecode
27474 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
27476 maintainer-clean-uudecode:
27477 @: $(MAKE); $(unstage)
27478 @[ -f ./uudecode/Makefile ] || exit 0; \
27479 r=`${PWD_COMMAND}`; export r; \
27480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27481 $(HOST_EXPORTS) \
27482 for flag in $(EXTRA_HOST_FLAGS) ; do \
27483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27484 done; \
27485 echo "Doing maintainer-clean in uudecode" ; \
27486 (cd $(HOST_SUBDIR)/uudecode && \
27487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27489 "RANLIB=$${RANLIB}" \
27490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27491 maintainer-clean) \
27492 || exit 1
27494 @endif uudecode
27498 .PHONY: configure-wdiff maybe-configure-wdiff
27499 maybe-configure-wdiff:
27500 @if gcc-bootstrap
27501 configure-wdiff: stage_current
27502 @endif gcc-bootstrap
27503 @if wdiff
27504 maybe-configure-wdiff: configure-wdiff
27505 configure-wdiff:
27506 @: $(MAKE); $(unstage)
27507 @r=`${PWD_COMMAND}`; export r; \
27508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27509 test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
27510 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
27511 $(HOST_EXPORTS) \
27512 echo Configuring in $(HOST_SUBDIR)/wdiff; \
27513 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
27514 case $(srcdir) in \
27515 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27516 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
27517 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27518 esac; \
27519 srcdiroption="--srcdir=$${topdir}/wdiff"; \
27520 libsrcdir="$$s/wdiff"; \
27521 $(SHELL) $${libsrcdir}/configure \
27522 $(HOST_CONFIGARGS) $${srcdiroption} \
27523 || exit 1
27524 @endif wdiff
27530 .PHONY: all-wdiff maybe-all-wdiff
27531 maybe-all-wdiff:
27532 @if gcc-bootstrap
27533 all-wdiff: stage_current
27534 @endif gcc-bootstrap
27535 @if wdiff
27536 TARGET-wdiff=all
27537 maybe-all-wdiff: all-wdiff
27538 all-wdiff: configure-wdiff
27539 @: $(MAKE); $(unstage)
27540 @r=`${PWD_COMMAND}`; export r; \
27541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27542 $(HOST_EXPORTS) \
27543 (cd $(HOST_SUBDIR)/wdiff && \
27544 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
27545 @endif wdiff
27550 .PHONY: check-wdiff maybe-check-wdiff
27551 maybe-check-wdiff:
27552 @if wdiff
27553 maybe-check-wdiff: check-wdiff
27555 check-wdiff:
27556 @: $(MAKE); $(unstage)
27557 @r=`${PWD_COMMAND}`; export r; \
27558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27559 $(HOST_EXPORTS) \
27560 (cd $(HOST_SUBDIR)/wdiff && \
27561 $(MAKE) $(FLAGS_TO_PASS) check)
27563 @endif wdiff
27565 .PHONY: install-wdiff maybe-install-wdiff
27566 maybe-install-wdiff:
27567 @if wdiff
27568 maybe-install-wdiff: install-wdiff
27570 install-wdiff: installdirs
27571 @: $(MAKE); $(unstage)
27572 @r=`${PWD_COMMAND}`; export r; \
27573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27574 $(HOST_EXPORTS) \
27575 (cd $(HOST_SUBDIR)/wdiff && \
27576 $(MAKE) $(FLAGS_TO_PASS) install)
27578 @endif wdiff
27580 # Other targets (info, dvi, etc.)
27582 .PHONY: maybe-info-wdiff info-wdiff
27583 maybe-info-wdiff:
27584 @if wdiff
27585 maybe-info-wdiff: info-wdiff
27587 info-wdiff: \
27588 configure-wdiff
27589 @: $(MAKE); $(unstage)
27590 @[ -f ./wdiff/Makefile ] || exit 0; \
27591 r=`${PWD_COMMAND}`; export r; \
27592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27593 $(HOST_EXPORTS) \
27594 for flag in $(EXTRA_HOST_FLAGS) ; do \
27595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27596 done; \
27597 echo "Doing info in wdiff" ; \
27598 (cd $(HOST_SUBDIR)/wdiff && \
27599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27601 "RANLIB=$${RANLIB}" \
27602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27603 info) \
27604 || exit 1
27606 @endif wdiff
27608 .PHONY: maybe-dvi-wdiff dvi-wdiff
27609 maybe-dvi-wdiff:
27610 @if wdiff
27611 maybe-dvi-wdiff: dvi-wdiff
27613 dvi-wdiff: \
27614 configure-wdiff
27615 @: $(MAKE); $(unstage)
27616 @[ -f ./wdiff/Makefile ] || exit 0; \
27617 r=`${PWD_COMMAND}`; export r; \
27618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27619 $(HOST_EXPORTS) \
27620 for flag in $(EXTRA_HOST_FLAGS) ; do \
27621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27622 done; \
27623 echo "Doing dvi in wdiff" ; \
27624 (cd $(HOST_SUBDIR)/wdiff && \
27625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27627 "RANLIB=$${RANLIB}" \
27628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27629 dvi) \
27630 || exit 1
27632 @endif wdiff
27634 .PHONY: maybe-html-wdiff html-wdiff
27635 maybe-html-wdiff:
27636 @if wdiff
27637 maybe-html-wdiff: html-wdiff
27639 html-wdiff: \
27640 configure-wdiff
27641 @: $(MAKE); $(unstage)
27642 @[ -f ./wdiff/Makefile ] || exit 0; \
27643 r=`${PWD_COMMAND}`; export r; \
27644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27645 $(HOST_EXPORTS) \
27646 for flag in $(EXTRA_HOST_FLAGS) ; do \
27647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27648 done; \
27649 echo "Doing html in wdiff" ; \
27650 (cd $(HOST_SUBDIR)/wdiff && \
27651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27653 "RANLIB=$${RANLIB}" \
27654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27655 html) \
27656 || exit 1
27658 @endif wdiff
27660 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
27661 maybe-TAGS-wdiff:
27662 @if wdiff
27663 maybe-TAGS-wdiff: TAGS-wdiff
27665 TAGS-wdiff: \
27666 configure-wdiff
27667 @: $(MAKE); $(unstage)
27668 @[ -f ./wdiff/Makefile ] || exit 0; \
27669 r=`${PWD_COMMAND}`; export r; \
27670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27671 $(HOST_EXPORTS) \
27672 for flag in $(EXTRA_HOST_FLAGS) ; do \
27673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27674 done; \
27675 echo "Doing TAGS in wdiff" ; \
27676 (cd $(HOST_SUBDIR)/wdiff && \
27677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27679 "RANLIB=$${RANLIB}" \
27680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27681 TAGS) \
27682 || exit 1
27684 @endif wdiff
27686 .PHONY: maybe-install-info-wdiff install-info-wdiff
27687 maybe-install-info-wdiff:
27688 @if wdiff
27689 maybe-install-info-wdiff: install-info-wdiff
27691 install-info-wdiff: \
27692 configure-wdiff \
27693 info-wdiff
27694 @: $(MAKE); $(unstage)
27695 @[ -f ./wdiff/Makefile ] || exit 0; \
27696 r=`${PWD_COMMAND}`; export r; \
27697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27698 $(HOST_EXPORTS) \
27699 for flag in $(EXTRA_HOST_FLAGS) ; do \
27700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27701 done; \
27702 echo "Doing install-info in wdiff" ; \
27703 (cd $(HOST_SUBDIR)/wdiff && \
27704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27706 "RANLIB=$${RANLIB}" \
27707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27708 install-info) \
27709 || exit 1
27711 @endif wdiff
27713 .PHONY: maybe-install-html-wdiff install-html-wdiff
27714 maybe-install-html-wdiff:
27715 @if wdiff
27716 maybe-install-html-wdiff: install-html-wdiff
27718 install-html-wdiff: \
27719 configure-wdiff \
27720 html-wdiff
27721 @: $(MAKE); $(unstage)
27722 @[ -f ./wdiff/Makefile ] || exit 0; \
27723 r=`${PWD_COMMAND}`; export r; \
27724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27725 $(HOST_EXPORTS) \
27726 for flag in $(EXTRA_HOST_FLAGS) ; do \
27727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27728 done; \
27729 echo "Doing install-html in wdiff" ; \
27730 (cd $(HOST_SUBDIR)/wdiff && \
27731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27733 "RANLIB=$${RANLIB}" \
27734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27735 install-html) \
27736 || exit 1
27738 @endif wdiff
27740 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
27741 maybe-installcheck-wdiff:
27742 @if wdiff
27743 maybe-installcheck-wdiff: installcheck-wdiff
27745 installcheck-wdiff: \
27746 configure-wdiff
27747 @: $(MAKE); $(unstage)
27748 @[ -f ./wdiff/Makefile ] || exit 0; \
27749 r=`${PWD_COMMAND}`; export r; \
27750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27751 $(HOST_EXPORTS) \
27752 for flag in $(EXTRA_HOST_FLAGS) ; do \
27753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27754 done; \
27755 echo "Doing installcheck in wdiff" ; \
27756 (cd $(HOST_SUBDIR)/wdiff && \
27757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27759 "RANLIB=$${RANLIB}" \
27760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27761 installcheck) \
27762 || exit 1
27764 @endif wdiff
27766 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
27767 maybe-mostlyclean-wdiff:
27768 @if wdiff
27769 maybe-mostlyclean-wdiff: mostlyclean-wdiff
27771 mostlyclean-wdiff:
27772 @: $(MAKE); $(unstage)
27773 @[ -f ./wdiff/Makefile ] || exit 0; \
27774 r=`${PWD_COMMAND}`; export r; \
27775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27776 $(HOST_EXPORTS) \
27777 for flag in $(EXTRA_HOST_FLAGS) ; do \
27778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27779 done; \
27780 echo "Doing mostlyclean in wdiff" ; \
27781 (cd $(HOST_SUBDIR)/wdiff && \
27782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27784 "RANLIB=$${RANLIB}" \
27785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27786 mostlyclean) \
27787 || exit 1
27789 @endif wdiff
27791 .PHONY: maybe-clean-wdiff clean-wdiff
27792 maybe-clean-wdiff:
27793 @if wdiff
27794 maybe-clean-wdiff: clean-wdiff
27796 clean-wdiff:
27797 @: $(MAKE); $(unstage)
27798 @[ -f ./wdiff/Makefile ] || exit 0; \
27799 r=`${PWD_COMMAND}`; export r; \
27800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27801 $(HOST_EXPORTS) \
27802 for flag in $(EXTRA_HOST_FLAGS) ; do \
27803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27804 done; \
27805 echo "Doing clean in wdiff" ; \
27806 (cd $(HOST_SUBDIR)/wdiff && \
27807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27809 "RANLIB=$${RANLIB}" \
27810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27811 clean) \
27812 || exit 1
27814 @endif wdiff
27816 .PHONY: maybe-distclean-wdiff distclean-wdiff
27817 maybe-distclean-wdiff:
27818 @if wdiff
27819 maybe-distclean-wdiff: distclean-wdiff
27821 distclean-wdiff:
27822 @: $(MAKE); $(unstage)
27823 @[ -f ./wdiff/Makefile ] || exit 0; \
27824 r=`${PWD_COMMAND}`; export r; \
27825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27826 $(HOST_EXPORTS) \
27827 for flag in $(EXTRA_HOST_FLAGS) ; do \
27828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27829 done; \
27830 echo "Doing distclean in wdiff" ; \
27831 (cd $(HOST_SUBDIR)/wdiff && \
27832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27834 "RANLIB=$${RANLIB}" \
27835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27836 distclean) \
27837 || exit 1
27839 @endif wdiff
27841 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
27842 maybe-maintainer-clean-wdiff:
27843 @if wdiff
27844 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
27846 maintainer-clean-wdiff:
27847 @: $(MAKE); $(unstage)
27848 @[ -f ./wdiff/Makefile ] || exit 0; \
27849 r=`${PWD_COMMAND}`; export r; \
27850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27851 $(HOST_EXPORTS) \
27852 for flag in $(EXTRA_HOST_FLAGS) ; do \
27853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27854 done; \
27855 echo "Doing maintainer-clean in wdiff" ; \
27856 (cd $(HOST_SUBDIR)/wdiff && \
27857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27859 "RANLIB=$${RANLIB}" \
27860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27861 maintainer-clean) \
27862 || exit 1
27864 @endif wdiff
27868 .PHONY: configure-zip maybe-configure-zip
27869 maybe-configure-zip:
27870 @if gcc-bootstrap
27871 configure-zip: stage_current
27872 @endif gcc-bootstrap
27873 @if zip
27874 maybe-configure-zip: configure-zip
27875 configure-zip:
27876 @: $(MAKE); $(unstage)
27877 @r=`${PWD_COMMAND}`; export r; \
27878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27879 test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
27880 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
27881 $(HOST_EXPORTS) \
27882 echo Configuring in $(HOST_SUBDIR)/zip; \
27883 cd "$(HOST_SUBDIR)/zip" || exit 1; \
27884 case $(srcdir) in \
27885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27886 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
27887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27888 esac; \
27889 srcdiroption="--srcdir=$${topdir}/zip"; \
27890 libsrcdir="$$s/zip"; \
27891 $(SHELL) $${libsrcdir}/configure \
27892 $(HOST_CONFIGARGS) $${srcdiroption} \
27893 || exit 1
27894 @endif zip
27900 .PHONY: all-zip maybe-all-zip
27901 maybe-all-zip:
27902 @if gcc-bootstrap
27903 all-zip: stage_current
27904 @endif gcc-bootstrap
27905 @if zip
27906 TARGET-zip=all
27907 maybe-all-zip: all-zip
27908 all-zip: configure-zip
27909 @: $(MAKE); $(unstage)
27910 @r=`${PWD_COMMAND}`; export r; \
27911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27912 $(HOST_EXPORTS) \
27913 (cd $(HOST_SUBDIR)/zip && \
27914 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
27915 @endif zip
27920 .PHONY: check-zip maybe-check-zip
27921 maybe-check-zip:
27922 @if zip
27923 maybe-check-zip: check-zip
27925 # This module is only tested in a native toolchain.
27926 check-zip:
27927 @: $(MAKE); $(unstage)
27928 @if [ '$(host)' = '$(target)' ] ; then \
27929 r=`${PWD_COMMAND}`; export r; \
27930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27931 $(HOST_EXPORTS) \
27932 (cd $(HOST_SUBDIR)/zip && \
27933 $(MAKE) $(FLAGS_TO_PASS) check); \
27936 @endif zip
27938 .PHONY: install-zip maybe-install-zip
27939 maybe-install-zip:
27940 @if zip
27941 maybe-install-zip: install-zip
27943 install-zip: installdirs
27944 @: $(MAKE); $(unstage)
27945 @r=`${PWD_COMMAND}`; export r; \
27946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27947 $(HOST_EXPORTS) \
27948 (cd $(HOST_SUBDIR)/zip && \
27949 $(MAKE) $(FLAGS_TO_PASS) install)
27951 @endif zip
27953 # Other targets (info, dvi, etc.)
27955 .PHONY: maybe-info-zip info-zip
27956 maybe-info-zip:
27957 @if zip
27958 maybe-info-zip: info-zip
27960 info-zip: \
27961 configure-zip
27962 @: $(MAKE); $(unstage)
27963 @[ -f ./zip/Makefile ] || exit 0; \
27964 r=`${PWD_COMMAND}`; export r; \
27965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27966 $(HOST_EXPORTS) \
27967 for flag in $(EXTRA_HOST_FLAGS) ; do \
27968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27969 done; \
27970 echo "Doing info in zip" ; \
27971 (cd $(HOST_SUBDIR)/zip && \
27972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27974 "RANLIB=$${RANLIB}" \
27975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27976 info) \
27977 || exit 1
27979 @endif zip
27981 .PHONY: maybe-dvi-zip dvi-zip
27982 maybe-dvi-zip:
27983 @if zip
27984 maybe-dvi-zip: dvi-zip
27986 dvi-zip: \
27987 configure-zip
27988 @: $(MAKE); $(unstage)
27989 @[ -f ./zip/Makefile ] || exit 0; \
27990 r=`${PWD_COMMAND}`; export r; \
27991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27992 $(HOST_EXPORTS) \
27993 for flag in $(EXTRA_HOST_FLAGS) ; do \
27994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27995 done; \
27996 echo "Doing dvi in zip" ; \
27997 (cd $(HOST_SUBDIR)/zip && \
27998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28000 "RANLIB=$${RANLIB}" \
28001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28002 dvi) \
28003 || exit 1
28005 @endif zip
28007 .PHONY: maybe-html-zip html-zip
28008 maybe-html-zip:
28009 @if zip
28010 maybe-html-zip: html-zip
28012 html-zip: \
28013 configure-zip
28014 @: $(MAKE); $(unstage)
28015 @[ -f ./zip/Makefile ] || exit 0; \
28016 r=`${PWD_COMMAND}`; export r; \
28017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28018 $(HOST_EXPORTS) \
28019 for flag in $(EXTRA_HOST_FLAGS) ; do \
28020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28021 done; \
28022 echo "Doing html in zip" ; \
28023 (cd $(HOST_SUBDIR)/zip && \
28024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28026 "RANLIB=$${RANLIB}" \
28027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28028 html) \
28029 || exit 1
28031 @endif zip
28033 .PHONY: maybe-TAGS-zip TAGS-zip
28034 maybe-TAGS-zip:
28035 @if zip
28036 maybe-TAGS-zip: TAGS-zip
28038 TAGS-zip: \
28039 configure-zip
28040 @: $(MAKE); $(unstage)
28041 @[ -f ./zip/Makefile ] || exit 0; \
28042 r=`${PWD_COMMAND}`; export r; \
28043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28044 $(HOST_EXPORTS) \
28045 for flag in $(EXTRA_HOST_FLAGS) ; do \
28046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28047 done; \
28048 echo "Doing TAGS in zip" ; \
28049 (cd $(HOST_SUBDIR)/zip && \
28050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28052 "RANLIB=$${RANLIB}" \
28053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28054 TAGS) \
28055 || exit 1
28057 @endif zip
28059 .PHONY: maybe-install-info-zip install-info-zip
28060 maybe-install-info-zip:
28061 @if zip
28062 maybe-install-info-zip: install-info-zip
28064 install-info-zip: \
28065 configure-zip \
28066 info-zip
28067 @: $(MAKE); $(unstage)
28068 @[ -f ./zip/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 install-info in zip" ; \
28076 (cd $(HOST_SUBDIR)/zip && \
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 install-info) \
28082 || exit 1
28084 @endif zip
28086 .PHONY: maybe-install-html-zip install-html-zip
28087 maybe-install-html-zip:
28088 @if zip
28089 maybe-install-html-zip: install-html-zip
28091 install-html-zip: \
28092 configure-zip \
28093 html-zip
28094 @: $(MAKE); $(unstage)
28095 @[ -f ./zip/Makefile ] || exit 0; \
28096 r=`${PWD_COMMAND}`; export r; \
28097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28098 $(HOST_EXPORTS) \
28099 for flag in $(EXTRA_HOST_FLAGS) ; do \
28100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28101 done; \
28102 echo "Doing install-html in zip" ; \
28103 (cd $(HOST_SUBDIR)/zip && \
28104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28106 "RANLIB=$${RANLIB}" \
28107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28108 install-html) \
28109 || exit 1
28111 @endif zip
28113 .PHONY: maybe-installcheck-zip installcheck-zip
28114 maybe-installcheck-zip:
28115 @if zip
28116 maybe-installcheck-zip: installcheck-zip
28118 installcheck-zip: \
28119 configure-zip
28120 @: $(MAKE); $(unstage)
28121 @[ -f ./zip/Makefile ] || exit 0; \
28122 r=`${PWD_COMMAND}`; export r; \
28123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28124 $(HOST_EXPORTS) \
28125 for flag in $(EXTRA_HOST_FLAGS) ; do \
28126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28127 done; \
28128 echo "Doing installcheck in zip" ; \
28129 (cd $(HOST_SUBDIR)/zip && \
28130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28132 "RANLIB=$${RANLIB}" \
28133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28134 installcheck) \
28135 || exit 1
28137 @endif zip
28139 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
28140 maybe-mostlyclean-zip:
28141 @if zip
28142 maybe-mostlyclean-zip: mostlyclean-zip
28144 mostlyclean-zip:
28145 @: $(MAKE); $(unstage)
28146 @[ -f ./zip/Makefile ] || exit 0; \
28147 r=`${PWD_COMMAND}`; export r; \
28148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28149 $(HOST_EXPORTS) \
28150 for flag in $(EXTRA_HOST_FLAGS) ; do \
28151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28152 done; \
28153 echo "Doing mostlyclean in zip" ; \
28154 (cd $(HOST_SUBDIR)/zip && \
28155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28157 "RANLIB=$${RANLIB}" \
28158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28159 mostlyclean) \
28160 || exit 1
28162 @endif zip
28164 .PHONY: maybe-clean-zip clean-zip
28165 maybe-clean-zip:
28166 @if zip
28167 maybe-clean-zip: clean-zip
28169 clean-zip:
28170 @: $(MAKE); $(unstage)
28171 @[ -f ./zip/Makefile ] || exit 0; \
28172 r=`${PWD_COMMAND}`; export r; \
28173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28174 $(HOST_EXPORTS) \
28175 for flag in $(EXTRA_HOST_FLAGS) ; do \
28176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28177 done; \
28178 echo "Doing clean in zip" ; \
28179 (cd $(HOST_SUBDIR)/zip && \
28180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28182 "RANLIB=$${RANLIB}" \
28183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28184 clean) \
28185 || exit 1
28187 @endif zip
28189 .PHONY: maybe-distclean-zip distclean-zip
28190 maybe-distclean-zip:
28191 @if zip
28192 maybe-distclean-zip: distclean-zip
28194 distclean-zip:
28195 @: $(MAKE); $(unstage)
28196 @[ -f ./zip/Makefile ] || exit 0; \
28197 r=`${PWD_COMMAND}`; export r; \
28198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28199 $(HOST_EXPORTS) \
28200 for flag in $(EXTRA_HOST_FLAGS) ; do \
28201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28202 done; \
28203 echo "Doing distclean in zip" ; \
28204 (cd $(HOST_SUBDIR)/zip && \
28205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28207 "RANLIB=$${RANLIB}" \
28208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28209 distclean) \
28210 || exit 1
28212 @endif zip
28214 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
28215 maybe-maintainer-clean-zip:
28216 @if zip
28217 maybe-maintainer-clean-zip: maintainer-clean-zip
28219 maintainer-clean-zip:
28220 @: $(MAKE); $(unstage)
28221 @[ -f ./zip/Makefile ] || exit 0; \
28222 r=`${PWD_COMMAND}`; export r; \
28223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28224 $(HOST_EXPORTS) \
28225 for flag in $(EXTRA_HOST_FLAGS) ; do \
28226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28227 done; \
28228 echo "Doing maintainer-clean in zip" ; \
28229 (cd $(HOST_SUBDIR)/zip && \
28230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28232 "RANLIB=$${RANLIB}" \
28233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28234 maintainer-clean) \
28235 || exit 1
28237 @endif zip
28241 .PHONY: configure-zlib maybe-configure-zlib
28242 maybe-configure-zlib:
28243 @if gcc-bootstrap
28244 configure-zlib: stage_current
28245 @endif gcc-bootstrap
28246 @if zlib
28247 maybe-configure-zlib: configure-zlib
28248 configure-zlib:
28249 @r=`${PWD_COMMAND}`; export r; \
28250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28251 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
28252 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
28253 $(HOST_EXPORTS) \
28254 echo Configuring in $(HOST_SUBDIR)/zlib; \
28255 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
28256 case $(srcdir) in \
28257 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28258 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
28259 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28260 esac; \
28261 srcdiroption="--srcdir=$${topdir}/zlib"; \
28262 libsrcdir="$$s/zlib"; \
28263 $(SHELL) $${libsrcdir}/configure \
28264 $(HOST_CONFIGARGS) $${srcdiroption} \
28265 || exit 1
28266 @endif zlib
28270 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
28271 maybe-configure-stage1-zlib:
28272 @if zlib-bootstrap
28273 maybe-configure-stage1-zlib: configure-stage1-zlib
28274 configure-stage1-zlib:
28275 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28276 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
28277 @r=`${PWD_COMMAND}`; export r; \
28278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28279 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
28280 $(HOST_EXPORTS) \
28281 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
28282 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
28283 cd $(HOST_SUBDIR)/zlib || exit 1; \
28284 case $(srcdir) in \
28285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28286 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
28287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28288 esac; \
28289 srcdiroption="--srcdir=$${topdir}/zlib"; \
28290 libsrcdir="$$s/zlib"; \
28291 $(SHELL) $${libsrcdir}/configure \
28292 $(HOST_CONFIGARGS) $${srcdiroption} \
28294 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28295 @endif zlib-bootstrap
28297 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
28298 maybe-configure-stage2-zlib:
28299 @if zlib-bootstrap
28300 maybe-configure-stage2-zlib: configure-stage2-zlib
28301 configure-stage2-zlib:
28302 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28303 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
28304 @r=`${PWD_COMMAND}`; export r; \
28305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28306 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
28307 $(HOST_EXPORTS) \
28308 $(POSTSTAGE1_HOST_EXPORTS) \
28309 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
28310 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
28311 cd $(HOST_SUBDIR)/zlib || exit 1; \
28312 case $(srcdir) in \
28313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28314 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
28315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28316 esac; \
28317 srcdiroption="--srcdir=$${topdir}/zlib"; \
28318 libsrcdir="$$s/zlib"; \
28319 $(SHELL) $${libsrcdir}/configure \
28320 $(HOST_CONFIGARGS) $${srcdiroption} \
28321 --with-build-libsubdir=$(HOST_SUBDIR) \
28322 @stage2_werror_flag@
28323 @endif zlib-bootstrap
28325 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
28326 maybe-configure-stage3-zlib:
28327 @if zlib-bootstrap
28328 maybe-configure-stage3-zlib: configure-stage3-zlib
28329 configure-stage3-zlib:
28330 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28331 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
28332 @r=`${PWD_COMMAND}`; export r; \
28333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28334 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
28335 $(HOST_EXPORTS) \
28336 $(POSTSTAGE1_HOST_EXPORTS) \
28337 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
28338 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
28339 cd $(HOST_SUBDIR)/zlib || exit 1; \
28340 case $(srcdir) in \
28341 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28342 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
28343 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28344 esac; \
28345 srcdiroption="--srcdir=$${topdir}/zlib"; \
28346 libsrcdir="$$s/zlib"; \
28347 $(SHELL) $${libsrcdir}/configure \
28348 $(HOST_CONFIGARGS) $${srcdiroption} \
28349 --with-build-libsubdir=$(HOST_SUBDIR) \
28350 @stage2_werror_flag@
28351 @endif zlib-bootstrap
28353 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
28354 maybe-configure-stage4-zlib:
28355 @if zlib-bootstrap
28356 maybe-configure-stage4-zlib: configure-stage4-zlib
28357 configure-stage4-zlib:
28358 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28359 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
28360 @r=`${PWD_COMMAND}`; export r; \
28361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28362 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
28363 $(HOST_EXPORTS) \
28364 $(POSTSTAGE1_HOST_EXPORTS) \
28365 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
28366 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
28367 cd $(HOST_SUBDIR)/zlib || exit 1; \
28368 case $(srcdir) in \
28369 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28370 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
28371 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28372 esac; \
28373 srcdiroption="--srcdir=$${topdir}/zlib"; \
28374 libsrcdir="$$s/zlib"; \
28375 $(SHELL) $${libsrcdir}/configure \
28376 $(HOST_CONFIGARGS) $${srcdiroption} \
28377 --with-build-libsubdir=$(HOST_SUBDIR) \
28378 @stage2_werror_flag@
28379 @endif zlib-bootstrap
28381 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
28382 maybe-configure-stageprofile-zlib:
28383 @if zlib-bootstrap
28384 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
28385 configure-stageprofile-zlib:
28386 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28387 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
28388 @r=`${PWD_COMMAND}`; export r; \
28389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28390 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
28391 $(HOST_EXPORTS) \
28392 $(POSTSTAGE1_HOST_EXPORTS) \
28393 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
28394 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
28395 cd $(HOST_SUBDIR)/zlib || exit 1; \
28396 case $(srcdir) in \
28397 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28398 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
28399 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28400 esac; \
28401 srcdiroption="--srcdir=$${topdir}/zlib"; \
28402 libsrcdir="$$s/zlib"; \
28403 $(SHELL) $${libsrcdir}/configure \
28404 $(HOST_CONFIGARGS) $${srcdiroption} \
28405 --with-build-libsubdir=$(HOST_SUBDIR) \
28406 @stage2_werror_flag@
28407 @endif zlib-bootstrap
28409 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
28410 maybe-configure-stagefeedback-zlib:
28411 @if zlib-bootstrap
28412 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
28413 configure-stagefeedback-zlib:
28414 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28415 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
28416 @r=`${PWD_COMMAND}`; export r; \
28417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28418 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
28419 $(HOST_EXPORTS) \
28420 $(POSTSTAGE1_HOST_EXPORTS) \
28421 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
28422 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
28423 cd $(HOST_SUBDIR)/zlib || exit 1; \
28424 case $(srcdir) in \
28425 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28426 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
28427 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28428 esac; \
28429 srcdiroption="--srcdir=$${topdir}/zlib"; \
28430 libsrcdir="$$s/zlib"; \
28431 $(SHELL) $${libsrcdir}/configure \
28432 $(HOST_CONFIGARGS) $${srcdiroption} \
28433 --with-build-libsubdir=$(HOST_SUBDIR) \
28434 @stage2_werror_flag@
28435 @endif zlib-bootstrap
28441 .PHONY: all-zlib maybe-all-zlib
28442 maybe-all-zlib:
28443 @if gcc-bootstrap
28444 all-zlib: stage_current
28445 @endif gcc-bootstrap
28446 @if zlib
28447 TARGET-zlib=all
28448 maybe-all-zlib: all-zlib
28449 all-zlib: configure-zlib
28450 @r=`${PWD_COMMAND}`; export r; \
28451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28452 $(HOST_EXPORTS) \
28453 (cd $(HOST_SUBDIR)/zlib && \
28454 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
28455 @endif zlib
28459 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
28460 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
28461 maybe-all-stage1-zlib:
28462 maybe-clean-stage1-zlib:
28463 @if zlib-bootstrap
28464 maybe-all-stage1-zlib: all-stage1-zlib
28465 all-stage1: all-stage1-zlib
28466 TARGET-stage1-zlib = $(TARGET-zlib)
28467 all-stage1-zlib: configure-stage1-zlib
28468 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28469 @r=`${PWD_COMMAND}`; export r; \
28470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28471 $(HOST_EXPORTS) \
28472 cd $(HOST_SUBDIR)/zlib && \
28473 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
28474 $(TARGET-stage1-zlib)
28476 maybe-clean-stage1-zlib: clean-stage1-zlib
28477 clean-stage1: clean-stage1-zlib
28478 clean-stage1-zlib:
28479 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] \
28480 || exit 0 ; \
28481 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
28482 cd $(HOST_SUBDIR)/zlib && \
28483 $(MAKE) $(FLAGS_TO_PASS) \
28484 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
28485 @endif zlib-bootstrap
28488 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
28489 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
28490 maybe-all-stage2-zlib:
28491 maybe-clean-stage2-zlib:
28492 @if zlib-bootstrap
28493 maybe-all-stage2-zlib: all-stage2-zlib
28494 all-stage2: all-stage2-zlib
28495 TARGET-stage2-zlib = $(TARGET-zlib)
28496 all-stage2-zlib: configure-stage2-zlib
28497 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28498 @r=`${PWD_COMMAND}`; export r; \
28499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28500 $(HOST_EXPORTS) \
28501 $(POSTSTAGE1_HOST_EXPORTS) \
28502 cd $(HOST_SUBDIR)/zlib && \
28503 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28504 $(TARGET-stage2-zlib)
28506 maybe-clean-stage2-zlib: clean-stage2-zlib
28507 clean-stage2: clean-stage2-zlib
28508 clean-stage2-zlib:
28509 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] \
28510 || exit 0 ; \
28511 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
28512 cd $(HOST_SUBDIR)/zlib && \
28513 $(MAKE) $(FLAGS_TO_PASS) \
28514 $(POSTSTAGE1_FLAGS_TO_PASS) \
28515 clean
28516 @endif zlib-bootstrap
28519 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
28520 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
28521 maybe-all-stage3-zlib:
28522 maybe-clean-stage3-zlib:
28523 @if zlib-bootstrap
28524 maybe-all-stage3-zlib: all-stage3-zlib
28525 all-stage3: all-stage3-zlib
28526 TARGET-stage3-zlib = $(TARGET-zlib)
28527 all-stage3-zlib: configure-stage3-zlib
28528 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28529 @r=`${PWD_COMMAND}`; export r; \
28530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28531 $(HOST_EXPORTS) \
28532 $(POSTSTAGE1_HOST_EXPORTS) \
28533 cd $(HOST_SUBDIR)/zlib && \
28534 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28535 $(TARGET-stage3-zlib)
28537 maybe-clean-stage3-zlib: clean-stage3-zlib
28538 clean-stage3: clean-stage3-zlib
28539 clean-stage3-zlib:
28540 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] \
28541 || exit 0 ; \
28542 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
28543 cd $(HOST_SUBDIR)/zlib && \
28544 $(MAKE) $(FLAGS_TO_PASS) \
28545 $(POSTSTAGE1_FLAGS_TO_PASS) \
28546 clean
28547 @endif zlib-bootstrap
28550 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
28551 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
28552 maybe-all-stage4-zlib:
28553 maybe-clean-stage4-zlib:
28554 @if zlib-bootstrap
28555 maybe-all-stage4-zlib: all-stage4-zlib
28556 all-stage4: all-stage4-zlib
28557 TARGET-stage4-zlib = $(TARGET-zlib)
28558 all-stage4-zlib: configure-stage4-zlib
28559 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28560 @r=`${PWD_COMMAND}`; export r; \
28561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28562 $(HOST_EXPORTS) \
28563 $(POSTSTAGE1_HOST_EXPORTS) \
28564 cd $(HOST_SUBDIR)/zlib && \
28565 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28566 $(TARGET-stage4-zlib)
28568 maybe-clean-stage4-zlib: clean-stage4-zlib
28569 clean-stage4: clean-stage4-zlib
28570 clean-stage4-zlib:
28571 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] \
28572 || exit 0 ; \
28573 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
28574 cd $(HOST_SUBDIR)/zlib && \
28575 $(MAKE) $(FLAGS_TO_PASS) \
28576 $(POSTSTAGE1_FLAGS_TO_PASS) \
28577 clean
28578 @endif zlib-bootstrap
28581 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
28582 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
28583 maybe-all-stageprofile-zlib:
28584 maybe-clean-stageprofile-zlib:
28585 @if zlib-bootstrap
28586 maybe-all-stageprofile-zlib: all-stageprofile-zlib
28587 all-stageprofile: all-stageprofile-zlib
28588 TARGET-stageprofile-zlib = $(TARGET-zlib)
28589 all-stageprofile-zlib: configure-stageprofile-zlib
28590 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28591 @r=`${PWD_COMMAND}`; export r; \
28592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28593 $(HOST_EXPORTS) \
28594 $(POSTSTAGE1_HOST_EXPORTS) \
28595 cd $(HOST_SUBDIR)/zlib && \
28596 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
28597 $(TARGET-stageprofile-zlib)
28599 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
28600 clean-stageprofile: clean-stageprofile-zlib
28601 clean-stageprofile-zlib:
28602 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] \
28603 || exit 0 ; \
28604 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
28605 cd $(HOST_SUBDIR)/zlib && \
28606 $(MAKE) $(FLAGS_TO_PASS) \
28607 $(POSTSTAGE1_FLAGS_TO_PASS) \
28608 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
28609 @endif zlib-bootstrap
28612 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
28613 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
28614 maybe-all-stagefeedback-zlib:
28615 maybe-clean-stagefeedback-zlib:
28616 @if zlib-bootstrap
28617 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
28618 all-stagefeedback: all-stagefeedback-zlib
28619 TARGET-stagefeedback-zlib = $(TARGET-zlib)
28620 all-stagefeedback-zlib: configure-stagefeedback-zlib
28621 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28622 @r=`${PWD_COMMAND}`; export r; \
28623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28624 $(HOST_EXPORTS) \
28625 $(POSTSTAGE1_HOST_EXPORTS) \
28626 cd $(HOST_SUBDIR)/zlib && \
28627 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
28628 $(TARGET-stagefeedback-zlib)
28630 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
28631 clean-stagefeedback: clean-stagefeedback-zlib
28632 clean-stagefeedback-zlib:
28633 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] \
28634 || exit 0 ; \
28635 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
28636 cd $(HOST_SUBDIR)/zlib && \
28637 $(MAKE) $(FLAGS_TO_PASS) \
28638 $(POSTSTAGE1_FLAGS_TO_PASS) \
28639 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
28640 @endif zlib-bootstrap
28646 .PHONY: check-zlib maybe-check-zlib
28647 maybe-check-zlib:
28648 @if zlib
28649 maybe-check-zlib: check-zlib
28651 check-zlib:
28653 @endif zlib
28655 .PHONY: install-zlib maybe-install-zlib
28656 maybe-install-zlib:
28657 @if zlib
28658 maybe-install-zlib: install-zlib
28660 install-zlib:
28662 @endif zlib
28664 # Other targets (info, dvi, etc.)
28666 .PHONY: maybe-info-zlib info-zlib
28667 maybe-info-zlib:
28668 @if zlib
28669 maybe-info-zlib: info-zlib
28671 info-zlib: \
28672 configure-zlib
28673 @[ -f ./zlib/Makefile ] || exit 0; \
28674 r=`${PWD_COMMAND}`; export r; \
28675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28676 $(HOST_EXPORTS) \
28677 for flag in $(EXTRA_HOST_FLAGS) ; do \
28678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28679 done; \
28680 echo "Doing info in zlib" ; \
28681 (cd $(HOST_SUBDIR)/zlib && \
28682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28684 "RANLIB=$${RANLIB}" \
28685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28686 info) \
28687 || exit 1
28689 @endif zlib
28691 .PHONY: maybe-dvi-zlib dvi-zlib
28692 maybe-dvi-zlib:
28693 @if zlib
28694 maybe-dvi-zlib: dvi-zlib
28696 dvi-zlib: \
28697 configure-zlib
28698 @[ -f ./zlib/Makefile ] || exit 0; \
28699 r=`${PWD_COMMAND}`; export r; \
28700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28701 $(HOST_EXPORTS) \
28702 for flag in $(EXTRA_HOST_FLAGS) ; do \
28703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28704 done; \
28705 echo "Doing dvi in zlib" ; \
28706 (cd $(HOST_SUBDIR)/zlib && \
28707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28709 "RANLIB=$${RANLIB}" \
28710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28711 dvi) \
28712 || exit 1
28714 @endif zlib
28716 .PHONY: maybe-html-zlib html-zlib
28717 maybe-html-zlib:
28718 @if zlib
28719 maybe-html-zlib: html-zlib
28721 html-zlib: \
28722 configure-zlib
28723 @[ -f ./zlib/Makefile ] || exit 0; \
28724 r=`${PWD_COMMAND}`; export r; \
28725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28726 $(HOST_EXPORTS) \
28727 for flag in $(EXTRA_HOST_FLAGS) ; do \
28728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28729 done; \
28730 echo "Doing html in zlib" ; \
28731 (cd $(HOST_SUBDIR)/zlib && \
28732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28734 "RANLIB=$${RANLIB}" \
28735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28736 html) \
28737 || exit 1
28739 @endif zlib
28741 .PHONY: maybe-TAGS-zlib TAGS-zlib
28742 maybe-TAGS-zlib:
28743 @if zlib
28744 maybe-TAGS-zlib: TAGS-zlib
28746 TAGS-zlib: \
28747 configure-zlib
28748 @[ -f ./zlib/Makefile ] || exit 0; \
28749 r=`${PWD_COMMAND}`; export r; \
28750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28751 $(HOST_EXPORTS) \
28752 for flag in $(EXTRA_HOST_FLAGS) ; do \
28753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28754 done; \
28755 echo "Doing TAGS in zlib" ; \
28756 (cd $(HOST_SUBDIR)/zlib && \
28757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28759 "RANLIB=$${RANLIB}" \
28760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28761 TAGS) \
28762 || exit 1
28764 @endif zlib
28766 .PHONY: maybe-install-info-zlib install-info-zlib
28767 maybe-install-info-zlib:
28768 @if zlib
28769 maybe-install-info-zlib: install-info-zlib
28771 install-info-zlib: \
28772 configure-zlib \
28773 info-zlib
28774 @[ -f ./zlib/Makefile ] || exit 0; \
28775 r=`${PWD_COMMAND}`; export r; \
28776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28777 $(HOST_EXPORTS) \
28778 for flag in $(EXTRA_HOST_FLAGS) ; do \
28779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28780 done; \
28781 echo "Doing install-info in zlib" ; \
28782 (cd $(HOST_SUBDIR)/zlib && \
28783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28785 "RANLIB=$${RANLIB}" \
28786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28787 install-info) \
28788 || exit 1
28790 @endif zlib
28792 .PHONY: maybe-install-html-zlib install-html-zlib
28793 maybe-install-html-zlib:
28794 @if zlib
28795 maybe-install-html-zlib: install-html-zlib
28797 install-html-zlib: \
28798 configure-zlib \
28799 html-zlib
28800 @[ -f ./zlib/Makefile ] || exit 0; \
28801 r=`${PWD_COMMAND}`; export r; \
28802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28803 $(HOST_EXPORTS) \
28804 for flag in $(EXTRA_HOST_FLAGS) ; do \
28805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28806 done; \
28807 echo "Doing install-html in zlib" ; \
28808 (cd $(HOST_SUBDIR)/zlib && \
28809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28811 "RANLIB=$${RANLIB}" \
28812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28813 install-html) \
28814 || exit 1
28816 @endif zlib
28818 .PHONY: maybe-installcheck-zlib installcheck-zlib
28819 maybe-installcheck-zlib:
28820 @if zlib
28821 maybe-installcheck-zlib: installcheck-zlib
28823 installcheck-zlib: \
28824 configure-zlib
28825 @[ -f ./zlib/Makefile ] || exit 0; \
28826 r=`${PWD_COMMAND}`; export r; \
28827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28828 $(HOST_EXPORTS) \
28829 for flag in $(EXTRA_HOST_FLAGS) ; do \
28830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28831 done; \
28832 echo "Doing installcheck in zlib" ; \
28833 (cd $(HOST_SUBDIR)/zlib && \
28834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28836 "RANLIB=$${RANLIB}" \
28837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28838 installcheck) \
28839 || exit 1
28841 @endif zlib
28843 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
28844 maybe-mostlyclean-zlib:
28845 @if zlib
28846 maybe-mostlyclean-zlib: mostlyclean-zlib
28848 mostlyclean-zlib:
28849 @[ -f ./zlib/Makefile ] || exit 0; \
28850 r=`${PWD_COMMAND}`; export r; \
28851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28852 $(HOST_EXPORTS) \
28853 for flag in $(EXTRA_HOST_FLAGS) ; do \
28854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28855 done; \
28856 echo "Doing mostlyclean in zlib" ; \
28857 (cd $(HOST_SUBDIR)/zlib && \
28858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28860 "RANLIB=$${RANLIB}" \
28861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28862 mostlyclean) \
28863 || exit 1
28865 @endif zlib
28867 .PHONY: maybe-clean-zlib clean-zlib
28868 maybe-clean-zlib:
28869 @if zlib
28870 maybe-clean-zlib: clean-zlib
28872 clean-zlib:
28873 @[ -f ./zlib/Makefile ] || exit 0; \
28874 r=`${PWD_COMMAND}`; export r; \
28875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28876 $(HOST_EXPORTS) \
28877 for flag in $(EXTRA_HOST_FLAGS) ; do \
28878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28879 done; \
28880 echo "Doing clean in zlib" ; \
28881 (cd $(HOST_SUBDIR)/zlib && \
28882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28884 "RANLIB=$${RANLIB}" \
28885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28886 clean) \
28887 || exit 1
28889 @endif zlib
28891 .PHONY: maybe-distclean-zlib distclean-zlib
28892 maybe-distclean-zlib:
28893 @if zlib
28894 maybe-distclean-zlib: distclean-zlib
28896 distclean-zlib:
28897 @[ -f ./zlib/Makefile ] || exit 0; \
28898 r=`${PWD_COMMAND}`; export r; \
28899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28900 $(HOST_EXPORTS) \
28901 for flag in $(EXTRA_HOST_FLAGS) ; do \
28902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28903 done; \
28904 echo "Doing distclean in zlib" ; \
28905 (cd $(HOST_SUBDIR)/zlib && \
28906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28908 "RANLIB=$${RANLIB}" \
28909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28910 distclean) \
28911 || exit 1
28913 @endif zlib
28915 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
28916 maybe-maintainer-clean-zlib:
28917 @if zlib
28918 maybe-maintainer-clean-zlib: maintainer-clean-zlib
28920 maintainer-clean-zlib:
28921 @[ -f ./zlib/Makefile ] || exit 0; \
28922 r=`${PWD_COMMAND}`; export r; \
28923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28924 $(HOST_EXPORTS) \
28925 for flag in $(EXTRA_HOST_FLAGS) ; do \
28926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28927 done; \
28928 echo "Doing maintainer-clean in zlib" ; \
28929 (cd $(HOST_SUBDIR)/zlib && \
28930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28932 "RANLIB=$${RANLIB}" \
28933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28934 maintainer-clean) \
28935 || exit 1
28937 @endif zlib
28941 .PHONY: configure-gdb maybe-configure-gdb
28942 maybe-configure-gdb:
28943 @if gcc-bootstrap
28944 configure-gdb: stage_current
28945 @endif gcc-bootstrap
28946 @if gdb
28947 maybe-configure-gdb: configure-gdb
28948 configure-gdb:
28949 @: $(MAKE); $(unstage)
28950 @r=`${PWD_COMMAND}`; export r; \
28951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28952 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
28953 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
28954 $(HOST_EXPORTS) \
28955 echo Configuring in $(HOST_SUBDIR)/gdb; \
28956 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
28957 case $(srcdir) in \
28958 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28959 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
28960 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28961 esac; \
28962 srcdiroption="--srcdir=$${topdir}/gdb"; \
28963 libsrcdir="$$s/gdb"; \
28964 $(SHELL) $${libsrcdir}/configure \
28965 $(HOST_CONFIGARGS) $${srcdiroption} \
28966 || exit 1
28967 @endif gdb
28973 .PHONY: all-gdb maybe-all-gdb
28974 maybe-all-gdb:
28975 @if gcc-bootstrap
28976 all-gdb: stage_current
28977 @endif gcc-bootstrap
28978 @if gdb
28979 TARGET-gdb=all
28980 maybe-all-gdb: all-gdb
28981 all-gdb: configure-gdb
28982 @: $(MAKE); $(unstage)
28983 @r=`${PWD_COMMAND}`; export r; \
28984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28985 $(HOST_EXPORTS) \
28986 (cd $(HOST_SUBDIR)/gdb && \
28987 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
28988 @endif gdb
28993 .PHONY: check-gdb maybe-check-gdb
28994 maybe-check-gdb:
28995 @if gdb
28996 maybe-check-gdb: check-gdb
28998 check-gdb:
28999 @: $(MAKE); $(unstage)
29000 @r=`${PWD_COMMAND}`; export r; \
29001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29002 $(HOST_EXPORTS) \
29003 (cd $(HOST_SUBDIR)/gdb && \
29004 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
29006 @endif gdb
29008 .PHONY: install-gdb maybe-install-gdb
29009 maybe-install-gdb:
29010 @if gdb
29011 maybe-install-gdb: install-gdb
29013 install-gdb: installdirs
29014 @: $(MAKE); $(unstage)
29015 @r=`${PWD_COMMAND}`; export r; \
29016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29017 $(HOST_EXPORTS) \
29018 (cd $(HOST_SUBDIR)/gdb && \
29019 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
29021 @endif gdb
29023 # Other targets (info, dvi, etc.)
29025 .PHONY: maybe-info-gdb info-gdb
29026 maybe-info-gdb:
29027 @if gdb
29028 maybe-info-gdb: info-gdb
29030 info-gdb: \
29031 configure-gdb
29032 @: $(MAKE); $(unstage)
29033 @[ -f ./gdb/Makefile ] || exit 0; \
29034 r=`${PWD_COMMAND}`; export r; \
29035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29036 $(HOST_EXPORTS) \
29037 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29039 done; \
29040 echo "Doing info in gdb" ; \
29041 (cd $(HOST_SUBDIR)/gdb && \
29042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29044 "RANLIB=$${RANLIB}" \
29045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29046 info) \
29047 || exit 1
29049 @endif gdb
29051 .PHONY: maybe-dvi-gdb dvi-gdb
29052 maybe-dvi-gdb:
29053 @if gdb
29054 maybe-dvi-gdb: dvi-gdb
29056 dvi-gdb: \
29057 configure-gdb
29058 @: $(MAKE); $(unstage)
29059 @[ -f ./gdb/Makefile ] || exit 0; \
29060 r=`${PWD_COMMAND}`; export r; \
29061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29062 $(HOST_EXPORTS) \
29063 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29065 done; \
29066 echo "Doing dvi in gdb" ; \
29067 (cd $(HOST_SUBDIR)/gdb && \
29068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29070 "RANLIB=$${RANLIB}" \
29071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29072 dvi) \
29073 || exit 1
29075 @endif gdb
29077 .PHONY: maybe-html-gdb html-gdb
29078 maybe-html-gdb:
29079 @if gdb
29080 maybe-html-gdb: html-gdb
29082 html-gdb: \
29083 configure-gdb
29084 @: $(MAKE); $(unstage)
29085 @[ -f ./gdb/Makefile ] || exit 0; \
29086 r=`${PWD_COMMAND}`; export r; \
29087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29088 $(HOST_EXPORTS) \
29089 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29091 done; \
29092 echo "Doing html in gdb" ; \
29093 (cd $(HOST_SUBDIR)/gdb && \
29094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29096 "RANLIB=$${RANLIB}" \
29097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29098 html) \
29099 || exit 1
29101 @endif gdb
29103 .PHONY: maybe-TAGS-gdb TAGS-gdb
29104 maybe-TAGS-gdb:
29105 @if gdb
29106 maybe-TAGS-gdb: TAGS-gdb
29108 TAGS-gdb: \
29109 configure-gdb
29110 @: $(MAKE); $(unstage)
29111 @[ -f ./gdb/Makefile ] || exit 0; \
29112 r=`${PWD_COMMAND}`; export r; \
29113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29114 $(HOST_EXPORTS) \
29115 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29117 done; \
29118 echo "Doing TAGS in gdb" ; \
29119 (cd $(HOST_SUBDIR)/gdb && \
29120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29122 "RANLIB=$${RANLIB}" \
29123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29124 TAGS) \
29125 || exit 1
29127 @endif gdb
29129 .PHONY: maybe-install-info-gdb install-info-gdb
29130 maybe-install-info-gdb:
29131 @if gdb
29132 maybe-install-info-gdb: install-info-gdb
29134 install-info-gdb: \
29135 configure-gdb \
29136 info-gdb
29137 @: $(MAKE); $(unstage)
29138 @[ -f ./gdb/Makefile ] || exit 0; \
29139 r=`${PWD_COMMAND}`; export r; \
29140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29141 $(HOST_EXPORTS) \
29142 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29144 done; \
29145 echo "Doing install-info in gdb" ; \
29146 (cd $(HOST_SUBDIR)/gdb && \
29147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29149 "RANLIB=$${RANLIB}" \
29150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29151 install-info) \
29152 || exit 1
29154 @endif gdb
29156 .PHONY: maybe-install-html-gdb install-html-gdb
29157 maybe-install-html-gdb:
29158 @if gdb
29159 maybe-install-html-gdb: install-html-gdb
29161 install-html-gdb: \
29162 configure-gdb \
29163 html-gdb
29164 @: $(MAKE); $(unstage)
29165 @[ -f ./gdb/Makefile ] || exit 0; \
29166 r=`${PWD_COMMAND}`; export r; \
29167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29168 $(HOST_EXPORTS) \
29169 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29171 done; \
29172 echo "Doing install-html in gdb" ; \
29173 (cd $(HOST_SUBDIR)/gdb && \
29174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29176 "RANLIB=$${RANLIB}" \
29177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29178 install-html) \
29179 || exit 1
29181 @endif gdb
29183 .PHONY: maybe-installcheck-gdb installcheck-gdb
29184 maybe-installcheck-gdb:
29185 @if gdb
29186 maybe-installcheck-gdb: installcheck-gdb
29188 installcheck-gdb: \
29189 configure-gdb
29190 @: $(MAKE); $(unstage)
29191 @[ -f ./gdb/Makefile ] || exit 0; \
29192 r=`${PWD_COMMAND}`; export r; \
29193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29194 $(HOST_EXPORTS) \
29195 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29197 done; \
29198 echo "Doing installcheck in gdb" ; \
29199 (cd $(HOST_SUBDIR)/gdb && \
29200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29202 "RANLIB=$${RANLIB}" \
29203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29204 installcheck) \
29205 || exit 1
29207 @endif gdb
29209 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
29210 maybe-mostlyclean-gdb:
29211 @if gdb
29212 maybe-mostlyclean-gdb: mostlyclean-gdb
29214 mostlyclean-gdb:
29215 @: $(MAKE); $(unstage)
29216 @[ -f ./gdb/Makefile ] || exit 0; \
29217 r=`${PWD_COMMAND}`; export r; \
29218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29219 $(HOST_EXPORTS) \
29220 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29222 done; \
29223 echo "Doing mostlyclean in gdb" ; \
29224 (cd $(HOST_SUBDIR)/gdb && \
29225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29227 "RANLIB=$${RANLIB}" \
29228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29229 mostlyclean) \
29230 || exit 1
29232 @endif gdb
29234 .PHONY: maybe-clean-gdb clean-gdb
29235 maybe-clean-gdb:
29236 @if gdb
29237 maybe-clean-gdb: clean-gdb
29239 clean-gdb:
29240 @: $(MAKE); $(unstage)
29241 @[ -f ./gdb/Makefile ] || exit 0; \
29242 r=`${PWD_COMMAND}`; export r; \
29243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29244 $(HOST_EXPORTS) \
29245 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29247 done; \
29248 echo "Doing clean in gdb" ; \
29249 (cd $(HOST_SUBDIR)/gdb && \
29250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29252 "RANLIB=$${RANLIB}" \
29253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29254 clean) \
29255 || exit 1
29257 @endif gdb
29259 .PHONY: maybe-distclean-gdb distclean-gdb
29260 maybe-distclean-gdb:
29261 @if gdb
29262 maybe-distclean-gdb: distclean-gdb
29264 distclean-gdb:
29265 @: $(MAKE); $(unstage)
29266 @[ -f ./gdb/Makefile ] || exit 0; \
29267 r=`${PWD_COMMAND}`; export r; \
29268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29269 $(HOST_EXPORTS) \
29270 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29272 done; \
29273 echo "Doing distclean in gdb" ; \
29274 (cd $(HOST_SUBDIR)/gdb && \
29275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29277 "RANLIB=$${RANLIB}" \
29278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29279 distclean) \
29280 || exit 1
29282 @endif gdb
29284 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
29285 maybe-maintainer-clean-gdb:
29286 @if gdb
29287 maybe-maintainer-clean-gdb: maintainer-clean-gdb
29289 maintainer-clean-gdb:
29290 @: $(MAKE); $(unstage)
29291 @[ -f ./gdb/Makefile ] || exit 0; \
29292 r=`${PWD_COMMAND}`; export r; \
29293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29294 $(HOST_EXPORTS) \
29295 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29297 done; \
29298 echo "Doing maintainer-clean in gdb" ; \
29299 (cd $(HOST_SUBDIR)/gdb && \
29300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29302 "RANLIB=$${RANLIB}" \
29303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29304 maintainer-clean) \
29305 || exit 1
29307 @endif gdb
29311 .PHONY: configure-expect maybe-configure-expect
29312 maybe-configure-expect:
29313 @if gcc-bootstrap
29314 configure-expect: stage_current
29315 @endif gcc-bootstrap
29316 @if expect
29317 maybe-configure-expect: configure-expect
29318 configure-expect:
29319 @: $(MAKE); $(unstage)
29320 @r=`${PWD_COMMAND}`; export r; \
29321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29322 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
29323 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
29324 $(HOST_EXPORTS) \
29325 echo Configuring in $(HOST_SUBDIR)/expect; \
29326 cd "$(HOST_SUBDIR)/expect" || exit 1; \
29327 case $(srcdir) in \
29328 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29329 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
29330 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29331 esac; \
29332 srcdiroption="--srcdir=$${topdir}/expect"; \
29333 libsrcdir="$$s/expect"; \
29334 $(SHELL) $${libsrcdir}/configure \
29335 $(HOST_CONFIGARGS) $${srcdiroption} \
29336 || exit 1
29337 @endif expect
29343 .PHONY: all-expect maybe-all-expect
29344 maybe-all-expect:
29345 @if gcc-bootstrap
29346 all-expect: stage_current
29347 @endif gcc-bootstrap
29348 @if expect
29349 TARGET-expect=all
29350 maybe-all-expect: all-expect
29351 all-expect: configure-expect
29352 @: $(MAKE); $(unstage)
29353 @r=`${PWD_COMMAND}`; export r; \
29354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29355 $(HOST_EXPORTS) \
29356 (cd $(HOST_SUBDIR)/expect && \
29357 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
29358 @endif expect
29363 .PHONY: check-expect maybe-check-expect
29364 maybe-check-expect:
29365 @if expect
29366 maybe-check-expect: check-expect
29368 check-expect:
29369 @: $(MAKE); $(unstage)
29370 @r=`${PWD_COMMAND}`; export r; \
29371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29372 $(HOST_EXPORTS) \
29373 (cd $(HOST_SUBDIR)/expect && \
29374 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
29376 @endif expect
29378 .PHONY: install-expect maybe-install-expect
29379 maybe-install-expect:
29380 @if expect
29381 maybe-install-expect: install-expect
29383 install-expect: installdirs
29384 @: $(MAKE); $(unstage)
29385 @r=`${PWD_COMMAND}`; export r; \
29386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29387 $(HOST_EXPORTS) \
29388 (cd $(HOST_SUBDIR)/expect && \
29389 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
29391 @endif expect
29393 # Other targets (info, dvi, etc.)
29395 .PHONY: maybe-info-expect info-expect
29396 maybe-info-expect:
29397 @if expect
29398 maybe-info-expect: info-expect
29400 info-expect: \
29401 configure-expect
29402 @: $(MAKE); $(unstage)
29403 @[ -f ./expect/Makefile ] || exit 0; \
29404 r=`${PWD_COMMAND}`; export r; \
29405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29406 $(HOST_EXPORTS) \
29407 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29409 done; \
29410 echo "Doing info in expect" ; \
29411 (cd $(HOST_SUBDIR)/expect && \
29412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29414 "RANLIB=$${RANLIB}" \
29415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29416 info) \
29417 || exit 1
29419 @endif expect
29421 .PHONY: maybe-dvi-expect dvi-expect
29422 maybe-dvi-expect:
29423 @if expect
29424 maybe-dvi-expect: dvi-expect
29426 dvi-expect: \
29427 configure-expect
29428 @: $(MAKE); $(unstage)
29429 @[ -f ./expect/Makefile ] || exit 0; \
29430 r=`${PWD_COMMAND}`; export r; \
29431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29432 $(HOST_EXPORTS) \
29433 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29435 done; \
29436 echo "Doing dvi in expect" ; \
29437 (cd $(HOST_SUBDIR)/expect && \
29438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29440 "RANLIB=$${RANLIB}" \
29441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29442 dvi) \
29443 || exit 1
29445 @endif expect
29447 .PHONY: maybe-html-expect html-expect
29448 maybe-html-expect:
29449 @if expect
29450 maybe-html-expect: html-expect
29452 html-expect: \
29453 configure-expect
29454 @: $(MAKE); $(unstage)
29455 @[ -f ./expect/Makefile ] || exit 0; \
29456 r=`${PWD_COMMAND}`; export r; \
29457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29458 $(HOST_EXPORTS) \
29459 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29461 done; \
29462 echo "Doing html in expect" ; \
29463 (cd $(HOST_SUBDIR)/expect && \
29464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29466 "RANLIB=$${RANLIB}" \
29467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29468 html) \
29469 || exit 1
29471 @endif expect
29473 .PHONY: maybe-TAGS-expect TAGS-expect
29474 maybe-TAGS-expect:
29475 @if expect
29476 maybe-TAGS-expect: TAGS-expect
29478 TAGS-expect: \
29479 configure-expect
29480 @: $(MAKE); $(unstage)
29481 @[ -f ./expect/Makefile ] || exit 0; \
29482 r=`${PWD_COMMAND}`; export r; \
29483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29484 $(HOST_EXPORTS) \
29485 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29487 done; \
29488 echo "Doing TAGS in expect" ; \
29489 (cd $(HOST_SUBDIR)/expect && \
29490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29492 "RANLIB=$${RANLIB}" \
29493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29494 TAGS) \
29495 || exit 1
29497 @endif expect
29499 .PHONY: maybe-install-info-expect install-info-expect
29500 maybe-install-info-expect:
29501 @if expect
29502 maybe-install-info-expect: install-info-expect
29504 install-info-expect: \
29505 configure-expect \
29506 info-expect
29507 @: $(MAKE); $(unstage)
29508 @[ -f ./expect/Makefile ] || exit 0; \
29509 r=`${PWD_COMMAND}`; export r; \
29510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29511 $(HOST_EXPORTS) \
29512 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29514 done; \
29515 echo "Doing install-info in expect" ; \
29516 (cd $(HOST_SUBDIR)/expect && \
29517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29519 "RANLIB=$${RANLIB}" \
29520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29521 install-info) \
29522 || exit 1
29524 @endif expect
29526 .PHONY: maybe-install-html-expect install-html-expect
29527 maybe-install-html-expect:
29528 @if expect
29529 maybe-install-html-expect: install-html-expect
29531 install-html-expect: \
29532 configure-expect \
29533 html-expect
29534 @: $(MAKE); $(unstage)
29535 @[ -f ./expect/Makefile ] || exit 0; \
29536 r=`${PWD_COMMAND}`; export r; \
29537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29538 $(HOST_EXPORTS) \
29539 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29541 done; \
29542 echo "Doing install-html in expect" ; \
29543 (cd $(HOST_SUBDIR)/expect && \
29544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29546 "RANLIB=$${RANLIB}" \
29547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29548 install-html) \
29549 || exit 1
29551 @endif expect
29553 .PHONY: maybe-installcheck-expect installcheck-expect
29554 maybe-installcheck-expect:
29555 @if expect
29556 maybe-installcheck-expect: installcheck-expect
29558 installcheck-expect: \
29559 configure-expect
29560 @: $(MAKE); $(unstage)
29561 @[ -f ./expect/Makefile ] || exit 0; \
29562 r=`${PWD_COMMAND}`; export r; \
29563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29564 $(HOST_EXPORTS) \
29565 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29567 done; \
29568 echo "Doing installcheck in expect" ; \
29569 (cd $(HOST_SUBDIR)/expect && \
29570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29572 "RANLIB=$${RANLIB}" \
29573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29574 installcheck) \
29575 || exit 1
29577 @endif expect
29579 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
29580 maybe-mostlyclean-expect:
29581 @if expect
29582 maybe-mostlyclean-expect: mostlyclean-expect
29584 mostlyclean-expect:
29585 @: $(MAKE); $(unstage)
29586 @[ -f ./expect/Makefile ] || exit 0; \
29587 r=`${PWD_COMMAND}`; export r; \
29588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29589 $(HOST_EXPORTS) \
29590 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29592 done; \
29593 echo "Doing mostlyclean in expect" ; \
29594 (cd $(HOST_SUBDIR)/expect && \
29595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29597 "RANLIB=$${RANLIB}" \
29598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29599 mostlyclean) \
29600 || exit 1
29602 @endif expect
29604 .PHONY: maybe-clean-expect clean-expect
29605 maybe-clean-expect:
29606 @if expect
29607 maybe-clean-expect: clean-expect
29609 clean-expect:
29610 @: $(MAKE); $(unstage)
29611 @[ -f ./expect/Makefile ] || exit 0; \
29612 r=`${PWD_COMMAND}`; export r; \
29613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29614 $(HOST_EXPORTS) \
29615 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29617 done; \
29618 echo "Doing clean in expect" ; \
29619 (cd $(HOST_SUBDIR)/expect && \
29620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29622 "RANLIB=$${RANLIB}" \
29623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29624 clean) \
29625 || exit 1
29627 @endif expect
29629 .PHONY: maybe-distclean-expect distclean-expect
29630 maybe-distclean-expect:
29631 @if expect
29632 maybe-distclean-expect: distclean-expect
29634 distclean-expect:
29635 @: $(MAKE); $(unstage)
29636 @[ -f ./expect/Makefile ] || exit 0; \
29637 r=`${PWD_COMMAND}`; export r; \
29638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29639 $(HOST_EXPORTS) \
29640 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29642 done; \
29643 echo "Doing distclean in expect" ; \
29644 (cd $(HOST_SUBDIR)/expect && \
29645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29647 "RANLIB=$${RANLIB}" \
29648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29649 distclean) \
29650 || exit 1
29652 @endif expect
29654 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
29655 maybe-maintainer-clean-expect:
29656 @if expect
29657 maybe-maintainer-clean-expect: maintainer-clean-expect
29659 maintainer-clean-expect:
29660 @: $(MAKE); $(unstage)
29661 @[ -f ./expect/Makefile ] || exit 0; \
29662 r=`${PWD_COMMAND}`; export r; \
29663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29664 $(HOST_EXPORTS) \
29665 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29667 done; \
29668 echo "Doing maintainer-clean in expect" ; \
29669 (cd $(HOST_SUBDIR)/expect && \
29670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29672 "RANLIB=$${RANLIB}" \
29673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29674 maintainer-clean) \
29675 || exit 1
29677 @endif expect
29681 .PHONY: configure-guile maybe-configure-guile
29682 maybe-configure-guile:
29683 @if gcc-bootstrap
29684 configure-guile: stage_current
29685 @endif gcc-bootstrap
29686 @if guile
29687 maybe-configure-guile: configure-guile
29688 configure-guile:
29689 @: $(MAKE); $(unstage)
29690 @r=`${PWD_COMMAND}`; export r; \
29691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29692 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
29693 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
29694 $(HOST_EXPORTS) \
29695 echo Configuring in $(HOST_SUBDIR)/guile; \
29696 cd "$(HOST_SUBDIR)/guile" || exit 1; \
29697 case $(srcdir) in \
29698 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29699 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
29700 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29701 esac; \
29702 srcdiroption="--srcdir=$${topdir}/guile"; \
29703 libsrcdir="$$s/guile"; \
29704 $(SHELL) $${libsrcdir}/configure \
29705 $(HOST_CONFIGARGS) $${srcdiroption} \
29706 || exit 1
29707 @endif guile
29713 .PHONY: all-guile maybe-all-guile
29714 maybe-all-guile:
29715 @if gcc-bootstrap
29716 all-guile: stage_current
29717 @endif gcc-bootstrap
29718 @if guile
29719 TARGET-guile=all
29720 maybe-all-guile: all-guile
29721 all-guile: configure-guile
29722 @: $(MAKE); $(unstage)
29723 @r=`${PWD_COMMAND}`; export r; \
29724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29725 $(HOST_EXPORTS) \
29726 (cd $(HOST_SUBDIR)/guile && \
29727 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
29728 @endif guile
29733 .PHONY: check-guile maybe-check-guile
29734 maybe-check-guile:
29735 @if guile
29736 maybe-check-guile: check-guile
29738 check-guile:
29739 @: $(MAKE); $(unstage)
29740 @r=`${PWD_COMMAND}`; export r; \
29741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29742 $(HOST_EXPORTS) \
29743 (cd $(HOST_SUBDIR)/guile && \
29744 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
29746 @endif guile
29748 .PHONY: install-guile maybe-install-guile
29749 maybe-install-guile:
29750 @if guile
29751 maybe-install-guile: install-guile
29753 install-guile: installdirs
29754 @: $(MAKE); $(unstage)
29755 @r=`${PWD_COMMAND}`; export r; \
29756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29757 $(HOST_EXPORTS) \
29758 (cd $(HOST_SUBDIR)/guile && \
29759 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
29761 @endif guile
29763 # Other targets (info, dvi, etc.)
29765 .PHONY: maybe-info-guile info-guile
29766 maybe-info-guile:
29767 @if guile
29768 maybe-info-guile: info-guile
29770 info-guile: \
29771 configure-guile
29772 @: $(MAKE); $(unstage)
29773 @[ -f ./guile/Makefile ] || exit 0; \
29774 r=`${PWD_COMMAND}`; export r; \
29775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29776 $(HOST_EXPORTS) \
29777 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29779 done; \
29780 echo "Doing info in guile" ; \
29781 (cd $(HOST_SUBDIR)/guile && \
29782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29784 "RANLIB=$${RANLIB}" \
29785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29786 info) \
29787 || exit 1
29789 @endif guile
29791 .PHONY: maybe-dvi-guile dvi-guile
29792 maybe-dvi-guile:
29793 @if guile
29794 maybe-dvi-guile: dvi-guile
29796 dvi-guile: \
29797 configure-guile
29798 @: $(MAKE); $(unstage)
29799 @[ -f ./guile/Makefile ] || exit 0; \
29800 r=`${PWD_COMMAND}`; export r; \
29801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29802 $(HOST_EXPORTS) \
29803 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29805 done; \
29806 echo "Doing dvi in guile" ; \
29807 (cd $(HOST_SUBDIR)/guile && \
29808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29810 "RANLIB=$${RANLIB}" \
29811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29812 dvi) \
29813 || exit 1
29815 @endif guile
29817 .PHONY: maybe-html-guile html-guile
29818 maybe-html-guile:
29819 @if guile
29820 maybe-html-guile: html-guile
29822 html-guile: \
29823 configure-guile
29824 @: $(MAKE); $(unstage)
29825 @[ -f ./guile/Makefile ] || exit 0; \
29826 r=`${PWD_COMMAND}`; export r; \
29827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29828 $(HOST_EXPORTS) \
29829 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29831 done; \
29832 echo "Doing html in guile" ; \
29833 (cd $(HOST_SUBDIR)/guile && \
29834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29836 "RANLIB=$${RANLIB}" \
29837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29838 html) \
29839 || exit 1
29841 @endif guile
29843 .PHONY: maybe-TAGS-guile TAGS-guile
29844 maybe-TAGS-guile:
29845 @if guile
29846 maybe-TAGS-guile: TAGS-guile
29848 TAGS-guile: \
29849 configure-guile
29850 @: $(MAKE); $(unstage)
29851 @[ -f ./guile/Makefile ] || exit 0; \
29852 r=`${PWD_COMMAND}`; export r; \
29853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29854 $(HOST_EXPORTS) \
29855 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29857 done; \
29858 echo "Doing TAGS in guile" ; \
29859 (cd $(HOST_SUBDIR)/guile && \
29860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29862 "RANLIB=$${RANLIB}" \
29863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29864 TAGS) \
29865 || exit 1
29867 @endif guile
29869 .PHONY: maybe-install-info-guile install-info-guile
29870 maybe-install-info-guile:
29871 @if guile
29872 maybe-install-info-guile: install-info-guile
29874 install-info-guile: \
29875 configure-guile \
29876 info-guile
29877 @: $(MAKE); $(unstage)
29878 @[ -f ./guile/Makefile ] || exit 0; \
29879 r=`${PWD_COMMAND}`; export r; \
29880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29881 $(HOST_EXPORTS) \
29882 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29884 done; \
29885 echo "Doing install-info in guile" ; \
29886 (cd $(HOST_SUBDIR)/guile && \
29887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29889 "RANLIB=$${RANLIB}" \
29890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29891 install-info) \
29892 || exit 1
29894 @endif guile
29896 .PHONY: maybe-install-html-guile install-html-guile
29897 maybe-install-html-guile:
29898 @if guile
29899 maybe-install-html-guile: install-html-guile
29901 install-html-guile: \
29902 configure-guile \
29903 html-guile
29904 @: $(MAKE); $(unstage)
29905 @[ -f ./guile/Makefile ] || exit 0; \
29906 r=`${PWD_COMMAND}`; export r; \
29907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29908 $(HOST_EXPORTS) \
29909 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29911 done; \
29912 echo "Doing install-html in guile" ; \
29913 (cd $(HOST_SUBDIR)/guile && \
29914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29916 "RANLIB=$${RANLIB}" \
29917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29918 install-html) \
29919 || exit 1
29921 @endif guile
29923 .PHONY: maybe-installcheck-guile installcheck-guile
29924 maybe-installcheck-guile:
29925 @if guile
29926 maybe-installcheck-guile: installcheck-guile
29928 installcheck-guile: \
29929 configure-guile
29930 @: $(MAKE); $(unstage)
29931 @[ -f ./guile/Makefile ] || exit 0; \
29932 r=`${PWD_COMMAND}`; export r; \
29933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29934 $(HOST_EXPORTS) \
29935 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29937 done; \
29938 echo "Doing installcheck in guile" ; \
29939 (cd $(HOST_SUBDIR)/guile && \
29940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29942 "RANLIB=$${RANLIB}" \
29943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29944 installcheck) \
29945 || exit 1
29947 @endif guile
29949 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
29950 maybe-mostlyclean-guile:
29951 @if guile
29952 maybe-mostlyclean-guile: mostlyclean-guile
29954 mostlyclean-guile:
29955 @: $(MAKE); $(unstage)
29956 @[ -f ./guile/Makefile ] || exit 0; \
29957 r=`${PWD_COMMAND}`; export r; \
29958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29959 $(HOST_EXPORTS) \
29960 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29962 done; \
29963 echo "Doing mostlyclean in guile" ; \
29964 (cd $(HOST_SUBDIR)/guile && \
29965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29967 "RANLIB=$${RANLIB}" \
29968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29969 mostlyclean) \
29970 || exit 1
29972 @endif guile
29974 .PHONY: maybe-clean-guile clean-guile
29975 maybe-clean-guile:
29976 @if guile
29977 maybe-clean-guile: clean-guile
29979 clean-guile:
29980 @: $(MAKE); $(unstage)
29981 @[ -f ./guile/Makefile ] || exit 0; \
29982 r=`${PWD_COMMAND}`; export r; \
29983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29984 $(HOST_EXPORTS) \
29985 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
29986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29987 done; \
29988 echo "Doing clean in guile" ; \
29989 (cd $(HOST_SUBDIR)/guile && \
29990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29992 "RANLIB=$${RANLIB}" \
29993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29994 clean) \
29995 || exit 1
29997 @endif guile
29999 .PHONY: maybe-distclean-guile distclean-guile
30000 maybe-distclean-guile:
30001 @if guile
30002 maybe-distclean-guile: distclean-guile
30004 distclean-guile:
30005 @: $(MAKE); $(unstage)
30006 @[ -f ./guile/Makefile ] || exit 0; \
30007 r=`${PWD_COMMAND}`; export r; \
30008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30009 $(HOST_EXPORTS) \
30010 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30012 done; \
30013 echo "Doing distclean in guile" ; \
30014 (cd $(HOST_SUBDIR)/guile && \
30015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30017 "RANLIB=$${RANLIB}" \
30018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30019 distclean) \
30020 || exit 1
30022 @endif guile
30024 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
30025 maybe-maintainer-clean-guile:
30026 @if guile
30027 maybe-maintainer-clean-guile: maintainer-clean-guile
30029 maintainer-clean-guile:
30030 @: $(MAKE); $(unstage)
30031 @[ -f ./guile/Makefile ] || exit 0; \
30032 r=`${PWD_COMMAND}`; export r; \
30033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30034 $(HOST_EXPORTS) \
30035 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30037 done; \
30038 echo "Doing maintainer-clean in guile" ; \
30039 (cd $(HOST_SUBDIR)/guile && \
30040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30042 "RANLIB=$${RANLIB}" \
30043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30044 maintainer-clean) \
30045 || exit 1
30047 @endif guile
30051 .PHONY: configure-tk maybe-configure-tk
30052 maybe-configure-tk:
30053 @if gcc-bootstrap
30054 configure-tk: stage_current
30055 @endif gcc-bootstrap
30056 @if tk
30057 maybe-configure-tk: configure-tk
30058 configure-tk:
30059 @: $(MAKE); $(unstage)
30060 @r=`${PWD_COMMAND}`; export r; \
30061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30062 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
30063 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
30064 $(HOST_EXPORTS) \
30065 echo Configuring in $(HOST_SUBDIR)/tk; \
30066 cd "$(HOST_SUBDIR)/tk" || exit 1; \
30067 case $(srcdir) in \
30068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30069 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
30070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30071 esac; \
30072 srcdiroption="--srcdir=$${topdir}/tk"; \
30073 libsrcdir="$$s/tk"; \
30074 $(SHELL) $${libsrcdir}/configure \
30075 $(HOST_CONFIGARGS) $${srcdiroption} \
30076 || exit 1
30077 @endif tk
30083 .PHONY: all-tk maybe-all-tk
30084 maybe-all-tk:
30085 @if gcc-bootstrap
30086 all-tk: stage_current
30087 @endif gcc-bootstrap
30088 @if tk
30089 TARGET-tk=all
30090 maybe-all-tk: all-tk
30091 all-tk: configure-tk
30092 @: $(MAKE); $(unstage)
30093 @r=`${PWD_COMMAND}`; export r; \
30094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30095 $(HOST_EXPORTS) \
30096 (cd $(HOST_SUBDIR)/tk && \
30097 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
30098 @endif tk
30103 .PHONY: check-tk maybe-check-tk
30104 maybe-check-tk:
30105 @if tk
30106 maybe-check-tk: check-tk
30108 check-tk:
30109 @: $(MAKE); $(unstage)
30110 @r=`${PWD_COMMAND}`; export r; \
30111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30112 $(HOST_EXPORTS) \
30113 (cd $(HOST_SUBDIR)/tk && \
30114 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
30116 @endif tk
30118 .PHONY: install-tk maybe-install-tk
30119 maybe-install-tk:
30120 @if tk
30121 maybe-install-tk: install-tk
30123 install-tk: installdirs
30124 @: $(MAKE); $(unstage)
30125 @r=`${PWD_COMMAND}`; export r; \
30126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30127 $(HOST_EXPORTS) \
30128 (cd $(HOST_SUBDIR)/tk && \
30129 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
30131 @endif tk
30133 # Other targets (info, dvi, etc.)
30135 .PHONY: maybe-info-tk info-tk
30136 maybe-info-tk:
30137 @if tk
30138 maybe-info-tk: info-tk
30140 info-tk: \
30141 configure-tk
30142 @: $(MAKE); $(unstage)
30143 @[ -f ./tk/Makefile ] || exit 0; \
30144 r=`${PWD_COMMAND}`; export r; \
30145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30146 $(HOST_EXPORTS) \
30147 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30149 done; \
30150 echo "Doing info in tk" ; \
30151 (cd $(HOST_SUBDIR)/tk && \
30152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30154 "RANLIB=$${RANLIB}" \
30155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30156 info) \
30157 || exit 1
30159 @endif tk
30161 .PHONY: maybe-dvi-tk dvi-tk
30162 maybe-dvi-tk:
30163 @if tk
30164 maybe-dvi-tk: dvi-tk
30166 dvi-tk: \
30167 configure-tk
30168 @: $(MAKE); $(unstage)
30169 @[ -f ./tk/Makefile ] || exit 0; \
30170 r=`${PWD_COMMAND}`; export r; \
30171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30172 $(HOST_EXPORTS) \
30173 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30175 done; \
30176 echo "Doing dvi in tk" ; \
30177 (cd $(HOST_SUBDIR)/tk && \
30178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30180 "RANLIB=$${RANLIB}" \
30181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30182 dvi) \
30183 || exit 1
30185 @endif tk
30187 .PHONY: maybe-html-tk html-tk
30188 maybe-html-tk:
30189 @if tk
30190 maybe-html-tk: html-tk
30192 html-tk: \
30193 configure-tk
30194 @: $(MAKE); $(unstage)
30195 @[ -f ./tk/Makefile ] || exit 0; \
30196 r=`${PWD_COMMAND}`; export r; \
30197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30198 $(HOST_EXPORTS) \
30199 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30201 done; \
30202 echo "Doing html in tk" ; \
30203 (cd $(HOST_SUBDIR)/tk && \
30204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30206 "RANLIB=$${RANLIB}" \
30207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30208 html) \
30209 || exit 1
30211 @endif tk
30213 .PHONY: maybe-TAGS-tk TAGS-tk
30214 maybe-TAGS-tk:
30215 @if tk
30216 maybe-TAGS-tk: TAGS-tk
30218 TAGS-tk: \
30219 configure-tk
30220 @: $(MAKE); $(unstage)
30221 @[ -f ./tk/Makefile ] || exit 0; \
30222 r=`${PWD_COMMAND}`; export r; \
30223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30224 $(HOST_EXPORTS) \
30225 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30227 done; \
30228 echo "Doing TAGS in tk" ; \
30229 (cd $(HOST_SUBDIR)/tk && \
30230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30232 "RANLIB=$${RANLIB}" \
30233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30234 TAGS) \
30235 || exit 1
30237 @endif tk
30239 .PHONY: maybe-install-info-tk install-info-tk
30240 maybe-install-info-tk:
30241 @if tk
30242 maybe-install-info-tk: install-info-tk
30244 install-info-tk: \
30245 configure-tk \
30246 info-tk
30247 @: $(MAKE); $(unstage)
30248 @[ -f ./tk/Makefile ] || exit 0; \
30249 r=`${PWD_COMMAND}`; export r; \
30250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30251 $(HOST_EXPORTS) \
30252 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30254 done; \
30255 echo "Doing install-info in tk" ; \
30256 (cd $(HOST_SUBDIR)/tk && \
30257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30259 "RANLIB=$${RANLIB}" \
30260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30261 install-info) \
30262 || exit 1
30264 @endif tk
30266 .PHONY: maybe-install-html-tk install-html-tk
30267 maybe-install-html-tk:
30268 @if tk
30269 maybe-install-html-tk: install-html-tk
30271 install-html-tk: \
30272 configure-tk \
30273 html-tk
30274 @: $(MAKE); $(unstage)
30275 @[ -f ./tk/Makefile ] || exit 0; \
30276 r=`${PWD_COMMAND}`; export r; \
30277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30278 $(HOST_EXPORTS) \
30279 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30281 done; \
30282 echo "Doing install-html in tk" ; \
30283 (cd $(HOST_SUBDIR)/tk && \
30284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30286 "RANLIB=$${RANLIB}" \
30287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30288 install-html) \
30289 || exit 1
30291 @endif tk
30293 .PHONY: maybe-installcheck-tk installcheck-tk
30294 maybe-installcheck-tk:
30295 @if tk
30296 maybe-installcheck-tk: installcheck-tk
30298 installcheck-tk: \
30299 configure-tk
30300 @: $(MAKE); $(unstage)
30301 @[ -f ./tk/Makefile ] || exit 0; \
30302 r=`${PWD_COMMAND}`; export r; \
30303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30304 $(HOST_EXPORTS) \
30305 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30307 done; \
30308 echo "Doing installcheck in tk" ; \
30309 (cd $(HOST_SUBDIR)/tk && \
30310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30312 "RANLIB=$${RANLIB}" \
30313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30314 installcheck) \
30315 || exit 1
30317 @endif tk
30319 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
30320 maybe-mostlyclean-tk:
30321 @if tk
30322 maybe-mostlyclean-tk: mostlyclean-tk
30324 mostlyclean-tk:
30325 @: $(MAKE); $(unstage)
30326 @[ -f ./tk/Makefile ] || exit 0; \
30327 r=`${PWD_COMMAND}`; export r; \
30328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30329 $(HOST_EXPORTS) \
30330 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30332 done; \
30333 echo "Doing mostlyclean in tk" ; \
30334 (cd $(HOST_SUBDIR)/tk && \
30335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30337 "RANLIB=$${RANLIB}" \
30338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30339 mostlyclean) \
30340 || exit 1
30342 @endif tk
30344 .PHONY: maybe-clean-tk clean-tk
30345 maybe-clean-tk:
30346 @if tk
30347 maybe-clean-tk: clean-tk
30349 clean-tk:
30350 @: $(MAKE); $(unstage)
30351 @[ -f ./tk/Makefile ] || exit 0; \
30352 r=`${PWD_COMMAND}`; export r; \
30353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30354 $(HOST_EXPORTS) \
30355 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30357 done; \
30358 echo "Doing clean in tk" ; \
30359 (cd $(HOST_SUBDIR)/tk && \
30360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30362 "RANLIB=$${RANLIB}" \
30363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30364 clean) \
30365 || exit 1
30367 @endif tk
30369 .PHONY: maybe-distclean-tk distclean-tk
30370 maybe-distclean-tk:
30371 @if tk
30372 maybe-distclean-tk: distclean-tk
30374 distclean-tk:
30375 @: $(MAKE); $(unstage)
30376 @[ -f ./tk/Makefile ] || exit 0; \
30377 r=`${PWD_COMMAND}`; export r; \
30378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30379 $(HOST_EXPORTS) \
30380 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30382 done; \
30383 echo "Doing distclean in tk" ; \
30384 (cd $(HOST_SUBDIR)/tk && \
30385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30387 "RANLIB=$${RANLIB}" \
30388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30389 distclean) \
30390 || exit 1
30392 @endif tk
30394 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
30395 maybe-maintainer-clean-tk:
30396 @if tk
30397 maybe-maintainer-clean-tk: maintainer-clean-tk
30399 maintainer-clean-tk:
30400 @: $(MAKE); $(unstage)
30401 @[ -f ./tk/Makefile ] || exit 0; \
30402 r=`${PWD_COMMAND}`; export r; \
30403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30404 $(HOST_EXPORTS) \
30405 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
30406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30407 done; \
30408 echo "Doing maintainer-clean in tk" ; \
30409 (cd $(HOST_SUBDIR)/tk && \
30410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30412 "RANLIB=$${RANLIB}" \
30413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30414 maintainer-clean) \
30415 || exit 1
30417 @endif tk
30421 .PHONY: configure-libtermcap maybe-configure-libtermcap
30422 maybe-configure-libtermcap:
30423 @if gcc-bootstrap
30424 configure-libtermcap: stage_current
30425 @endif gcc-bootstrap
30426 @if libtermcap
30427 maybe-configure-libtermcap: configure-libtermcap
30428 configure-libtermcap:
30429 @: $(MAKE); $(unstage)
30430 @r=`${PWD_COMMAND}`; export r; \
30431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30432 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
30433 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
30434 $(HOST_EXPORTS) \
30435 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
30436 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
30437 case $(srcdir) in \
30438 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30439 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
30440 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30441 esac; \
30442 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
30443 libsrcdir="$$s/libtermcap"; \
30444 $(SHELL) $${libsrcdir}/configure \
30445 $(HOST_CONFIGARGS) $${srcdiroption} \
30446 || exit 1
30447 @endif libtermcap
30453 .PHONY: all-libtermcap maybe-all-libtermcap
30454 maybe-all-libtermcap:
30455 @if gcc-bootstrap
30456 all-libtermcap: stage_current
30457 @endif gcc-bootstrap
30458 @if libtermcap
30459 TARGET-libtermcap=all
30460 maybe-all-libtermcap: all-libtermcap
30461 all-libtermcap: configure-libtermcap
30462 @: $(MAKE); $(unstage)
30463 @r=`${PWD_COMMAND}`; export r; \
30464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30465 $(HOST_EXPORTS) \
30466 (cd $(HOST_SUBDIR)/libtermcap && \
30467 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
30468 @endif libtermcap
30473 .PHONY: check-libtermcap maybe-check-libtermcap
30474 maybe-check-libtermcap:
30475 @if libtermcap
30476 maybe-check-libtermcap: check-libtermcap
30478 check-libtermcap:
30480 @endif libtermcap
30482 .PHONY: install-libtermcap maybe-install-libtermcap
30483 maybe-install-libtermcap:
30484 @if libtermcap
30485 maybe-install-libtermcap: install-libtermcap
30487 install-libtermcap: installdirs
30488 @: $(MAKE); $(unstage)
30489 @r=`${PWD_COMMAND}`; export r; \
30490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30491 $(HOST_EXPORTS) \
30492 (cd $(HOST_SUBDIR)/libtermcap && \
30493 $(MAKE) $(FLAGS_TO_PASS) install)
30495 @endif libtermcap
30497 # Other targets (info, dvi, etc.)
30499 .PHONY: maybe-info-libtermcap info-libtermcap
30500 maybe-info-libtermcap:
30501 @if libtermcap
30502 maybe-info-libtermcap: info-libtermcap
30504 info-libtermcap: \
30505 configure-libtermcap
30506 @: $(MAKE); $(unstage)
30507 @[ -f ./libtermcap/Makefile ] || exit 0; \
30508 r=`${PWD_COMMAND}`; export r; \
30509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30510 $(HOST_EXPORTS) \
30511 for flag in $(EXTRA_HOST_FLAGS) ; do \
30512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30513 done; \
30514 echo "Doing info in libtermcap" ; \
30515 (cd $(HOST_SUBDIR)/libtermcap && \
30516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30518 "RANLIB=$${RANLIB}" \
30519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30520 info) \
30521 || exit 1
30523 @endif libtermcap
30525 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
30526 maybe-dvi-libtermcap:
30527 @if libtermcap
30528 maybe-dvi-libtermcap: dvi-libtermcap
30530 dvi-libtermcap: \
30531 configure-libtermcap
30532 @: $(MAKE); $(unstage)
30533 @[ -f ./libtermcap/Makefile ] || exit 0; \
30534 r=`${PWD_COMMAND}`; export r; \
30535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30536 $(HOST_EXPORTS) \
30537 for flag in $(EXTRA_HOST_FLAGS) ; do \
30538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30539 done; \
30540 echo "Doing dvi in libtermcap" ; \
30541 (cd $(HOST_SUBDIR)/libtermcap && \
30542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30544 "RANLIB=$${RANLIB}" \
30545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30546 dvi) \
30547 || exit 1
30549 @endif libtermcap
30551 .PHONY: maybe-html-libtermcap html-libtermcap
30552 maybe-html-libtermcap:
30553 @if libtermcap
30554 maybe-html-libtermcap: html-libtermcap
30556 html-libtermcap: \
30557 configure-libtermcap
30558 @: $(MAKE); $(unstage)
30559 @[ -f ./libtermcap/Makefile ] || exit 0; \
30560 r=`${PWD_COMMAND}`; export r; \
30561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30562 $(HOST_EXPORTS) \
30563 for flag in $(EXTRA_HOST_FLAGS) ; do \
30564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30565 done; \
30566 echo "Doing html in libtermcap" ; \
30567 (cd $(HOST_SUBDIR)/libtermcap && \
30568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30570 "RANLIB=$${RANLIB}" \
30571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30572 html) \
30573 || exit 1
30575 @endif libtermcap
30577 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
30578 maybe-TAGS-libtermcap:
30579 @if libtermcap
30580 maybe-TAGS-libtermcap: TAGS-libtermcap
30582 TAGS-libtermcap: \
30583 configure-libtermcap
30584 @: $(MAKE); $(unstage)
30585 @[ -f ./libtermcap/Makefile ] || exit 0; \
30586 r=`${PWD_COMMAND}`; export r; \
30587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30588 $(HOST_EXPORTS) \
30589 for flag in $(EXTRA_HOST_FLAGS) ; do \
30590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30591 done; \
30592 echo "Doing TAGS in libtermcap" ; \
30593 (cd $(HOST_SUBDIR)/libtermcap && \
30594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30596 "RANLIB=$${RANLIB}" \
30597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30598 TAGS) \
30599 || exit 1
30601 @endif libtermcap
30603 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
30604 maybe-install-info-libtermcap:
30605 @if libtermcap
30606 maybe-install-info-libtermcap: install-info-libtermcap
30608 install-info-libtermcap: \
30609 configure-libtermcap \
30610 info-libtermcap
30611 @: $(MAKE); $(unstage)
30612 @[ -f ./libtermcap/Makefile ] || exit 0; \
30613 r=`${PWD_COMMAND}`; export r; \
30614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30615 $(HOST_EXPORTS) \
30616 for flag in $(EXTRA_HOST_FLAGS) ; do \
30617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30618 done; \
30619 echo "Doing install-info in libtermcap" ; \
30620 (cd $(HOST_SUBDIR)/libtermcap && \
30621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30623 "RANLIB=$${RANLIB}" \
30624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30625 install-info) \
30626 || exit 1
30628 @endif libtermcap
30630 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
30631 maybe-install-html-libtermcap:
30632 @if libtermcap
30633 maybe-install-html-libtermcap: install-html-libtermcap
30635 install-html-libtermcap: \
30636 configure-libtermcap \
30637 html-libtermcap
30638 @: $(MAKE); $(unstage)
30639 @[ -f ./libtermcap/Makefile ] || exit 0; \
30640 r=`${PWD_COMMAND}`; export r; \
30641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30642 $(HOST_EXPORTS) \
30643 for flag in $(EXTRA_HOST_FLAGS) ; do \
30644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30645 done; \
30646 echo "Doing install-html in libtermcap" ; \
30647 (cd $(HOST_SUBDIR)/libtermcap && \
30648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30650 "RANLIB=$${RANLIB}" \
30651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30652 install-html) \
30653 || exit 1
30655 @endif libtermcap
30657 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
30658 maybe-installcheck-libtermcap:
30659 @if libtermcap
30660 maybe-installcheck-libtermcap: installcheck-libtermcap
30662 installcheck-libtermcap: \
30663 configure-libtermcap
30664 @: $(MAKE); $(unstage)
30665 @[ -f ./libtermcap/Makefile ] || exit 0; \
30666 r=`${PWD_COMMAND}`; export r; \
30667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30668 $(HOST_EXPORTS) \
30669 for flag in $(EXTRA_HOST_FLAGS) ; do \
30670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30671 done; \
30672 echo "Doing installcheck in libtermcap" ; \
30673 (cd $(HOST_SUBDIR)/libtermcap && \
30674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30676 "RANLIB=$${RANLIB}" \
30677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30678 installcheck) \
30679 || exit 1
30681 @endif libtermcap
30683 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
30684 maybe-mostlyclean-libtermcap:
30685 @if libtermcap
30686 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
30688 # libtermcap doesn't support mostlyclean.
30689 mostlyclean-libtermcap:
30691 @endif libtermcap
30693 .PHONY: maybe-clean-libtermcap clean-libtermcap
30694 maybe-clean-libtermcap:
30695 @if libtermcap
30696 maybe-clean-libtermcap: clean-libtermcap
30698 # libtermcap doesn't support clean.
30699 clean-libtermcap:
30701 @endif libtermcap
30703 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
30704 maybe-distclean-libtermcap:
30705 @if libtermcap
30706 maybe-distclean-libtermcap: distclean-libtermcap
30708 # libtermcap doesn't support distclean.
30709 distclean-libtermcap:
30711 @endif libtermcap
30713 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
30714 maybe-maintainer-clean-libtermcap:
30715 @if libtermcap
30716 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
30718 # libtermcap doesn't support maintainer-clean.
30719 maintainer-clean-libtermcap:
30721 @endif libtermcap
30725 .PHONY: configure-utils maybe-configure-utils
30726 maybe-configure-utils:
30727 @if gcc-bootstrap
30728 configure-utils: stage_current
30729 @endif gcc-bootstrap
30730 @if utils
30731 maybe-configure-utils: configure-utils
30732 configure-utils:
30733 @: $(MAKE); $(unstage)
30734 @r=`${PWD_COMMAND}`; export r; \
30735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30736 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
30737 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
30738 $(HOST_EXPORTS) \
30739 echo Configuring in $(HOST_SUBDIR)/utils; \
30740 cd "$(HOST_SUBDIR)/utils" || exit 1; \
30741 case $(srcdir) in \
30742 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30743 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
30744 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30745 esac; \
30746 srcdiroption="--srcdir=$${topdir}/utils"; \
30747 libsrcdir="$$s/utils"; \
30748 $(SHELL) $${libsrcdir}/configure \
30749 $(HOST_CONFIGARGS) $${srcdiroption} \
30750 || exit 1
30751 @endif utils
30757 .PHONY: all-utils maybe-all-utils
30758 maybe-all-utils:
30759 @if gcc-bootstrap
30760 all-utils: stage_current
30761 @endif gcc-bootstrap
30762 @if utils
30763 TARGET-utils=all
30764 maybe-all-utils: all-utils
30765 all-utils: configure-utils
30766 @: $(MAKE); $(unstage)
30767 @r=`${PWD_COMMAND}`; export r; \
30768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30769 $(HOST_EXPORTS) \
30770 (cd $(HOST_SUBDIR)/utils && \
30771 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
30772 @endif utils
30777 .PHONY: check-utils maybe-check-utils
30778 maybe-check-utils:
30779 @if utils
30780 maybe-check-utils: check-utils
30782 check-utils:
30784 @endif utils
30786 .PHONY: install-utils maybe-install-utils
30787 maybe-install-utils:
30788 @if utils
30789 maybe-install-utils: install-utils
30791 install-utils: installdirs
30792 @: $(MAKE); $(unstage)
30793 @r=`${PWD_COMMAND}`; export r; \
30794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30795 $(HOST_EXPORTS) \
30796 (cd $(HOST_SUBDIR)/utils && \
30797 $(MAKE) $(FLAGS_TO_PASS) install)
30799 @endif utils
30801 # Other targets (info, dvi, etc.)
30803 .PHONY: maybe-info-utils info-utils
30804 maybe-info-utils:
30805 @if utils
30806 maybe-info-utils: info-utils
30808 info-utils: \
30809 configure-utils
30810 @: $(MAKE); $(unstage)
30811 @[ -f ./utils/Makefile ] || exit 0; \
30812 r=`${PWD_COMMAND}`; export r; \
30813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30814 $(HOST_EXPORTS) \
30815 for flag in $(EXTRA_HOST_FLAGS) ; do \
30816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30817 done; \
30818 echo "Doing info in utils" ; \
30819 (cd $(HOST_SUBDIR)/utils && \
30820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30822 "RANLIB=$${RANLIB}" \
30823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30824 info) \
30825 || exit 1
30827 @endif utils
30829 .PHONY: maybe-dvi-utils dvi-utils
30830 maybe-dvi-utils:
30831 @if utils
30832 maybe-dvi-utils: dvi-utils
30834 dvi-utils: \
30835 configure-utils
30836 @: $(MAKE); $(unstage)
30837 @[ -f ./utils/Makefile ] || exit 0; \
30838 r=`${PWD_COMMAND}`; export r; \
30839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30840 $(HOST_EXPORTS) \
30841 for flag in $(EXTRA_HOST_FLAGS) ; do \
30842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30843 done; \
30844 echo "Doing dvi in utils" ; \
30845 (cd $(HOST_SUBDIR)/utils && \
30846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30848 "RANLIB=$${RANLIB}" \
30849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30850 dvi) \
30851 || exit 1
30853 @endif utils
30855 .PHONY: maybe-html-utils html-utils
30856 maybe-html-utils:
30857 @if utils
30858 maybe-html-utils: html-utils
30860 html-utils: \
30861 configure-utils
30862 @: $(MAKE); $(unstage)
30863 @[ -f ./utils/Makefile ] || exit 0; \
30864 r=`${PWD_COMMAND}`; export r; \
30865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30866 $(HOST_EXPORTS) \
30867 for flag in $(EXTRA_HOST_FLAGS) ; do \
30868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30869 done; \
30870 echo "Doing html in utils" ; \
30871 (cd $(HOST_SUBDIR)/utils && \
30872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30874 "RANLIB=$${RANLIB}" \
30875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30876 html) \
30877 || exit 1
30879 @endif utils
30881 .PHONY: maybe-TAGS-utils TAGS-utils
30882 maybe-TAGS-utils:
30883 @if utils
30884 maybe-TAGS-utils: TAGS-utils
30886 TAGS-utils: \
30887 configure-utils
30888 @: $(MAKE); $(unstage)
30889 @[ -f ./utils/Makefile ] || exit 0; \
30890 r=`${PWD_COMMAND}`; export r; \
30891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30892 $(HOST_EXPORTS) \
30893 for flag in $(EXTRA_HOST_FLAGS) ; do \
30894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30895 done; \
30896 echo "Doing TAGS in utils" ; \
30897 (cd $(HOST_SUBDIR)/utils && \
30898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30900 "RANLIB=$${RANLIB}" \
30901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30902 TAGS) \
30903 || exit 1
30905 @endif utils
30907 .PHONY: maybe-install-info-utils install-info-utils
30908 maybe-install-info-utils:
30909 @if utils
30910 maybe-install-info-utils: install-info-utils
30912 install-info-utils: \
30913 configure-utils \
30914 info-utils
30915 @: $(MAKE); $(unstage)
30916 @[ -f ./utils/Makefile ] || exit 0; \
30917 r=`${PWD_COMMAND}`; export r; \
30918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30919 $(HOST_EXPORTS) \
30920 for flag in $(EXTRA_HOST_FLAGS) ; do \
30921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30922 done; \
30923 echo "Doing install-info in utils" ; \
30924 (cd $(HOST_SUBDIR)/utils && \
30925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30927 "RANLIB=$${RANLIB}" \
30928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30929 install-info) \
30930 || exit 1
30932 @endif utils
30934 .PHONY: maybe-install-html-utils install-html-utils
30935 maybe-install-html-utils:
30936 @if utils
30937 maybe-install-html-utils: install-html-utils
30939 install-html-utils: \
30940 configure-utils \
30941 html-utils
30942 @: $(MAKE); $(unstage)
30943 @[ -f ./utils/Makefile ] || exit 0; \
30944 r=`${PWD_COMMAND}`; export r; \
30945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30946 $(HOST_EXPORTS) \
30947 for flag in $(EXTRA_HOST_FLAGS) ; do \
30948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30949 done; \
30950 echo "Doing install-html in utils" ; \
30951 (cd $(HOST_SUBDIR)/utils && \
30952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30954 "RANLIB=$${RANLIB}" \
30955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30956 install-html) \
30957 || exit 1
30959 @endif utils
30961 .PHONY: maybe-installcheck-utils installcheck-utils
30962 maybe-installcheck-utils:
30963 @if utils
30964 maybe-installcheck-utils: installcheck-utils
30966 installcheck-utils: \
30967 configure-utils
30968 @: $(MAKE); $(unstage)
30969 @[ -f ./utils/Makefile ] || exit 0; \
30970 r=`${PWD_COMMAND}`; export r; \
30971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30972 $(HOST_EXPORTS) \
30973 for flag in $(EXTRA_HOST_FLAGS) ; do \
30974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30975 done; \
30976 echo "Doing installcheck in utils" ; \
30977 (cd $(HOST_SUBDIR)/utils && \
30978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30980 "RANLIB=$${RANLIB}" \
30981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30982 installcheck) \
30983 || exit 1
30985 @endif utils
30987 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
30988 maybe-mostlyclean-utils:
30989 @if utils
30990 maybe-mostlyclean-utils: mostlyclean-utils
30992 mostlyclean-utils:
30993 @: $(MAKE); $(unstage)
30994 @[ -f ./utils/Makefile ] || exit 0; \
30995 r=`${PWD_COMMAND}`; export r; \
30996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30997 $(HOST_EXPORTS) \
30998 for flag in $(EXTRA_HOST_FLAGS) ; do \
30999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31000 done; \
31001 echo "Doing mostlyclean in utils" ; \
31002 (cd $(HOST_SUBDIR)/utils && \
31003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31005 "RANLIB=$${RANLIB}" \
31006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31007 mostlyclean) \
31008 || exit 1
31010 @endif utils
31012 .PHONY: maybe-clean-utils clean-utils
31013 maybe-clean-utils:
31014 @if utils
31015 maybe-clean-utils: clean-utils
31017 clean-utils:
31018 @: $(MAKE); $(unstage)
31019 @[ -f ./utils/Makefile ] || exit 0; \
31020 r=`${PWD_COMMAND}`; export r; \
31021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31022 $(HOST_EXPORTS) \
31023 for flag in $(EXTRA_HOST_FLAGS) ; do \
31024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31025 done; \
31026 echo "Doing clean in utils" ; \
31027 (cd $(HOST_SUBDIR)/utils && \
31028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31030 "RANLIB=$${RANLIB}" \
31031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31032 clean) \
31033 || exit 1
31035 @endif utils
31037 .PHONY: maybe-distclean-utils distclean-utils
31038 maybe-distclean-utils:
31039 @if utils
31040 maybe-distclean-utils: distclean-utils
31042 distclean-utils:
31043 @: $(MAKE); $(unstage)
31044 @[ -f ./utils/Makefile ] || exit 0; \
31045 r=`${PWD_COMMAND}`; export r; \
31046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31047 $(HOST_EXPORTS) \
31048 for flag in $(EXTRA_HOST_FLAGS) ; do \
31049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31050 done; \
31051 echo "Doing distclean in utils" ; \
31052 (cd $(HOST_SUBDIR)/utils && \
31053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31055 "RANLIB=$${RANLIB}" \
31056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31057 distclean) \
31058 || exit 1
31060 @endif utils
31062 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
31063 maybe-maintainer-clean-utils:
31064 @if utils
31065 maybe-maintainer-clean-utils: maintainer-clean-utils
31067 maintainer-clean-utils:
31068 @: $(MAKE); $(unstage)
31069 @[ -f ./utils/Makefile ] || exit 0; \
31070 r=`${PWD_COMMAND}`; export r; \
31071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31072 $(HOST_EXPORTS) \
31073 for flag in $(EXTRA_HOST_FLAGS) ; do \
31074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31075 done; \
31076 echo "Doing maintainer-clean in utils" ; \
31077 (cd $(HOST_SUBDIR)/utils && \
31078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31080 "RANLIB=$${RANLIB}" \
31081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31082 maintainer-clean) \
31083 || exit 1
31085 @endif utils
31089 .PHONY: configure-gnattools maybe-configure-gnattools
31090 maybe-configure-gnattools:
31091 @if gcc-bootstrap
31092 configure-gnattools: stage_current
31093 @endif gcc-bootstrap
31094 @if gnattools
31095 maybe-configure-gnattools: configure-gnattools
31096 configure-gnattools:
31097 @: $(MAKE); $(unstage)
31098 @r=`${PWD_COMMAND}`; export r; \
31099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31100 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
31101 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
31102 $(HOST_EXPORTS) \
31103 echo Configuring in $(HOST_SUBDIR)/gnattools; \
31104 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
31105 case $(srcdir) in \
31106 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31107 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
31108 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31109 esac; \
31110 srcdiroption="--srcdir=$${topdir}/gnattools"; \
31111 libsrcdir="$$s/gnattools"; \
31112 $(SHELL) $${libsrcdir}/configure \
31113 $(HOST_CONFIGARGS) $${srcdiroption} \
31114 || exit 1
31115 @endif gnattools
31121 .PHONY: all-gnattools maybe-all-gnattools
31122 maybe-all-gnattools:
31123 @if gcc-bootstrap
31124 all-gnattools: stage_current
31125 @endif gcc-bootstrap
31126 @if gnattools
31127 TARGET-gnattools=all
31128 maybe-all-gnattools: all-gnattools
31129 all-gnattools: configure-gnattools
31130 @: $(MAKE); $(unstage)
31131 @r=`${PWD_COMMAND}`; export r; \
31132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31133 $(HOST_EXPORTS) \
31134 (cd $(HOST_SUBDIR)/gnattools && \
31135 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
31136 @endif gnattools
31141 .PHONY: check-gnattools maybe-check-gnattools
31142 maybe-check-gnattools:
31143 @if gnattools
31144 maybe-check-gnattools: check-gnattools
31146 check-gnattools:
31147 @: $(MAKE); $(unstage)
31148 @r=`${PWD_COMMAND}`; export r; \
31149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31150 $(HOST_EXPORTS) \
31151 (cd $(HOST_SUBDIR)/gnattools && \
31152 $(MAKE) $(FLAGS_TO_PASS) check)
31154 @endif gnattools
31156 .PHONY: install-gnattools maybe-install-gnattools
31157 maybe-install-gnattools:
31158 @if gnattools
31159 maybe-install-gnattools: install-gnattools
31161 install-gnattools: installdirs
31162 @: $(MAKE); $(unstage)
31163 @r=`${PWD_COMMAND}`; export r; \
31164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31165 $(HOST_EXPORTS) \
31166 (cd $(HOST_SUBDIR)/gnattools && \
31167 $(MAKE) $(FLAGS_TO_PASS) install)
31169 @endif gnattools
31171 # Other targets (info, dvi, etc.)
31173 .PHONY: maybe-info-gnattools info-gnattools
31174 maybe-info-gnattools:
31175 @if gnattools
31176 maybe-info-gnattools: info-gnattools
31178 info-gnattools: \
31179 configure-gnattools
31180 @: $(MAKE); $(unstage)
31181 @[ -f ./gnattools/Makefile ] || exit 0; \
31182 r=`${PWD_COMMAND}`; export r; \
31183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31184 $(HOST_EXPORTS) \
31185 for flag in $(EXTRA_HOST_FLAGS) ; do \
31186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31187 done; \
31188 echo "Doing info in gnattools" ; \
31189 (cd $(HOST_SUBDIR)/gnattools && \
31190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31192 "RANLIB=$${RANLIB}" \
31193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31194 info) \
31195 || exit 1
31197 @endif gnattools
31199 .PHONY: maybe-dvi-gnattools dvi-gnattools
31200 maybe-dvi-gnattools:
31201 @if gnattools
31202 maybe-dvi-gnattools: dvi-gnattools
31204 dvi-gnattools: \
31205 configure-gnattools
31206 @: $(MAKE); $(unstage)
31207 @[ -f ./gnattools/Makefile ] || exit 0; \
31208 r=`${PWD_COMMAND}`; export r; \
31209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31210 $(HOST_EXPORTS) \
31211 for flag in $(EXTRA_HOST_FLAGS) ; do \
31212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31213 done; \
31214 echo "Doing dvi in gnattools" ; \
31215 (cd $(HOST_SUBDIR)/gnattools && \
31216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31218 "RANLIB=$${RANLIB}" \
31219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31220 dvi) \
31221 || exit 1
31223 @endif gnattools
31225 .PHONY: maybe-html-gnattools html-gnattools
31226 maybe-html-gnattools:
31227 @if gnattools
31228 maybe-html-gnattools: html-gnattools
31230 html-gnattools: \
31231 configure-gnattools
31232 @: $(MAKE); $(unstage)
31233 @[ -f ./gnattools/Makefile ] || exit 0; \
31234 r=`${PWD_COMMAND}`; export r; \
31235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31236 $(HOST_EXPORTS) \
31237 for flag in $(EXTRA_HOST_FLAGS) ; do \
31238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31239 done; \
31240 echo "Doing html in gnattools" ; \
31241 (cd $(HOST_SUBDIR)/gnattools && \
31242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31244 "RANLIB=$${RANLIB}" \
31245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31246 html) \
31247 || exit 1
31249 @endif gnattools
31251 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
31252 maybe-TAGS-gnattools:
31253 @if gnattools
31254 maybe-TAGS-gnattools: TAGS-gnattools
31256 TAGS-gnattools: \
31257 configure-gnattools
31258 @: $(MAKE); $(unstage)
31259 @[ -f ./gnattools/Makefile ] || exit 0; \
31260 r=`${PWD_COMMAND}`; export r; \
31261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31262 $(HOST_EXPORTS) \
31263 for flag in $(EXTRA_HOST_FLAGS) ; do \
31264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31265 done; \
31266 echo "Doing TAGS in gnattools" ; \
31267 (cd $(HOST_SUBDIR)/gnattools && \
31268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31270 "RANLIB=$${RANLIB}" \
31271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31272 TAGS) \
31273 || exit 1
31275 @endif gnattools
31277 .PHONY: maybe-install-info-gnattools install-info-gnattools
31278 maybe-install-info-gnattools:
31279 @if gnattools
31280 maybe-install-info-gnattools: install-info-gnattools
31282 install-info-gnattools: \
31283 configure-gnattools \
31284 info-gnattools
31285 @: $(MAKE); $(unstage)
31286 @[ -f ./gnattools/Makefile ] || exit 0; \
31287 r=`${PWD_COMMAND}`; export r; \
31288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31289 $(HOST_EXPORTS) \
31290 for flag in $(EXTRA_HOST_FLAGS) ; do \
31291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31292 done; \
31293 echo "Doing install-info in gnattools" ; \
31294 (cd $(HOST_SUBDIR)/gnattools && \
31295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31297 "RANLIB=$${RANLIB}" \
31298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31299 install-info) \
31300 || exit 1
31302 @endif gnattools
31304 .PHONY: maybe-install-html-gnattools install-html-gnattools
31305 maybe-install-html-gnattools:
31306 @if gnattools
31307 maybe-install-html-gnattools: install-html-gnattools
31309 install-html-gnattools: \
31310 configure-gnattools \
31311 html-gnattools
31312 @: $(MAKE); $(unstage)
31313 @[ -f ./gnattools/Makefile ] || exit 0; \
31314 r=`${PWD_COMMAND}`; export r; \
31315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31316 $(HOST_EXPORTS) \
31317 for flag in $(EXTRA_HOST_FLAGS) ; do \
31318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31319 done; \
31320 echo "Doing install-html in gnattools" ; \
31321 (cd $(HOST_SUBDIR)/gnattools && \
31322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31324 "RANLIB=$${RANLIB}" \
31325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31326 install-html) \
31327 || exit 1
31329 @endif gnattools
31331 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
31332 maybe-installcheck-gnattools:
31333 @if gnattools
31334 maybe-installcheck-gnattools: installcheck-gnattools
31336 installcheck-gnattools: \
31337 configure-gnattools
31338 @: $(MAKE); $(unstage)
31339 @[ -f ./gnattools/Makefile ] || exit 0; \
31340 r=`${PWD_COMMAND}`; export r; \
31341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31342 $(HOST_EXPORTS) \
31343 for flag in $(EXTRA_HOST_FLAGS) ; do \
31344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31345 done; \
31346 echo "Doing installcheck in gnattools" ; \
31347 (cd $(HOST_SUBDIR)/gnattools && \
31348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31350 "RANLIB=$${RANLIB}" \
31351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31352 installcheck) \
31353 || exit 1
31355 @endif gnattools
31357 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
31358 maybe-mostlyclean-gnattools:
31359 @if gnattools
31360 maybe-mostlyclean-gnattools: mostlyclean-gnattools
31362 mostlyclean-gnattools:
31363 @: $(MAKE); $(unstage)
31364 @[ -f ./gnattools/Makefile ] || exit 0; \
31365 r=`${PWD_COMMAND}`; export r; \
31366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31367 $(HOST_EXPORTS) \
31368 for flag in $(EXTRA_HOST_FLAGS) ; do \
31369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31370 done; \
31371 echo "Doing mostlyclean in gnattools" ; \
31372 (cd $(HOST_SUBDIR)/gnattools && \
31373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31375 "RANLIB=$${RANLIB}" \
31376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31377 mostlyclean) \
31378 || exit 1
31380 @endif gnattools
31382 .PHONY: maybe-clean-gnattools clean-gnattools
31383 maybe-clean-gnattools:
31384 @if gnattools
31385 maybe-clean-gnattools: clean-gnattools
31387 clean-gnattools:
31388 @: $(MAKE); $(unstage)
31389 @[ -f ./gnattools/Makefile ] || exit 0; \
31390 r=`${PWD_COMMAND}`; export r; \
31391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31392 $(HOST_EXPORTS) \
31393 for flag in $(EXTRA_HOST_FLAGS) ; do \
31394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31395 done; \
31396 echo "Doing clean in gnattools" ; \
31397 (cd $(HOST_SUBDIR)/gnattools && \
31398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31400 "RANLIB=$${RANLIB}" \
31401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31402 clean) \
31403 || exit 1
31405 @endif gnattools
31407 .PHONY: maybe-distclean-gnattools distclean-gnattools
31408 maybe-distclean-gnattools:
31409 @if gnattools
31410 maybe-distclean-gnattools: distclean-gnattools
31412 distclean-gnattools:
31413 @: $(MAKE); $(unstage)
31414 @[ -f ./gnattools/Makefile ] || exit 0; \
31415 r=`${PWD_COMMAND}`; export r; \
31416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31417 $(HOST_EXPORTS) \
31418 for flag in $(EXTRA_HOST_FLAGS) ; do \
31419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31420 done; \
31421 echo "Doing distclean in gnattools" ; \
31422 (cd $(HOST_SUBDIR)/gnattools && \
31423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31425 "RANLIB=$${RANLIB}" \
31426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31427 distclean) \
31428 || exit 1
31430 @endif gnattools
31432 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
31433 maybe-maintainer-clean-gnattools:
31434 @if gnattools
31435 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
31437 maintainer-clean-gnattools:
31438 @: $(MAKE); $(unstage)
31439 @[ -f ./gnattools/Makefile ] || exit 0; \
31440 r=`${PWD_COMMAND}`; export r; \
31441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31442 $(HOST_EXPORTS) \
31443 for flag in $(EXTRA_HOST_FLAGS) ; do \
31444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31445 done; \
31446 echo "Doing maintainer-clean in gnattools" ; \
31447 (cd $(HOST_SUBDIR)/gnattools && \
31448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31450 "RANLIB=$${RANLIB}" \
31451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31452 maintainer-clean) \
31453 || exit 1
31455 @endif gnattools
31459 # ---------------------------------------
31460 # Modules which run on the target machine
31461 # ---------------------------------------
31466 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
31467 maybe-configure-target-libstdc++-v3:
31468 @if gcc-bootstrap
31469 configure-target-libstdc++-v3: stage_current
31470 @endif gcc-bootstrap
31471 @if target-libstdc++-v3
31472 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
31473 configure-target-libstdc++-v3:
31474 @: $(MAKE); $(unstage)
31475 @r=`${PWD_COMMAND}`; export r; \
31476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31477 echo "Checking multilib configuration for libstdc++-v3..."; \
31478 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31479 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31480 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31481 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31482 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31483 else \
31484 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31485 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31486 fi; \
31487 else \
31488 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31489 fi; \
31490 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31491 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31492 $(RAW_CXX_TARGET_EXPORTS) \
31493 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
31494 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
31495 case $(srcdir) in \
31496 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31497 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31498 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31499 esac; \
31500 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31501 libsrcdir="$$s/libstdc++-v3"; \
31502 rm -f no-such-file || : ; \
31503 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31504 $(TARGET_CONFIGARGS) $${srcdiroption} \
31505 || exit 1
31506 @endif target-libstdc++-v3
31512 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
31513 maybe-all-target-libstdc++-v3:
31514 @if gcc-bootstrap
31515 all-target-libstdc++-v3: stage_current
31516 @endif gcc-bootstrap
31517 @if target-libstdc++-v3
31518 TARGET-target-libstdc++-v3=all
31519 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
31520 all-target-libstdc++-v3: configure-target-libstdc++-v3
31521 @: $(MAKE); $(unstage)
31522 @r=`${PWD_COMMAND}`; export r; \
31523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31524 $(RAW_CXX_TARGET_EXPORTS) \
31525 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31526 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
31527 @endif target-libstdc++-v3
31533 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
31534 maybe-check-target-libstdc++-v3:
31535 @if target-libstdc++-v3
31536 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
31538 check-target-libstdc++-v3:
31539 @: $(MAKE); $(unstage)
31540 @r=`${PWD_COMMAND}`; export r; \
31541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31542 $(RAW_CXX_TARGET_EXPORTS) \
31543 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31544 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
31546 @endif target-libstdc++-v3
31548 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
31549 maybe-install-target-libstdc++-v3:
31550 @if target-libstdc++-v3
31551 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
31553 install-target-libstdc++-v3: installdirs
31554 @: $(MAKE); $(unstage)
31555 @r=`${PWD_COMMAND}`; export r; \
31556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31557 $(RAW_CXX_TARGET_EXPORTS) \
31558 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31559 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31561 @endif target-libstdc++-v3
31563 # Other targets (info, dvi, etc.)
31565 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
31566 maybe-info-target-libstdc++-v3:
31567 @if target-libstdc++-v3
31568 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
31570 info-target-libstdc++-v3: \
31571 configure-target-libstdc++-v3
31572 @: $(MAKE); $(unstage)
31573 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31574 r=`${PWD_COMMAND}`; export r; \
31575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31576 $(RAW_CXX_TARGET_EXPORTS) \
31577 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31578 for flag in $(EXTRA_TARGET_FLAGS); do \
31579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31580 done; \
31581 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31584 "RANLIB=$${RANLIB}" \
31585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31586 info) \
31587 || exit 1
31589 @endif target-libstdc++-v3
31591 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
31592 maybe-dvi-target-libstdc++-v3:
31593 @if target-libstdc++-v3
31594 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
31596 dvi-target-libstdc++-v3: \
31597 configure-target-libstdc++-v3
31598 @: $(MAKE); $(unstage)
31599 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31600 r=`${PWD_COMMAND}`; export r; \
31601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31602 $(RAW_CXX_TARGET_EXPORTS) \
31603 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31604 for flag in $(EXTRA_TARGET_FLAGS); do \
31605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31606 done; \
31607 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31610 "RANLIB=$${RANLIB}" \
31611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31612 dvi) \
31613 || exit 1
31615 @endif target-libstdc++-v3
31617 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
31618 maybe-html-target-libstdc++-v3:
31619 @if target-libstdc++-v3
31620 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
31622 html-target-libstdc++-v3: \
31623 configure-target-libstdc++-v3
31624 @: $(MAKE); $(unstage)
31625 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31626 r=`${PWD_COMMAND}`; export r; \
31627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31628 $(RAW_CXX_TARGET_EXPORTS) \
31629 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31630 for flag in $(EXTRA_TARGET_FLAGS); do \
31631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31632 done; \
31633 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31636 "RANLIB=$${RANLIB}" \
31637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31638 html) \
31639 || exit 1
31641 @endif target-libstdc++-v3
31643 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
31644 maybe-TAGS-target-libstdc++-v3:
31645 @if target-libstdc++-v3
31646 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
31648 TAGS-target-libstdc++-v3: \
31649 configure-target-libstdc++-v3
31650 @: $(MAKE); $(unstage)
31651 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31652 r=`${PWD_COMMAND}`; export r; \
31653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31654 $(RAW_CXX_TARGET_EXPORTS) \
31655 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31656 for flag in $(EXTRA_TARGET_FLAGS); do \
31657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31658 done; \
31659 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31662 "RANLIB=$${RANLIB}" \
31663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31664 TAGS) \
31665 || exit 1
31667 @endif target-libstdc++-v3
31669 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
31670 maybe-install-info-target-libstdc++-v3:
31671 @if target-libstdc++-v3
31672 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
31674 install-info-target-libstdc++-v3: \
31675 configure-target-libstdc++-v3 \
31676 info-target-libstdc++-v3
31677 @: $(MAKE); $(unstage)
31678 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31679 r=`${PWD_COMMAND}`; export r; \
31680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31681 $(RAW_CXX_TARGET_EXPORTS) \
31682 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31683 for flag in $(EXTRA_TARGET_FLAGS); do \
31684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31685 done; \
31686 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31689 "RANLIB=$${RANLIB}" \
31690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31691 install-info) \
31692 || exit 1
31694 @endif target-libstdc++-v3
31696 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
31697 maybe-install-html-target-libstdc++-v3:
31698 @if target-libstdc++-v3
31699 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
31701 install-html-target-libstdc++-v3: \
31702 configure-target-libstdc++-v3 \
31703 html-target-libstdc++-v3
31704 @: $(MAKE); $(unstage)
31705 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31706 r=`${PWD_COMMAND}`; export r; \
31707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31708 $(RAW_CXX_TARGET_EXPORTS) \
31709 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31710 for flag in $(EXTRA_TARGET_FLAGS); do \
31711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31712 done; \
31713 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31716 "RANLIB=$${RANLIB}" \
31717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31718 install-html) \
31719 || exit 1
31721 @endif target-libstdc++-v3
31723 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
31724 maybe-installcheck-target-libstdc++-v3:
31725 @if target-libstdc++-v3
31726 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
31728 installcheck-target-libstdc++-v3: \
31729 configure-target-libstdc++-v3
31730 @: $(MAKE); $(unstage)
31731 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31732 r=`${PWD_COMMAND}`; export r; \
31733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31734 $(RAW_CXX_TARGET_EXPORTS) \
31735 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31736 for flag in $(EXTRA_TARGET_FLAGS); do \
31737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31738 done; \
31739 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31742 "RANLIB=$${RANLIB}" \
31743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31744 installcheck) \
31745 || exit 1
31747 @endif target-libstdc++-v3
31749 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
31750 maybe-mostlyclean-target-libstdc++-v3:
31751 @if target-libstdc++-v3
31752 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
31754 mostlyclean-target-libstdc++-v3:
31755 @: $(MAKE); $(unstage)
31756 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31757 r=`${PWD_COMMAND}`; export r; \
31758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31759 $(RAW_CXX_TARGET_EXPORTS) \
31760 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31761 for flag in $(EXTRA_TARGET_FLAGS); do \
31762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31763 done; \
31764 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31767 "RANLIB=$${RANLIB}" \
31768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31769 mostlyclean) \
31770 || exit 1
31772 @endif target-libstdc++-v3
31774 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
31775 maybe-clean-target-libstdc++-v3:
31776 @if target-libstdc++-v3
31777 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
31779 clean-target-libstdc++-v3:
31780 @: $(MAKE); $(unstage)
31781 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31782 r=`${PWD_COMMAND}`; export r; \
31783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31784 $(RAW_CXX_TARGET_EXPORTS) \
31785 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31786 for flag in $(EXTRA_TARGET_FLAGS); do \
31787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31788 done; \
31789 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31792 "RANLIB=$${RANLIB}" \
31793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31794 clean) \
31795 || exit 1
31797 @endif target-libstdc++-v3
31799 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
31800 maybe-distclean-target-libstdc++-v3:
31801 @if target-libstdc++-v3
31802 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
31804 distclean-target-libstdc++-v3:
31805 @: $(MAKE); $(unstage)
31806 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31807 r=`${PWD_COMMAND}`; export r; \
31808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31809 $(RAW_CXX_TARGET_EXPORTS) \
31810 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31811 for flag in $(EXTRA_TARGET_FLAGS); do \
31812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31813 done; \
31814 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31817 "RANLIB=$${RANLIB}" \
31818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31819 distclean) \
31820 || exit 1
31822 @endif target-libstdc++-v3
31824 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
31825 maybe-maintainer-clean-target-libstdc++-v3:
31826 @if target-libstdc++-v3
31827 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
31829 maintainer-clean-target-libstdc++-v3:
31830 @: $(MAKE); $(unstage)
31831 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31832 r=`${PWD_COMMAND}`; export r; \
31833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31834 $(RAW_CXX_TARGET_EXPORTS) \
31835 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31836 for flag in $(EXTRA_TARGET_FLAGS); do \
31837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31838 done; \
31839 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31842 "RANLIB=$${RANLIB}" \
31843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31844 maintainer-clean) \
31845 || exit 1
31847 @endif target-libstdc++-v3
31853 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
31854 maybe-configure-target-libmudflap:
31855 @if gcc-bootstrap
31856 configure-target-libmudflap: stage_current
31857 @endif gcc-bootstrap
31858 @if target-libmudflap
31859 maybe-configure-target-libmudflap: configure-target-libmudflap
31860 configure-target-libmudflap:
31861 @: $(MAKE); $(unstage)
31862 @r=`${PWD_COMMAND}`; export r; \
31863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31864 echo "Checking multilib configuration for libmudflap..."; \
31865 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
31866 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
31867 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
31868 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
31869 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
31870 else \
31871 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
31872 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
31873 fi; \
31874 else \
31875 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
31876 fi; \
31877 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
31878 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
31879 $(NORMAL_TARGET_EXPORTS) \
31880 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
31881 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
31882 case $(srcdir) in \
31883 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31884 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
31885 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31886 esac; \
31887 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
31888 libsrcdir="$$s/libmudflap"; \
31889 rm -f no-such-file || : ; \
31890 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31891 $(TARGET_CONFIGARGS) $${srcdiroption} \
31892 || exit 1
31893 @endif target-libmudflap
31899 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
31900 maybe-all-target-libmudflap:
31901 @if gcc-bootstrap
31902 all-target-libmudflap: stage_current
31903 @endif gcc-bootstrap
31904 @if target-libmudflap
31905 TARGET-target-libmudflap=all
31906 maybe-all-target-libmudflap: all-target-libmudflap
31907 all-target-libmudflap: configure-target-libmudflap
31908 @: $(MAKE); $(unstage)
31909 @r=`${PWD_COMMAND}`; export r; \
31910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31911 $(NORMAL_TARGET_EXPORTS) \
31912 (cd $(TARGET_SUBDIR)/libmudflap && \
31913 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
31914 @endif target-libmudflap
31920 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
31921 maybe-check-target-libmudflap:
31922 @if target-libmudflap
31923 maybe-check-target-libmudflap: check-target-libmudflap
31925 check-target-libmudflap:
31926 @: $(MAKE); $(unstage)
31927 @r=`${PWD_COMMAND}`; export r; \
31928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31929 $(NORMAL_TARGET_EXPORTS) \
31930 (cd $(TARGET_SUBDIR)/libmudflap && \
31931 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31933 @endif target-libmudflap
31935 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
31936 maybe-install-target-libmudflap:
31937 @if target-libmudflap
31938 maybe-install-target-libmudflap: install-target-libmudflap
31940 install-target-libmudflap: installdirs
31941 @: $(MAKE); $(unstage)
31942 @r=`${PWD_COMMAND}`; export r; \
31943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31944 $(NORMAL_TARGET_EXPORTS) \
31945 (cd $(TARGET_SUBDIR)/libmudflap && \
31946 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31948 @endif target-libmudflap
31950 # Other targets (info, dvi, etc.)
31952 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
31953 maybe-info-target-libmudflap:
31954 @if target-libmudflap
31955 maybe-info-target-libmudflap: info-target-libmudflap
31957 info-target-libmudflap: \
31958 configure-target-libmudflap
31959 @: $(MAKE); $(unstage)
31960 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31961 r=`${PWD_COMMAND}`; export r; \
31962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31963 $(NORMAL_TARGET_EXPORTS) \
31964 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
31965 for flag in $(EXTRA_TARGET_FLAGS); do \
31966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31967 done; \
31968 (cd $(TARGET_SUBDIR)/libmudflap && \
31969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31971 "RANLIB=$${RANLIB}" \
31972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31973 info) \
31974 || exit 1
31976 @endif target-libmudflap
31978 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
31979 maybe-dvi-target-libmudflap:
31980 @if target-libmudflap
31981 maybe-dvi-target-libmudflap: dvi-target-libmudflap
31983 dvi-target-libmudflap: \
31984 configure-target-libmudflap
31985 @: $(MAKE); $(unstage)
31986 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31987 r=`${PWD_COMMAND}`; export r; \
31988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31989 $(NORMAL_TARGET_EXPORTS) \
31990 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
31991 for flag in $(EXTRA_TARGET_FLAGS); do \
31992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31993 done; \
31994 (cd $(TARGET_SUBDIR)/libmudflap && \
31995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31997 "RANLIB=$${RANLIB}" \
31998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31999 dvi) \
32000 || exit 1
32002 @endif target-libmudflap
32004 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
32005 maybe-html-target-libmudflap:
32006 @if target-libmudflap
32007 maybe-html-target-libmudflap: html-target-libmudflap
32009 html-target-libmudflap: \
32010 configure-target-libmudflap
32011 @: $(MAKE); $(unstage)
32012 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32013 r=`${PWD_COMMAND}`; export r; \
32014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32015 $(NORMAL_TARGET_EXPORTS) \
32016 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
32017 for flag in $(EXTRA_TARGET_FLAGS); do \
32018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32019 done; \
32020 (cd $(TARGET_SUBDIR)/libmudflap && \
32021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32023 "RANLIB=$${RANLIB}" \
32024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32025 html) \
32026 || exit 1
32028 @endif target-libmudflap
32030 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
32031 maybe-TAGS-target-libmudflap:
32032 @if target-libmudflap
32033 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
32035 TAGS-target-libmudflap: \
32036 configure-target-libmudflap
32037 @: $(MAKE); $(unstage)
32038 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32039 r=`${PWD_COMMAND}`; export r; \
32040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32041 $(NORMAL_TARGET_EXPORTS) \
32042 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
32043 for flag in $(EXTRA_TARGET_FLAGS); do \
32044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32045 done; \
32046 (cd $(TARGET_SUBDIR)/libmudflap && \
32047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32049 "RANLIB=$${RANLIB}" \
32050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32051 TAGS) \
32052 || exit 1
32054 @endif target-libmudflap
32056 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
32057 maybe-install-info-target-libmudflap:
32058 @if target-libmudflap
32059 maybe-install-info-target-libmudflap: install-info-target-libmudflap
32061 install-info-target-libmudflap: \
32062 configure-target-libmudflap \
32063 info-target-libmudflap
32064 @: $(MAKE); $(unstage)
32065 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32066 r=`${PWD_COMMAND}`; export r; \
32067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32068 $(NORMAL_TARGET_EXPORTS) \
32069 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
32070 for flag in $(EXTRA_TARGET_FLAGS); do \
32071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32072 done; \
32073 (cd $(TARGET_SUBDIR)/libmudflap && \
32074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32076 "RANLIB=$${RANLIB}" \
32077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32078 install-info) \
32079 || exit 1
32081 @endif target-libmudflap
32083 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
32084 maybe-install-html-target-libmudflap:
32085 @if target-libmudflap
32086 maybe-install-html-target-libmudflap: install-html-target-libmudflap
32088 install-html-target-libmudflap: \
32089 configure-target-libmudflap \
32090 html-target-libmudflap
32091 @: $(MAKE); $(unstage)
32092 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32093 r=`${PWD_COMMAND}`; export r; \
32094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32095 $(NORMAL_TARGET_EXPORTS) \
32096 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
32097 for flag in $(EXTRA_TARGET_FLAGS); do \
32098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32099 done; \
32100 (cd $(TARGET_SUBDIR)/libmudflap && \
32101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32103 "RANLIB=$${RANLIB}" \
32104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32105 install-html) \
32106 || exit 1
32108 @endif target-libmudflap
32110 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
32111 maybe-installcheck-target-libmudflap:
32112 @if target-libmudflap
32113 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
32115 installcheck-target-libmudflap: \
32116 configure-target-libmudflap
32117 @: $(MAKE); $(unstage)
32118 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32119 r=`${PWD_COMMAND}`; export r; \
32120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32121 $(NORMAL_TARGET_EXPORTS) \
32122 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
32123 for flag in $(EXTRA_TARGET_FLAGS); do \
32124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32125 done; \
32126 (cd $(TARGET_SUBDIR)/libmudflap && \
32127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32129 "RANLIB=$${RANLIB}" \
32130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32131 installcheck) \
32132 || exit 1
32134 @endif target-libmudflap
32136 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
32137 maybe-mostlyclean-target-libmudflap:
32138 @if target-libmudflap
32139 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
32141 mostlyclean-target-libmudflap:
32142 @: $(MAKE); $(unstage)
32143 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32144 r=`${PWD_COMMAND}`; export r; \
32145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32146 $(NORMAL_TARGET_EXPORTS) \
32147 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
32148 for flag in $(EXTRA_TARGET_FLAGS); do \
32149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32150 done; \
32151 (cd $(TARGET_SUBDIR)/libmudflap && \
32152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32154 "RANLIB=$${RANLIB}" \
32155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32156 mostlyclean) \
32157 || exit 1
32159 @endif target-libmudflap
32161 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
32162 maybe-clean-target-libmudflap:
32163 @if target-libmudflap
32164 maybe-clean-target-libmudflap: clean-target-libmudflap
32166 clean-target-libmudflap:
32167 @: $(MAKE); $(unstage)
32168 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32169 r=`${PWD_COMMAND}`; export r; \
32170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32171 $(NORMAL_TARGET_EXPORTS) \
32172 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
32173 for flag in $(EXTRA_TARGET_FLAGS); do \
32174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32175 done; \
32176 (cd $(TARGET_SUBDIR)/libmudflap && \
32177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32179 "RANLIB=$${RANLIB}" \
32180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32181 clean) \
32182 || exit 1
32184 @endif target-libmudflap
32186 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
32187 maybe-distclean-target-libmudflap:
32188 @if target-libmudflap
32189 maybe-distclean-target-libmudflap: distclean-target-libmudflap
32191 distclean-target-libmudflap:
32192 @: $(MAKE); $(unstage)
32193 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32194 r=`${PWD_COMMAND}`; export r; \
32195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32196 $(NORMAL_TARGET_EXPORTS) \
32197 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
32198 for flag in $(EXTRA_TARGET_FLAGS); do \
32199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32200 done; \
32201 (cd $(TARGET_SUBDIR)/libmudflap && \
32202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32204 "RANLIB=$${RANLIB}" \
32205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32206 distclean) \
32207 || exit 1
32209 @endif target-libmudflap
32211 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
32212 maybe-maintainer-clean-target-libmudflap:
32213 @if target-libmudflap
32214 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
32216 maintainer-clean-target-libmudflap:
32217 @: $(MAKE); $(unstage)
32218 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32219 r=`${PWD_COMMAND}`; export r; \
32220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32221 $(NORMAL_TARGET_EXPORTS) \
32222 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
32223 for flag in $(EXTRA_TARGET_FLAGS); do \
32224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32225 done; \
32226 (cd $(TARGET_SUBDIR)/libmudflap && \
32227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32229 "RANLIB=$${RANLIB}" \
32230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32231 maintainer-clean) \
32232 || exit 1
32234 @endif target-libmudflap
32240 .PHONY: configure-target-libssp maybe-configure-target-libssp
32241 maybe-configure-target-libssp:
32242 @if gcc-bootstrap
32243 configure-target-libssp: stage_current
32244 @endif gcc-bootstrap
32245 @if target-libssp
32246 maybe-configure-target-libssp: configure-target-libssp
32247 configure-target-libssp:
32248 @: $(MAKE); $(unstage)
32249 @r=`${PWD_COMMAND}`; export r; \
32250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32251 echo "Checking multilib configuration for libssp..."; \
32252 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
32253 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
32254 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
32255 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
32256 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
32257 else \
32258 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
32259 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
32260 fi; \
32261 else \
32262 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
32263 fi; \
32264 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
32265 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
32266 $(NORMAL_TARGET_EXPORTS) \
32267 echo Configuring in $(TARGET_SUBDIR)/libssp; \
32268 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
32269 case $(srcdir) in \
32270 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32271 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
32272 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32273 esac; \
32274 srcdiroption="--srcdir=$${topdir}/libssp"; \
32275 libsrcdir="$$s/libssp"; \
32276 rm -f no-such-file || : ; \
32277 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32278 $(TARGET_CONFIGARGS) $${srcdiroption} \
32279 || exit 1
32280 @endif target-libssp
32286 .PHONY: all-target-libssp maybe-all-target-libssp
32287 maybe-all-target-libssp:
32288 @if gcc-bootstrap
32289 all-target-libssp: stage_current
32290 @endif gcc-bootstrap
32291 @if target-libssp
32292 TARGET-target-libssp=all
32293 maybe-all-target-libssp: all-target-libssp
32294 all-target-libssp: configure-target-libssp
32295 @: $(MAKE); $(unstage)
32296 @r=`${PWD_COMMAND}`; export r; \
32297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32298 $(NORMAL_TARGET_EXPORTS) \
32299 (cd $(TARGET_SUBDIR)/libssp && \
32300 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
32301 @endif target-libssp
32307 .PHONY: check-target-libssp maybe-check-target-libssp
32308 maybe-check-target-libssp:
32309 @if target-libssp
32310 maybe-check-target-libssp: check-target-libssp
32312 check-target-libssp:
32313 @: $(MAKE); $(unstage)
32314 @r=`${PWD_COMMAND}`; export r; \
32315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32316 $(NORMAL_TARGET_EXPORTS) \
32317 (cd $(TARGET_SUBDIR)/libssp && \
32318 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32320 @endif target-libssp
32322 .PHONY: install-target-libssp maybe-install-target-libssp
32323 maybe-install-target-libssp:
32324 @if target-libssp
32325 maybe-install-target-libssp: install-target-libssp
32327 install-target-libssp: installdirs
32328 @: $(MAKE); $(unstage)
32329 @r=`${PWD_COMMAND}`; export r; \
32330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32331 $(NORMAL_TARGET_EXPORTS) \
32332 (cd $(TARGET_SUBDIR)/libssp && \
32333 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32335 @endif target-libssp
32337 # Other targets (info, dvi, etc.)
32339 .PHONY: maybe-info-target-libssp info-target-libssp
32340 maybe-info-target-libssp:
32341 @if target-libssp
32342 maybe-info-target-libssp: info-target-libssp
32344 info-target-libssp: \
32345 configure-target-libssp
32346 @: $(MAKE); $(unstage)
32347 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32348 r=`${PWD_COMMAND}`; export r; \
32349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32350 $(NORMAL_TARGET_EXPORTS) \
32351 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
32352 for flag in $(EXTRA_TARGET_FLAGS); do \
32353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32354 done; \
32355 (cd $(TARGET_SUBDIR)/libssp && \
32356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32358 "RANLIB=$${RANLIB}" \
32359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32360 info) \
32361 || exit 1
32363 @endif target-libssp
32365 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
32366 maybe-dvi-target-libssp:
32367 @if target-libssp
32368 maybe-dvi-target-libssp: dvi-target-libssp
32370 dvi-target-libssp: \
32371 configure-target-libssp
32372 @: $(MAKE); $(unstage)
32373 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32374 r=`${PWD_COMMAND}`; export r; \
32375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32376 $(NORMAL_TARGET_EXPORTS) \
32377 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
32378 for flag in $(EXTRA_TARGET_FLAGS); do \
32379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32380 done; \
32381 (cd $(TARGET_SUBDIR)/libssp && \
32382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32384 "RANLIB=$${RANLIB}" \
32385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32386 dvi) \
32387 || exit 1
32389 @endif target-libssp
32391 .PHONY: maybe-html-target-libssp html-target-libssp
32392 maybe-html-target-libssp:
32393 @if target-libssp
32394 maybe-html-target-libssp: html-target-libssp
32396 html-target-libssp: \
32397 configure-target-libssp
32398 @: $(MAKE); $(unstage)
32399 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32400 r=`${PWD_COMMAND}`; export r; \
32401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32402 $(NORMAL_TARGET_EXPORTS) \
32403 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
32404 for flag in $(EXTRA_TARGET_FLAGS); do \
32405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32406 done; \
32407 (cd $(TARGET_SUBDIR)/libssp && \
32408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32410 "RANLIB=$${RANLIB}" \
32411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32412 html) \
32413 || exit 1
32415 @endif target-libssp
32417 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
32418 maybe-TAGS-target-libssp:
32419 @if target-libssp
32420 maybe-TAGS-target-libssp: TAGS-target-libssp
32422 TAGS-target-libssp: \
32423 configure-target-libssp
32424 @: $(MAKE); $(unstage)
32425 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32426 r=`${PWD_COMMAND}`; export r; \
32427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32428 $(NORMAL_TARGET_EXPORTS) \
32429 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
32430 for flag in $(EXTRA_TARGET_FLAGS); do \
32431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32432 done; \
32433 (cd $(TARGET_SUBDIR)/libssp && \
32434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32436 "RANLIB=$${RANLIB}" \
32437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32438 TAGS) \
32439 || exit 1
32441 @endif target-libssp
32443 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
32444 maybe-install-info-target-libssp:
32445 @if target-libssp
32446 maybe-install-info-target-libssp: install-info-target-libssp
32448 install-info-target-libssp: \
32449 configure-target-libssp \
32450 info-target-libssp
32451 @: $(MAKE); $(unstage)
32452 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32453 r=`${PWD_COMMAND}`; export r; \
32454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32455 $(NORMAL_TARGET_EXPORTS) \
32456 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
32457 for flag in $(EXTRA_TARGET_FLAGS); do \
32458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32459 done; \
32460 (cd $(TARGET_SUBDIR)/libssp && \
32461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32463 "RANLIB=$${RANLIB}" \
32464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32465 install-info) \
32466 || exit 1
32468 @endif target-libssp
32470 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
32471 maybe-install-html-target-libssp:
32472 @if target-libssp
32473 maybe-install-html-target-libssp: install-html-target-libssp
32475 install-html-target-libssp: \
32476 configure-target-libssp \
32477 html-target-libssp
32478 @: $(MAKE); $(unstage)
32479 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32480 r=`${PWD_COMMAND}`; export r; \
32481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32482 $(NORMAL_TARGET_EXPORTS) \
32483 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
32484 for flag in $(EXTRA_TARGET_FLAGS); do \
32485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32486 done; \
32487 (cd $(TARGET_SUBDIR)/libssp && \
32488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32490 "RANLIB=$${RANLIB}" \
32491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32492 install-html) \
32493 || exit 1
32495 @endif target-libssp
32497 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
32498 maybe-installcheck-target-libssp:
32499 @if target-libssp
32500 maybe-installcheck-target-libssp: installcheck-target-libssp
32502 installcheck-target-libssp: \
32503 configure-target-libssp
32504 @: $(MAKE); $(unstage)
32505 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32506 r=`${PWD_COMMAND}`; export r; \
32507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32508 $(NORMAL_TARGET_EXPORTS) \
32509 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
32510 for flag in $(EXTRA_TARGET_FLAGS); do \
32511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32512 done; \
32513 (cd $(TARGET_SUBDIR)/libssp && \
32514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32516 "RANLIB=$${RANLIB}" \
32517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32518 installcheck) \
32519 || exit 1
32521 @endif target-libssp
32523 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
32524 maybe-mostlyclean-target-libssp:
32525 @if target-libssp
32526 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
32528 mostlyclean-target-libssp:
32529 @: $(MAKE); $(unstage)
32530 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32531 r=`${PWD_COMMAND}`; export r; \
32532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32533 $(NORMAL_TARGET_EXPORTS) \
32534 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
32535 for flag in $(EXTRA_TARGET_FLAGS); do \
32536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32537 done; \
32538 (cd $(TARGET_SUBDIR)/libssp && \
32539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32541 "RANLIB=$${RANLIB}" \
32542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32543 mostlyclean) \
32544 || exit 1
32546 @endif target-libssp
32548 .PHONY: maybe-clean-target-libssp clean-target-libssp
32549 maybe-clean-target-libssp:
32550 @if target-libssp
32551 maybe-clean-target-libssp: clean-target-libssp
32553 clean-target-libssp:
32554 @: $(MAKE); $(unstage)
32555 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32556 r=`${PWD_COMMAND}`; export r; \
32557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32558 $(NORMAL_TARGET_EXPORTS) \
32559 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
32560 for flag in $(EXTRA_TARGET_FLAGS); do \
32561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32562 done; \
32563 (cd $(TARGET_SUBDIR)/libssp && \
32564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32566 "RANLIB=$${RANLIB}" \
32567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32568 clean) \
32569 || exit 1
32571 @endif target-libssp
32573 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
32574 maybe-distclean-target-libssp:
32575 @if target-libssp
32576 maybe-distclean-target-libssp: distclean-target-libssp
32578 distclean-target-libssp:
32579 @: $(MAKE); $(unstage)
32580 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32581 r=`${PWD_COMMAND}`; export r; \
32582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32583 $(NORMAL_TARGET_EXPORTS) \
32584 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
32585 for flag in $(EXTRA_TARGET_FLAGS); do \
32586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32587 done; \
32588 (cd $(TARGET_SUBDIR)/libssp && \
32589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32591 "RANLIB=$${RANLIB}" \
32592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32593 distclean) \
32594 || exit 1
32596 @endif target-libssp
32598 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
32599 maybe-maintainer-clean-target-libssp:
32600 @if target-libssp
32601 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
32603 maintainer-clean-target-libssp:
32604 @: $(MAKE); $(unstage)
32605 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32606 r=`${PWD_COMMAND}`; export r; \
32607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32608 $(NORMAL_TARGET_EXPORTS) \
32609 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
32610 for flag in $(EXTRA_TARGET_FLAGS); do \
32611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32612 done; \
32613 (cd $(TARGET_SUBDIR)/libssp && \
32614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32616 "RANLIB=$${RANLIB}" \
32617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32618 maintainer-clean) \
32619 || exit 1
32621 @endif target-libssp
32627 .PHONY: configure-target-newlib maybe-configure-target-newlib
32628 maybe-configure-target-newlib:
32629 @if gcc-bootstrap
32630 configure-target-newlib: stage_current
32631 @endif gcc-bootstrap
32632 @if target-newlib
32633 maybe-configure-target-newlib: configure-target-newlib
32634 configure-target-newlib:
32635 @: $(MAKE); $(unstage)
32636 @r=`${PWD_COMMAND}`; export r; \
32637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32638 echo "Checking multilib configuration for newlib..."; \
32639 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
32640 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
32641 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
32642 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
32643 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
32644 else \
32645 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
32646 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
32647 fi; \
32648 else \
32649 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
32650 fi; \
32651 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
32652 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
32653 $(NORMAL_TARGET_EXPORTS) \
32654 echo Configuring in $(TARGET_SUBDIR)/newlib; \
32655 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
32656 case $(srcdir) in \
32657 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32658 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
32659 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32660 esac; \
32661 srcdiroption="--srcdir=$${topdir}/newlib"; \
32662 libsrcdir="$$s/newlib"; \
32663 rm -f no-such-file || : ; \
32664 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32665 $(TARGET_CONFIGARGS) $${srcdiroption} \
32666 || exit 1
32667 @endif target-newlib
32673 .PHONY: all-target-newlib maybe-all-target-newlib
32674 maybe-all-target-newlib:
32675 @if gcc-bootstrap
32676 all-target-newlib: stage_current
32677 @endif gcc-bootstrap
32678 @if target-newlib
32679 TARGET-target-newlib=all
32680 maybe-all-target-newlib: all-target-newlib
32681 all-target-newlib: configure-target-newlib
32682 @: $(MAKE); $(unstage)
32683 @r=`${PWD_COMMAND}`; export r; \
32684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32685 $(NORMAL_TARGET_EXPORTS) \
32686 (cd $(TARGET_SUBDIR)/newlib && \
32687 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
32688 @endif target-newlib
32694 .PHONY: check-target-newlib maybe-check-target-newlib
32695 maybe-check-target-newlib:
32696 @if target-newlib
32697 maybe-check-target-newlib: check-target-newlib
32699 check-target-newlib:
32700 @: $(MAKE); $(unstage)
32701 @r=`${PWD_COMMAND}`; export r; \
32702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32703 $(NORMAL_TARGET_EXPORTS) \
32704 (cd $(TARGET_SUBDIR)/newlib && \
32705 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32707 @endif target-newlib
32709 .PHONY: install-target-newlib maybe-install-target-newlib
32710 maybe-install-target-newlib:
32711 @if target-newlib
32712 maybe-install-target-newlib: install-target-newlib
32714 install-target-newlib: installdirs
32715 @: $(MAKE); $(unstage)
32716 @r=`${PWD_COMMAND}`; export r; \
32717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32718 $(NORMAL_TARGET_EXPORTS) \
32719 (cd $(TARGET_SUBDIR)/newlib && \
32720 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32722 @endif target-newlib
32724 # Other targets (info, dvi, etc.)
32726 .PHONY: maybe-info-target-newlib info-target-newlib
32727 maybe-info-target-newlib:
32728 @if target-newlib
32729 maybe-info-target-newlib: info-target-newlib
32731 info-target-newlib: \
32732 configure-target-newlib
32733 @: $(MAKE); $(unstage)
32734 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32735 r=`${PWD_COMMAND}`; export r; \
32736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32737 $(NORMAL_TARGET_EXPORTS) \
32738 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
32739 for flag in $(EXTRA_TARGET_FLAGS); do \
32740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32741 done; \
32742 (cd $(TARGET_SUBDIR)/newlib && \
32743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32745 "RANLIB=$${RANLIB}" \
32746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32747 info) \
32748 || exit 1
32750 @endif target-newlib
32752 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
32753 maybe-dvi-target-newlib:
32754 @if target-newlib
32755 maybe-dvi-target-newlib: dvi-target-newlib
32757 dvi-target-newlib: \
32758 configure-target-newlib
32759 @: $(MAKE); $(unstage)
32760 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32761 r=`${PWD_COMMAND}`; export r; \
32762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32763 $(NORMAL_TARGET_EXPORTS) \
32764 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
32765 for flag in $(EXTRA_TARGET_FLAGS); do \
32766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32767 done; \
32768 (cd $(TARGET_SUBDIR)/newlib && \
32769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32771 "RANLIB=$${RANLIB}" \
32772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32773 dvi) \
32774 || exit 1
32776 @endif target-newlib
32778 .PHONY: maybe-html-target-newlib html-target-newlib
32779 maybe-html-target-newlib:
32780 @if target-newlib
32781 maybe-html-target-newlib: html-target-newlib
32783 html-target-newlib: \
32784 configure-target-newlib
32785 @: $(MAKE); $(unstage)
32786 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32787 r=`${PWD_COMMAND}`; export r; \
32788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32789 $(NORMAL_TARGET_EXPORTS) \
32790 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
32791 for flag in $(EXTRA_TARGET_FLAGS); do \
32792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32793 done; \
32794 (cd $(TARGET_SUBDIR)/newlib && \
32795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32797 "RANLIB=$${RANLIB}" \
32798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32799 html) \
32800 || exit 1
32802 @endif target-newlib
32804 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
32805 maybe-TAGS-target-newlib:
32806 @if target-newlib
32807 maybe-TAGS-target-newlib: TAGS-target-newlib
32809 TAGS-target-newlib: \
32810 configure-target-newlib
32811 @: $(MAKE); $(unstage)
32812 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32813 r=`${PWD_COMMAND}`; export r; \
32814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32815 $(NORMAL_TARGET_EXPORTS) \
32816 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
32817 for flag in $(EXTRA_TARGET_FLAGS); do \
32818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32819 done; \
32820 (cd $(TARGET_SUBDIR)/newlib && \
32821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32823 "RANLIB=$${RANLIB}" \
32824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32825 TAGS) \
32826 || exit 1
32828 @endif target-newlib
32830 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
32831 maybe-install-info-target-newlib:
32832 @if target-newlib
32833 maybe-install-info-target-newlib: install-info-target-newlib
32835 install-info-target-newlib: \
32836 configure-target-newlib \
32837 info-target-newlib
32838 @: $(MAKE); $(unstage)
32839 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32840 r=`${PWD_COMMAND}`; export r; \
32841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32842 $(NORMAL_TARGET_EXPORTS) \
32843 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
32844 for flag in $(EXTRA_TARGET_FLAGS); do \
32845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32846 done; \
32847 (cd $(TARGET_SUBDIR)/newlib && \
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 install-info) \
32853 || exit 1
32855 @endif target-newlib
32857 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
32858 maybe-install-html-target-newlib:
32859 @if target-newlib
32860 maybe-install-html-target-newlib: install-html-target-newlib
32862 install-html-target-newlib: \
32863 configure-target-newlib \
32864 html-target-newlib
32865 @: $(MAKE); $(unstage)
32866 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32867 r=`${PWD_COMMAND}`; export r; \
32868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32869 $(NORMAL_TARGET_EXPORTS) \
32870 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
32871 for flag in $(EXTRA_TARGET_FLAGS); do \
32872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32873 done; \
32874 (cd $(TARGET_SUBDIR)/newlib && \
32875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32877 "RANLIB=$${RANLIB}" \
32878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32879 install-html) \
32880 || exit 1
32882 @endif target-newlib
32884 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
32885 maybe-installcheck-target-newlib:
32886 @if target-newlib
32887 maybe-installcheck-target-newlib: installcheck-target-newlib
32889 installcheck-target-newlib: \
32890 configure-target-newlib
32891 @: $(MAKE); $(unstage)
32892 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32893 r=`${PWD_COMMAND}`; export r; \
32894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32895 $(NORMAL_TARGET_EXPORTS) \
32896 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
32897 for flag in $(EXTRA_TARGET_FLAGS); do \
32898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32899 done; \
32900 (cd $(TARGET_SUBDIR)/newlib && \
32901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32903 "RANLIB=$${RANLIB}" \
32904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32905 installcheck) \
32906 || exit 1
32908 @endif target-newlib
32910 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
32911 maybe-mostlyclean-target-newlib:
32912 @if target-newlib
32913 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
32915 mostlyclean-target-newlib:
32916 @: $(MAKE); $(unstage)
32917 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32918 r=`${PWD_COMMAND}`; export r; \
32919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32920 $(NORMAL_TARGET_EXPORTS) \
32921 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
32922 for flag in $(EXTRA_TARGET_FLAGS); do \
32923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32924 done; \
32925 (cd $(TARGET_SUBDIR)/newlib && \
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 mostlyclean) \
32931 || exit 1
32933 @endif target-newlib
32935 .PHONY: maybe-clean-target-newlib clean-target-newlib
32936 maybe-clean-target-newlib:
32937 @if target-newlib
32938 maybe-clean-target-newlib: clean-target-newlib
32940 clean-target-newlib:
32941 @: $(MAKE); $(unstage)
32942 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32943 r=`${PWD_COMMAND}`; export r; \
32944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32945 $(NORMAL_TARGET_EXPORTS) \
32946 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
32947 for flag in $(EXTRA_TARGET_FLAGS); do \
32948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32949 done; \
32950 (cd $(TARGET_SUBDIR)/newlib && \
32951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32953 "RANLIB=$${RANLIB}" \
32954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32955 clean) \
32956 || exit 1
32958 @endif target-newlib
32960 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
32961 maybe-distclean-target-newlib:
32962 @if target-newlib
32963 maybe-distclean-target-newlib: distclean-target-newlib
32965 distclean-target-newlib:
32966 @: $(MAKE); $(unstage)
32967 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32968 r=`${PWD_COMMAND}`; export r; \
32969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32970 $(NORMAL_TARGET_EXPORTS) \
32971 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
32972 for flag in $(EXTRA_TARGET_FLAGS); do \
32973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32974 done; \
32975 (cd $(TARGET_SUBDIR)/newlib && \
32976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32978 "RANLIB=$${RANLIB}" \
32979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32980 distclean) \
32981 || exit 1
32983 @endif target-newlib
32985 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
32986 maybe-maintainer-clean-target-newlib:
32987 @if target-newlib
32988 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
32990 maintainer-clean-target-newlib:
32991 @: $(MAKE); $(unstage)
32992 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32993 r=`${PWD_COMMAND}`; export r; \
32994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32995 $(NORMAL_TARGET_EXPORTS) \
32996 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
32997 for flag in $(EXTRA_TARGET_FLAGS); do \
32998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32999 done; \
33000 (cd $(TARGET_SUBDIR)/newlib && \
33001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33003 "RANLIB=$${RANLIB}" \
33004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33005 maintainer-clean) \
33006 || exit 1
33008 @endif target-newlib
33014 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
33015 maybe-configure-target-libgfortran:
33016 @if gcc-bootstrap
33017 configure-target-libgfortran: stage_current
33018 @endif gcc-bootstrap
33019 @if target-libgfortran
33020 maybe-configure-target-libgfortran: configure-target-libgfortran
33021 configure-target-libgfortran:
33022 @: $(MAKE); $(unstage)
33023 @r=`${PWD_COMMAND}`; export r; \
33024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33025 echo "Checking multilib configuration for libgfortran..."; \
33026 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
33027 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
33028 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
33029 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
33030 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
33031 else \
33032 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
33033 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
33034 fi; \
33035 else \
33036 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
33037 fi; \
33038 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
33039 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
33040 $(NORMAL_TARGET_EXPORTS) \
33041 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
33042 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
33043 case $(srcdir) in \
33044 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33045 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
33046 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33047 esac; \
33048 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
33049 libsrcdir="$$s/libgfortran"; \
33050 rm -f no-such-file || : ; \
33051 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33052 $(TARGET_CONFIGARGS) $${srcdiroption} \
33053 || exit 1
33054 @endif target-libgfortran
33060 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
33061 maybe-all-target-libgfortran:
33062 @if gcc-bootstrap
33063 all-target-libgfortran: stage_current
33064 @endif gcc-bootstrap
33065 @if target-libgfortran
33066 TARGET-target-libgfortran=all
33067 maybe-all-target-libgfortran: all-target-libgfortran
33068 all-target-libgfortran: configure-target-libgfortran
33069 @: $(MAKE); $(unstage)
33070 @r=`${PWD_COMMAND}`; export r; \
33071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33072 $(NORMAL_TARGET_EXPORTS) \
33073 (cd $(TARGET_SUBDIR)/libgfortran && \
33074 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
33075 @endif target-libgfortran
33081 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
33082 maybe-check-target-libgfortran:
33083 @if target-libgfortran
33084 maybe-check-target-libgfortran: check-target-libgfortran
33086 check-target-libgfortran:
33087 @: $(MAKE); $(unstage)
33088 @r=`${PWD_COMMAND}`; export r; \
33089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33090 $(NORMAL_TARGET_EXPORTS) \
33091 (cd $(TARGET_SUBDIR)/libgfortran && \
33092 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33094 @endif target-libgfortran
33096 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
33097 maybe-install-target-libgfortran:
33098 @if target-libgfortran
33099 maybe-install-target-libgfortran: install-target-libgfortran
33101 install-target-libgfortran: installdirs
33102 @: $(MAKE); $(unstage)
33103 @r=`${PWD_COMMAND}`; export r; \
33104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33105 $(NORMAL_TARGET_EXPORTS) \
33106 (cd $(TARGET_SUBDIR)/libgfortran && \
33107 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33109 @endif target-libgfortran
33111 # Other targets (info, dvi, etc.)
33113 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
33114 maybe-info-target-libgfortran:
33115 @if target-libgfortran
33116 maybe-info-target-libgfortran: info-target-libgfortran
33118 info-target-libgfortran: \
33119 configure-target-libgfortran
33120 @: $(MAKE); $(unstage)
33121 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33122 r=`${PWD_COMMAND}`; export r; \
33123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33124 $(NORMAL_TARGET_EXPORTS) \
33125 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
33126 for flag in $(EXTRA_TARGET_FLAGS); do \
33127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33128 done; \
33129 (cd $(TARGET_SUBDIR)/libgfortran && \
33130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33132 "RANLIB=$${RANLIB}" \
33133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33134 info) \
33135 || exit 1
33137 @endif target-libgfortran
33139 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
33140 maybe-dvi-target-libgfortran:
33141 @if target-libgfortran
33142 maybe-dvi-target-libgfortran: dvi-target-libgfortran
33144 dvi-target-libgfortran: \
33145 configure-target-libgfortran
33146 @: $(MAKE); $(unstage)
33147 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33148 r=`${PWD_COMMAND}`; export r; \
33149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33150 $(NORMAL_TARGET_EXPORTS) \
33151 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
33152 for flag in $(EXTRA_TARGET_FLAGS); do \
33153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33154 done; \
33155 (cd $(TARGET_SUBDIR)/libgfortran && \
33156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33158 "RANLIB=$${RANLIB}" \
33159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33160 dvi) \
33161 || exit 1
33163 @endif target-libgfortran
33165 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
33166 maybe-html-target-libgfortran:
33167 @if target-libgfortran
33168 maybe-html-target-libgfortran: html-target-libgfortran
33170 html-target-libgfortran: \
33171 configure-target-libgfortran
33172 @: $(MAKE); $(unstage)
33173 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33174 r=`${PWD_COMMAND}`; export r; \
33175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33176 $(NORMAL_TARGET_EXPORTS) \
33177 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
33178 for flag in $(EXTRA_TARGET_FLAGS); do \
33179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33180 done; \
33181 (cd $(TARGET_SUBDIR)/libgfortran && \
33182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33184 "RANLIB=$${RANLIB}" \
33185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33186 html) \
33187 || exit 1
33189 @endif target-libgfortran
33191 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
33192 maybe-TAGS-target-libgfortran:
33193 @if target-libgfortran
33194 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
33196 TAGS-target-libgfortran: \
33197 configure-target-libgfortran
33198 @: $(MAKE); $(unstage)
33199 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33200 r=`${PWD_COMMAND}`; export r; \
33201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33202 $(NORMAL_TARGET_EXPORTS) \
33203 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
33204 for flag in $(EXTRA_TARGET_FLAGS); do \
33205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33206 done; \
33207 (cd $(TARGET_SUBDIR)/libgfortran && \
33208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33210 "RANLIB=$${RANLIB}" \
33211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33212 TAGS) \
33213 || exit 1
33215 @endif target-libgfortran
33217 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
33218 maybe-install-info-target-libgfortran:
33219 @if target-libgfortran
33220 maybe-install-info-target-libgfortran: install-info-target-libgfortran
33222 install-info-target-libgfortran: \
33223 configure-target-libgfortran \
33224 info-target-libgfortran
33225 @: $(MAKE); $(unstage)
33226 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33227 r=`${PWD_COMMAND}`; export r; \
33228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33229 $(NORMAL_TARGET_EXPORTS) \
33230 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
33231 for flag in $(EXTRA_TARGET_FLAGS); do \
33232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33233 done; \
33234 (cd $(TARGET_SUBDIR)/libgfortran && \
33235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33237 "RANLIB=$${RANLIB}" \
33238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33239 install-info) \
33240 || exit 1
33242 @endif target-libgfortran
33244 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
33245 maybe-install-html-target-libgfortran:
33246 @if target-libgfortran
33247 maybe-install-html-target-libgfortran: install-html-target-libgfortran
33249 install-html-target-libgfortran: \
33250 configure-target-libgfortran \
33251 html-target-libgfortran
33252 @: $(MAKE); $(unstage)
33253 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33254 r=`${PWD_COMMAND}`; export r; \
33255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33256 $(NORMAL_TARGET_EXPORTS) \
33257 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
33258 for flag in $(EXTRA_TARGET_FLAGS); do \
33259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33260 done; \
33261 (cd $(TARGET_SUBDIR)/libgfortran && \
33262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33264 "RANLIB=$${RANLIB}" \
33265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33266 install-html) \
33267 || exit 1
33269 @endif target-libgfortran
33271 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
33272 maybe-installcheck-target-libgfortran:
33273 @if target-libgfortran
33274 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
33276 installcheck-target-libgfortran: \
33277 configure-target-libgfortran
33278 @: $(MAKE); $(unstage)
33279 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33280 r=`${PWD_COMMAND}`; export r; \
33281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33282 $(NORMAL_TARGET_EXPORTS) \
33283 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
33284 for flag in $(EXTRA_TARGET_FLAGS); do \
33285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33286 done; \
33287 (cd $(TARGET_SUBDIR)/libgfortran && \
33288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33290 "RANLIB=$${RANLIB}" \
33291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33292 installcheck) \
33293 || exit 1
33295 @endif target-libgfortran
33297 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
33298 maybe-mostlyclean-target-libgfortran:
33299 @if target-libgfortran
33300 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
33302 mostlyclean-target-libgfortran:
33303 @: $(MAKE); $(unstage)
33304 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33305 r=`${PWD_COMMAND}`; export r; \
33306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33307 $(NORMAL_TARGET_EXPORTS) \
33308 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
33309 for flag in $(EXTRA_TARGET_FLAGS); do \
33310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33311 done; \
33312 (cd $(TARGET_SUBDIR)/libgfortran && \
33313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33315 "RANLIB=$${RANLIB}" \
33316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33317 mostlyclean) \
33318 || exit 1
33320 @endif target-libgfortran
33322 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
33323 maybe-clean-target-libgfortran:
33324 @if target-libgfortran
33325 maybe-clean-target-libgfortran: clean-target-libgfortran
33327 clean-target-libgfortran:
33328 @: $(MAKE); $(unstage)
33329 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33330 r=`${PWD_COMMAND}`; export r; \
33331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33332 $(NORMAL_TARGET_EXPORTS) \
33333 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
33334 for flag in $(EXTRA_TARGET_FLAGS); do \
33335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33336 done; \
33337 (cd $(TARGET_SUBDIR)/libgfortran && \
33338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33340 "RANLIB=$${RANLIB}" \
33341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33342 clean) \
33343 || exit 1
33345 @endif target-libgfortran
33347 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
33348 maybe-distclean-target-libgfortran:
33349 @if target-libgfortran
33350 maybe-distclean-target-libgfortran: distclean-target-libgfortran
33352 distclean-target-libgfortran:
33353 @: $(MAKE); $(unstage)
33354 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33355 r=`${PWD_COMMAND}`; export r; \
33356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33357 $(NORMAL_TARGET_EXPORTS) \
33358 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
33359 for flag in $(EXTRA_TARGET_FLAGS); do \
33360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33361 done; \
33362 (cd $(TARGET_SUBDIR)/libgfortran && \
33363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33365 "RANLIB=$${RANLIB}" \
33366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33367 distclean) \
33368 || exit 1
33370 @endif target-libgfortran
33372 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
33373 maybe-maintainer-clean-target-libgfortran:
33374 @if target-libgfortran
33375 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
33377 maintainer-clean-target-libgfortran:
33378 @: $(MAKE); $(unstage)
33379 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33380 r=`${PWD_COMMAND}`; export r; \
33381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33382 $(NORMAL_TARGET_EXPORTS) \
33383 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
33384 for flag in $(EXTRA_TARGET_FLAGS); do \
33385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33386 done; \
33387 (cd $(TARGET_SUBDIR)/libgfortran && \
33388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33390 "RANLIB=$${RANLIB}" \
33391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33392 maintainer-clean) \
33393 || exit 1
33395 @endif target-libgfortran
33401 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
33402 maybe-configure-target-libobjc:
33403 @if gcc-bootstrap
33404 configure-target-libobjc: stage_current
33405 @endif gcc-bootstrap
33406 @if target-libobjc
33407 maybe-configure-target-libobjc: configure-target-libobjc
33408 configure-target-libobjc:
33409 @: $(MAKE); $(unstage)
33410 @r=`${PWD_COMMAND}`; export r; \
33411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33412 echo "Checking multilib configuration for libobjc..."; \
33413 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
33414 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
33415 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
33416 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
33417 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
33418 else \
33419 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
33420 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
33421 fi; \
33422 else \
33423 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
33424 fi; \
33425 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
33426 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
33427 $(NORMAL_TARGET_EXPORTS) \
33428 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
33429 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
33430 case $(srcdir) in \
33431 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33432 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
33433 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33434 esac; \
33435 srcdiroption="--srcdir=$${topdir}/libobjc"; \
33436 libsrcdir="$$s/libobjc"; \
33437 rm -f no-such-file || : ; \
33438 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33439 $(TARGET_CONFIGARGS) $${srcdiroption} \
33440 || exit 1
33441 @endif target-libobjc
33447 .PHONY: all-target-libobjc maybe-all-target-libobjc
33448 maybe-all-target-libobjc:
33449 @if gcc-bootstrap
33450 all-target-libobjc: stage_current
33451 @endif gcc-bootstrap
33452 @if target-libobjc
33453 TARGET-target-libobjc=all
33454 maybe-all-target-libobjc: all-target-libobjc
33455 all-target-libobjc: configure-target-libobjc
33456 @: $(MAKE); $(unstage)
33457 @r=`${PWD_COMMAND}`; export r; \
33458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33459 $(NORMAL_TARGET_EXPORTS) \
33460 (cd $(TARGET_SUBDIR)/libobjc && \
33461 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
33462 @endif target-libobjc
33468 .PHONY: check-target-libobjc maybe-check-target-libobjc
33469 maybe-check-target-libobjc:
33470 @if target-libobjc
33471 maybe-check-target-libobjc: check-target-libobjc
33473 check-target-libobjc:
33474 @: $(MAKE); $(unstage)
33475 @r=`${PWD_COMMAND}`; export r; \
33476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33477 $(NORMAL_TARGET_EXPORTS) \
33478 (cd $(TARGET_SUBDIR)/libobjc && \
33479 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33481 @endif target-libobjc
33483 .PHONY: install-target-libobjc maybe-install-target-libobjc
33484 maybe-install-target-libobjc:
33485 @if target-libobjc
33486 maybe-install-target-libobjc: install-target-libobjc
33488 install-target-libobjc: installdirs
33489 @: $(MAKE); $(unstage)
33490 @r=`${PWD_COMMAND}`; export r; \
33491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33492 $(NORMAL_TARGET_EXPORTS) \
33493 (cd $(TARGET_SUBDIR)/libobjc && \
33494 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33496 @endif target-libobjc
33498 # Other targets (info, dvi, etc.)
33500 .PHONY: maybe-info-target-libobjc info-target-libobjc
33501 maybe-info-target-libobjc:
33502 @if target-libobjc
33503 maybe-info-target-libobjc: info-target-libobjc
33505 info-target-libobjc: \
33506 configure-target-libobjc
33507 @: $(MAKE); $(unstage)
33508 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33509 r=`${PWD_COMMAND}`; export r; \
33510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33511 $(NORMAL_TARGET_EXPORTS) \
33512 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
33513 for flag in $(EXTRA_TARGET_FLAGS); do \
33514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33515 done; \
33516 (cd $(TARGET_SUBDIR)/libobjc && \
33517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33519 "RANLIB=$${RANLIB}" \
33520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33521 info) \
33522 || exit 1
33524 @endif target-libobjc
33526 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
33527 maybe-dvi-target-libobjc:
33528 @if target-libobjc
33529 maybe-dvi-target-libobjc: dvi-target-libobjc
33531 dvi-target-libobjc: \
33532 configure-target-libobjc
33533 @: $(MAKE); $(unstage)
33534 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33535 r=`${PWD_COMMAND}`; export r; \
33536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33537 $(NORMAL_TARGET_EXPORTS) \
33538 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
33539 for flag in $(EXTRA_TARGET_FLAGS); do \
33540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33541 done; \
33542 (cd $(TARGET_SUBDIR)/libobjc && \
33543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33545 "RANLIB=$${RANLIB}" \
33546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33547 dvi) \
33548 || exit 1
33550 @endif target-libobjc
33552 .PHONY: maybe-html-target-libobjc html-target-libobjc
33553 maybe-html-target-libobjc:
33554 @if target-libobjc
33555 maybe-html-target-libobjc: html-target-libobjc
33557 html-target-libobjc: \
33558 configure-target-libobjc
33559 @: $(MAKE); $(unstage)
33560 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33561 r=`${PWD_COMMAND}`; export r; \
33562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33563 $(NORMAL_TARGET_EXPORTS) \
33564 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
33565 for flag in $(EXTRA_TARGET_FLAGS); do \
33566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33567 done; \
33568 (cd $(TARGET_SUBDIR)/libobjc && \
33569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33571 "RANLIB=$${RANLIB}" \
33572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33573 html) \
33574 || exit 1
33576 @endif target-libobjc
33578 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
33579 maybe-TAGS-target-libobjc:
33580 @if target-libobjc
33581 maybe-TAGS-target-libobjc: TAGS-target-libobjc
33583 TAGS-target-libobjc: \
33584 configure-target-libobjc
33585 @: $(MAKE); $(unstage)
33586 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33587 r=`${PWD_COMMAND}`; export r; \
33588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33589 $(NORMAL_TARGET_EXPORTS) \
33590 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
33591 for flag in $(EXTRA_TARGET_FLAGS); do \
33592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33593 done; \
33594 (cd $(TARGET_SUBDIR)/libobjc && \
33595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33597 "RANLIB=$${RANLIB}" \
33598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33599 TAGS) \
33600 || exit 1
33602 @endif target-libobjc
33604 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
33605 maybe-install-info-target-libobjc:
33606 @if target-libobjc
33607 maybe-install-info-target-libobjc: install-info-target-libobjc
33609 install-info-target-libobjc: \
33610 configure-target-libobjc \
33611 info-target-libobjc
33612 @: $(MAKE); $(unstage)
33613 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33614 r=`${PWD_COMMAND}`; export r; \
33615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33616 $(NORMAL_TARGET_EXPORTS) \
33617 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
33618 for flag in $(EXTRA_TARGET_FLAGS); do \
33619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33620 done; \
33621 (cd $(TARGET_SUBDIR)/libobjc && \
33622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33624 "RANLIB=$${RANLIB}" \
33625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33626 install-info) \
33627 || exit 1
33629 @endif target-libobjc
33631 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
33632 maybe-install-html-target-libobjc:
33633 @if target-libobjc
33634 maybe-install-html-target-libobjc: install-html-target-libobjc
33636 install-html-target-libobjc: \
33637 configure-target-libobjc \
33638 html-target-libobjc
33639 @: $(MAKE); $(unstage)
33640 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33641 r=`${PWD_COMMAND}`; export r; \
33642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33643 $(NORMAL_TARGET_EXPORTS) \
33644 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
33645 for flag in $(EXTRA_TARGET_FLAGS); do \
33646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33647 done; \
33648 (cd $(TARGET_SUBDIR)/libobjc && \
33649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33651 "RANLIB=$${RANLIB}" \
33652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33653 install-html) \
33654 || exit 1
33656 @endif target-libobjc
33658 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
33659 maybe-installcheck-target-libobjc:
33660 @if target-libobjc
33661 maybe-installcheck-target-libobjc: installcheck-target-libobjc
33663 installcheck-target-libobjc: \
33664 configure-target-libobjc
33665 @: $(MAKE); $(unstage)
33666 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33667 r=`${PWD_COMMAND}`; export r; \
33668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33669 $(NORMAL_TARGET_EXPORTS) \
33670 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
33671 for flag in $(EXTRA_TARGET_FLAGS); do \
33672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33673 done; \
33674 (cd $(TARGET_SUBDIR)/libobjc && \
33675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33677 "RANLIB=$${RANLIB}" \
33678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33679 installcheck) \
33680 || exit 1
33682 @endif target-libobjc
33684 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
33685 maybe-mostlyclean-target-libobjc:
33686 @if target-libobjc
33687 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
33689 mostlyclean-target-libobjc:
33690 @: $(MAKE); $(unstage)
33691 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33692 r=`${PWD_COMMAND}`; export r; \
33693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33694 $(NORMAL_TARGET_EXPORTS) \
33695 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
33696 for flag in $(EXTRA_TARGET_FLAGS); do \
33697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33698 done; \
33699 (cd $(TARGET_SUBDIR)/libobjc && \
33700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33702 "RANLIB=$${RANLIB}" \
33703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33704 mostlyclean) \
33705 || exit 1
33707 @endif target-libobjc
33709 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
33710 maybe-clean-target-libobjc:
33711 @if target-libobjc
33712 maybe-clean-target-libobjc: clean-target-libobjc
33714 clean-target-libobjc:
33715 @: $(MAKE); $(unstage)
33716 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33717 r=`${PWD_COMMAND}`; export r; \
33718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33719 $(NORMAL_TARGET_EXPORTS) \
33720 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
33721 for flag in $(EXTRA_TARGET_FLAGS); do \
33722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33723 done; \
33724 (cd $(TARGET_SUBDIR)/libobjc && \
33725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33727 "RANLIB=$${RANLIB}" \
33728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33729 clean) \
33730 || exit 1
33732 @endif target-libobjc
33734 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
33735 maybe-distclean-target-libobjc:
33736 @if target-libobjc
33737 maybe-distclean-target-libobjc: distclean-target-libobjc
33739 distclean-target-libobjc:
33740 @: $(MAKE); $(unstage)
33741 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33742 r=`${PWD_COMMAND}`; export r; \
33743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33744 $(NORMAL_TARGET_EXPORTS) \
33745 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
33746 for flag in $(EXTRA_TARGET_FLAGS); do \
33747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33748 done; \
33749 (cd $(TARGET_SUBDIR)/libobjc && \
33750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33752 "RANLIB=$${RANLIB}" \
33753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33754 distclean) \
33755 || exit 1
33757 @endif target-libobjc
33759 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
33760 maybe-maintainer-clean-target-libobjc:
33761 @if target-libobjc
33762 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
33764 maintainer-clean-target-libobjc:
33765 @: $(MAKE); $(unstage)
33766 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
33767 r=`${PWD_COMMAND}`; export r; \
33768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33769 $(NORMAL_TARGET_EXPORTS) \
33770 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
33771 for flag in $(EXTRA_TARGET_FLAGS); do \
33772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33773 done; \
33774 (cd $(TARGET_SUBDIR)/libobjc && \
33775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33777 "RANLIB=$${RANLIB}" \
33778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33779 maintainer-clean) \
33780 || exit 1
33782 @endif target-libobjc
33788 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
33789 maybe-configure-target-libtermcap:
33790 @if gcc-bootstrap
33791 configure-target-libtermcap: stage_current
33792 @endif gcc-bootstrap
33793 @if target-libtermcap
33794 maybe-configure-target-libtermcap: configure-target-libtermcap
33795 configure-target-libtermcap:
33796 @: $(MAKE); $(unstage)
33797 @r=`${PWD_COMMAND}`; export r; \
33798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33799 echo "Checking multilib configuration for libtermcap..."; \
33800 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
33801 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
33802 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
33803 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
33804 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
33805 else \
33806 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
33807 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
33808 fi; \
33809 else \
33810 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
33811 fi; \
33812 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
33813 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
33814 $(NORMAL_TARGET_EXPORTS) \
33815 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
33816 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
33817 case $(srcdir) in \
33818 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33819 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
33820 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33821 esac; \
33822 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
33823 libsrcdir="$$s/libtermcap"; \
33824 rm -f no-such-file || : ; \
33825 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33826 $(TARGET_CONFIGARGS) $${srcdiroption} \
33827 || exit 1
33828 @endif target-libtermcap
33834 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
33835 maybe-all-target-libtermcap:
33836 @if gcc-bootstrap
33837 all-target-libtermcap: stage_current
33838 @endif gcc-bootstrap
33839 @if target-libtermcap
33840 TARGET-target-libtermcap=all
33841 maybe-all-target-libtermcap: all-target-libtermcap
33842 all-target-libtermcap: configure-target-libtermcap
33843 @: $(MAKE); $(unstage)
33844 @r=`${PWD_COMMAND}`; export r; \
33845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33846 $(NORMAL_TARGET_EXPORTS) \
33847 (cd $(TARGET_SUBDIR)/libtermcap && \
33848 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
33849 @endif target-libtermcap
33855 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
33856 maybe-check-target-libtermcap:
33857 @if target-libtermcap
33858 maybe-check-target-libtermcap: check-target-libtermcap
33860 # Dummy target for uncheckable module.
33861 check-target-libtermcap:
33863 @endif target-libtermcap
33865 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
33866 maybe-install-target-libtermcap:
33867 @if target-libtermcap
33868 maybe-install-target-libtermcap: install-target-libtermcap
33870 install-target-libtermcap: installdirs
33871 @: $(MAKE); $(unstage)
33872 @r=`${PWD_COMMAND}`; export r; \
33873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33874 $(NORMAL_TARGET_EXPORTS) \
33875 (cd $(TARGET_SUBDIR)/libtermcap && \
33876 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33878 @endif target-libtermcap
33880 # Other targets (info, dvi, etc.)
33882 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
33883 maybe-info-target-libtermcap:
33884 @if target-libtermcap
33885 maybe-info-target-libtermcap: info-target-libtermcap
33887 info-target-libtermcap: \
33888 configure-target-libtermcap
33889 @: $(MAKE); $(unstage)
33890 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33891 r=`${PWD_COMMAND}`; export r; \
33892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33893 $(NORMAL_TARGET_EXPORTS) \
33894 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
33895 for flag in $(EXTRA_TARGET_FLAGS); do \
33896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33897 done; \
33898 (cd $(TARGET_SUBDIR)/libtermcap && \
33899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33901 "RANLIB=$${RANLIB}" \
33902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33903 info) \
33904 || exit 1
33906 @endif target-libtermcap
33908 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
33909 maybe-dvi-target-libtermcap:
33910 @if target-libtermcap
33911 maybe-dvi-target-libtermcap: dvi-target-libtermcap
33913 dvi-target-libtermcap: \
33914 configure-target-libtermcap
33915 @: $(MAKE); $(unstage)
33916 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33917 r=`${PWD_COMMAND}`; export r; \
33918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33919 $(NORMAL_TARGET_EXPORTS) \
33920 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
33921 for flag in $(EXTRA_TARGET_FLAGS); do \
33922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33923 done; \
33924 (cd $(TARGET_SUBDIR)/libtermcap && \
33925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33927 "RANLIB=$${RANLIB}" \
33928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33929 dvi) \
33930 || exit 1
33932 @endif target-libtermcap
33934 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
33935 maybe-html-target-libtermcap:
33936 @if target-libtermcap
33937 maybe-html-target-libtermcap: html-target-libtermcap
33939 html-target-libtermcap: \
33940 configure-target-libtermcap
33941 @: $(MAKE); $(unstage)
33942 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33943 r=`${PWD_COMMAND}`; export r; \
33944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33945 $(NORMAL_TARGET_EXPORTS) \
33946 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
33947 for flag in $(EXTRA_TARGET_FLAGS); do \
33948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33949 done; \
33950 (cd $(TARGET_SUBDIR)/libtermcap && \
33951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33953 "RANLIB=$${RANLIB}" \
33954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33955 html) \
33956 || exit 1
33958 @endif target-libtermcap
33960 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
33961 maybe-TAGS-target-libtermcap:
33962 @if target-libtermcap
33963 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
33965 TAGS-target-libtermcap: \
33966 configure-target-libtermcap
33967 @: $(MAKE); $(unstage)
33968 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33969 r=`${PWD_COMMAND}`; export r; \
33970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33971 $(NORMAL_TARGET_EXPORTS) \
33972 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
33973 for flag in $(EXTRA_TARGET_FLAGS); do \
33974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33975 done; \
33976 (cd $(TARGET_SUBDIR)/libtermcap && \
33977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33979 "RANLIB=$${RANLIB}" \
33980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33981 TAGS) \
33982 || exit 1
33984 @endif target-libtermcap
33986 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
33987 maybe-install-info-target-libtermcap:
33988 @if target-libtermcap
33989 maybe-install-info-target-libtermcap: install-info-target-libtermcap
33991 install-info-target-libtermcap: \
33992 configure-target-libtermcap \
33993 info-target-libtermcap
33994 @: $(MAKE); $(unstage)
33995 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
33996 r=`${PWD_COMMAND}`; export r; \
33997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33998 $(NORMAL_TARGET_EXPORTS) \
33999 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
34000 for flag in $(EXTRA_TARGET_FLAGS); do \
34001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34002 done; \
34003 (cd $(TARGET_SUBDIR)/libtermcap && \
34004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34006 "RANLIB=$${RANLIB}" \
34007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34008 install-info) \
34009 || exit 1
34011 @endif target-libtermcap
34013 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
34014 maybe-install-html-target-libtermcap:
34015 @if target-libtermcap
34016 maybe-install-html-target-libtermcap: install-html-target-libtermcap
34018 install-html-target-libtermcap: \
34019 configure-target-libtermcap \
34020 html-target-libtermcap
34021 @: $(MAKE); $(unstage)
34022 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
34023 r=`${PWD_COMMAND}`; export r; \
34024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34025 $(NORMAL_TARGET_EXPORTS) \
34026 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
34027 for flag in $(EXTRA_TARGET_FLAGS); do \
34028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34029 done; \
34030 (cd $(TARGET_SUBDIR)/libtermcap && \
34031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34033 "RANLIB=$${RANLIB}" \
34034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34035 install-html) \
34036 || exit 1
34038 @endif target-libtermcap
34040 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
34041 maybe-installcheck-target-libtermcap:
34042 @if target-libtermcap
34043 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
34045 installcheck-target-libtermcap: \
34046 configure-target-libtermcap
34047 @: $(MAKE); $(unstage)
34048 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
34049 r=`${PWD_COMMAND}`; export r; \
34050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34051 $(NORMAL_TARGET_EXPORTS) \
34052 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
34053 for flag in $(EXTRA_TARGET_FLAGS); do \
34054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34055 done; \
34056 (cd $(TARGET_SUBDIR)/libtermcap && \
34057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34059 "RANLIB=$${RANLIB}" \
34060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34061 installcheck) \
34062 || exit 1
34064 @endif target-libtermcap
34066 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
34067 maybe-mostlyclean-target-libtermcap:
34068 @if target-libtermcap
34069 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
34071 # libtermcap doesn't support mostlyclean.
34072 mostlyclean-target-libtermcap:
34074 @endif target-libtermcap
34076 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
34077 maybe-clean-target-libtermcap:
34078 @if target-libtermcap
34079 maybe-clean-target-libtermcap: clean-target-libtermcap
34081 # libtermcap doesn't support clean.
34082 clean-target-libtermcap:
34084 @endif target-libtermcap
34086 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
34087 maybe-distclean-target-libtermcap:
34088 @if target-libtermcap
34089 maybe-distclean-target-libtermcap: distclean-target-libtermcap
34091 # libtermcap doesn't support distclean.
34092 distclean-target-libtermcap:
34094 @endif target-libtermcap
34096 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
34097 maybe-maintainer-clean-target-libtermcap:
34098 @if target-libtermcap
34099 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
34101 # libtermcap doesn't support maintainer-clean.
34102 maintainer-clean-target-libtermcap:
34104 @endif target-libtermcap
34110 .PHONY: configure-target-winsup maybe-configure-target-winsup
34111 maybe-configure-target-winsup:
34112 @if gcc-bootstrap
34113 configure-target-winsup: stage_current
34114 @endif gcc-bootstrap
34115 @if target-winsup
34116 maybe-configure-target-winsup: configure-target-winsup
34117 configure-target-winsup:
34118 @: $(MAKE); $(unstage)
34119 @r=`${PWD_COMMAND}`; export r; \
34120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34121 echo "Checking multilib configuration for winsup..."; \
34122 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
34123 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
34124 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
34125 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
34126 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
34127 else \
34128 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
34129 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
34130 fi; \
34131 else \
34132 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
34133 fi; \
34134 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
34135 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
34136 $(NORMAL_TARGET_EXPORTS) \
34137 echo Configuring in $(TARGET_SUBDIR)/winsup; \
34138 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
34139 case $(srcdir) in \
34140 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34141 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
34142 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34143 esac; \
34144 srcdiroption="--srcdir=$${topdir}/winsup"; \
34145 libsrcdir="$$s/winsup"; \
34146 rm -f no-such-file || : ; \
34147 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34148 $(TARGET_CONFIGARGS) $${srcdiroption} \
34149 || exit 1
34150 @endif target-winsup
34156 .PHONY: all-target-winsup maybe-all-target-winsup
34157 maybe-all-target-winsup:
34158 @if gcc-bootstrap
34159 all-target-winsup: stage_current
34160 @endif gcc-bootstrap
34161 @if target-winsup
34162 TARGET-target-winsup=all
34163 maybe-all-target-winsup: all-target-winsup
34164 all-target-winsup: configure-target-winsup
34165 @: $(MAKE); $(unstage)
34166 @r=`${PWD_COMMAND}`; export r; \
34167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34168 $(NORMAL_TARGET_EXPORTS) \
34169 (cd $(TARGET_SUBDIR)/winsup && \
34170 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
34171 @endif target-winsup
34177 .PHONY: check-target-winsup maybe-check-target-winsup
34178 maybe-check-target-winsup:
34179 @if target-winsup
34180 maybe-check-target-winsup: check-target-winsup
34182 check-target-winsup:
34183 @: $(MAKE); $(unstage)
34184 @r=`${PWD_COMMAND}`; export r; \
34185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34186 $(NORMAL_TARGET_EXPORTS) \
34187 (cd $(TARGET_SUBDIR)/winsup && \
34188 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34190 @endif target-winsup
34192 .PHONY: install-target-winsup maybe-install-target-winsup
34193 maybe-install-target-winsup:
34194 @if target-winsup
34195 maybe-install-target-winsup: install-target-winsup
34197 install-target-winsup: installdirs
34198 @: $(MAKE); $(unstage)
34199 @r=`${PWD_COMMAND}`; export r; \
34200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34201 $(NORMAL_TARGET_EXPORTS) \
34202 (cd $(TARGET_SUBDIR)/winsup && \
34203 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34205 @endif target-winsup
34207 # Other targets (info, dvi, etc.)
34209 .PHONY: maybe-info-target-winsup info-target-winsup
34210 maybe-info-target-winsup:
34211 @if target-winsup
34212 maybe-info-target-winsup: info-target-winsup
34214 info-target-winsup: \
34215 configure-target-winsup
34216 @: $(MAKE); $(unstage)
34217 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34218 r=`${PWD_COMMAND}`; export r; \
34219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34220 $(NORMAL_TARGET_EXPORTS) \
34221 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
34222 for flag in $(EXTRA_TARGET_FLAGS); do \
34223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34224 done; \
34225 (cd $(TARGET_SUBDIR)/winsup && \
34226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34228 "RANLIB=$${RANLIB}" \
34229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34230 info) \
34231 || exit 1
34233 @endif target-winsup
34235 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
34236 maybe-dvi-target-winsup:
34237 @if target-winsup
34238 maybe-dvi-target-winsup: dvi-target-winsup
34240 dvi-target-winsup: \
34241 configure-target-winsup
34242 @: $(MAKE); $(unstage)
34243 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34244 r=`${PWD_COMMAND}`; export r; \
34245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34246 $(NORMAL_TARGET_EXPORTS) \
34247 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
34248 for flag in $(EXTRA_TARGET_FLAGS); do \
34249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34250 done; \
34251 (cd $(TARGET_SUBDIR)/winsup && \
34252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34254 "RANLIB=$${RANLIB}" \
34255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34256 dvi) \
34257 || exit 1
34259 @endif target-winsup
34261 .PHONY: maybe-html-target-winsup html-target-winsup
34262 maybe-html-target-winsup:
34263 @if target-winsup
34264 maybe-html-target-winsup: html-target-winsup
34266 html-target-winsup: \
34267 configure-target-winsup
34268 @: $(MAKE); $(unstage)
34269 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34270 r=`${PWD_COMMAND}`; export r; \
34271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34272 $(NORMAL_TARGET_EXPORTS) \
34273 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
34274 for flag in $(EXTRA_TARGET_FLAGS); do \
34275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34276 done; \
34277 (cd $(TARGET_SUBDIR)/winsup && \
34278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34280 "RANLIB=$${RANLIB}" \
34281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34282 html) \
34283 || exit 1
34285 @endif target-winsup
34287 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
34288 maybe-TAGS-target-winsup:
34289 @if target-winsup
34290 maybe-TAGS-target-winsup: TAGS-target-winsup
34292 TAGS-target-winsup: \
34293 configure-target-winsup
34294 @: $(MAKE); $(unstage)
34295 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34296 r=`${PWD_COMMAND}`; export r; \
34297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34298 $(NORMAL_TARGET_EXPORTS) \
34299 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
34300 for flag in $(EXTRA_TARGET_FLAGS); do \
34301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34302 done; \
34303 (cd $(TARGET_SUBDIR)/winsup && \
34304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34306 "RANLIB=$${RANLIB}" \
34307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34308 TAGS) \
34309 || exit 1
34311 @endif target-winsup
34313 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
34314 maybe-install-info-target-winsup:
34315 @if target-winsup
34316 maybe-install-info-target-winsup: install-info-target-winsup
34318 install-info-target-winsup: \
34319 configure-target-winsup \
34320 info-target-winsup
34321 @: $(MAKE); $(unstage)
34322 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34323 r=`${PWD_COMMAND}`; export r; \
34324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34325 $(NORMAL_TARGET_EXPORTS) \
34326 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
34327 for flag in $(EXTRA_TARGET_FLAGS); do \
34328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34329 done; \
34330 (cd $(TARGET_SUBDIR)/winsup && \
34331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34333 "RANLIB=$${RANLIB}" \
34334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34335 install-info) \
34336 || exit 1
34338 @endif target-winsup
34340 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
34341 maybe-install-html-target-winsup:
34342 @if target-winsup
34343 maybe-install-html-target-winsup: install-html-target-winsup
34345 install-html-target-winsup: \
34346 configure-target-winsup \
34347 html-target-winsup
34348 @: $(MAKE); $(unstage)
34349 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34350 r=`${PWD_COMMAND}`; export r; \
34351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34352 $(NORMAL_TARGET_EXPORTS) \
34353 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
34354 for flag in $(EXTRA_TARGET_FLAGS); do \
34355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34356 done; \
34357 (cd $(TARGET_SUBDIR)/winsup && \
34358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34360 "RANLIB=$${RANLIB}" \
34361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34362 install-html) \
34363 || exit 1
34365 @endif target-winsup
34367 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
34368 maybe-installcheck-target-winsup:
34369 @if target-winsup
34370 maybe-installcheck-target-winsup: installcheck-target-winsup
34372 installcheck-target-winsup: \
34373 configure-target-winsup
34374 @: $(MAKE); $(unstage)
34375 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34376 r=`${PWD_COMMAND}`; export r; \
34377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34378 $(NORMAL_TARGET_EXPORTS) \
34379 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
34380 for flag in $(EXTRA_TARGET_FLAGS); do \
34381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34382 done; \
34383 (cd $(TARGET_SUBDIR)/winsup && \
34384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34386 "RANLIB=$${RANLIB}" \
34387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34388 installcheck) \
34389 || exit 1
34391 @endif target-winsup
34393 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
34394 maybe-mostlyclean-target-winsup:
34395 @if target-winsup
34396 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
34398 mostlyclean-target-winsup:
34399 @: $(MAKE); $(unstage)
34400 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34401 r=`${PWD_COMMAND}`; export r; \
34402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34403 $(NORMAL_TARGET_EXPORTS) \
34404 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
34405 for flag in $(EXTRA_TARGET_FLAGS); do \
34406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34407 done; \
34408 (cd $(TARGET_SUBDIR)/winsup && \
34409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34411 "RANLIB=$${RANLIB}" \
34412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34413 mostlyclean) \
34414 || exit 1
34416 @endif target-winsup
34418 .PHONY: maybe-clean-target-winsup clean-target-winsup
34419 maybe-clean-target-winsup:
34420 @if target-winsup
34421 maybe-clean-target-winsup: clean-target-winsup
34423 clean-target-winsup:
34424 @: $(MAKE); $(unstage)
34425 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34426 r=`${PWD_COMMAND}`; export r; \
34427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34428 $(NORMAL_TARGET_EXPORTS) \
34429 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
34430 for flag in $(EXTRA_TARGET_FLAGS); do \
34431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34432 done; \
34433 (cd $(TARGET_SUBDIR)/winsup && \
34434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34436 "RANLIB=$${RANLIB}" \
34437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34438 clean) \
34439 || exit 1
34441 @endif target-winsup
34443 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
34444 maybe-distclean-target-winsup:
34445 @if target-winsup
34446 maybe-distclean-target-winsup: distclean-target-winsup
34448 distclean-target-winsup:
34449 @: $(MAKE); $(unstage)
34450 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34451 r=`${PWD_COMMAND}`; export r; \
34452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34453 $(NORMAL_TARGET_EXPORTS) \
34454 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
34455 for flag in $(EXTRA_TARGET_FLAGS); do \
34456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34457 done; \
34458 (cd $(TARGET_SUBDIR)/winsup && \
34459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34461 "RANLIB=$${RANLIB}" \
34462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34463 distclean) \
34464 || exit 1
34466 @endif target-winsup
34468 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
34469 maybe-maintainer-clean-target-winsup:
34470 @if target-winsup
34471 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
34473 maintainer-clean-target-winsup:
34474 @: $(MAKE); $(unstage)
34475 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
34476 r=`${PWD_COMMAND}`; export r; \
34477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34478 $(NORMAL_TARGET_EXPORTS) \
34479 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
34480 for flag in $(EXTRA_TARGET_FLAGS); do \
34481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34482 done; \
34483 (cd $(TARGET_SUBDIR)/winsup && \
34484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34486 "RANLIB=$${RANLIB}" \
34487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34488 maintainer-clean) \
34489 || exit 1
34491 @endif target-winsup
34497 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
34498 maybe-configure-target-libgloss:
34499 @if gcc-bootstrap
34500 configure-target-libgloss: stage_current
34501 @endif gcc-bootstrap
34502 @if target-libgloss
34503 maybe-configure-target-libgloss: configure-target-libgloss
34504 configure-target-libgloss:
34505 @: $(MAKE); $(unstage)
34506 @r=`${PWD_COMMAND}`; export r; \
34507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34508 echo "Checking multilib configuration for libgloss..."; \
34509 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
34510 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
34511 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
34512 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
34513 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
34514 else \
34515 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
34516 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
34517 fi; \
34518 else \
34519 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
34520 fi; \
34521 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
34522 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
34523 $(NORMAL_TARGET_EXPORTS) \
34524 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
34525 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
34526 case $(srcdir) in \
34527 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34528 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
34529 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34530 esac; \
34531 srcdiroption="--srcdir=$${topdir}/libgloss"; \
34532 libsrcdir="$$s/libgloss"; \
34533 rm -f no-such-file || : ; \
34534 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34535 $(TARGET_CONFIGARGS) $${srcdiroption} \
34536 || exit 1
34537 @endif target-libgloss
34543 .PHONY: all-target-libgloss maybe-all-target-libgloss
34544 maybe-all-target-libgloss:
34545 @if gcc-bootstrap
34546 all-target-libgloss: stage_current
34547 @endif gcc-bootstrap
34548 @if target-libgloss
34549 TARGET-target-libgloss=all
34550 maybe-all-target-libgloss: all-target-libgloss
34551 all-target-libgloss: configure-target-libgloss
34552 @: $(MAKE); $(unstage)
34553 @r=`${PWD_COMMAND}`; export r; \
34554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34555 $(NORMAL_TARGET_EXPORTS) \
34556 (cd $(TARGET_SUBDIR)/libgloss && \
34557 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
34558 @endif target-libgloss
34564 .PHONY: check-target-libgloss maybe-check-target-libgloss
34565 maybe-check-target-libgloss:
34566 @if target-libgloss
34567 maybe-check-target-libgloss: check-target-libgloss
34569 # Dummy target for uncheckable module.
34570 check-target-libgloss:
34572 @endif target-libgloss
34574 .PHONY: install-target-libgloss maybe-install-target-libgloss
34575 maybe-install-target-libgloss:
34576 @if target-libgloss
34577 maybe-install-target-libgloss: install-target-libgloss
34579 install-target-libgloss: installdirs
34580 @: $(MAKE); $(unstage)
34581 @r=`${PWD_COMMAND}`; export r; \
34582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34583 $(NORMAL_TARGET_EXPORTS) \
34584 (cd $(TARGET_SUBDIR)/libgloss && \
34585 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34587 @endif target-libgloss
34589 # Other targets (info, dvi, etc.)
34591 .PHONY: maybe-info-target-libgloss info-target-libgloss
34592 maybe-info-target-libgloss:
34593 @if target-libgloss
34594 maybe-info-target-libgloss: info-target-libgloss
34596 info-target-libgloss: \
34597 configure-target-libgloss
34598 @: $(MAKE); $(unstage)
34599 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34600 r=`${PWD_COMMAND}`; export r; \
34601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34602 $(NORMAL_TARGET_EXPORTS) \
34603 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
34604 for flag in $(EXTRA_TARGET_FLAGS); do \
34605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34606 done; \
34607 (cd $(TARGET_SUBDIR)/libgloss && \
34608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34610 "RANLIB=$${RANLIB}" \
34611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34612 info) \
34613 || exit 1
34615 @endif target-libgloss
34617 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
34618 maybe-dvi-target-libgloss:
34619 @if target-libgloss
34620 maybe-dvi-target-libgloss: dvi-target-libgloss
34622 dvi-target-libgloss: \
34623 configure-target-libgloss
34624 @: $(MAKE); $(unstage)
34625 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34626 r=`${PWD_COMMAND}`; export r; \
34627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34628 $(NORMAL_TARGET_EXPORTS) \
34629 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
34630 for flag in $(EXTRA_TARGET_FLAGS); do \
34631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34632 done; \
34633 (cd $(TARGET_SUBDIR)/libgloss && \
34634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34636 "RANLIB=$${RANLIB}" \
34637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34638 dvi) \
34639 || exit 1
34641 @endif target-libgloss
34643 .PHONY: maybe-html-target-libgloss html-target-libgloss
34644 maybe-html-target-libgloss:
34645 @if target-libgloss
34646 maybe-html-target-libgloss: html-target-libgloss
34648 html-target-libgloss: \
34649 configure-target-libgloss
34650 @: $(MAKE); $(unstage)
34651 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34652 r=`${PWD_COMMAND}`; export r; \
34653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34654 $(NORMAL_TARGET_EXPORTS) \
34655 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
34656 for flag in $(EXTRA_TARGET_FLAGS); do \
34657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34658 done; \
34659 (cd $(TARGET_SUBDIR)/libgloss && \
34660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34662 "RANLIB=$${RANLIB}" \
34663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34664 html) \
34665 || exit 1
34667 @endif target-libgloss
34669 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
34670 maybe-TAGS-target-libgloss:
34671 @if target-libgloss
34672 maybe-TAGS-target-libgloss: TAGS-target-libgloss
34674 TAGS-target-libgloss: \
34675 configure-target-libgloss
34676 @: $(MAKE); $(unstage)
34677 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34678 r=`${PWD_COMMAND}`; export r; \
34679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34680 $(NORMAL_TARGET_EXPORTS) \
34681 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
34682 for flag in $(EXTRA_TARGET_FLAGS); do \
34683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34684 done; \
34685 (cd $(TARGET_SUBDIR)/libgloss && \
34686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34688 "RANLIB=$${RANLIB}" \
34689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34690 TAGS) \
34691 || exit 1
34693 @endif target-libgloss
34695 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
34696 maybe-install-info-target-libgloss:
34697 @if target-libgloss
34698 maybe-install-info-target-libgloss: install-info-target-libgloss
34700 install-info-target-libgloss: \
34701 configure-target-libgloss \
34702 info-target-libgloss
34703 @: $(MAKE); $(unstage)
34704 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34705 r=`${PWD_COMMAND}`; export r; \
34706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34707 $(NORMAL_TARGET_EXPORTS) \
34708 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
34709 for flag in $(EXTRA_TARGET_FLAGS); do \
34710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34711 done; \
34712 (cd $(TARGET_SUBDIR)/libgloss && \
34713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34715 "RANLIB=$${RANLIB}" \
34716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34717 install-info) \
34718 || exit 1
34720 @endif target-libgloss
34722 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
34723 maybe-install-html-target-libgloss:
34724 @if target-libgloss
34725 maybe-install-html-target-libgloss: install-html-target-libgloss
34727 install-html-target-libgloss: \
34728 configure-target-libgloss \
34729 html-target-libgloss
34730 @: $(MAKE); $(unstage)
34731 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34732 r=`${PWD_COMMAND}`; export r; \
34733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34734 $(NORMAL_TARGET_EXPORTS) \
34735 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
34736 for flag in $(EXTRA_TARGET_FLAGS); do \
34737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34738 done; \
34739 (cd $(TARGET_SUBDIR)/libgloss && \
34740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34742 "RANLIB=$${RANLIB}" \
34743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34744 install-html) \
34745 || exit 1
34747 @endif target-libgloss
34749 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
34750 maybe-installcheck-target-libgloss:
34751 @if target-libgloss
34752 maybe-installcheck-target-libgloss: installcheck-target-libgloss
34754 installcheck-target-libgloss: \
34755 configure-target-libgloss
34756 @: $(MAKE); $(unstage)
34757 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34758 r=`${PWD_COMMAND}`; export r; \
34759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34760 $(NORMAL_TARGET_EXPORTS) \
34761 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
34762 for flag in $(EXTRA_TARGET_FLAGS); do \
34763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34764 done; \
34765 (cd $(TARGET_SUBDIR)/libgloss && \
34766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34768 "RANLIB=$${RANLIB}" \
34769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34770 installcheck) \
34771 || exit 1
34773 @endif target-libgloss
34775 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
34776 maybe-mostlyclean-target-libgloss:
34777 @if target-libgloss
34778 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
34780 mostlyclean-target-libgloss:
34781 @: $(MAKE); $(unstage)
34782 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34783 r=`${PWD_COMMAND}`; export r; \
34784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34785 $(NORMAL_TARGET_EXPORTS) \
34786 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
34787 for flag in $(EXTRA_TARGET_FLAGS); do \
34788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34789 done; \
34790 (cd $(TARGET_SUBDIR)/libgloss && \
34791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34793 "RANLIB=$${RANLIB}" \
34794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34795 mostlyclean) \
34796 || exit 1
34798 @endif target-libgloss
34800 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
34801 maybe-clean-target-libgloss:
34802 @if target-libgloss
34803 maybe-clean-target-libgloss: clean-target-libgloss
34805 clean-target-libgloss:
34806 @: $(MAKE); $(unstage)
34807 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34808 r=`${PWD_COMMAND}`; export r; \
34809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34810 $(NORMAL_TARGET_EXPORTS) \
34811 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
34812 for flag in $(EXTRA_TARGET_FLAGS); do \
34813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34814 done; \
34815 (cd $(TARGET_SUBDIR)/libgloss && \
34816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34818 "RANLIB=$${RANLIB}" \
34819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34820 clean) \
34821 || exit 1
34823 @endif target-libgloss
34825 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
34826 maybe-distclean-target-libgloss:
34827 @if target-libgloss
34828 maybe-distclean-target-libgloss: distclean-target-libgloss
34830 distclean-target-libgloss:
34831 @: $(MAKE); $(unstage)
34832 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34833 r=`${PWD_COMMAND}`; export r; \
34834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34835 $(NORMAL_TARGET_EXPORTS) \
34836 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
34837 for flag in $(EXTRA_TARGET_FLAGS); do \
34838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34839 done; \
34840 (cd $(TARGET_SUBDIR)/libgloss && \
34841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34843 "RANLIB=$${RANLIB}" \
34844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34845 distclean) \
34846 || exit 1
34848 @endif target-libgloss
34850 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
34851 maybe-maintainer-clean-target-libgloss:
34852 @if target-libgloss
34853 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
34855 maintainer-clean-target-libgloss:
34856 @: $(MAKE); $(unstage)
34857 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
34858 r=`${PWD_COMMAND}`; export r; \
34859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34860 $(NORMAL_TARGET_EXPORTS) \
34861 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
34862 for flag in $(EXTRA_TARGET_FLAGS); do \
34863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34864 done; \
34865 (cd $(TARGET_SUBDIR)/libgloss && \
34866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34868 "RANLIB=$${RANLIB}" \
34869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34870 maintainer-clean) \
34871 || exit 1
34873 @endif target-libgloss
34879 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
34880 maybe-configure-target-libiberty:
34881 @if gcc-bootstrap
34882 configure-target-libiberty: stage_current
34883 @endif gcc-bootstrap
34884 @if target-libiberty
34885 maybe-configure-target-libiberty: configure-target-libiberty
34886 configure-target-libiberty:
34887 @: $(MAKE); $(unstage)
34888 @r=`${PWD_COMMAND}`; export r; \
34889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34890 echo "Checking multilib configuration for libiberty..."; \
34891 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
34892 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
34893 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
34894 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
34895 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
34896 else \
34897 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
34898 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
34899 fi; \
34900 else \
34901 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
34902 fi; \
34903 test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
34904 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
34905 $(NORMAL_TARGET_EXPORTS) \
34906 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
34907 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
34908 case $(srcdir) in \
34909 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34910 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
34911 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34912 esac; \
34913 srcdiroption="--srcdir=$${topdir}/libiberty"; \
34914 libsrcdir="$$s/libiberty"; \
34915 rm -f no-such-file || : ; \
34916 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34917 $(TARGET_CONFIGARGS) $${srcdiroption} \
34918 || exit 1
34919 @endif target-libiberty
34925 .PHONY: all-target-libiberty maybe-all-target-libiberty
34926 maybe-all-target-libiberty:
34927 @if gcc-bootstrap
34928 all-target-libiberty: stage_current
34929 @endif gcc-bootstrap
34930 @if target-libiberty
34931 TARGET-target-libiberty=all
34932 maybe-all-target-libiberty: all-target-libiberty
34933 all-target-libiberty: configure-target-libiberty
34934 @: $(MAKE); $(unstage)
34935 @r=`${PWD_COMMAND}`; export r; \
34936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34937 $(NORMAL_TARGET_EXPORTS) \
34938 (cd $(TARGET_SUBDIR)/libiberty && \
34939 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
34940 @endif target-libiberty
34946 .PHONY: check-target-libiberty maybe-check-target-libiberty
34947 maybe-check-target-libiberty:
34948 @if target-libiberty
34949 maybe-check-target-libiberty: check-target-libiberty
34951 check-target-libiberty:
34952 @: $(MAKE); $(unstage)
34953 @r=`${PWD_COMMAND}`; export r; \
34954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34955 $(NORMAL_TARGET_EXPORTS) \
34956 (cd $(TARGET_SUBDIR)/libiberty && \
34957 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34959 @endif target-libiberty
34961 .PHONY: install-target-libiberty maybe-install-target-libiberty
34962 maybe-install-target-libiberty:
34963 @if target-libiberty
34964 maybe-install-target-libiberty: install-target-libiberty
34966 install-target-libiberty: installdirs
34967 @: $(MAKE); $(unstage)
34968 @r=`${PWD_COMMAND}`; export r; \
34969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34970 $(NORMAL_TARGET_EXPORTS) \
34971 (cd $(TARGET_SUBDIR)/libiberty && \
34972 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34974 @endif target-libiberty
34976 # Other targets (info, dvi, etc.)
34978 .PHONY: maybe-info-target-libiberty info-target-libiberty
34979 maybe-info-target-libiberty:
34980 @if target-libiberty
34981 maybe-info-target-libiberty: info-target-libiberty
34983 info-target-libiberty: \
34984 configure-target-libiberty
34985 @: $(MAKE); $(unstage)
34986 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
34987 r=`${PWD_COMMAND}`; export r; \
34988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34989 $(NORMAL_TARGET_EXPORTS) \
34990 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
34991 for flag in $(EXTRA_TARGET_FLAGS); do \
34992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34993 done; \
34994 (cd $(TARGET_SUBDIR)/libiberty && \
34995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34997 "RANLIB=$${RANLIB}" \
34998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34999 info) \
35000 || exit 1
35002 @endif target-libiberty
35004 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
35005 maybe-dvi-target-libiberty:
35006 @if target-libiberty
35007 maybe-dvi-target-libiberty: dvi-target-libiberty
35009 dvi-target-libiberty: \
35010 configure-target-libiberty
35011 @: $(MAKE); $(unstage)
35012 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35013 r=`${PWD_COMMAND}`; export r; \
35014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35015 $(NORMAL_TARGET_EXPORTS) \
35016 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
35017 for flag in $(EXTRA_TARGET_FLAGS); do \
35018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35019 done; \
35020 (cd $(TARGET_SUBDIR)/libiberty && \
35021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35023 "RANLIB=$${RANLIB}" \
35024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35025 dvi) \
35026 || exit 1
35028 @endif target-libiberty
35030 .PHONY: maybe-html-target-libiberty html-target-libiberty
35031 maybe-html-target-libiberty:
35032 @if target-libiberty
35033 maybe-html-target-libiberty: html-target-libiberty
35035 html-target-libiberty: \
35036 configure-target-libiberty
35037 @: $(MAKE); $(unstage)
35038 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35039 r=`${PWD_COMMAND}`; export r; \
35040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35041 $(NORMAL_TARGET_EXPORTS) \
35042 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
35043 for flag in $(EXTRA_TARGET_FLAGS); do \
35044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35045 done; \
35046 (cd $(TARGET_SUBDIR)/libiberty && \
35047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35049 "RANLIB=$${RANLIB}" \
35050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35051 html) \
35052 || exit 1
35054 @endif target-libiberty
35056 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
35057 maybe-TAGS-target-libiberty:
35058 @if target-libiberty
35059 maybe-TAGS-target-libiberty: TAGS-target-libiberty
35061 TAGS-target-libiberty: \
35062 configure-target-libiberty
35063 @: $(MAKE); $(unstage)
35064 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35065 r=`${PWD_COMMAND}`; export r; \
35066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35067 $(NORMAL_TARGET_EXPORTS) \
35068 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
35069 for flag in $(EXTRA_TARGET_FLAGS); do \
35070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35071 done; \
35072 (cd $(TARGET_SUBDIR)/libiberty && \
35073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35075 "RANLIB=$${RANLIB}" \
35076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35077 TAGS) \
35078 || exit 1
35080 @endif target-libiberty
35082 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
35083 maybe-install-info-target-libiberty:
35084 @if target-libiberty
35085 maybe-install-info-target-libiberty: install-info-target-libiberty
35087 install-info-target-libiberty: \
35088 configure-target-libiberty \
35089 info-target-libiberty
35090 @: $(MAKE); $(unstage)
35091 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35092 r=`${PWD_COMMAND}`; export r; \
35093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35094 $(NORMAL_TARGET_EXPORTS) \
35095 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
35096 for flag in $(EXTRA_TARGET_FLAGS); do \
35097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35098 done; \
35099 (cd $(TARGET_SUBDIR)/libiberty && \
35100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35102 "RANLIB=$${RANLIB}" \
35103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35104 install-info) \
35105 || exit 1
35107 @endif target-libiberty
35109 .PHONY: maybe-install-html-target-libiberty install-html-target-libiberty
35110 maybe-install-html-target-libiberty:
35111 @if target-libiberty
35112 maybe-install-html-target-libiberty: install-html-target-libiberty
35114 install-html-target-libiberty: \
35115 configure-target-libiberty \
35116 html-target-libiberty
35117 @: $(MAKE); $(unstage)
35118 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35119 r=`${PWD_COMMAND}`; export r; \
35120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35121 $(NORMAL_TARGET_EXPORTS) \
35122 echo "Doing install-html in $(TARGET_SUBDIR)/libiberty" ; \
35123 for flag in $(EXTRA_TARGET_FLAGS); do \
35124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35125 done; \
35126 (cd $(TARGET_SUBDIR)/libiberty && \
35127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35129 "RANLIB=$${RANLIB}" \
35130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35131 install-html) \
35132 || exit 1
35134 @endif target-libiberty
35136 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
35137 maybe-installcheck-target-libiberty:
35138 @if target-libiberty
35139 maybe-installcheck-target-libiberty: installcheck-target-libiberty
35141 installcheck-target-libiberty: \
35142 configure-target-libiberty
35143 @: $(MAKE); $(unstage)
35144 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35145 r=`${PWD_COMMAND}`; export r; \
35146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35147 $(NORMAL_TARGET_EXPORTS) \
35148 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
35149 for flag in $(EXTRA_TARGET_FLAGS); do \
35150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35151 done; \
35152 (cd $(TARGET_SUBDIR)/libiberty && \
35153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35155 "RANLIB=$${RANLIB}" \
35156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35157 installcheck) \
35158 || exit 1
35160 @endif target-libiberty
35162 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
35163 maybe-mostlyclean-target-libiberty:
35164 @if target-libiberty
35165 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
35167 mostlyclean-target-libiberty:
35168 @: $(MAKE); $(unstage)
35169 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35170 r=`${PWD_COMMAND}`; export r; \
35171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35172 $(NORMAL_TARGET_EXPORTS) \
35173 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
35174 for flag in $(EXTRA_TARGET_FLAGS); do \
35175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35176 done; \
35177 (cd $(TARGET_SUBDIR)/libiberty && \
35178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35180 "RANLIB=$${RANLIB}" \
35181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35182 mostlyclean) \
35183 || exit 1
35185 @endif target-libiberty
35187 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
35188 maybe-clean-target-libiberty:
35189 @if target-libiberty
35190 maybe-clean-target-libiberty: clean-target-libiberty
35192 clean-target-libiberty:
35193 @: $(MAKE); $(unstage)
35194 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35195 r=`${PWD_COMMAND}`; export r; \
35196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35197 $(NORMAL_TARGET_EXPORTS) \
35198 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
35199 for flag in $(EXTRA_TARGET_FLAGS); do \
35200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35201 done; \
35202 (cd $(TARGET_SUBDIR)/libiberty && \
35203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35205 "RANLIB=$${RANLIB}" \
35206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35207 clean) \
35208 || exit 1
35210 @endif target-libiberty
35212 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
35213 maybe-distclean-target-libiberty:
35214 @if target-libiberty
35215 maybe-distclean-target-libiberty: distclean-target-libiberty
35217 distclean-target-libiberty:
35218 @: $(MAKE); $(unstage)
35219 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35220 r=`${PWD_COMMAND}`; export r; \
35221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35222 $(NORMAL_TARGET_EXPORTS) \
35223 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
35224 for flag in $(EXTRA_TARGET_FLAGS); do \
35225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35226 done; \
35227 (cd $(TARGET_SUBDIR)/libiberty && \
35228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35230 "RANLIB=$${RANLIB}" \
35231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35232 distclean) \
35233 || exit 1
35235 @endif target-libiberty
35237 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
35238 maybe-maintainer-clean-target-libiberty:
35239 @if target-libiberty
35240 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
35242 maintainer-clean-target-libiberty:
35243 @: $(MAKE); $(unstage)
35244 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
35245 r=`${PWD_COMMAND}`; export r; \
35246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35247 $(NORMAL_TARGET_EXPORTS) \
35248 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
35249 for flag in $(EXTRA_TARGET_FLAGS); do \
35250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35251 done; \
35252 (cd $(TARGET_SUBDIR)/libiberty && \
35253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35255 "RANLIB=$${RANLIB}" \
35256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35257 maintainer-clean) \
35258 || exit 1
35260 @endif target-libiberty
35266 .PHONY: configure-target-gperf maybe-configure-target-gperf
35267 maybe-configure-target-gperf:
35268 @if gcc-bootstrap
35269 configure-target-gperf: stage_current
35270 @endif gcc-bootstrap
35271 @if target-gperf
35272 maybe-configure-target-gperf: configure-target-gperf
35273 configure-target-gperf:
35274 @: $(MAKE); $(unstage)
35275 @r=`${PWD_COMMAND}`; export r; \
35276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35277 echo "Checking multilib configuration for gperf..."; \
35278 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
35279 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
35280 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
35281 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
35282 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
35283 else \
35284 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
35285 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
35286 fi; \
35287 else \
35288 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
35289 fi; \
35290 test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
35291 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
35292 $(NORMAL_TARGET_EXPORTS) \
35293 echo Configuring in $(TARGET_SUBDIR)/gperf; \
35294 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
35295 case $(srcdir) in \
35296 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35297 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
35298 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35299 esac; \
35300 srcdiroption="--srcdir=$${topdir}/gperf"; \
35301 libsrcdir="$$s/gperf"; \
35302 rm -f no-such-file || : ; \
35303 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35304 $(TARGET_CONFIGARGS) $${srcdiroption} \
35305 || exit 1
35306 @endif target-gperf
35312 .PHONY: all-target-gperf maybe-all-target-gperf
35313 maybe-all-target-gperf:
35314 @if gcc-bootstrap
35315 all-target-gperf: stage_current
35316 @endif gcc-bootstrap
35317 @if target-gperf
35318 TARGET-target-gperf=all
35319 maybe-all-target-gperf: all-target-gperf
35320 all-target-gperf: configure-target-gperf
35321 @: $(MAKE); $(unstage)
35322 @r=`${PWD_COMMAND}`; export r; \
35323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35324 $(NORMAL_TARGET_EXPORTS) \
35325 (cd $(TARGET_SUBDIR)/gperf && \
35326 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
35327 @endif target-gperf
35333 .PHONY: check-target-gperf maybe-check-target-gperf
35334 maybe-check-target-gperf:
35335 @if target-gperf
35336 maybe-check-target-gperf: check-target-gperf
35338 check-target-gperf:
35339 @: $(MAKE); $(unstage)
35340 @r=`${PWD_COMMAND}`; export r; \
35341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35342 $(NORMAL_TARGET_EXPORTS) \
35343 (cd $(TARGET_SUBDIR)/gperf && \
35344 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35346 @endif target-gperf
35348 .PHONY: install-target-gperf maybe-install-target-gperf
35349 maybe-install-target-gperf:
35350 @if target-gperf
35351 maybe-install-target-gperf: install-target-gperf
35353 install-target-gperf: installdirs
35354 @: $(MAKE); $(unstage)
35355 @r=`${PWD_COMMAND}`; export r; \
35356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35357 $(NORMAL_TARGET_EXPORTS) \
35358 (cd $(TARGET_SUBDIR)/gperf && \
35359 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35361 @endif target-gperf
35363 # Other targets (info, dvi, etc.)
35365 .PHONY: maybe-info-target-gperf info-target-gperf
35366 maybe-info-target-gperf:
35367 @if target-gperf
35368 maybe-info-target-gperf: info-target-gperf
35370 info-target-gperf: \
35371 configure-target-gperf
35372 @: $(MAKE); $(unstage)
35373 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35374 r=`${PWD_COMMAND}`; export r; \
35375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35376 $(NORMAL_TARGET_EXPORTS) \
35377 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
35378 for flag in $(EXTRA_TARGET_FLAGS); do \
35379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35380 done; \
35381 (cd $(TARGET_SUBDIR)/gperf && \
35382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35384 "RANLIB=$${RANLIB}" \
35385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35386 info) \
35387 || exit 1
35389 @endif target-gperf
35391 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
35392 maybe-dvi-target-gperf:
35393 @if target-gperf
35394 maybe-dvi-target-gperf: dvi-target-gperf
35396 dvi-target-gperf: \
35397 configure-target-gperf
35398 @: $(MAKE); $(unstage)
35399 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35400 r=`${PWD_COMMAND}`; export r; \
35401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35402 $(NORMAL_TARGET_EXPORTS) \
35403 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
35404 for flag in $(EXTRA_TARGET_FLAGS); do \
35405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35406 done; \
35407 (cd $(TARGET_SUBDIR)/gperf && \
35408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35410 "RANLIB=$${RANLIB}" \
35411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35412 dvi) \
35413 || exit 1
35415 @endif target-gperf
35417 .PHONY: maybe-html-target-gperf html-target-gperf
35418 maybe-html-target-gperf:
35419 @if target-gperf
35420 maybe-html-target-gperf: html-target-gperf
35422 html-target-gperf: \
35423 configure-target-gperf
35424 @: $(MAKE); $(unstage)
35425 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35426 r=`${PWD_COMMAND}`; export r; \
35427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35428 $(NORMAL_TARGET_EXPORTS) \
35429 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
35430 for flag in $(EXTRA_TARGET_FLAGS); do \
35431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35432 done; \
35433 (cd $(TARGET_SUBDIR)/gperf && \
35434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35436 "RANLIB=$${RANLIB}" \
35437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35438 html) \
35439 || exit 1
35441 @endif target-gperf
35443 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
35444 maybe-TAGS-target-gperf:
35445 @if target-gperf
35446 maybe-TAGS-target-gperf: TAGS-target-gperf
35448 TAGS-target-gperf: \
35449 configure-target-gperf
35450 @: $(MAKE); $(unstage)
35451 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35452 r=`${PWD_COMMAND}`; export r; \
35453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35454 $(NORMAL_TARGET_EXPORTS) \
35455 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
35456 for flag in $(EXTRA_TARGET_FLAGS); do \
35457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35458 done; \
35459 (cd $(TARGET_SUBDIR)/gperf && \
35460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35462 "RANLIB=$${RANLIB}" \
35463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35464 TAGS) \
35465 || exit 1
35467 @endif target-gperf
35469 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
35470 maybe-install-info-target-gperf:
35471 @if target-gperf
35472 maybe-install-info-target-gperf: install-info-target-gperf
35474 install-info-target-gperf: \
35475 configure-target-gperf \
35476 info-target-gperf
35477 @: $(MAKE); $(unstage)
35478 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35479 r=`${PWD_COMMAND}`; export r; \
35480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35481 $(NORMAL_TARGET_EXPORTS) \
35482 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
35483 for flag in $(EXTRA_TARGET_FLAGS); do \
35484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35485 done; \
35486 (cd $(TARGET_SUBDIR)/gperf && \
35487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35489 "RANLIB=$${RANLIB}" \
35490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35491 install-info) \
35492 || exit 1
35494 @endif target-gperf
35496 .PHONY: maybe-install-html-target-gperf install-html-target-gperf
35497 maybe-install-html-target-gperf:
35498 @if target-gperf
35499 maybe-install-html-target-gperf: install-html-target-gperf
35501 install-html-target-gperf: \
35502 configure-target-gperf \
35503 html-target-gperf
35504 @: $(MAKE); $(unstage)
35505 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35506 r=`${PWD_COMMAND}`; export r; \
35507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35508 $(NORMAL_TARGET_EXPORTS) \
35509 echo "Doing install-html in $(TARGET_SUBDIR)/gperf" ; \
35510 for flag in $(EXTRA_TARGET_FLAGS); do \
35511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35512 done; \
35513 (cd $(TARGET_SUBDIR)/gperf && \
35514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35516 "RANLIB=$${RANLIB}" \
35517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35518 install-html) \
35519 || exit 1
35521 @endif target-gperf
35523 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
35524 maybe-installcheck-target-gperf:
35525 @if target-gperf
35526 maybe-installcheck-target-gperf: installcheck-target-gperf
35528 installcheck-target-gperf: \
35529 configure-target-gperf
35530 @: $(MAKE); $(unstage)
35531 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35532 r=`${PWD_COMMAND}`; export r; \
35533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35534 $(NORMAL_TARGET_EXPORTS) \
35535 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
35536 for flag in $(EXTRA_TARGET_FLAGS); do \
35537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35538 done; \
35539 (cd $(TARGET_SUBDIR)/gperf && \
35540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35542 "RANLIB=$${RANLIB}" \
35543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35544 installcheck) \
35545 || exit 1
35547 @endif target-gperf
35549 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
35550 maybe-mostlyclean-target-gperf:
35551 @if target-gperf
35552 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
35554 mostlyclean-target-gperf:
35555 @: $(MAKE); $(unstage)
35556 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35557 r=`${PWD_COMMAND}`; export r; \
35558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35559 $(NORMAL_TARGET_EXPORTS) \
35560 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
35561 for flag in $(EXTRA_TARGET_FLAGS); do \
35562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35563 done; \
35564 (cd $(TARGET_SUBDIR)/gperf && \
35565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35567 "RANLIB=$${RANLIB}" \
35568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35569 mostlyclean) \
35570 || exit 1
35572 @endif target-gperf
35574 .PHONY: maybe-clean-target-gperf clean-target-gperf
35575 maybe-clean-target-gperf:
35576 @if target-gperf
35577 maybe-clean-target-gperf: clean-target-gperf
35579 clean-target-gperf:
35580 @: $(MAKE); $(unstage)
35581 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35582 r=`${PWD_COMMAND}`; export r; \
35583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35584 $(NORMAL_TARGET_EXPORTS) \
35585 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
35586 for flag in $(EXTRA_TARGET_FLAGS); do \
35587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35588 done; \
35589 (cd $(TARGET_SUBDIR)/gperf && \
35590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35592 "RANLIB=$${RANLIB}" \
35593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35594 clean) \
35595 || exit 1
35597 @endif target-gperf
35599 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
35600 maybe-distclean-target-gperf:
35601 @if target-gperf
35602 maybe-distclean-target-gperf: distclean-target-gperf
35604 distclean-target-gperf:
35605 @: $(MAKE); $(unstage)
35606 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35607 r=`${PWD_COMMAND}`; export r; \
35608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35609 $(NORMAL_TARGET_EXPORTS) \
35610 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
35611 for flag in $(EXTRA_TARGET_FLAGS); do \
35612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35613 done; \
35614 (cd $(TARGET_SUBDIR)/gperf && \
35615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35617 "RANLIB=$${RANLIB}" \
35618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35619 distclean) \
35620 || exit 1
35622 @endif target-gperf
35624 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
35625 maybe-maintainer-clean-target-gperf:
35626 @if target-gperf
35627 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
35629 maintainer-clean-target-gperf:
35630 @: $(MAKE); $(unstage)
35631 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
35632 r=`${PWD_COMMAND}`; export r; \
35633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35634 $(NORMAL_TARGET_EXPORTS) \
35635 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
35636 for flag in $(EXTRA_TARGET_FLAGS); do \
35637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35638 done; \
35639 (cd $(TARGET_SUBDIR)/gperf && \
35640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35642 "RANLIB=$${RANLIB}" \
35643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35644 maintainer-clean) \
35645 || exit 1
35647 @endif target-gperf
35653 .PHONY: configure-target-examples maybe-configure-target-examples
35654 maybe-configure-target-examples:
35655 @if gcc-bootstrap
35656 configure-target-examples: stage_current
35657 @endif gcc-bootstrap
35658 @if target-examples
35659 maybe-configure-target-examples: configure-target-examples
35660 configure-target-examples:
35661 @: $(MAKE); $(unstage)
35662 @r=`${PWD_COMMAND}`; export r; \
35663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35664 echo "Checking multilib configuration for examples..."; \
35665 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
35666 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
35667 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
35668 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
35669 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
35670 else \
35671 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
35672 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
35673 fi; \
35674 else \
35675 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
35676 fi; \
35677 test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
35678 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
35679 $(NORMAL_TARGET_EXPORTS) \
35680 echo Configuring in $(TARGET_SUBDIR)/examples; \
35681 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
35682 case $(srcdir) in \
35683 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35684 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
35685 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35686 esac; \
35687 srcdiroption="--srcdir=$${topdir}/examples"; \
35688 libsrcdir="$$s/examples"; \
35689 rm -f no-such-file || : ; \
35690 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35691 $(TARGET_CONFIGARGS) $${srcdiroption} \
35692 || exit 1
35693 @endif target-examples
35699 .PHONY: all-target-examples maybe-all-target-examples
35700 maybe-all-target-examples:
35701 @if gcc-bootstrap
35702 all-target-examples: stage_current
35703 @endif gcc-bootstrap
35704 @if target-examples
35705 TARGET-target-examples=all
35706 maybe-all-target-examples: all-target-examples
35707 all-target-examples: configure-target-examples
35708 @: $(MAKE); $(unstage)
35709 @r=`${PWD_COMMAND}`; export r; \
35710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35711 $(NORMAL_TARGET_EXPORTS) \
35712 (cd $(TARGET_SUBDIR)/examples && \
35713 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
35714 @endif target-examples
35720 .PHONY: check-target-examples maybe-check-target-examples
35721 maybe-check-target-examples:
35722 @if target-examples
35723 maybe-check-target-examples: check-target-examples
35725 # Dummy target for uncheckable module.
35726 check-target-examples:
35728 @endif target-examples
35730 .PHONY: install-target-examples maybe-install-target-examples
35731 maybe-install-target-examples:
35732 @if target-examples
35733 maybe-install-target-examples: install-target-examples
35735 # Dummy target for uninstallable.
35736 install-target-examples:
35738 @endif target-examples
35740 # Other targets (info, dvi, etc.)
35742 .PHONY: maybe-info-target-examples info-target-examples
35743 maybe-info-target-examples:
35744 @if target-examples
35745 maybe-info-target-examples: info-target-examples
35747 info-target-examples: \
35748 configure-target-examples
35749 @: $(MAKE); $(unstage)
35750 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35751 r=`${PWD_COMMAND}`; export r; \
35752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35753 $(NORMAL_TARGET_EXPORTS) \
35754 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
35755 for flag in $(EXTRA_TARGET_FLAGS); do \
35756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35757 done; \
35758 (cd $(TARGET_SUBDIR)/examples && \
35759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35761 "RANLIB=$${RANLIB}" \
35762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35763 info) \
35764 || exit 1
35766 @endif target-examples
35768 .PHONY: maybe-dvi-target-examples dvi-target-examples
35769 maybe-dvi-target-examples:
35770 @if target-examples
35771 maybe-dvi-target-examples: dvi-target-examples
35773 dvi-target-examples: \
35774 configure-target-examples
35775 @: $(MAKE); $(unstage)
35776 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35777 r=`${PWD_COMMAND}`; export r; \
35778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35779 $(NORMAL_TARGET_EXPORTS) \
35780 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
35781 for flag in $(EXTRA_TARGET_FLAGS); do \
35782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35783 done; \
35784 (cd $(TARGET_SUBDIR)/examples && \
35785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35787 "RANLIB=$${RANLIB}" \
35788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35789 dvi) \
35790 || exit 1
35792 @endif target-examples
35794 .PHONY: maybe-html-target-examples html-target-examples
35795 maybe-html-target-examples:
35796 @if target-examples
35797 maybe-html-target-examples: html-target-examples
35799 html-target-examples: \
35800 configure-target-examples
35801 @: $(MAKE); $(unstage)
35802 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35803 r=`${PWD_COMMAND}`; export r; \
35804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35805 $(NORMAL_TARGET_EXPORTS) \
35806 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
35807 for flag in $(EXTRA_TARGET_FLAGS); do \
35808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35809 done; \
35810 (cd $(TARGET_SUBDIR)/examples && \
35811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35813 "RANLIB=$${RANLIB}" \
35814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35815 html) \
35816 || exit 1
35818 @endif target-examples
35820 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
35821 maybe-TAGS-target-examples:
35822 @if target-examples
35823 maybe-TAGS-target-examples: TAGS-target-examples
35825 TAGS-target-examples: \
35826 configure-target-examples
35827 @: $(MAKE); $(unstage)
35828 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35829 r=`${PWD_COMMAND}`; export r; \
35830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35831 $(NORMAL_TARGET_EXPORTS) \
35832 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
35833 for flag in $(EXTRA_TARGET_FLAGS); do \
35834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35835 done; \
35836 (cd $(TARGET_SUBDIR)/examples && \
35837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35839 "RANLIB=$${RANLIB}" \
35840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35841 TAGS) \
35842 || exit 1
35844 @endif target-examples
35846 .PHONY: maybe-install-info-target-examples install-info-target-examples
35847 maybe-install-info-target-examples:
35848 @if target-examples
35849 maybe-install-info-target-examples: install-info-target-examples
35851 install-info-target-examples: \
35852 configure-target-examples \
35853 info-target-examples
35854 @: $(MAKE); $(unstage)
35855 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35856 r=`${PWD_COMMAND}`; export r; \
35857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35858 $(NORMAL_TARGET_EXPORTS) \
35859 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
35860 for flag in $(EXTRA_TARGET_FLAGS); do \
35861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35862 done; \
35863 (cd $(TARGET_SUBDIR)/examples && \
35864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35866 "RANLIB=$${RANLIB}" \
35867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35868 install-info) \
35869 || exit 1
35871 @endif target-examples
35873 .PHONY: maybe-install-html-target-examples install-html-target-examples
35874 maybe-install-html-target-examples:
35875 @if target-examples
35876 maybe-install-html-target-examples: install-html-target-examples
35878 install-html-target-examples: \
35879 configure-target-examples \
35880 html-target-examples
35881 @: $(MAKE); $(unstage)
35882 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35883 r=`${PWD_COMMAND}`; export r; \
35884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35885 $(NORMAL_TARGET_EXPORTS) \
35886 echo "Doing install-html in $(TARGET_SUBDIR)/examples" ; \
35887 for flag in $(EXTRA_TARGET_FLAGS); do \
35888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35889 done; \
35890 (cd $(TARGET_SUBDIR)/examples && \
35891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35893 "RANLIB=$${RANLIB}" \
35894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35895 install-html) \
35896 || exit 1
35898 @endif target-examples
35900 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
35901 maybe-installcheck-target-examples:
35902 @if target-examples
35903 maybe-installcheck-target-examples: installcheck-target-examples
35905 installcheck-target-examples: \
35906 configure-target-examples
35907 @: $(MAKE); $(unstage)
35908 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35909 r=`${PWD_COMMAND}`; export r; \
35910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35911 $(NORMAL_TARGET_EXPORTS) \
35912 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
35913 for flag in $(EXTRA_TARGET_FLAGS); do \
35914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35915 done; \
35916 (cd $(TARGET_SUBDIR)/examples && \
35917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35919 "RANLIB=$${RANLIB}" \
35920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35921 installcheck) \
35922 || exit 1
35924 @endif target-examples
35926 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
35927 maybe-mostlyclean-target-examples:
35928 @if target-examples
35929 maybe-mostlyclean-target-examples: mostlyclean-target-examples
35931 mostlyclean-target-examples:
35932 @: $(MAKE); $(unstage)
35933 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35934 r=`${PWD_COMMAND}`; export r; \
35935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35936 $(NORMAL_TARGET_EXPORTS) \
35937 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
35938 for flag in $(EXTRA_TARGET_FLAGS); do \
35939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35940 done; \
35941 (cd $(TARGET_SUBDIR)/examples && \
35942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35944 "RANLIB=$${RANLIB}" \
35945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35946 mostlyclean) \
35947 || exit 1
35949 @endif target-examples
35951 .PHONY: maybe-clean-target-examples clean-target-examples
35952 maybe-clean-target-examples:
35953 @if target-examples
35954 maybe-clean-target-examples: clean-target-examples
35956 clean-target-examples:
35957 @: $(MAKE); $(unstage)
35958 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35959 r=`${PWD_COMMAND}`; export r; \
35960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35961 $(NORMAL_TARGET_EXPORTS) \
35962 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
35963 for flag in $(EXTRA_TARGET_FLAGS); do \
35964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35965 done; \
35966 (cd $(TARGET_SUBDIR)/examples && \
35967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35969 "RANLIB=$${RANLIB}" \
35970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35971 clean) \
35972 || exit 1
35974 @endif target-examples
35976 .PHONY: maybe-distclean-target-examples distclean-target-examples
35977 maybe-distclean-target-examples:
35978 @if target-examples
35979 maybe-distclean-target-examples: distclean-target-examples
35981 distclean-target-examples:
35982 @: $(MAKE); $(unstage)
35983 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
35984 r=`${PWD_COMMAND}`; export r; \
35985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35986 $(NORMAL_TARGET_EXPORTS) \
35987 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
35988 for flag in $(EXTRA_TARGET_FLAGS); do \
35989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35990 done; \
35991 (cd $(TARGET_SUBDIR)/examples && \
35992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35994 "RANLIB=$${RANLIB}" \
35995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35996 distclean) \
35997 || exit 1
35999 @endif target-examples
36001 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
36002 maybe-maintainer-clean-target-examples:
36003 @if target-examples
36004 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
36006 maintainer-clean-target-examples:
36007 @: $(MAKE); $(unstage)
36008 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
36009 r=`${PWD_COMMAND}`; export r; \
36010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36011 $(NORMAL_TARGET_EXPORTS) \
36012 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
36013 for flag in $(EXTRA_TARGET_FLAGS); do \
36014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36015 done; \
36016 (cd $(TARGET_SUBDIR)/examples && \
36017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36019 "RANLIB=$${RANLIB}" \
36020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36021 maintainer-clean) \
36022 || exit 1
36024 @endif target-examples
36030 .PHONY: configure-target-libffi maybe-configure-target-libffi
36031 maybe-configure-target-libffi:
36032 @if gcc-bootstrap
36033 configure-target-libffi: stage_current
36034 @endif gcc-bootstrap
36035 @if target-libffi
36036 maybe-configure-target-libffi: configure-target-libffi
36037 configure-target-libffi:
36038 @: $(MAKE); $(unstage)
36039 @r=`${PWD_COMMAND}`; export r; \
36040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36041 echo "Checking multilib configuration for libffi..."; \
36042 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
36043 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
36044 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
36045 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
36046 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
36047 else \
36048 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
36049 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
36050 fi; \
36051 else \
36052 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
36053 fi; \
36054 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
36055 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
36056 $(NORMAL_TARGET_EXPORTS) \
36057 echo Configuring in $(TARGET_SUBDIR)/libffi; \
36058 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
36059 case $(srcdir) in \
36060 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36061 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
36062 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36063 esac; \
36064 srcdiroption="--srcdir=$${topdir}/libffi"; \
36065 libsrcdir="$$s/libffi"; \
36066 rm -f no-such-file || : ; \
36067 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36068 $(TARGET_CONFIGARGS) $${srcdiroption} \
36069 || exit 1
36070 @endif target-libffi
36076 .PHONY: all-target-libffi maybe-all-target-libffi
36077 maybe-all-target-libffi:
36078 @if gcc-bootstrap
36079 all-target-libffi: stage_current
36080 @endif gcc-bootstrap
36081 @if target-libffi
36082 TARGET-target-libffi=all
36083 maybe-all-target-libffi: all-target-libffi
36084 all-target-libffi: configure-target-libffi
36085 @: $(MAKE); $(unstage)
36086 @r=`${PWD_COMMAND}`; export r; \
36087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36088 $(NORMAL_TARGET_EXPORTS) \
36089 (cd $(TARGET_SUBDIR)/libffi && \
36090 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
36091 @endif target-libffi
36097 .PHONY: check-target-libffi maybe-check-target-libffi
36098 maybe-check-target-libffi:
36099 @if target-libffi
36100 maybe-check-target-libffi: check-target-libffi
36102 check-target-libffi:
36103 @: $(MAKE); $(unstage)
36104 @r=`${PWD_COMMAND}`; export r; \
36105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36106 $(NORMAL_TARGET_EXPORTS) \
36107 (cd $(TARGET_SUBDIR)/libffi && \
36108 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36110 @endif target-libffi
36112 .PHONY: install-target-libffi maybe-install-target-libffi
36113 maybe-install-target-libffi:
36114 @if target-libffi
36115 maybe-install-target-libffi: install-target-libffi
36117 install-target-libffi: installdirs
36118 @: $(MAKE); $(unstage)
36119 @r=`${PWD_COMMAND}`; export r; \
36120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36121 $(NORMAL_TARGET_EXPORTS) \
36122 (cd $(TARGET_SUBDIR)/libffi && \
36123 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36125 @endif target-libffi
36127 # Other targets (info, dvi, etc.)
36129 .PHONY: maybe-info-target-libffi info-target-libffi
36130 maybe-info-target-libffi:
36131 @if target-libffi
36132 maybe-info-target-libffi: info-target-libffi
36134 info-target-libffi: \
36135 configure-target-libffi
36136 @: $(MAKE); $(unstage)
36137 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36138 r=`${PWD_COMMAND}`; export r; \
36139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36140 $(NORMAL_TARGET_EXPORTS) \
36141 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
36142 for flag in $(EXTRA_TARGET_FLAGS); do \
36143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36144 done; \
36145 (cd $(TARGET_SUBDIR)/libffi && \
36146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36148 "RANLIB=$${RANLIB}" \
36149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36150 info) \
36151 || exit 1
36153 @endif target-libffi
36155 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
36156 maybe-dvi-target-libffi:
36157 @if target-libffi
36158 maybe-dvi-target-libffi: dvi-target-libffi
36160 dvi-target-libffi: \
36161 configure-target-libffi
36162 @: $(MAKE); $(unstage)
36163 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36164 r=`${PWD_COMMAND}`; export r; \
36165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36166 $(NORMAL_TARGET_EXPORTS) \
36167 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
36168 for flag in $(EXTRA_TARGET_FLAGS); do \
36169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36170 done; \
36171 (cd $(TARGET_SUBDIR)/libffi && \
36172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36174 "RANLIB=$${RANLIB}" \
36175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36176 dvi) \
36177 || exit 1
36179 @endif target-libffi
36181 .PHONY: maybe-html-target-libffi html-target-libffi
36182 maybe-html-target-libffi:
36183 @if target-libffi
36184 maybe-html-target-libffi: html-target-libffi
36186 html-target-libffi: \
36187 configure-target-libffi
36188 @: $(MAKE); $(unstage)
36189 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36190 r=`${PWD_COMMAND}`; export r; \
36191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36192 $(NORMAL_TARGET_EXPORTS) \
36193 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
36194 for flag in $(EXTRA_TARGET_FLAGS); do \
36195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36196 done; \
36197 (cd $(TARGET_SUBDIR)/libffi && \
36198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36200 "RANLIB=$${RANLIB}" \
36201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36202 html) \
36203 || exit 1
36205 @endif target-libffi
36207 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
36208 maybe-TAGS-target-libffi:
36209 @if target-libffi
36210 maybe-TAGS-target-libffi: TAGS-target-libffi
36212 TAGS-target-libffi: \
36213 configure-target-libffi
36214 @: $(MAKE); $(unstage)
36215 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36216 r=`${PWD_COMMAND}`; export r; \
36217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36218 $(NORMAL_TARGET_EXPORTS) \
36219 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
36220 for flag in $(EXTRA_TARGET_FLAGS); do \
36221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36222 done; \
36223 (cd $(TARGET_SUBDIR)/libffi && \
36224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36226 "RANLIB=$${RANLIB}" \
36227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36228 TAGS) \
36229 || exit 1
36231 @endif target-libffi
36233 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
36234 maybe-install-info-target-libffi:
36235 @if target-libffi
36236 maybe-install-info-target-libffi: install-info-target-libffi
36238 install-info-target-libffi: \
36239 configure-target-libffi \
36240 info-target-libffi
36241 @: $(MAKE); $(unstage)
36242 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36243 r=`${PWD_COMMAND}`; export r; \
36244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36245 $(NORMAL_TARGET_EXPORTS) \
36246 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
36247 for flag in $(EXTRA_TARGET_FLAGS); do \
36248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36249 done; \
36250 (cd $(TARGET_SUBDIR)/libffi && \
36251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36253 "RANLIB=$${RANLIB}" \
36254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36255 install-info) \
36256 || exit 1
36258 @endif target-libffi
36260 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
36261 maybe-install-html-target-libffi:
36262 @if target-libffi
36263 maybe-install-html-target-libffi: install-html-target-libffi
36265 install-html-target-libffi: \
36266 configure-target-libffi \
36267 html-target-libffi
36268 @: $(MAKE); $(unstage)
36269 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36270 r=`${PWD_COMMAND}`; export r; \
36271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36272 $(NORMAL_TARGET_EXPORTS) \
36273 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
36274 for flag in $(EXTRA_TARGET_FLAGS); do \
36275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36276 done; \
36277 (cd $(TARGET_SUBDIR)/libffi && \
36278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36280 "RANLIB=$${RANLIB}" \
36281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36282 install-html) \
36283 || exit 1
36285 @endif target-libffi
36287 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
36288 maybe-installcheck-target-libffi:
36289 @if target-libffi
36290 maybe-installcheck-target-libffi: installcheck-target-libffi
36292 installcheck-target-libffi: \
36293 configure-target-libffi
36294 @: $(MAKE); $(unstage)
36295 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36296 r=`${PWD_COMMAND}`; export r; \
36297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36298 $(NORMAL_TARGET_EXPORTS) \
36299 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
36300 for flag in $(EXTRA_TARGET_FLAGS); do \
36301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36302 done; \
36303 (cd $(TARGET_SUBDIR)/libffi && \
36304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36306 "RANLIB=$${RANLIB}" \
36307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36308 installcheck) \
36309 || exit 1
36311 @endif target-libffi
36313 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
36314 maybe-mostlyclean-target-libffi:
36315 @if target-libffi
36316 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
36318 mostlyclean-target-libffi:
36319 @: $(MAKE); $(unstage)
36320 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36321 r=`${PWD_COMMAND}`; export r; \
36322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36323 $(NORMAL_TARGET_EXPORTS) \
36324 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
36325 for flag in $(EXTRA_TARGET_FLAGS); do \
36326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36327 done; \
36328 (cd $(TARGET_SUBDIR)/libffi && \
36329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36331 "RANLIB=$${RANLIB}" \
36332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36333 mostlyclean) \
36334 || exit 1
36336 @endif target-libffi
36338 .PHONY: maybe-clean-target-libffi clean-target-libffi
36339 maybe-clean-target-libffi:
36340 @if target-libffi
36341 maybe-clean-target-libffi: clean-target-libffi
36343 clean-target-libffi:
36344 @: $(MAKE); $(unstage)
36345 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36346 r=`${PWD_COMMAND}`; export r; \
36347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36348 $(NORMAL_TARGET_EXPORTS) \
36349 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
36350 for flag in $(EXTRA_TARGET_FLAGS); do \
36351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36352 done; \
36353 (cd $(TARGET_SUBDIR)/libffi && \
36354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36356 "RANLIB=$${RANLIB}" \
36357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36358 clean) \
36359 || exit 1
36361 @endif target-libffi
36363 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
36364 maybe-distclean-target-libffi:
36365 @if target-libffi
36366 maybe-distclean-target-libffi: distclean-target-libffi
36368 distclean-target-libffi:
36369 @: $(MAKE); $(unstage)
36370 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36371 r=`${PWD_COMMAND}`; export r; \
36372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36373 $(NORMAL_TARGET_EXPORTS) \
36374 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
36375 for flag in $(EXTRA_TARGET_FLAGS); do \
36376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36377 done; \
36378 (cd $(TARGET_SUBDIR)/libffi && \
36379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36381 "RANLIB=$${RANLIB}" \
36382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36383 distclean) \
36384 || exit 1
36386 @endif target-libffi
36388 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
36389 maybe-maintainer-clean-target-libffi:
36390 @if target-libffi
36391 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
36393 maintainer-clean-target-libffi:
36394 @: $(MAKE); $(unstage)
36395 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36396 r=`${PWD_COMMAND}`; export r; \
36397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36398 $(NORMAL_TARGET_EXPORTS) \
36399 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
36400 for flag in $(EXTRA_TARGET_FLAGS); do \
36401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36402 done; \
36403 (cd $(TARGET_SUBDIR)/libffi && \
36404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36406 "RANLIB=$${RANLIB}" \
36407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36408 maintainer-clean) \
36409 || exit 1
36411 @endif target-libffi
36417 .PHONY: configure-target-libjava maybe-configure-target-libjava
36418 maybe-configure-target-libjava:
36419 @if gcc-bootstrap
36420 configure-target-libjava: stage_current
36421 @endif gcc-bootstrap
36422 @if target-libjava
36423 maybe-configure-target-libjava: configure-target-libjava
36424 configure-target-libjava:
36425 @: $(MAKE); $(unstage)
36426 @r=`${PWD_COMMAND}`; export r; \
36427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36428 echo "Checking multilib configuration for libjava..."; \
36429 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
36430 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
36431 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
36432 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
36433 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
36434 else \
36435 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
36436 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
36437 fi; \
36438 else \
36439 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
36440 fi; \
36441 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
36442 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
36443 $(RAW_CXX_TARGET_EXPORTS) \
36444 echo Configuring in $(TARGET_SUBDIR)/libjava; \
36445 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
36446 case $(srcdir) in \
36447 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36448 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
36449 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36450 esac; \
36451 srcdiroption="--srcdir=$${topdir}/libjava"; \
36452 libsrcdir="$$s/libjava"; \
36453 rm -f no-such-file || : ; \
36454 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36455 $(TARGET_CONFIGARGS) $${srcdiroption} \
36456 || exit 1
36457 @endif target-libjava
36463 .PHONY: all-target-libjava maybe-all-target-libjava
36464 maybe-all-target-libjava:
36465 @if gcc-bootstrap
36466 all-target-libjava: stage_current
36467 @endif gcc-bootstrap
36468 @if target-libjava
36469 TARGET-target-libjava=all
36470 maybe-all-target-libjava: all-target-libjava
36471 all-target-libjava: configure-target-libjava
36472 @: $(MAKE); $(unstage)
36473 @r=`${PWD_COMMAND}`; export r; \
36474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36475 $(RAW_CXX_TARGET_EXPORTS) \
36476 (cd $(TARGET_SUBDIR)/libjava && \
36477 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
36478 @endif target-libjava
36484 .PHONY: check-target-libjava maybe-check-target-libjava
36485 maybe-check-target-libjava:
36486 @if target-libjava
36487 maybe-check-target-libjava: check-target-libjava
36489 check-target-libjava:
36490 @: $(MAKE); $(unstage)
36491 @r=`${PWD_COMMAND}`; export r; \
36492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36493 $(RAW_CXX_TARGET_EXPORTS) \
36494 (cd $(TARGET_SUBDIR)/libjava && \
36495 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
36497 @endif target-libjava
36499 .PHONY: install-target-libjava maybe-install-target-libjava
36500 maybe-install-target-libjava:
36501 @if target-libjava
36502 maybe-install-target-libjava: install-target-libjava
36504 install-target-libjava: installdirs
36505 @: $(MAKE); $(unstage)
36506 @r=`${PWD_COMMAND}`; export r; \
36507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36508 $(RAW_CXX_TARGET_EXPORTS) \
36509 (cd $(TARGET_SUBDIR)/libjava && \
36510 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36512 @endif target-libjava
36514 # Other targets (info, dvi, etc.)
36516 .PHONY: maybe-info-target-libjava info-target-libjava
36517 maybe-info-target-libjava:
36518 @if target-libjava
36519 maybe-info-target-libjava: info-target-libjava
36521 info-target-libjava: \
36522 configure-target-libjava
36523 @: $(MAKE); $(unstage)
36524 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36525 r=`${PWD_COMMAND}`; export r; \
36526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36527 $(RAW_CXX_TARGET_EXPORTS) \
36528 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
36529 for flag in $(EXTRA_TARGET_FLAGS); do \
36530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36531 done; \
36532 (cd $(TARGET_SUBDIR)/libjava && \
36533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36535 "RANLIB=$${RANLIB}" \
36536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36537 info) \
36538 || exit 1
36540 @endif target-libjava
36542 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
36543 maybe-dvi-target-libjava:
36544 @if target-libjava
36545 maybe-dvi-target-libjava: dvi-target-libjava
36547 dvi-target-libjava: \
36548 configure-target-libjava
36549 @: $(MAKE); $(unstage)
36550 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36551 r=`${PWD_COMMAND}`; export r; \
36552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36553 $(RAW_CXX_TARGET_EXPORTS) \
36554 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
36555 for flag in $(EXTRA_TARGET_FLAGS); do \
36556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36557 done; \
36558 (cd $(TARGET_SUBDIR)/libjava && \
36559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36561 "RANLIB=$${RANLIB}" \
36562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36563 dvi) \
36564 || exit 1
36566 @endif target-libjava
36568 .PHONY: maybe-html-target-libjava html-target-libjava
36569 maybe-html-target-libjava:
36570 @if target-libjava
36571 maybe-html-target-libjava: html-target-libjava
36573 html-target-libjava: \
36574 configure-target-libjava
36575 @: $(MAKE); $(unstage)
36576 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36577 r=`${PWD_COMMAND}`; export r; \
36578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36579 $(RAW_CXX_TARGET_EXPORTS) \
36580 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
36581 for flag in $(EXTRA_TARGET_FLAGS); do \
36582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36583 done; \
36584 (cd $(TARGET_SUBDIR)/libjava && \
36585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36587 "RANLIB=$${RANLIB}" \
36588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36589 html) \
36590 || exit 1
36592 @endif target-libjava
36594 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
36595 maybe-TAGS-target-libjava:
36596 @if target-libjava
36597 maybe-TAGS-target-libjava: TAGS-target-libjava
36599 TAGS-target-libjava: \
36600 configure-target-libjava
36601 @: $(MAKE); $(unstage)
36602 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36603 r=`${PWD_COMMAND}`; export r; \
36604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36605 $(RAW_CXX_TARGET_EXPORTS) \
36606 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
36607 for flag in $(EXTRA_TARGET_FLAGS); do \
36608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36609 done; \
36610 (cd $(TARGET_SUBDIR)/libjava && \
36611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36613 "RANLIB=$${RANLIB}" \
36614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36615 TAGS) \
36616 || exit 1
36618 @endif target-libjava
36620 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
36621 maybe-install-info-target-libjava:
36622 @if target-libjava
36623 maybe-install-info-target-libjava: install-info-target-libjava
36625 install-info-target-libjava: \
36626 configure-target-libjava \
36627 info-target-libjava
36628 @: $(MAKE); $(unstage)
36629 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36630 r=`${PWD_COMMAND}`; export r; \
36631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36632 $(RAW_CXX_TARGET_EXPORTS) \
36633 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
36634 for flag in $(EXTRA_TARGET_FLAGS); do \
36635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36636 done; \
36637 (cd $(TARGET_SUBDIR)/libjava && \
36638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36640 "RANLIB=$${RANLIB}" \
36641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36642 install-info) \
36643 || exit 1
36645 @endif target-libjava
36647 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
36648 maybe-install-html-target-libjava:
36649 @if target-libjava
36650 maybe-install-html-target-libjava: install-html-target-libjava
36652 install-html-target-libjava: \
36653 configure-target-libjava \
36654 html-target-libjava
36655 @: $(MAKE); $(unstage)
36656 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36657 r=`${PWD_COMMAND}`; export r; \
36658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36659 $(RAW_CXX_TARGET_EXPORTS) \
36660 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
36661 for flag in $(EXTRA_TARGET_FLAGS); do \
36662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36663 done; \
36664 (cd $(TARGET_SUBDIR)/libjava && \
36665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36667 "RANLIB=$${RANLIB}" \
36668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36669 install-html) \
36670 || exit 1
36672 @endif target-libjava
36674 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
36675 maybe-installcheck-target-libjava:
36676 @if target-libjava
36677 maybe-installcheck-target-libjava: installcheck-target-libjava
36679 installcheck-target-libjava: \
36680 configure-target-libjava
36681 @: $(MAKE); $(unstage)
36682 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36683 r=`${PWD_COMMAND}`; export r; \
36684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36685 $(RAW_CXX_TARGET_EXPORTS) \
36686 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
36687 for flag in $(EXTRA_TARGET_FLAGS); do \
36688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36689 done; \
36690 (cd $(TARGET_SUBDIR)/libjava && \
36691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36693 "RANLIB=$${RANLIB}" \
36694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36695 installcheck) \
36696 || exit 1
36698 @endif target-libjava
36700 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
36701 maybe-mostlyclean-target-libjava:
36702 @if target-libjava
36703 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
36705 mostlyclean-target-libjava:
36706 @: $(MAKE); $(unstage)
36707 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36708 r=`${PWD_COMMAND}`; export r; \
36709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36710 $(RAW_CXX_TARGET_EXPORTS) \
36711 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
36712 for flag in $(EXTRA_TARGET_FLAGS); do \
36713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36714 done; \
36715 (cd $(TARGET_SUBDIR)/libjava && \
36716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36718 "RANLIB=$${RANLIB}" \
36719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36720 mostlyclean) \
36721 || exit 1
36723 @endif target-libjava
36725 .PHONY: maybe-clean-target-libjava clean-target-libjava
36726 maybe-clean-target-libjava:
36727 @if target-libjava
36728 maybe-clean-target-libjava: clean-target-libjava
36730 clean-target-libjava:
36731 @: $(MAKE); $(unstage)
36732 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36733 r=`${PWD_COMMAND}`; export r; \
36734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36735 $(RAW_CXX_TARGET_EXPORTS) \
36736 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
36737 for flag in $(EXTRA_TARGET_FLAGS); do \
36738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36739 done; \
36740 (cd $(TARGET_SUBDIR)/libjava && \
36741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36743 "RANLIB=$${RANLIB}" \
36744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36745 clean) \
36746 || exit 1
36748 @endif target-libjava
36750 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
36751 maybe-distclean-target-libjava:
36752 @if target-libjava
36753 maybe-distclean-target-libjava: distclean-target-libjava
36755 distclean-target-libjava:
36756 @: $(MAKE); $(unstage)
36757 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36758 r=`${PWD_COMMAND}`; export r; \
36759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36760 $(RAW_CXX_TARGET_EXPORTS) \
36761 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
36762 for flag in $(EXTRA_TARGET_FLAGS); do \
36763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36764 done; \
36765 (cd $(TARGET_SUBDIR)/libjava && \
36766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36768 "RANLIB=$${RANLIB}" \
36769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36770 distclean) \
36771 || exit 1
36773 @endif target-libjava
36775 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
36776 maybe-maintainer-clean-target-libjava:
36777 @if target-libjava
36778 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
36780 maintainer-clean-target-libjava:
36781 @: $(MAKE); $(unstage)
36782 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
36783 r=`${PWD_COMMAND}`; export r; \
36784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36785 $(RAW_CXX_TARGET_EXPORTS) \
36786 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
36787 for flag in $(EXTRA_TARGET_FLAGS); do \
36788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36789 done; \
36790 (cd $(TARGET_SUBDIR)/libjava && \
36791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36793 "RANLIB=$${RANLIB}" \
36794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36795 maintainer-clean) \
36796 || exit 1
36798 @endif target-libjava
36804 .PHONY: configure-target-zlib maybe-configure-target-zlib
36805 maybe-configure-target-zlib:
36806 @if gcc-bootstrap
36807 configure-target-zlib: stage_current
36808 @endif gcc-bootstrap
36809 @if target-zlib
36810 maybe-configure-target-zlib: configure-target-zlib
36811 configure-target-zlib:
36812 @: $(MAKE); $(unstage)
36813 @r=`${PWD_COMMAND}`; export r; \
36814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36815 echo "Checking multilib configuration for zlib..."; \
36816 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
36817 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
36818 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
36819 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
36820 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
36821 else \
36822 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
36823 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
36824 fi; \
36825 else \
36826 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
36827 fi; \
36828 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
36829 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
36830 $(NORMAL_TARGET_EXPORTS) \
36831 echo Configuring in $(TARGET_SUBDIR)/zlib; \
36832 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
36833 case $(srcdir) in \
36834 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36835 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
36836 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36837 esac; \
36838 srcdiroption="--srcdir=$${topdir}/zlib"; \
36839 libsrcdir="$$s/zlib"; \
36840 rm -f no-such-file || : ; \
36841 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36842 $(TARGET_CONFIGARGS) $${srcdiroption} \
36843 || exit 1
36844 @endif target-zlib
36850 .PHONY: all-target-zlib maybe-all-target-zlib
36851 maybe-all-target-zlib:
36852 @if gcc-bootstrap
36853 all-target-zlib: stage_current
36854 @endif gcc-bootstrap
36855 @if target-zlib
36856 TARGET-target-zlib=all
36857 maybe-all-target-zlib: all-target-zlib
36858 all-target-zlib: configure-target-zlib
36859 @: $(MAKE); $(unstage)
36860 @r=`${PWD_COMMAND}`; export r; \
36861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36862 $(NORMAL_TARGET_EXPORTS) \
36863 (cd $(TARGET_SUBDIR)/zlib && \
36864 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
36865 @endif target-zlib
36871 .PHONY: check-target-zlib maybe-check-target-zlib
36872 maybe-check-target-zlib:
36873 @if target-zlib
36874 maybe-check-target-zlib: check-target-zlib
36876 check-target-zlib:
36877 @: $(MAKE); $(unstage)
36878 @r=`${PWD_COMMAND}`; export r; \
36879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36880 $(NORMAL_TARGET_EXPORTS) \
36881 (cd $(TARGET_SUBDIR)/zlib && \
36882 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36884 @endif target-zlib
36886 .PHONY: install-target-zlib maybe-install-target-zlib
36887 maybe-install-target-zlib:
36888 @if target-zlib
36889 maybe-install-target-zlib: install-target-zlib
36891 install-target-zlib: installdirs
36892 @: $(MAKE); $(unstage)
36893 @r=`${PWD_COMMAND}`; export r; \
36894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36895 $(NORMAL_TARGET_EXPORTS) \
36896 (cd $(TARGET_SUBDIR)/zlib && \
36897 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36899 @endif target-zlib
36901 # Other targets (info, dvi, etc.)
36903 .PHONY: maybe-info-target-zlib info-target-zlib
36904 maybe-info-target-zlib:
36905 @if target-zlib
36906 maybe-info-target-zlib: info-target-zlib
36908 info-target-zlib: \
36909 configure-target-zlib
36910 @: $(MAKE); $(unstage)
36911 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36912 r=`${PWD_COMMAND}`; export r; \
36913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36914 $(NORMAL_TARGET_EXPORTS) \
36915 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
36916 for flag in $(EXTRA_TARGET_FLAGS); do \
36917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36918 done; \
36919 (cd $(TARGET_SUBDIR)/zlib && \
36920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36922 "RANLIB=$${RANLIB}" \
36923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36924 info) \
36925 || exit 1
36927 @endif target-zlib
36929 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
36930 maybe-dvi-target-zlib:
36931 @if target-zlib
36932 maybe-dvi-target-zlib: dvi-target-zlib
36934 dvi-target-zlib: \
36935 configure-target-zlib
36936 @: $(MAKE); $(unstage)
36937 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36938 r=`${PWD_COMMAND}`; export r; \
36939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36940 $(NORMAL_TARGET_EXPORTS) \
36941 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
36942 for flag in $(EXTRA_TARGET_FLAGS); do \
36943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36944 done; \
36945 (cd $(TARGET_SUBDIR)/zlib && \
36946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36948 "RANLIB=$${RANLIB}" \
36949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36950 dvi) \
36951 || exit 1
36953 @endif target-zlib
36955 .PHONY: maybe-html-target-zlib html-target-zlib
36956 maybe-html-target-zlib:
36957 @if target-zlib
36958 maybe-html-target-zlib: html-target-zlib
36960 html-target-zlib: \
36961 configure-target-zlib
36962 @: $(MAKE); $(unstage)
36963 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36964 r=`${PWD_COMMAND}`; export r; \
36965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36966 $(NORMAL_TARGET_EXPORTS) \
36967 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
36968 for flag in $(EXTRA_TARGET_FLAGS); do \
36969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36970 done; \
36971 (cd $(TARGET_SUBDIR)/zlib && \
36972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36974 "RANLIB=$${RANLIB}" \
36975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36976 html) \
36977 || exit 1
36979 @endif target-zlib
36981 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
36982 maybe-TAGS-target-zlib:
36983 @if target-zlib
36984 maybe-TAGS-target-zlib: TAGS-target-zlib
36986 TAGS-target-zlib: \
36987 configure-target-zlib
36988 @: $(MAKE); $(unstage)
36989 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
36990 r=`${PWD_COMMAND}`; export r; \
36991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36992 $(NORMAL_TARGET_EXPORTS) \
36993 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
36994 for flag in $(EXTRA_TARGET_FLAGS); do \
36995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36996 done; \
36997 (cd $(TARGET_SUBDIR)/zlib && \
36998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37000 "RANLIB=$${RANLIB}" \
37001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37002 TAGS) \
37003 || exit 1
37005 @endif target-zlib
37007 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
37008 maybe-install-info-target-zlib:
37009 @if target-zlib
37010 maybe-install-info-target-zlib: install-info-target-zlib
37012 install-info-target-zlib: \
37013 configure-target-zlib \
37014 info-target-zlib
37015 @: $(MAKE); $(unstage)
37016 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37017 r=`${PWD_COMMAND}`; export r; \
37018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37019 $(NORMAL_TARGET_EXPORTS) \
37020 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
37021 for flag in $(EXTRA_TARGET_FLAGS); do \
37022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37023 done; \
37024 (cd $(TARGET_SUBDIR)/zlib && \
37025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37027 "RANLIB=$${RANLIB}" \
37028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37029 install-info) \
37030 || exit 1
37032 @endif target-zlib
37034 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
37035 maybe-install-html-target-zlib:
37036 @if target-zlib
37037 maybe-install-html-target-zlib: install-html-target-zlib
37039 install-html-target-zlib: \
37040 configure-target-zlib \
37041 html-target-zlib
37042 @: $(MAKE); $(unstage)
37043 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37044 r=`${PWD_COMMAND}`; export r; \
37045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37046 $(NORMAL_TARGET_EXPORTS) \
37047 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
37048 for flag in $(EXTRA_TARGET_FLAGS); do \
37049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37050 done; \
37051 (cd $(TARGET_SUBDIR)/zlib && \
37052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37054 "RANLIB=$${RANLIB}" \
37055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37056 install-html) \
37057 || exit 1
37059 @endif target-zlib
37061 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
37062 maybe-installcheck-target-zlib:
37063 @if target-zlib
37064 maybe-installcheck-target-zlib: installcheck-target-zlib
37066 installcheck-target-zlib: \
37067 configure-target-zlib
37068 @: $(MAKE); $(unstage)
37069 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37070 r=`${PWD_COMMAND}`; export r; \
37071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37072 $(NORMAL_TARGET_EXPORTS) \
37073 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
37074 for flag in $(EXTRA_TARGET_FLAGS); do \
37075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37076 done; \
37077 (cd $(TARGET_SUBDIR)/zlib && \
37078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37080 "RANLIB=$${RANLIB}" \
37081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37082 installcheck) \
37083 || exit 1
37085 @endif target-zlib
37087 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
37088 maybe-mostlyclean-target-zlib:
37089 @if target-zlib
37090 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
37092 mostlyclean-target-zlib:
37093 @: $(MAKE); $(unstage)
37094 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37095 r=`${PWD_COMMAND}`; export r; \
37096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37097 $(NORMAL_TARGET_EXPORTS) \
37098 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
37099 for flag in $(EXTRA_TARGET_FLAGS); do \
37100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37101 done; \
37102 (cd $(TARGET_SUBDIR)/zlib && \
37103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37105 "RANLIB=$${RANLIB}" \
37106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37107 mostlyclean) \
37108 || exit 1
37110 @endif target-zlib
37112 .PHONY: maybe-clean-target-zlib clean-target-zlib
37113 maybe-clean-target-zlib:
37114 @if target-zlib
37115 maybe-clean-target-zlib: clean-target-zlib
37117 clean-target-zlib:
37118 @: $(MAKE); $(unstage)
37119 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37120 r=`${PWD_COMMAND}`; export r; \
37121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37122 $(NORMAL_TARGET_EXPORTS) \
37123 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
37124 for flag in $(EXTRA_TARGET_FLAGS); do \
37125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37126 done; \
37127 (cd $(TARGET_SUBDIR)/zlib && \
37128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37130 "RANLIB=$${RANLIB}" \
37131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37132 clean) \
37133 || exit 1
37135 @endif target-zlib
37137 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
37138 maybe-distclean-target-zlib:
37139 @if target-zlib
37140 maybe-distclean-target-zlib: distclean-target-zlib
37142 distclean-target-zlib:
37143 @: $(MAKE); $(unstage)
37144 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37145 r=`${PWD_COMMAND}`; export r; \
37146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37147 $(NORMAL_TARGET_EXPORTS) \
37148 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
37149 for flag in $(EXTRA_TARGET_FLAGS); do \
37150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37151 done; \
37152 (cd $(TARGET_SUBDIR)/zlib && \
37153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37155 "RANLIB=$${RANLIB}" \
37156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37157 distclean) \
37158 || exit 1
37160 @endif target-zlib
37162 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
37163 maybe-maintainer-clean-target-zlib:
37164 @if target-zlib
37165 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
37167 maintainer-clean-target-zlib:
37168 @: $(MAKE); $(unstage)
37169 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37170 r=`${PWD_COMMAND}`; export r; \
37171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37172 $(NORMAL_TARGET_EXPORTS) \
37173 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
37174 for flag in $(EXTRA_TARGET_FLAGS); do \
37175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37176 done; \
37177 (cd $(TARGET_SUBDIR)/zlib && \
37178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37180 "RANLIB=$${RANLIB}" \
37181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37182 maintainer-clean) \
37183 || exit 1
37185 @endif target-zlib
37191 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
37192 maybe-configure-target-boehm-gc:
37193 @if gcc-bootstrap
37194 configure-target-boehm-gc: stage_current
37195 @endif gcc-bootstrap
37196 @if target-boehm-gc
37197 maybe-configure-target-boehm-gc: configure-target-boehm-gc
37198 configure-target-boehm-gc:
37199 @: $(MAKE); $(unstage)
37200 @r=`${PWD_COMMAND}`; export r; \
37201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37202 echo "Checking multilib configuration for boehm-gc..."; \
37203 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
37204 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
37205 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
37206 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
37207 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
37208 else \
37209 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
37210 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
37211 fi; \
37212 else \
37213 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
37214 fi; \
37215 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
37216 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
37217 $(NORMAL_TARGET_EXPORTS) \
37218 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
37219 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
37220 case $(srcdir) in \
37221 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37222 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
37223 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37224 esac; \
37225 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
37226 libsrcdir="$$s/boehm-gc"; \
37227 rm -f no-such-file || : ; \
37228 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37229 $(TARGET_CONFIGARGS) $${srcdiroption} \
37230 || exit 1
37231 @endif target-boehm-gc
37237 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
37238 maybe-all-target-boehm-gc:
37239 @if gcc-bootstrap
37240 all-target-boehm-gc: stage_current
37241 @endif gcc-bootstrap
37242 @if target-boehm-gc
37243 TARGET-target-boehm-gc=all
37244 maybe-all-target-boehm-gc: all-target-boehm-gc
37245 all-target-boehm-gc: configure-target-boehm-gc
37246 @: $(MAKE); $(unstage)
37247 @r=`${PWD_COMMAND}`; export r; \
37248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37249 $(NORMAL_TARGET_EXPORTS) \
37250 (cd $(TARGET_SUBDIR)/boehm-gc && \
37251 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
37252 @endif target-boehm-gc
37258 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
37259 maybe-check-target-boehm-gc:
37260 @if target-boehm-gc
37261 maybe-check-target-boehm-gc: check-target-boehm-gc
37263 check-target-boehm-gc:
37264 @: $(MAKE); $(unstage)
37265 @r=`${PWD_COMMAND}`; export r; \
37266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37267 $(NORMAL_TARGET_EXPORTS) \
37268 (cd $(TARGET_SUBDIR)/boehm-gc && \
37269 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37271 @endif target-boehm-gc
37273 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
37274 maybe-install-target-boehm-gc:
37275 @if target-boehm-gc
37276 maybe-install-target-boehm-gc: install-target-boehm-gc
37278 install-target-boehm-gc: installdirs
37279 @: $(MAKE); $(unstage)
37280 @r=`${PWD_COMMAND}`; export r; \
37281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37282 $(NORMAL_TARGET_EXPORTS) \
37283 (cd $(TARGET_SUBDIR)/boehm-gc && \
37284 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37286 @endif target-boehm-gc
37288 # Other targets (info, dvi, etc.)
37290 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
37291 maybe-info-target-boehm-gc:
37292 @if target-boehm-gc
37293 maybe-info-target-boehm-gc: info-target-boehm-gc
37295 info-target-boehm-gc: \
37296 configure-target-boehm-gc
37297 @: $(MAKE); $(unstage)
37298 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37299 r=`${PWD_COMMAND}`; export r; \
37300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37301 $(NORMAL_TARGET_EXPORTS) \
37302 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
37303 for flag in $(EXTRA_TARGET_FLAGS); do \
37304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37305 done; \
37306 (cd $(TARGET_SUBDIR)/boehm-gc && \
37307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37309 "RANLIB=$${RANLIB}" \
37310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37311 info) \
37312 || exit 1
37314 @endif target-boehm-gc
37316 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
37317 maybe-dvi-target-boehm-gc:
37318 @if target-boehm-gc
37319 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
37321 dvi-target-boehm-gc: \
37322 configure-target-boehm-gc
37323 @: $(MAKE); $(unstage)
37324 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37325 r=`${PWD_COMMAND}`; export r; \
37326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37327 $(NORMAL_TARGET_EXPORTS) \
37328 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
37329 for flag in $(EXTRA_TARGET_FLAGS); do \
37330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37331 done; \
37332 (cd $(TARGET_SUBDIR)/boehm-gc && \
37333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37335 "RANLIB=$${RANLIB}" \
37336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37337 dvi) \
37338 || exit 1
37340 @endif target-boehm-gc
37342 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
37343 maybe-html-target-boehm-gc:
37344 @if target-boehm-gc
37345 maybe-html-target-boehm-gc: html-target-boehm-gc
37347 html-target-boehm-gc: \
37348 configure-target-boehm-gc
37349 @: $(MAKE); $(unstage)
37350 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37351 r=`${PWD_COMMAND}`; export r; \
37352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37353 $(NORMAL_TARGET_EXPORTS) \
37354 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
37355 for flag in $(EXTRA_TARGET_FLAGS); do \
37356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37357 done; \
37358 (cd $(TARGET_SUBDIR)/boehm-gc && \
37359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37361 "RANLIB=$${RANLIB}" \
37362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37363 html) \
37364 || exit 1
37366 @endif target-boehm-gc
37368 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
37369 maybe-TAGS-target-boehm-gc:
37370 @if target-boehm-gc
37371 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
37373 TAGS-target-boehm-gc: \
37374 configure-target-boehm-gc
37375 @: $(MAKE); $(unstage)
37376 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37377 r=`${PWD_COMMAND}`; export r; \
37378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37379 $(NORMAL_TARGET_EXPORTS) \
37380 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
37381 for flag in $(EXTRA_TARGET_FLAGS); do \
37382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37383 done; \
37384 (cd $(TARGET_SUBDIR)/boehm-gc && \
37385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37387 "RANLIB=$${RANLIB}" \
37388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37389 TAGS) \
37390 || exit 1
37392 @endif target-boehm-gc
37394 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
37395 maybe-install-info-target-boehm-gc:
37396 @if target-boehm-gc
37397 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
37399 install-info-target-boehm-gc: \
37400 configure-target-boehm-gc \
37401 info-target-boehm-gc
37402 @: $(MAKE); $(unstage)
37403 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37404 r=`${PWD_COMMAND}`; export r; \
37405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37406 $(NORMAL_TARGET_EXPORTS) \
37407 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
37408 for flag in $(EXTRA_TARGET_FLAGS); do \
37409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37410 done; \
37411 (cd $(TARGET_SUBDIR)/boehm-gc && \
37412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37414 "RANLIB=$${RANLIB}" \
37415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37416 install-info) \
37417 || exit 1
37419 @endif target-boehm-gc
37421 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
37422 maybe-install-html-target-boehm-gc:
37423 @if target-boehm-gc
37424 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
37426 install-html-target-boehm-gc: \
37427 configure-target-boehm-gc \
37428 html-target-boehm-gc
37429 @: $(MAKE); $(unstage)
37430 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37431 r=`${PWD_COMMAND}`; export r; \
37432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37433 $(NORMAL_TARGET_EXPORTS) \
37434 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
37435 for flag in $(EXTRA_TARGET_FLAGS); do \
37436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37437 done; \
37438 (cd $(TARGET_SUBDIR)/boehm-gc && \
37439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37441 "RANLIB=$${RANLIB}" \
37442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37443 install-html) \
37444 || exit 1
37446 @endif target-boehm-gc
37448 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
37449 maybe-installcheck-target-boehm-gc:
37450 @if target-boehm-gc
37451 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
37453 installcheck-target-boehm-gc: \
37454 configure-target-boehm-gc
37455 @: $(MAKE); $(unstage)
37456 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37457 r=`${PWD_COMMAND}`; export r; \
37458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37459 $(NORMAL_TARGET_EXPORTS) \
37460 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
37461 for flag in $(EXTRA_TARGET_FLAGS); do \
37462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37463 done; \
37464 (cd $(TARGET_SUBDIR)/boehm-gc && \
37465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37467 "RANLIB=$${RANLIB}" \
37468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37469 installcheck) \
37470 || exit 1
37472 @endif target-boehm-gc
37474 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
37475 maybe-mostlyclean-target-boehm-gc:
37476 @if target-boehm-gc
37477 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
37479 mostlyclean-target-boehm-gc:
37480 @: $(MAKE); $(unstage)
37481 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37482 r=`${PWD_COMMAND}`; export r; \
37483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37484 $(NORMAL_TARGET_EXPORTS) \
37485 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
37486 for flag in $(EXTRA_TARGET_FLAGS); do \
37487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37488 done; \
37489 (cd $(TARGET_SUBDIR)/boehm-gc && \
37490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37492 "RANLIB=$${RANLIB}" \
37493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37494 mostlyclean) \
37495 || exit 1
37497 @endif target-boehm-gc
37499 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
37500 maybe-clean-target-boehm-gc:
37501 @if target-boehm-gc
37502 maybe-clean-target-boehm-gc: clean-target-boehm-gc
37504 clean-target-boehm-gc:
37505 @: $(MAKE); $(unstage)
37506 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37507 r=`${PWD_COMMAND}`; export r; \
37508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37509 $(NORMAL_TARGET_EXPORTS) \
37510 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
37511 for flag in $(EXTRA_TARGET_FLAGS); do \
37512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37513 done; \
37514 (cd $(TARGET_SUBDIR)/boehm-gc && \
37515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37517 "RANLIB=$${RANLIB}" \
37518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37519 clean) \
37520 || exit 1
37522 @endif target-boehm-gc
37524 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
37525 maybe-distclean-target-boehm-gc:
37526 @if target-boehm-gc
37527 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
37529 distclean-target-boehm-gc:
37530 @: $(MAKE); $(unstage)
37531 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37532 r=`${PWD_COMMAND}`; export r; \
37533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37534 $(NORMAL_TARGET_EXPORTS) \
37535 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
37536 for flag in $(EXTRA_TARGET_FLAGS); do \
37537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37538 done; \
37539 (cd $(TARGET_SUBDIR)/boehm-gc && \
37540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37542 "RANLIB=$${RANLIB}" \
37543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37544 distclean) \
37545 || exit 1
37547 @endif target-boehm-gc
37549 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
37550 maybe-maintainer-clean-target-boehm-gc:
37551 @if target-boehm-gc
37552 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
37554 maintainer-clean-target-boehm-gc:
37555 @: $(MAKE); $(unstage)
37556 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37557 r=`${PWD_COMMAND}`; export r; \
37558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37559 $(NORMAL_TARGET_EXPORTS) \
37560 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
37561 for flag in $(EXTRA_TARGET_FLAGS); do \
37562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37563 done; \
37564 (cd $(TARGET_SUBDIR)/boehm-gc && \
37565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37567 "RANLIB=$${RANLIB}" \
37568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37569 maintainer-clean) \
37570 || exit 1
37572 @endif target-boehm-gc
37578 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
37579 maybe-configure-target-qthreads:
37580 @if gcc-bootstrap
37581 configure-target-qthreads: stage_current
37582 @endif gcc-bootstrap
37583 @if target-qthreads
37584 maybe-configure-target-qthreads: configure-target-qthreads
37585 configure-target-qthreads:
37586 @: $(MAKE); $(unstage)
37587 @r=`${PWD_COMMAND}`; export r; \
37588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37589 echo "Checking multilib configuration for qthreads..."; \
37590 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
37591 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
37592 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
37593 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
37594 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
37595 else \
37596 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
37597 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
37598 fi; \
37599 else \
37600 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
37601 fi; \
37602 test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
37603 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
37604 $(NORMAL_TARGET_EXPORTS) \
37605 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
37606 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
37607 case $(srcdir) in \
37608 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37609 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
37610 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37611 esac; \
37612 srcdiroption="--srcdir=$${topdir}/qthreads"; \
37613 libsrcdir="$$s/qthreads"; \
37614 rm -f no-such-file || : ; \
37615 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37616 $(TARGET_CONFIGARGS) $${srcdiroption} \
37617 || exit 1
37618 @endif target-qthreads
37624 .PHONY: all-target-qthreads maybe-all-target-qthreads
37625 maybe-all-target-qthreads:
37626 @if gcc-bootstrap
37627 all-target-qthreads: stage_current
37628 @endif gcc-bootstrap
37629 @if target-qthreads
37630 TARGET-target-qthreads=all
37631 maybe-all-target-qthreads: all-target-qthreads
37632 all-target-qthreads: configure-target-qthreads
37633 @: $(MAKE); $(unstage)
37634 @r=`${PWD_COMMAND}`; export r; \
37635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37636 $(NORMAL_TARGET_EXPORTS) \
37637 (cd $(TARGET_SUBDIR)/qthreads && \
37638 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
37639 @endif target-qthreads
37645 .PHONY: check-target-qthreads maybe-check-target-qthreads
37646 maybe-check-target-qthreads:
37647 @if target-qthreads
37648 maybe-check-target-qthreads: check-target-qthreads
37650 check-target-qthreads:
37651 @: $(MAKE); $(unstage)
37652 @r=`${PWD_COMMAND}`; export r; \
37653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37654 $(NORMAL_TARGET_EXPORTS) \
37655 (cd $(TARGET_SUBDIR)/qthreads && \
37656 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37658 @endif target-qthreads
37660 .PHONY: install-target-qthreads maybe-install-target-qthreads
37661 maybe-install-target-qthreads:
37662 @if target-qthreads
37663 maybe-install-target-qthreads: install-target-qthreads
37665 install-target-qthreads: installdirs
37666 @: $(MAKE); $(unstage)
37667 @r=`${PWD_COMMAND}`; export r; \
37668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37669 $(NORMAL_TARGET_EXPORTS) \
37670 (cd $(TARGET_SUBDIR)/qthreads && \
37671 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37673 @endif target-qthreads
37675 # Other targets (info, dvi, etc.)
37677 .PHONY: maybe-info-target-qthreads info-target-qthreads
37678 maybe-info-target-qthreads:
37679 @if target-qthreads
37680 maybe-info-target-qthreads: info-target-qthreads
37682 info-target-qthreads: \
37683 configure-target-qthreads
37684 @: $(MAKE); $(unstage)
37685 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37686 r=`${PWD_COMMAND}`; export r; \
37687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37688 $(NORMAL_TARGET_EXPORTS) \
37689 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
37690 for flag in $(EXTRA_TARGET_FLAGS); do \
37691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37692 done; \
37693 (cd $(TARGET_SUBDIR)/qthreads && \
37694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37696 "RANLIB=$${RANLIB}" \
37697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37698 info) \
37699 || exit 1
37701 @endif target-qthreads
37703 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
37704 maybe-dvi-target-qthreads:
37705 @if target-qthreads
37706 maybe-dvi-target-qthreads: dvi-target-qthreads
37708 dvi-target-qthreads: \
37709 configure-target-qthreads
37710 @: $(MAKE); $(unstage)
37711 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37712 r=`${PWD_COMMAND}`; export r; \
37713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37714 $(NORMAL_TARGET_EXPORTS) \
37715 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
37716 for flag in $(EXTRA_TARGET_FLAGS); do \
37717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37718 done; \
37719 (cd $(TARGET_SUBDIR)/qthreads && \
37720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37722 "RANLIB=$${RANLIB}" \
37723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37724 dvi) \
37725 || exit 1
37727 @endif target-qthreads
37729 .PHONY: maybe-html-target-qthreads html-target-qthreads
37730 maybe-html-target-qthreads:
37731 @if target-qthreads
37732 maybe-html-target-qthreads: html-target-qthreads
37734 html-target-qthreads: \
37735 configure-target-qthreads
37736 @: $(MAKE); $(unstage)
37737 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37738 r=`${PWD_COMMAND}`; export r; \
37739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37740 $(NORMAL_TARGET_EXPORTS) \
37741 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
37742 for flag in $(EXTRA_TARGET_FLAGS); do \
37743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37744 done; \
37745 (cd $(TARGET_SUBDIR)/qthreads && \
37746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37748 "RANLIB=$${RANLIB}" \
37749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37750 html) \
37751 || exit 1
37753 @endif target-qthreads
37755 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
37756 maybe-TAGS-target-qthreads:
37757 @if target-qthreads
37758 maybe-TAGS-target-qthreads: TAGS-target-qthreads
37760 TAGS-target-qthreads: \
37761 configure-target-qthreads
37762 @: $(MAKE); $(unstage)
37763 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37764 r=`${PWD_COMMAND}`; export r; \
37765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37766 $(NORMAL_TARGET_EXPORTS) \
37767 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
37768 for flag in $(EXTRA_TARGET_FLAGS); do \
37769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37770 done; \
37771 (cd $(TARGET_SUBDIR)/qthreads && \
37772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37774 "RANLIB=$${RANLIB}" \
37775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37776 TAGS) \
37777 || exit 1
37779 @endif target-qthreads
37781 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
37782 maybe-install-info-target-qthreads:
37783 @if target-qthreads
37784 maybe-install-info-target-qthreads: install-info-target-qthreads
37786 install-info-target-qthreads: \
37787 configure-target-qthreads \
37788 info-target-qthreads
37789 @: $(MAKE); $(unstage)
37790 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37791 r=`${PWD_COMMAND}`; export r; \
37792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37793 $(NORMAL_TARGET_EXPORTS) \
37794 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
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)/qthreads && \
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 install-info) \
37804 || exit 1
37806 @endif target-qthreads
37808 .PHONY: maybe-install-html-target-qthreads install-html-target-qthreads
37809 maybe-install-html-target-qthreads:
37810 @if target-qthreads
37811 maybe-install-html-target-qthreads: install-html-target-qthreads
37813 install-html-target-qthreads: \
37814 configure-target-qthreads \
37815 html-target-qthreads
37816 @: $(MAKE); $(unstage)
37817 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37818 r=`${PWD_COMMAND}`; export r; \
37819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37820 $(NORMAL_TARGET_EXPORTS) \
37821 echo "Doing install-html in $(TARGET_SUBDIR)/qthreads" ; \
37822 for flag in $(EXTRA_TARGET_FLAGS); do \
37823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37824 done; \
37825 (cd $(TARGET_SUBDIR)/qthreads && \
37826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37828 "RANLIB=$${RANLIB}" \
37829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37830 install-html) \
37831 || exit 1
37833 @endif target-qthreads
37835 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
37836 maybe-installcheck-target-qthreads:
37837 @if target-qthreads
37838 maybe-installcheck-target-qthreads: installcheck-target-qthreads
37840 installcheck-target-qthreads: \
37841 configure-target-qthreads
37842 @: $(MAKE); $(unstage)
37843 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37844 r=`${PWD_COMMAND}`; export r; \
37845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37846 $(NORMAL_TARGET_EXPORTS) \
37847 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
37848 for flag in $(EXTRA_TARGET_FLAGS); do \
37849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37850 done; \
37851 (cd $(TARGET_SUBDIR)/qthreads && \
37852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37854 "RANLIB=$${RANLIB}" \
37855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37856 installcheck) \
37857 || exit 1
37859 @endif target-qthreads
37861 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
37862 maybe-mostlyclean-target-qthreads:
37863 @if target-qthreads
37864 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
37866 mostlyclean-target-qthreads:
37867 @: $(MAKE); $(unstage)
37868 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37869 r=`${PWD_COMMAND}`; export r; \
37870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37871 $(NORMAL_TARGET_EXPORTS) \
37872 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
37873 for flag in $(EXTRA_TARGET_FLAGS); do \
37874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37875 done; \
37876 (cd $(TARGET_SUBDIR)/qthreads && \
37877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37879 "RANLIB=$${RANLIB}" \
37880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37881 mostlyclean) \
37882 || exit 1
37884 @endif target-qthreads
37886 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
37887 maybe-clean-target-qthreads:
37888 @if target-qthreads
37889 maybe-clean-target-qthreads: clean-target-qthreads
37891 clean-target-qthreads:
37892 @: $(MAKE); $(unstage)
37893 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37894 r=`${PWD_COMMAND}`; export r; \
37895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37896 $(NORMAL_TARGET_EXPORTS) \
37897 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
37898 for flag in $(EXTRA_TARGET_FLAGS); do \
37899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37900 done; \
37901 (cd $(TARGET_SUBDIR)/qthreads && \
37902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37904 "RANLIB=$${RANLIB}" \
37905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37906 clean) \
37907 || exit 1
37909 @endif target-qthreads
37911 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
37912 maybe-distclean-target-qthreads:
37913 @if target-qthreads
37914 maybe-distclean-target-qthreads: distclean-target-qthreads
37916 distclean-target-qthreads:
37917 @: $(MAKE); $(unstage)
37918 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37919 r=`${PWD_COMMAND}`; export r; \
37920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37921 $(NORMAL_TARGET_EXPORTS) \
37922 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
37923 for flag in $(EXTRA_TARGET_FLAGS); do \
37924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37925 done; \
37926 (cd $(TARGET_SUBDIR)/qthreads && \
37927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37929 "RANLIB=$${RANLIB}" \
37930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37931 distclean) \
37932 || exit 1
37934 @endif target-qthreads
37936 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
37937 maybe-maintainer-clean-target-qthreads:
37938 @if target-qthreads
37939 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
37941 maintainer-clean-target-qthreads:
37942 @: $(MAKE); $(unstage)
37943 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
37944 r=`${PWD_COMMAND}`; export r; \
37945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37946 $(NORMAL_TARGET_EXPORTS) \
37947 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
37948 for flag in $(EXTRA_TARGET_FLAGS); do \
37949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37950 done; \
37951 (cd $(TARGET_SUBDIR)/qthreads && \
37952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37954 "RANLIB=$${RANLIB}" \
37955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37956 maintainer-clean) \
37957 || exit 1
37959 @endif target-qthreads
37965 .PHONY: configure-target-rda maybe-configure-target-rda
37966 maybe-configure-target-rda:
37967 @if gcc-bootstrap
37968 configure-target-rda: stage_current
37969 @endif gcc-bootstrap
37970 @if target-rda
37971 maybe-configure-target-rda: configure-target-rda
37972 configure-target-rda:
37973 @: $(MAKE); $(unstage)
37974 @r=`${PWD_COMMAND}`; export r; \
37975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37976 echo "Checking multilib configuration for rda..."; \
37977 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
37978 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
37979 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
37980 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
37981 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
37982 else \
37983 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
37984 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
37985 fi; \
37986 else \
37987 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
37988 fi; \
37989 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
37990 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
37991 $(NORMAL_TARGET_EXPORTS) \
37992 echo Configuring in $(TARGET_SUBDIR)/rda; \
37993 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
37994 case $(srcdir) in \
37995 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37996 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
37997 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37998 esac; \
37999 srcdiroption="--srcdir=$${topdir}/rda"; \
38000 libsrcdir="$$s/rda"; \
38001 rm -f no-such-file || : ; \
38002 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38003 $(TARGET_CONFIGARGS) $${srcdiroption} \
38004 || exit 1
38005 @endif target-rda
38011 .PHONY: all-target-rda maybe-all-target-rda
38012 maybe-all-target-rda:
38013 @if gcc-bootstrap
38014 all-target-rda: stage_current
38015 @endif gcc-bootstrap
38016 @if target-rda
38017 TARGET-target-rda=all
38018 maybe-all-target-rda: all-target-rda
38019 all-target-rda: configure-target-rda
38020 @: $(MAKE); $(unstage)
38021 @r=`${PWD_COMMAND}`; export r; \
38022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38023 $(NORMAL_TARGET_EXPORTS) \
38024 (cd $(TARGET_SUBDIR)/rda && \
38025 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
38026 @endif target-rda
38032 .PHONY: check-target-rda maybe-check-target-rda
38033 maybe-check-target-rda:
38034 @if target-rda
38035 maybe-check-target-rda: check-target-rda
38037 check-target-rda:
38038 @: $(MAKE); $(unstage)
38039 @r=`${PWD_COMMAND}`; export r; \
38040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38041 $(NORMAL_TARGET_EXPORTS) \
38042 (cd $(TARGET_SUBDIR)/rda && \
38043 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38045 @endif target-rda
38047 .PHONY: install-target-rda maybe-install-target-rda
38048 maybe-install-target-rda:
38049 @if target-rda
38050 maybe-install-target-rda: install-target-rda
38052 install-target-rda: installdirs
38053 @: $(MAKE); $(unstage)
38054 @r=`${PWD_COMMAND}`; export r; \
38055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38056 $(NORMAL_TARGET_EXPORTS) \
38057 (cd $(TARGET_SUBDIR)/rda && \
38058 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38060 @endif target-rda
38062 # Other targets (info, dvi, etc.)
38064 .PHONY: maybe-info-target-rda info-target-rda
38065 maybe-info-target-rda:
38066 @if target-rda
38067 maybe-info-target-rda: info-target-rda
38069 info-target-rda: \
38070 configure-target-rda
38071 @: $(MAKE); $(unstage)
38072 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38073 r=`${PWD_COMMAND}`; export r; \
38074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38075 $(NORMAL_TARGET_EXPORTS) \
38076 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
38077 for flag in $(EXTRA_TARGET_FLAGS); do \
38078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38079 done; \
38080 (cd $(TARGET_SUBDIR)/rda && \
38081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38083 "RANLIB=$${RANLIB}" \
38084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38085 info) \
38086 || exit 1
38088 @endif target-rda
38090 .PHONY: maybe-dvi-target-rda dvi-target-rda
38091 maybe-dvi-target-rda:
38092 @if target-rda
38093 maybe-dvi-target-rda: dvi-target-rda
38095 dvi-target-rda: \
38096 configure-target-rda
38097 @: $(MAKE); $(unstage)
38098 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38099 r=`${PWD_COMMAND}`; export r; \
38100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38101 $(NORMAL_TARGET_EXPORTS) \
38102 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
38103 for flag in $(EXTRA_TARGET_FLAGS); do \
38104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38105 done; \
38106 (cd $(TARGET_SUBDIR)/rda && \
38107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38109 "RANLIB=$${RANLIB}" \
38110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38111 dvi) \
38112 || exit 1
38114 @endif target-rda
38116 .PHONY: maybe-html-target-rda html-target-rda
38117 maybe-html-target-rda:
38118 @if target-rda
38119 maybe-html-target-rda: html-target-rda
38121 html-target-rda: \
38122 configure-target-rda
38123 @: $(MAKE); $(unstage)
38124 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38125 r=`${PWD_COMMAND}`; export r; \
38126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38127 $(NORMAL_TARGET_EXPORTS) \
38128 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
38129 for flag in $(EXTRA_TARGET_FLAGS); do \
38130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38131 done; \
38132 (cd $(TARGET_SUBDIR)/rda && \
38133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38135 "RANLIB=$${RANLIB}" \
38136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38137 html) \
38138 || exit 1
38140 @endif target-rda
38142 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
38143 maybe-TAGS-target-rda:
38144 @if target-rda
38145 maybe-TAGS-target-rda: TAGS-target-rda
38147 TAGS-target-rda: \
38148 configure-target-rda
38149 @: $(MAKE); $(unstage)
38150 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38151 r=`${PWD_COMMAND}`; export r; \
38152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38153 $(NORMAL_TARGET_EXPORTS) \
38154 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
38155 for flag in $(EXTRA_TARGET_FLAGS); do \
38156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38157 done; \
38158 (cd $(TARGET_SUBDIR)/rda && \
38159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38161 "RANLIB=$${RANLIB}" \
38162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38163 TAGS) \
38164 || exit 1
38166 @endif target-rda
38168 .PHONY: maybe-install-info-target-rda install-info-target-rda
38169 maybe-install-info-target-rda:
38170 @if target-rda
38171 maybe-install-info-target-rda: install-info-target-rda
38173 install-info-target-rda: \
38174 configure-target-rda \
38175 info-target-rda
38176 @: $(MAKE); $(unstage)
38177 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38178 r=`${PWD_COMMAND}`; export r; \
38179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38180 $(NORMAL_TARGET_EXPORTS) \
38181 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
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)/rda && \
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 install-info) \
38191 || exit 1
38193 @endif target-rda
38195 .PHONY: maybe-install-html-target-rda install-html-target-rda
38196 maybe-install-html-target-rda:
38197 @if target-rda
38198 maybe-install-html-target-rda: install-html-target-rda
38200 install-html-target-rda: \
38201 configure-target-rda \
38202 html-target-rda
38203 @: $(MAKE); $(unstage)
38204 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38205 r=`${PWD_COMMAND}`; export r; \
38206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38207 $(NORMAL_TARGET_EXPORTS) \
38208 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
38209 for flag in $(EXTRA_TARGET_FLAGS); do \
38210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38211 done; \
38212 (cd $(TARGET_SUBDIR)/rda && \
38213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38215 "RANLIB=$${RANLIB}" \
38216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38217 install-html) \
38218 || exit 1
38220 @endif target-rda
38222 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
38223 maybe-installcheck-target-rda:
38224 @if target-rda
38225 maybe-installcheck-target-rda: installcheck-target-rda
38227 installcheck-target-rda: \
38228 configure-target-rda
38229 @: $(MAKE); $(unstage)
38230 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38231 r=`${PWD_COMMAND}`; export r; \
38232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38233 $(NORMAL_TARGET_EXPORTS) \
38234 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
38235 for flag in $(EXTRA_TARGET_FLAGS); do \
38236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38237 done; \
38238 (cd $(TARGET_SUBDIR)/rda && \
38239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38241 "RANLIB=$${RANLIB}" \
38242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38243 installcheck) \
38244 || exit 1
38246 @endif target-rda
38248 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
38249 maybe-mostlyclean-target-rda:
38250 @if target-rda
38251 maybe-mostlyclean-target-rda: mostlyclean-target-rda
38253 mostlyclean-target-rda:
38254 @: $(MAKE); $(unstage)
38255 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38256 r=`${PWD_COMMAND}`; export r; \
38257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38258 $(NORMAL_TARGET_EXPORTS) \
38259 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
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)/rda && \
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 mostlyclean) \
38269 || exit 1
38271 @endif target-rda
38273 .PHONY: maybe-clean-target-rda clean-target-rda
38274 maybe-clean-target-rda:
38275 @if target-rda
38276 maybe-clean-target-rda: clean-target-rda
38278 clean-target-rda:
38279 @: $(MAKE); $(unstage)
38280 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38281 r=`${PWD_COMMAND}`; export r; \
38282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38283 $(NORMAL_TARGET_EXPORTS) \
38284 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
38285 for flag in $(EXTRA_TARGET_FLAGS); do \
38286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38287 done; \
38288 (cd $(TARGET_SUBDIR)/rda && \
38289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38291 "RANLIB=$${RANLIB}" \
38292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38293 clean) \
38294 || exit 1
38296 @endif target-rda
38298 .PHONY: maybe-distclean-target-rda distclean-target-rda
38299 maybe-distclean-target-rda:
38300 @if target-rda
38301 maybe-distclean-target-rda: distclean-target-rda
38303 distclean-target-rda:
38304 @: $(MAKE); $(unstage)
38305 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38306 r=`${PWD_COMMAND}`; export r; \
38307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38308 $(NORMAL_TARGET_EXPORTS) \
38309 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
38310 for flag in $(EXTRA_TARGET_FLAGS); do \
38311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38312 done; \
38313 (cd $(TARGET_SUBDIR)/rda && \
38314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38316 "RANLIB=$${RANLIB}" \
38317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38318 distclean) \
38319 || exit 1
38321 @endif target-rda
38323 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
38324 maybe-maintainer-clean-target-rda:
38325 @if target-rda
38326 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
38328 maintainer-clean-target-rda:
38329 @: $(MAKE); $(unstage)
38330 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38331 r=`${PWD_COMMAND}`; export r; \
38332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38333 $(NORMAL_TARGET_EXPORTS) \
38334 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
38335 for flag in $(EXTRA_TARGET_FLAGS); do \
38336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38337 done; \
38338 (cd $(TARGET_SUBDIR)/rda && \
38339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38341 "RANLIB=$${RANLIB}" \
38342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38343 maintainer-clean) \
38344 || exit 1
38346 @endif target-rda
38352 .PHONY: configure-target-libada maybe-configure-target-libada
38353 maybe-configure-target-libada:
38354 @if gcc-bootstrap
38355 configure-target-libada: stage_current
38356 @endif gcc-bootstrap
38357 @if target-libada
38358 maybe-configure-target-libada: configure-target-libada
38359 configure-target-libada:
38360 @: $(MAKE); $(unstage)
38361 @r=`${PWD_COMMAND}`; export r; \
38362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38363 echo "Checking multilib configuration for libada..."; \
38364 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
38365 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
38366 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
38367 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
38368 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
38369 else \
38370 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
38371 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
38372 fi; \
38373 else \
38374 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
38375 fi; \
38376 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
38377 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
38378 $(NORMAL_TARGET_EXPORTS) \
38379 echo Configuring in $(TARGET_SUBDIR)/libada; \
38380 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
38381 case $(srcdir) in \
38382 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38383 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
38384 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38385 esac; \
38386 srcdiroption="--srcdir=$${topdir}/libada"; \
38387 libsrcdir="$$s/libada"; \
38388 rm -f no-such-file || : ; \
38389 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38390 $(TARGET_CONFIGARGS) $${srcdiroption} \
38391 || exit 1
38392 @endif target-libada
38398 .PHONY: all-target-libada maybe-all-target-libada
38399 maybe-all-target-libada:
38400 @if gcc-bootstrap
38401 all-target-libada: stage_current
38402 @endif gcc-bootstrap
38403 @if target-libada
38404 TARGET-target-libada=all
38405 maybe-all-target-libada: all-target-libada
38406 all-target-libada: configure-target-libada
38407 @: $(MAKE); $(unstage)
38408 @r=`${PWD_COMMAND}`; export r; \
38409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38410 $(NORMAL_TARGET_EXPORTS) \
38411 (cd $(TARGET_SUBDIR)/libada && \
38412 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
38413 @endif target-libada
38419 .PHONY: check-target-libada maybe-check-target-libada
38420 maybe-check-target-libada:
38421 @if target-libada
38422 maybe-check-target-libada: check-target-libada
38424 check-target-libada:
38425 @: $(MAKE); $(unstage)
38426 @r=`${PWD_COMMAND}`; export r; \
38427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38428 $(NORMAL_TARGET_EXPORTS) \
38429 (cd $(TARGET_SUBDIR)/libada && \
38430 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38432 @endif target-libada
38434 .PHONY: install-target-libada maybe-install-target-libada
38435 maybe-install-target-libada:
38436 @if target-libada
38437 maybe-install-target-libada: install-target-libada
38439 install-target-libada: installdirs
38440 @: $(MAKE); $(unstage)
38441 @r=`${PWD_COMMAND}`; export r; \
38442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38443 $(NORMAL_TARGET_EXPORTS) \
38444 (cd $(TARGET_SUBDIR)/libada && \
38445 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38447 @endif target-libada
38449 # Other targets (info, dvi, etc.)
38451 .PHONY: maybe-info-target-libada info-target-libada
38452 maybe-info-target-libada:
38453 @if target-libada
38454 maybe-info-target-libada: info-target-libada
38456 info-target-libada: \
38457 configure-target-libada
38458 @: $(MAKE); $(unstage)
38459 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38460 r=`${PWD_COMMAND}`; export r; \
38461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38462 $(NORMAL_TARGET_EXPORTS) \
38463 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
38464 for flag in $(EXTRA_TARGET_FLAGS); do \
38465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38466 done; \
38467 (cd $(TARGET_SUBDIR)/libada && \
38468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38470 "RANLIB=$${RANLIB}" \
38471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38472 info) \
38473 || exit 1
38475 @endif target-libada
38477 .PHONY: maybe-dvi-target-libada dvi-target-libada
38478 maybe-dvi-target-libada:
38479 @if target-libada
38480 maybe-dvi-target-libada: dvi-target-libada
38482 dvi-target-libada: \
38483 configure-target-libada
38484 @: $(MAKE); $(unstage)
38485 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38486 r=`${PWD_COMMAND}`; export r; \
38487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38488 $(NORMAL_TARGET_EXPORTS) \
38489 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
38490 for flag in $(EXTRA_TARGET_FLAGS); do \
38491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38492 done; \
38493 (cd $(TARGET_SUBDIR)/libada && \
38494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38496 "RANLIB=$${RANLIB}" \
38497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38498 dvi) \
38499 || exit 1
38501 @endif target-libada
38503 .PHONY: maybe-html-target-libada html-target-libada
38504 maybe-html-target-libada:
38505 @if target-libada
38506 maybe-html-target-libada: html-target-libada
38508 html-target-libada: \
38509 configure-target-libada
38510 @: $(MAKE); $(unstage)
38511 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38512 r=`${PWD_COMMAND}`; export r; \
38513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38514 $(NORMAL_TARGET_EXPORTS) \
38515 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
38516 for flag in $(EXTRA_TARGET_FLAGS); do \
38517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38518 done; \
38519 (cd $(TARGET_SUBDIR)/libada && \
38520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38522 "RANLIB=$${RANLIB}" \
38523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38524 html) \
38525 || exit 1
38527 @endif target-libada
38529 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
38530 maybe-TAGS-target-libada:
38531 @if target-libada
38532 maybe-TAGS-target-libada: TAGS-target-libada
38534 TAGS-target-libada: \
38535 configure-target-libada
38536 @: $(MAKE); $(unstage)
38537 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38538 r=`${PWD_COMMAND}`; export r; \
38539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38540 $(NORMAL_TARGET_EXPORTS) \
38541 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
38542 for flag in $(EXTRA_TARGET_FLAGS); do \
38543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38544 done; \
38545 (cd $(TARGET_SUBDIR)/libada && \
38546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38548 "RANLIB=$${RANLIB}" \
38549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38550 TAGS) \
38551 || exit 1
38553 @endif target-libada
38555 .PHONY: maybe-install-info-target-libada install-info-target-libada
38556 maybe-install-info-target-libada:
38557 @if target-libada
38558 maybe-install-info-target-libada: install-info-target-libada
38560 install-info-target-libada: \
38561 configure-target-libada \
38562 info-target-libada
38563 @: $(MAKE); $(unstage)
38564 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38565 r=`${PWD_COMMAND}`; export r; \
38566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38567 $(NORMAL_TARGET_EXPORTS) \
38568 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
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)/libada && \
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 install-info) \
38578 || exit 1
38580 @endif target-libada
38582 .PHONY: maybe-install-html-target-libada install-html-target-libada
38583 maybe-install-html-target-libada:
38584 @if target-libada
38585 maybe-install-html-target-libada: install-html-target-libada
38587 install-html-target-libada: \
38588 configure-target-libada \
38589 html-target-libada
38590 @: $(MAKE); $(unstage)
38591 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38592 r=`${PWD_COMMAND}`; export r; \
38593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38594 $(NORMAL_TARGET_EXPORTS) \
38595 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
38596 for flag in $(EXTRA_TARGET_FLAGS); do \
38597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38598 done; \
38599 (cd $(TARGET_SUBDIR)/libada && \
38600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38602 "RANLIB=$${RANLIB}" \
38603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38604 install-html) \
38605 || exit 1
38607 @endif target-libada
38609 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
38610 maybe-installcheck-target-libada:
38611 @if target-libada
38612 maybe-installcheck-target-libada: installcheck-target-libada
38614 installcheck-target-libada: \
38615 configure-target-libada
38616 @: $(MAKE); $(unstage)
38617 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38618 r=`${PWD_COMMAND}`; export r; \
38619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38620 $(NORMAL_TARGET_EXPORTS) \
38621 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
38622 for flag in $(EXTRA_TARGET_FLAGS); do \
38623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38624 done; \
38625 (cd $(TARGET_SUBDIR)/libada && \
38626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38628 "RANLIB=$${RANLIB}" \
38629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38630 installcheck) \
38631 || exit 1
38633 @endif target-libada
38635 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
38636 maybe-mostlyclean-target-libada:
38637 @if target-libada
38638 maybe-mostlyclean-target-libada: mostlyclean-target-libada
38640 mostlyclean-target-libada:
38641 @: $(MAKE); $(unstage)
38642 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38643 r=`${PWD_COMMAND}`; export r; \
38644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38645 $(NORMAL_TARGET_EXPORTS) \
38646 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
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)/libada && \
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 mostlyclean) \
38656 || exit 1
38658 @endif target-libada
38660 .PHONY: maybe-clean-target-libada clean-target-libada
38661 maybe-clean-target-libada:
38662 @if target-libada
38663 maybe-clean-target-libada: clean-target-libada
38665 clean-target-libada:
38666 @: $(MAKE); $(unstage)
38667 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38668 r=`${PWD_COMMAND}`; export r; \
38669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38670 $(NORMAL_TARGET_EXPORTS) \
38671 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
38672 for flag in $(EXTRA_TARGET_FLAGS); do \
38673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38674 done; \
38675 (cd $(TARGET_SUBDIR)/libada && \
38676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38678 "RANLIB=$${RANLIB}" \
38679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38680 clean) \
38681 || exit 1
38683 @endif target-libada
38685 .PHONY: maybe-distclean-target-libada distclean-target-libada
38686 maybe-distclean-target-libada:
38687 @if target-libada
38688 maybe-distclean-target-libada: distclean-target-libada
38690 distclean-target-libada:
38691 @: $(MAKE); $(unstage)
38692 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38693 r=`${PWD_COMMAND}`; export r; \
38694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38695 $(NORMAL_TARGET_EXPORTS) \
38696 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
38697 for flag in $(EXTRA_TARGET_FLAGS); do \
38698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38699 done; \
38700 (cd $(TARGET_SUBDIR)/libada && \
38701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38703 "RANLIB=$${RANLIB}" \
38704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38705 distclean) \
38706 || exit 1
38708 @endif target-libada
38710 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
38711 maybe-maintainer-clean-target-libada:
38712 @if target-libada
38713 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
38715 maintainer-clean-target-libada:
38716 @: $(MAKE); $(unstage)
38717 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38718 r=`${PWD_COMMAND}`; export r; \
38719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38720 $(NORMAL_TARGET_EXPORTS) \
38721 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
38722 for flag in $(EXTRA_TARGET_FLAGS); do \
38723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38724 done; \
38725 (cd $(TARGET_SUBDIR)/libada && \
38726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38728 "RANLIB=$${RANLIB}" \
38729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38730 maintainer-clean) \
38731 || exit 1
38733 @endif target-libada
38739 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
38740 maybe-configure-target-libgomp:
38741 @if gcc-bootstrap
38742 configure-target-libgomp: stage_current
38743 @endif gcc-bootstrap
38744 @if target-libgomp
38745 maybe-configure-target-libgomp: configure-target-libgomp
38746 configure-target-libgomp:
38747 @: $(MAKE); $(unstage)
38748 @r=`${PWD_COMMAND}`; export r; \
38749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38750 echo "Checking multilib configuration for libgomp..."; \
38751 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
38752 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
38753 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
38754 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
38755 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
38756 else \
38757 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
38758 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
38759 fi; \
38760 else \
38761 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
38762 fi; \
38763 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
38764 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
38765 $(NORMAL_TARGET_EXPORTS) \
38766 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
38767 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
38768 case $(srcdir) in \
38769 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38770 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
38771 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38772 esac; \
38773 srcdiroption="--srcdir=$${topdir}/libgomp"; \
38774 libsrcdir="$$s/libgomp"; \
38775 rm -f no-such-file || : ; \
38776 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38777 $(TARGET_CONFIGARGS) $${srcdiroption} \
38778 || exit 1
38779 @endif target-libgomp
38785 .PHONY: all-target-libgomp maybe-all-target-libgomp
38786 maybe-all-target-libgomp:
38787 @if gcc-bootstrap
38788 all-target-libgomp: stage_current
38789 @endif gcc-bootstrap
38790 @if target-libgomp
38791 TARGET-target-libgomp=all
38792 maybe-all-target-libgomp: all-target-libgomp
38793 all-target-libgomp: configure-target-libgomp
38794 @: $(MAKE); $(unstage)
38795 @r=`${PWD_COMMAND}`; export r; \
38796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38797 $(NORMAL_TARGET_EXPORTS) \
38798 (cd $(TARGET_SUBDIR)/libgomp && \
38799 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgomp))
38800 @endif target-libgomp
38806 .PHONY: check-target-libgomp maybe-check-target-libgomp
38807 maybe-check-target-libgomp:
38808 @if target-libgomp
38809 maybe-check-target-libgomp: check-target-libgomp
38811 check-target-libgomp:
38812 @: $(MAKE); $(unstage)
38813 @r=`${PWD_COMMAND}`; export r; \
38814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38815 $(NORMAL_TARGET_EXPORTS) \
38816 (cd $(TARGET_SUBDIR)/libgomp && \
38817 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38819 @endif target-libgomp
38821 .PHONY: install-target-libgomp maybe-install-target-libgomp
38822 maybe-install-target-libgomp:
38823 @if target-libgomp
38824 maybe-install-target-libgomp: install-target-libgomp
38826 install-target-libgomp: installdirs
38827 @: $(MAKE); $(unstage)
38828 @r=`${PWD_COMMAND}`; export r; \
38829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38830 $(NORMAL_TARGET_EXPORTS) \
38831 (cd $(TARGET_SUBDIR)/libgomp && \
38832 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38834 @endif target-libgomp
38836 # Other targets (info, dvi, etc.)
38838 .PHONY: maybe-info-target-libgomp info-target-libgomp
38839 maybe-info-target-libgomp:
38840 @if target-libgomp
38841 maybe-info-target-libgomp: info-target-libgomp
38843 info-target-libgomp: \
38844 configure-target-libgomp
38845 @: $(MAKE); $(unstage)
38846 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38847 r=`${PWD_COMMAND}`; export r; \
38848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38849 $(NORMAL_TARGET_EXPORTS) \
38850 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
38851 for flag in $(EXTRA_TARGET_FLAGS); do \
38852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38853 done; \
38854 (cd $(TARGET_SUBDIR)/libgomp && \
38855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38857 "RANLIB=$${RANLIB}" \
38858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38859 info) \
38860 || exit 1
38862 @endif target-libgomp
38864 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
38865 maybe-dvi-target-libgomp:
38866 @if target-libgomp
38867 maybe-dvi-target-libgomp: dvi-target-libgomp
38869 dvi-target-libgomp: \
38870 configure-target-libgomp
38871 @: $(MAKE); $(unstage)
38872 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38873 r=`${PWD_COMMAND}`; export r; \
38874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38875 $(NORMAL_TARGET_EXPORTS) \
38876 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
38877 for flag in $(EXTRA_TARGET_FLAGS); do \
38878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38879 done; \
38880 (cd $(TARGET_SUBDIR)/libgomp && \
38881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38883 "RANLIB=$${RANLIB}" \
38884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38885 dvi) \
38886 || exit 1
38888 @endif target-libgomp
38890 .PHONY: maybe-html-target-libgomp html-target-libgomp
38891 maybe-html-target-libgomp:
38892 @if target-libgomp
38893 maybe-html-target-libgomp: html-target-libgomp
38895 html-target-libgomp: \
38896 configure-target-libgomp
38897 @: $(MAKE); $(unstage)
38898 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38899 r=`${PWD_COMMAND}`; export r; \
38900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38901 $(NORMAL_TARGET_EXPORTS) \
38902 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
38903 for flag in $(EXTRA_TARGET_FLAGS); do \
38904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38905 done; \
38906 (cd $(TARGET_SUBDIR)/libgomp && \
38907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38909 "RANLIB=$${RANLIB}" \
38910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38911 html) \
38912 || exit 1
38914 @endif target-libgomp
38916 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
38917 maybe-TAGS-target-libgomp:
38918 @if target-libgomp
38919 maybe-TAGS-target-libgomp: TAGS-target-libgomp
38921 TAGS-target-libgomp: \
38922 configure-target-libgomp
38923 @: $(MAKE); $(unstage)
38924 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38925 r=`${PWD_COMMAND}`; export r; \
38926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38927 $(NORMAL_TARGET_EXPORTS) \
38928 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
38929 for flag in $(EXTRA_TARGET_FLAGS); do \
38930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38931 done; \
38932 (cd $(TARGET_SUBDIR)/libgomp && \
38933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38935 "RANLIB=$${RANLIB}" \
38936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38937 TAGS) \
38938 || exit 1
38940 @endif target-libgomp
38942 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
38943 maybe-install-info-target-libgomp:
38944 @if target-libgomp
38945 maybe-install-info-target-libgomp: install-info-target-libgomp
38947 install-info-target-libgomp: \
38948 configure-target-libgomp \
38949 info-target-libgomp
38950 @: $(MAKE); $(unstage)
38951 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38952 r=`${PWD_COMMAND}`; export r; \
38953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38954 $(NORMAL_TARGET_EXPORTS) \
38955 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
38956 for flag in $(EXTRA_TARGET_FLAGS); do \
38957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38958 done; \
38959 (cd $(TARGET_SUBDIR)/libgomp && \
38960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38962 "RANLIB=$${RANLIB}" \
38963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38964 install-info) \
38965 || exit 1
38967 @endif target-libgomp
38969 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
38970 maybe-install-html-target-libgomp:
38971 @if target-libgomp
38972 maybe-install-html-target-libgomp: install-html-target-libgomp
38974 install-html-target-libgomp: \
38975 configure-target-libgomp \
38976 html-target-libgomp
38977 @: $(MAKE); $(unstage)
38978 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
38979 r=`${PWD_COMMAND}`; export r; \
38980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38981 $(NORMAL_TARGET_EXPORTS) \
38982 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
38983 for flag in $(EXTRA_TARGET_FLAGS); do \
38984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38985 done; \
38986 (cd $(TARGET_SUBDIR)/libgomp && \
38987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38989 "RANLIB=$${RANLIB}" \
38990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38991 install-html) \
38992 || exit 1
38994 @endif target-libgomp
38996 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
38997 maybe-installcheck-target-libgomp:
38998 @if target-libgomp
38999 maybe-installcheck-target-libgomp: installcheck-target-libgomp
39001 installcheck-target-libgomp: \
39002 configure-target-libgomp
39003 @: $(MAKE); $(unstage)
39004 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39005 r=`${PWD_COMMAND}`; export r; \
39006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39007 $(NORMAL_TARGET_EXPORTS) \
39008 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
39009 for flag in $(EXTRA_TARGET_FLAGS); do \
39010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39011 done; \
39012 (cd $(TARGET_SUBDIR)/libgomp && \
39013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39015 "RANLIB=$${RANLIB}" \
39016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39017 installcheck) \
39018 || exit 1
39020 @endif target-libgomp
39022 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
39023 maybe-mostlyclean-target-libgomp:
39024 @if target-libgomp
39025 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
39027 mostlyclean-target-libgomp:
39028 @: $(MAKE); $(unstage)
39029 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39030 r=`${PWD_COMMAND}`; export r; \
39031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39032 $(NORMAL_TARGET_EXPORTS) \
39033 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
39034 for flag in $(EXTRA_TARGET_FLAGS); do \
39035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39036 done; \
39037 (cd $(TARGET_SUBDIR)/libgomp && \
39038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39040 "RANLIB=$${RANLIB}" \
39041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39042 mostlyclean) \
39043 || exit 1
39045 @endif target-libgomp
39047 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
39048 maybe-clean-target-libgomp:
39049 @if target-libgomp
39050 maybe-clean-target-libgomp: clean-target-libgomp
39052 clean-target-libgomp:
39053 @: $(MAKE); $(unstage)
39054 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39055 r=`${PWD_COMMAND}`; export r; \
39056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39057 $(NORMAL_TARGET_EXPORTS) \
39058 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
39059 for flag in $(EXTRA_TARGET_FLAGS); do \
39060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39061 done; \
39062 (cd $(TARGET_SUBDIR)/libgomp && \
39063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39065 "RANLIB=$${RANLIB}" \
39066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39067 clean) \
39068 || exit 1
39070 @endif target-libgomp
39072 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
39073 maybe-distclean-target-libgomp:
39074 @if target-libgomp
39075 maybe-distclean-target-libgomp: distclean-target-libgomp
39077 distclean-target-libgomp:
39078 @: $(MAKE); $(unstage)
39079 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39080 r=`${PWD_COMMAND}`; export r; \
39081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39082 $(NORMAL_TARGET_EXPORTS) \
39083 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
39084 for flag in $(EXTRA_TARGET_FLAGS); do \
39085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39086 done; \
39087 (cd $(TARGET_SUBDIR)/libgomp && \
39088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39090 "RANLIB=$${RANLIB}" \
39091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39092 distclean) \
39093 || exit 1
39095 @endif target-libgomp
39097 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
39098 maybe-maintainer-clean-target-libgomp:
39099 @if target-libgomp
39100 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
39102 maintainer-clean-target-libgomp:
39103 @: $(MAKE); $(unstage)
39104 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39105 r=`${PWD_COMMAND}`; export r; \
39106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39107 $(NORMAL_TARGET_EXPORTS) \
39108 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
39109 for flag in $(EXTRA_TARGET_FLAGS); do \
39110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39111 done; \
39112 (cd $(TARGET_SUBDIR)/libgomp && \
39113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39115 "RANLIB=$${RANLIB}" \
39116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39117 maintainer-clean) \
39118 || exit 1
39120 @endif target-libgomp
39124 # ----------
39125 # GCC module
39126 # ----------
39128 @if gcc-no-bootstrap
39129 # GCC has some more recursive targets, which trigger the old
39130 # (but still current, until the toplevel bootstrap project
39131 # is finished) compiler bootstrapping rules.
39133 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
39134 .PHONY: $(GCC_STRAP_TARGETS)
39135 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
39136 @r=`${PWD_COMMAND}`; export r; \
39137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39138 $(HOST_EXPORTS) \
39139 echo "Bootstrapping the compiler"; \
39140 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
39141 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
39142 @r=`${PWD_COMMAND}`; export r; \
39143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39144 case "$@" in \
39145 *bootstrap4-lean ) \
39146 msg="Comparing stage3 and stage4 of the compiler"; \
39147 compare=compare3-lean ;; \
39148 *bootstrap4 ) \
39149 msg="Comparing stage3 and stage4 of the compiler"; \
39150 compare=compare3 ;; \
39151 *-lean ) \
39152 msg="Comparing stage2 and stage3 of the compiler"; \
39153 compare=compare-lean ;; \
39154 * ) \
39155 msg="Comparing stage2 and stage3 of the compiler"; \
39156 compare=compare ;; \
39157 esac; \
39158 $(HOST_EXPORTS) \
39159 echo "$$msg"; \
39160 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
39161 @r=`${PWD_COMMAND}`; export r; \
39162 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
39163 echo "Building runtime libraries"; \
39164 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
39166 profiledbootstrap: all-prebootstrap configure-gcc
39167 @r=`${PWD_COMMAND}`; export r; \
39168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39169 $(HOST_EXPORTS) \
39170 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
39171 echo "Bootstrapping training compiler"; \
39172 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
39173 @r=`${PWD_COMMAND}`; export r; \
39174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39175 $(HOST_EXPORTS) \
39176 echo "Building feedback based compiler"; \
39177 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
39178 @r=`${PWD_COMMAND}`; export r; \
39179 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
39180 echo "Building runtime libraries"; \
39181 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
39183 .PHONY: cross
39184 cross: all-build all-gas all-ld
39185 @r=`${PWD_COMMAND}`; export r; \
39186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39187 $(HOST_EXPORTS) \
39188 echo "Building the C and C++ compiler"; \
39189 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
39190 @r=`${PWD_COMMAND}`; export r; \
39191 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
39192 echo "Building runtime libraries"; \
39193 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
39194 @endif gcc-no-bootstrap
39196 @if gcc
39197 .PHONY: check-gcc-c++
39198 check-gcc-c++:
39199 @if [ -f ./gcc/Makefile ] ; then \
39200 r=`${PWD_COMMAND}`; export r; \
39201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39202 $(HOST_EXPORTS) \
39203 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
39204 else \
39205 true; \
39208 .PHONY: check-c++
39209 check-c++: check-target-libstdc++-v3 check-gcc-c++
39211 # Install the gcc headers files, but not the fixed include files,
39212 # which Cygnus is not allowed to distribute. This rule is very
39213 # dependent on the workings of the gcc Makefile.in.
39214 .PHONY: gcc-no-fixedincludes
39215 gcc-no-fixedincludes:
39216 @if [ -f ./gcc/Makefile ]; then \
39217 rm -rf gcc/tmp-include; \
39218 mv gcc/include gcc/tmp-include 2>/dev/null; \
39219 mkdir gcc/include; \
39220 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
39221 touch gcc/stmp-fixinc gcc/include/fixed; \
39222 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
39223 r=`${PWD_COMMAND}`; export r; \
39224 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
39225 $(HOST_EXPORTS) \
39226 (cd ./gcc && \
39227 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
39228 rm -rf gcc/include; \
39229 mv gcc/tmp-include gcc/include 2>/dev/null; \
39230 else true; fi
39231 @endif gcc
39233 # ---------------------
39234 # GCC bootstrap support
39235 # ---------------------
39237 # We track the current stage (the one in 'gcc') in the stage_current file.
39238 # stage_last instead tracks the stage that was built last. These targets
39239 # are dummy when toplevel bootstrap is not active.
39241 # While making host and target tools, symlinks to the final stage must be
39242 # there, so $(unstage) should be run at various points. To avoid excessive
39243 # recursive invocations of make, we "inline" them using a variable. These
39244 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
39245 # to avoid warnings from the GNU Make job server.
39247 unstage = :
39248 stage = :
39249 current_stage = ""
39251 @if gcc-bootstrap
39252 unstage = [ -f stage_current ] || $(MAKE) `cat stage_last`-start
39253 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
39254 current_stage = "`cat stage_current 2> /dev/null`"
39255 @endif gcc-bootstrap
39257 .PHONY: unstage stage
39258 unstage:
39259 @: $(MAKE); $(unstage)
39260 stage:
39261 @: $(MAKE); $(stage)
39263 # Disable commands for lean bootstrap.
39264 LEAN = false
39266 # We name the build directories for the various stages "stage1-gcc",
39267 # "stage2-gcc","stage3-gcc", etc.
39269 # Since the 'compare' process will fail (on debugging information) if any
39270 # directory names are different, we need to link the gcc directory for
39271 # the previous stage to a constant name ('prev-gcc'), and to make the name of
39272 # the build directories constant as well. For the latter, we use naked names
39273 # like 'gcc', because the scripts in that directory assume it. We use
39274 # mv on platforms where symlinks to directories do not work or are not
39275 # reliable.
39277 # 'touch' doesn't work right on some platforms.
39278 STAMP = echo timestamp >
39280 # Only build the C compiler for stage1, because that is the only one that
39281 # we can guarantee will build with the native compiler, and also it is the
39282 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
39283 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
39284 # overrideable (for a bootstrap build stage1 also builds gcc.info).
39286 STAGE1_CFLAGS=@stage1_cflags@
39287 STAGE1_LANGUAGES=@stage1_languages@
39289 # We only want to compare .o files, so set this!
39290 objext = .o
39292 # Flags to pass to stage2 and later makes.
39293 POSTSTAGE1_FLAGS_TO_PASS = \
39294 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
39295 STAGE_PREFIX=$$r/prev-gcc/ \
39296 CFLAGS="$(BOOT_CFLAGS)" \
39297 LIBCFLAGS="$(BOOT_CFLAGS)" \
39298 LDFLAGS="$(BOOT_LDFLAGS)" \
39299 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
39301 # For stage 1:
39302 # * We force-disable intermodule optimizations, even if
39303 # --enable-intermodule was passed, since the installed compiler probably
39304 # can't handle them. Luckily, autoconf always respects
39305 # the last argument when conflicting --enable arguments are passed.
39306 # * Likewise, we force-disable coverage flags, since the installed compiler
39307 # probably has never heard of them.
39308 # * We build only C (and possibly Ada).
39311 .PHONY: stage1-start stage1-end
39313 stage1-start::
39314 @: $(MAKE); $(stage); \
39315 echo stage1 > stage_current ; \
39316 echo stage1 > stage_last; \
39317 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
39318 @if bfd
39319 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
39320 mkdir stage1-bfd; \
39321 mv stage1-bfd bfd
39322 @endif bfd
39323 @if opcodes
39324 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
39325 mkdir stage1-opcodes; \
39326 mv stage1-opcodes opcodes
39327 @endif opcodes
39328 @if binutils
39329 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
39330 mkdir stage1-binutils; \
39331 mv stage1-binutils binutils
39332 @endif binutils
39333 @if gas
39334 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
39335 mkdir stage1-gas; \
39336 mv stage1-gas gas
39337 @endif gas
39338 @if gcc
39339 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
39340 mkdir stage1-gcc; \
39341 mv stage1-gcc gcc
39342 @endif gcc
39343 @if intl
39344 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
39345 mkdir stage1-intl; \
39346 mv stage1-intl intl
39347 @endif intl
39348 @if ld
39349 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
39350 mkdir stage1-ld; \
39351 mv stage1-ld ld
39352 @endif ld
39353 @if libcpp
39354 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
39355 mkdir stage1-libcpp; \
39356 mv stage1-libcpp libcpp
39357 @endif libcpp
39358 @if libdecnumber
39359 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
39360 mkdir stage1-libdecnumber; \
39361 mv stage1-libdecnumber libdecnumber
39362 @endif libdecnumber
39363 @if libiberty
39364 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
39365 mkdir stage1-libiberty; \
39366 mv stage1-libiberty libiberty
39367 @endif libiberty
39368 @if zlib
39369 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
39370 mkdir stage1-zlib; \
39371 mv stage1-zlib zlib
39372 @endif zlib
39373 @[ -d stage1-$(TARGET_SUBDIR) ] || \
39374 mkdir stage1-$(TARGET_SUBDIR); \
39375 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
39377 stage1-end::
39378 @if bfd
39379 @if test -d $(HOST_SUBDIR)/bfd ; then \
39380 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
39382 @endif bfd
39383 @if opcodes
39384 @if test -d $(HOST_SUBDIR)/opcodes ; then \
39385 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
39387 @endif opcodes
39388 @if binutils
39389 @if test -d $(HOST_SUBDIR)/binutils ; then \
39390 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
39392 @endif binutils
39393 @if gas
39394 @if test -d $(HOST_SUBDIR)/gas ; then \
39395 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
39397 @endif gas
39398 @if gcc
39399 @if test -d $(HOST_SUBDIR)/gcc ; then \
39400 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
39402 @endif gcc
39403 @if intl
39404 @if test -d $(HOST_SUBDIR)/intl ; then \
39405 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
39407 @endif intl
39408 @if ld
39409 @if test -d $(HOST_SUBDIR)/ld ; then \
39410 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
39412 @endif ld
39413 @if libcpp
39414 @if test -d $(HOST_SUBDIR)/libcpp ; then \
39415 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
39417 @endif libcpp
39418 @if libdecnumber
39419 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
39420 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
39422 @endif libdecnumber
39423 @if libiberty
39424 @if test -d $(HOST_SUBDIR)/libiberty ; then \
39425 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
39427 @endif libiberty
39428 @if zlib
39429 @if test -d $(HOST_SUBDIR)/zlib ; then \
39430 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
39432 @endif zlib
39433 @if test -d $(TARGET_SUBDIR) ; then \
39434 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
39436 rm -f stage_current
39438 # Bubble a bugfix through all the stages up to stage 1. They are
39439 # remade, but not reconfigured. The next stage (if any) will not be
39440 # reconfigured as well.
39441 .PHONY: stage1-bubble
39442 stage1-bubble::
39443 @r=`${PWD_COMMAND}`; export r; \
39444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39445 if test -f stage1-lean ; then \
39446 echo Skipping rebuild of stage1 ; \
39447 else \
39448 $(MAKE) stage1-start; \
39449 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
39452 .PHONY: all-stage1 clean-stage1
39453 do-clean: clean-stage1
39455 # FIXME: Will not need to be conditional when toplevel bootstrap is the
39456 # only possibility, but now it conflicts with no-bootstrap rules
39457 @if gcc-bootstrap
39462 # Rules to wipe a stage and all the following ones, also used for cleanstrap
39464 .PHONY: distclean-stage1
39465 distclean-stage1::
39466 @: $(MAKE); $(stage)
39467 rm -rf stage1-*
39470 @endif gcc-bootstrap
39473 .PHONY: stage2-start stage2-end
39475 stage2-start::
39476 @: $(MAKE); $(stage); \
39477 echo stage2 > stage_current ; \
39478 echo stage2 > stage_last; \
39479 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
39480 @if bfd
39481 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
39482 mkdir stage2-bfd; \
39483 mv stage2-bfd bfd ; \
39484 mv stage1-bfd prev-bfd || test -f stage1-lean
39485 @endif bfd
39486 @if opcodes
39487 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
39488 mkdir stage2-opcodes; \
39489 mv stage2-opcodes opcodes ; \
39490 mv stage1-opcodes prev-opcodes || test -f stage1-lean
39491 @endif opcodes
39492 @if binutils
39493 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
39494 mkdir stage2-binutils; \
39495 mv stage2-binutils binutils ; \
39496 mv stage1-binutils prev-binutils || test -f stage1-lean
39497 @endif binutils
39498 @if gas
39499 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
39500 mkdir stage2-gas; \
39501 mv stage2-gas gas ; \
39502 mv stage1-gas prev-gas || test -f stage1-lean
39503 @endif gas
39504 @if gcc
39505 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
39506 mkdir stage2-gcc; \
39507 mv stage2-gcc gcc ; \
39508 mv stage1-gcc prev-gcc || test -f stage1-lean
39509 @endif gcc
39510 @if intl
39511 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
39512 mkdir stage2-intl; \
39513 mv stage2-intl intl ; \
39514 mv stage1-intl prev-intl || test -f stage1-lean
39515 @endif intl
39516 @if ld
39517 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
39518 mkdir stage2-ld; \
39519 mv stage2-ld ld ; \
39520 mv stage1-ld prev-ld || test -f stage1-lean
39521 @endif ld
39522 @if libcpp
39523 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
39524 mkdir stage2-libcpp; \
39525 mv stage2-libcpp libcpp ; \
39526 mv stage1-libcpp prev-libcpp || test -f stage1-lean
39527 @endif libcpp
39528 @if libdecnumber
39529 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
39530 mkdir stage2-libdecnumber; \
39531 mv stage2-libdecnumber libdecnumber ; \
39532 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
39533 @endif libdecnumber
39534 @if libiberty
39535 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
39536 mkdir stage2-libiberty; \
39537 mv stage2-libiberty libiberty ; \
39538 mv stage1-libiberty prev-libiberty || test -f stage1-lean
39539 @endif libiberty
39540 @if zlib
39541 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
39542 mkdir stage2-zlib; \
39543 mv stage2-zlib zlib ; \
39544 mv stage1-zlib prev-zlib || test -f stage1-lean
39545 @endif zlib
39546 @[ -d stage2-$(TARGET_SUBDIR) ] || \
39547 mkdir stage2-$(TARGET_SUBDIR); \
39548 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
39549 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
39551 stage2-end::
39552 @if bfd
39553 @if test -d $(HOST_SUBDIR)/bfd ; then \
39554 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
39555 mv prev-bfd stage1-bfd ; : ; \
39557 @endif bfd
39558 @if opcodes
39559 @if test -d $(HOST_SUBDIR)/opcodes ; then \
39560 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
39561 mv prev-opcodes stage1-opcodes ; : ; \
39563 @endif opcodes
39564 @if binutils
39565 @if test -d $(HOST_SUBDIR)/binutils ; then \
39566 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
39567 mv prev-binutils stage1-binutils ; : ; \
39569 @endif binutils
39570 @if gas
39571 @if test -d $(HOST_SUBDIR)/gas ; then \
39572 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
39573 mv prev-gas stage1-gas ; : ; \
39575 @endif gas
39576 @if gcc
39577 @if test -d $(HOST_SUBDIR)/gcc ; then \
39578 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
39579 mv prev-gcc stage1-gcc ; : ; \
39581 @endif gcc
39582 @if intl
39583 @if test -d $(HOST_SUBDIR)/intl ; then \
39584 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
39585 mv prev-intl stage1-intl ; : ; \
39587 @endif intl
39588 @if ld
39589 @if test -d $(HOST_SUBDIR)/ld ; then \
39590 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
39591 mv prev-ld stage1-ld ; : ; \
39593 @endif ld
39594 @if libcpp
39595 @if test -d $(HOST_SUBDIR)/libcpp ; then \
39596 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
39597 mv prev-libcpp stage1-libcpp ; : ; \
39599 @endif libcpp
39600 @if libdecnumber
39601 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
39602 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
39603 mv prev-libdecnumber stage1-libdecnumber ; : ; \
39605 @endif libdecnumber
39606 @if libiberty
39607 @if test -d $(HOST_SUBDIR)/libiberty ; then \
39608 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
39609 mv prev-libiberty stage1-libiberty ; : ; \
39611 @endif libiberty
39612 @if zlib
39613 @if test -d $(HOST_SUBDIR)/zlib ; then \
39614 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
39615 mv prev-zlib stage1-zlib ; : ; \
39617 @endif zlib
39618 @if test -d $(TARGET_SUBDIR) ; then \
39619 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
39620 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
39622 rm -f stage_current
39624 # Bubble a bugfix through all the stages up to stage 2. They are
39625 # remade, but not reconfigured. The next stage (if any) will not be
39626 # reconfigured as well.
39627 .PHONY: stage2-bubble
39628 stage2-bubble:: stage1-bubble
39629 @r=`${PWD_COMMAND}`; export r; \
39630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39631 if test -f stage2-lean || test -f stage1-lean ; then \
39632 echo Skipping rebuild of stage2 ; \
39633 else \
39634 $(MAKE) stage2-start; \
39635 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
39638 .PHONY: all-stage2 clean-stage2
39639 do-clean: clean-stage2
39641 # FIXME: Will not need to be conditional when toplevel bootstrap is the
39642 # only possibility, but now it conflicts with no-bootstrap rules
39643 @if gcc-bootstrap
39647 .PHONY: bootstrap2 bootstrap2-lean
39648 bootstrap2:
39649 echo stage2 > stage_final
39650 @r=`${PWD_COMMAND}`; export r; \
39651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39652 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
39653 @: $(MAKE); $(unstage)
39654 @r=`${PWD_COMMAND}`; export r; \
39655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39656 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
39658 bootstrap2-lean:
39659 echo stage2 > stage_final
39660 @r=`${PWD_COMMAND}`; export r; \
39661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39662 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
39663 @: $(MAKE); $(unstage)
39664 @r=`${PWD_COMMAND}`; export r; \
39665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39666 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
39669 # Rules to wipe a stage and all the following ones, also used for cleanstrap
39670 distclean-stage1:: distclean-stage2
39671 .PHONY: distclean-stage2
39672 distclean-stage2::
39673 @: $(MAKE); $(stage)
39674 rm -rf stage2-*
39677 @endif gcc-bootstrap
39680 .PHONY: stage3-start stage3-end
39682 stage3-start::
39683 @: $(MAKE); $(stage); \
39684 echo stage3 > stage_current ; \
39685 echo stage3 > stage_last; \
39686 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
39687 @if bfd
39688 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
39689 mkdir stage3-bfd; \
39690 mv stage3-bfd bfd ; \
39691 mv stage2-bfd prev-bfd || test -f stage2-lean
39692 @endif bfd
39693 @if opcodes
39694 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
39695 mkdir stage3-opcodes; \
39696 mv stage3-opcodes opcodes ; \
39697 mv stage2-opcodes prev-opcodes || test -f stage2-lean
39698 @endif opcodes
39699 @if binutils
39700 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
39701 mkdir stage3-binutils; \
39702 mv stage3-binutils binutils ; \
39703 mv stage2-binutils prev-binutils || test -f stage2-lean
39704 @endif binutils
39705 @if gas
39706 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
39707 mkdir stage3-gas; \
39708 mv stage3-gas gas ; \
39709 mv stage2-gas prev-gas || test -f stage2-lean
39710 @endif gas
39711 @if gcc
39712 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
39713 mkdir stage3-gcc; \
39714 mv stage3-gcc gcc ; \
39715 mv stage2-gcc prev-gcc || test -f stage2-lean
39716 @endif gcc
39717 @if intl
39718 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
39719 mkdir stage3-intl; \
39720 mv stage3-intl intl ; \
39721 mv stage2-intl prev-intl || test -f stage2-lean
39722 @endif intl
39723 @if ld
39724 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
39725 mkdir stage3-ld; \
39726 mv stage3-ld ld ; \
39727 mv stage2-ld prev-ld || test -f stage2-lean
39728 @endif ld
39729 @if libcpp
39730 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
39731 mkdir stage3-libcpp; \
39732 mv stage3-libcpp libcpp ; \
39733 mv stage2-libcpp prev-libcpp || test -f stage2-lean
39734 @endif libcpp
39735 @if libdecnumber
39736 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
39737 mkdir stage3-libdecnumber; \
39738 mv stage3-libdecnumber libdecnumber ; \
39739 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
39740 @endif libdecnumber
39741 @if libiberty
39742 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
39743 mkdir stage3-libiberty; \
39744 mv stage3-libiberty libiberty ; \
39745 mv stage2-libiberty prev-libiberty || test -f stage2-lean
39746 @endif libiberty
39747 @if zlib
39748 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
39749 mkdir stage3-zlib; \
39750 mv stage3-zlib zlib ; \
39751 mv stage2-zlib prev-zlib || test -f stage2-lean
39752 @endif zlib
39753 @[ -d stage3-$(TARGET_SUBDIR) ] || \
39754 mkdir stage3-$(TARGET_SUBDIR); \
39755 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
39756 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
39758 stage3-end::
39759 @if bfd
39760 @if test -d $(HOST_SUBDIR)/bfd ; then \
39761 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
39762 mv prev-bfd stage2-bfd ; : ; \
39764 @endif bfd
39765 @if opcodes
39766 @if test -d $(HOST_SUBDIR)/opcodes ; then \
39767 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
39768 mv prev-opcodes stage2-opcodes ; : ; \
39770 @endif opcodes
39771 @if binutils
39772 @if test -d $(HOST_SUBDIR)/binutils ; then \
39773 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
39774 mv prev-binutils stage2-binutils ; : ; \
39776 @endif binutils
39777 @if gas
39778 @if test -d $(HOST_SUBDIR)/gas ; then \
39779 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
39780 mv prev-gas stage2-gas ; : ; \
39782 @endif gas
39783 @if gcc
39784 @if test -d $(HOST_SUBDIR)/gcc ; then \
39785 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
39786 mv prev-gcc stage2-gcc ; : ; \
39788 @endif gcc
39789 @if intl
39790 @if test -d $(HOST_SUBDIR)/intl ; then \
39791 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
39792 mv prev-intl stage2-intl ; : ; \
39794 @endif intl
39795 @if ld
39796 @if test -d $(HOST_SUBDIR)/ld ; then \
39797 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
39798 mv prev-ld stage2-ld ; : ; \
39800 @endif ld
39801 @if libcpp
39802 @if test -d $(HOST_SUBDIR)/libcpp ; then \
39803 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
39804 mv prev-libcpp stage2-libcpp ; : ; \
39806 @endif libcpp
39807 @if libdecnumber
39808 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
39809 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
39810 mv prev-libdecnumber stage2-libdecnumber ; : ; \
39812 @endif libdecnumber
39813 @if libiberty
39814 @if test -d $(HOST_SUBDIR)/libiberty ; then \
39815 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
39816 mv prev-libiberty stage2-libiberty ; : ; \
39818 @endif libiberty
39819 @if zlib
39820 @if test -d $(HOST_SUBDIR)/zlib ; then \
39821 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
39822 mv prev-zlib stage2-zlib ; : ; \
39824 @endif zlib
39825 @if test -d $(TARGET_SUBDIR) ; then \
39826 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
39827 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
39829 rm -f stage_current
39831 # Bubble a bugfix through all the stages up to stage 3. They are
39832 # remade, but not reconfigured. The next stage (if any) will not be
39833 # reconfigured as well.
39834 .PHONY: stage3-bubble
39835 stage3-bubble:: stage2-bubble
39836 @r=`${PWD_COMMAND}`; export r; \
39837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39838 if test -f stage3-lean || test -f stage2-lean ; then \
39839 echo Skipping rebuild of stage3 ; \
39840 else \
39841 $(MAKE) stage3-start; \
39842 if $(LEAN); then \
39843 rm -rf stage1-* ; \
39844 $(STAMP) stage1-lean ; \
39845 fi; \
39846 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
39848 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
39850 .PHONY: all-stage3 clean-stage3
39851 do-clean: clean-stage3
39853 # FIXME: Will not need to be conditional when toplevel bootstrap is the
39854 # only possibility, but now it conflicts with no-bootstrap rules
39855 @if gcc-bootstrap
39857 compare:
39858 @r=`${PWD_COMMAND}`; export r; \
39859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39860 if test -f stage2-lean; then \
39861 echo Cannot compare object files as stage 2 was deleted. ; \
39862 exit 0 ; \
39863 fi; \
39864 : $(MAKE); $(stage); \
39865 rm -f .bad_compare ; \
39866 echo Comparing stages 2 and 3 ; \
39867 cd stage3-gcc; \
39868 files=`find . -name "*$(objext)" -print` ; \
39869 cd .. ; \
39870 for file in $${files} ; do \
39871 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
39872 @do_compare@ > /dev/null 2>&1; \
39873 if test $$? -eq 1; then \
39874 case $$file in \
39875 ./cc*-checksum$(objext) | ./libgcc/* ) \
39876 echo warning: $$file differs ;; \
39877 *) \
39878 echo $$file differs >> .bad_compare ;; \
39879 esac ; \
39880 fi ; \
39881 done ; \
39882 if [ -f .bad_compare ]; then \
39883 echo "Bootstrap comparison failure!"; \
39884 cat .bad_compare; \
39885 exit 1; \
39886 else \
39887 echo Comparison successful.; \
39888 fi ; \
39889 $(STAMP) compare
39890 if $(LEAN); then \
39891 rm -rf stage2-*; \
39892 $(STAMP) stage2-lean; \
39897 .PHONY: bootstrap bootstrap-lean
39898 bootstrap:
39899 echo stage3 > stage_final
39900 @r=`${PWD_COMMAND}`; export r; \
39901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39902 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
39903 @: $(MAKE); $(unstage)
39904 @r=`${PWD_COMMAND}`; export r; \
39905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39906 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
39908 bootstrap-lean:
39909 echo stage3 > stage_final
39910 @r=`${PWD_COMMAND}`; export r; \
39911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39912 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
39913 @: $(MAKE); $(unstage)
39914 @r=`${PWD_COMMAND}`; export r; \
39915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39916 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
39919 # Rules to wipe a stage and all the following ones, also used for cleanstrap
39920 distclean-stage2:: distclean-stage3
39921 .PHONY: distclean-stage3
39922 distclean-stage3::
39923 @: $(MAKE); $(stage)
39924 rm -rf stage3-* compare
39927 .PHONY: cleanstrap
39928 cleanstrap: distclean bootstrap
39930 @endif gcc-bootstrap
39933 .PHONY: stage4-start stage4-end
39935 stage4-start::
39936 @: $(MAKE); $(stage); \
39937 echo stage4 > stage_current ; \
39938 echo stage4 > stage_last; \
39939 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
39940 @if bfd
39941 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
39942 mkdir stage4-bfd; \
39943 mv stage4-bfd bfd ; \
39944 mv stage3-bfd prev-bfd || test -f stage3-lean
39945 @endif bfd
39946 @if opcodes
39947 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
39948 mkdir stage4-opcodes; \
39949 mv stage4-opcodes opcodes ; \
39950 mv stage3-opcodes prev-opcodes || test -f stage3-lean
39951 @endif opcodes
39952 @if binutils
39953 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
39954 mkdir stage4-binutils; \
39955 mv stage4-binutils binutils ; \
39956 mv stage3-binutils prev-binutils || test -f stage3-lean
39957 @endif binutils
39958 @if gas
39959 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
39960 mkdir stage4-gas; \
39961 mv stage4-gas gas ; \
39962 mv stage3-gas prev-gas || test -f stage3-lean
39963 @endif gas
39964 @if gcc
39965 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
39966 mkdir stage4-gcc; \
39967 mv stage4-gcc gcc ; \
39968 mv stage3-gcc prev-gcc || test -f stage3-lean
39969 @endif gcc
39970 @if intl
39971 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
39972 mkdir stage4-intl; \
39973 mv stage4-intl intl ; \
39974 mv stage3-intl prev-intl || test -f stage3-lean
39975 @endif intl
39976 @if ld
39977 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
39978 mkdir stage4-ld; \
39979 mv stage4-ld ld ; \
39980 mv stage3-ld prev-ld || test -f stage3-lean
39981 @endif ld
39982 @if libcpp
39983 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
39984 mkdir stage4-libcpp; \
39985 mv stage4-libcpp libcpp ; \
39986 mv stage3-libcpp prev-libcpp || test -f stage3-lean
39987 @endif libcpp
39988 @if libdecnumber
39989 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
39990 mkdir stage4-libdecnumber; \
39991 mv stage4-libdecnumber libdecnumber ; \
39992 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
39993 @endif libdecnumber
39994 @if libiberty
39995 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
39996 mkdir stage4-libiberty; \
39997 mv stage4-libiberty libiberty ; \
39998 mv stage3-libiberty prev-libiberty || test -f stage3-lean
39999 @endif libiberty
40000 @if zlib
40001 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
40002 mkdir stage4-zlib; \
40003 mv stage4-zlib zlib ; \
40004 mv stage3-zlib prev-zlib || test -f stage3-lean
40005 @endif zlib
40006 @[ -d stage4-$(TARGET_SUBDIR) ] || \
40007 mkdir stage4-$(TARGET_SUBDIR); \
40008 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
40009 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
40011 stage4-end::
40012 @if bfd
40013 @if test -d $(HOST_SUBDIR)/bfd ; then \
40014 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
40015 mv prev-bfd stage3-bfd ; : ; \
40017 @endif bfd
40018 @if opcodes
40019 @if test -d $(HOST_SUBDIR)/opcodes ; then \
40020 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
40021 mv prev-opcodes stage3-opcodes ; : ; \
40023 @endif opcodes
40024 @if binutils
40025 @if test -d $(HOST_SUBDIR)/binutils ; then \
40026 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
40027 mv prev-binutils stage3-binutils ; : ; \
40029 @endif binutils
40030 @if gas
40031 @if test -d $(HOST_SUBDIR)/gas ; then \
40032 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
40033 mv prev-gas stage3-gas ; : ; \
40035 @endif gas
40036 @if gcc
40037 @if test -d $(HOST_SUBDIR)/gcc ; then \
40038 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
40039 mv prev-gcc stage3-gcc ; : ; \
40041 @endif gcc
40042 @if intl
40043 @if test -d $(HOST_SUBDIR)/intl ; then \
40044 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
40045 mv prev-intl stage3-intl ; : ; \
40047 @endif intl
40048 @if ld
40049 @if test -d $(HOST_SUBDIR)/ld ; then \
40050 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
40051 mv prev-ld stage3-ld ; : ; \
40053 @endif ld
40054 @if libcpp
40055 @if test -d $(HOST_SUBDIR)/libcpp ; then \
40056 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
40057 mv prev-libcpp stage3-libcpp ; : ; \
40059 @endif libcpp
40060 @if libdecnumber
40061 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
40062 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
40063 mv prev-libdecnumber stage3-libdecnumber ; : ; \
40065 @endif libdecnumber
40066 @if libiberty
40067 @if test -d $(HOST_SUBDIR)/libiberty ; then \
40068 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
40069 mv prev-libiberty stage3-libiberty ; : ; \
40071 @endif libiberty
40072 @if zlib
40073 @if test -d $(HOST_SUBDIR)/zlib ; then \
40074 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
40075 mv prev-zlib stage3-zlib ; : ; \
40077 @endif zlib
40078 @if test -d $(TARGET_SUBDIR) ; then \
40079 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
40080 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
40082 rm -f stage_current
40084 # Bubble a bugfix through all the stages up to stage 4. They are
40085 # remade, but not reconfigured. The next stage (if any) will not be
40086 # reconfigured as well.
40087 .PHONY: stage4-bubble
40088 stage4-bubble:: stage3-bubble
40089 @r=`${PWD_COMMAND}`; export r; \
40090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40091 if test -f stage4-lean || test -f stage3-lean ; then \
40092 echo Skipping rebuild of stage4 ; \
40093 else \
40094 $(MAKE) stage4-start; \
40095 if $(LEAN); then \
40096 rm -rf stage2-* ; \
40097 $(STAMP) stage2-lean ; \
40098 fi; \
40099 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
40101 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
40103 .PHONY: all-stage4 clean-stage4
40104 do-clean: clean-stage4
40106 # FIXME: Will not need to be conditional when toplevel bootstrap is the
40107 # only possibility, but now it conflicts with no-bootstrap rules
40108 @if gcc-bootstrap
40110 compare3:
40111 @r=`${PWD_COMMAND}`; export r; \
40112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40113 if test -f stage3-lean; then \
40114 echo Cannot compare object files as stage 3 was deleted. ; \
40115 exit 0 ; \
40116 fi; \
40117 : $(MAKE); $(stage); \
40118 rm -f .bad_compare ; \
40119 echo Comparing stages 3 and 4 ; \
40120 cd stage4-gcc; \
40121 files=`find . -name "*$(objext)" -print` ; \
40122 cd .. ; \
40123 for file in $${files} ; do \
40124 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
40125 @do_compare@ > /dev/null 2>&1; \
40126 if test $$? -eq 1; then \
40127 case $$file in \
40128 ./cc*-checksum$(objext) | ./libgcc/* ) \
40129 echo warning: $$file differs ;; \
40130 *) \
40131 echo $$file differs >> .bad_compare ;; \
40132 esac ; \
40133 fi ; \
40134 done ; \
40135 if [ -f .bad_compare ]; then \
40136 echo "Bootstrap comparison failure!"; \
40137 cat .bad_compare; \
40138 exit 1; \
40139 else \
40140 echo Comparison successful.; \
40141 fi ; \
40142 $(STAMP) compare3
40143 if $(LEAN); then \
40144 rm -rf stage3-*; \
40145 $(STAMP) stage3-lean; \
40150 .PHONY: bootstrap4 bootstrap4-lean
40151 bootstrap4:
40152 echo stage4 > stage_final
40153 @r=`${PWD_COMMAND}`; export r; \
40154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40155 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
40156 @: $(MAKE); $(unstage)
40157 @r=`${PWD_COMMAND}`; export r; \
40158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40159 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
40161 bootstrap4-lean:
40162 echo stage4 > stage_final
40163 @r=`${PWD_COMMAND}`; export r; \
40164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40165 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
40166 @: $(MAKE); $(unstage)
40167 @r=`${PWD_COMMAND}`; export r; \
40168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40169 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
40172 # Rules to wipe a stage and all the following ones, also used for cleanstrap
40173 distclean-stage3:: distclean-stage4
40174 .PHONY: distclean-stage4
40175 distclean-stage4::
40176 @: $(MAKE); $(stage)
40177 rm -rf stage4-* compare3
40180 @endif gcc-bootstrap
40183 .PHONY: stageprofile-start stageprofile-end
40185 stageprofile-start::
40186 @: $(MAKE); $(stage); \
40187 echo stageprofile > stage_current ; \
40188 echo stageprofile > stage_last; \
40189 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
40190 @if bfd
40191 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
40192 mkdir stageprofile-bfd; \
40193 mv stageprofile-bfd bfd ; \
40194 mv stage1-bfd prev-bfd || test -f stage1-lean
40195 @endif bfd
40196 @if opcodes
40197 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
40198 mkdir stageprofile-opcodes; \
40199 mv stageprofile-opcodes opcodes ; \
40200 mv stage1-opcodes prev-opcodes || test -f stage1-lean
40201 @endif opcodes
40202 @if binutils
40203 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
40204 mkdir stageprofile-binutils; \
40205 mv stageprofile-binutils binutils ; \
40206 mv stage1-binutils prev-binutils || test -f stage1-lean
40207 @endif binutils
40208 @if gas
40209 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
40210 mkdir stageprofile-gas; \
40211 mv stageprofile-gas gas ; \
40212 mv stage1-gas prev-gas || test -f stage1-lean
40213 @endif gas
40214 @if gcc
40215 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
40216 mkdir stageprofile-gcc; \
40217 mv stageprofile-gcc gcc ; \
40218 mv stage1-gcc prev-gcc || test -f stage1-lean
40219 @endif gcc
40220 @if intl
40221 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
40222 mkdir stageprofile-intl; \
40223 mv stageprofile-intl intl ; \
40224 mv stage1-intl prev-intl || test -f stage1-lean
40225 @endif intl
40226 @if ld
40227 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
40228 mkdir stageprofile-ld; \
40229 mv stageprofile-ld ld ; \
40230 mv stage1-ld prev-ld || test -f stage1-lean
40231 @endif ld
40232 @if libcpp
40233 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
40234 mkdir stageprofile-libcpp; \
40235 mv stageprofile-libcpp libcpp ; \
40236 mv stage1-libcpp prev-libcpp || test -f stage1-lean
40237 @endif libcpp
40238 @if libdecnumber
40239 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
40240 mkdir stageprofile-libdecnumber; \
40241 mv stageprofile-libdecnumber libdecnumber ; \
40242 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
40243 @endif libdecnumber
40244 @if libiberty
40245 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
40246 mkdir stageprofile-libiberty; \
40247 mv stageprofile-libiberty libiberty ; \
40248 mv stage1-libiberty prev-libiberty || test -f stage1-lean
40249 @endif libiberty
40250 @if zlib
40251 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
40252 mkdir stageprofile-zlib; \
40253 mv stageprofile-zlib zlib ; \
40254 mv stage1-zlib prev-zlib || test -f stage1-lean
40255 @endif zlib
40256 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
40257 mkdir stageprofile-$(TARGET_SUBDIR); \
40258 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
40259 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
40261 stageprofile-end::
40262 @if bfd
40263 @if test -d $(HOST_SUBDIR)/bfd ; then \
40264 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
40265 mv prev-bfd stage1-bfd ; : ; \
40267 @endif bfd
40268 @if opcodes
40269 @if test -d $(HOST_SUBDIR)/opcodes ; then \
40270 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
40271 mv prev-opcodes stage1-opcodes ; : ; \
40273 @endif opcodes
40274 @if binutils
40275 @if test -d $(HOST_SUBDIR)/binutils ; then \
40276 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
40277 mv prev-binutils stage1-binutils ; : ; \
40279 @endif binutils
40280 @if gas
40281 @if test -d $(HOST_SUBDIR)/gas ; then \
40282 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
40283 mv prev-gas stage1-gas ; : ; \
40285 @endif gas
40286 @if gcc
40287 @if test -d $(HOST_SUBDIR)/gcc ; then \
40288 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
40289 mv prev-gcc stage1-gcc ; : ; \
40291 @endif gcc
40292 @if intl
40293 @if test -d $(HOST_SUBDIR)/intl ; then \
40294 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
40295 mv prev-intl stage1-intl ; : ; \
40297 @endif intl
40298 @if ld
40299 @if test -d $(HOST_SUBDIR)/ld ; then \
40300 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
40301 mv prev-ld stage1-ld ; : ; \
40303 @endif ld
40304 @if libcpp
40305 @if test -d $(HOST_SUBDIR)/libcpp ; then \
40306 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
40307 mv prev-libcpp stage1-libcpp ; : ; \
40309 @endif libcpp
40310 @if libdecnumber
40311 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
40312 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
40313 mv prev-libdecnumber stage1-libdecnumber ; : ; \
40315 @endif libdecnumber
40316 @if libiberty
40317 @if test -d $(HOST_SUBDIR)/libiberty ; then \
40318 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
40319 mv prev-libiberty stage1-libiberty ; : ; \
40321 @endif libiberty
40322 @if zlib
40323 @if test -d $(HOST_SUBDIR)/zlib ; then \
40324 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
40325 mv prev-zlib stage1-zlib ; : ; \
40327 @endif zlib
40328 @if test -d $(TARGET_SUBDIR) ; then \
40329 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
40330 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
40332 rm -f stage_current
40334 # Bubble a bugfix through all the stages up to stage profile. They are
40335 # remade, but not reconfigured. The next stage (if any) will not be
40336 # reconfigured as well.
40337 .PHONY: stageprofile-bubble
40338 stageprofile-bubble:: stage1-bubble
40339 @r=`${PWD_COMMAND}`; export r; \
40340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40341 if test -f stageprofile-lean || test -f stage1-lean ; then \
40342 echo Skipping rebuild of stageprofile ; \
40343 else \
40344 $(MAKE) stageprofile-start; \
40345 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
40348 .PHONY: all-stageprofile clean-stageprofile
40349 do-clean: clean-stageprofile
40351 # FIXME: Will not need to be conditional when toplevel bootstrap is the
40352 # only possibility, but now it conflicts with no-bootstrap rules
40353 @if gcc-bootstrap
40358 # Rules to wipe a stage and all the following ones, also used for cleanstrap
40359 distclean-stage1:: distclean-stageprofile
40360 .PHONY: distclean-stageprofile
40361 distclean-stageprofile::
40362 @: $(MAKE); $(stage)
40363 rm -rf stageprofile-*
40366 @endif gcc-bootstrap
40369 .PHONY: stagefeedback-start stagefeedback-end
40371 stagefeedback-start::
40372 @: $(MAKE); $(stage); \
40373 echo stagefeedback > stage_current ; \
40374 echo stagefeedback > stage_last; \
40375 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
40376 @if bfd
40377 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
40378 mkdir stagefeedback-bfd; \
40379 mv stagefeedback-bfd bfd ; \
40380 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
40381 @endif bfd
40382 @if opcodes
40383 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
40384 mkdir stagefeedback-opcodes; \
40385 mv stagefeedback-opcodes opcodes ; \
40386 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
40387 @endif opcodes
40388 @if binutils
40389 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
40390 mkdir stagefeedback-binutils; \
40391 mv stagefeedback-binutils binutils ; \
40392 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
40393 @endif binutils
40394 @if gas
40395 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
40396 mkdir stagefeedback-gas; \
40397 mv stagefeedback-gas gas ; \
40398 mv stageprofile-gas prev-gas || test -f stageprofile-lean
40399 @endif gas
40400 @if gcc
40401 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
40402 mkdir stagefeedback-gcc; \
40403 mv stagefeedback-gcc gcc ; \
40404 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
40405 @endif gcc
40406 @if intl
40407 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
40408 mkdir stagefeedback-intl; \
40409 mv stagefeedback-intl intl ; \
40410 mv stageprofile-intl prev-intl || test -f stageprofile-lean
40411 @endif intl
40412 @if ld
40413 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
40414 mkdir stagefeedback-ld; \
40415 mv stagefeedback-ld ld ; \
40416 mv stageprofile-ld prev-ld || test -f stageprofile-lean
40417 @endif ld
40418 @if libcpp
40419 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
40420 mkdir stagefeedback-libcpp; \
40421 mv stagefeedback-libcpp libcpp ; \
40422 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
40423 @endif libcpp
40424 @if libdecnumber
40425 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
40426 mkdir stagefeedback-libdecnumber; \
40427 mv stagefeedback-libdecnumber libdecnumber ; \
40428 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
40429 @endif libdecnumber
40430 @if libiberty
40431 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
40432 mkdir stagefeedback-libiberty; \
40433 mv stagefeedback-libiberty libiberty ; \
40434 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
40435 @endif libiberty
40436 @if zlib
40437 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
40438 mkdir stagefeedback-zlib; \
40439 mv stagefeedback-zlib zlib ; \
40440 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
40441 @endif zlib
40442 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
40443 mkdir stagefeedback-$(TARGET_SUBDIR); \
40444 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
40445 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
40447 stagefeedback-end::
40448 @if bfd
40449 @if test -d $(HOST_SUBDIR)/bfd ; then \
40450 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
40451 mv prev-bfd stageprofile-bfd ; : ; \
40453 @endif bfd
40454 @if opcodes
40455 @if test -d $(HOST_SUBDIR)/opcodes ; then \
40456 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
40457 mv prev-opcodes stageprofile-opcodes ; : ; \
40459 @endif opcodes
40460 @if binutils
40461 @if test -d $(HOST_SUBDIR)/binutils ; then \
40462 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
40463 mv prev-binutils stageprofile-binutils ; : ; \
40465 @endif binutils
40466 @if gas
40467 @if test -d $(HOST_SUBDIR)/gas ; then \
40468 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
40469 mv prev-gas stageprofile-gas ; : ; \
40471 @endif gas
40472 @if gcc
40473 @if test -d $(HOST_SUBDIR)/gcc ; then \
40474 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
40475 mv prev-gcc stageprofile-gcc ; : ; \
40477 @endif gcc
40478 @if intl
40479 @if test -d $(HOST_SUBDIR)/intl ; then \
40480 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
40481 mv prev-intl stageprofile-intl ; : ; \
40483 @endif intl
40484 @if ld
40485 @if test -d $(HOST_SUBDIR)/ld ; then \
40486 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
40487 mv prev-ld stageprofile-ld ; : ; \
40489 @endif ld
40490 @if libcpp
40491 @if test -d $(HOST_SUBDIR)/libcpp ; then \
40492 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
40493 mv prev-libcpp stageprofile-libcpp ; : ; \
40495 @endif libcpp
40496 @if libdecnumber
40497 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
40498 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
40499 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
40501 @endif libdecnumber
40502 @if libiberty
40503 @if test -d $(HOST_SUBDIR)/libiberty ; then \
40504 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
40505 mv prev-libiberty stageprofile-libiberty ; : ; \
40507 @endif libiberty
40508 @if zlib
40509 @if test -d $(HOST_SUBDIR)/zlib ; then \
40510 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
40511 mv prev-zlib stageprofile-zlib ; : ; \
40513 @endif zlib
40514 @if test -d $(TARGET_SUBDIR) ; then \
40515 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
40516 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
40518 rm -f stage_current
40520 # Bubble a bugfix through all the stages up to stage feedback. They are
40521 # remade, but not reconfigured. The next stage (if any) will not be
40522 # reconfigured as well.
40523 .PHONY: stagefeedback-bubble
40524 stagefeedback-bubble:: stageprofile-bubble
40525 @r=`${PWD_COMMAND}`; export r; \
40526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40527 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
40528 echo Skipping rebuild of stagefeedback ; \
40529 else \
40530 $(MAKE) stagefeedback-start; \
40531 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
40534 .PHONY: all-stagefeedback clean-stagefeedback
40535 do-clean: clean-stagefeedback
40537 # FIXME: Will not need to be conditional when toplevel bootstrap is the
40538 # only possibility, but now it conflicts with no-bootstrap rules
40539 @if gcc-bootstrap
40543 .PHONY: profiledbootstrap profiledbootstrap-lean
40544 profiledbootstrap:
40545 echo stagefeedback > stage_final
40546 @r=`${PWD_COMMAND}`; export r; \
40547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40548 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
40549 @: $(MAKE); $(unstage)
40550 @r=`${PWD_COMMAND}`; export r; \
40551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40552 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
40554 profiledbootstrap-lean:
40555 echo stagefeedback > stage_final
40556 @r=`${PWD_COMMAND}`; export r; \
40557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40558 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
40559 @: $(MAKE); $(unstage)
40560 @r=`${PWD_COMMAND}`; export r; \
40561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40562 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
40565 # Rules to wipe a stage and all the following ones, also used for cleanstrap
40566 distclean-stageprofile:: distclean-stagefeedback
40567 .PHONY: distclean-stagefeedback
40568 distclean-stagefeedback::
40569 @: $(MAKE); $(stage)
40570 rm -rf stagefeedback-*
40573 @endif gcc-bootstrap
40577 stageprofile-end::
40578 $(MAKE) distclean-stagefeedback
40580 stagefeedback-start::
40581 @r=`${PWD_COMMAND}`; export r; \
40582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40583 for i in prev-*; do \
40584 j=`echo $$i | sed s/^prev-//` ; \
40585 cd $$r/$$i && \
40586 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
40587 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
40588 done
40590 @if gcc-bootstrap
40591 do-distclean: distclean-stage1
40593 # Provide a GCC build when we're building target libraries. This does
40594 # not work as a dependency, just as the minimum necessary to avoid errors.
40595 stage_last:
40596 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
40598 # Same as unstage, but not phony and defaulting to stage1-start. We place
40599 # it in the dependency so that for example `make -j3 all-gcc' works.
40600 stage_current:
40601 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
40603 .PHONY: restrap
40604 restrap:
40605 @: $(MAKE); $(stage)
40606 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
40607 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
40608 @endif gcc-bootstrap
40610 # --------------------------------------
40611 # Dependencies between different modules
40612 # --------------------------------------
40614 # Generic dependencies for target modules on host stuff, especially gcc
40615 @if gcc-bootstrap
40616 configure-target-libstdc++-v3: stage_last
40617 configure-target-libmudflap: stage_last
40618 configure-target-libssp: stage_last
40619 configure-target-newlib: stage_last
40620 configure-target-libgfortran: stage_last
40621 configure-target-libobjc: stage_last
40622 configure-target-libtermcap: stage_last
40623 configure-target-winsup: stage_last
40624 configure-target-libgloss: stage_last
40625 configure-target-libiberty: stage_last
40626 configure-target-gperf: stage_last
40627 configure-target-examples: stage_last
40628 configure-target-libffi: stage_last
40629 configure-target-libjava: stage_last
40630 configure-target-zlib: stage_last
40631 configure-target-boehm-gc: stage_last
40632 configure-target-qthreads: stage_last
40633 configure-target-rda: stage_last
40634 configure-target-libada: stage_last
40635 configure-target-libgomp: stage_last
40636 @endif gcc-bootstrap
40638 @if gcc-no-bootstrap
40639 configure-target-libstdc++-v3: maybe-all-gcc
40640 configure-target-libmudflap: maybe-all-gcc
40641 configure-target-libssp: maybe-all-gcc
40642 configure-target-newlib: maybe-all-gcc
40643 configure-target-libgfortran: maybe-all-gcc
40644 configure-target-libobjc: maybe-all-gcc
40645 configure-target-libtermcap: maybe-all-gcc
40646 configure-target-winsup: maybe-all-gcc
40647 configure-target-libgloss: maybe-all-gcc
40648 configure-target-libiberty: maybe-all-gcc
40649 configure-target-gperf: maybe-all-gcc
40650 configure-target-examples: maybe-all-gcc
40651 configure-target-libffi: maybe-all-gcc
40652 configure-target-libjava: maybe-all-gcc
40653 configure-target-zlib: maybe-all-gcc
40654 configure-target-boehm-gc: maybe-all-gcc
40655 configure-target-qthreads: maybe-all-gcc
40656 configure-target-rda: maybe-all-gcc
40657 configure-target-libada: maybe-all-gcc
40658 configure-target-libgomp: maybe-all-gcc
40659 @endif gcc-no-bootstrap
40663 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
40665 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
40666 configure-target-gperf: maybe-all-target-libstdc++-v3
40668 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
40670 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
40672 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
40674 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
40675 configure-target-libjava: maybe-all-target-libstdc++-v3
40677 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
40679 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
40681 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
40683 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
40685 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
40687 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
40689 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
40691 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
40693 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
40695 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
40698 # There are two types of dependencies here: 'hard' dependencies, where one
40699 # module simply won't build without the other; and 'soft' dependencies, where
40700 # if the depended-on module is missing, the depending module will do without
40701 # or find a substitute somewhere (perhaps installed). Soft dependencies
40702 # are made here to depend on a 'maybe-' target. If you're not sure,
40703 # it's safer to use a soft dependency.
40710 # With all the machinery above in place, it is pretty easy to generate
40711 # dependencies. Host dependencies are a bit more complex because we have
40712 # to check for bootstrap/prebootstrap dependencies. To resolve
40713 # prebootstrap dependencies, prebootstrap modules are gathered in
40714 # a hash table.
40715 all-build-bison: maybe-all-build-texinfo
40716 all-build-byacc: maybe-all-build-texinfo
40717 all-build-flex: maybe-all-build-texinfo
40718 all-build-flex: maybe-all-build-bison
40719 all-build-flex: maybe-all-build-byacc
40720 all-build-flex: maybe-all-build-m4
40721 all-build-libiberty: maybe-all-build-texinfo
40722 all-build-m4: maybe-all-build-texinfo
40723 all-build-fixincludes: maybe-all-build-libiberty
40724 configure-gcc: maybe-configure-intl
40726 configure-stage1-gcc: maybe-configure-stage1-intl
40727 configure-stage2-gcc: maybe-configure-stage2-intl
40728 configure-stage3-gcc: maybe-configure-stage3-intl
40729 configure-stage4-gcc: maybe-configure-stage4-intl
40730 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
40731 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
40732 configure-gcc: maybe-all-binutils
40734 configure-stage1-gcc: maybe-all-stage1-binutils
40735 configure-stage2-gcc: maybe-all-stage2-binutils
40736 configure-stage3-gcc: maybe-all-stage3-binutils
40737 configure-stage4-gcc: maybe-all-stage4-binutils
40738 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
40739 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
40740 configure-gcc: maybe-all-gas
40742 configure-stage1-gcc: maybe-all-stage1-gas
40743 configure-stage2-gcc: maybe-all-stage2-gas
40744 configure-stage3-gcc: maybe-all-stage3-gas
40745 configure-stage4-gcc: maybe-all-stage4-gas
40746 configure-stageprofile-gcc: maybe-all-stageprofile-gas
40747 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
40748 configure-gcc: maybe-all-ld
40750 configure-stage1-gcc: maybe-all-stage1-ld
40751 configure-stage2-gcc: maybe-all-stage2-ld
40752 configure-stage3-gcc: maybe-all-stage3-ld
40753 configure-stage4-gcc: maybe-all-stage4-ld
40754 configure-stageprofile-gcc: maybe-all-stageprofile-ld
40755 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
40756 all-gcc: all-libiberty
40758 all-stage1-gcc: all-stage1-libiberty
40759 all-stage2-gcc: all-stage2-libiberty
40760 all-stage3-gcc: all-stage3-libiberty
40761 all-stage4-gcc: all-stage4-libiberty
40762 all-stageprofile-gcc: all-stageprofile-libiberty
40763 all-stagefeedback-gcc: all-stagefeedback-libiberty
40764 all-gcc: maybe-all-intl
40766 all-stage1-gcc: maybe-all-stage1-intl
40767 all-stage2-gcc: maybe-all-stage2-intl
40768 all-stage3-gcc: maybe-all-stage3-intl
40769 all-stage4-gcc: maybe-all-stage4-intl
40770 all-stageprofile-gcc: maybe-all-stageprofile-intl
40771 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
40772 all-gcc: maybe-all-build-texinfo
40774 all-stage1-gcc: maybe-all-build-texinfo
40775 all-stage2-gcc: maybe-all-build-texinfo
40776 all-stage3-gcc: maybe-all-build-texinfo
40777 all-stage4-gcc: maybe-all-build-texinfo
40778 all-stageprofile-gcc: maybe-all-build-texinfo
40779 all-stagefeedback-gcc: maybe-all-build-texinfo
40780 all-prebootstrap: maybe-all-build-texinfo
40781 all-gcc: maybe-all-build-bison
40783 all-stage1-gcc: maybe-all-build-bison
40784 all-stage2-gcc: maybe-all-build-bison
40785 all-stage3-gcc: maybe-all-build-bison
40786 all-stage4-gcc: maybe-all-build-bison
40787 all-stageprofile-gcc: maybe-all-build-bison
40788 all-stagefeedback-gcc: maybe-all-build-bison
40789 all-prebootstrap: maybe-all-build-bison
40790 all-gcc: maybe-all-build-byacc
40792 all-stage1-gcc: maybe-all-build-byacc
40793 all-stage2-gcc: maybe-all-build-byacc
40794 all-stage3-gcc: maybe-all-build-byacc
40795 all-stage4-gcc: maybe-all-build-byacc
40796 all-stageprofile-gcc: maybe-all-build-byacc
40797 all-stagefeedback-gcc: maybe-all-build-byacc
40798 all-prebootstrap: maybe-all-build-byacc
40799 all-gcc: maybe-all-build-flex
40801 all-stage1-gcc: maybe-all-build-flex
40802 all-stage2-gcc: maybe-all-build-flex
40803 all-stage3-gcc: maybe-all-build-flex
40804 all-stage4-gcc: maybe-all-build-flex
40805 all-stageprofile-gcc: maybe-all-build-flex
40806 all-stagefeedback-gcc: maybe-all-build-flex
40807 all-prebootstrap: maybe-all-build-flex
40808 all-gcc: maybe-all-build-libiberty
40810 all-stage1-gcc: maybe-all-build-libiberty
40811 all-stage2-gcc: maybe-all-build-libiberty
40812 all-stage3-gcc: maybe-all-build-libiberty
40813 all-stage4-gcc: maybe-all-build-libiberty
40814 all-stageprofile-gcc: maybe-all-build-libiberty
40815 all-stagefeedback-gcc: maybe-all-build-libiberty
40816 all-prebootstrap: maybe-all-build-libiberty
40817 all-gcc: maybe-all-build-fixincludes
40819 all-stage1-gcc: maybe-all-build-fixincludes
40820 all-stage2-gcc: maybe-all-build-fixincludes
40821 all-stage3-gcc: maybe-all-build-fixincludes
40822 all-stage4-gcc: maybe-all-build-fixincludes
40823 all-stageprofile-gcc: maybe-all-build-fixincludes
40824 all-stagefeedback-gcc: maybe-all-build-fixincludes
40825 all-prebootstrap: maybe-all-build-fixincludes
40826 all-gcc: maybe-all-zlib
40828 all-stage1-gcc: maybe-all-stage1-zlib
40829 all-stage2-gcc: maybe-all-stage2-zlib
40830 all-stage3-gcc: maybe-all-stage3-zlib
40831 all-stage4-gcc: maybe-all-stage4-zlib
40832 all-stageprofile-gcc: maybe-all-stageprofile-zlib
40833 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
40834 all-gcc: all-libcpp
40836 all-stage1-gcc: all-stage1-libcpp
40837 all-stage2-gcc: all-stage2-libcpp
40838 all-stage3-gcc: all-stage3-libcpp
40839 all-stage4-gcc: all-stage4-libcpp
40840 all-stageprofile-gcc: all-stageprofile-libcpp
40841 all-stagefeedback-gcc: all-stagefeedback-libcpp
40842 all-gcc: all-libdecnumber
40844 all-stage1-gcc: all-stage1-libdecnumber
40845 all-stage2-gcc: all-stage2-libdecnumber
40846 all-stage3-gcc: all-stage3-libdecnumber
40847 all-stage4-gcc: all-stage4-libdecnumber
40848 all-stageprofile-gcc: all-stageprofile-libdecnumber
40849 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
40850 all-gcc: maybe-all-libiberty
40852 all-stage1-gcc: maybe-all-stage1-libiberty
40853 all-stage2-gcc: maybe-all-stage2-libiberty
40854 all-stage3-gcc: maybe-all-stage3-libiberty
40855 all-stage4-gcc: maybe-all-stage4-libiberty
40856 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
40857 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
40858 all-gcc: maybe-all-fixincludes
40859 install-gcc: maybe-install-fixincludes
40860 configure-libcpp: configure-libiberty
40862 configure-stage1-libcpp: configure-stage1-libiberty
40863 configure-stage2-libcpp: configure-stage2-libiberty
40864 configure-stage3-libcpp: configure-stage3-libiberty
40865 configure-stage4-libcpp: configure-stage4-libiberty
40866 configure-stageprofile-libcpp: configure-stageprofile-libiberty
40867 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
40868 configure-libcpp: maybe-configure-intl
40870 configure-stage1-libcpp: maybe-configure-stage1-intl
40871 configure-stage2-libcpp: maybe-configure-stage2-intl
40872 configure-stage3-libcpp: maybe-configure-stage3-intl
40873 configure-stage4-libcpp: maybe-configure-stage4-intl
40874 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
40875 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
40876 all-libcpp: all-libiberty
40878 all-stage1-libcpp: all-stage1-libiberty
40879 all-stage2-libcpp: all-stage2-libiberty
40880 all-stage3-libcpp: all-stage3-libiberty
40881 all-stage4-libcpp: all-stage4-libiberty
40882 all-stageprofile-libcpp: all-stageprofile-libiberty
40883 all-stagefeedback-libcpp: all-stagefeedback-libiberty
40884 all-libcpp: maybe-all-intl
40886 all-stage1-libcpp: maybe-all-stage1-intl
40887 all-stage2-libcpp: maybe-all-stage2-intl
40888 all-stage3-libcpp: maybe-all-stage3-intl
40889 all-stage4-libcpp: maybe-all-stage4-intl
40890 all-stageprofile-libcpp: maybe-all-stageprofile-intl
40891 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
40892 all-fixincludes: maybe-all-libiberty
40893 all-gnattools: maybe-all-target-libada
40894 configure-gdb: maybe-configure-intl
40895 configure-gdb: maybe-configure-sim
40896 all-gdb: maybe-all-intl
40897 all-gdb: maybe-all-libiberty
40898 all-gdb: maybe-all-opcodes
40899 all-gdb: maybe-all-bfd
40900 all-gdb: maybe-all-readline
40901 all-gdb: maybe-all-build-bison
40902 all-gdb: maybe-all-build-byacc
40903 all-gdb: maybe-all-sim
40904 configure-libgui: maybe-configure-tcl
40905 configure-libgui: maybe-configure-tk
40906 all-libgui: maybe-all-tcl
40907 all-libgui: maybe-all-tk
40908 all-libgui: maybe-all-itcl
40909 configure-bfd: configure-libiberty
40911 configure-stage1-bfd: configure-stage1-libiberty
40912 configure-stage2-bfd: configure-stage2-libiberty
40913 configure-stage3-bfd: configure-stage3-libiberty
40914 configure-stage4-bfd: configure-stage4-libiberty
40915 configure-stageprofile-bfd: configure-stageprofile-libiberty
40916 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
40917 configure-bfd: maybe-configure-intl
40919 configure-stage1-bfd: maybe-configure-stage1-intl
40920 configure-stage2-bfd: maybe-configure-stage2-intl
40921 configure-stage3-bfd: maybe-configure-stage3-intl
40922 configure-stage4-bfd: maybe-configure-stage4-intl
40923 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
40924 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
40925 all-bfd: maybe-all-libiberty
40927 all-stage1-bfd: maybe-all-stage1-libiberty
40928 all-stage2-bfd: maybe-all-stage2-libiberty
40929 all-stage3-bfd: maybe-all-stage3-libiberty
40930 all-stage4-bfd: maybe-all-stage4-libiberty
40931 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
40932 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
40933 all-bfd: maybe-all-intl
40935 all-stage1-bfd: maybe-all-stage1-intl
40936 all-stage2-bfd: maybe-all-stage2-intl
40937 all-stage3-bfd: maybe-all-stage3-intl
40938 all-stage4-bfd: maybe-all-stage4-intl
40939 all-stageprofile-bfd: maybe-all-stageprofile-intl
40940 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
40941 configure-binutils: maybe-configure-intl
40943 configure-stage1-binutils: maybe-configure-stage1-intl
40944 configure-stage2-binutils: maybe-configure-stage2-intl
40945 configure-stage3-binutils: maybe-configure-stage3-intl
40946 configure-stage4-binutils: maybe-configure-stage4-intl
40947 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
40948 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
40949 all-binutils: maybe-all-libiberty
40951 all-stage1-binutils: maybe-all-stage1-libiberty
40952 all-stage2-binutils: maybe-all-stage2-libiberty
40953 all-stage3-binutils: maybe-all-stage3-libiberty
40954 all-stage4-binutils: maybe-all-stage4-libiberty
40955 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
40956 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
40957 all-binutils: maybe-all-opcodes
40959 all-stage1-binutils: maybe-all-stage1-opcodes
40960 all-stage2-binutils: maybe-all-stage2-opcodes
40961 all-stage3-binutils: maybe-all-stage3-opcodes
40962 all-stage4-binutils: maybe-all-stage4-opcodes
40963 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
40964 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
40965 all-binutils: maybe-all-bfd
40967 all-stage1-binutils: maybe-all-stage1-bfd
40968 all-stage2-binutils: maybe-all-stage2-bfd
40969 all-stage3-binutils: maybe-all-stage3-bfd
40970 all-stage4-binutils: maybe-all-stage4-bfd
40971 all-stageprofile-binutils: maybe-all-stageprofile-bfd
40972 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
40973 all-binutils: maybe-all-build-flex
40975 all-stage1-binutils: maybe-all-build-flex
40976 all-stage2-binutils: maybe-all-build-flex
40977 all-stage3-binutils: maybe-all-build-flex
40978 all-stage4-binutils: maybe-all-build-flex
40979 all-stageprofile-binutils: maybe-all-build-flex
40980 all-stagefeedback-binutils: maybe-all-build-flex
40981 all-prebootstrap: maybe-all-build-flex
40982 all-binutils: maybe-all-build-bison
40984 all-stage1-binutils: maybe-all-build-bison
40985 all-stage2-binutils: maybe-all-build-bison
40986 all-stage3-binutils: maybe-all-build-bison
40987 all-stage4-binutils: maybe-all-build-bison
40988 all-stageprofile-binutils: maybe-all-build-bison
40989 all-stagefeedback-binutils: maybe-all-build-bison
40990 all-prebootstrap: maybe-all-build-bison
40991 all-binutils: maybe-all-build-byacc
40993 all-stage1-binutils: maybe-all-build-byacc
40994 all-stage2-binutils: maybe-all-build-byacc
40995 all-stage3-binutils: maybe-all-build-byacc
40996 all-stage4-binutils: maybe-all-build-byacc
40997 all-stageprofile-binutils: maybe-all-build-byacc
40998 all-stagefeedback-binutils: maybe-all-build-byacc
40999 all-prebootstrap: maybe-all-build-byacc
41000 all-binutils: maybe-all-intl
41002 all-stage1-binutils: maybe-all-stage1-intl
41003 all-stage2-binutils: maybe-all-stage2-intl
41004 all-stage3-binutils: maybe-all-stage3-intl
41005 all-stage4-binutils: maybe-all-stage4-intl
41006 all-stageprofile-binutils: maybe-all-stageprofile-intl
41007 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
41008 install-binutils: maybe-install-opcodes
41009 install-opcodes: maybe-install-bfd
41010 configure-gas: maybe-configure-intl
41012 configure-stage1-gas: maybe-configure-stage1-intl
41013 configure-stage2-gas: maybe-configure-stage2-intl
41014 configure-stage3-gas: maybe-configure-stage3-intl
41015 configure-stage4-gas: maybe-configure-stage4-intl
41016 configure-stageprofile-gas: maybe-configure-stageprofile-intl
41017 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
41018 all-gas: maybe-all-libiberty
41020 all-stage1-gas: maybe-all-stage1-libiberty
41021 all-stage2-gas: maybe-all-stage2-libiberty
41022 all-stage3-gas: maybe-all-stage3-libiberty
41023 all-stage4-gas: maybe-all-stage4-libiberty
41024 all-stageprofile-gas: maybe-all-stageprofile-libiberty
41025 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
41026 all-gas: maybe-all-opcodes
41028 all-stage1-gas: maybe-all-stage1-opcodes
41029 all-stage2-gas: maybe-all-stage2-opcodes
41030 all-stage3-gas: maybe-all-stage3-opcodes
41031 all-stage4-gas: maybe-all-stage4-opcodes
41032 all-stageprofile-gas: maybe-all-stageprofile-opcodes
41033 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
41034 all-gas: maybe-all-bfd
41036 all-stage1-gas: maybe-all-stage1-bfd
41037 all-stage2-gas: maybe-all-stage2-bfd
41038 all-stage3-gas: maybe-all-stage3-bfd
41039 all-stage4-gas: maybe-all-stage4-bfd
41040 all-stageprofile-gas: maybe-all-stageprofile-bfd
41041 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
41042 all-gas: maybe-all-intl
41044 all-stage1-gas: maybe-all-stage1-intl
41045 all-stage2-gas: maybe-all-stage2-intl
41046 all-stage3-gas: maybe-all-stage3-intl
41047 all-stage4-gas: maybe-all-stage4-intl
41048 all-stageprofile-gas: maybe-all-stageprofile-intl
41049 all-stagefeedback-gas: maybe-all-stagefeedback-intl
41050 configure-gprof: maybe-configure-intl
41051 all-gprof: maybe-all-libiberty
41052 all-gprof: maybe-all-bfd
41053 all-gprof: maybe-all-opcodes
41054 all-gprof: maybe-all-intl
41055 configure-ld: maybe-configure-intl
41057 configure-stage1-ld: maybe-configure-stage1-intl
41058 configure-stage2-ld: maybe-configure-stage2-intl
41059 configure-stage3-ld: maybe-configure-stage3-intl
41060 configure-stage4-ld: maybe-configure-stage4-intl
41061 configure-stageprofile-ld: maybe-configure-stageprofile-intl
41062 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
41063 all-ld: maybe-all-libiberty
41065 all-stage1-ld: maybe-all-stage1-libiberty
41066 all-stage2-ld: maybe-all-stage2-libiberty
41067 all-stage3-ld: maybe-all-stage3-libiberty
41068 all-stage4-ld: maybe-all-stage4-libiberty
41069 all-stageprofile-ld: maybe-all-stageprofile-libiberty
41070 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
41071 all-ld: maybe-all-bfd
41073 all-stage1-ld: maybe-all-stage1-bfd
41074 all-stage2-ld: maybe-all-stage2-bfd
41075 all-stage3-ld: maybe-all-stage3-bfd
41076 all-stage4-ld: maybe-all-stage4-bfd
41077 all-stageprofile-ld: maybe-all-stageprofile-bfd
41078 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
41079 all-ld: maybe-all-opcodes
41081 all-stage1-ld: maybe-all-stage1-opcodes
41082 all-stage2-ld: maybe-all-stage2-opcodes
41083 all-stage3-ld: maybe-all-stage3-opcodes
41084 all-stage4-ld: maybe-all-stage4-opcodes
41085 all-stageprofile-ld: maybe-all-stageprofile-opcodes
41086 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
41087 all-ld: maybe-all-build-bison
41089 all-stage1-ld: maybe-all-build-bison
41090 all-stage2-ld: maybe-all-build-bison
41091 all-stage3-ld: maybe-all-build-bison
41092 all-stage4-ld: maybe-all-build-bison
41093 all-stageprofile-ld: maybe-all-build-bison
41094 all-stagefeedback-ld: maybe-all-build-bison
41095 all-prebootstrap: maybe-all-build-bison
41096 all-ld: maybe-all-build-byacc
41098 all-stage1-ld: maybe-all-build-byacc
41099 all-stage2-ld: maybe-all-build-byacc
41100 all-stage3-ld: maybe-all-build-byacc
41101 all-stage4-ld: maybe-all-build-byacc
41102 all-stageprofile-ld: maybe-all-build-byacc
41103 all-stagefeedback-ld: maybe-all-build-byacc
41104 all-prebootstrap: maybe-all-build-byacc
41105 all-ld: maybe-all-build-flex
41107 all-stage1-ld: maybe-all-build-flex
41108 all-stage2-ld: maybe-all-build-flex
41109 all-stage3-ld: maybe-all-build-flex
41110 all-stage4-ld: maybe-all-build-flex
41111 all-stageprofile-ld: maybe-all-build-flex
41112 all-stagefeedback-ld: maybe-all-build-flex
41113 all-prebootstrap: maybe-all-build-flex
41114 all-ld: maybe-all-intl
41116 all-stage1-ld: maybe-all-stage1-intl
41117 all-stage2-ld: maybe-all-stage2-intl
41118 all-stage3-ld: maybe-all-stage3-intl
41119 all-stage4-ld: maybe-all-stage4-intl
41120 all-stageprofile-ld: maybe-all-stageprofile-intl
41121 all-stagefeedback-ld: maybe-all-stagefeedback-intl
41122 configure-opcodes: maybe-configure-intl
41124 configure-stage1-opcodes: maybe-configure-stage1-intl
41125 configure-stage2-opcodes: maybe-configure-stage2-intl
41126 configure-stage3-opcodes: maybe-configure-stage3-intl
41127 configure-stage4-opcodes: maybe-configure-stage4-intl
41128 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
41129 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
41130 all-opcodes: maybe-all-bfd
41132 all-stage1-opcodes: maybe-all-stage1-bfd
41133 all-stage2-opcodes: maybe-all-stage2-bfd
41134 all-stage3-opcodes: maybe-all-stage3-bfd
41135 all-stage4-opcodes: maybe-all-stage4-bfd
41136 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
41137 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
41138 all-opcodes: maybe-all-libiberty
41140 all-stage1-opcodes: maybe-all-stage1-libiberty
41141 all-stage2-opcodes: maybe-all-stage2-libiberty
41142 all-stage3-opcodes: maybe-all-stage3-libiberty
41143 all-stage4-opcodes: maybe-all-stage4-libiberty
41144 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
41145 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
41146 all-opcodes: maybe-all-intl
41148 all-stage1-opcodes: maybe-all-stage1-intl
41149 all-stage2-opcodes: maybe-all-stage2-intl
41150 all-stage3-opcodes: maybe-all-stage3-intl
41151 all-stage4-opcodes: maybe-all-stage4-intl
41152 all-stageprofile-opcodes: maybe-all-stageprofile-intl
41153 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
41154 all-dejagnu: maybe-all-tcl
41155 all-dejagnu: maybe-all-expect
41156 all-dejagnu: maybe-all-tk
41157 configure-expect: maybe-configure-tcl
41158 configure-expect: maybe-configure-tk
41159 all-expect: maybe-all-tcl
41160 all-expect: maybe-all-tk
41161 configure-itcl: maybe-configure-tcl
41162 configure-itcl: maybe-configure-tk
41163 all-itcl: maybe-all-tcl
41164 all-itcl: maybe-all-tk
41165 install-itcl: maybe-install-tcl
41166 configure-tk: maybe-configure-tcl
41167 all-tk: maybe-all-tcl
41168 all-sid: maybe-all-libiberty
41169 all-sid: maybe-all-bfd
41170 all-sid: maybe-all-opcodes
41171 all-sid: maybe-all-tcl
41172 all-sid: maybe-all-tk
41173 install-sid: maybe-install-tcl
41174 install-sid: maybe-install-tk
41175 configure-sim: maybe-configure-intl
41176 all-sim: maybe-all-intl
41177 all-sim: maybe-all-libiberty
41178 all-sim: maybe-all-bfd
41179 all-sim: maybe-all-opcodes
41180 all-sim: maybe-all-readline
41181 all-sim: maybe-configure-gdb
41182 all-fastjar: maybe-all-zlib
41183 all-fastjar: maybe-all-build-texinfo
41184 all-fastjar: maybe-all-libiberty
41185 all-autoconf: maybe-all-m4
41186 all-autoconf: maybe-all-build-texinfo
41187 all-automake: maybe-all-m4
41188 all-automake: maybe-all-build-texinfo
41189 all-automake: maybe-all-autoconf
41190 all-bison: maybe-all-intl
41191 all-bison: maybe-all-build-texinfo
41192 all-diff: maybe-all-intl
41193 all-diff: maybe-all-build-texinfo
41194 all-fileutils: maybe-all-intl
41195 all-fileutils: maybe-all-build-texinfo
41196 all-flex: maybe-all-build-bison
41197 all-flex: maybe-all-build-byacc
41198 all-flex: maybe-all-intl
41199 all-flex: maybe-all-m4
41200 all-flex: maybe-all-build-texinfo
41201 all-gzip: maybe-all-intl
41202 all-gzip: maybe-all-zlib
41203 all-gzip: maybe-all-build-texinfo
41204 all-hello: maybe-all-intl
41205 all-hello: maybe-all-build-texinfo
41206 all-m4: maybe-all-intl
41207 all-m4: maybe-all-build-texinfo
41208 all-make: maybe-all-intl
41209 all-make: maybe-all-build-texinfo
41210 all-patch: maybe-all-build-texinfo
41211 all-make: maybe-all-build-texinfo
41212 all-prms: maybe-all-libiberty
41213 all-recode: maybe-all-build-texinfo
41214 all-sed: maybe-all-build-texinfo
41215 all-send-pr: maybe-all-prms
41216 all-tar: maybe-all-build-texinfo
41217 all-uudecode: maybe-all-build-texinfo
41218 configure-target-boehm-gc: maybe-configure-target-qthreads
41219 configure-target-fastjar: maybe-configure-target-zlib
41220 all-target-fastjar: maybe-all-target-zlib
41221 all-target-fastjar: maybe-all-target-libiberty
41222 configure-target-libjava: maybe-configure-target-zlib
41223 configure-target-libjava: maybe-configure-target-boehm-gc
41224 configure-target-libjava: maybe-configure-target-qthreads
41225 configure-target-libjava: maybe-configure-target-libffi
41226 all-target-libjava: maybe-all-fastjar
41227 all-target-libjava: maybe-all-target-zlib
41228 all-target-libjava: maybe-all-target-boehm-gc
41229 all-target-libjava: maybe-all-target-qthreads
41230 all-target-libjava: maybe-all-target-libffi
41231 configure-target-libobjc: maybe-configure-target-boehm-gc
41232 all-target-libobjc: maybe-all-target-libiberty
41233 all-target-libobjc: maybe-all-target-boehm-gc
41234 all-target-libstdc++-v3: maybe-all-target-libiberty
41235 all-target-libgloss: maybe-configure-target-newlib
41236 all-target-winsup: maybe-all-target-libiberty
41237 all-target-winsup: maybe-all-target-libtermcap
41240 # Non-toplevel bootstrap rules must depend on several packages, to be built
41241 # before gcc. Another wart that will go away, hopefully soon.
41242 @if gcc-no-bootstrap
41244 all-prebootstrap: maybe-all-bfd
41245 all-prebootstrap: maybe-all-opcodes
41246 all-prebootstrap: maybe-all-binutils
41247 all-prebootstrap: maybe-all-gas
41248 all-prebootstrap: maybe-all-intl
41249 all-prebootstrap: maybe-all-ld
41250 all-prebootstrap: maybe-all-libcpp
41251 all-prebootstrap: maybe-all-libdecnumber
41252 all-prebootstrap: maybe-all-libiberty
41253 all-prebootstrap: maybe-all-zlib
41254 @endif gcc-no-bootstrap
41256 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
41257 GDB_TK = @GDB_TK@
41258 INSTALL_GDB_TK = @INSTALL_GDB_TK@
41259 configure-gdb: $(CONFIGURE_GDB_TK)
41260 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
41261 install-gdb: $(INSTALL_GDB_TK)
41263 # Serialization dependencies. Host configures don't work well in parallel to
41264 # each other, due to contention over config.cache. Target configures and
41265 # build configures are similar.
41266 @serialization_dependencies@
41268 # --------------------------------
41269 # Regenerating top level configury
41270 # --------------------------------
41272 # Rebuilding Makefile.in, using autogen.
41273 AUTOGEN = autogen
41274 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
41275 cd $(srcdir) && $(AUTOGEN) Makefile.def
41277 # Rebuilding Makefile.
41278 Makefile: $(srcdir)/Makefile.in config.status
41279 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
41281 config.status: configure
41282 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
41284 # Rebuilding configure.
41285 AUTOCONF = autoconf
41286 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
41287 cd $(srcdir) && $(AUTOCONF)
41289 # ------------------------------
41290 # Special directives to GNU Make
41291 # ------------------------------
41293 # Don't pass command-line variables to submakes.
41294 .NOEXPORT:
41295 MAKEOVERRIDES=
41297 # end of Makefile.in